provider/aws: Bump SDK version to 1.6.19 (#11775)

This commit is contained in:
Paul Stack 2017-02-08 13:02:41 +00:00 committed by GitHub
parent 15251000b4
commit bfbd5ad4e6
105 changed files with 13071 additions and 6690 deletions

View File

@ -1,3 +1,23 @@
Release v1.6.19 (2017-02-08)
===
Service Client Updates
---
* `aws/endpoints`: Updated Regions and Endpoints metadata.
* `service/glacier`: Updates service examples
* Doc Update
* `service/lexruntimeservice`: Adds new service
* Preview release
SDK Bug Fixes
---
* `private/protocol/json`: Fixes json to throw an error if a float number is (+/-)Inf and NaN (#1068)
* `private/model/api`: Fix documentation error listing (#1067)
SDK Features
---
* `private/model`: Add service response error code generation (#1061)
Release v1.6.18 (2017-01-27)
===

View File

@ -2,7 +2,7 @@ LINTIGNOREDOT='awstesting/integration.+should not use dot imports'
LINTIGNOREDOC='service/[^/]+/(api|service|waiters)\.go:.+(comment on exported|should have comment or be unexported)'
LINTIGNORECONST='service/[^/]+/(api|service|waiters)\.go:.+(type|struct field|const|func) ([^ ]+) should be ([^ ]+)'
LINTIGNORESTUTTER='service/[^/]+/(api|service)\.go:.+(and that stutters)'
LINTIGNOREINFLECT='service/[^/]+/(api|service)\.go:.+method .+ should be '
LINTIGNOREINFLECT='service/[^/]+/(api|errors|service)\.go:.+(method|const) .+ should be '
LINTIGNOREINFLECTS3UPLOAD='service/s3/s3manager/upload\.go:.+struct field SSEKMSKeyId should be '
LINTIGNOREDEPS='vendor/.+\.go'
UNIT_TEST_TAGS="example codegen"

View File

@ -30,7 +30,22 @@ These two processes will still include the `vendor` folder and it should be dele
rm -rf $GOPATH/src/github.com/aws/aws-sdk-go/vendor
## Getting Help
Please use these community resources for getting help. We use the GitHub issues for tracking bugs and feature requests.
* Ask a question on [StackOverflow](http://stackoverflow.com/) and tag it with the `aws-sdk-go` tag.
* Come join the AWS SDK for Go community chat on [gitter](https://gitter.im/aws/aws-sdk-go).
* Open a support ticket with [AWS Support](http://docs.aws.amazon.com/awssupport/latest/user/getting-started.html).
* If you think you may of found a bug, please open an [issue](https://github.com/aws/aws-sdk-go/issues/new).
## Opening Issues
If you encounter a bug with the AWS SDK for Go we would like to hear about it. Search the [existing issues]( https://github.com/aws/aws-sdk-go/issues) and see if others are also experiencing the issue before opening a new issue. Please include the version of AWS SDK for Go, Go language, and OS youre using. Please also include repro case when appropriate.
The GitHub issues are intended for bug reports and feature requests. For help and questions with using AWS SDK for GO please make use of the resources listed in the [Getting Help]( https://github.com/aws/aws-sdk-go#getting-help) section. Keeping the list of open issues lean will help us respond in a timely manner.
## Reference Documentation
[`Getting Started Guide`](https://aws.amazon.com/sdk-for-go/) - This document is a general introduction how to configure and make requests with the SDK. If this is your first time using the SDK, this documentation and the API documentation will help you get started. This document focuses on the syntax and behavior of the SDK. The [Service Developer Guide](https://aws.amazon.com/documentation/) will help you get started using specific AWS services.
[`SDK API Reference Documentation`](https://docs.aws.amazon.com/sdk-for-go/api/) - Use this document to look up all API operation input and output parameters for AWS services supported by the SDK. The API reference also includes documentation of the SDK, and examples how to using the SDK, service client API operations, and API operation require parameters.

View File

@ -46,11 +46,11 @@ const (
AcmServiceID = "acm" // Acm.
ApigatewayServiceID = "apigateway" // Apigateway.
ApplicationAutoscalingServiceID = "application-autoscaling" // ApplicationAutoscaling.
AppstreamServiceID = "appstream" // Appstream.
Appstream2ServiceID = "appstream2" // Appstream2.
AutoscalingServiceID = "autoscaling" // Autoscaling.
BatchServiceID = "batch" // Batch.
BudgetsServiceID = "budgets" // Budgets.
ClouddirectoryServiceID = "clouddirectory" // Clouddirectory.
CloudformationServiceID = "cloudformation" // Cloudformation.
CloudfrontServiceID = "cloudfront" // Cloudfront.
CloudhsmServiceID = "cloudhsm" // Cloudhsm.
@ -113,6 +113,7 @@ const (
RekognitionServiceID = "rekognition" // Rekognition.
Route53ServiceID = "route53" // Route53.
Route53domainsServiceID = "route53domains" // Route53domains.
RuntimeLexServiceID = "runtime.lex" // RuntimeLex.
S3ServiceID = "s3" // S3.
SdbServiceID = "sdb" // Sdb.
ServicecatalogServiceID = "servicecatalog" // Servicecatalog.
@ -249,6 +250,7 @@ var awsPartition = partition{
"ap-southeast-2": endpoint{},
"eu-central-1": endpoint{},
"eu-west-1": endpoint{},
"eu-west-2": endpoint{},
"us-east-1": endpoint{},
"us-east-2": endpoint{},
"us-west-1": endpoint{},
@ -280,13 +282,6 @@ var awsPartition = partition{
"us-west-2": endpoint{},
},
},
"appstream": service{
Endpoints: endpoints{
"ap-northeast-1": endpoint{},
"us-east-1": endpoint{},
},
},
"appstream2": service{
Defaults: endpoint{
Protocols: []string{"https"},
@ -341,6 +336,17 @@ var awsPartition = partition{
},
},
},
"clouddirectory": service{
Endpoints: endpoints{
"ap-southeast-1": endpoint{},
"ap-southeast-2": endpoint{},
"eu-west-1": endpoint{},
"us-east-1": endpoint{},
"us-east-2": endpoint{},
"us-west-2": endpoint{},
},
},
"cloudformation": service{
Endpoints: endpoints{
@ -428,6 +434,7 @@ var awsPartition = partition{
Endpoints: endpoints{
"eu-west-1": endpoint{},
"us-east-1": endpoint{},
"us-east-2": endpoint{},
"us-west-2": endpoint{},
},
},
@ -843,6 +850,7 @@ var awsPartition = partition{
"ap-southeast-2": endpoint{},
"eu-central-1": endpoint{},
"eu-west-1": endpoint{},
"eu-west-2": endpoint{},
"sa-east-1": endpoint{},
"us-east-1": endpoint{},
"us-east-2": endpoint{},
@ -1010,6 +1018,7 @@ var awsPartition = partition{
"ap-southeast-2": endpoint{},
"eu-central-1": endpoint{},
"eu-west-1": endpoint{},
"eu-west-2": endpoint{},
"us-east-1": endpoint{},
"us-east-2": endpoint{},
"us-west-1": endpoint{},
@ -1062,10 +1071,13 @@ var awsPartition = partition{
},
Endpoints: endpoints{
"ap-northeast-1": endpoint{},
"ap-northeast-2": endpoint{},
"ap-south-1": endpoint{},
"ap-southeast-1": endpoint{},
"ap-southeast-2": endpoint{},
"eu-central-1": endpoint{},
"eu-west-1": endpoint{},
"sa-east-1": endpoint{},
"us-east-1": endpoint{},
"us-west-1": endpoint{},
"us-west-2": endpoint{},
@ -1210,6 +1222,16 @@ var awsPartition = partition{
"us-east-1": endpoint{},
},
},
"runtime.lex": service{
Defaults: endpoint{
CredentialScope: credentialScope{
Service: "lex",
},
},
Endpoints: endpoints{
"us-east-1": endpoint{},
},
},
"s3": service{
PartitionEndpoint: "us-east-1",
IsRegionalized: boxedTrue,

View File

@ -5,4 +5,4 @@ package aws
const SDKName = "aws-sdk-go"
// SDKVersion is the version of this SDK
const SDKVersion = "1.6.18"
const SDKVersion = "1.6.19"

View File

@ -4,7 +4,9 @@ package jsonutil
import (
"bytes"
"encoding/base64"
"encoding/json"
"fmt"
"math"
"reflect"
"sort"
"strconv"
@ -202,7 +204,11 @@ func buildScalar(v reflect.Value, buf *bytes.Buffer, tag reflect.StructTag) erro
case reflect.Int64:
buf.Write(strconv.AppendInt(scratch[:0], value.Int(), 10))
case reflect.Float64:
buf.Write(strconv.AppendFloat(scratch[:0], value.Float(), 'f', -1, 64))
f := value.Float()
if math.IsInf(f, 0) || math.IsNaN(f) {
return &json.UnsupportedValueError{Value: v, Str: strconv.FormatFloat(f, 'f', -1, 64)}
}
buf.Write(strconv.AppendFloat(scratch[:0], f, 'f', -1, 64))
default:
switch value.Type() {
case timeType:

View File

@ -86,18 +86,18 @@ func (c *ACM) AddTagsToCertificateRequest(input *AddTagsToCertificateInput) (req
// API operation AddTagsToCertificate for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The specified certificate cannot be found in the caller's account, or the
// caller's account cannot be found.
//
// * InvalidArnException
// * ErrCodeInvalidArnException "InvalidArnException"
// The requested Amazon Resource Name (ARN) does not refer to an existing resource.
//
// * InvalidTagException
// * ErrCodeInvalidTagException "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
// * ErrCodeTooManyTagsException "TooManyTagsException"
// The request contains too many tags. Try the request again with fewer tags.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/AddTagsToCertificate
@ -172,15 +172,15 @@ func (c *ACM) DeleteCertificateRequest(input *DeleteCertificateInput) (req *requ
// API operation DeleteCertificate for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The specified certificate cannot be found in the caller's account, or the
// caller's account cannot be found.
//
// * ResourceInUseException
// * ErrCodeResourceInUseException "ResourceInUseException"
// The certificate is in use by another AWS service in the caller's account.
// Remove the association and try again.
//
// * InvalidArnException
// * ErrCodeInvalidArnException "InvalidArnException"
// The requested Amazon Resource Name (ARN) does not refer to an existing resource.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/DeleteCertificate
@ -245,11 +245,11 @@ func (c *ACM) DescribeCertificateRequest(input *DescribeCertificateInput) (req *
// API operation DescribeCertificate for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The specified certificate cannot be found in the caller's account, or the
// caller's account cannot be found.
//
// * InvalidArnException
// * ErrCodeInvalidArnException "InvalidArnException"
// The requested Amazon Resource Name (ARN) does not refer to an existing resource.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/DescribeCertificate
@ -322,15 +322,15 @@ func (c *ACM) GetCertificateRequest(input *GetCertificateInput) (req *request.Re
// API operation GetCertificate for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The specified certificate cannot be found in the caller's account, or the
// caller's account cannot be found.
//
// * RequestInProgressException
// * ErrCodeRequestInProgressException "RequestInProgressException"
// The certificate request is in process and the certificate in your account
// has not yet been issued.
//
// * InvalidArnException
// * ErrCodeInvalidArnException "InvalidArnException"
// The requested Amazon Resource Name (ARN) does not refer to an existing resource.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/GetCertificate
@ -420,11 +420,11 @@ func (c *ACM) ImportCertificateRequest(input *ImportCertificateInput) (req *requ
// API operation ImportCertificate for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The specified certificate cannot be found in the caller's account, or the
// caller's account cannot be found.
//
// * LimitExceededException
// * ErrCodeLimitExceededException "LimitExceededException"
// An ACM limit has been exceeded. For example, you may have input more domains
// than are allowed or you've requested too many certificates for your account.
// See the exception message returned by ACM to determine which limit you have
@ -589,11 +589,11 @@ func (c *ACM) ListTagsForCertificateRequest(input *ListTagsForCertificateInput)
// API operation ListTagsForCertificate for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The specified certificate cannot be found in the caller's account, or the
// caller's account cannot be found.
//
// * InvalidArnException
// * ErrCodeInvalidArnException "InvalidArnException"
// The requested Amazon Resource Name (ARN) does not refer to an existing resource.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListTagsForCertificate
@ -667,14 +667,14 @@ func (c *ACM) RemoveTagsFromCertificateRequest(input *RemoveTagsFromCertificateI
// API operation RemoveTagsFromCertificate for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The specified certificate cannot be found in the caller's account, or the
// caller's account cannot be found.
//
// * InvalidArnException
// * ErrCodeInvalidArnException "InvalidArnException"
// The requested Amazon Resource Name (ARN) does not refer to an existing resource.
//
// * InvalidTagException
// * ErrCodeInvalidTagException "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:.
//
@ -746,14 +746,14 @@ func (c *ACM) RequestCertificateRequest(input *RequestCertificateInput) (req *re
// API operation RequestCertificate for usage and error information.
//
// Returned Error Codes:
// * LimitExceededException
// * ErrCodeLimitExceededException "LimitExceededException"
// An ACM limit has been exceeded. For example, you may have input more domains
// than are allowed or you've requested too many certificates for your account.
// See the exception message returned by ACM to determine which limit you have
// violated. For more information about ACM limits, see the Limits (http://docs.aws.amazon.com/acm/latest/userguide/acm-limits.html)
// topic.
//
// * InvalidDomainValidationOptionsException
// * ErrCodeInvalidDomainValidationOptionsException "InvalidDomainValidationOptionsException"
// One or more values in the DomainValidationOption structure is incorrect.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/RequestCertificate
@ -828,20 +828,20 @@ func (c *ACM) ResendValidationEmailRequest(input *ResendValidationEmailInput) (r
// API operation ResendValidationEmail for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The specified certificate cannot be found in the caller's account, or the
// caller's account cannot be found.
//
// * InvalidStateException
// * ErrCodeInvalidStateException "InvalidStateException"
// Processing has reached an invalid state. For example, this exception can
// occur if the specified domain is not using email validation, or the current
// certificate status does not permit the requested operation. See the exception
// message returned by ACM to determine which state is not valid.
//
// * InvalidArnException
// * ErrCodeInvalidArnException "InvalidArnException"
// The requested Amazon Resource Name (ARN) does not refer to an existing resource.
//
// * InvalidDomainValidationOptionsException
// * ErrCodeInvalidDomainValidationOptionsException "InvalidDomainValidationOptionsException"
// One or more values in the DomainValidationOption structure is incorrect.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ResendValidationEmail

71
vendor/github.com/aws/aws-sdk-go/service/acm/errors.go generated vendored Normal file
View File

@ -0,0 +1,71 @@
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
package acm
const (
// ErrCodeInvalidArnException for service response error code
// "InvalidArnException".
//
// The requested Amazon Resource Name (ARN) does not refer to an existing resource.
ErrCodeInvalidArnException = "InvalidArnException"
// ErrCodeInvalidDomainValidationOptionsException for service response error code
// "InvalidDomainValidationOptionsException".
//
// One or more values in the DomainValidationOption structure is incorrect.
ErrCodeInvalidDomainValidationOptionsException = "InvalidDomainValidationOptionsException"
// ErrCodeInvalidStateException for service response error code
// "InvalidStateException".
//
// Processing has reached an invalid state. For example, this exception can
// occur if the specified domain is not using email validation, or the current
// certificate status does not permit the requested operation. See the exception
// message returned by ACM to determine which state is not valid.
ErrCodeInvalidStateException = "InvalidStateException"
// ErrCodeInvalidTagException for service response error code
// "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:.
ErrCodeInvalidTagException = "InvalidTagException"
// ErrCodeLimitExceededException for service response error code
// "LimitExceededException".
//
// An ACM limit has been exceeded. For example, you may have input more domains
// than are allowed or you've requested too many certificates for your account.
// See the exception message returned by ACM to determine which limit you have
// violated. For more information about ACM limits, see the Limits (http://docs.aws.amazon.com/acm/latest/userguide/acm-limits.html)
// topic.
ErrCodeLimitExceededException = "LimitExceededException"
// ErrCodeRequestInProgressException for service response error code
// "RequestInProgressException".
//
// The certificate request is in process and the certificate in your account
// has not yet been issued.
ErrCodeRequestInProgressException = "RequestInProgressException"
// ErrCodeResourceInUseException for service response error code
// "ResourceInUseException".
//
// The certificate is in use by another AWS service in the caller's account.
// Remove the association and try again.
ErrCodeResourceInUseException = "ResourceInUseException"
// ErrCodeResourceNotFoundException for service response error code
// "ResourceNotFoundException".
//
// The specified certificate cannot be found in the caller's account, or the
// caller's account cannot be found.
ErrCodeResourceNotFoundException = "ResourceNotFoundException"
// ErrCodeTooManyTagsException for service response error code
// "TooManyTagsException".
//
// The request contains too many tags. Try the request again with fewer tags.
ErrCodeTooManyTagsException = "TooManyTagsException"
)

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,34 @@
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
package apigateway
const (
// ErrCodeBadRequestException for service response error code
// "BadRequestException".
ErrCodeBadRequestException = "BadRequestException"
// ErrCodeConflictException for service response error code
// "ConflictException".
ErrCodeConflictException = "ConflictException"
// ErrCodeLimitExceededException for service response error code
// "LimitExceededException".
ErrCodeLimitExceededException = "LimitExceededException"
// ErrCodeNotFoundException for service response error code
// "NotFoundException".
ErrCodeNotFoundException = "NotFoundException"
// ErrCodeServiceUnavailableException for service response error code
// "ServiceUnavailableException".
ErrCodeServiceUnavailableException = "ServiceUnavailableException"
// ErrCodeTooManyRequestsException for service response error code
// "TooManyRequestsException".
ErrCodeTooManyRequestsException = "TooManyRequestsException"
// ErrCodeUnauthorizedException for service response error code
// "UnauthorizedException".
ErrCodeUnauthorizedException = "UnauthorizedException"
)

View File

@ -72,11 +72,11 @@ func (c *ApplicationAutoScaling) DeleteScalingPolicyRequest(input *DeleteScaling
// API operation DeleteScalingPolicy for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// An exception was thrown for a validation issue. Review the available parameters
// for the API request.
//
// * ObjectNotFoundException
// * ErrCodeObjectNotFoundException "ObjectNotFoundException"
// The specified object could not be found. For any Put or Register API operation,
// which depends on the existence of a scalable target, this exception is thrown
// if the scalable target with the specified service namespace, resource ID,
@ -84,11 +84,11 @@ func (c *ApplicationAutoScaling) DeleteScalingPolicyRequest(input *DeleteScaling
// this exception is thrown if the resource that is to be deleted or deregistered
// cannot be found.
//
// * ConcurrentUpdateException
// * ErrCodeConcurrentUpdateException "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
// * ErrCodeInternalServiceException "InternalServiceException"
// The service encountered an internal error.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScalingPolicy
@ -158,11 +158,11 @@ func (c *ApplicationAutoScaling) DeregisterScalableTargetRequest(input *Deregist
// API operation DeregisterScalableTarget for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// An exception was thrown for a validation issue. Review the available parameters
// for the API request.
//
// * ObjectNotFoundException
// * ErrCodeObjectNotFoundException "ObjectNotFoundException"
// The specified object could not be found. For any Put or Register API operation,
// which depends on the existence of a scalable target, this exception is thrown
// if the scalable target with the specified service namespace, resource ID,
@ -170,11 +170,11 @@ func (c *ApplicationAutoScaling) DeregisterScalableTargetRequest(input *Deregist
// this exception is thrown if the resource that is to be deleted or deregistered
// cannot be found.
//
// * ConcurrentUpdateException
// * ErrCodeConcurrentUpdateException "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
// * ErrCodeInternalServiceException "InternalServiceException"
// The service encountered an internal error.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeregisterScalableTarget
@ -252,18 +252,18 @@ func (c *ApplicationAutoScaling) DescribeScalableTargetsRequest(input *DescribeS
// API operation DescribeScalableTargets for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// An exception was thrown for a validation issue. Review the available parameters
// for the API request.
//
// * InvalidNextTokenException
// * ErrCodeInvalidNextTokenException "InvalidNextTokenException"
// The next token supplied was invalid.
//
// * ConcurrentUpdateException
// * ErrCodeConcurrentUpdateException "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
// * ErrCodeInternalServiceException "InternalServiceException"
// The service encountered an internal error.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScalableTargets
@ -367,18 +367,18 @@ func (c *ApplicationAutoScaling) DescribeScalingActivitiesRequest(input *Describ
// API operation DescribeScalingActivities for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// An exception was thrown for a validation issue. Review the available parameters
// for the API request.
//
// * InvalidNextTokenException
// * ErrCodeInvalidNextTokenException "InvalidNextTokenException"
// The next token supplied was invalid.
//
// * ConcurrentUpdateException
// * ErrCodeConcurrentUpdateException "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
// * ErrCodeInternalServiceException "InternalServiceException"
// The service encountered an internal error.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScalingActivities
@ -481,11 +481,11 @@ func (c *ApplicationAutoScaling) DescribeScalingPoliciesRequest(input *DescribeS
// API operation DescribeScalingPolicies for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// An exception was thrown for a validation issue. Review the available parameters
// for the API request.
//
// * FailedResourceAccessException
// * ErrCodeFailedResourceAccessException "FailedResourceAccessException"
// Failed access to resources caused an exception. This exception currently
// only applies to DescribeScalingPolicies. It is thrown when Application Auto
// Scaling is unable to retrieve the alarms associated with a scaling policy
@ -494,14 +494,14 @@ func (c *ApplicationAutoScaling) DescribeScalingPoliciesRequest(input *DescribeS
// (http://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_DescribeAlarms.html)
// API operation on behalf of your account.
//
// * InvalidNextTokenException
// * ErrCodeInvalidNextTokenException "InvalidNextTokenException"
// The next token supplied was invalid.
//
// * ConcurrentUpdateException
// * ErrCodeConcurrentUpdateException "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
// * ErrCodeInternalServiceException "InternalServiceException"
// The service encountered an internal error.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScalingPolicies
@ -603,16 +603,16 @@ func (c *ApplicationAutoScaling) PutScalingPolicyRequest(input *PutScalingPolicy
// API operation PutScalingPolicy for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// An exception was thrown for a validation issue. Review the available parameters
// for the API request.
//
// * LimitExceededException
// * ErrCodeLimitExceededException "LimitExceededException"
// Your account exceeded a limit. This exception is thrown when a per-account
// resource limit is exceeded. For more information, see Application Auto Scaling
// Limits (http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_as-app).
//
// * ObjectNotFoundException
// * ErrCodeObjectNotFoundException "ObjectNotFoundException"
// The specified object could not be found. For any Put or Register API operation,
// which depends on the existence of a scalable target, this exception is thrown
// if the scalable target with the specified service namespace, resource ID,
@ -620,11 +620,11 @@ func (c *ApplicationAutoScaling) PutScalingPolicyRequest(input *PutScalingPolicy
// this exception is thrown if the resource that is to be deleted or deregistered
// cannot be found.
//
// * ConcurrentUpdateException
// * ErrCodeConcurrentUpdateException "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
// * ErrCodeInternalServiceException "InternalServiceException"
// The service encountered an internal error.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/PutScalingPolicy
@ -697,20 +697,20 @@ func (c *ApplicationAutoScaling) RegisterScalableTargetRequest(input *RegisterSc
// API operation RegisterScalableTarget for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// An exception was thrown for a validation issue. Review the available parameters
// for the API request.
//
// * LimitExceededException
// * ErrCodeLimitExceededException "LimitExceededException"
// Your account exceeded a limit. This exception is thrown when a per-account
// resource limit is exceeded. For more information, see Application Auto Scaling
// Limits (http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_as-app).
//
// * ConcurrentUpdateException
// * ErrCodeConcurrentUpdateException "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
// * ErrCodeInternalServiceException "InternalServiceException"
// The service encountered an internal error.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/RegisterScalableTarget

View File

@ -0,0 +1,63 @@
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
package applicationautoscaling
const (
// ErrCodeConcurrentUpdateException for service response error code
// "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.
ErrCodeConcurrentUpdateException = "ConcurrentUpdateException"
// ErrCodeFailedResourceAccessException for service response error code
// "FailedResourceAccessException".
//
// Failed access to resources caused an exception. This exception currently
// only applies to DescribeScalingPolicies. It 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 the proper permissions to call the CloudWatch DescribeAlarms
// (http://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_DescribeAlarms.html)
// API operation on behalf of your account.
ErrCodeFailedResourceAccessException = "FailedResourceAccessException"
// ErrCodeInternalServiceException for service response error code
// "InternalServiceException".
//
// The service encountered an internal error.
ErrCodeInternalServiceException = "InternalServiceException"
// ErrCodeInvalidNextTokenException for service response error code
// "InvalidNextTokenException".
//
// The next token supplied was invalid.
ErrCodeInvalidNextTokenException = "InvalidNextTokenException"
// ErrCodeLimitExceededException for service response error code
// "LimitExceededException".
//
// Your account exceeded a limit. This exception is thrown when a per-account
// resource limit is exceeded. For more information, see Application Auto Scaling
// Limits (http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_as-app).
ErrCodeLimitExceededException = "LimitExceededException"
// ErrCodeObjectNotFoundException for service response error code
// "ObjectNotFoundException".
//
// The specified object could not be found. For any Put or Register API operation,
// which 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 Delete or Deregister API operation,
// this exception is thrown if the resource that is to be deleted or deregistered
// cannot be found.
ErrCodeObjectNotFoundException = "ObjectNotFoundException"
// ErrCodeValidationException for service response error code
// "ValidationException".
//
// An exception was thrown for a validation issue. Review the available parameters
// for the API request.
ErrCodeValidationException = "ValidationException"
)

View File

@ -84,7 +84,7 @@ func (c *AutoScaling) AttachInstancesRequest(input *AttachInstancesInput) (req *
// API operation AttachInstances for usage and error information.
//
// Returned Error Codes:
// * ResourceContention
// * ErrCodeResourceContentionFault "ResourceContention"
// You already have a pending update to an Auto Scaling resource (for example,
// a group, instance, or load balancer).
//
@ -157,7 +157,7 @@ func (c *AutoScaling) AttachLoadBalancerTargetGroupsRequest(input *AttachLoadBal
// API operation AttachLoadBalancerTargetGroups for usage and error information.
//
// Returned Error Codes:
// * ResourceContention
// * ErrCodeResourceContentionFault "ResourceContention"
// You already have a pending update to an Auto Scaling resource (for example,
// a group, instance, or load balancer).
//
@ -233,7 +233,7 @@ func (c *AutoScaling) AttachLoadBalancersRequest(input *AttachLoadBalancersInput
// API operation AttachLoadBalancers for usage and error information.
//
// Returned Error Codes:
// * ResourceContention
// * ErrCodeResourceContentionFault "ResourceContention"
// You already have a pending update to an Auto Scaling resource (for example,
// a group, instance, or load balancer).
//
@ -321,7 +321,7 @@ func (c *AutoScaling) CompleteLifecycleActionRequest(input *CompleteLifecycleAct
// API operation CompleteLifecycleAction for usage and error information.
//
// Returned Error Codes:
// * ResourceContention
// * ErrCodeResourceContentionFault "ResourceContention"
// You already have a pending update to an Auto Scaling resource (for example,
// a group, instance, or load balancer).
//
@ -396,16 +396,16 @@ func (c *AutoScaling) CreateAutoScalingGroupRequest(input *CreateAutoScalingGrou
// API operation CreateAutoScalingGroup for usage and error information.
//
// Returned Error Codes:
// * AlreadyExists
// * ErrCodeAlreadyExistsFault "AlreadyExists"
// You already have an Auto Scaling group or launch configuration with this
// name.
//
// * LimitExceeded
// * ErrCodeLimitExceededFault "LimitExceeded"
// You have already reached a limit for your Auto Scaling resources (for example,
// groups, launch configurations, or lifecycle hooks). For more information,
// see DescribeAccountLimits.
//
// * ResourceContention
// * ErrCodeResourceContentionFault "ResourceContention"
// You already have a pending update to an Auto Scaling resource (for example,
// a group, instance, or load balancer).
//
@ -480,16 +480,16 @@ func (c *AutoScaling) CreateLaunchConfigurationRequest(input *CreateLaunchConfig
// API operation CreateLaunchConfiguration for usage and error information.
//
// Returned Error Codes:
// * AlreadyExists
// * ErrCodeAlreadyExistsFault "AlreadyExists"
// You already have an Auto Scaling group or launch configuration with this
// name.
//
// * LimitExceeded
// * ErrCodeLimitExceededFault "LimitExceeded"
// You have already reached a limit for your Auto Scaling resources (for example,
// groups, launch configurations, or lifecycle hooks). For more information,
// see DescribeAccountLimits.
//
// * ResourceContention
// * ErrCodeResourceContentionFault "ResourceContention"
// You already have a pending update to an Auto Scaling resource (for example,
// a group, instance, or load balancer).
//
@ -563,16 +563,16 @@ func (c *AutoScaling) CreateOrUpdateTagsRequest(input *CreateOrUpdateTagsInput)
// API operation CreateOrUpdateTags for usage and error information.
//
// Returned Error Codes:
// * LimitExceeded
// * ErrCodeLimitExceededFault "LimitExceeded"
// You have already reached a limit for your Auto Scaling resources (for example,
// groups, launch configurations, or lifecycle hooks). For more information,
// see DescribeAccountLimits.
//
// * AlreadyExists
// * ErrCodeAlreadyExistsFault "AlreadyExists"
// You already have an Auto Scaling group or launch configuration with this
// name.
//
// * ResourceContention
// * ErrCodeResourceContentionFault "ResourceContention"
// You already have a pending update to an Auto Scaling resource (for example,
// a group, instance, or load balancer).
//
@ -654,14 +654,14 @@ func (c *AutoScaling) DeleteAutoScalingGroupRequest(input *DeleteAutoScalingGrou
// API operation DeleteAutoScalingGroup for usage and error information.
//
// Returned Error Codes:
// * ScalingActivityInProgress
// * ErrCodeScalingActivityInProgressFault "ScalingActivityInProgress"
// The operation can't be performed because there are scaling activities in
// progress.
//
// * ResourceInUse
// * ErrCodeResourceInUseFault "ResourceInUse"
// The operation can't be performed because the resource is in use.
//
// * ResourceContention
// * ErrCodeResourceContentionFault "ResourceContention"
// You already have a pending update to an Auto Scaling resource (for example,
// a group, instance, or load balancer).
//
@ -733,10 +733,10 @@ func (c *AutoScaling) DeleteLaunchConfigurationRequest(input *DeleteLaunchConfig
// API operation DeleteLaunchConfiguration for usage and error information.
//
// Returned Error Codes:
// * ResourceInUse
// * ErrCodeResourceInUseFault "ResourceInUse"
// The operation can't be performed because the resource is in use.
//
// * ResourceContention
// * ErrCodeResourceContentionFault "ResourceContention"
// You already have a pending update to an Auto Scaling resource (for example,
// a group, instance, or load balancer).
//
@ -805,7 +805,7 @@ func (c *AutoScaling) DeleteLifecycleHookRequest(input *DeleteLifecycleHookInput
// API operation DeleteLifecycleHook for usage and error information.
//
// Returned Error Codes:
// * ResourceContention
// * ErrCodeResourceContentionFault "ResourceContention"
// You already have a pending update to an Auto Scaling resource (for example,
// a group, instance, or load balancer).
//
@ -873,7 +873,7 @@ func (c *AutoScaling) DeleteNotificationConfigurationRequest(input *DeleteNotifi
// API operation DeleteNotificationConfiguration for usage and error information.
//
// Returned Error Codes:
// * ResourceContention
// * ErrCodeResourceContentionFault "ResourceContention"
// You already have a pending update to an Auto Scaling resource (for example,
// a group, instance, or load balancer).
//
@ -944,7 +944,7 @@ func (c *AutoScaling) DeletePolicyRequest(input *DeletePolicyInput) (req *reques
// API operation DeletePolicy for usage and error information.
//
// Returned Error Codes:
// * ResourceContention
// * ErrCodeResourceContentionFault "ResourceContention"
// You already have a pending update to an Auto Scaling resource (for example,
// a group, instance, or load balancer).
//
@ -1012,7 +1012,7 @@ func (c *AutoScaling) DeleteScheduledActionRequest(input *DeleteScheduledActionI
// API operation DeleteScheduledAction for usage and error information.
//
// Returned Error Codes:
// * ResourceContention
// * ErrCodeResourceContentionFault "ResourceContention"
// You already have a pending update to an Auto Scaling resource (for example,
// a group, instance, or load balancer).
//
@ -1080,7 +1080,7 @@ func (c *AutoScaling) DeleteTagsRequest(input *DeleteTagsInput) (req *request.Re
// API operation DeleteTags for usage and error information.
//
// Returned Error Codes:
// * ResourceContention
// * ErrCodeResourceContentionFault "ResourceContention"
// You already have a pending update to an Auto Scaling resource (for example,
// a group, instance, or load balancer).
//
@ -1150,7 +1150,7 @@ func (c *AutoScaling) DescribeAccountLimitsRequest(input *DescribeAccountLimitsI
// API operation DescribeAccountLimits for usage and error information.
//
// Returned Error Codes:
// * ResourceContention
// * ErrCodeResourceContentionFault "ResourceContention"
// You already have a pending update to an Auto Scaling resource (for example,
// a group, instance, or load balancer).
//
@ -1216,7 +1216,7 @@ func (c *AutoScaling) DescribeAdjustmentTypesRequest(input *DescribeAdjustmentTy
// API operation DescribeAdjustmentTypes for usage and error information.
//
// Returned Error Codes:
// * ResourceContention
// * ErrCodeResourceContentionFault "ResourceContention"
// You already have a pending update to an Auto Scaling resource (for example,
// a group, instance, or load balancer).
//
@ -1288,10 +1288,10 @@ func (c *AutoScaling) DescribeAutoScalingGroupsRequest(input *DescribeAutoScalin
// API operation DescribeAutoScalingGroups for usage and error information.
//
// Returned Error Codes:
// * InvalidNextToken
// * ErrCodeInvalidNextToken "InvalidNextToken"
// The NextToken value is not valid.
//
// * ResourceContention
// * ErrCodeResourceContentionFault "ResourceContention"
// You already have a pending update to an Auto Scaling resource (for example,
// a group, instance, or load balancer).
//
@ -1388,10 +1388,10 @@ func (c *AutoScaling) DescribeAutoScalingInstancesRequest(input *DescribeAutoSca
// API operation DescribeAutoScalingInstances for usage and error information.
//
// Returned Error Codes:
// * InvalidNextToken
// * ErrCodeInvalidNextToken "InvalidNextToken"
// The NextToken value is not valid.
//
// * ResourceContention
// * ErrCodeResourceContentionFault "ResourceContention"
// You already have a pending update to an Auto Scaling resource (for example,
// a group, instance, or load balancer).
//
@ -1482,7 +1482,7 @@ func (c *AutoScaling) DescribeAutoScalingNotificationTypesRequest(input *Describ
// API operation DescribeAutoScalingNotificationTypes for usage and error information.
//
// Returned Error Codes:
// * ResourceContention
// * ErrCodeResourceContentionFault "ResourceContention"
// You already have a pending update to an Auto Scaling resource (for example,
// a group, instance, or load balancer).
//
@ -1554,10 +1554,10 @@ func (c *AutoScaling) DescribeLaunchConfigurationsRequest(input *DescribeLaunchC
// API operation DescribeLaunchConfigurations for usage and error information.
//
// Returned Error Codes:
// * InvalidNextToken
// * ErrCodeInvalidNextToken "InvalidNextToken"
// The NextToken value is not valid.
//
// * ResourceContention
// * ErrCodeResourceContentionFault "ResourceContention"
// You already have a pending update to an Auto Scaling resource (for example,
// a group, instance, or load balancer).
//
@ -1648,7 +1648,7 @@ func (c *AutoScaling) DescribeLifecycleHookTypesRequest(input *DescribeLifecycle
// API operation DescribeLifecycleHookTypes for usage and error information.
//
// Returned Error Codes:
// * ResourceContention
// * ErrCodeResourceContentionFault "ResourceContention"
// You already have a pending update to an Auto Scaling resource (for example,
// a group, instance, or load balancer).
//
@ -1714,7 +1714,7 @@ func (c *AutoScaling) DescribeLifecycleHooksRequest(input *DescribeLifecycleHook
// API operation DescribeLifecycleHooks for usage and error information.
//
// Returned Error Codes:
// * ResourceContention
// * ErrCodeResourceContentionFault "ResourceContention"
// You already have a pending update to an Auto Scaling resource (for example,
// a group, instance, or load balancer).
//
@ -1780,7 +1780,7 @@ func (c *AutoScaling) DescribeLoadBalancerTargetGroupsRequest(input *DescribeLoa
// API operation DescribeLoadBalancerTargetGroups for usage and error information.
//
// Returned Error Codes:
// * ResourceContention
// * ErrCodeResourceContentionFault "ResourceContention"
// You already have a pending update to an Auto Scaling resource (for example,
// a group, instance, or load balancer).
//
@ -1849,7 +1849,7 @@ func (c *AutoScaling) DescribeLoadBalancersRequest(input *DescribeLoadBalancersI
// API operation DescribeLoadBalancers for usage and error information.
//
// Returned Error Codes:
// * ResourceContention
// * ErrCodeResourceContentionFault "ResourceContention"
// You already have a pending update to an Auto Scaling resource (for example,
// a group, instance, or load balancer).
//
@ -1918,7 +1918,7 @@ func (c *AutoScaling) DescribeMetricCollectionTypesRequest(input *DescribeMetric
// API operation DescribeMetricCollectionTypes for usage and error information.
//
// Returned Error Codes:
// * ResourceContention
// * ErrCodeResourceContentionFault "ResourceContention"
// You already have a pending update to an Auto Scaling resource (for example,
// a group, instance, or load balancer).
//
@ -1991,10 +1991,10 @@ func (c *AutoScaling) DescribeNotificationConfigurationsRequest(input *DescribeN
// API operation DescribeNotificationConfigurations for usage and error information.
//
// Returned Error Codes:
// * InvalidNextToken
// * ErrCodeInvalidNextToken "InvalidNextToken"
// The NextToken value is not valid.
//
// * ResourceContention
// * ErrCodeResourceContentionFault "ResourceContention"
// You already have a pending update to an Auto Scaling resource (for example,
// a group, instance, or load balancer).
//
@ -2091,10 +2091,10 @@ func (c *AutoScaling) DescribePoliciesRequest(input *DescribePoliciesInput) (req
// API operation DescribePolicies for usage and error information.
//
// Returned Error Codes:
// * InvalidNextToken
// * ErrCodeInvalidNextToken "InvalidNextToken"
// The NextToken value is not valid.
//
// * ResourceContention
// * ErrCodeResourceContentionFault "ResourceContention"
// You already have a pending update to an Auto Scaling resource (for example,
// a group, instance, or load balancer).
//
@ -2191,10 +2191,10 @@ func (c *AutoScaling) DescribeScalingActivitiesRequest(input *DescribeScalingAct
// API operation DescribeScalingActivities for usage and error information.
//
// Returned Error Codes:
// * InvalidNextToken
// * ErrCodeInvalidNextToken "InvalidNextToken"
// The NextToken value is not valid.
//
// * ResourceContention
// * ErrCodeResourceContentionFault "ResourceContention"
// You already have a pending update to an Auto Scaling resource (for example,
// a group, instance, or load balancer).
//
@ -2285,7 +2285,7 @@ func (c *AutoScaling) DescribeScalingProcessTypesRequest(input *DescribeScalingP
// API operation DescribeScalingProcessTypes for usage and error information.
//
// Returned Error Codes:
// * ResourceContention
// * ErrCodeResourceContentionFault "ResourceContention"
// You already have a pending update to an Auto Scaling resource (for example,
// a group, instance, or load balancer).
//
@ -2358,10 +2358,10 @@ func (c *AutoScaling) DescribeScheduledActionsRequest(input *DescribeScheduledAc
// API operation DescribeScheduledActions for usage and error information.
//
// Returned Error Codes:
// * InvalidNextToken
// * ErrCodeInvalidNextToken "InvalidNextToken"
// The NextToken value is not valid.
//
// * ResourceContention
// * ErrCodeResourceContentionFault "ResourceContention"
// You already have a pending update to an Auto Scaling resource (for example,
// a group, instance, or load balancer).
//
@ -2467,10 +2467,10 @@ func (c *AutoScaling) DescribeTagsRequest(input *DescribeTagsInput) (req *reques
// API operation DescribeTags for usage and error information.
//
// Returned Error Codes:
// * InvalidNextToken
// * ErrCodeInvalidNextToken "InvalidNextToken"
// The NextToken value is not valid.
//
// * ResourceContention
// * ErrCodeResourceContentionFault "ResourceContention"
// You already have a pending update to an Auto Scaling resource (for example,
// a group, instance, or load balancer).
//
@ -2561,7 +2561,7 @@ func (c *AutoScaling) DescribeTerminationPolicyTypesRequest(input *DescribeTermi
// API operation DescribeTerminationPolicyTypes for usage and error information.
//
// Returned Error Codes:
// * ResourceContention
// * ErrCodeResourceContentionFault "ResourceContention"
// You already have a pending update to an Auto Scaling resource (for example,
// a group, instance, or load balancer).
//
@ -2642,7 +2642,7 @@ func (c *AutoScaling) DetachInstancesRequest(input *DetachInstancesInput) (req *
// API operation DetachInstances for usage and error information.
//
// Returned Error Codes:
// * ResourceContention
// * ErrCodeResourceContentionFault "ResourceContention"
// You already have a pending update to an Auto Scaling resource (for example,
// a group, instance, or load balancer).
//
@ -2708,7 +2708,7 @@ func (c *AutoScaling) DetachLoadBalancerTargetGroupsRequest(input *DetachLoadBal
// API operation DetachLoadBalancerTargetGroups for usage and error information.
//
// Returned Error Codes:
// * ResourceContention
// * ErrCodeResourceContentionFault "ResourceContention"
// You already have a pending update to an Auto Scaling resource (for example,
// a group, instance, or load balancer).
//
@ -2783,7 +2783,7 @@ func (c *AutoScaling) DetachLoadBalancersRequest(input *DetachLoadBalancersInput
// API operation DetachLoadBalancers for usage and error information.
//
// Returned Error Codes:
// * ResourceContention
// * ErrCodeResourceContentionFault "ResourceContention"
// You already have a pending update to an Auto Scaling resource (for example,
// a group, instance, or load balancer).
//
@ -2851,7 +2851,7 @@ func (c *AutoScaling) DisableMetricsCollectionRequest(input *DisableMetricsColle
// API operation DisableMetricsCollection for usage and error information.
//
// Returned Error Codes:
// * ResourceContention
// * ErrCodeResourceContentionFault "ResourceContention"
// You already have a pending update to an Auto Scaling resource (for example,
// a group, instance, or load balancer).
//
@ -2921,7 +2921,7 @@ func (c *AutoScaling) EnableMetricsCollectionRequest(input *EnableMetricsCollect
// API operation EnableMetricsCollection for usage and error information.
//
// Returned Error Codes:
// * ResourceContention
// * ErrCodeResourceContentionFault "ResourceContention"
// You already have a pending update to an Auto Scaling resource (for example,
// a group, instance, or load balancer).
//
@ -2990,7 +2990,7 @@ func (c *AutoScaling) EnterStandbyRequest(input *EnterStandbyInput) (req *reques
// API operation EnterStandby for usage and error information.
//
// Returned Error Codes:
// * ResourceContention
// * ErrCodeResourceContentionFault "ResourceContention"
// You already have a pending update to an Auto Scaling resource (for example,
// a group, instance, or load balancer).
//
@ -3058,11 +3058,11 @@ func (c *AutoScaling) ExecutePolicyRequest(input *ExecutePolicyInput) (req *requ
// API operation ExecutePolicy for usage and error information.
//
// Returned Error Codes:
// * ScalingActivityInProgress
// * ErrCodeScalingActivityInProgressFault "ScalingActivityInProgress"
// The operation can't be performed because there are scaling activities in
// progress.
//
// * ResourceContention
// * ErrCodeResourceContentionFault "ResourceContention"
// You already have a pending update to an Auto Scaling resource (for example,
// a group, instance, or load balancer).
//
@ -3131,7 +3131,7 @@ func (c *AutoScaling) ExitStandbyRequest(input *ExitStandbyInput) (req *request.
// API operation ExitStandby for usage and error information.
//
// Returned Error Codes:
// * ResourceContention
// * ErrCodeResourceContentionFault "ResourceContention"
// You already have a pending update to an Auto Scaling resource (for example,
// a group, instance, or load balancer).
//
@ -3227,12 +3227,12 @@ func (c *AutoScaling) PutLifecycleHookRequest(input *PutLifecycleHookInput) (req
// API operation PutLifecycleHook for usage and error information.
//
// Returned Error Codes:
// * LimitExceeded
// * ErrCodeLimitExceededFault "LimitExceeded"
// You have already reached a limit for your Auto Scaling resources (for example,
// groups, launch configurations, or lifecycle hooks). For more information,
// see DescribeAccountLimits.
//
// * ResourceContention
// * ErrCodeResourceContentionFault "ResourceContention"
// You already have a pending update to an Auto Scaling resource (for example,
// a group, instance, or load balancer).
//
@ -3308,12 +3308,12 @@ func (c *AutoScaling) PutNotificationConfigurationRequest(input *PutNotification
// API operation PutNotificationConfiguration for usage and error information.
//
// Returned Error Codes:
// * LimitExceeded
// * ErrCodeLimitExceededFault "LimitExceeded"
// You have already reached a limit for your Auto Scaling resources (for example,
// groups, launch configurations, or lifecycle hooks). For more information,
// see DescribeAccountLimits.
//
// * ResourceContention
// * ErrCodeResourceContentionFault "ResourceContention"
// You already have a pending update to an Auto Scaling resource (for example,
// a group, instance, or load balancer).
//
@ -3387,12 +3387,12 @@ func (c *AutoScaling) PutScalingPolicyRequest(input *PutScalingPolicyInput) (req
// API operation PutScalingPolicy for usage and error information.
//
// Returned Error Codes:
// * LimitExceeded
// * ErrCodeLimitExceededFault "LimitExceeded"
// You have already reached a limit for your Auto Scaling resources (for example,
// groups, launch configurations, or lifecycle hooks). For more information,
// see DescribeAccountLimits.
//
// * ResourceContention
// * ErrCodeResourceContentionFault "ResourceContention"
// You already have a pending update to an Auto Scaling resource (for example,
// a group, instance, or load balancer).
//
@ -3465,16 +3465,16 @@ func (c *AutoScaling) PutScheduledUpdateGroupActionRequest(input *PutScheduledUp
// API operation PutScheduledUpdateGroupAction for usage and error information.
//
// Returned Error Codes:
// * AlreadyExists
// * ErrCodeAlreadyExistsFault "AlreadyExists"
// You already have an Auto Scaling group or launch configuration with this
// name.
//
// * LimitExceeded
// * ErrCodeLimitExceededFault "LimitExceeded"
// You have already reached a limit for your Auto Scaling resources (for example,
// groups, launch configurations, or lifecycle hooks). For more information,
// see DescribeAccountLimits.
//
// * ResourceContention
// * ErrCodeResourceContentionFault "ResourceContention"
// You already have a pending update to an Auto Scaling resource (for example,
// a group, instance, or load balancer).
//
@ -3563,7 +3563,7 @@ func (c *AutoScaling) RecordLifecycleActionHeartbeatRequest(input *RecordLifecyc
// API operation RecordLifecycleActionHeartbeat for usage and error information.
//
// Returned Error Codes:
// * ResourceContention
// * ErrCodeResourceContentionFault "ResourceContention"
// You already have a pending update to an Auto Scaling resource (for example,
// a group, instance, or load balancer).
//
@ -3636,10 +3636,10 @@ func (c *AutoScaling) ResumeProcessesRequest(input *ScalingProcessQuery) (req *r
// API operation ResumeProcesses for usage and error information.
//
// Returned Error Codes:
// * ResourceInUse
// * ErrCodeResourceInUseFault "ResourceInUse"
// The operation can't be performed because the resource is in use.
//
// * ResourceContention
// * ErrCodeResourceContentionFault "ResourceContention"
// You already have a pending update to an Auto Scaling resource (for example,
// a group, instance, or load balancer).
//
@ -3710,11 +3710,11 @@ func (c *AutoScaling) SetDesiredCapacityRequest(input *SetDesiredCapacityInput)
// API operation SetDesiredCapacity for usage and error information.
//
// Returned Error Codes:
// * ScalingActivityInProgress
// * ErrCodeScalingActivityInProgressFault "ScalingActivityInProgress"
// The operation can't be performed because there are scaling activities in
// progress.
//
// * ResourceContention
// * ErrCodeResourceContentionFault "ResourceContention"
// You already have a pending update to an Auto Scaling resource (for example,
// a group, instance, or load balancer).
//
@ -3785,7 +3785,7 @@ func (c *AutoScaling) SetInstanceHealthRequest(input *SetInstanceHealthInput) (r
// API operation SetInstanceHealth for usage and error information.
//
// Returned Error Codes:
// * ResourceContention
// * ErrCodeResourceContentionFault "ResourceContention"
// You already have a pending update to an Auto Scaling resource (for example,
// a group, instance, or load balancer).
//
@ -3854,12 +3854,12 @@ func (c *AutoScaling) SetInstanceProtectionRequest(input *SetInstanceProtectionI
// API operation SetInstanceProtection for usage and error information.
//
// Returned Error Codes:
// * LimitExceeded
// * ErrCodeLimitExceededFault "LimitExceeded"
// You have already reached a limit for your Auto Scaling resources (for example,
// groups, launch configurations, or lifecycle hooks). For more information,
// see DescribeAccountLimits.
//
// * ResourceContention
// * ErrCodeResourceContentionFault "ResourceContention"
// You already have a pending update to an Auto Scaling resource (for example,
// a group, instance, or load balancer).
//
@ -3937,10 +3937,10 @@ func (c *AutoScaling) SuspendProcessesRequest(input *ScalingProcessQuery) (req *
// API operation SuspendProcesses for usage and error information.
//
// Returned Error Codes:
// * ResourceInUse
// * ErrCodeResourceInUseFault "ResourceInUse"
// The operation can't be performed because the resource is in use.
//
// * ResourceContention
// * ErrCodeResourceContentionFault "ResourceContention"
// You already have a pending update to an Auto Scaling resource (for example,
// a group, instance, or load balancer).
//
@ -4010,11 +4010,11 @@ func (c *AutoScaling) TerminateInstanceInAutoScalingGroupRequest(input *Terminat
// API operation TerminateInstanceInAutoScalingGroup for usage and error information.
//
// Returned Error Codes:
// * ScalingActivityInProgress
// * ErrCodeScalingActivityInProgressFault "ScalingActivityInProgress"
// The operation can't be performed because there are scaling activities in
// progress.
//
// * ResourceContention
// * ErrCodeResourceContentionFault "ResourceContention"
// You already have a pending update to an Auto Scaling resource (for example,
// a group, instance, or load balancer).
//
@ -4105,11 +4105,11 @@ func (c *AutoScaling) UpdateAutoScalingGroupRequest(input *UpdateAutoScalingGrou
// API operation UpdateAutoScalingGroup for usage and error information.
//
// Returned Error Codes:
// * ScalingActivityInProgress
// * ErrCodeScalingActivityInProgressFault "ScalingActivityInProgress"
// The operation can't be performed because there are scaling activities in
// progress.
//
// * ResourceContention
// * ErrCodeResourceContentionFault "ResourceContention"
// You already have a pending update to an Auto Scaling resource (for example,
// a group, instance, or load balancer).
//

View File

@ -0,0 +1,47 @@
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
package autoscaling
const (
// ErrCodeAlreadyExistsFault for service response error code
// "AlreadyExists".
//
// You already have an Auto Scaling group or launch configuration with this
// name.
ErrCodeAlreadyExistsFault = "AlreadyExists"
// ErrCodeInvalidNextToken for service response error code
// "InvalidNextToken".
//
// The NextToken value is not valid.
ErrCodeInvalidNextToken = "InvalidNextToken"
// ErrCodeLimitExceededFault for service response error code
// "LimitExceeded".
//
// You have already reached a limit for your Auto Scaling resources (for example,
// groups, launch configurations, or lifecycle hooks). For more information,
// see DescribeAccountLimits.
ErrCodeLimitExceededFault = "LimitExceeded"
// ErrCodeResourceContentionFault for service response error code
// "ResourceContention".
//
// You already have a pending update to an Auto Scaling resource (for example,
// a group, instance, or load balancer).
ErrCodeResourceContentionFault = "ResourceContention"
// ErrCodeResourceInUseFault for service response error code
// "ResourceInUse".
//
// The operation can't be performed because the resource is in use.
ErrCodeResourceInUseFault = "ResourceInUse"
// ErrCodeScalingActivityInProgressFault for service response error code
// "ScalingActivityInProgress".
//
// The operation can't be performed because there are scaling activities in
// progress.
ErrCodeScalingActivityInProgressFault = "ScalingActivityInProgress"
)

View File

@ -217,14 +217,14 @@ func (c *CloudFormation) CreateChangeSetRequest(input *CreateChangeSetInput) (re
// API operation CreateChangeSet for usage and error information.
//
// Returned Error Codes:
// * AlreadyExistsException
// * ErrCodeAlreadyExistsException "AlreadyExistsException"
// Resource with the name requested already exists.
//
// * InsufficientCapabilitiesException
// * ErrCodeInsufficientCapabilitiesException "InsufficientCapabilitiesException"
// The template contains resources with capabilities that were not specified
// in the Capabilities parameter.
//
// * LimitExceededException
// * ErrCodeLimitExceededException "LimitExceededException"
// Quota for the resource has already been reached.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateChangeSet
@ -291,13 +291,13 @@ func (c *CloudFormation) CreateStackRequest(input *CreateStackInput) (req *reque
// API operation CreateStack for usage and error information.
//
// Returned Error Codes:
// * LimitExceededException
// * ErrCodeLimitExceededException "LimitExceededException"
// Quota for the resource has already been reached.
//
// * AlreadyExistsException
// * ErrCodeAlreadyExistsException "AlreadyExistsException"
// Resource with the name requested already exists.
//
// * InsufficientCapabilitiesException
// * ErrCodeInsufficientCapabilitiesException "InsufficientCapabilitiesException"
// The template contains resources with capabilities that were not specified
// in the Capabilities parameter.
//
@ -367,7 +367,7 @@ func (c *CloudFormation) DeleteChangeSetRequest(input *DeleteChangeSetInput) (re
// API operation DeleteChangeSet for usage and error information.
//
// Returned Error Codes:
// * InvalidChangeSetStatus
// * ErrCodeInvalidChangeSetStatusException "InvalidChangeSetStatus"
// The specified change set cannot 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.
@ -562,7 +562,7 @@ func (c *CloudFormation) DescribeChangeSetRequest(input *DescribeChangeSetInput)
// API operation DescribeChangeSet for usage and error information.
//
// Returned Error Codes:
// * ChangeSetNotFound
// * ErrCodeChangeSetNotFoundException "ChangeSetNotFound"
// The specified change set name or ID doesn't exit. To view valid change sets
// for a stack, use the ListChangeSets action.
//
@ -1031,16 +1031,16 @@ func (c *CloudFormation) ExecuteChangeSetRequest(input *ExecuteChangeSetInput) (
// API operation ExecuteChangeSet for usage and error information.
//
// Returned Error Codes:
// * InvalidChangeSetStatus
// * ErrCodeInvalidChangeSetStatusException "InvalidChangeSetStatus"
// The specified change set cannot 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.
//
// * ChangeSetNotFound
// * ErrCodeChangeSetNotFoundException "ChangeSetNotFound"
// The specified change set name or ID doesn't exit. To view valid change sets
// for a stack, use the ListChangeSets action.
//
// * InsufficientCapabilitiesException
// * ErrCodeInsufficientCapabilitiesException "InsufficientCapabilitiesException"
// The template contains resources with capabilities that were not specified
// in the Capabilities parameter.
//
@ -1173,7 +1173,7 @@ func (c *CloudFormation) GetTemplateRequest(input *GetTemplateInput) (req *reque
// API operation GetTemplate for usage and error information.
//
// Returned Error Codes:
// * ChangeSetNotFound
// * ErrCodeChangeSetNotFoundException "ChangeSetNotFound"
// The specified change set name or ID doesn't exit. To view valid change sets
// for a stack, use the ListChangeSets action.
//
@ -1828,7 +1828,7 @@ func (c *CloudFormation) UpdateStackRequest(input *UpdateStackInput) (req *reque
// API operation UpdateStack for usage and error information.
//
// Returned Error Codes:
// * InsufficientCapabilitiesException
// * ErrCodeInsufficientCapabilitiesException "InsufficientCapabilitiesException"
// The template contains resources with capabilities that were not specified
// in the Capabilities parameter.
//

View File

@ -0,0 +1,40 @@
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
package cloudformation
const (
// ErrCodeAlreadyExistsException for service response error code
// "AlreadyExistsException".
//
// Resource with the name requested already exists.
ErrCodeAlreadyExistsException = "AlreadyExistsException"
// ErrCodeChangeSetNotFoundException for service response error code
// "ChangeSetNotFound".
//
// The specified change set name or ID doesn't exit. To view valid change sets
// for a stack, use the ListChangeSets action.
ErrCodeChangeSetNotFoundException = "ChangeSetNotFound"
// ErrCodeInsufficientCapabilitiesException for service response error code
// "InsufficientCapabilitiesException".
//
// The template contains resources with capabilities that were not specified
// in the Capabilities parameter.
ErrCodeInsufficientCapabilitiesException = "InsufficientCapabilitiesException"
// ErrCodeInvalidChangeSetStatusException for service response error code
// "InvalidChangeSetStatus".
//
// The specified change set cannot 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"
// ErrCodeLimitExceededException for service response error code
// "LimitExceededException".
//
// Quota for the resource has already been reached.
ErrCodeLimitExceededException = "LimitExceededException"
)

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,325 @@
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
package cloudfront
const (
// ErrCodeAccessDenied for service response error code
// "AccessDenied".
//
// Access denied.
ErrCodeAccessDenied = "AccessDenied"
// ErrCodeBatchTooLarge for service response error code
// "BatchTooLarge".
ErrCodeBatchTooLarge = "BatchTooLarge"
// ErrCodeCNAMEAlreadyExists for service response error code
// "CNAMEAlreadyExists".
ErrCodeCNAMEAlreadyExists = "CNAMEAlreadyExists"
// ErrCodeDistributionAlreadyExists for service response error code
// "DistributionAlreadyExists".
//
// The caller reference you attempted to create the distribution with is associated
// with another distribution.
ErrCodeDistributionAlreadyExists = "DistributionAlreadyExists"
// ErrCodeDistributionNotDisabled for service response error code
// "DistributionNotDisabled".
ErrCodeDistributionNotDisabled = "DistributionNotDisabled"
// ErrCodeIllegalUpdate for service response error code
// "IllegalUpdate".
//
// Origin and CallerReference cannot be updated.
ErrCodeIllegalUpdate = "IllegalUpdate"
// ErrCodeInconsistentQuantities for service response error code
// "InconsistentQuantities".
//
// The value of Quantity and the size of Items do not match.
ErrCodeInconsistentQuantities = "InconsistentQuantities"
// ErrCodeInvalidArgument for service response error code
// "InvalidArgument".
//
// The argument is invalid.
ErrCodeInvalidArgument = "InvalidArgument"
// ErrCodeInvalidDefaultRootObject for service response error code
// "InvalidDefaultRootObject".
//
// The default root object file name is too big or contains an invalid character.
ErrCodeInvalidDefaultRootObject = "InvalidDefaultRootObject"
// ErrCodeInvalidErrorCode for service response error code
// "InvalidErrorCode".
ErrCodeInvalidErrorCode = "InvalidErrorCode"
// ErrCodeInvalidForwardCookies for service response error code
// "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"
// ErrCodeInvalidGeoRestrictionParameter for service response error code
// "InvalidGeoRestrictionParameter".
ErrCodeInvalidGeoRestrictionParameter = "InvalidGeoRestrictionParameter"
// ErrCodeInvalidHeadersForS3Origin for service response error code
// "InvalidHeadersForS3Origin".
ErrCodeInvalidHeadersForS3Origin = "InvalidHeadersForS3Origin"
// ErrCodeInvalidIfMatchVersion for service response error code
// "InvalidIfMatchVersion".
//
// The If-Match version is missing or not valid for the distribution.
ErrCodeInvalidIfMatchVersion = "InvalidIfMatchVersion"
// ErrCodeInvalidLambdaFunctionAssociation for service response error code
// "InvalidLambdaFunctionAssociation".
//
// The specified Lambda function association is invalid.
ErrCodeInvalidLambdaFunctionAssociation = "InvalidLambdaFunctionAssociation"
// ErrCodeInvalidLocationCode for service response error code
// "InvalidLocationCode".
ErrCodeInvalidLocationCode = "InvalidLocationCode"
// ErrCodeInvalidMinimumProtocolVersion for service response error code
// "InvalidMinimumProtocolVersion".
ErrCodeInvalidMinimumProtocolVersion = "InvalidMinimumProtocolVersion"
// ErrCodeInvalidOrigin for service response error code
// "InvalidOrigin".
//
// The Amazon S3 origin server specified does not refer to a valid Amazon S3
// bucket.
ErrCodeInvalidOrigin = "InvalidOrigin"
// ErrCodeInvalidOriginAccessIdentity for service response error code
// "InvalidOriginAccessIdentity".
//
// The origin access identity is not valid or doesn't exist.
ErrCodeInvalidOriginAccessIdentity = "InvalidOriginAccessIdentity"
// ErrCodeInvalidProtocolSettings for service response error code
// "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"
// ErrCodeInvalidQueryStringParameters for service response error code
// "InvalidQueryStringParameters".
ErrCodeInvalidQueryStringParameters = "InvalidQueryStringParameters"
// ErrCodeInvalidRelativePath for service response error code
// "InvalidRelativePath".
//
// The relative path is too big, is not URL-encoded, or does not begin with
// a slash (/).
ErrCodeInvalidRelativePath = "InvalidRelativePath"
// ErrCodeInvalidRequiredProtocol for service response error code
// "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"
// ErrCodeInvalidResponseCode for service response error code
// "InvalidResponseCode".
ErrCodeInvalidResponseCode = "InvalidResponseCode"
// ErrCodeInvalidTTLOrder for service response error code
// "InvalidTTLOrder".
ErrCodeInvalidTTLOrder = "InvalidTTLOrder"
// ErrCodeInvalidTagging for service response error code
// "InvalidTagging".
ErrCodeInvalidTagging = "InvalidTagging"
// ErrCodeInvalidViewerCertificate for service response error code
// "InvalidViewerCertificate".
ErrCodeInvalidViewerCertificate = "InvalidViewerCertificate"
// ErrCodeInvalidWebACLId for service response error code
// "InvalidWebACLId".
ErrCodeInvalidWebACLId = "InvalidWebACLId"
// ErrCodeMissingBody for service response error code
// "MissingBody".
//
// This operation requires a body. Ensure that the body is present and the Content-Type
// header is set.
ErrCodeMissingBody = "MissingBody"
// ErrCodeNoSuchCloudFrontOriginAccessIdentity for service response error code
// "NoSuchCloudFrontOriginAccessIdentity".
//
// The specified origin access identity does not exist.
ErrCodeNoSuchCloudFrontOriginAccessIdentity = "NoSuchCloudFrontOriginAccessIdentity"
// ErrCodeNoSuchDistribution for service response error code
// "NoSuchDistribution".
//
// The specified distribution does not exist.
ErrCodeNoSuchDistribution = "NoSuchDistribution"
// ErrCodeNoSuchInvalidation for service response error code
// "NoSuchInvalidation".
//
// The specified invalidation does not exist.
ErrCodeNoSuchInvalidation = "NoSuchInvalidation"
// ErrCodeNoSuchOrigin for service response error code
// "NoSuchOrigin".
//
// No origin exists with the specified Origin Id.
ErrCodeNoSuchOrigin = "NoSuchOrigin"
// ErrCodeNoSuchResource for service response error code
// "NoSuchResource".
ErrCodeNoSuchResource = "NoSuchResource"
// ErrCodeNoSuchStreamingDistribution for service response error code
// "NoSuchStreamingDistribution".
//
// The specified streaming distribution does not exist.
ErrCodeNoSuchStreamingDistribution = "NoSuchStreamingDistribution"
// ErrCodeOriginAccessIdentityAlreadyExists for service response error code
// "OriginAccessIdentityAlreadyExists".
//
// 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.
ErrCodeOriginAccessIdentityAlreadyExists = "OriginAccessIdentityAlreadyExists"
// ErrCodeOriginAccessIdentityInUse for service response error code
// "OriginAccessIdentityInUse".
ErrCodeOriginAccessIdentityInUse = "OriginAccessIdentityInUse"
// ErrCodePreconditionFailed for service response error code
// "PreconditionFailed".
//
// The precondition given in one or more of the request-header fields evaluated
// to false.
ErrCodePreconditionFailed = "PreconditionFailed"
// ErrCodeStreamingDistributionAlreadyExists for service response error code
// "StreamingDistributionAlreadyExists".
ErrCodeStreamingDistributionAlreadyExists = "StreamingDistributionAlreadyExists"
// ErrCodeStreamingDistributionNotDisabled for service response error code
// "StreamingDistributionNotDisabled".
ErrCodeStreamingDistributionNotDisabled = "StreamingDistributionNotDisabled"
// ErrCodeTooManyCacheBehaviors for service response error code
// "TooManyCacheBehaviors".
//
// You cannot create more cache behaviors for the distribution.
ErrCodeTooManyCacheBehaviors = "TooManyCacheBehaviors"
// ErrCodeTooManyCertificates for service response error code
// "TooManyCertificates".
//
// You cannot create anymore custom SSL/TLS certificates.
ErrCodeTooManyCertificates = "TooManyCertificates"
// ErrCodeTooManyCloudFrontOriginAccessIdentities for service response error code
// "TooManyCloudFrontOriginAccessIdentities".
//
// Processing your request would cause you to exceed the maximum number of origin
// access identities allowed.
ErrCodeTooManyCloudFrontOriginAccessIdentities = "TooManyCloudFrontOriginAccessIdentities"
// ErrCodeTooManyCookieNamesInWhiteList for service response error code
// "TooManyCookieNamesInWhiteList".
//
// Your request contains more cookie names in the whitelist than are allowed
// per cache behavior.
ErrCodeTooManyCookieNamesInWhiteList = "TooManyCookieNamesInWhiteList"
// ErrCodeTooManyDistributionCNAMEs for service response error code
// "TooManyDistributionCNAMEs".
//
// Your request contains more CNAMEs than are allowed per distribution.
ErrCodeTooManyDistributionCNAMEs = "TooManyDistributionCNAMEs"
// ErrCodeTooManyDistributions for service response error code
// "TooManyDistributions".
//
// Processing your request would cause you to exceed the maximum number of distributions
// allowed.
ErrCodeTooManyDistributions = "TooManyDistributions"
// ErrCodeTooManyDistributionsWithLambdaAssociations for service response error code
// "TooManyDistributionsWithLambdaAssociations".
//
// Processing your request would cause the maximum number of distributions with
// Lambda function associations per owner to be exceeded.
ErrCodeTooManyDistributionsWithLambdaAssociations = "TooManyDistributionsWithLambdaAssociations"
// ErrCodeTooManyHeadersInForwardedValues for service response error code
// "TooManyHeadersInForwardedValues".
ErrCodeTooManyHeadersInForwardedValues = "TooManyHeadersInForwardedValues"
// ErrCodeTooManyInvalidationsInProgress for service response error code
// "TooManyInvalidationsInProgress".
//
// You have exceeded the maximum number of allowable InProgress invalidation
// batch requests, or invalidation objects.
ErrCodeTooManyInvalidationsInProgress = "TooManyInvalidationsInProgress"
// ErrCodeTooManyLambdaFunctionAssociations for service response error code
// "TooManyLambdaFunctionAssociations".
//
// Your request contains more Lambda function associations than are allowed
// per distribution.
ErrCodeTooManyLambdaFunctionAssociations = "TooManyLambdaFunctionAssociations"
// ErrCodeTooManyOriginCustomHeaders for service response error code
// "TooManyOriginCustomHeaders".
ErrCodeTooManyOriginCustomHeaders = "TooManyOriginCustomHeaders"
// ErrCodeTooManyOrigins for service response error code
// "TooManyOrigins".
//
// You cannot create more origins for the distribution.
ErrCodeTooManyOrigins = "TooManyOrigins"
// ErrCodeTooManyQueryStringParameters for service response error code
// "TooManyQueryStringParameters".
ErrCodeTooManyQueryStringParameters = "TooManyQueryStringParameters"
// ErrCodeTooManyStreamingDistributionCNAMEs for service response error code
// "TooManyStreamingDistributionCNAMEs".
ErrCodeTooManyStreamingDistributionCNAMEs = "TooManyStreamingDistributionCNAMEs"
// ErrCodeTooManyStreamingDistributions for service response error code
// "TooManyStreamingDistributions".
//
// Processing your request would cause you to exceed the maximum number of streaming
// distributions allowed.
ErrCodeTooManyStreamingDistributions = "TooManyStreamingDistributions"
// ErrCodeTooManyTrustedSigners for service response error code
// "TooManyTrustedSigners".
//
// Your request contains more trusted signers than are allowed per distribution.
ErrCodeTooManyTrustedSigners = "TooManyTrustedSigners"
// ErrCodeTrustedSignerDoesNotExist for service response error code
// "TrustedSignerDoesNotExist".
//
// One or more of your trusted signers do not exist.
ErrCodeTrustedSignerDoesNotExist = "TrustedSignerDoesNotExist"
)

View File

@ -71,24 +71,24 @@ func (c *CloudTrail) AddTagsRequest(input *AddTagsInput) (req *request.Request,
// API operation AddTags for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// This exception is thrown when the specified resource is not found.
//
// * ARNInvalidException
// * ErrCodeARNInvalidException "ARNInvalidException"
// This exception is thrown when an operation is called with an invalid trail
// ARN. The format of a trail ARN is:
//
// arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail
//
// * ResourceTypeNotSupportedException
// * ErrCodeResourceTypeNotSupportedException "ResourceTypeNotSupportedException"
// This exception is thrown when the specified resource type is not supported
// by CloudTrail.
//
// * TagsLimitExceededException
// * ErrCodeTagsLimitExceededException "TagsLimitExceededException"
// The number of tags per trail has exceeded the permitted amount. Currently,
// the limit is 50.
//
// * InvalidTrailNameException
// * ErrCodeInvalidTrailNameException "InvalidTrailNameException"
// This exception is thrown when the provided trail name is not valid. Trail
// names must meet the following requirements:
//
@ -104,14 +104,14 @@ func (c *CloudTrail) AddTagsRequest(input *AddTagsInput) (req *request.Request,
//
// * Not be in IP address format (for example, 192.168.5.4)
//
// * InvalidTagParameterException
// * ErrCodeInvalidTagParameterException "InvalidTagParameterException"
// This exception is thrown when the key or value specified for the tag does
// not match the regular expression ^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$.
//
// * UnsupportedOperationException
// * ErrCodeUnsupportedOperationException "UnsupportedOperationException"
// This exception is thrown when the requested operation is not supported.
//
// * OperationNotPermittedException
// * ErrCodeOperationNotPermittedException "OperationNotPermittedException"
// This exception is thrown when the requested operation is not permitted.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/AddTags
@ -178,38 +178,38 @@ func (c *CloudTrail) CreateTrailRequest(input *CreateTrailInput) (req *request.R
// API operation CreateTrail for usage and error information.
//
// Returned Error Codes:
// * MaximumNumberOfTrailsExceededException
// * ErrCodeMaximumNumberOfTrailsExceededException "MaximumNumberOfTrailsExceededException"
// This exception is thrown when the maximum number of trails is reached.
//
// * TrailAlreadyExistsException
// * ErrCodeTrailAlreadyExistsException "TrailAlreadyExistsException"
// This exception is thrown when the specified trail already exists.
//
// * S3BucketDoesNotExistException
// * ErrCodeS3BucketDoesNotExistException "S3BucketDoesNotExistException"
// This exception is thrown when the specified S3 bucket does not exist.
//
// * InsufficientS3BucketPolicyException
// * ErrCodeInsufficientS3BucketPolicyException "InsufficientS3BucketPolicyException"
// This exception is thrown when the policy on the S3 bucket is not sufficient.
//
// * InsufficientSnsTopicPolicyException
// * ErrCodeInsufficientSnsTopicPolicyException "InsufficientSnsTopicPolicyException"
// This exception is thrown when the policy on the SNS topic is not sufficient.
//
// * InsufficientEncryptionPolicyException
// * ErrCodeInsufficientEncryptionPolicyException "InsufficientEncryptionPolicyException"
// This exception is thrown when the policy on the S3 bucket or KMS key is not
// sufficient.
//
// * InvalidS3BucketNameException
// * ErrCodeInvalidS3BucketNameException "InvalidS3BucketNameException"
// This exception is thrown when the provided S3 bucket name is not valid.
//
// * InvalidS3PrefixException
// * ErrCodeInvalidS3PrefixException "InvalidS3PrefixException"
// This exception is thrown when the provided S3 prefix is not valid.
//
// * InvalidSnsTopicNameException
// * ErrCodeInvalidSnsTopicNameException "InvalidSnsTopicNameException"
// This exception is thrown when the provided SNS topic name is not valid.
//
// * InvalidKmsKeyIdException
// * ErrCodeInvalidKmsKeyIdException "InvalidKmsKeyIdException"
// This exception is thrown when the KMS key ARN is invalid.
//
// * InvalidTrailNameException
// * ErrCodeInvalidTrailNameException "InvalidTrailNameException"
// This exception is thrown when the provided trail name is not valid. Trail
// names must meet the following requirements:
//
@ -225,37 +225,37 @@ func (c *CloudTrail) CreateTrailRequest(input *CreateTrailInput) (req *request.R
//
// * Not be in IP address format (for example, 192.168.5.4)
//
// * TrailNotProvidedException
// * ErrCodeTrailNotProvidedException "TrailNotProvidedException"
// This exception is deprecated.
//
// * InvalidParameterCombinationException
// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombinationException"
// This exception is thrown when the combination of parameters provided is not
// valid.
//
// * KmsKeyNotFoundException
// * ErrCodeKmsKeyNotFoundException "KmsKeyNotFoundException"
// This exception is thrown when the KMS key does not exist, or when the S3
// bucket and the KMS key are not in the same region.
//
// * KmsKeyDisabledException
// * ErrCodeKmsKeyDisabledException "KmsKeyDisabledException"
// This exception is deprecated.
//
// * KmsException
// * ErrCodeKmsException "KmsException"
// This exception is thrown when there is an issue with the specified KMS key
// and the trail cant be updated.
//
// * InvalidCloudWatchLogsLogGroupArnException
// * ErrCodeInvalidCloudWatchLogsLogGroupArnException "InvalidCloudWatchLogsLogGroupArnException"
// This exception is thrown when the provided CloudWatch log group is not valid.
//
// * InvalidCloudWatchLogsRoleArnException
// * ErrCodeInvalidCloudWatchLogsRoleArnException "InvalidCloudWatchLogsRoleArnException"
// This exception is thrown when the provided role is not valid.
//
// * CloudWatchLogsDeliveryUnavailableException
// * ErrCodeCloudWatchLogsDeliveryUnavailableException "CloudWatchLogsDeliveryUnavailableException"
// Cannot set a CloudWatch Logs delivery for this region.
//
// * UnsupportedOperationException
// * ErrCodeUnsupportedOperationException "UnsupportedOperationException"
// This exception is thrown when the requested operation is not supported.
//
// * OperationNotPermittedException
// * ErrCodeOperationNotPermittedException "OperationNotPermittedException"
// This exception is thrown when the requested operation is not permitted.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/CreateTrail
@ -322,10 +322,10 @@ func (c *CloudTrail) DeleteTrailRequest(input *DeleteTrailInput) (req *request.R
// API operation DeleteTrail for usage and error information.
//
// Returned Error Codes:
// * TrailNotFoundException
// * ErrCodeTrailNotFoundException "TrailNotFoundException"
// This exception is thrown when the trail with the given name is not found.
//
// * InvalidTrailNameException
// * ErrCodeInvalidTrailNameException "InvalidTrailNameException"
// This exception is thrown when the provided trail name is not valid. Trail
// names must meet the following requirements:
//
@ -341,7 +341,7 @@ func (c *CloudTrail) DeleteTrailRequest(input *DeleteTrailInput) (req *request.R
//
// * Not be in IP address format (for example, 192.168.5.4)
//
// * InvalidHomeRegionException
// * ErrCodeInvalidHomeRegionException "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.
//
@ -408,10 +408,10 @@ func (c *CloudTrail) DescribeTrailsRequest(input *DescribeTrailsInput) (req *req
// API operation DescribeTrails for usage and error information.
//
// Returned Error Codes:
// * UnsupportedOperationException
// * ErrCodeUnsupportedOperationException "UnsupportedOperationException"
// This exception is thrown when the requested operation is not supported.
//
// * OperationNotPermittedException
// * ErrCodeOperationNotPermittedException "OperationNotPermittedException"
// This exception is thrown when the requested operation is not permitted.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DescribeTrails
@ -487,10 +487,10 @@ func (c *CloudTrail) GetEventSelectorsRequest(input *GetEventSelectorsInput) (re
// API operation GetEventSelectors for usage and error information.
//
// Returned Error Codes:
// * TrailNotFoundException
// * ErrCodeTrailNotFoundException "TrailNotFoundException"
// This exception is thrown when the trail with the given name is not found.
//
// * InvalidTrailNameException
// * ErrCodeInvalidTrailNameException "InvalidTrailNameException"
// This exception is thrown when the provided trail name is not valid. Trail
// names must meet the following requirements:
//
@ -506,10 +506,10 @@ func (c *CloudTrail) GetEventSelectorsRequest(input *GetEventSelectorsInput) (re
//
// * Not be in IP address format (for example, 192.168.5.4)
//
// * UnsupportedOperationException
// * ErrCodeUnsupportedOperationException "UnsupportedOperationException"
// This exception is thrown when the requested operation is not supported.
//
// * OperationNotPermittedException
// * ErrCodeOperationNotPermittedException "OperationNotPermittedException"
// This exception is thrown when the requested operation is not permitted.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetEventSelectors
@ -578,10 +578,10 @@ func (c *CloudTrail) GetTrailStatusRequest(input *GetTrailStatusInput) (req *req
// API operation GetTrailStatus for usage and error information.
//
// Returned Error Codes:
// * TrailNotFoundException
// * ErrCodeTrailNotFoundException "TrailNotFoundException"
// This exception is thrown when the trail with the given name is not found.
//
// * InvalidTrailNameException
// * ErrCodeInvalidTrailNameException "InvalidTrailNameException"
// This exception is thrown when the provided trail name is not valid. Trail
// names must meet the following requirements:
//
@ -666,17 +666,17 @@ func (c *CloudTrail) ListPublicKeysRequest(input *ListPublicKeysInput) (req *req
// API operation ListPublicKeys for usage and error information.
//
// Returned Error Codes:
// * InvalidTimeRangeException
// * ErrCodeInvalidTimeRangeException "InvalidTimeRangeException"
// Occurs if the timestamp values are invalid. Either the start time occurs
// after the end time or the time range is outside the range of possible values.
//
// * UnsupportedOperationException
// * ErrCodeUnsupportedOperationException "UnsupportedOperationException"
// This exception is thrown when the requested operation is not supported.
//
// * OperationNotPermittedException
// * ErrCodeOperationNotPermittedException "OperationNotPermittedException"
// This exception is thrown when the requested operation is not permitted.
//
// * InvalidTokenException
// * ErrCodeInvalidTokenException "InvalidTokenException"
// Reserved for future use.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListPublicKeys
@ -741,20 +741,20 @@ func (c *CloudTrail) ListTagsRequest(input *ListTagsInput) (req *request.Request
// API operation ListTags for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// This exception is thrown when the specified resource is not found.
//
// * ARNInvalidException
// * ErrCodeARNInvalidException "ARNInvalidException"
// This exception is thrown when an operation is called with an invalid trail
// ARN. The format of a trail ARN is:
//
// arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail
//
// * ResourceTypeNotSupportedException
// * ErrCodeResourceTypeNotSupportedException "ResourceTypeNotSupportedException"
// This exception is thrown when the specified resource type is not supported
// by CloudTrail.
//
// * InvalidTrailNameException
// * ErrCodeInvalidTrailNameException "InvalidTrailNameException"
// This exception is thrown when the provided trail name is not valid. Trail
// names must meet the following requirements:
//
@ -770,13 +770,13 @@ func (c *CloudTrail) ListTagsRequest(input *ListTagsInput) (req *request.Request
//
// * Not be in IP address format (for example, 192.168.5.4)
//
// * UnsupportedOperationException
// * ErrCodeUnsupportedOperationException "UnsupportedOperationException"
// This exception is thrown when the requested operation is not supported.
//
// * OperationNotPermittedException
// * ErrCodeOperationNotPermittedException "OperationNotPermittedException"
// This exception is thrown when the requested operation is not permitted.
//
// * InvalidTokenException
// * ErrCodeInvalidTokenException "InvalidTokenException"
// Reserved for future use.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListTags
@ -870,17 +870,17 @@ func (c *CloudTrail) LookupEventsRequest(input *LookupEventsInput) (req *request
// API operation LookupEvents for usage and error information.
//
// Returned Error Codes:
// * InvalidLookupAttributesException
// * ErrCodeInvalidLookupAttributesException "InvalidLookupAttributesException"
// Occurs when an invalid lookup attribute is specified.
//
// * InvalidTimeRangeException
// * ErrCodeInvalidTimeRangeException "InvalidTimeRangeException"
// Occurs if the timestamp values are invalid. Either the start time occurs
// after the end time or the time range is outside the range of possible values.
//
// * InvalidMaxResultsException
// * ErrCodeInvalidMaxResultsException "InvalidMaxResultsException"
// This exception is thrown if the limit specified is invalid.
//
// * InvalidNextTokenException
// * ErrCodeInvalidNextTokenException "InvalidNextTokenException"
// Invalid token or token that was previously used in a request with different
// parameters. This exception is thrown if the token is invalid.
//
@ -998,10 +998,10 @@ func (c *CloudTrail) PutEventSelectorsRequest(input *PutEventSelectorsInput) (re
// API operation PutEventSelectors for usage and error information.
//
// Returned Error Codes:
// * TrailNotFoundException
// * ErrCodeTrailNotFoundException "TrailNotFoundException"
// This exception is thrown when the trail with the given name is not found.
//
// * InvalidTrailNameException
// * ErrCodeInvalidTrailNameException "InvalidTrailNameException"
// This exception is thrown when the provided trail name is not valid. Trail
// names must meet the following requirements:
//
@ -1017,11 +1017,11 @@ func (c *CloudTrail) PutEventSelectorsRequest(input *PutEventSelectorsInput) (re
//
// * Not be in IP address format (for example, 192.168.5.4)
//
// * InvalidHomeRegionException
// * ErrCodeInvalidHomeRegionException "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
// * ErrCodeInvalidEventSelectorsException "InvalidEventSelectorsException"
// This exception is thrown when the PutEventSelectors operation is called with
// an invalid number of event selectors, data resources, or an invalid value
// for a parameter:
@ -1033,10 +1033,10 @@ func (c *CloudTrail) PutEventSelectorsRequest(input *PutEventSelectorsInput) (re
// * Specify a valid value for a parameter. For example, specifying the ReadWriteType
// parameter with a value of read-only is invalid.
//
// * UnsupportedOperationException
// * ErrCodeUnsupportedOperationException "UnsupportedOperationException"
// This exception is thrown when the requested operation is not supported.
//
// * OperationNotPermittedException
// * ErrCodeOperationNotPermittedException "OperationNotPermittedException"
// This exception is thrown when the requested operation is not permitted.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/PutEventSelectors
@ -1101,20 +1101,20 @@ func (c *CloudTrail) RemoveTagsRequest(input *RemoveTagsInput) (req *request.Req
// API operation RemoveTags for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// This exception is thrown when the specified resource is not found.
//
// * ARNInvalidException
// * ErrCodeARNInvalidException "ARNInvalidException"
// This exception is thrown when an operation is called with an invalid trail
// ARN. The format of a trail ARN is:
//
// arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail
//
// * ResourceTypeNotSupportedException
// * ErrCodeResourceTypeNotSupportedException "ResourceTypeNotSupportedException"
// This exception is thrown when the specified resource type is not supported
// by CloudTrail.
//
// * InvalidTrailNameException
// * ErrCodeInvalidTrailNameException "InvalidTrailNameException"
// This exception is thrown when the provided trail name is not valid. Trail
// names must meet the following requirements:
//
@ -1130,14 +1130,14 @@ func (c *CloudTrail) RemoveTagsRequest(input *RemoveTagsInput) (req *request.Req
//
// * Not be in IP address format (for example, 192.168.5.4)
//
// * InvalidTagParameterException
// * ErrCodeInvalidTagParameterException "InvalidTagParameterException"
// This exception is thrown when the key or value specified for the tag does
// not match the regular expression ^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$.
//
// * UnsupportedOperationException
// * ErrCodeUnsupportedOperationException "UnsupportedOperationException"
// This exception is thrown when the requested operation is not supported.
//
// * OperationNotPermittedException
// * ErrCodeOperationNotPermittedException "OperationNotPermittedException"
// This exception is thrown when the requested operation is not permitted.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/RemoveTags
@ -1206,10 +1206,10 @@ func (c *CloudTrail) StartLoggingRequest(input *StartLoggingInput) (req *request
// API operation StartLogging for usage and error information.
//
// Returned Error Codes:
// * TrailNotFoundException
// * ErrCodeTrailNotFoundException "TrailNotFoundException"
// This exception is thrown when the trail with the given name is not found.
//
// * InvalidTrailNameException
// * ErrCodeInvalidTrailNameException "InvalidTrailNameException"
// This exception is thrown when the provided trail name is not valid. Trail
// names must meet the following requirements:
//
@ -1225,7 +1225,7 @@ func (c *CloudTrail) StartLoggingRequest(input *StartLoggingInput) (req *request
//
// * Not be in IP address format (for example, 192.168.5.4)
//
// * InvalidHomeRegionException
// * ErrCodeInvalidHomeRegionException "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.
//
@ -1297,10 +1297,10 @@ func (c *CloudTrail) StopLoggingRequest(input *StopLoggingInput) (req *request.R
// API operation StopLogging for usage and error information.
//
// Returned Error Codes:
// * TrailNotFoundException
// * ErrCodeTrailNotFoundException "TrailNotFoundException"
// This exception is thrown when the trail with the given name is not found.
//
// * InvalidTrailNameException
// * ErrCodeInvalidTrailNameException "InvalidTrailNameException"
// This exception is thrown when the provided trail name is not valid. Trail
// names must meet the following requirements:
//
@ -1316,7 +1316,7 @@ func (c *CloudTrail) StopLoggingRequest(input *StopLoggingInput) (req *request.R
//
// * Not be in IP address format (for example, 192.168.5.4)
//
// * InvalidHomeRegionException
// * ErrCodeInvalidHomeRegionException "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.
//
@ -1387,35 +1387,35 @@ func (c *CloudTrail) UpdateTrailRequest(input *UpdateTrailInput) (req *request.R
// API operation UpdateTrail for usage and error information.
//
// Returned Error Codes:
// * S3BucketDoesNotExistException
// * ErrCodeS3BucketDoesNotExistException "S3BucketDoesNotExistException"
// This exception is thrown when the specified S3 bucket does not exist.
//
// * InsufficientS3BucketPolicyException
// * ErrCodeInsufficientS3BucketPolicyException "InsufficientS3BucketPolicyException"
// This exception is thrown when the policy on the S3 bucket is not sufficient.
//
// * InsufficientSnsTopicPolicyException
// * ErrCodeInsufficientSnsTopicPolicyException "InsufficientSnsTopicPolicyException"
// This exception is thrown when the policy on the SNS topic is not sufficient.
//
// * InsufficientEncryptionPolicyException
// * ErrCodeInsufficientEncryptionPolicyException "InsufficientEncryptionPolicyException"
// This exception is thrown when the policy on the S3 bucket or KMS key is not
// sufficient.
//
// * TrailNotFoundException
// * ErrCodeTrailNotFoundException "TrailNotFoundException"
// This exception is thrown when the trail with the given name is not found.
//
// * InvalidS3BucketNameException
// * ErrCodeInvalidS3BucketNameException "InvalidS3BucketNameException"
// This exception is thrown when the provided S3 bucket name is not valid.
//
// * InvalidS3PrefixException
// * ErrCodeInvalidS3PrefixException "InvalidS3PrefixException"
// This exception is thrown when the provided S3 prefix is not valid.
//
// * InvalidSnsTopicNameException
// * ErrCodeInvalidSnsTopicNameException "InvalidSnsTopicNameException"
// This exception is thrown when the provided SNS topic name is not valid.
//
// * InvalidKmsKeyIdException
// * ErrCodeInvalidKmsKeyIdException "InvalidKmsKeyIdException"
// This exception is thrown when the KMS key ARN is invalid.
//
// * InvalidTrailNameException
// * ErrCodeInvalidTrailNameException "InvalidTrailNameException"
// This exception is thrown when the provided trail name is not valid. Trail
// names must meet the following requirements:
//
@ -1431,41 +1431,41 @@ func (c *CloudTrail) UpdateTrailRequest(input *UpdateTrailInput) (req *request.R
//
// * Not be in IP address format (for example, 192.168.5.4)
//
// * TrailNotProvidedException
// * ErrCodeTrailNotProvidedException "TrailNotProvidedException"
// This exception is deprecated.
//
// * InvalidParameterCombinationException
// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombinationException"
// This exception is thrown when the combination of parameters provided is not
// valid.
//
// * InvalidHomeRegionException
// * ErrCodeInvalidHomeRegionException "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
// * ErrCodeKmsKeyNotFoundException "KmsKeyNotFoundException"
// This exception is thrown when the KMS key does not exist, or when the S3
// bucket and the KMS key are not in the same region.
//
// * KmsKeyDisabledException
// * ErrCodeKmsKeyDisabledException "KmsKeyDisabledException"
// This exception is deprecated.
//
// * KmsException
// * ErrCodeKmsException "KmsException"
// This exception is thrown when there is an issue with the specified KMS key
// and the trail cant be updated.
//
// * InvalidCloudWatchLogsLogGroupArnException
// * ErrCodeInvalidCloudWatchLogsLogGroupArnException "InvalidCloudWatchLogsLogGroupArnException"
// This exception is thrown when the provided CloudWatch log group is not valid.
//
// * InvalidCloudWatchLogsRoleArnException
// * ErrCodeInvalidCloudWatchLogsRoleArnException "InvalidCloudWatchLogsRoleArnException"
// This exception is thrown when the provided role is not valid.
//
// * CloudWatchLogsDeliveryUnavailableException
// * ErrCodeCloudWatchLogsDeliveryUnavailableException "CloudWatchLogsDeliveryUnavailableException"
// Cannot set a CloudWatch Logs delivery for this region.
//
// * UnsupportedOperationException
// * ErrCodeUnsupportedOperationException "UnsupportedOperationException"
// This exception is thrown when the requested operation is not supported.
//
// * OperationNotPermittedException
// * ErrCodeOperationNotPermittedException "OperationNotPermittedException"
// This exception is thrown when the requested operation is not permitted.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/UpdateTrail

View File

@ -0,0 +1,245 @@
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
package cloudtrail
const (
// ErrCodeARNInvalidException for service response error code
// "ARNInvalidException".
//
// This exception is thrown when an operation is called with an invalid trail
// ARN. The format of a trail ARN is:
//
// arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail
ErrCodeARNInvalidException = "ARNInvalidException"
// ErrCodeCloudWatchLogsDeliveryUnavailableException for service response error code
// "CloudWatchLogsDeliveryUnavailableException".
//
// Cannot set a CloudWatch Logs delivery for this region.
ErrCodeCloudWatchLogsDeliveryUnavailableException = "CloudWatchLogsDeliveryUnavailableException"
// ErrCodeInsufficientEncryptionPolicyException for service response error code
// "InsufficientEncryptionPolicyException".
//
// This exception is thrown when the policy on the S3 bucket or KMS key is not
// sufficient.
ErrCodeInsufficientEncryptionPolicyException = "InsufficientEncryptionPolicyException"
// ErrCodeInsufficientS3BucketPolicyException for service response error code
// "InsufficientS3BucketPolicyException".
//
// This exception is thrown when the policy on the S3 bucket is not sufficient.
ErrCodeInsufficientS3BucketPolicyException = "InsufficientS3BucketPolicyException"
// ErrCodeInsufficientSnsTopicPolicyException for service response error code
// "InsufficientSnsTopicPolicyException".
//
// This exception is thrown when the policy on the SNS topic is not sufficient.
ErrCodeInsufficientSnsTopicPolicyException = "InsufficientSnsTopicPolicyException"
// ErrCodeInvalidCloudWatchLogsLogGroupArnException for service response error code
// "InvalidCloudWatchLogsLogGroupArnException".
//
// This exception is thrown when the provided CloudWatch log group is not valid.
ErrCodeInvalidCloudWatchLogsLogGroupArnException = "InvalidCloudWatchLogsLogGroupArnException"
// ErrCodeInvalidCloudWatchLogsRoleArnException for service response error code
// "InvalidCloudWatchLogsRoleArnException".
//
// This exception is thrown when the provided role is not valid.
ErrCodeInvalidCloudWatchLogsRoleArnException = "InvalidCloudWatchLogsRoleArnException"
// ErrCodeInvalidEventSelectorsException for service response error code
// "InvalidEventSelectorsException".
//
// This exception is thrown when the PutEventSelectors operation is called with
// an invalid number of event selectors, data resources, or an invalid value
// for a parameter:
//
// * Specify a valid number of event selectors (1 to 5) for a trail.
//
// * Specify a valid number of data resources (1 to 50) for an event selector.
//
// * Specify a valid value for a parameter. For example, specifying the ReadWriteType
// parameter with a value of read-only is invalid.
ErrCodeInvalidEventSelectorsException = "InvalidEventSelectorsException"
// ErrCodeInvalidHomeRegionException for service response error code
// "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.
ErrCodeInvalidHomeRegionException = "InvalidHomeRegionException"
// ErrCodeInvalidKmsKeyIdException for service response error code
// "InvalidKmsKeyIdException".
//
// This exception is thrown when the KMS key ARN is invalid.
ErrCodeInvalidKmsKeyIdException = "InvalidKmsKeyIdException"
// ErrCodeInvalidLookupAttributesException for service response error code
// "InvalidLookupAttributesException".
//
// Occurs when an invalid lookup attribute is specified.
ErrCodeInvalidLookupAttributesException = "InvalidLookupAttributesException"
// ErrCodeInvalidMaxResultsException for service response error code
// "InvalidMaxResultsException".
//
// This exception is thrown if the limit specified is invalid.
ErrCodeInvalidMaxResultsException = "InvalidMaxResultsException"
// ErrCodeInvalidNextTokenException for service response error code
// "InvalidNextTokenException".
//
// Invalid token or token that was previously used in a request with different
// parameters. This exception is thrown if the token is invalid.
ErrCodeInvalidNextTokenException = "InvalidNextTokenException"
// ErrCodeInvalidParameterCombinationException for service response error code
// "InvalidParameterCombinationException".
//
// This exception is thrown when the combination of parameters provided is not
// valid.
ErrCodeInvalidParameterCombinationException = "InvalidParameterCombinationException"
// ErrCodeInvalidS3BucketNameException for service response error code
// "InvalidS3BucketNameException".
//
// This exception is thrown when the provided S3 bucket name is not valid.
ErrCodeInvalidS3BucketNameException = "InvalidS3BucketNameException"
// ErrCodeInvalidS3PrefixException for service response error code
// "InvalidS3PrefixException".
//
// This exception is thrown when the provided S3 prefix is not valid.
ErrCodeInvalidS3PrefixException = "InvalidS3PrefixException"
// ErrCodeInvalidSnsTopicNameException for service response error code
// "InvalidSnsTopicNameException".
//
// This exception is thrown when the provided SNS topic name is not valid.
ErrCodeInvalidSnsTopicNameException = "InvalidSnsTopicNameException"
// ErrCodeInvalidTagParameterException for service response error code
// "InvalidTagParameterException".
//
// This exception is thrown when the key or value specified for the tag does
// not match the regular expression ^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$.
ErrCodeInvalidTagParameterException = "InvalidTagParameterException"
// ErrCodeInvalidTimeRangeException for service response error code
// "InvalidTimeRangeException".
//
// Occurs if the timestamp values are invalid. Either the start time occurs
// after the end time or the time range is outside the range of possible values.
ErrCodeInvalidTimeRangeException = "InvalidTimeRangeException"
// ErrCodeInvalidTokenException for service response error code
// "InvalidTokenException".
//
// Reserved for future use.
ErrCodeInvalidTokenException = "InvalidTokenException"
// ErrCodeInvalidTrailNameException for service response error code
// "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 (-)
//
// * Start with a letter or number, and end with a letter or number
//
// * Be between 3 and 128 characters
//
// * Have no adjacent periods, underscores or dashes. Names like my-_namespace
// and my--namespace are invalid.
//
// * Not be in IP address format (for example, 192.168.5.4)
ErrCodeInvalidTrailNameException = "InvalidTrailNameException"
// ErrCodeKmsException for service response error code
// "KmsException".
//
// This exception is thrown when there is an issue with the specified KMS key
// and the trail cant be updated.
ErrCodeKmsException = "KmsException"
// ErrCodeKmsKeyDisabledException for service response error code
// "KmsKeyDisabledException".
//
// This exception is deprecated.
ErrCodeKmsKeyDisabledException = "KmsKeyDisabledException"
// ErrCodeKmsKeyNotFoundException for service response error code
// "KmsKeyNotFoundException".
//
// This exception is thrown when the KMS key does not exist, or when the S3
// bucket and the KMS key are not in the same region.
ErrCodeKmsKeyNotFoundException = "KmsKeyNotFoundException"
// ErrCodeMaximumNumberOfTrailsExceededException for service response error code
// "MaximumNumberOfTrailsExceededException".
//
// This exception is thrown when the maximum number of trails is reached.
ErrCodeMaximumNumberOfTrailsExceededException = "MaximumNumberOfTrailsExceededException"
// ErrCodeOperationNotPermittedException for service response error code
// "OperationNotPermittedException".
//
// This exception is thrown when the requested operation is not permitted.
ErrCodeOperationNotPermittedException = "OperationNotPermittedException"
// ErrCodeResourceNotFoundException for service response error code
// "ResourceNotFoundException".
//
// This exception is thrown when the specified resource is not found.
ErrCodeResourceNotFoundException = "ResourceNotFoundException"
// ErrCodeResourceTypeNotSupportedException for service response error code
// "ResourceTypeNotSupportedException".
//
// This exception is thrown when the specified resource type is not supported
// by CloudTrail.
ErrCodeResourceTypeNotSupportedException = "ResourceTypeNotSupportedException"
// ErrCodeS3BucketDoesNotExistException for service response error code
// "S3BucketDoesNotExistException".
//
// This exception is thrown when the specified S3 bucket does not exist.
ErrCodeS3BucketDoesNotExistException = "S3BucketDoesNotExistException"
// ErrCodeTagsLimitExceededException for service response error code
// "TagsLimitExceededException".
//
// The number of tags per trail has exceeded the permitted amount. Currently,
// the limit is 50.
ErrCodeTagsLimitExceededException = "TagsLimitExceededException"
// ErrCodeTrailAlreadyExistsException for service response error code
// "TrailAlreadyExistsException".
//
// This exception is thrown when the specified trail already exists.
ErrCodeTrailAlreadyExistsException = "TrailAlreadyExistsException"
// ErrCodeTrailNotFoundException for service response error code
// "TrailNotFoundException".
//
// This exception is thrown when the trail with the given name is not found.
ErrCodeTrailNotFoundException = "TrailNotFoundException"
// ErrCodeTrailNotProvidedException for service response error code
// "TrailNotProvidedException".
//
// This exception is deprecated.
ErrCodeTrailNotProvidedException = "TrailNotProvidedException"
// ErrCodeUnsupportedOperationException for service response error code
// "UnsupportedOperationException".
//
// This exception is thrown when the requested operation is not supported.
ErrCodeUnsupportedOperationException = "UnsupportedOperationException"
)

View File

@ -70,7 +70,7 @@ func (c *CloudWatch) DeleteAlarmsRequest(input *DeleteAlarmsInput) (req *request
// API operation DeleteAlarms for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFound
// * ErrCodeResourceNotFound "ResourceNotFound"
// The named resource does not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DeleteAlarms
@ -146,7 +146,7 @@ func (c *CloudWatch) DescribeAlarmHistoryRequest(input *DescribeAlarmHistoryInpu
// API operation DescribeAlarmHistory for usage and error information.
//
// Returned Error Codes:
// * InvalidNextToken
// * ErrCodeInvalidNextToken "InvalidNextToken"
// The next token specified is invalid.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DescribeAlarmHistory
@ -244,7 +244,7 @@ func (c *CloudWatch) DescribeAlarmsRequest(input *DescribeAlarmsInput) (req *req
// API operation DescribeAlarms for usage and error information.
//
// Returned Error Codes:
// * InvalidNextToken
// * ErrCodeInvalidNextToken "InvalidNextToken"
// The next token specified is invalid.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DescribeAlarms
@ -551,16 +551,16 @@ func (c *CloudWatch) GetMetricStatisticsRequest(input *GetMetricStatisticsInput)
// API operation GetMetricStatistics for usage and error information.
//
// Returned Error Codes:
// * InvalidParameterValue
// * ErrCodeInvalidParameterValueException "InvalidParameterValue"
// The value of an input parameter is bad or out-of-range.
//
// * MissingParameter
// * ErrCodeMissingRequiredParameterException "MissingParameter"
// An input parameter that is required is missing.
//
// * InvalidParameterCombination
// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination"
// Parameters that cannot be used together were used together.
//
// * InternalServiceError
// * ErrCodeInternalServiceFault "InternalServiceError"
// Request processing has failed due to some unknown error, exception, or failure.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/GetMetricStatistics
@ -639,10 +639,10 @@ func (c *CloudWatch) ListMetricsRequest(input *ListMetricsInput) (req *request.R
// API operation ListMetrics for usage and error information.
//
// Returned Error Codes:
// * InternalServiceError
// * ErrCodeInternalServiceFault "InternalServiceError"
// Request processing has failed due to some unknown error, exception, or failure.
//
// * InvalidParameterValue
// * ErrCodeInvalidParameterValueException "InvalidParameterValue"
// The value of an input parameter is bad or out-of-range.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/ListMetrics
@ -775,7 +775,7 @@ func (c *CloudWatch) PutMetricAlarmRequest(input *PutMetricAlarmInput) (req *req
// API operation PutMetricAlarm for usage and error information.
//
// Returned Error Codes:
// * LimitExceeded
// * ErrCodeLimitExceededFault "LimitExceeded"
// The quota for alarms for this customer has already been reached.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutMetricAlarm
@ -859,16 +859,16 @@ func (c *CloudWatch) PutMetricDataRequest(input *PutMetricDataInput) (req *reque
// API operation PutMetricData for usage and error information.
//
// Returned Error Codes:
// * InvalidParameterValue
// * ErrCodeInvalidParameterValueException "InvalidParameterValue"
// The value of an input parameter is bad or out-of-range.
//
// * MissingParameter
// * ErrCodeMissingRequiredParameterException "MissingParameter"
// An input parameter that is required is missing.
//
// * InvalidParameterCombination
// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination"
// Parameters that cannot be used together were used together.
//
// * InternalServiceError
// * ErrCodeInternalServiceFault "InternalServiceError"
// Request processing has failed due to some unknown error, exception, or failure.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutMetricData
@ -942,10 +942,10 @@ func (c *CloudWatch) SetAlarmStateRequest(input *SetAlarmStateInput) (req *reque
// API operation SetAlarmState for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFound
// * ErrCodeResourceNotFound "ResourceNotFound"
// The named resource does not exist.
//
// * InvalidFormat
// * ErrCodeInvalidFormatFault "InvalidFormat"
// Data was not syntactically valid JSON.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/SetAlarmState

View File

@ -0,0 +1,54 @@
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
package cloudwatch
const (
// ErrCodeInternalServiceFault for service response error code
// "InternalServiceError".
//
// Request processing has failed due to some unknown error, exception, or failure.
ErrCodeInternalServiceFault = "InternalServiceError"
// ErrCodeInvalidFormatFault for service response error code
// "InvalidFormat".
//
// Data was not syntactically valid JSON.
ErrCodeInvalidFormatFault = "InvalidFormat"
// ErrCodeInvalidNextToken for service response error code
// "InvalidNextToken".
//
// The next token specified is invalid.
ErrCodeInvalidNextToken = "InvalidNextToken"
// ErrCodeInvalidParameterCombinationException for service response error code
// "InvalidParameterCombination".
//
// Parameters that cannot be used together were used together.
ErrCodeInvalidParameterCombinationException = "InvalidParameterCombination"
// ErrCodeInvalidParameterValueException for service response error code
// "InvalidParameterValue".
//
// The value of an input parameter is bad or out-of-range.
ErrCodeInvalidParameterValueException = "InvalidParameterValue"
// ErrCodeLimitExceededFault for service response error code
// "LimitExceeded".
//
// The quota for alarms for this customer has already been reached.
ErrCodeLimitExceededFault = "LimitExceeded"
// ErrCodeMissingRequiredParameterException for service response error code
// "MissingParameter".
//
// An input parameter that is required is missing.
ErrCodeMissingRequiredParameterException = "MissingParameter"
// ErrCodeResourceNotFound for service response error code
// "ResourceNotFound".
//
// The named resource does not exist.
ErrCodeResourceNotFound = "ResourceNotFound"
)

View File

@ -75,10 +75,10 @@ func (c *CloudWatchEvents) DeleteRuleRequest(input *DeleteRuleInput) (req *reque
// API operation DeleteRule for usage and error information.
//
// Returned Error Codes:
// * ConcurrentModificationException
// * ErrCodeConcurrentModificationException "ConcurrentModificationException"
// This exception occurs if there is concurrent modification on rule or target.
//
// * InternalException
// * ErrCodeInternalException "InternalException"
// This exception occurs due to unexpected causes.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DeleteRule
@ -143,10 +143,10 @@ func (c *CloudWatchEvents) DescribeRuleRequest(input *DescribeRuleInput) (req *r
// API operation DescribeRule for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The rule does not exist.
//
// * InternalException
// * ErrCodeInternalException "InternalException"
// This exception occurs due to unexpected causes.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DescribeRule
@ -218,13 +218,13 @@ func (c *CloudWatchEvents) DisableRuleRequest(input *DisableRuleInput) (req *req
// API operation DisableRule for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The rule does not exist.
//
// * ConcurrentModificationException
// * ErrCodeConcurrentModificationException "ConcurrentModificationException"
// This exception occurs if there is concurrent modification on rule or target.
//
// * InternalException
// * ErrCodeInternalException "InternalException"
// This exception occurs due to unexpected causes.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DisableRule
@ -295,13 +295,13 @@ func (c *CloudWatchEvents) EnableRuleRequest(input *EnableRuleInput) (req *reque
// API operation EnableRule for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The rule does not exist.
//
// * ConcurrentModificationException
// * ErrCodeConcurrentModificationException "ConcurrentModificationException"
// This exception occurs if there is concurrent modification on rule or target.
//
// * InternalException
// * ErrCodeInternalException "InternalException"
// This exception occurs due to unexpected causes.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/EnableRule
@ -371,7 +371,7 @@ func (c *CloudWatchEvents) ListRuleNamesByTargetRequest(input *ListRuleNamesByTa
// API operation ListRuleNamesByTarget for usage and error information.
//
// Returned Error Codes:
// * InternalException
// * ErrCodeInternalException "InternalException"
// This exception occurs due to unexpected causes.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListRuleNamesByTarget
@ -440,7 +440,7 @@ func (c *CloudWatchEvents) ListRulesRequest(input *ListRulesInput) (req *request
// API operation ListRules for usage and error information.
//
// Returned Error Codes:
// * InternalException
// * ErrCodeInternalException "InternalException"
// This exception occurs due to unexpected causes.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListRules
@ -505,10 +505,10 @@ func (c *CloudWatchEvents) ListTargetsByRuleRequest(input *ListTargetsByRuleInpu
// API operation ListTargetsByRule for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The rule does not exist.
//
// * InternalException
// * ErrCodeInternalException "InternalException"
// This exception occurs due to unexpected causes.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListTargetsByRule
@ -574,7 +574,7 @@ func (c *CloudWatchEvents) PutEventsRequest(input *PutEventsInput) (req *request
// API operation PutEvents for usage and error information.
//
// Returned Error Codes:
// * InternalException
// * ErrCodeInternalException "InternalException"
// This exception occurs due to unexpected causes.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutEvents
@ -655,17 +655,17 @@ func (c *CloudWatchEvents) PutRuleRequest(input *PutRuleInput) (req *request.Req
// API operation PutRule for usage and error information.
//
// Returned Error Codes:
// * InvalidEventPatternException
// * ErrCodeInvalidEventPatternException "InvalidEventPatternException"
// The event pattern is invalid.
//
// * LimitExceededException
// * ErrCodeLimitExceededException "LimitExceededException"
// This exception occurs if you try to create more rules or add more targets
// to a rule than allowed by default.
//
// * ConcurrentModificationException
// * ErrCodeConcurrentModificationException "ConcurrentModificationException"
// This exception occurs if there is concurrent modification on rule or target.
//
// * InternalException
// * ErrCodeInternalException "InternalException"
// This exception occurs due to unexpected causes.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutRule
@ -755,17 +755,17 @@ func (c *CloudWatchEvents) PutTargetsRequest(input *PutTargetsInput) (req *reque
// API operation PutTargets for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The rule does not exist.
//
// * ConcurrentModificationException
// * ErrCodeConcurrentModificationException "ConcurrentModificationException"
// This exception occurs if there is concurrent modification on rule or target.
//
// * LimitExceededException
// * ErrCodeLimitExceededException "LimitExceededException"
// This exception occurs if you try to create more rules or add more targets
// to a rule than allowed by default.
//
// * InternalException
// * ErrCodeInternalException "InternalException"
// This exception occurs due to unexpected causes.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutTargets
@ -835,13 +835,13 @@ func (c *CloudWatchEvents) RemoveTargetsRequest(input *RemoveTargetsInput) (req
// API operation RemoveTargets for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The rule does not exist.
//
// * ConcurrentModificationException
// * ErrCodeConcurrentModificationException "ConcurrentModificationException"
// This exception occurs if there is concurrent modification on rule or target.
//
// * InternalException
// * ErrCodeInternalException "InternalException"
// This exception occurs due to unexpected causes.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/RemoveTargets
@ -911,10 +911,10 @@ func (c *CloudWatchEvents) TestEventPatternRequest(input *TestEventPatternInput)
// API operation TestEventPattern for usage and error information.
//
// Returned Error Codes:
// * InvalidEventPatternException
// * ErrCodeInvalidEventPatternException "InvalidEventPatternException"
// The event pattern is invalid.
//
// * InternalException
// * ErrCodeInternalException "InternalException"
// This exception occurs due to unexpected causes.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/TestEventPattern

View File

@ -0,0 +1,37 @@
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
package cloudwatchevents
const (
// ErrCodeConcurrentModificationException for service response error code
// "ConcurrentModificationException".
//
// This exception occurs if there is concurrent modification on rule or target.
ErrCodeConcurrentModificationException = "ConcurrentModificationException"
// ErrCodeInternalException for service response error code
// "InternalException".
//
// This exception occurs due to unexpected causes.
ErrCodeInternalException = "InternalException"
// ErrCodeInvalidEventPatternException for service response error code
// "InvalidEventPatternException".
//
// The event pattern is invalid.
ErrCodeInvalidEventPatternException = "InvalidEventPatternException"
// ErrCodeLimitExceededException for service response error code
// "LimitExceededException".
//
// This exception occurs if you try to create more rules or add more targets
// to a rule than allowed by default.
ErrCodeLimitExceededException = "LimitExceededException"
// ErrCodeResourceNotFoundException for service response error code
// "ResourceNotFoundException".
//
// The rule does not exist.
ErrCodeResourceNotFoundException = "ResourceNotFoundException"
)

View File

@ -71,16 +71,16 @@ func (c *CloudWatchLogs) CancelExportTaskRequest(input *CancelExportTaskInput) (
// API operation CancelExportTask for usage and error information.
//
// Returned Error Codes:
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// A parameter is specified incorrectly.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The specified resource does not exist.
//
// * InvalidOperationException
// * ErrCodeInvalidOperationException "InvalidOperationException"
// The operation is not valid on the specified resource.
//
// * ServiceUnavailableException
// * ErrCodeServiceUnavailableException "ServiceUnavailableException"
// The service cannot complete the request.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CancelExportTask
@ -156,22 +156,22 @@ func (c *CloudWatchLogs) CreateExportTaskRequest(input *CreateExportTaskInput) (
// API operation CreateExportTask for usage and error information.
//
// Returned Error Codes:
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// A parameter is specified incorrectly.
//
// * LimitExceededException
// * ErrCodeLimitExceededException "LimitExceededException"
// You have reached the maximum number of resources that can be created.
//
// * OperationAbortedException
// * ErrCodeOperationAbortedException "OperationAbortedException"
// Multiple requests to update the same resource were in conflict.
//
// * ServiceUnavailableException
// * ErrCodeServiceUnavailableException "ServiceUnavailableException"
// The service cannot complete the request.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The specified resource does not exist.
//
// * ResourceAlreadyExistsException
// * ErrCodeResourceAlreadyExistsException "ResourceAlreadyExistsException"
// The specified resource already exists.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateExportTask
@ -249,19 +249,19 @@ func (c *CloudWatchLogs) CreateLogGroupRequest(input *CreateLogGroupInput) (req
// API operation CreateLogGroup for usage and error information.
//
// Returned Error Codes:
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// A parameter is specified incorrectly.
//
// * ResourceAlreadyExistsException
// * ErrCodeResourceAlreadyExistsException "ResourceAlreadyExistsException"
// The specified resource already exists.
//
// * LimitExceededException
// * ErrCodeLimitExceededException "LimitExceededException"
// You have reached the maximum number of resources that can be created.
//
// * OperationAbortedException
// * ErrCodeOperationAbortedException "OperationAbortedException"
// Multiple requests to update the same resource were in conflict.
//
// * ServiceUnavailableException
// * ErrCodeServiceUnavailableException "ServiceUnavailableException"
// The service cannot complete the request.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateLogGroup
@ -339,16 +339,16 @@ func (c *CloudWatchLogs) CreateLogStreamRequest(input *CreateLogStreamInput) (re
// API operation CreateLogStream for usage and error information.
//
// Returned Error Codes:
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// A parameter is specified incorrectly.
//
// * ResourceAlreadyExistsException
// * ErrCodeResourceAlreadyExistsException "ResourceAlreadyExistsException"
// The specified resource already exists.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The specified resource does not exist.
//
// * ServiceUnavailableException
// * ErrCodeServiceUnavailableException "ServiceUnavailableException"
// The service cannot complete the request.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateLogStream
@ -417,16 +417,16 @@ func (c *CloudWatchLogs) DeleteDestinationRequest(input *DeleteDestinationInput)
// API operation DeleteDestination for usage and error information.
//
// Returned Error Codes:
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// A parameter is specified incorrectly.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The specified resource does not exist.
//
// * OperationAbortedException
// * ErrCodeOperationAbortedException "OperationAbortedException"
// Multiple requests to update the same resource were in conflict.
//
// * ServiceUnavailableException
// * ErrCodeServiceUnavailableException "ServiceUnavailableException"
// The service cannot complete the request.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteDestination
@ -494,16 +494,16 @@ func (c *CloudWatchLogs) DeleteLogGroupRequest(input *DeleteLogGroupInput) (req
// API operation DeleteLogGroup for usage and error information.
//
// Returned Error Codes:
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// A parameter is specified incorrectly.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The specified resource does not exist.
//
// * OperationAbortedException
// * ErrCodeOperationAbortedException "OperationAbortedException"
// Multiple requests to update the same resource were in conflict.
//
// * ServiceUnavailableException
// * ErrCodeServiceUnavailableException "ServiceUnavailableException"
// The service cannot complete the request.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteLogGroup
@ -571,16 +571,16 @@ func (c *CloudWatchLogs) DeleteLogStreamRequest(input *DeleteLogStreamInput) (re
// API operation DeleteLogStream for usage and error information.
//
// Returned Error Codes:
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// A parameter is specified incorrectly.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The specified resource does not exist.
//
// * OperationAbortedException
// * ErrCodeOperationAbortedException "OperationAbortedException"
// Multiple requests to update the same resource were in conflict.
//
// * ServiceUnavailableException
// * ErrCodeServiceUnavailableException "ServiceUnavailableException"
// The service cannot complete the request.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteLogStream
@ -647,16 +647,16 @@ func (c *CloudWatchLogs) DeleteMetricFilterRequest(input *DeleteMetricFilterInpu
// API operation DeleteMetricFilter for usage and error information.
//
// Returned Error Codes:
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// A parameter is specified incorrectly.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The specified resource does not exist.
//
// * OperationAbortedException
// * ErrCodeOperationAbortedException "OperationAbortedException"
// Multiple requests to update the same resource were in conflict.
//
// * ServiceUnavailableException
// * ErrCodeServiceUnavailableException "ServiceUnavailableException"
// The service cannot complete the request.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteMetricFilter
@ -726,16 +726,16 @@ func (c *CloudWatchLogs) DeleteRetentionPolicyRequest(input *DeleteRetentionPoli
// API operation DeleteRetentionPolicy for usage and error information.
//
// Returned Error Codes:
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// A parameter is specified incorrectly.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The specified resource does not exist.
//
// * OperationAbortedException
// * ErrCodeOperationAbortedException "OperationAbortedException"
// Multiple requests to update the same resource were in conflict.
//
// * ServiceUnavailableException
// * ErrCodeServiceUnavailableException "ServiceUnavailableException"
// The service cannot complete the request.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteRetentionPolicy
@ -802,16 +802,16 @@ func (c *CloudWatchLogs) DeleteSubscriptionFilterRequest(input *DeleteSubscripti
// API operation DeleteSubscriptionFilter for usage and error information.
//
// Returned Error Codes:
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// A parameter is specified incorrectly.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The specified resource does not exist.
//
// * OperationAbortedException
// * ErrCodeOperationAbortedException "OperationAbortedException"
// Multiple requests to update the same resource were in conflict.
//
// * ServiceUnavailableException
// * ErrCodeServiceUnavailableException "ServiceUnavailableException"
// The service cannot complete the request.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteSubscriptionFilter
@ -883,10 +883,10 @@ func (c *CloudWatchLogs) DescribeDestinationsRequest(input *DescribeDestinations
// API operation DescribeDestinations for usage and error information.
//
// Returned Error Codes:
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// A parameter is specified incorrectly.
//
// * ServiceUnavailableException
// * ErrCodeServiceUnavailableException "ServiceUnavailableException"
// The service cannot complete the request.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeDestinations
@ -977,10 +977,10 @@ func (c *CloudWatchLogs) DescribeExportTasksRequest(input *DescribeExportTasksIn
// API operation DescribeExportTasks for usage and error information.
//
// Returned Error Codes:
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// A parameter is specified incorrectly.
//
// * ServiceUnavailableException
// * ErrCodeServiceUnavailableException "ServiceUnavailableException"
// The service cannot complete the request.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeExportTasks
@ -1052,10 +1052,10 @@ func (c *CloudWatchLogs) DescribeLogGroupsRequest(input *DescribeLogGroupsInput)
// API operation DescribeLogGroups for usage and error information.
//
// Returned Error Codes:
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// A parameter is specified incorrectly.
//
// * ServiceUnavailableException
// * ErrCodeServiceUnavailableException "ServiceUnavailableException"
// The service cannot complete the request.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeLogGroups
@ -1156,13 +1156,13 @@ func (c *CloudWatchLogs) DescribeLogStreamsRequest(input *DescribeLogStreamsInpu
// API operation DescribeLogStreams for usage and error information.
//
// Returned Error Codes:
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// A parameter is specified incorrectly.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The specified resource does not exist.
//
// * ServiceUnavailableException
// * ErrCodeServiceUnavailableException "ServiceUnavailableException"
// The service cannot complete the request.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeLogStreams
@ -1260,13 +1260,13 @@ func (c *CloudWatchLogs) DescribeMetricFiltersRequest(input *DescribeMetricFilte
// API operation DescribeMetricFilters for usage and error information.
//
// Returned Error Codes:
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// A parameter is specified incorrectly.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The specified resource does not exist.
//
// * ServiceUnavailableException
// * ErrCodeServiceUnavailableException "ServiceUnavailableException"
// The service cannot complete the request.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeMetricFilters
@ -1364,13 +1364,13 @@ func (c *CloudWatchLogs) DescribeSubscriptionFiltersRequest(input *DescribeSubsc
// API operation DescribeSubscriptionFilters for usage and error information.
//
// Returned Error Codes:
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// A parameter is specified incorrectly.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The specified resource does not exist.
//
// * ServiceUnavailableException
// * ErrCodeServiceUnavailableException "ServiceUnavailableException"
// The service cannot complete the request.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeSubscriptionFilters
@ -1474,13 +1474,13 @@ func (c *CloudWatchLogs) FilterLogEventsRequest(input *FilterLogEventsInput) (re
// API operation FilterLogEvents for usage and error information.
//
// Returned Error Codes:
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// A parameter is specified incorrectly.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The specified resource does not exist.
//
// * ServiceUnavailableException
// * ErrCodeServiceUnavailableException "ServiceUnavailableException"
// The service cannot complete the request.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/FilterLogEvents
@ -1582,13 +1582,13 @@ func (c *CloudWatchLogs) GetLogEventsRequest(input *GetLogEventsInput) (req *req
// API operation GetLogEvents for usage and error information.
//
// Returned Error Codes:
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// A parameter is specified incorrectly.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The specified resource does not exist.
//
// * ServiceUnavailableException
// * ErrCodeServiceUnavailableException "ServiceUnavailableException"
// The service cannot complete the request.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/GetLogEvents
@ -1680,10 +1680,10 @@ func (c *CloudWatchLogs) ListTagsLogGroupRequest(input *ListTagsLogGroupInput) (
// API operation ListTagsLogGroup for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The specified resource does not exist.
//
// * ServiceUnavailableException
// * ErrCodeServiceUnavailableException "ServiceUnavailableException"
// The service cannot complete the request.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ListTagsLogGroup
@ -1758,13 +1758,13 @@ func (c *CloudWatchLogs) PutDestinationRequest(input *PutDestinationInput) (req
// API operation PutDestination for usage and error information.
//
// Returned Error Codes:
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// A parameter is specified incorrectly.
//
// * OperationAbortedException
// * ErrCodeOperationAbortedException "OperationAbortedException"
// Multiple requests to update the same resource were in conflict.
//
// * ServiceUnavailableException
// * ErrCodeServiceUnavailableException "ServiceUnavailableException"
// The service cannot complete the request.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutDestination
@ -1834,13 +1834,13 @@ func (c *CloudWatchLogs) PutDestinationPolicyRequest(input *PutDestinationPolicy
// API operation PutDestinationPolicy for usage and error information.
//
// Returned Error Codes:
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// A parameter is specified incorrectly.
//
// * OperationAbortedException
// * ErrCodeOperationAbortedException "OperationAbortedException"
// Multiple requests to update the same resource were in conflict.
//
// * ServiceUnavailableException
// * ErrCodeServiceUnavailableException "ServiceUnavailableException"
// The service cannot complete the request.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutDestinationPolicy
@ -1930,19 +1930,19 @@ func (c *CloudWatchLogs) PutLogEventsRequest(input *PutLogEventsInput) (req *req
// API operation PutLogEvents for usage and error information.
//
// Returned Error Codes:
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// A parameter is specified incorrectly.
//
// * InvalidSequenceTokenException
// * ErrCodeInvalidSequenceTokenException "InvalidSequenceTokenException"
// The sequence token is not valid.
//
// * DataAlreadyAcceptedException
// * ErrCodeDataAlreadyAcceptedException "DataAlreadyAcceptedException"
// The event was already logged.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The specified resource does not exist.
//
// * ServiceUnavailableException
// * ErrCodeServiceUnavailableException "ServiceUnavailableException"
// The service cannot complete the request.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutLogEvents
@ -2014,19 +2014,19 @@ func (c *CloudWatchLogs) PutMetricFilterRequest(input *PutMetricFilterInput) (re
// API operation PutMetricFilter for usage and error information.
//
// Returned Error Codes:
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// A parameter is specified incorrectly.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The specified resource does not exist.
//
// * OperationAbortedException
// * ErrCodeOperationAbortedException "OperationAbortedException"
// Multiple requests to update the same resource were in conflict.
//
// * LimitExceededException
// * ErrCodeLimitExceededException "LimitExceededException"
// You have reached the maximum number of resources that can be created.
//
// * ServiceUnavailableException
// * ErrCodeServiceUnavailableException "ServiceUnavailableException"
// The service cannot complete the request.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutMetricFilter
@ -2095,16 +2095,16 @@ func (c *CloudWatchLogs) PutRetentionPolicyRequest(input *PutRetentionPolicyInpu
// API operation PutRetentionPolicy for usage and error information.
//
// Returned Error Codes:
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// A parameter is specified incorrectly.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The specified resource does not exist.
//
// * OperationAbortedException
// * ErrCodeOperationAbortedException "OperationAbortedException"
// Multiple requests to update the same resource were in conflict.
//
// * ServiceUnavailableException
// * ErrCodeServiceUnavailableException "ServiceUnavailableException"
// The service cannot complete the request.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutRetentionPolicy
@ -2188,19 +2188,19 @@ func (c *CloudWatchLogs) PutSubscriptionFilterRequest(input *PutSubscriptionFilt
// API operation PutSubscriptionFilter for usage and error information.
//
// Returned Error Codes:
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// A parameter is specified incorrectly.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The specified resource does not exist.
//
// * OperationAbortedException
// * ErrCodeOperationAbortedException "OperationAbortedException"
// Multiple requests to update the same resource were in conflict.
//
// * LimitExceededException
// * ErrCodeLimitExceededException "LimitExceededException"
// You have reached the maximum number of resources that can be created.
//
// * ServiceUnavailableException
// * ErrCodeServiceUnavailableException "ServiceUnavailableException"
// The service cannot complete the request.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutSubscriptionFilter
@ -2274,10 +2274,10 @@ func (c *CloudWatchLogs) TagLogGroupRequest(input *TagLogGroupInput) (req *reque
// API operation TagLogGroup for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The specified resource does not exist.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// A parameter is specified incorrectly.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/TagLogGroup
@ -2344,10 +2344,10 @@ func (c *CloudWatchLogs) TestMetricFilterRequest(input *TestMetricFilterInput) (
// API operation TestMetricFilter for usage and error information.
//
// Returned Error Codes:
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// A parameter is specified incorrectly.
//
// * ServiceUnavailableException
// * ErrCodeServiceUnavailableException "ServiceUnavailableException"
// The service cannot complete the request.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/TestMetricFilter
@ -2417,7 +2417,7 @@ func (c *CloudWatchLogs) UntagLogGroupRequest(input *UntagLogGroupInput) (req *r
// API operation UntagLogGroup for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The specified resource does not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/UntagLogGroup

View File

@ -0,0 +1,60 @@
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
package cloudwatchlogs
const (
// ErrCodeDataAlreadyAcceptedException for service response error code
// "DataAlreadyAcceptedException".
//
// The event was already logged.
ErrCodeDataAlreadyAcceptedException = "DataAlreadyAcceptedException"
// ErrCodeInvalidOperationException for service response error code
// "InvalidOperationException".
//
// The operation is not valid on the specified resource.
ErrCodeInvalidOperationException = "InvalidOperationException"
// ErrCodeInvalidParameterException for service response error code
// "InvalidParameterException".
//
// A parameter is specified incorrectly.
ErrCodeInvalidParameterException = "InvalidParameterException"
// ErrCodeInvalidSequenceTokenException for service response error code
// "InvalidSequenceTokenException".
//
// The sequence token is not valid.
ErrCodeInvalidSequenceTokenException = "InvalidSequenceTokenException"
// ErrCodeLimitExceededException for service response error code
// "LimitExceededException".
//
// You have reached the maximum number of resources that can be created.
ErrCodeLimitExceededException = "LimitExceededException"
// ErrCodeOperationAbortedException for service response error code
// "OperationAbortedException".
//
// Multiple requests to update the same resource were in conflict.
ErrCodeOperationAbortedException = "OperationAbortedException"
// ErrCodeResourceAlreadyExistsException for service response error code
// "ResourceAlreadyExistsException".
//
// The specified resource already exists.
ErrCodeResourceAlreadyExistsException = "ResourceAlreadyExistsException"
// ErrCodeResourceNotFoundException for service response error code
// "ResourceNotFoundException".
//
// The specified resource does not exist.
ErrCodeResourceNotFoundException = "ResourceNotFoundException"
// ErrCodeServiceUnavailableException for service response error code
// "ServiceUnavailableException".
//
// The service cannot complete the request.
ErrCodeServiceUnavailableException = "ServiceUnavailableException"
)

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,31 @@
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
package codebuild
const (
// ErrCodeAccountLimitExceededException for service response error code
// "AccountLimitExceededException".
//
// An AWS service limit was exceeded for the calling AWS account.
ErrCodeAccountLimitExceededException = "AccountLimitExceededException"
// ErrCodeInvalidInputException for service response error code
// "InvalidInputException".
//
// The input value that was provided is not valid.
ErrCodeInvalidInputException = "InvalidInputException"
// ErrCodeResourceAlreadyExistsException for service response error code
// "ResourceAlreadyExistsException".
//
// The specified AWS resource cannot be created, because an AWS resource with
// the same settings already exists.
ErrCodeResourceAlreadyExistsException = "ResourceAlreadyExistsException"
// ErrCodeResourceNotFoundException for service response error code
// "ResourceNotFoundException".
//
// The specified AWS resource cannot be found.
ErrCodeResourceNotFoundException = "ResourceNotFoundException"
)

View File

@ -11,11 +11,11 @@ import (
"github.com/aws/aws-sdk-go/private/protocol/jsonrpc"
)
// AWS CodeBuild is a fully-managed build service in the cloud. AWS CodeBuild
// AWS CodeBuild is a fully managed build service in the cloud. AWS CodeBuild
// compiles your source code, runs unit tests, and produces artifacts that are
// ready to deploy. AWS CodeBuild eliminates the need to provision, manage,
// and scale your own build servers. It provides prepackaged build environments
// for the most popular programming languages and build tools such as Apach
// for the most popular programming languages and build tools, such as Apach
// Maven, Gradle, and more. You can also fully customize build environments
// in AWS CodeBuild to use your own build tools. AWS CodeBuild scales automatically
// to meet peak build requests, and you pay only for the build time you consume.
@ -55,8 +55,9 @@ import (
//
// * ListCuratedEnvironmentImages: Gets information about Docker images that
// are managed by AWS CodeBuild.
//The service client's operations are safe to be used concurrently.
// The service client's operations are safe to be used concurrently.
// It is not safe to mutate any of the client's properties though.
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06
type CodeBuild struct {
*client.Client
}
@ -67,8 +68,11 @@ var initClient func(*client.Client)
// Used for custom request initialization logic
var initRequest func(*request.Request)
// A ServiceName is the name of the service the client will make API calls to.
const ServiceName = "codebuild"
// Service information constants
const (
ServiceName = "codebuild" // Service endpoint prefix API calls made to.
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
)
// New creates a new instance of the CodeBuild client with a session.
// If additional configuration is needed for the client instance use the optional
@ -81,17 +85,18 @@ const ServiceName = "codebuild"
// // 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(ServiceName, cfgs...)
return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion)
c := p.ClientConfig(EndpointsID, cfgs...)
return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName)
}
// newClient creates, initializes and returns a new service client instance.
func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegion string) *CodeBuild {
func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegion, signingName string) *CodeBuild {
svc := &CodeBuild{
Client: client.New(
cfg,
metadata.ClientInfo{
ServiceName: ServiceName,
SigningName: signingName,
SigningRegion: signingRegion,
Endpoint: endpoint,
APIVersion: "2016-10-06",

View File

@ -74,33 +74,33 @@ func (c *CodeCommit) BatchGetRepositoriesRequest(input *BatchGetRepositoriesInpu
// API operation BatchGetRepositories for usage and error information.
//
// Returned Error Codes:
// * RepositoryNamesRequiredException
// * ErrCodeRepositoryNamesRequiredException "RepositoryNamesRequiredException"
// A repository names object is required but was not specified.
//
// * MaximumRepositoryNamesExceededException
// * ErrCodeMaximumRepositoryNamesExceededException "MaximumRepositoryNamesExceededException"
// The maximum number of allowed repository names was exceeded. Currently, this
// number is 25.
//
// * InvalidRepositoryNameException
// * ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException"
// At least one specified repository name is not valid.
//
// This exception only occurs 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
// * ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException"
// An encryption integrity check failed.
//
// * EncryptionKeyAccessDeniedException
// * ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException"
// An encryption key could not be accessed.
//
// * EncryptionKeyDisabledException
// * ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException"
// The encryption key is disabled.
//
// * EncryptionKeyNotFoundException
// * ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException"
// No encryption key was found.
//
// * EncryptionKeyUnavailableException
// * ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException"
// The encryption key is not available.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BatchGetRepositories
@ -170,51 +170,51 @@ func (c *CodeCommit) CreateBranchRequest(input *CreateBranchInput) (req *request
// API operation CreateBranch for usage and error information.
//
// Returned Error Codes:
// * RepositoryNameRequiredException
// * ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException"
// A repository name is required but was not specified.
//
// * InvalidRepositoryNameException
// * ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException"
// At least one specified repository name is not valid.
//
// This exception only occurs 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
// * ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException"
// The specified repository does not exist.
//
// * BranchNameRequiredException
// * ErrCodeBranchNameRequiredException "BranchNameRequiredException"
// A branch name is required but was not specified.
//
// * BranchNameExistsException
// * ErrCodeBranchNameExistsException "BranchNameExistsException"
// The specified branch name already exists.
//
// * InvalidBranchNameException
// * ErrCodeInvalidBranchNameException "InvalidBranchNameException"
// The specified branch name is not valid.
//
// * CommitIdRequiredException
// * ErrCodeCommitIdRequiredException "CommitIdRequiredException"
// A commit ID was not specified.
//
// * CommitDoesNotExistException
// * ErrCodeCommitDoesNotExistException "CommitDoesNotExistException"
// The specified commit does not exist or no commit was specified, and the specified
// repository has no default branch.
//
// * InvalidCommitIdException
// * ErrCodeInvalidCommitIdException "InvalidCommitIdException"
// The specified commit ID is not valid.
//
// * EncryptionIntegrityChecksFailedException
// * ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException"
// An encryption integrity check failed.
//
// * EncryptionKeyAccessDeniedException
// * ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException"
// An encryption key could not be accessed.
//
// * EncryptionKeyDisabledException
// * ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException"
// The encryption key is disabled.
//
// * EncryptionKeyNotFoundException
// * ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException"
// No encryption key was found.
//
// * EncryptionKeyUnavailableException
// * ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException"
// The encryption key is not available.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateBranch
@ -279,38 +279,38 @@ func (c *CodeCommit) CreateRepositoryRequest(input *CreateRepositoryInput) (req
// API operation CreateRepository for usage and error information.
//
// Returned Error Codes:
// * RepositoryNameExistsException
// * ErrCodeRepositoryNameExistsException "RepositoryNameExistsException"
// The specified repository name already exists.
//
// * RepositoryNameRequiredException
// * ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException"
// A repository name is required but was not specified.
//
// * InvalidRepositoryNameException
// * ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException"
// At least one specified repository name is not valid.
//
// This exception only occurs 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
// * ErrCodeInvalidRepositoryDescriptionException "InvalidRepositoryDescriptionException"
// The specified repository description is not valid.
//
// * RepositoryLimitExceededException
// * ErrCodeRepositoryLimitExceededException "RepositoryLimitExceededException"
// A repository resource limit was exceeded.
//
// * EncryptionIntegrityChecksFailedException
// * ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException"
// An encryption integrity check failed.
//
// * EncryptionKeyAccessDeniedException
// * ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException"
// An encryption key could not be accessed.
//
// * EncryptionKeyDisabledException
// * ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException"
// The encryption key is disabled.
//
// * EncryptionKeyNotFoundException
// * ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException"
// No encryption key was found.
//
// * EncryptionKeyUnavailableException
// * ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException"
// The encryption key is not available.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateRepository
@ -380,29 +380,29 @@ func (c *CodeCommit) DeleteRepositoryRequest(input *DeleteRepositoryInput) (req
// API operation DeleteRepository for usage and error information.
//
// Returned Error Codes:
// * RepositoryNameRequiredException
// * ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException"
// A repository name is required but was not specified.
//
// * InvalidRepositoryNameException
// * ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException"
// At least one specified repository name is not valid.
//
// This exception only occurs 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
// * ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException"
// An encryption integrity check failed.
//
// * EncryptionKeyAccessDeniedException
// * ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException"
// An encryption key could not be accessed.
//
// * EncryptionKeyDisabledException
// * ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException"
// The encryption key is disabled.
//
// * EncryptionKeyNotFoundException
// * ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException"
// No encryption key was found.
//
// * EncryptionKeyUnavailableException
// * ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException"
// The encryption key is not available.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteRepository
@ -467,44 +467,44 @@ func (c *CodeCommit) GetBlobRequest(input *GetBlobInput) (req *request.Request,
// API operation GetBlob for usage and error information.
//
// Returned Error Codes:
// * RepositoryNameRequiredException
// * ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException"
// A repository name is required but was not specified.
//
// * InvalidRepositoryNameException
// * ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException"
// At least one specified repository name is not valid.
//
// This exception only occurs 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
// * ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException"
// The specified repository does not exist.
//
// * BlobIdRequiredException
// * ErrCodeBlobIdRequiredException "BlobIdRequiredException"
// A blob ID is required but was not specified.
//
// * InvalidBlobIdException
// * ErrCodeInvalidBlobIdException "InvalidBlobIdException"
// The specified blob is not valid.
//
// * BlobIdDoesNotExistException
// * ErrCodeBlobIdDoesNotExistException "BlobIdDoesNotExistException"
// The specified blob does not exist.
//
// * EncryptionIntegrityChecksFailedException
// * ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException"
// An encryption integrity check failed.
//
// * EncryptionKeyAccessDeniedException
// * ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException"
// An encryption key could not be accessed.
//
// * EncryptionKeyDisabledException
// * ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException"
// The encryption key is disabled.
//
// * EncryptionKeyNotFoundException
// * ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException"
// No encryption key was found.
//
// * EncryptionKeyUnavailableException
// * ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException"
// The encryption key is not available.
//
// * FileTooLargeException
// * ErrCodeFileTooLargeException "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
// (http://docs.aws.amazon.com/codecommit/latest/userguide/limits.html).
@ -572,41 +572,41 @@ func (c *CodeCommit) GetBranchRequest(input *GetBranchInput) (req *request.Reque
// API operation GetBranch for usage and error information.
//
// Returned Error Codes:
// * RepositoryNameRequiredException
// * ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException"
// A repository name is required but was not specified.
//
// * RepositoryDoesNotExistException
// * ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException"
// The specified repository does not exist.
//
// * InvalidRepositoryNameException
// * ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException"
// At least one specified repository name is not valid.
//
// This exception only occurs 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
// * ErrCodeBranchNameRequiredException "BranchNameRequiredException"
// A branch name is required but was not specified.
//
// * InvalidBranchNameException
// * ErrCodeInvalidBranchNameException "InvalidBranchNameException"
// The specified branch name is not valid.
//
// * BranchDoesNotExistException
// * ErrCodeBranchDoesNotExistException "BranchDoesNotExistException"
// The specified branch does not exist.
//
// * EncryptionIntegrityChecksFailedException
// * ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException"
// An encryption integrity check failed.
//
// * EncryptionKeyAccessDeniedException
// * ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException"
// An encryption key could not be accessed.
//
// * EncryptionKeyDisabledException
// * ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException"
// The encryption key is disabled.
//
// * EncryptionKeyNotFoundException
// * ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException"
// No encryption key was found.
//
// * EncryptionKeyUnavailableException
// * ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException"
// The encryption key is not available.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetBranch
@ -672,41 +672,41 @@ func (c *CodeCommit) GetCommitRequest(input *GetCommitInput) (req *request.Reque
// API operation GetCommit for usage and error information.
//
// Returned Error Codes:
// * RepositoryNameRequiredException
// * ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException"
// A repository name is required but was not specified.
//
// * InvalidRepositoryNameException
// * ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException"
// At least one specified repository name is not valid.
//
// This exception only occurs 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
// * ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException"
// The specified repository does not exist.
//
// * CommitIdRequiredException
// * ErrCodeCommitIdRequiredException "CommitIdRequiredException"
// A commit ID was not specified.
//
// * InvalidCommitIdException
// * ErrCodeInvalidCommitIdException "InvalidCommitIdException"
// The specified commit ID is not valid.
//
// * CommitIdDoesNotExistException
// * ErrCodeCommitIdDoesNotExistException "CommitIdDoesNotExistException"
// The specified commit ID does not exist.
//
// * EncryptionIntegrityChecksFailedException
// * ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException"
// An encryption integrity check failed.
//
// * EncryptionKeyAccessDeniedException
// * ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException"
// An encryption key could not be accessed.
//
// * EncryptionKeyDisabledException
// * ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException"
// The encryption key is disabled.
//
// * EncryptionKeyNotFoundException
// * ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException"
// No encryption key was found.
//
// * EncryptionKeyUnavailableException
// * ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException"
// The encryption key is not available.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommit
@ -779,57 +779,57 @@ func (c *CodeCommit) GetDifferencesRequest(input *GetDifferencesInput) (req *req
// API operation GetDifferences for usage and error information.
//
// Returned Error Codes:
// * RepositoryNameRequiredException
// * ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException"
// A repository name is required but was not specified.
//
// * RepositoryDoesNotExistException
// * ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException"
// The specified repository does not exist.
//
// * InvalidRepositoryNameException
// * ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException"
// At least one specified repository name is not valid.
//
// This exception only occurs 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.
//
// * InvalidContinuationTokenException
// * ErrCodeInvalidContinuationTokenException "InvalidContinuationTokenException"
// The specified continuation token is not valid.
//
// * InvalidMaxResultsException
// * ErrCodeInvalidMaxResultsException "InvalidMaxResultsException"
// The specified number of maximum results is not valid.
//
// * InvalidCommitIdException
// * ErrCodeInvalidCommitIdException "InvalidCommitIdException"
// The specified commit ID is not valid.
//
// * CommitRequiredException
// * ErrCodeCommitRequiredException "CommitRequiredException"
// A commit was not specified.
//
// * InvalidCommitException
// * ErrCodeInvalidCommitException "InvalidCommitException"
// The specified commit is not valid.
//
// * CommitDoesNotExistException
// * ErrCodeCommitDoesNotExistException "CommitDoesNotExistException"
// The specified commit does not exist or no commit was specified, and the specified
// repository has no default branch.
//
// * InvalidPathException
// * ErrCodeInvalidPathException "InvalidPathException"
// The specified path is not valid.
//
// * PathDoesNotExistException
// * ErrCodePathDoesNotExistException "PathDoesNotExistException"
// The specified path does not exist.
//
// * EncryptionIntegrityChecksFailedException
// * ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException"
// An encryption integrity check failed.
//
// * EncryptionKeyAccessDeniedException
// * ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException"
// An encryption key could not be accessed.
//
// * EncryptionKeyDisabledException
// * ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException"
// The encryption key is disabled.
//
// * EncryptionKeyNotFoundException
// * ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException"
// No encryption key was found.
//
// * EncryptionKeyUnavailableException
// * ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException"
// The encryption key is not available.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetDifferences
@ -925,32 +925,32 @@ func (c *CodeCommit) GetRepositoryRequest(input *GetRepositoryInput) (req *reque
// API operation GetRepository for usage and error information.
//
// Returned Error Codes:
// * RepositoryNameRequiredException
// * ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException"
// A repository name is required but was not specified.
//
// * RepositoryDoesNotExistException
// * ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException"
// The specified repository does not exist.
//
// * InvalidRepositoryNameException
// * ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException"
// At least one specified repository name is not valid.
//
// This exception only occurs 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
// * ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException"
// An encryption integrity check failed.
//
// * EncryptionKeyAccessDeniedException
// * ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException"
// An encryption key could not be accessed.
//
// * EncryptionKeyDisabledException
// * ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException"
// The encryption key is disabled.
//
// * EncryptionKeyNotFoundException
// * ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException"
// No encryption key was found.
//
// * EncryptionKeyUnavailableException
// * ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException"
// The encryption key is not available.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepository
@ -1015,32 +1015,32 @@ func (c *CodeCommit) GetRepositoryTriggersRequest(input *GetRepositoryTriggersIn
// API operation GetRepositoryTriggers for usage and error information.
//
// Returned Error Codes:
// * RepositoryNameRequiredException
// * ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException"
// A repository name is required but was not specified.
//
// * InvalidRepositoryNameException
// * ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException"
// At least one specified repository name is not valid.
//
// This exception only occurs 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
// * ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException"
// The specified repository does not exist.
//
// * EncryptionIntegrityChecksFailedException
// * ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException"
// An encryption integrity check failed.
//
// * EncryptionKeyAccessDeniedException
// * ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException"
// An encryption key could not be accessed.
//
// * EncryptionKeyDisabledException
// * ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException"
// The encryption key is disabled.
//
// * EncryptionKeyNotFoundException
// * ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException"
// No encryption key was found.
//
// * EncryptionKeyUnavailableException
// * ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException"
// The encryption key is not available.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepositoryTriggers
@ -1111,35 +1111,35 @@ func (c *CodeCommit) ListBranchesRequest(input *ListBranchesInput) (req *request
// API operation ListBranches for usage and error information.
//
// Returned Error Codes:
// * RepositoryNameRequiredException
// * ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException"
// A repository name is required but was not specified.
//
// * RepositoryDoesNotExistException
// * ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException"
// The specified repository does not exist.
//
// * InvalidRepositoryNameException
// * ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException"
// At least one specified repository name is not valid.
//
// This exception only occurs 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
// * ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException"
// An encryption integrity check failed.
//
// * EncryptionKeyAccessDeniedException
// * ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException"
// An encryption key could not be accessed.
//
// * EncryptionKeyDisabledException
// * ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException"
// The encryption key is disabled.
//
// * EncryptionKeyNotFoundException
// * ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException"
// No encryption key was found.
//
// * EncryptionKeyUnavailableException
// * ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException"
// The encryption key is not available.
//
// * InvalidContinuationTokenException
// * ErrCodeInvalidContinuationTokenException "InvalidContinuationTokenException"
// The specified continuation token is not valid.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListBranches
@ -1235,13 +1235,13 @@ func (c *CodeCommit) ListRepositoriesRequest(input *ListRepositoriesInput) (req
// API operation ListRepositories for usage and error information.
//
// Returned Error Codes:
// * InvalidSortByException
// * ErrCodeInvalidSortByException "InvalidSortByException"
// The specified sort by value is not valid.
//
// * InvalidOrderException
// * ErrCodeInvalidOrderException "InvalidOrderException"
// The specified sort order is not valid.
//
// * InvalidContinuationTokenException
// * ErrCodeInvalidContinuationTokenException "InvalidContinuationTokenException"
// The specified continuation token is not valid.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListRepositories
@ -1332,77 +1332,77 @@ func (c *CodeCommit) PutRepositoryTriggersRequest(input *PutRepositoryTriggersIn
// API operation PutRepositoryTriggers for usage and error information.
//
// Returned Error Codes:
// * RepositoryDoesNotExistException
// * ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException"
// The specified repository does not exist.
//
// * RepositoryNameRequiredException
// * ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException"
// A repository name is required but was not specified.
//
// * InvalidRepositoryNameException
// * ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException"
// At least one specified repository name is not valid.
//
// This exception only occurs 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
// * ErrCodeRepositoryTriggersListRequiredException "RepositoryTriggersListRequiredException"
// The list of triggers for the repository is required but was not specified.
//
// * MaximumRepositoryTriggersExceededException
// * ErrCodeMaximumRepositoryTriggersExceededException "MaximumRepositoryTriggersExceededException"
// The number of triggers allowed for the repository was exceeded.
//
// * InvalidRepositoryTriggerNameException
// * ErrCodeInvalidRepositoryTriggerNameException "InvalidRepositoryTriggerNameException"
// The name of the trigger is not valid.
//
// * InvalidRepositoryTriggerDestinationArnException
// * ErrCodeInvalidRepositoryTriggerDestinationArnException "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
// * ErrCodeInvalidRepositoryTriggerRegionException "InvalidRepositoryTriggerRegionException"
// The region for the trigger target does not match the region for the repository.
// Triggers must be created in the same region as the target for the trigger.
//
// * InvalidRepositoryTriggerCustomDataException
// * ErrCodeInvalidRepositoryTriggerCustomDataException "InvalidRepositoryTriggerCustomDataException"
// The custom data provided for the trigger is not valid.
//
// * MaximumBranchesExceededException
// * ErrCodeMaximumBranchesExceededException "MaximumBranchesExceededException"
// The number of branches for the trigger was exceeded.
//
// * InvalidRepositoryTriggerBranchNameException
// * ErrCodeInvalidRepositoryTriggerBranchNameException "InvalidRepositoryTriggerBranchNameException"
// One or more branch names specified for the trigger is not valid.
//
// * InvalidRepositoryTriggerEventsException
// * ErrCodeInvalidRepositoryTriggerEventsException "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
// * ErrCodeRepositoryTriggerNameRequiredException "RepositoryTriggerNameRequiredException"
// A name for the trigger is required but was not specified.
//
// * RepositoryTriggerDestinationArnRequiredException
// * ErrCodeRepositoryTriggerDestinationArnRequiredException "RepositoryTriggerDestinationArnRequiredException"
// A destination ARN for the target service for the trigger is required but
// was not specified.
//
// * RepositoryTriggerBranchNameListRequiredException
// * ErrCodeRepositoryTriggerBranchNameListRequiredException "RepositoryTriggerBranchNameListRequiredException"
// At least one branch name is required but was not specified in the trigger
// configuration.
//
// * RepositoryTriggerEventsListRequiredException
// * ErrCodeRepositoryTriggerEventsListRequiredException "RepositoryTriggerEventsListRequiredException"
// At least one event for the trigger is required but was not specified.
//
// * EncryptionIntegrityChecksFailedException
// * ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException"
// An encryption integrity check failed.
//
// * EncryptionKeyAccessDeniedException
// * ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException"
// An encryption key could not be accessed.
//
// * EncryptionKeyDisabledException
// * ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException"
// The encryption key is disabled.
//
// * EncryptionKeyNotFoundException
// * ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException"
// No encryption key was found.
//
// * EncryptionKeyUnavailableException
// * ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException"
// The encryption key is not available.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PutRepositoryTriggers
@ -1470,77 +1470,77 @@ func (c *CodeCommit) TestRepositoryTriggersRequest(input *TestRepositoryTriggers
// API operation TestRepositoryTriggers for usage and error information.
//
// Returned Error Codes:
// * RepositoryDoesNotExistException
// * ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException"
// The specified repository does not exist.
//
// * RepositoryNameRequiredException
// * ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException"
// A repository name is required but was not specified.
//
// * InvalidRepositoryNameException
// * ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException"
// At least one specified repository name is not valid.
//
// This exception only occurs 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
// * ErrCodeRepositoryTriggersListRequiredException "RepositoryTriggersListRequiredException"
// The list of triggers for the repository is required but was not specified.
//
// * MaximumRepositoryTriggersExceededException
// * ErrCodeMaximumRepositoryTriggersExceededException "MaximumRepositoryTriggersExceededException"
// The number of triggers allowed for the repository was exceeded.
//
// * InvalidRepositoryTriggerNameException
// * ErrCodeInvalidRepositoryTriggerNameException "InvalidRepositoryTriggerNameException"
// The name of the trigger is not valid.
//
// * InvalidRepositoryTriggerDestinationArnException
// * ErrCodeInvalidRepositoryTriggerDestinationArnException "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
// * ErrCodeInvalidRepositoryTriggerRegionException "InvalidRepositoryTriggerRegionException"
// The region for the trigger target does not match the region for the repository.
// Triggers must be created in the same region as the target for the trigger.
//
// * InvalidRepositoryTriggerCustomDataException
// * ErrCodeInvalidRepositoryTriggerCustomDataException "InvalidRepositoryTriggerCustomDataException"
// The custom data provided for the trigger is not valid.
//
// * MaximumBranchesExceededException
// * ErrCodeMaximumBranchesExceededException "MaximumBranchesExceededException"
// The number of branches for the trigger was exceeded.
//
// * InvalidRepositoryTriggerBranchNameException
// * ErrCodeInvalidRepositoryTriggerBranchNameException "InvalidRepositoryTriggerBranchNameException"
// One or more branch names specified for the trigger is not valid.
//
// * InvalidRepositoryTriggerEventsException
// * ErrCodeInvalidRepositoryTriggerEventsException "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
// * ErrCodeRepositoryTriggerNameRequiredException "RepositoryTriggerNameRequiredException"
// A name for the trigger is required but was not specified.
//
// * RepositoryTriggerDestinationArnRequiredException
// * ErrCodeRepositoryTriggerDestinationArnRequiredException "RepositoryTriggerDestinationArnRequiredException"
// A destination ARN for the target service for the trigger is required but
// was not specified.
//
// * RepositoryTriggerBranchNameListRequiredException
// * ErrCodeRepositoryTriggerBranchNameListRequiredException "RepositoryTriggerBranchNameListRequiredException"
// At least one branch name is required but was not specified in the trigger
// configuration.
//
// * RepositoryTriggerEventsListRequiredException
// * ErrCodeRepositoryTriggerEventsListRequiredException "RepositoryTriggerEventsListRequiredException"
// At least one event for the trigger is required but was not specified.
//
// * EncryptionIntegrityChecksFailedException
// * ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException"
// An encryption integrity check failed.
//
// * EncryptionKeyAccessDeniedException
// * ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException"
// An encryption key could not be accessed.
//
// * EncryptionKeyDisabledException
// * ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException"
// The encryption key is disabled.
//
// * EncryptionKeyNotFoundException
// * ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException"
// No encryption key was found.
//
// * EncryptionKeyUnavailableException
// * ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException"
// The encryption key is not available.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TestRepositoryTriggers
@ -1611,41 +1611,41 @@ func (c *CodeCommit) UpdateDefaultBranchRequest(input *UpdateDefaultBranchInput)
// API operation UpdateDefaultBranch for usage and error information.
//
// Returned Error Codes:
// * RepositoryNameRequiredException
// * ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException"
// A repository name is required but was not specified.
//
// * RepositoryDoesNotExistException
// * ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException"
// The specified repository does not exist.
//
// * InvalidRepositoryNameException
// * ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException"
// At least one specified repository name is not valid.
//
// This exception only occurs 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
// * ErrCodeBranchNameRequiredException "BranchNameRequiredException"
// A branch name is required but was not specified.
//
// * InvalidBranchNameException
// * ErrCodeInvalidBranchNameException "InvalidBranchNameException"
// The specified branch name is not valid.
//
// * BranchDoesNotExistException
// * ErrCodeBranchDoesNotExistException "BranchDoesNotExistException"
// The specified branch does not exist.
//
// * EncryptionIntegrityChecksFailedException
// * ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException"
// An encryption integrity check failed.
//
// * EncryptionKeyAccessDeniedException
// * ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException"
// An encryption key could not be accessed.
//
// * EncryptionKeyDisabledException
// * ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException"
// The encryption key is disabled.
//
// * EncryptionKeyNotFoundException
// * ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException"
// No encryption key was found.
//
// * EncryptionKeyUnavailableException
// * ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException"
// The encryption key is not available.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateDefaultBranch
@ -1718,35 +1718,35 @@ func (c *CodeCommit) UpdateRepositoryDescriptionRequest(input *UpdateRepositoryD
// API operation UpdateRepositoryDescription for usage and error information.
//
// Returned Error Codes:
// * RepositoryNameRequiredException
// * ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException"
// A repository name is required but was not specified.
//
// * RepositoryDoesNotExistException
// * ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException"
// The specified repository does not exist.
//
// * InvalidRepositoryNameException
// * ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException"
// At least one specified repository name is not valid.
//
// This exception only occurs 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
// * ErrCodeInvalidRepositoryDescriptionException "InvalidRepositoryDescriptionException"
// The specified repository description is not valid.
//
// * EncryptionIntegrityChecksFailedException
// * ErrCodeEncryptionIntegrityChecksFailedException "EncryptionIntegrityChecksFailedException"
// An encryption integrity check failed.
//
// * EncryptionKeyAccessDeniedException
// * ErrCodeEncryptionKeyAccessDeniedException "EncryptionKeyAccessDeniedException"
// An encryption key could not be accessed.
//
// * EncryptionKeyDisabledException
// * ErrCodeEncryptionKeyDisabledException "EncryptionKeyDisabledException"
// The encryption key is disabled.
//
// * EncryptionKeyNotFoundException
// * ErrCodeEncryptionKeyNotFoundException "EncryptionKeyNotFoundException"
// No encryption key was found.
//
// * EncryptionKeyUnavailableException
// * ErrCodeEncryptionKeyUnavailableException "EncryptionKeyUnavailableException"
// The encryption key is not available.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateRepositoryDescription
@ -1818,16 +1818,16 @@ func (c *CodeCommit) UpdateRepositoryNameRequest(input *UpdateRepositoryNameInpu
// API operation UpdateRepositoryName for usage and error information.
//
// Returned Error Codes:
// * RepositoryDoesNotExistException
// * ErrCodeRepositoryDoesNotExistException "RepositoryDoesNotExistException"
// The specified repository does not exist.
//
// * RepositoryNameExistsException
// * ErrCodeRepositoryNameExistsException "RepositoryNameExistsException"
// The specified repository name already exists.
//
// * RepositoryNameRequiredException
// * ErrCodeRepositoryNameRequiredException "RepositoryNameRequiredException"
// A repository name is required but was not specified.
//
// * InvalidRepositoryNameException
// * ErrCodeInvalidRepositoryNameException "InvalidRepositoryNameException"
// At least one specified repository name is not valid.
//
// This exception only occurs when a specified repository name is not valid.

View File

@ -0,0 +1,296 @@
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
package codecommit
const (
// ErrCodeBlobIdDoesNotExistException for service response error code
// "BlobIdDoesNotExistException".
//
// The specified blob does not exist.
ErrCodeBlobIdDoesNotExistException = "BlobIdDoesNotExistException"
// ErrCodeBlobIdRequiredException for service response error code
// "BlobIdRequiredException".
//
// A blob ID is required but was not specified.
ErrCodeBlobIdRequiredException = "BlobIdRequiredException"
// ErrCodeBranchDoesNotExistException for service response error code
// "BranchDoesNotExistException".
//
// The specified branch does not exist.
ErrCodeBranchDoesNotExistException = "BranchDoesNotExistException"
// ErrCodeBranchNameExistsException for service response error code
// "BranchNameExistsException".
//
// The specified branch name already exists.
ErrCodeBranchNameExistsException = "BranchNameExistsException"
// ErrCodeBranchNameRequiredException for service response error code
// "BranchNameRequiredException".
//
// A branch name is required but was not specified.
ErrCodeBranchNameRequiredException = "BranchNameRequiredException"
// ErrCodeCommitDoesNotExistException for service response error code
// "CommitDoesNotExistException".
//
// The specified commit does not exist or no commit was specified, and the specified
// repository has no default branch.
ErrCodeCommitDoesNotExistException = "CommitDoesNotExistException"
// ErrCodeCommitIdDoesNotExistException for service response error code
// "CommitIdDoesNotExistException".
//
// The specified commit ID does not exist.
ErrCodeCommitIdDoesNotExistException = "CommitIdDoesNotExistException"
// ErrCodeCommitIdRequiredException for service response error code
// "CommitIdRequiredException".
//
// A commit ID was not specified.
ErrCodeCommitIdRequiredException = "CommitIdRequiredException"
// ErrCodeCommitRequiredException for service response error code
// "CommitRequiredException".
//
// A commit was not specified.
ErrCodeCommitRequiredException = "CommitRequiredException"
// ErrCodeEncryptionIntegrityChecksFailedException for service response error code
// "EncryptionIntegrityChecksFailedException".
//
// An encryption integrity check failed.
ErrCodeEncryptionIntegrityChecksFailedException = "EncryptionIntegrityChecksFailedException"
// ErrCodeEncryptionKeyAccessDeniedException for service response error code
// "EncryptionKeyAccessDeniedException".
//
// An encryption key could not be accessed.
ErrCodeEncryptionKeyAccessDeniedException = "EncryptionKeyAccessDeniedException"
// ErrCodeEncryptionKeyDisabledException for service response error code
// "EncryptionKeyDisabledException".
//
// The encryption key is disabled.
ErrCodeEncryptionKeyDisabledException = "EncryptionKeyDisabledException"
// ErrCodeEncryptionKeyNotFoundException for service response error code
// "EncryptionKeyNotFoundException".
//
// No encryption key was found.
ErrCodeEncryptionKeyNotFoundException = "EncryptionKeyNotFoundException"
// ErrCodeEncryptionKeyUnavailableException for service response error code
// "EncryptionKeyUnavailableException".
//
// The encryption key is not available.
ErrCodeEncryptionKeyUnavailableException = "EncryptionKeyUnavailableException"
// ErrCodeFileTooLargeException for service response error code
// "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
// (http://docs.aws.amazon.com/codecommit/latest/userguide/limits.html).
ErrCodeFileTooLargeException = "FileTooLargeException"
// ErrCodeInvalidBlobIdException for service response error code
// "InvalidBlobIdException".
//
// The specified blob is not valid.
ErrCodeInvalidBlobIdException = "InvalidBlobIdException"
// ErrCodeInvalidBranchNameException for service response error code
// "InvalidBranchNameException".
//
// The specified branch name is not valid.
ErrCodeInvalidBranchNameException = "InvalidBranchNameException"
// ErrCodeInvalidCommitException for service response error code
// "InvalidCommitException".
//
// The specified commit is not valid.
ErrCodeInvalidCommitException = "InvalidCommitException"
// ErrCodeInvalidCommitIdException for service response error code
// "InvalidCommitIdException".
//
// The specified commit ID is not valid.
ErrCodeInvalidCommitIdException = "InvalidCommitIdException"
// ErrCodeInvalidContinuationTokenException for service response error code
// "InvalidContinuationTokenException".
//
// The specified continuation token is not valid.
ErrCodeInvalidContinuationTokenException = "InvalidContinuationTokenException"
// ErrCodeInvalidMaxResultsException for service response error code
// "InvalidMaxResultsException".
//
// The specified number of maximum results is not valid.
ErrCodeInvalidMaxResultsException = "InvalidMaxResultsException"
// ErrCodeInvalidOrderException for service response error code
// "InvalidOrderException".
//
// The specified sort order is not valid.
ErrCodeInvalidOrderException = "InvalidOrderException"
// ErrCodeInvalidPathException for service response error code
// "InvalidPathException".
//
// The specified path is not valid.
ErrCodeInvalidPathException = "InvalidPathException"
// ErrCodeInvalidRepositoryDescriptionException for service response error code
// "InvalidRepositoryDescriptionException".
//
// The specified repository description is not valid.
ErrCodeInvalidRepositoryDescriptionException = "InvalidRepositoryDescriptionException"
// ErrCodeInvalidRepositoryNameException for service response error code
// "InvalidRepositoryNameException".
//
// At least one specified repository name is not valid.
//
// This exception only occurs 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.
ErrCodeInvalidRepositoryNameException = "InvalidRepositoryNameException"
// ErrCodeInvalidRepositoryTriggerBranchNameException for service response error code
// "InvalidRepositoryTriggerBranchNameException".
//
// One or more branch names specified for the trigger is not valid.
ErrCodeInvalidRepositoryTriggerBranchNameException = "InvalidRepositoryTriggerBranchNameException"
// ErrCodeInvalidRepositoryTriggerCustomDataException for service response error code
// "InvalidRepositoryTriggerCustomDataException".
//
// The custom data provided for the trigger is not valid.
ErrCodeInvalidRepositoryTriggerCustomDataException = "InvalidRepositoryTriggerCustomDataException"
// ErrCodeInvalidRepositoryTriggerDestinationArnException for service response error code
// "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.
ErrCodeInvalidRepositoryTriggerDestinationArnException = "InvalidRepositoryTriggerDestinationArnException"
// ErrCodeInvalidRepositoryTriggerEventsException for service response error code
// "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.
ErrCodeInvalidRepositoryTriggerEventsException = "InvalidRepositoryTriggerEventsException"
// ErrCodeInvalidRepositoryTriggerNameException for service response error code
// "InvalidRepositoryTriggerNameException".
//
// The name of the trigger is not valid.
ErrCodeInvalidRepositoryTriggerNameException = "InvalidRepositoryTriggerNameException"
// ErrCodeInvalidRepositoryTriggerRegionException for service response error code
// "InvalidRepositoryTriggerRegionException".
//
// The region for the trigger target does not match the region for the repository.
// Triggers must be created in the same region as the target for the trigger.
ErrCodeInvalidRepositoryTriggerRegionException = "InvalidRepositoryTriggerRegionException"
// ErrCodeInvalidSortByException for service response error code
// "InvalidSortByException".
//
// The specified sort by value is not valid.
ErrCodeInvalidSortByException = "InvalidSortByException"
// ErrCodeMaximumBranchesExceededException for service response error code
// "MaximumBranchesExceededException".
//
// The number of branches for the trigger was exceeded.
ErrCodeMaximumBranchesExceededException = "MaximumBranchesExceededException"
// ErrCodeMaximumRepositoryNamesExceededException for service response error code
// "MaximumRepositoryNamesExceededException".
//
// The maximum number of allowed repository names was exceeded. Currently, this
// number is 25.
ErrCodeMaximumRepositoryNamesExceededException = "MaximumRepositoryNamesExceededException"
// ErrCodeMaximumRepositoryTriggersExceededException for service response error code
// "MaximumRepositoryTriggersExceededException".
//
// The number of triggers allowed for the repository was exceeded.
ErrCodeMaximumRepositoryTriggersExceededException = "MaximumRepositoryTriggersExceededException"
// ErrCodePathDoesNotExistException for service response error code
// "PathDoesNotExistException".
//
// The specified path does not exist.
ErrCodePathDoesNotExistException = "PathDoesNotExistException"
// ErrCodeRepositoryDoesNotExistException for service response error code
// "RepositoryDoesNotExistException".
//
// The specified repository does not exist.
ErrCodeRepositoryDoesNotExistException = "RepositoryDoesNotExistException"
// ErrCodeRepositoryLimitExceededException for service response error code
// "RepositoryLimitExceededException".
//
// A repository resource limit was exceeded.
ErrCodeRepositoryLimitExceededException = "RepositoryLimitExceededException"
// ErrCodeRepositoryNameExistsException for service response error code
// "RepositoryNameExistsException".
//
// The specified repository name already exists.
ErrCodeRepositoryNameExistsException = "RepositoryNameExistsException"
// ErrCodeRepositoryNameRequiredException for service response error code
// "RepositoryNameRequiredException".
//
// A repository name is required but was not specified.
ErrCodeRepositoryNameRequiredException = "RepositoryNameRequiredException"
// ErrCodeRepositoryNamesRequiredException for service response error code
// "RepositoryNamesRequiredException".
//
// A repository names object is required but was not specified.
ErrCodeRepositoryNamesRequiredException = "RepositoryNamesRequiredException"
// ErrCodeRepositoryTriggerBranchNameListRequiredException for service response error code
// "RepositoryTriggerBranchNameListRequiredException".
//
// At least one branch name is required but was not specified in the trigger
// configuration.
ErrCodeRepositoryTriggerBranchNameListRequiredException = "RepositoryTriggerBranchNameListRequiredException"
// ErrCodeRepositoryTriggerDestinationArnRequiredException for service response error code
// "RepositoryTriggerDestinationArnRequiredException".
//
// A destination ARN for the target service for the trigger is required but
// was not specified.
ErrCodeRepositoryTriggerDestinationArnRequiredException = "RepositoryTriggerDestinationArnRequiredException"
// ErrCodeRepositoryTriggerEventsListRequiredException for service response error code
// "RepositoryTriggerEventsListRequiredException".
//
// At least one event for the trigger is required but was not specified.
ErrCodeRepositoryTriggerEventsListRequiredException = "RepositoryTriggerEventsListRequiredException"
// ErrCodeRepositoryTriggerNameRequiredException for service response error code
// "RepositoryTriggerNameRequiredException".
//
// A name for the trigger is required but was not specified.
ErrCodeRepositoryTriggerNameRequiredException = "RepositoryTriggerNameRequiredException"
// ErrCodeRepositoryTriggersListRequiredException for service response error code
// "RepositoryTriggersListRequiredException".
//
// The list of triggers for the repository is required but was not specified.
ErrCodeRepositoryTriggersListRequiredException = "RepositoryTriggersListRequiredException"
)

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,495 @@
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
package codedeploy
const (
// ErrCodeAlarmsLimitExceededException for service response error code
// "AlarmsLimitExceededException".
//
// The maximum number of alarms for a deployment group (10) was exceeded.
ErrCodeAlarmsLimitExceededException = "AlarmsLimitExceededException"
// ErrCodeApplicationAlreadyExistsException for service response error code
// "ApplicationAlreadyExistsException".
//
// An application with the specified name already exists with the applicable
// IAM user or AWS account.
ErrCodeApplicationAlreadyExistsException = "ApplicationAlreadyExistsException"
// ErrCodeApplicationDoesNotExistException for service response error code
// "ApplicationDoesNotExistException".
//
// The application does not exist with the applicable IAM user or AWS account.
ErrCodeApplicationDoesNotExistException = "ApplicationDoesNotExistException"
// ErrCodeApplicationLimitExceededException for service response error code
// "ApplicationLimitExceededException".
//
// More applications were attempted to be created than are allowed.
ErrCodeApplicationLimitExceededException = "ApplicationLimitExceededException"
// ErrCodeApplicationNameRequiredException for service response error code
// "ApplicationNameRequiredException".
//
// The minimum number of required application names was not specified.
ErrCodeApplicationNameRequiredException = "ApplicationNameRequiredException"
// ErrCodeBatchLimitExceededException for service response error code
// "BatchLimitExceededException".
//
// The maximum number of names or IDs allowed for this request (100) was exceeded.
ErrCodeBatchLimitExceededException = "BatchLimitExceededException"
// ErrCodeBucketNameFilterRequiredException for service response error code
// "BucketNameFilterRequiredException".
//
// A bucket name is required, but was not provided.
ErrCodeBucketNameFilterRequiredException = "BucketNameFilterRequiredException"
// ErrCodeDeploymentAlreadyCompletedException for service response error code
// "DeploymentAlreadyCompletedException".
//
// The deployment is already complete.
ErrCodeDeploymentAlreadyCompletedException = "DeploymentAlreadyCompletedException"
// ErrCodeDeploymentConfigAlreadyExistsException for service response error code
// "DeploymentConfigAlreadyExistsException".
//
// A deployment configuration with the specified name already exists with the
// applicable IAM user or AWS account.
ErrCodeDeploymentConfigAlreadyExistsException = "DeploymentConfigAlreadyExistsException"
// ErrCodeDeploymentConfigDoesNotExistException for service response error code
// "DeploymentConfigDoesNotExistException".
//
// The deployment configuration does not exist with the applicable IAM user
// or AWS account.
ErrCodeDeploymentConfigDoesNotExistException = "DeploymentConfigDoesNotExistException"
// ErrCodeDeploymentConfigInUseException for service response error code
// "DeploymentConfigInUseException".
//
// The deployment configuration is still in use.
ErrCodeDeploymentConfigInUseException = "DeploymentConfigInUseException"
// ErrCodeDeploymentConfigLimitExceededException for service response error code
// "DeploymentConfigLimitExceededException".
//
// The deployment configurations limit was exceeded.
ErrCodeDeploymentConfigLimitExceededException = "DeploymentConfigLimitExceededException"
// ErrCodeDeploymentConfigNameRequiredException for service response error code
// "DeploymentConfigNameRequiredException".
//
// The deployment configuration name was not specified.
ErrCodeDeploymentConfigNameRequiredException = "DeploymentConfigNameRequiredException"
// ErrCodeDeploymentDoesNotExistException for service response error code
// "DeploymentDoesNotExistException".
//
// The deployment does not exist with the applicable IAM user or AWS account.
ErrCodeDeploymentDoesNotExistException = "DeploymentDoesNotExistException"
// ErrCodeDeploymentGroupAlreadyExistsException for service response error code
// "DeploymentGroupAlreadyExistsException".
//
// A deployment group with the specified name already exists with the applicable
// IAM user or AWS account.
ErrCodeDeploymentGroupAlreadyExistsException = "DeploymentGroupAlreadyExistsException"
// ErrCodeDeploymentGroupDoesNotExistException for service response error code
// "DeploymentGroupDoesNotExistException".
//
// The named deployment group does not exist with the applicable IAM user or
// AWS account.
ErrCodeDeploymentGroupDoesNotExistException = "DeploymentGroupDoesNotExistException"
// ErrCodeDeploymentGroupLimitExceededException for service response error code
// "DeploymentGroupLimitExceededException".
//
// The deployment groups limit was exceeded.
ErrCodeDeploymentGroupLimitExceededException = "DeploymentGroupLimitExceededException"
// ErrCodeDeploymentGroupNameRequiredException for service response error code
// "DeploymentGroupNameRequiredException".
//
// The deployment group name was not specified.
ErrCodeDeploymentGroupNameRequiredException = "DeploymentGroupNameRequiredException"
// ErrCodeDeploymentIdRequiredException for service response error code
// "DeploymentIdRequiredException".
//
// At least one deployment ID must be specified.
ErrCodeDeploymentIdRequiredException = "DeploymentIdRequiredException"
// ErrCodeDeploymentIsNotInReadyStateException for service response error code
// "DeploymentIsNotInReadyStateException".
//
// The deployment does not have a status of Ready and can't continue yet.
ErrCodeDeploymentIsNotInReadyStateException = "DeploymentIsNotInReadyStateException"
// ErrCodeDeploymentLimitExceededException for service response error code
// "DeploymentLimitExceededException".
//
// The number of allowed deployments was exceeded.
ErrCodeDeploymentLimitExceededException = "DeploymentLimitExceededException"
// ErrCodeDeploymentNotStartedException for service response error code
// "DeploymentNotStartedException".
//
// The specified deployment has not started.
ErrCodeDeploymentNotStartedException = "DeploymentNotStartedException"
// ErrCodeDescriptionTooLongException for service response error code
// "DescriptionTooLongException".
//
// The description is too long.
ErrCodeDescriptionTooLongException = "DescriptionTooLongException"
// ErrCodeIamArnRequiredException for service response error code
// "IamArnRequiredException".
//
// No IAM ARN was included in the request. You must use an IAM session ARN or
// IAM user ARN in the request.
ErrCodeIamArnRequiredException = "IamArnRequiredException"
// ErrCodeIamSessionArnAlreadyRegisteredException for service response error code
// "IamSessionArnAlreadyRegisteredException".
//
// The request included an IAM session ARN that has already been used to register
// a different instance.
ErrCodeIamSessionArnAlreadyRegisteredException = "IamSessionArnAlreadyRegisteredException"
// ErrCodeIamUserArnAlreadyRegisteredException for service response error code
// "IamUserArnAlreadyRegisteredException".
//
// The specified IAM user ARN is already registered with an on-premises instance.
ErrCodeIamUserArnAlreadyRegisteredException = "IamUserArnAlreadyRegisteredException"
// ErrCodeIamUserArnRequiredException for service response error code
// "IamUserArnRequiredException".
//
// An IAM user ARN was not specified.
ErrCodeIamUserArnRequiredException = "IamUserArnRequiredException"
// ErrCodeInstanceDoesNotExistException for service response error code
// "InstanceDoesNotExistException".
//
// The specified instance does not exist in the deployment group.
ErrCodeInstanceDoesNotExistException = "InstanceDoesNotExistException"
// ErrCodeInstanceIdRequiredException for service response error code
// "InstanceIdRequiredException".
//
// The instance ID was not specified.
ErrCodeInstanceIdRequiredException = "InstanceIdRequiredException"
// ErrCodeInstanceLimitExceededException for service response error code
// "InstanceLimitExceededException".
//
// The maximum number of allowed on-premises instances in a single call was
// exceeded.
ErrCodeInstanceLimitExceededException = "InstanceLimitExceededException"
// ErrCodeInstanceNameAlreadyRegisteredException for service response error code
// "InstanceNameAlreadyRegisteredException".
//
// The specified on-premises instance name is already registered.
ErrCodeInstanceNameAlreadyRegisteredException = "InstanceNameAlreadyRegisteredException"
// ErrCodeInstanceNameRequiredException for service response error code
// "InstanceNameRequiredException".
//
// An on-premises instance name was not specified.
ErrCodeInstanceNameRequiredException = "InstanceNameRequiredException"
// ErrCodeInstanceNotRegisteredException for service response error code
// "InstanceNotRegisteredException".
//
// The specified on-premises instance is not registered.
ErrCodeInstanceNotRegisteredException = "InstanceNotRegisteredException"
// ErrCodeInvalidAlarmConfigException for service response error code
// "InvalidAlarmConfigException".
//
// The format of the alarm configuration is invalid. Possible causes include:
//
// * The alarm list is null.
//
// * The alarm object is null.
//
// * The alarm name is empty or null or exceeds the 255 character limit.
//
// * Two alarms with the same name have been specified.
//
// * The alarm configuration is enabled but the alarm list is empty.
ErrCodeInvalidAlarmConfigException = "InvalidAlarmConfigException"
// ErrCodeInvalidApplicationNameException for service response error code
// "InvalidApplicationNameException".
//
// The application name was specified in an invalid format.
ErrCodeInvalidApplicationNameException = "InvalidApplicationNameException"
// ErrCodeInvalidAutoRollbackConfigException for service response error code
// "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.
ErrCodeInvalidAutoRollbackConfigException = "InvalidAutoRollbackConfigException"
// ErrCodeInvalidAutoScalingGroupException for service response error code
// "InvalidAutoScalingGroupException".
//
// The Auto Scaling group was specified in an invalid format or does not exist.
ErrCodeInvalidAutoScalingGroupException = "InvalidAutoScalingGroupException"
// ErrCodeInvalidBlueGreenDeploymentConfigurationException for service response error code
// "InvalidBlueGreenDeploymentConfigurationException".
//
// The configuration for the blue/green deployment group was provided in an
// invalid format. For information about deployment configuration format, see
// CreateDeploymentConfig.
ErrCodeInvalidBlueGreenDeploymentConfigurationException = "InvalidBlueGreenDeploymentConfigurationException"
// ErrCodeInvalidBucketNameFilterException for service response error code
// "InvalidBucketNameFilterException".
//
// The bucket name either doesn't exist or was specified in an invalid format.
ErrCodeInvalidBucketNameFilterException = "InvalidBucketNameFilterException"
// ErrCodeInvalidDeployedStateFilterException for service response error code
// "InvalidDeployedStateFilterException".
//
// The deployed state filter was specified in an invalid format.
ErrCodeInvalidDeployedStateFilterException = "InvalidDeployedStateFilterException"
// ErrCodeInvalidDeploymentConfigNameException for service response error code
// "InvalidDeploymentConfigNameException".
//
// The deployment configuration name was specified in an invalid format.
ErrCodeInvalidDeploymentConfigNameException = "InvalidDeploymentConfigNameException"
// ErrCodeInvalidDeploymentGroupNameException for service response error code
// "InvalidDeploymentGroupNameException".
//
// The deployment group name was specified in an invalid format.
ErrCodeInvalidDeploymentGroupNameException = "InvalidDeploymentGroupNameException"
// ErrCodeInvalidDeploymentIdException for service response error code
// "InvalidDeploymentIdException".
//
// At least one of the deployment IDs was specified in an invalid format.
ErrCodeInvalidDeploymentIdException = "InvalidDeploymentIdException"
// ErrCodeInvalidDeploymentStatusException for service response error code
// "InvalidDeploymentStatusException".
//
// The specified deployment status doesn't exist or cannot be determined.
ErrCodeInvalidDeploymentStatusException = "InvalidDeploymentStatusException"
// ErrCodeInvalidDeploymentStyleException for service response error code
// "InvalidDeploymentStyleException".
//
// An invalid deployment style was specified. Valid deployment types include
// "IN_PLACE" and "BLUE_GREEN". Valid deployment options for blue/green deployments
// include "WITH_TRAFFIC_CONTROL" and "WITHOUT_TRAFFIC_CONTROL".
ErrCodeInvalidDeploymentStyleException = "InvalidDeploymentStyleException"
// ErrCodeInvalidEC2TagException for service response error code
// "InvalidEC2TagException".
//
// The tag was specified in an invalid format.
ErrCodeInvalidEC2TagException = "InvalidEC2TagException"
// ErrCodeInvalidIamSessionArnException for service response error code
// "InvalidIamSessionArnException".
//
// The IAM session ARN was specified in an invalid format.
ErrCodeInvalidIamSessionArnException = "InvalidIamSessionArnException"
// ErrCodeInvalidIamUserArnException for service response error code
// "InvalidIamUserArnException".
//
// The IAM user ARN was specified in an invalid format.
ErrCodeInvalidIamUserArnException = "InvalidIamUserArnException"
// ErrCodeInvalidInstanceNameException for service response error code
// "InvalidInstanceNameException".
//
// The specified on-premises instance name was specified in an invalid format.
ErrCodeInvalidInstanceNameException = "InvalidInstanceNameException"
// ErrCodeInvalidInstanceStatusException for service response error code
// "InvalidInstanceStatusException".
//
// The specified instance status does not exist.
ErrCodeInvalidInstanceStatusException = "InvalidInstanceStatusException"
// ErrCodeInvalidInstanceTypeException for service response error code
// "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.
ErrCodeInvalidInstanceTypeException = "InvalidInstanceTypeException"
// ErrCodeInvalidKeyPrefixFilterException for service response error code
// "InvalidKeyPrefixFilterException".
//
// The specified key prefix filter was specified in an invalid format.
ErrCodeInvalidKeyPrefixFilterException = "InvalidKeyPrefixFilterException"
// ErrCodeInvalidLoadBalancerInfoException for service response error code
// "InvalidLoadBalancerInfoException".
//
// An invalid load balancer name, or no load balancer name, was specified.
ErrCodeInvalidLoadBalancerInfoException = "InvalidLoadBalancerInfoException"
// ErrCodeInvalidMinimumHealthyHostValueException for service response error code
// "InvalidMinimumHealthyHostValueException".
//
// The minimum healthy instance value was specified in an invalid format.
ErrCodeInvalidMinimumHealthyHostValueException = "InvalidMinimumHealthyHostValueException"
// ErrCodeInvalidNextTokenException for service response error code
// "InvalidNextTokenException".
//
// The next token was specified in an invalid format.
ErrCodeInvalidNextTokenException = "InvalidNextTokenException"
// ErrCodeInvalidOperationException for service response error code
// "InvalidOperationException".
//
// An invalid operation was detected.
ErrCodeInvalidOperationException = "InvalidOperationException"
// ErrCodeInvalidRegistrationStatusException for service response error code
// "InvalidRegistrationStatusException".
//
// The registration status was specified in an invalid format.
ErrCodeInvalidRegistrationStatusException = "InvalidRegistrationStatusException"
// ErrCodeInvalidRevisionException for service response error code
// "InvalidRevisionException".
//
// The revision was specified in an invalid format.
ErrCodeInvalidRevisionException = "InvalidRevisionException"
// ErrCodeInvalidRoleException for service response error code
// "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 Auto Scaling.
ErrCodeInvalidRoleException = "InvalidRoleException"
// ErrCodeInvalidSortByException for service response error code
// "InvalidSortByException".
//
// The column name to sort by is either not present or was specified in an invalid
// format.
ErrCodeInvalidSortByException = "InvalidSortByException"
// ErrCodeInvalidSortOrderException for service response error code
// "InvalidSortOrderException".
//
// The sort order was specified in an invalid format.
ErrCodeInvalidSortOrderException = "InvalidSortOrderException"
// ErrCodeInvalidTagException for service response error code
// "InvalidTagException".
//
// The specified tag was specified in an invalid format.
ErrCodeInvalidTagException = "InvalidTagException"
// ErrCodeInvalidTagFilterException for service response error code
// "InvalidTagFilterException".
//
// The specified tag filter was specified in an invalid format.
ErrCodeInvalidTagFilterException = "InvalidTagFilterException"
// ErrCodeInvalidTargetInstancesException for service response error code
// "InvalidTargetInstancesException".
//
// The target instance configuration is invalid. Possible causes include:
//
// * Configuration data for target instances was entered for an in-place
// deployment.
//
// * The limit of 10 tags for a tag type was exceeded.
//
// * The combined length of the tag names exceeded the limit.
//
// * A specified tag is not currently applied to any instances.
ErrCodeInvalidTargetInstancesException = "InvalidTargetInstancesException"
// ErrCodeInvalidTimeRangeException for service response error code
// "InvalidTimeRangeException".
//
// The specified time range was specified in an invalid format.
ErrCodeInvalidTimeRangeException = "InvalidTimeRangeException"
// ErrCodeInvalidTriggerConfigException for service response error code
// "InvalidTriggerConfigException".
//
// The trigger was specified in an invalid format.
ErrCodeInvalidTriggerConfigException = "InvalidTriggerConfigException"
// ErrCodeLifecycleHookLimitExceededException for service response error code
// "LifecycleHookLimitExceededException".
//
// The limit for lifecycle hooks was exceeded.
ErrCodeLifecycleHookLimitExceededException = "LifecycleHookLimitExceededException"
// ErrCodeMultipleIamArnsProvidedException for service response error code
// "MultipleIamArnsProvidedException".
//
// Both an IAM user ARN and an IAM session ARN were included in the request.
// Use only one ARN type.
ErrCodeMultipleIamArnsProvidedException = "MultipleIamArnsProvidedException"
// ErrCodeRevisionDoesNotExistException for service response error code
// "RevisionDoesNotExistException".
//
// The named revision does not exist with the applicable IAM user or AWS account.
ErrCodeRevisionDoesNotExistException = "RevisionDoesNotExistException"
// ErrCodeRevisionRequiredException for service response error code
// "RevisionRequiredException".
//
// The revision ID was not specified.
ErrCodeRevisionRequiredException = "RevisionRequiredException"
// ErrCodeRoleRequiredException for service response error code
// "RoleRequiredException".
//
// The role ID was not specified.
ErrCodeRoleRequiredException = "RoleRequiredException"
// ErrCodeTagLimitExceededException for service response error code
// "TagLimitExceededException".
//
// The maximum allowed number of tags was exceeded.
ErrCodeTagLimitExceededException = "TagLimitExceededException"
// ErrCodeTagRequiredException for service response error code
// "TagRequiredException".
//
// A tag was not specified.
ErrCodeTagRequiredException = "TagRequiredException"
// ErrCodeTriggerTargetsLimitExceededException for service response error code
// "TriggerTargetsLimitExceededException".
//
// The maximum allowed number of triggers was exceeded.
ErrCodeTriggerTargetsLimitExceededException = "TriggerTargetsLimitExceededException"
// ErrCodeUnsupportedActionForDeploymentTypeException for service response error code
// "UnsupportedActionForDeploymentTypeException".
//
// A call was submitted that is not supported for the specified deployment type.
ErrCodeUnsupportedActionForDeploymentTypeException = "UnsupportedActionForDeploymentTypeException"
)

View File

@ -76,11 +76,11 @@ func (c *ConfigService) DeleteConfigRuleRequest(input *DeleteConfigRuleInput) (r
// API operation DeleteConfigRule for usage and error information.
//
// Returned Error Codes:
// * NoSuchConfigRuleException
// * ErrCodeNoSuchConfigRuleException "NoSuchConfigRuleException"
// One or more AWS Config rules in the request are invalid. Verify that the
// rule names are correct and try again.
//
// * ResourceInUseException
// * ErrCodeResourceInUseException "ResourceInUseException"
// The rule is currently being deleted or the rule is deleting your evaluation
// results. Try your request again later.
//
@ -157,7 +157,7 @@ func (c *ConfigService) DeleteConfigurationRecorderRequest(input *DeleteConfigur
// API operation DeleteConfigurationRecorder for usage and error information.
//
// Returned Error Codes:
// * NoSuchConfigurationRecorderException
// * ErrCodeNoSuchConfigurationRecorderException "NoSuchConfigurationRecorderException"
// You have specified a configuration recorder that does not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteConfigurationRecorder
@ -227,10 +227,10 @@ func (c *ConfigService) DeleteDeliveryChannelRequest(input *DeleteDeliveryChanne
// API operation DeleteDeliveryChannel for usage and error information.
//
// Returned Error Codes:
// * NoSuchDeliveryChannelException
// * ErrCodeNoSuchDeliveryChannelException "NoSuchDeliveryChannelException"
// You have specified a delivery channel that does not exist.
//
// * LastDeliveryChannelDeleteFailedException
// * ErrCodeLastDeliveryChannelDeleteFailedException "LastDeliveryChannelDeleteFailedException"
// You cannot delete the delivery channel you specified because the configuration
// recorder is running.
//
@ -299,11 +299,11 @@ func (c *ConfigService) DeleteEvaluationResultsRequest(input *DeleteEvaluationRe
// API operation DeleteEvaluationResults for usage and error information.
//
// Returned Error Codes:
// * NoSuchConfigRuleException
// * ErrCodeNoSuchConfigRuleException "NoSuchConfigRuleException"
// One or more AWS Config rules in the request are invalid. Verify that the
// rule names are correct and try again.
//
// * ResourceInUseException
// * ErrCodeResourceInUseException "ResourceInUseException"
// The rule is currently being deleted or the rule is deleting your evaluation
// results. Try your request again later.
//
@ -378,14 +378,14 @@ func (c *ConfigService) DeliverConfigSnapshotRequest(input *DeliverConfigSnapsho
// API operation DeliverConfigSnapshot for usage and error information.
//
// Returned Error Codes:
// * NoSuchDeliveryChannelException
// * ErrCodeNoSuchDeliveryChannelException "NoSuchDeliveryChannelException"
// You have specified a delivery channel that does not exist.
//
// * NoAvailableConfigurationRecorderException
// * ErrCodeNoAvailableConfigurationRecorderException "NoAvailableConfigurationRecorderException"
// There are no configuration recorders available to provide the role needed
// to describe your resources. Create a configuration recorder.
//
// * NoRunningConfigurationRecorderException
// * ErrCodeNoRunningConfigurationRecorderException "NoRunningConfigurationRecorderException"
// There is no configuration recorder running.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeliverConfigSnapshot
@ -472,15 +472,15 @@ func (c *ConfigService) DescribeComplianceByConfigRuleRequest(input *DescribeCom
// API operation DescribeComplianceByConfigRule for usage and error information.
//
// Returned Error Codes:
// * InvalidParameterValueException
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
// One or more of the specified parameters are invalid. Verify that your parameters
// are valid and try again.
//
// * NoSuchConfigRuleException
// * ErrCodeNoSuchConfigRuleException "NoSuchConfigRuleException"
// One or more AWS Config rules in the request are invalid. Verify that the
// rule names are correct and try again.
//
// * InvalidNextTokenException
// * ErrCodeInvalidNextTokenException "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.
//
@ -570,11 +570,11 @@ func (c *ConfigService) DescribeComplianceByResourceRequest(input *DescribeCompl
// API operation DescribeComplianceByResource for usage and error information.
//
// Returned Error Codes:
// * InvalidParameterValueException
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
// One or more of the specified parameters are invalid. Verify that your parameters
// are valid and try again.
//
// * InvalidNextTokenException
// * ErrCodeInvalidNextTokenException "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.
//
@ -643,15 +643,15 @@ func (c *ConfigService) DescribeConfigRuleEvaluationStatusRequest(input *Describ
// API operation DescribeConfigRuleEvaluationStatus for usage and error information.
//
// Returned Error Codes:
// * NoSuchConfigRuleException
// * ErrCodeNoSuchConfigRuleException "NoSuchConfigRuleException"
// One or more AWS Config rules in the request are invalid. Verify that the
// rule names are correct and try again.
//
// * InvalidParameterValueException
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
// One or more of the specified parameters are invalid. Verify that your parameters
// are valid and try again.
//
// * InvalidNextTokenException
// * ErrCodeInvalidNextTokenException "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.
//
@ -717,11 +717,11 @@ func (c *ConfigService) DescribeConfigRulesRequest(input *DescribeConfigRulesInp
// API operation DescribeConfigRules for usage and error information.
//
// Returned Error Codes:
// * NoSuchConfigRuleException
// * ErrCodeNoSuchConfigRuleException "NoSuchConfigRuleException"
// One or more AWS Config rules in the request are invalid. Verify that the
// rule names are correct and try again.
//
// * InvalidNextTokenException
// * ErrCodeInvalidNextTokenException "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.
//
@ -792,7 +792,7 @@ func (c *ConfigService) DescribeConfigurationRecorderStatusRequest(input *Descri
// API operation DescribeConfigurationRecorderStatus for usage and error information.
//
// Returned Error Codes:
// * NoSuchConfigurationRecorderException
// * ErrCodeNoSuchConfigurationRecorderException "NoSuchConfigurationRecorderException"
// You have specified a configuration recorder that does not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigurationRecorderStatus
@ -862,7 +862,7 @@ func (c *ConfigService) DescribeConfigurationRecordersRequest(input *DescribeCon
// API operation DescribeConfigurationRecorders for usage and error information.
//
// Returned Error Codes:
// * NoSuchConfigurationRecorderException
// * ErrCodeNoSuchConfigurationRecorderException "NoSuchConfigurationRecorderException"
// You have specified a configuration recorder that does not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigurationRecorders
@ -931,7 +931,7 @@ func (c *ConfigService) DescribeDeliveryChannelStatusRequest(input *DescribeDeli
// API operation DescribeDeliveryChannelStatus for usage and error information.
//
// Returned Error Codes:
// * NoSuchDeliveryChannelException
// * ErrCodeNoSuchDeliveryChannelException "NoSuchDeliveryChannelException"
// You have specified a delivery channel that does not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeDeliveryChannelStatus
@ -1000,7 +1000,7 @@ func (c *ConfigService) DescribeDeliveryChannelsRequest(input *DescribeDeliveryC
// API operation DescribeDeliveryChannels for usage and error information.
//
// Returned Error Codes:
// * NoSuchDeliveryChannelException
// * ErrCodeNoSuchDeliveryChannelException "NoSuchDeliveryChannelException"
// You have specified a delivery channel that does not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeDeliveryChannels
@ -1067,15 +1067,15 @@ func (c *ConfigService) GetComplianceDetailsByConfigRuleRequest(input *GetCompli
// API operation GetComplianceDetailsByConfigRule for usage and error information.
//
// Returned Error Codes:
// * InvalidParameterValueException
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
// One or more of the specified parameters are invalid. Verify that your parameters
// are valid and try again.
//
// * InvalidNextTokenException
// * ErrCodeInvalidNextTokenException "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
// * ErrCodeNoSuchConfigRuleException "NoSuchConfigRuleException"
// One or more AWS Config rules in the request are invalid. Verify that the
// rule names are correct and try again.
//
@ -1143,7 +1143,7 @@ func (c *ConfigService) GetComplianceDetailsByResourceRequest(input *GetComplian
// API operation GetComplianceDetailsByResource for usage and error information.
//
// Returned Error Codes:
// * InvalidParameterValueException
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
// One or more of the specified parameters are invalid. Verify that your parameters
// are valid and try again.
//
@ -1272,7 +1272,7 @@ func (c *ConfigService) GetComplianceSummaryByResourceTypeRequest(input *GetComp
// API operation GetComplianceSummaryByResourceType for usage and error information.
//
// Returned Error Codes:
// * InvalidParameterValueException
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
// One or more of the specified parameters are invalid. Verify that your parameters
// are valid and try again.
//
@ -1356,25 +1356,25 @@ func (c *ConfigService) GetResourceConfigHistoryRequest(input *GetResourceConfig
// API operation GetResourceConfigHistory for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// The requested action is not valid.
//
// * InvalidTimeRangeException
// * ErrCodeInvalidTimeRangeException "InvalidTimeRangeException"
// The specified time range is not valid. The earlier time is not chronologically
// before the later time.
//
// * InvalidLimitException
// * ErrCodeInvalidLimitException "InvalidLimitException"
// The specified limit is outside the allowable range.
//
// * InvalidNextTokenException
// * ErrCodeInvalidNextTokenException "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
// * ErrCodeNoAvailableConfigurationRecorderException "NoAvailableConfigurationRecorderException"
// There are no configuration recorders available to provide the role needed
// to describe your resources. Create a configuration recorder.
//
// * ResourceNotDiscoveredException
// * ErrCodeResourceNotDiscoveredException "ResourceNotDiscoveredException"
// You have specified a resource that is either unknown or has not been discovered.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetResourceConfigHistory
@ -1477,17 +1477,17 @@ func (c *ConfigService) ListDiscoveredResourcesRequest(input *ListDiscoveredReso
// API operation ListDiscoveredResources for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// The requested action is not valid.
//
// * InvalidLimitException
// * ErrCodeInvalidLimitException "InvalidLimitException"
// The specified limit is outside the allowable range.
//
// * InvalidNextTokenException
// * ErrCodeInvalidNextTokenException "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
// * ErrCodeNoAvailableConfigurationRecorderException "NoAvailableConfigurationRecorderException"
// There are no configuration recorders available to provide the role needed
// to describe your resources. Create a configuration recorder.
//
@ -1589,20 +1589,20 @@ func (c *ConfigService) PutConfigRuleRequest(input *PutConfigRuleInput) (req *re
// API operation PutConfigRule for usage and error information.
//
// Returned Error Codes:
// * InvalidParameterValueException
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
// One or more of the specified parameters are invalid. Verify that your parameters
// are valid and try again.
//
// * MaxNumberOfConfigRulesExceededException
// * ErrCodeMaxNumberOfConfigRulesExceededException "MaxNumberOfConfigRulesExceededException"
// Failed to add the AWS Config rule because the account already contains the
// maximum number of 50 rules. Consider deleting any deactivated rules before
// adding new rules.
//
// * ResourceInUseException
// * ErrCodeResourceInUseException "ResourceInUseException"
// The rule is currently being deleted or the rule is deleting your evaluation
// results. Try your request again later.
//
// * InsufficientPermissionsException
// * ErrCodeInsufficientPermissionsException "InsufficientPermissionsException"
// Indicates one of the following errors:
//
// * The rule cannot be created because the IAM role assigned to AWS Config
@ -1611,7 +1611,7 @@ func (c *ConfigService) PutConfigRuleRequest(input *PutConfigRuleInput) (req *re
// * The AWS Lambda function cannot be invoked. Check the function ARN, and
// check the function's permissions.
//
// * NoAvailableConfigurationRecorderException
// * ErrCodeNoAvailableConfigurationRecorderException "NoAvailableConfigurationRecorderException"
// There are no configuration recorders available to provide the role needed
// to describe your resources. Create a configuration recorder.
//
@ -1689,16 +1689,16 @@ func (c *ConfigService) PutConfigurationRecorderRequest(input *PutConfigurationR
// API operation PutConfigurationRecorder for usage and error information.
//
// Returned Error Codes:
// * MaxNumberOfConfigurationRecordersExceededException
// * ErrCodeMaxNumberOfConfigurationRecordersExceededException "MaxNumberOfConfigurationRecordersExceededException"
// You have reached the limit on the number of recorders you can create.
//
// * InvalidConfigurationRecorderNameException
// * ErrCodeInvalidConfigurationRecorderNameException "InvalidConfigurationRecorderNameException"
// You have provided a configuration recorder name that is not valid.
//
// * InvalidRoleException
// * ErrCodeInvalidRoleException "InvalidRoleException"
// You have provided a null or empty role ARN.
//
// * InvalidRecordingGroupException
// * ErrCodeInvalidRecordingGroupException "InvalidRecordingGroupException"
// AWS Config throws an exception if the recording group does not contain a
// valid list of resource types. Invalid values could also be incorrectly formatted.
//
@ -1779,26 +1779,26 @@ func (c *ConfigService) PutDeliveryChannelRequest(input *PutDeliveryChannelInput
// API operation PutDeliveryChannel for usage and error information.
//
// Returned Error Codes:
// * MaxNumberOfDeliveryChannelsExceededException
// * ErrCodeMaxNumberOfDeliveryChannelsExceededException "MaxNumberOfDeliveryChannelsExceededException"
// You have reached the limit on the number of delivery channels you can create.
//
// * NoAvailableConfigurationRecorderException
// * ErrCodeNoAvailableConfigurationRecorderException "NoAvailableConfigurationRecorderException"
// There are no configuration recorders available to provide the role needed
// to describe your resources. Create a configuration recorder.
//
// * InvalidDeliveryChannelNameException
// * ErrCodeInvalidDeliveryChannelNameException "InvalidDeliveryChannelNameException"
// The specified delivery channel name is not valid.
//
// * NoSuchBucketException
// * ErrCodeNoSuchBucketException "NoSuchBucketException"
// The specified Amazon S3 bucket does not exist.
//
// * InvalidS3KeyPrefixException
// * ErrCodeInvalidS3KeyPrefixException "InvalidS3KeyPrefixException"
// The specified Amazon S3 key prefix is not valid.
//
// * InvalidSNSTopicARNException
// * ErrCodeInvalidSNSTopicARNException "InvalidSNSTopicARNException"
// The specified Amazon SNS topic does not exist.
//
// * InsufficientDeliveryPolicyException
// * ErrCodeInsufficientDeliveryPolicyException "InsufficientDeliveryPolicyException"
// Your Amazon S3 bucket policy does not permit AWS Config to write to it.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutDeliveryChannel
@ -1865,14 +1865,14 @@ func (c *ConfigService) PutEvaluationsRequest(input *PutEvaluationsInput) (req *
// API operation PutEvaluations for usage and error information.
//
// Returned Error Codes:
// * InvalidParameterValueException
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
// One or more of the specified parameters are invalid. Verify that your parameters
// are valid and try again.
//
// * InvalidResultTokenException
// * ErrCodeInvalidResultTokenException "InvalidResultTokenException"
// The speNexcified token is invalid.
//
// * NoSuchConfigRuleException
// * ErrCodeNoSuchConfigRuleException "NoSuchConfigRuleException"
// One or more AWS Config rules in the request are invalid. Verify that the
// rule names are correct and try again.
//
@ -1967,19 +1967,19 @@ func (c *ConfigService) StartConfigRulesEvaluationRequest(input *StartConfigRule
// API operation StartConfigRulesEvaluation for usage and error information.
//
// Returned Error Codes:
// * NoSuchConfigRuleException
// * ErrCodeNoSuchConfigRuleException "NoSuchConfigRuleException"
// One or more AWS Config rules in the request are invalid. Verify that the
// rule names are correct and try again.
//
// * LimitExceededException
// * ErrCodeLimitExceededException "LimitExceededException"
// This exception is thrown if an evaluation is in progress or if you call the
// StartConfigRulesEvaluation API more than once per minute.
//
// * ResourceInUseException
// * ErrCodeResourceInUseException "ResourceInUseException"
// The rule is currently being deleted or the rule is deleting your evaluation
// results. Try your request again later.
//
// * InvalidParameterValueException
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
// One or more of the specified parameters are invalid. Verify that your parameters
// are valid and try again.
//
@ -2051,10 +2051,10 @@ func (c *ConfigService) StartConfigurationRecorderRequest(input *StartConfigurat
// API operation StartConfigurationRecorder for usage and error information.
//
// Returned Error Codes:
// * NoSuchConfigurationRecorderException
// * ErrCodeNoSuchConfigurationRecorderException "NoSuchConfigurationRecorderException"
// You have specified a configuration recorder that does not exist.
//
// * NoAvailableDeliveryChannelException
// * ErrCodeNoAvailableDeliveryChannelException "NoAvailableDeliveryChannelException"
// There is no delivery channel available to record configurations.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/StartConfigurationRecorder
@ -2122,7 +2122,7 @@ func (c *ConfigService) StopConfigurationRecorderRequest(input *StopConfiguratio
// API operation StopConfigurationRecorder for usage and error information.
//
// Returned Error Codes:
// * NoSuchConfigurationRecorderException
// * ErrCodeNoSuchConfigurationRecorderException "NoSuchConfigurationRecorderException"
// You have specified a configuration recorder that does not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/StopConfigurationRecorder

View File

@ -0,0 +1,191 @@
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
package configservice
const (
// ErrCodeInsufficientDeliveryPolicyException for service response error code
// "InsufficientDeliveryPolicyException".
//
// Your Amazon S3 bucket policy does not permit AWS Config to write to it.
ErrCodeInsufficientDeliveryPolicyException = "InsufficientDeliveryPolicyException"
// ErrCodeInsufficientPermissionsException for service response error code
// "InsufficientPermissionsException".
//
// Indicates one of the following errors:
//
// * The rule cannot be created because the IAM role assigned to AWS Config
// lacks permissions to perform the config:Put* action.
//
// * The AWS Lambda function cannot be invoked. Check the function ARN, and
// check the function's permissions.
ErrCodeInsufficientPermissionsException = "InsufficientPermissionsException"
// ErrCodeInvalidConfigurationRecorderNameException for service response error code
// "InvalidConfigurationRecorderNameException".
//
// You have provided a configuration recorder name that is not valid.
ErrCodeInvalidConfigurationRecorderNameException = "InvalidConfigurationRecorderNameException"
// ErrCodeInvalidDeliveryChannelNameException for service response error code
// "InvalidDeliveryChannelNameException".
//
// The specified delivery channel name is not valid.
ErrCodeInvalidDeliveryChannelNameException = "InvalidDeliveryChannelNameException"
// ErrCodeInvalidLimitException for service response error code
// "InvalidLimitException".
//
// The specified limit is outside the allowable range.
ErrCodeInvalidLimitException = "InvalidLimitException"
// ErrCodeInvalidNextTokenException for service response error code
// "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.
ErrCodeInvalidNextTokenException = "InvalidNextTokenException"
// ErrCodeInvalidParameterValueException for service response error code
// "InvalidParameterValueException".
//
// One or more of the specified parameters are invalid. Verify that your parameters
// are valid and try again.
ErrCodeInvalidParameterValueException = "InvalidParameterValueException"
// ErrCodeInvalidRecordingGroupException for service response error code
// "InvalidRecordingGroupException".
//
// AWS Config throws an exception if the recording group does not contain a
// valid list of resource types. Invalid values could also be incorrectly formatted.
ErrCodeInvalidRecordingGroupException = "InvalidRecordingGroupException"
// ErrCodeInvalidResultTokenException for service response error code
// "InvalidResultTokenException".
//
// The speNexcified token is invalid.
ErrCodeInvalidResultTokenException = "InvalidResultTokenException"
// ErrCodeInvalidRoleException for service response error code
// "InvalidRoleException".
//
// You have provided a null or empty role ARN.
ErrCodeInvalidRoleException = "InvalidRoleException"
// ErrCodeInvalidS3KeyPrefixException for service response error code
// "InvalidS3KeyPrefixException".
//
// The specified Amazon S3 key prefix is not valid.
ErrCodeInvalidS3KeyPrefixException = "InvalidS3KeyPrefixException"
// ErrCodeInvalidSNSTopicARNException for service response error code
// "InvalidSNSTopicARNException".
//
// The specified Amazon SNS topic does not exist.
ErrCodeInvalidSNSTopicARNException = "InvalidSNSTopicARNException"
// ErrCodeInvalidTimeRangeException for service response error code
// "InvalidTimeRangeException".
//
// The specified time range is not valid. The earlier time is not chronologically
// before the later time.
ErrCodeInvalidTimeRangeException = "InvalidTimeRangeException"
// ErrCodeLastDeliveryChannelDeleteFailedException for service response error code
// "LastDeliveryChannelDeleteFailedException".
//
// You cannot delete the delivery channel you specified because the configuration
// recorder is running.
ErrCodeLastDeliveryChannelDeleteFailedException = "LastDeliveryChannelDeleteFailedException"
// ErrCodeLimitExceededException for service response error code
// "LimitExceededException".
//
// This exception is thrown if an evaluation is in progress or if you call the
// StartConfigRulesEvaluation API more than once per minute.
ErrCodeLimitExceededException = "LimitExceededException"
// ErrCodeMaxNumberOfConfigRulesExceededException for service response error code
// "MaxNumberOfConfigRulesExceededException".
//
// Failed to add the AWS Config rule because the account already contains the
// maximum number of 50 rules. Consider deleting any deactivated rules before
// adding new rules.
ErrCodeMaxNumberOfConfigRulesExceededException = "MaxNumberOfConfigRulesExceededException"
// ErrCodeMaxNumberOfConfigurationRecordersExceededException for service response error code
// "MaxNumberOfConfigurationRecordersExceededException".
//
// You have reached the limit on the number of recorders you can create.
ErrCodeMaxNumberOfConfigurationRecordersExceededException = "MaxNumberOfConfigurationRecordersExceededException"
// ErrCodeMaxNumberOfDeliveryChannelsExceededException for service response error code
// "MaxNumberOfDeliveryChannelsExceededException".
//
// You have reached the limit on the number of delivery channels you can create.
ErrCodeMaxNumberOfDeliveryChannelsExceededException = "MaxNumberOfDeliveryChannelsExceededException"
// ErrCodeNoAvailableConfigurationRecorderException for service response error code
// "NoAvailableConfigurationRecorderException".
//
// There are no configuration recorders available to provide the role needed
// to describe your resources. Create a configuration recorder.
ErrCodeNoAvailableConfigurationRecorderException = "NoAvailableConfigurationRecorderException"
// ErrCodeNoAvailableDeliveryChannelException for service response error code
// "NoAvailableDeliveryChannelException".
//
// There is no delivery channel available to record configurations.
ErrCodeNoAvailableDeliveryChannelException = "NoAvailableDeliveryChannelException"
// ErrCodeNoRunningConfigurationRecorderException for service response error code
// "NoRunningConfigurationRecorderException".
//
// There is no configuration recorder running.
ErrCodeNoRunningConfigurationRecorderException = "NoRunningConfigurationRecorderException"
// ErrCodeNoSuchBucketException for service response error code
// "NoSuchBucketException".
//
// The specified Amazon S3 bucket does not exist.
ErrCodeNoSuchBucketException = "NoSuchBucketException"
// ErrCodeNoSuchConfigRuleException for service response error code
// "NoSuchConfigRuleException".
//
// One or more AWS Config rules in the request are invalid. Verify that the
// rule names are correct and try again.
ErrCodeNoSuchConfigRuleException = "NoSuchConfigRuleException"
// ErrCodeNoSuchConfigurationRecorderException for service response error code
// "NoSuchConfigurationRecorderException".
//
// You have specified a configuration recorder that does not exist.
ErrCodeNoSuchConfigurationRecorderException = "NoSuchConfigurationRecorderException"
// ErrCodeNoSuchDeliveryChannelException for service response error code
// "NoSuchDeliveryChannelException".
//
// You have specified a delivery channel that does not exist.
ErrCodeNoSuchDeliveryChannelException = "NoSuchDeliveryChannelException"
// ErrCodeResourceInUseException for service response error code
// "ResourceInUseException".
//
// The rule is currently being deleted or the rule is deleting your evaluation
// results. Try your request again later.
ErrCodeResourceInUseException = "ResourceInUseException"
// ErrCodeResourceNotDiscoveredException for service response error code
// "ResourceNotDiscoveredException".
//
// You have specified a resource that is either unknown or has not been discovered.
ErrCodeResourceNotDiscoveredException = "ResourceNotDiscoveredException"
// ErrCodeValidationException for service response error code
// "ValidationException".
//
// The requested action is not valid.
ErrCodeValidationException = "ValidationException"
)

View File

@ -69,7 +69,7 @@ func (c *DatabaseMigrationService) AddTagsToResourceRequest(input *AddTagsToReso
// API operation AddTagsToResource for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundFault
// * ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
// The resource could not be found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/AddTagsToResource
@ -134,23 +134,23 @@ func (c *DatabaseMigrationService) CreateEndpointRequest(input *CreateEndpointIn
// API operation CreateEndpoint for usage and error information.
//
// Returned Error Codes:
// * KMSKeyNotAccessibleFault
// * ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault"
// AWS DMS cannot access the KMS key.
//
// * ResourceAlreadyExistsFault
// * ErrCodeResourceAlreadyExistsFault "ResourceAlreadyExistsFault"
// The resource you are attempting to create already exists.
//
// * ResourceQuotaExceededFault
// * ErrCodeResourceQuotaExceededFault "ResourceQuotaExceededFault"
// The quota for this resource quota has been exceeded.
//
// * InvalidResourceStateFault
// * ErrCodeInvalidResourceStateFault "InvalidResourceStateFault"
// The resource is in a state that prevents it from being used for database
// migration.
//
// * ResourceNotFoundFault
// * ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
// The resource could not be found.
//
// * AccessDeniedFault
// * ErrCodeAccessDeniedFault "AccessDeniedFault"
// AWS DMS was denied access to the endpoint.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateEndpoint
@ -215,36 +215,36 @@ func (c *DatabaseMigrationService) CreateReplicationInstanceRequest(input *Creat
// API operation CreateReplicationInstance for usage and error information.
//
// Returned Error Codes:
// * AccessDeniedFault
// * ErrCodeAccessDeniedFault "AccessDeniedFault"
// AWS DMS was denied access to the endpoint.
//
// * ResourceAlreadyExistsFault
// * ErrCodeResourceAlreadyExistsFault "ResourceAlreadyExistsFault"
// The resource you are attempting to create already exists.
//
// * InsufficientResourceCapacityFault
// * ErrCodeInsufficientResourceCapacityFault "InsufficientResourceCapacityFault"
// There are not enough resources allocated to the database migration.
//
// * ResourceQuotaExceededFault
// * ErrCodeResourceQuotaExceededFault "ResourceQuotaExceededFault"
// The quota for this resource quota has been exceeded.
//
// * StorageQuotaExceededFault
// * ErrCodeStorageQuotaExceededFault "StorageQuotaExceededFault"
// The storage quota has been exceeded.
//
// * ResourceNotFoundFault
// * ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
// The resource could not be found.
//
// * ReplicationSubnetGroupDoesNotCoverEnoughAZs
// * ErrCodeReplicationSubnetGroupDoesNotCoverEnoughAZs "ReplicationSubnetGroupDoesNotCoverEnoughAZs"
// The replication subnet group does not cover enough Availability Zones (AZs).
// Edit the replication subnet group and add more AZs.
//
// * InvalidResourceStateFault
// * ErrCodeInvalidResourceStateFault "InvalidResourceStateFault"
// The resource is in a state that prevents it from being used for database
// migration.
//
// * InvalidSubnet
// * ErrCodeInvalidSubnet "InvalidSubnet"
// The subnet provided is invalid.
//
// * KMSKeyNotAccessibleFault
// * ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault"
// AWS DMS cannot access the KMS key.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateReplicationInstance
@ -309,23 +309,23 @@ func (c *DatabaseMigrationService) CreateReplicationSubnetGroupRequest(input *Cr
// API operation CreateReplicationSubnetGroup for usage and error information.
//
// Returned Error Codes:
// * AccessDeniedFault
// * ErrCodeAccessDeniedFault "AccessDeniedFault"
// AWS DMS was denied access to the endpoint.
//
// * ResourceAlreadyExistsFault
// * ErrCodeResourceAlreadyExistsFault "ResourceAlreadyExistsFault"
// The resource you are attempting to create already exists.
//
// * ResourceNotFoundFault
// * ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
// The resource could not be found.
//
// * ResourceQuotaExceededFault
// * ErrCodeResourceQuotaExceededFault "ResourceQuotaExceededFault"
// The quota for this resource quota has been exceeded.
//
// * ReplicationSubnetGroupDoesNotCoverEnoughAZs
// * ErrCodeReplicationSubnetGroupDoesNotCoverEnoughAZs "ReplicationSubnetGroupDoesNotCoverEnoughAZs"
// The replication subnet group does not cover enough Availability Zones (AZs).
// Edit the replication subnet group and add more AZs.
//
// * InvalidSubnet
// * ErrCodeInvalidSubnet "InvalidSubnet"
// The subnet provided is invalid.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateReplicationSubnetGroup
@ -390,20 +390,20 @@ func (c *DatabaseMigrationService) CreateReplicationTaskRequest(input *CreateRep
// API operation CreateReplicationTask for usage and error information.
//
// Returned Error Codes:
// * InvalidResourceStateFault
// * ErrCodeInvalidResourceStateFault "InvalidResourceStateFault"
// The resource is in a state that prevents it from being used for database
// migration.
//
// * ResourceAlreadyExistsFault
// * ErrCodeResourceAlreadyExistsFault "ResourceAlreadyExistsFault"
// The resource you are attempting to create already exists.
//
// * ResourceNotFoundFault
// * ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
// The resource could not be found.
//
// * KMSKeyNotAccessibleFault
// * ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault"
// AWS DMS cannot access the KMS key.
//
// * ResourceQuotaExceededFault
// * ErrCodeResourceQuotaExceededFault "ResourceQuotaExceededFault"
// The quota for this resource quota has been exceeded.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateReplicationTask
@ -468,10 +468,10 @@ func (c *DatabaseMigrationService) DeleteCertificateRequest(input *DeleteCertifi
// API operation DeleteCertificate for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundFault
// * ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
// The resource could not be found.
//
// * InvalidResourceStateFault
// * ErrCodeInvalidResourceStateFault "InvalidResourceStateFault"
// The resource is in a state that prevents it from being used for database
// migration.
//
@ -540,10 +540,10 @@ func (c *DatabaseMigrationService) DeleteEndpointRequest(input *DeleteEndpointIn
// API operation DeleteEndpoint for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundFault
// * ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
// The resource could not be found.
//
// * InvalidResourceStateFault
// * ErrCodeInvalidResourceStateFault "InvalidResourceStateFault"
// The resource is in a state that prevents it from being used for database
// migration.
//
@ -612,11 +612,11 @@ func (c *DatabaseMigrationService) DeleteReplicationInstanceRequest(input *Delet
// API operation DeleteReplicationInstance for usage and error information.
//
// Returned Error Codes:
// * InvalidResourceStateFault
// * ErrCodeInvalidResourceStateFault "InvalidResourceStateFault"
// The resource is in a state that prevents it from being used for database
// migration.
//
// * ResourceNotFoundFault
// * ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
// The resource could not be found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteReplicationInstance
@ -681,11 +681,11 @@ func (c *DatabaseMigrationService) DeleteReplicationSubnetGroupRequest(input *De
// API operation DeleteReplicationSubnetGroup for usage and error information.
//
// Returned Error Codes:
// * InvalidResourceStateFault
// * ErrCodeInvalidResourceStateFault "InvalidResourceStateFault"
// The resource is in a state that prevents it from being used for database
// migration.
//
// * ResourceNotFoundFault
// * ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
// The resource could not be found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteReplicationSubnetGroup
@ -750,10 +750,10 @@ func (c *DatabaseMigrationService) DeleteReplicationTaskRequest(input *DeleteRep
// API operation DeleteReplicationTask for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundFault
// * ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
// The resource could not be found.
//
// * InvalidResourceStateFault
// * ErrCodeInvalidResourceStateFault "InvalidResourceStateFault"
// The resource is in a state that prevents it from being used for database
// migration.
//
@ -884,7 +884,7 @@ func (c *DatabaseMigrationService) DescribeCertificatesRequest(input *DescribeCe
// API operation DescribeCertificates for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundFault
// * ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
// The resource could not be found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeCertificates
@ -950,7 +950,7 @@ func (c *DatabaseMigrationService) DescribeConnectionsRequest(input *DescribeCon
// API operation DescribeConnections for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundFault
// * ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
// The resource could not be found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeConnections
@ -1075,7 +1075,7 @@ func (c *DatabaseMigrationService) DescribeEndpointsRequest(input *DescribeEndpo
// API operation DescribeEndpoints for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundFault
// * ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
// The resource could not be found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEndpoints
@ -1201,11 +1201,11 @@ func (c *DatabaseMigrationService) DescribeRefreshSchemasStatusRequest(input *De
// API operation DescribeRefreshSchemasStatus for usage and error information.
//
// Returned Error Codes:
// * InvalidResourceStateFault
// * ErrCodeInvalidResourceStateFault "InvalidResourceStateFault"
// The resource is in a state that prevents it from being used for database
// migration.
//
// * ResourceNotFoundFault
// * ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
// The resource could not be found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeRefreshSchemasStatus
@ -1271,7 +1271,7 @@ func (c *DatabaseMigrationService) DescribeReplicationInstancesRequest(input *De
// API operation DescribeReplicationInstances for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundFault
// * ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
// The resource could not be found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationInstances
@ -1336,7 +1336,7 @@ func (c *DatabaseMigrationService) DescribeReplicationSubnetGroupsRequest(input
// API operation DescribeReplicationSubnetGroups for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundFault
// * ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
// The resource could not be found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationSubnetGroups
@ -1402,7 +1402,7 @@ func (c *DatabaseMigrationService) DescribeReplicationTasksRequest(input *Descri
// API operation DescribeReplicationTasks for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundFault
// * ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
// The resource could not be found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationTasks
@ -1467,11 +1467,11 @@ func (c *DatabaseMigrationService) DescribeSchemasRequest(input *DescribeSchemas
// API operation DescribeSchemas for usage and error information.
//
// Returned Error Codes:
// * InvalidResourceStateFault
// * ErrCodeInvalidResourceStateFault "InvalidResourceStateFault"
// The resource is in a state that prevents it from being used for database
// migration.
//
// * ResourceNotFoundFault
// * ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
// The resource could not be found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeSchemas
@ -1537,10 +1537,10 @@ func (c *DatabaseMigrationService) DescribeTableStatisticsRequest(input *Describ
// API operation DescribeTableStatistics for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundFault
// * ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
// The resource could not be found.
//
// * InvalidResourceStateFault
// * ErrCodeInvalidResourceStateFault "InvalidResourceStateFault"
// The resource is in a state that prevents it from being used for database
// migration.
//
@ -1606,10 +1606,10 @@ func (c *DatabaseMigrationService) ImportCertificateRequest(input *ImportCertifi
// API operation ImportCertificate for usage and error information.
//
// Returned Error Codes:
// * ResourceAlreadyExistsFault
// * ErrCodeResourceAlreadyExistsFault "ResourceAlreadyExistsFault"
// The resource you are attempting to create already exists.
//
// * InvalidCertificateFault
// * ErrCodeInvalidCertificateFault "InvalidCertificateFault"
// The certificate was not valid.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ImportCertificate
@ -1674,7 +1674,7 @@ func (c *DatabaseMigrationService) ListTagsForResourceRequest(input *ListTagsFor
// API operation ListTagsForResource for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundFault
// * ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
// The resource could not be found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ListTagsForResource
@ -1739,17 +1739,17 @@ func (c *DatabaseMigrationService) ModifyEndpointRequest(input *ModifyEndpointIn
// API operation ModifyEndpoint for usage and error information.
//
// Returned Error Codes:
// * InvalidResourceStateFault
// * ErrCodeInvalidResourceStateFault "InvalidResourceStateFault"
// The resource is in a state that prevents it from being used for database
// migration.
//
// * ResourceNotFoundFault
// * ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
// The resource could not be found.
//
// * ResourceAlreadyExistsFault
// * ErrCodeResourceAlreadyExistsFault "ResourceAlreadyExistsFault"
// The resource you are attempting to create already exists.
//
// * KMSKeyNotAccessibleFault
// * ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault"
// AWS DMS cannot access the KMS key.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyEndpoint
@ -1818,23 +1818,23 @@ func (c *DatabaseMigrationService) ModifyReplicationInstanceRequest(input *Modif
// API operation ModifyReplicationInstance for usage and error information.
//
// Returned Error Codes:
// * InvalidResourceStateFault
// * ErrCodeInvalidResourceStateFault "InvalidResourceStateFault"
// The resource is in a state that prevents it from being used for database
// migration.
//
// * ResourceAlreadyExistsFault
// * ErrCodeResourceAlreadyExistsFault "ResourceAlreadyExistsFault"
// The resource you are attempting to create already exists.
//
// * ResourceNotFoundFault
// * ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
// The resource could not be found.
//
// * InsufficientResourceCapacityFault
// * ErrCodeInsufficientResourceCapacityFault "InsufficientResourceCapacityFault"
// There are not enough resources allocated to the database migration.
//
// * StorageQuotaExceededFault
// * ErrCodeStorageQuotaExceededFault "StorageQuotaExceededFault"
// The storage quota has been exceeded.
//
// * UpgradeDependencyFailureFault
// * ErrCodeUpgradeDependencyFailureFault "UpgradeDependencyFailureFault"
// An upgrade dependency is preventing the database migration.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyReplicationInstance
@ -1899,23 +1899,23 @@ func (c *DatabaseMigrationService) ModifyReplicationSubnetGroupRequest(input *Mo
// API operation ModifyReplicationSubnetGroup for usage and error information.
//
// Returned Error Codes:
// * AccessDeniedFault
// * ErrCodeAccessDeniedFault "AccessDeniedFault"
// AWS DMS was denied access to the endpoint.
//
// * ResourceNotFoundFault
// * ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
// The resource could not be found.
//
// * ResourceQuotaExceededFault
// * ErrCodeResourceQuotaExceededFault "ResourceQuotaExceededFault"
// The quota for this resource quota has been exceeded.
//
// * SubnetAlreadyInUse
// * ErrCodeSubnetAlreadyInUse "SubnetAlreadyInUse"
// The specified subnet is already in use.
//
// * ReplicationSubnetGroupDoesNotCoverEnoughAZs
// * ErrCodeReplicationSubnetGroupDoesNotCoverEnoughAZs "ReplicationSubnetGroupDoesNotCoverEnoughAZs"
// The replication subnet group does not cover enough Availability Zones (AZs).
// Edit the replication subnet group and add more AZs.
//
// * InvalidSubnet
// * ErrCodeInvalidSubnet "InvalidSubnet"
// The subnet provided is invalid.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyReplicationSubnetGroup
@ -1983,17 +1983,17 @@ func (c *DatabaseMigrationService) ModifyReplicationTaskRequest(input *ModifyRep
// API operation ModifyReplicationTask for usage and error information.
//
// Returned Error Codes:
// * InvalidResourceStateFault
// * ErrCodeInvalidResourceStateFault "InvalidResourceStateFault"
// The resource is in a state that prevents it from being used for database
// migration.
//
// * ResourceNotFoundFault
// * ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
// The resource could not be found.
//
// * ResourceAlreadyExistsFault
// * ErrCodeResourceAlreadyExistsFault "ResourceAlreadyExistsFault"
// The resource you are attempting to create already exists.
//
// * KMSKeyNotAccessibleFault
// * ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault"
// AWS DMS cannot access the KMS key.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyReplicationTask
@ -2060,17 +2060,17 @@ func (c *DatabaseMigrationService) RefreshSchemasRequest(input *RefreshSchemasIn
// API operation RefreshSchemas for usage and error information.
//
// Returned Error Codes:
// * InvalidResourceStateFault
// * ErrCodeInvalidResourceStateFault "InvalidResourceStateFault"
// The resource is in a state that prevents it from being used for database
// migration.
//
// * ResourceNotFoundFault
// * ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
// The resource could not be found.
//
// * KMSKeyNotAccessibleFault
// * ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault"
// AWS DMS cannot access the KMS key.
//
// * ResourceQuotaExceededFault
// * ErrCodeResourceQuotaExceededFault "ResourceQuotaExceededFault"
// The quota for this resource quota has been exceeded.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/RefreshSchemas
@ -2135,7 +2135,7 @@ func (c *DatabaseMigrationService) RemoveTagsFromResourceRequest(input *RemoveTa
// API operation RemoveTagsFromResource for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundFault
// * ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
// The resource could not be found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/RemoveTagsFromResource
@ -2200,10 +2200,10 @@ func (c *DatabaseMigrationService) StartReplicationTaskRequest(input *StartRepli
// API operation StartReplicationTask for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundFault
// * ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
// The resource could not be found.
//
// * InvalidResourceStateFault
// * ErrCodeInvalidResourceStateFault "InvalidResourceStateFault"
// The resource is in a state that prevents it from being used for database
// migration.
//
@ -2269,10 +2269,10 @@ func (c *DatabaseMigrationService) StopReplicationTaskRequest(input *StopReplica
// API operation StopReplicationTask for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundFault
// * ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
// The resource could not be found.
//
// * InvalidResourceStateFault
// * ErrCodeInvalidResourceStateFault "InvalidResourceStateFault"
// The resource is in a state that prevents it from being used for database
// migration.
//
@ -2338,17 +2338,17 @@ func (c *DatabaseMigrationService) TestConnectionRequest(input *TestConnectionIn
// API operation TestConnection for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundFault
// * ErrCodeResourceNotFoundFault "ResourceNotFoundFault"
// The resource could not be found.
//
// * InvalidResourceStateFault
// * ErrCodeInvalidResourceStateFault "InvalidResourceStateFault"
// The resource is in a state that prevents it from being used for database
// migration.
//
// * KMSKeyNotAccessibleFault
// * ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault"
// AWS DMS cannot access the KMS key.
//
// * ResourceQuotaExceededFault
// * ErrCodeResourceQuotaExceededFault "ResourceQuotaExceededFault"
// The quota for this resource quota has been exceeded.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/TestConnection

View File

@ -0,0 +1,86 @@
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
package databasemigrationservice
const (
// ErrCodeAccessDeniedFault for service response error code
// "AccessDeniedFault".
//
// AWS DMS was denied access to the endpoint.
ErrCodeAccessDeniedFault = "AccessDeniedFault"
// ErrCodeInsufficientResourceCapacityFault for service response error code
// "InsufficientResourceCapacityFault".
//
// There are not enough resources allocated to the database migration.
ErrCodeInsufficientResourceCapacityFault = "InsufficientResourceCapacityFault"
// ErrCodeInvalidCertificateFault for service response error code
// "InvalidCertificateFault".
//
// The certificate was not valid.
ErrCodeInvalidCertificateFault = "InvalidCertificateFault"
// ErrCodeInvalidResourceStateFault for service response error code
// "InvalidResourceStateFault".
//
// The resource is in a state that prevents it from being used for database
// migration.
ErrCodeInvalidResourceStateFault = "InvalidResourceStateFault"
// ErrCodeInvalidSubnet for service response error code
// "InvalidSubnet".
//
// The subnet provided is invalid.
ErrCodeInvalidSubnet = "InvalidSubnet"
// ErrCodeKMSKeyNotAccessibleFault for service response error code
// "KMSKeyNotAccessibleFault".
//
// AWS DMS cannot access the KMS key.
ErrCodeKMSKeyNotAccessibleFault = "KMSKeyNotAccessibleFault"
// ErrCodeReplicationSubnetGroupDoesNotCoverEnoughAZs for service response error code
// "ReplicationSubnetGroupDoesNotCoverEnoughAZs".
//
// The replication subnet group does not cover enough Availability Zones (AZs).
// Edit the replication subnet group and add more AZs.
ErrCodeReplicationSubnetGroupDoesNotCoverEnoughAZs = "ReplicationSubnetGroupDoesNotCoverEnoughAZs"
// ErrCodeResourceAlreadyExistsFault for service response error code
// "ResourceAlreadyExistsFault".
//
// The resource you are attempting to create already exists.
ErrCodeResourceAlreadyExistsFault = "ResourceAlreadyExistsFault"
// ErrCodeResourceNotFoundFault for service response error code
// "ResourceNotFoundFault".
//
// The resource could not be found.
ErrCodeResourceNotFoundFault = "ResourceNotFoundFault"
// ErrCodeResourceQuotaExceededFault for service response error code
// "ResourceQuotaExceededFault".
//
// The quota for this resource quota has been exceeded.
ErrCodeResourceQuotaExceededFault = "ResourceQuotaExceededFault"
// ErrCodeStorageQuotaExceededFault for service response error code
// "StorageQuotaExceededFault".
//
// The storage quota has been exceeded.
ErrCodeStorageQuotaExceededFault = "StorageQuotaExceededFault"
// ErrCodeSubnetAlreadyInUse for service response error code
// "SubnetAlreadyInUse".
//
// The specified subnet is already in use.
ErrCodeSubnetAlreadyInUse = "SubnetAlreadyInUse"
// ErrCodeUpgradeDependencyFailureFault for service response error code
// "UpgradeDependencyFailureFault".
//
// An upgrade dependency is preventing the database migration.
ErrCodeUpgradeDependencyFailureFault = "UpgradeDependencyFailureFault"
)

View File

@ -75,26 +75,26 @@ func (c *DirectoryService) AddIpRoutesRequest(input *AddIpRoutesInput) (req *req
// API operation AddIpRoutes for usage and error information.
//
// Returned Error Codes:
// * EntityDoesNotExistException
// * ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
// The specified entity could not be found.
//
// * EntityAlreadyExistsException
// * ErrCodeEntityAlreadyExistsException "EntityAlreadyExistsException"
// The specified entity already exists.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// One or more parameters are not valid.
//
// * DirectoryUnavailableException
// * ErrCodeDirectoryUnavailableException "DirectoryUnavailableException"
// The specified directory is unavailable or could not be found.
//
// * IpRouteLimitExceededException
// * ErrCodeIpRouteLimitExceededException "IpRouteLimitExceededException"
// The maximum allowed number of IP addresses was exceeded. The default limit
// is 100 IP address blocks.
//
// * ClientException
// * ErrCodeClientException "ClientException"
// A client exception has occurred.
//
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// An exception has occurred in AWS Directory Service.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/AddIpRoutes
@ -161,19 +161,19 @@ func (c *DirectoryService) AddTagsToResourceRequest(input *AddTagsToResourceInpu
// API operation AddTagsToResource for usage and error information.
//
// Returned Error Codes:
// * EntityDoesNotExistException
// * ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
// The specified entity could not be found.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// One or more parameters are not valid.
//
// * TagLimitExceededException
// * ErrCodeTagLimitExceededException "TagLimitExceededException"
// The maximum allowed number of tags was exceeded.
//
// * ClientException
// * ErrCodeClientException "ClientException"
// A client exception has occurred.
//
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// An exception has occurred in AWS Directory Service.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/AddTagsToResource
@ -241,13 +241,13 @@ func (c *DirectoryService) CancelSchemaExtensionRequest(input *CancelSchemaExten
// API operation CancelSchemaExtension for usage and error information.
//
// Returned Error Codes:
// * EntityDoesNotExistException
// * ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
// The specified entity could not be found.
//
// * ClientException
// * ErrCodeClientException "ClientException"
// A client exception has occurred.
//
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// An exception has occurred in AWS Directory Service.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CancelSchemaExtension
@ -317,18 +317,18 @@ func (c *DirectoryService) ConnectDirectoryRequest(input *ConnectDirectoryInput)
// API operation ConnectDirectory for usage and error information.
//
// Returned Error Codes:
// * DirectoryLimitExceededException
// * ErrCodeDirectoryLimitExceededException "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
// * ErrCodeInvalidParameterException "InvalidParameterException"
// One or more parameters are not valid.
//
// * ClientException
// * ErrCodeClientException "ClientException"
// A client exception has occurred.
//
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// An exception has occurred in AWS Directory Service.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ConnectDirectory
@ -398,19 +398,19 @@ func (c *DirectoryService) CreateAliasRequest(input *CreateAliasInput) (req *req
// API operation CreateAlias for usage and error information.
//
// Returned Error Codes:
// * EntityAlreadyExistsException
// * ErrCodeEntityAlreadyExistsException "EntityAlreadyExistsException"
// The specified entity already exists.
//
// * EntityDoesNotExistException
// * ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
// The specified entity could not be found.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// One or more parameters are not valid.
//
// * ClientException
// * ErrCodeClientException "ClientException"
// A client exception has occurred.
//
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// An exception has occurred in AWS Directory Service.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateAlias
@ -476,28 +476,28 @@ func (c *DirectoryService) CreateComputerRequest(input *CreateComputerInput) (re
// API operation CreateComputer for usage and error information.
//
// Returned Error Codes:
// * AuthenticationFailedException
// * ErrCodeAuthenticationFailedException "AuthenticationFailedException"
// An authentication error occurred.
//
// * DirectoryUnavailableException
// * ErrCodeDirectoryUnavailableException "DirectoryUnavailableException"
// The specified directory is unavailable or could not be found.
//
// * EntityAlreadyExistsException
// * ErrCodeEntityAlreadyExistsException "EntityAlreadyExistsException"
// The specified entity already exists.
//
// * EntityDoesNotExistException
// * ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
// The specified entity could not be found.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// One or more parameters are not valid.
//
// * UnsupportedOperationException
// * ErrCodeUnsupportedOperationException "UnsupportedOperationException"
// The operation is not supported.
//
// * ClientException
// * ErrCodeClientException "ClientException"
// A client exception has occurred.
//
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// An exception has occurred in AWS Directory Service.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateComputer
@ -564,25 +564,25 @@ func (c *DirectoryService) CreateConditionalForwarderRequest(input *CreateCondit
// API operation CreateConditionalForwarder for usage and error information.
//
// Returned Error Codes:
// * EntityAlreadyExistsException
// * ErrCodeEntityAlreadyExistsException "EntityAlreadyExistsException"
// The specified entity already exists.
//
// * EntityDoesNotExistException
// * ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
// The specified entity could not be found.
//
// * DirectoryUnavailableException
// * ErrCodeDirectoryUnavailableException "DirectoryUnavailableException"
// The specified directory is unavailable or could not be found.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// One or more parameters are not valid.
//
// * UnsupportedOperationException
// * ErrCodeUnsupportedOperationException "UnsupportedOperationException"
// The operation is not supported.
//
// * ClientException
// * ErrCodeClientException "ClientException"
// A client exception has occurred.
//
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// An exception has occurred in AWS Directory Service.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateConditionalForwarder
@ -652,18 +652,18 @@ func (c *DirectoryService) CreateDirectoryRequest(input *CreateDirectoryInput) (
// API operation CreateDirectory for usage and error information.
//
// Returned Error Codes:
// * DirectoryLimitExceededException
// * ErrCodeDirectoryLimitExceededException "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
// * ErrCodeInvalidParameterException "InvalidParameterException"
// One or more parameters are not valid.
//
// * ClientException
// * ErrCodeClientException "ClientException"
// A client exception has occurred.
//
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// An exception has occurred in AWS Directory Service.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateDirectory
@ -733,21 +733,21 @@ func (c *DirectoryService) CreateMicrosoftADRequest(input *CreateMicrosoftADInpu
// API operation CreateMicrosoftAD for usage and error information.
//
// Returned Error Codes:
// * DirectoryLimitExceededException
// * ErrCodeDirectoryLimitExceededException "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
// * ErrCodeInvalidParameterException "InvalidParameterException"
// One or more parameters are not valid.
//
// * ClientException
// * ErrCodeClientException "ClientException"
// A client exception has occurred.
//
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// An exception has occurred in AWS Directory Service.
//
// * UnsupportedOperationException
// * ErrCodeUnsupportedOperationException "UnsupportedOperationException"
// The operation is not supported.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateMicrosoftAD
@ -814,21 +814,21 @@ func (c *DirectoryService) CreateSnapshotRequest(input *CreateSnapshotInput) (re
// API operation CreateSnapshot for usage and error information.
//
// Returned Error Codes:
// * EntityDoesNotExistException
// * ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
// The specified entity could not be found.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// One or more parameters are not valid.
//
// * SnapshotLimitExceededException
// * ErrCodeSnapshotLimitExceededException "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
// * ErrCodeClientException "ClientException"
// A client exception has occurred.
//
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// An exception has occurred in AWS Directory Service.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateSnapshot
@ -900,22 +900,22 @@ func (c *DirectoryService) CreateTrustRequest(input *CreateTrustInput) (req *req
// API operation CreateTrust for usage and error information.
//
// Returned Error Codes:
// * EntityAlreadyExistsException
// * ErrCodeEntityAlreadyExistsException "EntityAlreadyExistsException"
// The specified entity already exists.
//
// * EntityDoesNotExistException
// * ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
// The specified entity could not be found.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// One or more parameters are not valid.
//
// * ClientException
// * ErrCodeClientException "ClientException"
// A client exception has occurred.
//
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// An exception has occurred in AWS Directory Service.
//
// * UnsupportedOperationException
// * ErrCodeUnsupportedOperationException "UnsupportedOperationException"
// The operation is not supported.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateTrust
@ -980,22 +980,22 @@ func (c *DirectoryService) DeleteConditionalForwarderRequest(input *DeleteCondit
// API operation DeleteConditionalForwarder for usage and error information.
//
// Returned Error Codes:
// * EntityDoesNotExistException
// * ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
// The specified entity could not be found.
//
// * DirectoryUnavailableException
// * ErrCodeDirectoryUnavailableException "DirectoryUnavailableException"
// The specified directory is unavailable or could not be found.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// One or more parameters are not valid.
//
// * UnsupportedOperationException
// * ErrCodeUnsupportedOperationException "UnsupportedOperationException"
// The operation is not supported.
//
// * ClientException
// * ErrCodeClientException "ClientException"
// A client exception has occurred.
//
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// An exception has occurred in AWS Directory Service.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeleteConditionalForwarder
@ -1065,13 +1065,13 @@ func (c *DirectoryService) DeleteDirectoryRequest(input *DeleteDirectoryInput) (
// API operation DeleteDirectory for usage and error information.
//
// Returned Error Codes:
// * EntityDoesNotExistException
// * ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
// The specified entity could not be found.
//
// * ClientException
// * ErrCodeClientException "ClientException"
// A client exception has occurred.
//
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// An exception has occurred in AWS Directory Service.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeleteDirectory
@ -1136,16 +1136,16 @@ func (c *DirectoryService) DeleteSnapshotRequest(input *DeleteSnapshotInput) (re
// API operation DeleteSnapshot for usage and error information.
//
// Returned Error Codes:
// * EntityDoesNotExistException
// * ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
// The specified entity could not be found.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// One or more parameters are not valid.
//
// * ClientException
// * ErrCodeClientException "ClientException"
// A client exception has occurred.
//
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// An exception has occurred in AWS Directory Service.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeleteSnapshot
@ -1211,19 +1211,19 @@ func (c *DirectoryService) DeleteTrustRequest(input *DeleteTrustInput) (req *req
// API operation DeleteTrust for usage and error information.
//
// Returned Error Codes:
// * EntityDoesNotExistException
// * ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
// The specified entity could not be found.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// One or more parameters are not valid.
//
// * ClientException
// * ErrCodeClientException "ClientException"
// A client exception has occurred.
//
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// An exception has occurred in AWS Directory Service.
//
// * UnsupportedOperationException
// * ErrCodeUnsupportedOperationException "UnsupportedOperationException"
// The operation is not supported.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeleteTrust
@ -1288,16 +1288,16 @@ func (c *DirectoryService) DeregisterEventTopicRequest(input *DeregisterEventTop
// API operation DeregisterEventTopic for usage and error information.
//
// Returned Error Codes:
// * EntityDoesNotExistException
// * ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
// The specified entity could not be found.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// One or more parameters are not valid.
//
// * ClientException
// * ErrCodeClientException "ClientException"
// A client exception has occurred.
//
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// An exception has occurred in AWS Directory Service.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeregisterEventTopic
@ -1365,22 +1365,22 @@ func (c *DirectoryService) DescribeConditionalForwardersRequest(input *DescribeC
// API operation DescribeConditionalForwarders for usage and error information.
//
// Returned Error Codes:
// * EntityDoesNotExistException
// * ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
// The specified entity could not be found.
//
// * DirectoryUnavailableException
// * ErrCodeDirectoryUnavailableException "DirectoryUnavailableException"
// The specified directory is unavailable or could not be found.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// One or more parameters are not valid.
//
// * UnsupportedOperationException
// * ErrCodeUnsupportedOperationException "UnsupportedOperationException"
// The operation is not supported.
//
// * ClientException
// * ErrCodeClientException "ClientException"
// A client exception has occurred.
//
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// An exception has occurred in AWS Directory Service.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeConditionalForwarders
@ -1456,19 +1456,19 @@ func (c *DirectoryService) DescribeDirectoriesRequest(input *DescribeDirectories
// API operation DescribeDirectories for usage and error information.
//
// Returned Error Codes:
// * EntityDoesNotExistException
// * ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
// The specified entity could not be found.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// One or more parameters are not valid.
//
// * InvalidNextTokenException
// * ErrCodeInvalidNextTokenException "InvalidNextTokenException"
// The NextToken value is not valid.
//
// * ClientException
// * ErrCodeClientException "ClientException"
// A client exception has occurred.
//
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// An exception has occurred in AWS Directory Service.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeDirectories
@ -1537,16 +1537,16 @@ func (c *DirectoryService) DescribeEventTopicsRequest(input *DescribeEventTopics
// API operation DescribeEventTopics for usage and error information.
//
// Returned Error Codes:
// * EntityDoesNotExistException
// * ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
// The specified entity could not be found.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// One or more parameters are not valid.
//
// * ClientException
// * ErrCodeClientException "ClientException"
// A client exception has occurred.
//
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// An exception has occurred in AWS Directory Service.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeEventTopics
@ -1618,19 +1618,19 @@ func (c *DirectoryService) DescribeSnapshotsRequest(input *DescribeSnapshotsInpu
// API operation DescribeSnapshots for usage and error information.
//
// Returned Error Codes:
// * EntityDoesNotExistException
// * ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
// The specified entity could not be found.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// One or more parameters are not valid.
//
// * InvalidNextTokenException
// * ErrCodeInvalidNextTokenException "InvalidNextTokenException"
// The NextToken value is not valid.
//
// * ClientException
// * ErrCodeClientException "ClientException"
// A client exception has occurred.
//
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// An exception has occurred in AWS Directory Service.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeSnapshots
@ -1698,22 +1698,22 @@ func (c *DirectoryService) DescribeTrustsRequest(input *DescribeTrustsInput) (re
// API operation DescribeTrusts for usage and error information.
//
// Returned Error Codes:
// * EntityDoesNotExistException
// * ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
// The specified entity could not be found.
//
// * InvalidNextTokenException
// * ErrCodeInvalidNextTokenException "InvalidNextTokenException"
// The NextToken value is not valid.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// One or more parameters are not valid.
//
// * ClientException
// * ErrCodeClientException "ClientException"
// A client exception has occurred.
//
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// An exception has occurred in AWS Directory Service.
//
// * UnsupportedOperationException
// * ErrCodeUnsupportedOperationException "UnsupportedOperationException"
// The operation is not supported.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeTrusts
@ -1779,13 +1779,13 @@ func (c *DirectoryService) DisableRadiusRequest(input *DisableRadiusInput) (req
// API operation DisableRadius for usage and error information.
//
// Returned Error Codes:
// * EntityDoesNotExistException
// * ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
// The specified entity could not be found.
//
// * ClientException
// * ErrCodeClientException "ClientException"
// A client exception has occurred.
//
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// An exception has occurred in AWS Directory Service.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DisableRadius
@ -1850,19 +1850,19 @@ func (c *DirectoryService) DisableSsoRequest(input *DisableSsoInput) (req *reque
// API operation DisableSso for usage and error information.
//
// Returned Error Codes:
// * EntityDoesNotExistException
// * ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
// The specified entity could not be found.
//
// * InsufficientPermissionsException
// * ErrCodeInsufficientPermissionsException "InsufficientPermissionsException"
// The account does not have sufficient permission to perform the operation.
//
// * AuthenticationFailedException
// * ErrCodeAuthenticationFailedException "AuthenticationFailedException"
// An authentication error occurred.
//
// * ClientException
// * ErrCodeClientException "ClientException"
// A client exception has occurred.
//
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// An exception has occurred in AWS Directory Service.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DisableSso
@ -1928,19 +1928,19 @@ func (c *DirectoryService) EnableRadiusRequest(input *EnableRadiusInput) (req *r
// API operation EnableRadius for usage and error information.
//
// Returned Error Codes:
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// One or more parameters are not valid.
//
// * EntityAlreadyExistsException
// * ErrCodeEntityAlreadyExistsException "EntityAlreadyExistsException"
// The specified entity already exists.
//
// * EntityDoesNotExistException
// * ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
// The specified entity could not be found.
//
// * ClientException
// * ErrCodeClientException "ClientException"
// A client exception has occurred.
//
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// An exception has occurred in AWS Directory Service.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/EnableRadius
@ -2005,19 +2005,19 @@ func (c *DirectoryService) EnableSsoRequest(input *EnableSsoInput) (req *request
// API operation EnableSso for usage and error information.
//
// Returned Error Codes:
// * EntityDoesNotExistException
// * ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
// The specified entity could not be found.
//
// * InsufficientPermissionsException
// * ErrCodeInsufficientPermissionsException "InsufficientPermissionsException"
// The account does not have sufficient permission to perform the operation.
//
// * AuthenticationFailedException
// * ErrCodeAuthenticationFailedException "AuthenticationFailedException"
// An authentication error occurred.
//
// * ClientException
// * ErrCodeClientException "ClientException"
// A client exception has occurred.
//
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// An exception has occurred in AWS Directory Service.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/EnableSso
@ -2082,13 +2082,13 @@ func (c *DirectoryService) GetDirectoryLimitsRequest(input *GetDirectoryLimitsIn
// API operation GetDirectoryLimits for usage and error information.
//
// Returned Error Codes:
// * EntityDoesNotExistException
// * ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
// The specified entity could not be found.
//
// * ClientException
// * ErrCodeClientException "ClientException"
// A client exception has occurred.
//
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// An exception has occurred in AWS Directory Service.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/GetDirectoryLimits
@ -2153,13 +2153,13 @@ func (c *DirectoryService) GetSnapshotLimitsRequest(input *GetSnapshotLimitsInpu
// API operation GetSnapshotLimits for usage and error information.
//
// Returned Error Codes:
// * EntityDoesNotExistException
// * ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
// The specified entity could not be found.
//
// * ClientException
// * ErrCodeClientException "ClientException"
// A client exception has occurred.
//
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// An exception has occurred in AWS Directory Service.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/GetSnapshotLimits
@ -2224,19 +2224,19 @@ func (c *DirectoryService) ListIpRoutesRequest(input *ListIpRoutesInput) (req *r
// API operation ListIpRoutes for usage and error information.
//
// Returned Error Codes:
// * EntityDoesNotExistException
// * ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
// The specified entity could not be found.
//
// * InvalidNextTokenException
// * ErrCodeInvalidNextTokenException "InvalidNextTokenException"
// The NextToken value is not valid.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// One or more parameters are not valid.
//
// * ClientException
// * ErrCodeClientException "ClientException"
// A client exception has occurred.
//
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// An exception has occurred in AWS Directory Service.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ListIpRoutes
@ -2301,16 +2301,16 @@ func (c *DirectoryService) ListSchemaExtensionsRequest(input *ListSchemaExtensio
// API operation ListSchemaExtensions for usage and error information.
//
// Returned Error Codes:
// * InvalidNextTokenException
// * ErrCodeInvalidNextTokenException "InvalidNextTokenException"
// The NextToken value is not valid.
//
// * EntityDoesNotExistException
// * ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
// The specified entity could not be found.
//
// * ClientException
// * ErrCodeClientException "ClientException"
// A client exception has occurred.
//
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// An exception has occurred in AWS Directory Service.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ListSchemaExtensions
@ -2375,19 +2375,19 @@ func (c *DirectoryService) ListTagsForResourceRequest(input *ListTagsForResource
// API operation ListTagsForResource for usage and error information.
//
// Returned Error Codes:
// * EntityDoesNotExistException
// * ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
// The specified entity could not be found.
//
// * InvalidNextTokenException
// * ErrCodeInvalidNextTokenException "InvalidNextTokenException"
// The NextToken value is not valid.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// One or more parameters are not valid.
//
// * ClientException
// * ErrCodeClientException "ClientException"
// A client exception has occurred.
//
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// An exception has occurred in AWS Directory Service.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ListTagsForResource
@ -2457,16 +2457,16 @@ func (c *DirectoryService) RegisterEventTopicRequest(input *RegisterEventTopicIn
// API operation RegisterEventTopic for usage and error information.
//
// Returned Error Codes:
// * EntityDoesNotExistException
// * ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
// The specified entity could not be found.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// One or more parameters are not valid.
//
// * ClientException
// * ErrCodeClientException "ClientException"
// A client exception has occurred.
//
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// An exception has occurred in AWS Directory Service.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RegisterEventTopic
@ -2531,19 +2531,19 @@ func (c *DirectoryService) RemoveIpRoutesRequest(input *RemoveIpRoutesInput) (re
// API operation RemoveIpRoutes for usage and error information.
//
// Returned Error Codes:
// * EntityDoesNotExistException
// * ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
// The specified entity could not be found.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// One or more parameters are not valid.
//
// * DirectoryUnavailableException
// * ErrCodeDirectoryUnavailableException "DirectoryUnavailableException"
// The specified directory is unavailable or could not be found.
//
// * ClientException
// * ErrCodeClientException "ClientException"
// A client exception has occurred.
//
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// An exception has occurred in AWS Directory Service.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RemoveIpRoutes
@ -2608,16 +2608,16 @@ func (c *DirectoryService) RemoveTagsFromResourceRequest(input *RemoveTagsFromRe
// API operation RemoveTagsFromResource for usage and error information.
//
// Returned Error Codes:
// * EntityDoesNotExistException
// * ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
// The specified entity could not be found.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// One or more parameters are not valid.
//
// * ClientException
// * ErrCodeClientException "ClientException"
// A client exception has occurred.
//
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// An exception has occurred in AWS Directory Service.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RemoveTagsFromResource
@ -2690,16 +2690,16 @@ func (c *DirectoryService) RestoreFromSnapshotRequest(input *RestoreFromSnapshot
// API operation RestoreFromSnapshot for usage and error information.
//
// Returned Error Codes:
// * EntityDoesNotExistException
// * ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
// The specified entity could not be found.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// One or more parameters are not valid.
//
// * ClientException
// * ErrCodeClientException "ClientException"
// A client exception has occurred.
//
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// An exception has occurred in AWS Directory Service.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RestoreFromSnapshot
@ -2764,24 +2764,24 @@ func (c *DirectoryService) StartSchemaExtensionRequest(input *StartSchemaExtensi
// API operation StartSchemaExtension for usage and error information.
//
// Returned Error Codes:
// * DirectoryUnavailableException
// * ErrCodeDirectoryUnavailableException "DirectoryUnavailableException"
// The specified directory is unavailable or could not be found.
//
// * EntityDoesNotExistException
// * ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
// The specified entity could not be found.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// One or more parameters are not valid.
//
// * SnapshotLimitExceededException
// * ErrCodeSnapshotLimitExceededException "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
// * ErrCodeClientException "ClientException"
// A client exception has occurred.
//
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// An exception has occurred in AWS Directory Service.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/StartSchemaExtension
@ -2846,22 +2846,22 @@ func (c *DirectoryService) UpdateConditionalForwarderRequest(input *UpdateCondit
// API operation UpdateConditionalForwarder for usage and error information.
//
// Returned Error Codes:
// * EntityDoesNotExistException
// * ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
// The specified entity could not be found.
//
// * DirectoryUnavailableException
// * ErrCodeDirectoryUnavailableException "DirectoryUnavailableException"
// The specified directory is unavailable or could not be found.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// One or more parameters are not valid.
//
// * UnsupportedOperationException
// * ErrCodeUnsupportedOperationException "UnsupportedOperationException"
// The operation is not supported.
//
// * ClientException
// * ErrCodeClientException "ClientException"
// A client exception has occurred.
//
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// An exception has occurred in AWS Directory Service.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UpdateConditionalForwarder
@ -2927,16 +2927,16 @@ func (c *DirectoryService) UpdateRadiusRequest(input *UpdateRadiusInput) (req *r
// API operation UpdateRadius for usage and error information.
//
// Returned Error Codes:
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// One or more parameters are not valid.
//
// * EntityDoesNotExistException
// * ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
// The specified entity could not be found.
//
// * ClientException
// * ErrCodeClientException "ClientException"
// A client exception has occurred.
//
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// An exception has occurred in AWS Directory Service.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UpdateRadius
@ -3005,19 +3005,19 @@ func (c *DirectoryService) VerifyTrustRequest(input *VerifyTrustInput) (req *req
// API operation VerifyTrust for usage and error information.
//
// Returned Error Codes:
// * EntityDoesNotExistException
// * ErrCodeEntityDoesNotExistException "EntityDoesNotExistException"
// The specified entity could not be found.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// One or more parameters are not valid.
//
// * ClientException
// * ErrCodeClientException "ClientException"
// A client exception has occurred.
//
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// An exception has occurred in AWS Directory Service.
//
// * UnsupportedOperationException
// * ErrCodeUnsupportedOperationException "UnsupportedOperationException"
// The operation is not supported.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/VerifyTrust

View File

@ -0,0 +1,95 @@
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
package directoryservice
const (
// ErrCodeAuthenticationFailedException for service response error code
// "AuthenticationFailedException".
//
// An authentication error occurred.
ErrCodeAuthenticationFailedException = "AuthenticationFailedException"
// ErrCodeClientException for service response error code
// "ClientException".
//
// A client exception has occurred.
ErrCodeClientException = "ClientException"
// ErrCodeDirectoryLimitExceededException for service response error code
// "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.
ErrCodeDirectoryLimitExceededException = "DirectoryLimitExceededException"
// ErrCodeDirectoryUnavailableException for service response error code
// "DirectoryUnavailableException".
//
// The specified directory is unavailable or could not be found.
ErrCodeDirectoryUnavailableException = "DirectoryUnavailableException"
// ErrCodeEntityAlreadyExistsException for service response error code
// "EntityAlreadyExistsException".
//
// The specified entity already exists.
ErrCodeEntityAlreadyExistsException = "EntityAlreadyExistsException"
// ErrCodeEntityDoesNotExistException for service response error code
// "EntityDoesNotExistException".
//
// The specified entity could not be found.
ErrCodeEntityDoesNotExistException = "EntityDoesNotExistException"
// ErrCodeInsufficientPermissionsException for service response error code
// "InsufficientPermissionsException".
//
// The account does not have sufficient permission to perform the operation.
ErrCodeInsufficientPermissionsException = "InsufficientPermissionsException"
// ErrCodeInvalidNextTokenException for service response error code
// "InvalidNextTokenException".
//
// The NextToken value is not valid.
ErrCodeInvalidNextTokenException = "InvalidNextTokenException"
// ErrCodeInvalidParameterException for service response error code
// "InvalidParameterException".
//
// One or more parameters are not valid.
ErrCodeInvalidParameterException = "InvalidParameterException"
// ErrCodeIpRouteLimitExceededException for service response error code
// "IpRouteLimitExceededException".
//
// The maximum allowed number of IP addresses was exceeded. The default limit
// is 100 IP address blocks.
ErrCodeIpRouteLimitExceededException = "IpRouteLimitExceededException"
// ErrCodeServiceException for service response error code
// "ServiceException".
//
// An exception has occurred in AWS Directory Service.
ErrCodeServiceException = "ServiceException"
// ErrCodeSnapshotLimitExceededException for service response error code
// "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.
ErrCodeSnapshotLimitExceededException = "SnapshotLimitExceededException"
// ErrCodeTagLimitExceededException for service response error code
// "TagLimitExceededException".
//
// The maximum allowed number of tags was exceeded.
ErrCodeTagLimitExceededException = "TagLimitExceededException"
// ErrCodeUnsupportedOperationException for service response error code
// "UnsupportedOperationException".
//
// The operation is not supported.
ErrCodeUnsupportedOperationException = "UnsupportedOperationException"
)

View File

@ -122,7 +122,7 @@ func (c *DynamoDB) BatchGetItemRequest(input *BatchGetItemInput) (req *request.R
// API operation BatchGetItem for usage and error information.
//
// Returned Error Codes:
// * ProvisionedThroughputExceededException
// * ErrCodeProvisionedThroughputExceededException "ProvisionedThroughputExceededException"
// Your request rate is too high. The AWS 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
@ -130,11 +130,11 @@ func (c *DynamoDB) BatchGetItemRequest(input *BatchGetItemInput) (req *request.R
// Exponential Backoff (http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Programming.Errors.html#Programming.Errors.RetryAndBackoff)
// in the Amazon DynamoDB Developer Guide.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "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
// * ErrCodeInternalServerError "InternalServerError"
// An error occurred on the server side.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BatchGetItem
@ -292,7 +292,7 @@ func (c *DynamoDB) BatchWriteItemRequest(input *BatchWriteItemInput) (req *reque
// API operation BatchWriteItem for usage and error information.
//
// Returned Error Codes:
// * ProvisionedThroughputExceededException
// * ErrCodeProvisionedThroughputExceededException "ProvisionedThroughputExceededException"
// Your request rate is too high. The AWS 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
@ -300,15 +300,15 @@ func (c *DynamoDB) BatchWriteItemRequest(input *BatchWriteItemInput) (req *reque
// Exponential Backoff (http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Programming.Errors.html#Programming.Errors.RetryAndBackoff)
// in the Amazon DynamoDB Developer Guide.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "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
// * ErrCodeItemCollectionSizeLimitExceededException "ItemCollectionSizeLimitExceededException"
// An item collection is too large. This exception is only returned for tables
// that have one or more local secondary indexes.
//
// * InternalServerError
// * ErrCodeInternalServerError "InternalServerError"
// An error occurred on the server side.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BatchWriteItem
@ -387,12 +387,12 @@ func (c *DynamoDB) CreateTableRequest(input *CreateTableInput) (req *request.Req
// API operation CreateTable for usage and error information.
//
// Returned Error Codes:
// * ResourceInUseException
// * ErrCodeResourceInUseException "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
// * ErrCodeLimitExceededException "LimitExceededException"
// The number of concurrent table requests (cumulative number of tables in the
// CREATING, DELETING or UPDATING state) exceeds the maximum allowed of 10.
//
@ -402,7 +402,7 @@ func (c *DynamoDB) CreateTableRequest(input *CreateTableInput) (req *request.Req
//
// The total limit of tables in the ACTIVE state is 250.
//
// * InternalServerError
// * ErrCodeInternalServerError "InternalServerError"
// An error occurred on the server side.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateTable
@ -480,10 +480,10 @@ func (c *DynamoDB) DeleteItemRequest(input *DeleteItemInput) (req *request.Reque
// API operation DeleteItem for usage and error information.
//
// Returned Error Codes:
// * ConditionalCheckFailedException
// * ErrCodeConditionalCheckFailedException "ConditionalCheckFailedException"
// A condition specified in the operation could not be evaluated.
//
// * ProvisionedThroughputExceededException
// * ErrCodeProvisionedThroughputExceededException "ProvisionedThroughputExceededException"
// Your request rate is too high. The AWS 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
@ -491,15 +491,15 @@ func (c *DynamoDB) DeleteItemRequest(input *DeleteItemInput) (req *request.Reque
// Exponential Backoff (http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Programming.Errors.html#Programming.Errors.RetryAndBackoff)
// in the Amazon DynamoDB Developer Guide.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "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
// * ErrCodeItemCollectionSizeLimitExceededException "ItemCollectionSizeLimitExceededException"
// An item collection is too large. This exception is only returned for tables
// that have one or more local secondary indexes.
//
// * InternalServerError
// * ErrCodeInternalServerError "InternalServerError"
// An error occurred on the server side.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteItem
@ -581,16 +581,16 @@ func (c *DynamoDB) DeleteTableRequest(input *DeleteTableInput) (req *request.Req
// API operation DeleteTable for usage and error information.
//
// Returned Error Codes:
// * ResourceInUseException
// * ErrCodeResourceInUseException "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
// * ErrCodeResourceNotFoundException "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
// * ErrCodeLimitExceededException "LimitExceededException"
// The number of concurrent table requests (cumulative number of tables in the
// CREATING, DELETING or UPDATING state) exceeds the maximum allowed of 10.
//
@ -600,7 +600,7 @@ func (c *DynamoDB) DeleteTableRequest(input *DeleteTableInput) (req *request.Req
//
// The total limit of tables in the ACTIVE state is 250.
//
// * InternalServerError
// * ErrCodeInternalServerError "InternalServerError"
// An error occurred on the server side.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteTable
@ -721,7 +721,7 @@ func (c *DynamoDB) DescribeLimitsRequest(input *DescribeLimitsInput) (req *reque
// API operation DescribeLimits for usage and error information.
//
// Returned Error Codes:
// * InternalServerError
// * ErrCodeInternalServerError "InternalServerError"
// An error occurred on the server side.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeLimits
@ -794,11 +794,11 @@ func (c *DynamoDB) DescribeTableRequest(input *DescribeTableInput) (req *request
// API operation DescribeTable for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "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
// * ErrCodeInternalServerError "InternalServerError"
// An error occurred on the server side.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeTable
@ -870,7 +870,7 @@ func (c *DynamoDB) GetItemRequest(input *GetItemInput) (req *request.Request, ou
// API operation GetItem for usage and error information.
//
// Returned Error Codes:
// * ProvisionedThroughputExceededException
// * ErrCodeProvisionedThroughputExceededException "ProvisionedThroughputExceededException"
// Your request rate is too high. The AWS 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
@ -878,11 +878,11 @@ func (c *DynamoDB) GetItemRequest(input *GetItemInput) (req *request.Request, ou
// Exponential Backoff (http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Programming.Errors.html#Programming.Errors.RetryAndBackoff)
// in the Amazon DynamoDB Developer Guide.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "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
// * ErrCodeInternalServerError "InternalServerError"
// An error occurred on the server side.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/GetItem
@ -955,7 +955,7 @@ func (c *DynamoDB) ListTablesRequest(input *ListTablesInput) (req *request.Reque
// API operation ListTables for usage and error information.
//
// Returned Error Codes:
// * InternalServerError
// * ErrCodeInternalServerError "InternalServerError"
// An error occurred on the server side.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListTables
@ -1049,11 +1049,11 @@ func (c *DynamoDB) ListTagsOfResourceRequest(input *ListTagsOfResourceInput) (re
// API operation ListTagsOfResource for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "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
// * ErrCodeInternalServerError "InternalServerError"
// An error occurred on the server side.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListTagsOfResource
@ -1140,10 +1140,10 @@ func (c *DynamoDB) PutItemRequest(input *PutItemInput) (req *request.Request, ou
// API operation PutItem for usage and error information.
//
// Returned Error Codes:
// * ConditionalCheckFailedException
// * ErrCodeConditionalCheckFailedException "ConditionalCheckFailedException"
// A condition specified in the operation could not be evaluated.
//
// * ProvisionedThroughputExceededException
// * ErrCodeProvisionedThroughputExceededException "ProvisionedThroughputExceededException"
// Your request rate is too high. The AWS 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
@ -1151,15 +1151,15 @@ func (c *DynamoDB) PutItemRequest(input *PutItemInput) (req *request.Request, ou
// Exponential Backoff (http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Programming.Errors.html#Programming.Errors.RetryAndBackoff)
// in the Amazon DynamoDB Developer Guide.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "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
// * ErrCodeItemCollectionSizeLimitExceededException "ItemCollectionSizeLimitExceededException"
// An item collection is too large. This exception is only returned for tables
// that have one or more local secondary indexes.
//
// * InternalServerError
// * ErrCodeInternalServerError "InternalServerError"
// An error occurred on the server side.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/PutItem
@ -1255,7 +1255,7 @@ func (c *DynamoDB) QueryRequest(input *QueryInput) (req *request.Request, output
// API operation Query for usage and error information.
//
// Returned Error Codes:
// * ProvisionedThroughputExceededException
// * ErrCodeProvisionedThroughputExceededException "ProvisionedThroughputExceededException"
// Your request rate is too high. The AWS 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
@ -1263,11 +1263,11 @@ func (c *DynamoDB) QueryRequest(input *QueryInput) (req *request.Request, output
// Exponential Backoff (http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Programming.Errors.html#Programming.Errors.RetryAndBackoff)
// in the Amazon DynamoDB Developer Guide.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "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
// * ErrCodeInternalServerError "InternalServerError"
// An error occurred on the server side.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/Query
@ -1383,7 +1383,7 @@ func (c *DynamoDB) ScanRequest(input *ScanInput) (req *request.Request, output *
// API operation Scan for usage and error information.
//
// Returned Error Codes:
// * ProvisionedThroughputExceededException
// * ErrCodeProvisionedThroughputExceededException "ProvisionedThroughputExceededException"
// Your request rate is too high. The AWS 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
@ -1391,11 +1391,11 @@ func (c *DynamoDB) ScanRequest(input *ScanInput) (req *request.Request, output *
// Exponential Backoff (http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Programming.Errors.html#Programming.Errors.RetryAndBackoff)
// in the Amazon DynamoDB Developer Guide.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "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
// * ErrCodeInternalServerError "InternalServerError"
// An error occurred on the server side.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/Scan
@ -1493,7 +1493,7 @@ func (c *DynamoDB) TagResourceRequest(input *TagResourceInput) (req *request.Req
// API operation TagResource for usage and error information.
//
// Returned Error Codes:
// * LimitExceededException
// * ErrCodeLimitExceededException "LimitExceededException"
// The number of concurrent table requests (cumulative number of tables in the
// CREATING, DELETING or UPDATING state) exceeds the maximum allowed of 10.
//
@ -1503,14 +1503,14 @@ func (c *DynamoDB) TagResourceRequest(input *TagResourceInput) (req *request.Req
//
// The total limit of tables in the ACTIVE state is 250.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "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
// * ErrCodeInternalServerError "InternalServerError"
// An error occurred on the server side.
//
// * ResourceInUseException
// * ErrCodeResourceInUseException "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.
@ -1583,7 +1583,7 @@ func (c *DynamoDB) UntagResourceRequest(input *UntagResourceInput) (req *request
// API operation UntagResource for usage and error information.
//
// Returned Error Codes:
// * LimitExceededException
// * ErrCodeLimitExceededException "LimitExceededException"
// The number of concurrent table requests (cumulative number of tables in the
// CREATING, DELETING or UPDATING state) exceeds the maximum allowed of 10.
//
@ -1593,14 +1593,14 @@ func (c *DynamoDB) UntagResourceRequest(input *UntagResourceInput) (req *request
//
// The total limit of tables in the ACTIVE state is 250.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "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
// * ErrCodeInternalServerError "InternalServerError"
// An error occurred on the server side.
//
// * ResourceInUseException
// * ErrCodeResourceInUseException "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.
@ -1674,10 +1674,10 @@ func (c *DynamoDB) UpdateItemRequest(input *UpdateItemInput) (req *request.Reque
// API operation UpdateItem for usage and error information.
//
// Returned Error Codes:
// * ConditionalCheckFailedException
// * ErrCodeConditionalCheckFailedException "ConditionalCheckFailedException"
// A condition specified in the operation could not be evaluated.
//
// * ProvisionedThroughputExceededException
// * ErrCodeProvisionedThroughputExceededException "ProvisionedThroughputExceededException"
// Your request rate is too high. The AWS 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
@ -1685,15 +1685,15 @@ func (c *DynamoDB) UpdateItemRequest(input *UpdateItemInput) (req *request.Reque
// Exponential Backoff (http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Programming.Errors.html#Programming.Errors.RetryAndBackoff)
// in the Amazon DynamoDB Developer Guide.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "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
// * ErrCodeItemCollectionSizeLimitExceededException "ItemCollectionSizeLimitExceededException"
// An item collection is too large. This exception is only returned for tables
// that have one or more local secondary indexes.
//
// * InternalServerError
// * ErrCodeInternalServerError "InternalServerError"
// An error occurred on the server side.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateItem
@ -1775,16 +1775,16 @@ func (c *DynamoDB) UpdateTableRequest(input *UpdateTableInput) (req *request.Req
// API operation UpdateTable for usage and error information.
//
// Returned Error Codes:
// * ResourceInUseException
// * ErrCodeResourceInUseException "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
// * ErrCodeResourceNotFoundException "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
// * ErrCodeLimitExceededException "LimitExceededException"
// The number of concurrent table requests (cumulative number of tables in the
// CREATING, DELETING or UPDATING state) exceeds the maximum allowed of 10.
//
@ -1794,7 +1794,7 @@ func (c *DynamoDB) UpdateTableRequest(input *UpdateTableInput) (req *request.Req
//
// The total limit of tables in the ACTIVE state is 250.
//
// * InternalServerError
// * ErrCodeInternalServerError "InternalServerError"
// An error occurred on the server side.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateTable

View File

@ -0,0 +1,64 @@
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
package dynamodb
const (
// ErrCodeConditionalCheckFailedException for service response error code
// "ConditionalCheckFailedException".
//
// A condition specified in the operation could not be evaluated.
ErrCodeConditionalCheckFailedException = "ConditionalCheckFailedException"
// ErrCodeInternalServerError for service response error code
// "InternalServerError".
//
// An error occurred on the server side.
ErrCodeInternalServerError = "InternalServerError"
// ErrCodeItemCollectionSizeLimitExceededException for service response error code
// "ItemCollectionSizeLimitExceededException".
//
// An item collection is too large. This exception is only returned for tables
// that have one or more local secondary indexes.
ErrCodeItemCollectionSizeLimitExceededException = "ItemCollectionSizeLimitExceededException"
// ErrCodeLimitExceededException for service response error code
// "LimitExceededException".
//
// The number of concurrent table requests (cumulative number of tables in the
// CREATING, DELETING or UPDATING state) exceeds the maximum allowed of 10.
//
// Also, for tables with secondary indexes, only one of those tables can be
// in the CREATING state at any point in time. Do not attempt to create more
// than one such table simultaneously.
//
// The total limit of tables in the ACTIVE state is 250.
ErrCodeLimitExceededException = "LimitExceededException"
// ErrCodeProvisionedThroughputExceededException for service response error code
// "ProvisionedThroughputExceededException".
//
// Your request rate is too high. The AWS 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 (http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Programming.Errors.html#Programming.Errors.RetryAndBackoff)
// in the Amazon DynamoDB Developer Guide.
ErrCodeProvisionedThroughputExceededException = "ProvisionedThroughputExceededException"
// ErrCodeResourceInUseException for service response error code
// "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.
ErrCodeResourceInUseException = "ResourceInUseException"
// ErrCodeResourceNotFoundException for service response error code
// "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.
ErrCodeResourceNotFoundException = "ResourceNotFoundException"
)

View File

@ -0,0 +1,3 @@
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
package ec2

View File

@ -70,15 +70,15 @@ func (c *ECR) BatchCheckLayerAvailabilityRequest(input *BatchCheckLayerAvailabil
// API operation BatchCheckLayerAvailability for usage and error information.
//
// Returned Error Codes:
// * RepositoryNotFoundException
// * ErrCodeRepositoryNotFoundException "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
// * ErrCodeInvalidParameterException "InvalidParameterException"
// The specified parameter is invalid. Review the available parameters for the
// API request.
//
// * ServerException
// * ErrCodeServerException "ServerException"
// These errors are usually caused by a server-side issue.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BatchCheckLayerAvailability
@ -151,14 +151,14 @@ func (c *ECR) BatchDeleteImageRequest(input *BatchDeleteImageInput) (req *reques
// API operation BatchDeleteImage for usage and error information.
//
// Returned Error Codes:
// * ServerException
// * ErrCodeServerException "ServerException"
// These errors are usually caused by a server-side issue.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// The specified parameter is invalid. Review the available parameters for the
// API request.
//
// * RepositoryNotFoundException
// * ErrCodeRepositoryNotFoundException "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.
//
@ -225,14 +225,14 @@ func (c *ECR) BatchGetImageRequest(input *BatchGetImageInput) (req *request.Requ
// API operation BatchGetImage for usage and error information.
//
// Returned Error Codes:
// * ServerException
// * ErrCodeServerException "ServerException"
// These errors are usually caused by a server-side issue.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// The specified parameter is invalid. Review the available parameters for the
// API request.
//
// * RepositoryNotFoundException
// * ErrCodeRepositoryNotFoundException "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.
//
@ -304,32 +304,32 @@ func (c *ECR) CompleteLayerUploadRequest(input *CompleteLayerUploadInput) (req *
// API operation CompleteLayerUpload for usage and error information.
//
// Returned Error Codes:
// * ServerException
// * ErrCodeServerException "ServerException"
// These errors are usually caused by a server-side issue.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// The specified parameter is invalid. Review the available parameters for the
// API request.
//
// * RepositoryNotFoundException
// * ErrCodeRepositoryNotFoundException "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
// * ErrCodeUploadNotFoundException "UploadNotFoundException"
// The upload could not be found, or the specified upload id is not valid for
// this repository.
//
// * InvalidLayerException
// * ErrCodeInvalidLayerException "InvalidLayerException"
// The layer digest calculation performed by Amazon ECR upon receipt of the
// image layer does not match the digest specified.
//
// * LayerPartTooSmallException
// * ErrCodeLayerPartTooSmallException "LayerPartTooSmallException"
// Layer parts must be at least 5 MiB in size.
//
// * LayerAlreadyExistsException
// * ErrCodeLayerAlreadyExistsException "LayerAlreadyExistsException"
// The image layer already exists in the associated repository.
//
// * EmptyUploadException
// * ErrCodeEmptyUploadException "EmptyUploadException"
// The specified layer upload does not contain any layer parts.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/CompleteLayerUpload
@ -394,17 +394,17 @@ func (c *ECR) CreateRepositoryRequest(input *CreateRepositoryInput) (req *reques
// API operation CreateRepository for usage and error information.
//
// Returned Error Codes:
// * ServerException
// * ErrCodeServerException "ServerException"
// These errors are usually caused by a server-side issue.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// The specified parameter is invalid. Review the available parameters for the
// API request.
//
// * RepositoryAlreadyExistsException
// * ErrCodeRepositoryAlreadyExistsException "RepositoryAlreadyExistsException"
// The specified repository already exists in the specified registry.
//
// * LimitExceededException
// * ErrCodeLimitExceededException "LimitExceededException"
// The operation did not succeed because it would have exceeded a service limit
// for your account. For more information, see Amazon ECR Default Service Limits
// (http://docs.aws.amazon.com/AmazonECR/latest/userguide/service_limits.html)
@ -473,18 +473,18 @@ func (c *ECR) DeleteRepositoryRequest(input *DeleteRepositoryInput) (req *reques
// API operation DeleteRepository for usage and error information.
//
// Returned Error Codes:
// * ServerException
// * ErrCodeServerException "ServerException"
// These errors are usually caused by a server-side issue.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// The specified parameter is invalid. Review the available parameters for the
// API request.
//
// * RepositoryNotFoundException
// * ErrCodeRepositoryNotFoundException "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
// * ErrCodeRepositoryNotEmptyException "RepositoryNotEmptyException"
// The specified repository contains images. To delete a repository that contains
// images, you must force the deletion with the force parameter.
//
@ -550,18 +550,18 @@ func (c *ECR) DeleteRepositoryPolicyRequest(input *DeleteRepositoryPolicyInput)
// API operation DeleteRepositoryPolicy for usage and error information.
//
// Returned Error Codes:
// * ServerException
// * ErrCodeServerException "ServerException"
// These errors are usually caused by a server-side issue.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// The specified parameter is invalid. Review the available parameters for the
// API request.
//
// * RepositoryNotFoundException
// * ErrCodeRepositoryNotFoundException "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
// * ErrCodeRepositoryPolicyNotFoundException "RepositoryPolicyNotFoundException"
// The specified repository and registry combination does not have an associated
// repository policy.
//
@ -639,18 +639,18 @@ func (c *ECR) DescribeImagesRequest(input *DescribeImagesInput) (req *request.Re
// API operation DescribeImages for usage and error information.
//
// Returned Error Codes:
// * ServerException
// * ErrCodeServerException "ServerException"
// These errors are usually caused by a server-side issue.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// The specified parameter is invalid. Review the available parameters for the
// API request.
//
// * RepositoryNotFoundException
// * ErrCodeRepositoryNotFoundException "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
// * ErrCodeImageNotFoundException "ImageNotFoundException"
// The image requested does not exist in the specified repository.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeImages
@ -746,14 +746,14 @@ func (c *ECR) DescribeRepositoriesRequest(input *DescribeRepositoriesInput) (req
// API operation DescribeRepositories for usage and error information.
//
// Returned Error Codes:
// * ServerException
// * ErrCodeServerException "ServerException"
// These errors are usually caused by a server-side issue.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// The specified parameter is invalid. Review the available parameters for the
// API request.
//
// * RepositoryNotFoundException
// * ErrCodeRepositoryNotFoundException "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.
//
@ -851,10 +851,10 @@ func (c *ECR) GetAuthorizationTokenRequest(input *GetAuthorizationTokenInput) (r
// API operation GetAuthorizationToken for usage and error information.
//
// Returned Error Codes:
// * ServerException
// * ErrCodeServerException "ServerException"
// These errors are usually caused by a server-side issue.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// The specified parameter is invalid. Review the available parameters for the
// API request.
//
@ -925,22 +925,22 @@ func (c *ECR) GetDownloadUrlForLayerRequest(input *GetDownloadUrlForLayerInput)
// API operation GetDownloadUrlForLayer for usage and error information.
//
// Returned Error Codes:
// * ServerException
// * ErrCodeServerException "ServerException"
// These errors are usually caused by a server-side issue.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// The specified parameter is invalid. Review the available parameters for the
// API request.
//
// * LayersNotFoundException
// * ErrCodeLayersNotFoundException "LayersNotFoundException"
// The specified layers could not be found, or the specified layer is not valid
// for this repository.
//
// * LayerInaccessibleException
// * ErrCodeLayerInaccessibleException "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
// * ErrCodeRepositoryNotFoundException "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.
//
@ -1006,18 +1006,18 @@ func (c *ECR) GetRepositoryPolicyRequest(input *GetRepositoryPolicyInput) (req *
// API operation GetRepositoryPolicy for usage and error information.
//
// Returned Error Codes:
// * ServerException
// * ErrCodeServerException "ServerException"
// These errors are usually caused by a server-side issue.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// The specified parameter is invalid. Review the available parameters for the
// API request.
//
// * RepositoryNotFoundException
// * ErrCodeRepositoryNotFoundException "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
// * ErrCodeRepositoryPolicyNotFoundException "RepositoryPolicyNotFoundException"
// The specified repository and registry combination does not have an associated
// repository policy.
//
@ -1087,14 +1087,14 @@ func (c *ECR) InitiateLayerUploadRequest(input *InitiateLayerUploadInput) (req *
// API operation InitiateLayerUpload for usage and error information.
//
// Returned Error Codes:
// * ServerException
// * ErrCodeServerException "ServerException"
// These errors are usually caused by a server-side issue.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// The specified parameter is invalid. Review the available parameters for the
// API request.
//
// * RepositoryNotFoundException
// * ErrCodeRepositoryNotFoundException "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.
//
@ -1172,14 +1172,14 @@ func (c *ECR) ListImagesRequest(input *ListImagesInput) (req *request.Request, o
// API operation ListImages for usage and error information.
//
// Returned Error Codes:
// * ServerException
// * ErrCodeServerException "ServerException"
// These errors are usually caused by a server-side issue.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// The specified parameter is invalid. Review the available parameters for the
// API request.
//
// * RepositoryNotFoundException
// * ErrCodeRepositoryNotFoundException "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.
//
@ -1274,26 +1274,26 @@ func (c *ECR) PutImageRequest(input *PutImageInput) (req *request.Request, outpu
// API operation PutImage for usage and error information.
//
// Returned Error Codes:
// * ServerException
// * ErrCodeServerException "ServerException"
// These errors are usually caused by a server-side issue.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// The specified parameter is invalid. Review the available parameters for the
// API request.
//
// * RepositoryNotFoundException
// * ErrCodeRepositoryNotFoundException "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
// * ErrCodeImageAlreadyExistsException "ImageAlreadyExistsException"
// The specified image has already been pushed, and there are no changes to
// the manifest or image tag since the last push.
//
// * LayersNotFoundException
// * ErrCodeLayersNotFoundException "LayersNotFoundException"
// The specified layers could not be found, or the specified layer is not valid
// for this repository.
//
// * LimitExceededException
// * ErrCodeLimitExceededException "LimitExceededException"
// The operation did not succeed because it would have exceeded a service limit
// for your account. For more information, see Amazon ECR Default Service Limits
// (http://docs.aws.amazon.com/AmazonECR/latest/userguide/service_limits.html)
@ -1361,14 +1361,14 @@ func (c *ECR) SetRepositoryPolicyRequest(input *SetRepositoryPolicyInput) (req *
// API operation SetRepositoryPolicy for usage and error information.
//
// Returned Error Codes:
// * ServerException
// * ErrCodeServerException "ServerException"
// These errors are usually caused by a server-side issue.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// The specified parameter is invalid. Review the available parameters for the
// API request.
//
// * RepositoryNotFoundException
// * ErrCodeRepositoryNotFoundException "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.
//
@ -1438,26 +1438,26 @@ func (c *ECR) UploadLayerPartRequest(input *UploadLayerPartInput) (req *request.
// API operation UploadLayerPart for usage and error information.
//
// Returned Error Codes:
// * ServerException
// * ErrCodeServerException "ServerException"
// These errors are usually caused by a server-side issue.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// The specified parameter is invalid. Review the available parameters for the
// API request.
//
// * InvalidLayerPartException
// * ErrCodeInvalidLayerPartException "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
// * ErrCodeRepositoryNotFoundException "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
// * ErrCodeUploadNotFoundException "UploadNotFoundException"
// The upload could not be found, or the specified upload id is not valid for
// this repository.
//
// * LimitExceededException
// * ErrCodeLimitExceededException "LimitExceededException"
// The operation did not succeed because it would have exceeded a service limit
// for your account. For more information, see Amazon ECR Default Service Limits
// (http://docs.aws.amazon.com/AmazonECR/latest/userguide/service_limits.html)

121
vendor/github.com/aws/aws-sdk-go/service/ecr/errors.go generated vendored Normal file
View File

@ -0,0 +1,121 @@
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
package ecr
const (
// ErrCodeEmptyUploadException for service response error code
// "EmptyUploadException".
//
// The specified layer upload does not contain any layer parts.
ErrCodeEmptyUploadException = "EmptyUploadException"
// ErrCodeImageAlreadyExistsException for service response error code
// "ImageAlreadyExistsException".
//
// The specified image has already been pushed, and there are no changes to
// the manifest or image tag since the last push.
ErrCodeImageAlreadyExistsException = "ImageAlreadyExistsException"
// ErrCodeImageNotFoundException for service response error code
// "ImageNotFoundException".
//
// The image requested does not exist in the specified repository.
ErrCodeImageNotFoundException = "ImageNotFoundException"
// ErrCodeInvalidLayerException for service response error code
// "InvalidLayerException".
//
// The layer digest calculation performed by Amazon ECR upon receipt of the
// image layer does not match the digest specified.
ErrCodeInvalidLayerException = "InvalidLayerException"
// ErrCodeInvalidLayerPartException for service response error code
// "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.
ErrCodeInvalidLayerPartException = "InvalidLayerPartException"
// ErrCodeInvalidParameterException for service response error code
// "InvalidParameterException".
//
// The specified parameter is invalid. Review the available parameters for the
// API request.
ErrCodeInvalidParameterException = "InvalidParameterException"
// ErrCodeLayerAlreadyExistsException for service response error code
// "LayerAlreadyExistsException".
//
// The image layer already exists in the associated repository.
ErrCodeLayerAlreadyExistsException = "LayerAlreadyExistsException"
// ErrCodeLayerInaccessibleException for service response error code
// "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.
ErrCodeLayerInaccessibleException = "LayerInaccessibleException"
// ErrCodeLayerPartTooSmallException for service response error code
// "LayerPartTooSmallException".
//
// Layer parts must be at least 5 MiB in size.
ErrCodeLayerPartTooSmallException = "LayerPartTooSmallException"
// ErrCodeLayersNotFoundException for service response error code
// "LayersNotFoundException".
//
// The specified layers could not be found, or the specified layer is not valid
// for this repository.
ErrCodeLayersNotFoundException = "LayersNotFoundException"
// ErrCodeLimitExceededException for service response error code
// "LimitExceededException".
//
// The operation did not succeed because it would have exceeded a service limit
// for your account. For more information, see Amazon ECR Default Service Limits
// (http://docs.aws.amazon.com/AmazonECR/latest/userguide/service_limits.html)
// in the Amazon EC2 Container Registry User Guide.
ErrCodeLimitExceededException = "LimitExceededException"
// ErrCodeRepositoryAlreadyExistsException for service response error code
// "RepositoryAlreadyExistsException".
//
// The specified repository already exists in the specified registry.
ErrCodeRepositoryAlreadyExistsException = "RepositoryAlreadyExistsException"
// ErrCodeRepositoryNotEmptyException for service response error code
// "RepositoryNotEmptyException".
//
// The specified repository contains images. To delete a repository that contains
// images, you must force the deletion with the force parameter.
ErrCodeRepositoryNotEmptyException = "RepositoryNotEmptyException"
// ErrCodeRepositoryNotFoundException for service response error code
// "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.
ErrCodeRepositoryNotFoundException = "RepositoryNotFoundException"
// ErrCodeRepositoryPolicyNotFoundException for service response error code
// "RepositoryPolicyNotFoundException".
//
// The specified repository and registry combination does not have an associated
// repository policy.
ErrCodeRepositoryPolicyNotFoundException = "RepositoryPolicyNotFoundException"
// ErrCodeServerException for service response error code
// "ServerException".
//
// These errors are usually caused by a server-side issue.
ErrCodeServerException = "ServerException"
// ErrCodeUploadNotFoundException for service response error code
// "UploadNotFoundException".
//
// The upload could not be found, or the specified upload id is not valid for
// this repository.
ErrCodeUploadNotFoundException = "UploadNotFoundException"
)

View File

@ -68,15 +68,15 @@ func (c *ECS) CreateClusterRequest(input *CreateClusterInput) (req *request.Requ
// API operation CreateCluster for usage and error information.
//
// Returned Error Codes:
// * ServerException
// * ErrCodeServerException "ServerException"
// These errors are usually caused by a server issue.
//
// * ClientException
// * ErrCodeClientException "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 permission to use the action
// or resource, or specifying an identifier that is not valid.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// The specified parameter is invalid. Review the available parameters for the
// API request.
//
@ -199,19 +199,19 @@ func (c *ECS) CreateServiceRequest(input *CreateServiceInput) (req *request.Requ
// API operation CreateService for usage and error information.
//
// Returned Error Codes:
// * ServerException
// * ErrCodeServerException "ServerException"
// These errors are usually caused by a server issue.
//
// * ClientException
// * ErrCodeClientException "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 permission to use the action
// or resource, or specifying an identifier that is not valid.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// The specified parameter is invalid. Review the available parameters for the
// API request.
//
// * ClusterNotFoundException
// * ErrCodeClusterNotFoundException "ClusterNotFoundException"
// The specified cluster could not be found. You can view your available clusters
// with ListClusters. Amazon ECS clusters are region-specific.
//
@ -277,16 +277,16 @@ func (c *ECS) DeleteAttributesRequest(input *DeleteAttributesInput) (req *reques
// API operation DeleteAttributes for usage and error information.
//
// Returned Error Codes:
// * ClusterNotFoundException
// * ErrCodeClusterNotFoundException "ClusterNotFoundException"
// The specified cluster could not be found. You can view your available clusters
// with ListClusters. Amazon ECS clusters are region-specific.
//
// * TargetNotFoundException
// * ErrCodeTargetNotFoundException "TargetNotFoundException"
// The specified target could not be found. You can view your available container
// instances with ListContainerInstances. Amazon ECS container instances are
// cluster-specific and region-specific.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// The specified parameter is invalid. Review the available parameters for the
// API request.
//
@ -354,28 +354,28 @@ func (c *ECS) DeleteClusterRequest(input *DeleteClusterInput) (req *request.Requ
// API operation DeleteCluster for usage and error information.
//
// Returned Error Codes:
// * ServerException
// * ErrCodeServerException "ServerException"
// These errors are usually caused by a server issue.
//
// * ClientException
// * ErrCodeClientException "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 permission to use the action
// or resource, or specifying an identifier that is not valid.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// The specified parameter is invalid. Review the available parameters for the
// API request.
//
// * ClusterNotFoundException
// * ErrCodeClusterNotFoundException "ClusterNotFoundException"
// The specified cluster could not be found. You can view your available clusters
// with ListClusters. Amazon ECS clusters are region-specific.
//
// * ClusterContainsContainerInstancesException
// * ErrCodeClusterContainsContainerInstancesException "ClusterContainsContainerInstancesException"
// You cannot delete a cluster that has registered container instances. You
// must first deregister the container instances before you can delete the cluster.
// For more information, see DeregisterContainerInstance.
//
// * ClusterContainsServicesException
// * ErrCodeClusterContainsServicesException "ClusterContainsServicesException"
// You cannot delete a cluster that contains services. You must first update
// the service to reduce its desired task count to 0 and then delete the service.
// For more information, see UpdateService and DeleteService.
@ -455,23 +455,23 @@ func (c *ECS) DeleteServiceRequest(input *DeleteServiceInput) (req *request.Requ
// API operation DeleteService for usage and error information.
//
// Returned Error Codes:
// * ServerException
// * ErrCodeServerException "ServerException"
// These errors are usually caused by a server issue.
//
// * ClientException
// * ErrCodeClientException "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 permission to use the action
// or resource, or specifying an identifier that is not valid.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// The specified parameter is invalid. Review the available parameters for the
// API request.
//
// * ClusterNotFoundException
// * ErrCodeClusterNotFoundException "ClusterNotFoundException"
// The specified cluster could not be found. You can view your available clusters
// with ListClusters. Amazon ECS clusters are region-specific.
//
// * ServiceNotFoundException
// * ErrCodeServiceNotFoundException "ServiceNotFoundException"
// The specified service could not be found. You can view your available services
// with ListServices. Amazon ECS services are cluster-specific and region-specific.
//
@ -551,19 +551,19 @@ func (c *ECS) DeregisterContainerInstanceRequest(input *DeregisterContainerInsta
// API operation DeregisterContainerInstance for usage and error information.
//
// Returned Error Codes:
// * ServerException
// * ErrCodeServerException "ServerException"
// These errors are usually caused by a server issue.
//
// * ClientException
// * ErrCodeClientException "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 permission to use the action
// or resource, or specifying an identifier that is not valid.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// The specified parameter is invalid. Review the available parameters for the
// API request.
//
// * ClusterNotFoundException
// * ErrCodeClusterNotFoundException "ClusterNotFoundException"
// The specified cluster could not be found. You can view your available clusters
// with ListClusters. Amazon ECS clusters are region-specific.
//
@ -638,15 +638,15 @@ func (c *ECS) DeregisterTaskDefinitionRequest(input *DeregisterTaskDefinitionInp
// API operation DeregisterTaskDefinition for usage and error information.
//
// Returned Error Codes:
// * ServerException
// * ErrCodeServerException "ServerException"
// These errors are usually caused by a server issue.
//
// * ClientException
// * ErrCodeClientException "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 permission to use the action
// or resource, or specifying an identifier that is not valid.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// The specified parameter is invalid. Review the available parameters for the
// API request.
//
@ -712,15 +712,15 @@ func (c *ECS) DescribeClustersRequest(input *DescribeClustersInput) (req *reques
// API operation DescribeClusters for usage and error information.
//
// Returned Error Codes:
// * ServerException
// * ErrCodeServerException "ServerException"
// These errors are usually caused by a server issue.
//
// * ClientException
// * ErrCodeClientException "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 permission to use the action
// or resource, or specifying an identifier that is not valid.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// The specified parameter is invalid. Review the available parameters for the
// API request.
//
@ -787,19 +787,19 @@ func (c *ECS) DescribeContainerInstancesRequest(input *DescribeContainerInstance
// API operation DescribeContainerInstances for usage and error information.
//
// Returned Error Codes:
// * ServerException
// * ErrCodeServerException "ServerException"
// These errors are usually caused by a server issue.
//
// * ClientException
// * ErrCodeClientException "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 permission to use the action
// or resource, or specifying an identifier that is not valid.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// The specified parameter is invalid. Review the available parameters for the
// API request.
//
// * ClusterNotFoundException
// * ErrCodeClusterNotFoundException "ClusterNotFoundException"
// The specified cluster could not be found. You can view your available clusters
// with ListClusters. Amazon ECS clusters are region-specific.
//
@ -865,19 +865,19 @@ func (c *ECS) DescribeServicesRequest(input *DescribeServicesInput) (req *reques
// API operation DescribeServices for usage and error information.
//
// Returned Error Codes:
// * ServerException
// * ErrCodeServerException "ServerException"
// These errors are usually caused by a server issue.
//
// * ClientException
// * ErrCodeClientException "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 permission to use the action
// or resource, or specifying an identifier that is not valid.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// The specified parameter is invalid. Review the available parameters for the
// API request.
//
// * ClusterNotFoundException
// * ErrCodeClusterNotFoundException "ClusterNotFoundException"
// The specified cluster could not be found. You can view your available clusters
// with ListClusters. Amazon ECS clusters are region-specific.
//
@ -948,15 +948,15 @@ func (c *ECS) DescribeTaskDefinitionRequest(input *DescribeTaskDefinitionInput)
// API operation DescribeTaskDefinition for usage and error information.
//
// Returned Error Codes:
// * ServerException
// * ErrCodeServerException "ServerException"
// These errors are usually caused by a server issue.
//
// * ClientException
// * ErrCodeClientException "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 permission to use the action
// or resource, or specifying an identifier that is not valid.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// The specified parameter is invalid. Review the available parameters for the
// API request.
//
@ -1022,19 +1022,19 @@ func (c *ECS) DescribeTasksRequest(input *DescribeTasksInput) (req *request.Requ
// API operation DescribeTasks for usage and error information.
//
// Returned Error Codes:
// * ServerException
// * ErrCodeServerException "ServerException"
// These errors are usually caused by a server issue.
//
// * ClientException
// * ErrCodeClientException "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 permission to use the action
// or resource, or specifying an identifier that is not valid.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// The specified parameter is invalid. Review the available parameters for the
// API request.
//
// * ClusterNotFoundException
// * ErrCodeClusterNotFoundException "ClusterNotFoundException"
// The specified cluster could not be found. You can view your available clusters
// with ListClusters. Amazon ECS clusters are region-specific.
//
@ -1104,10 +1104,10 @@ func (c *ECS) DiscoverPollEndpointRequest(input *DiscoverPollEndpointInput) (req
// API operation DiscoverPollEndpoint for usage and error information.
//
// Returned Error Codes:
// * ServerException
// * ErrCodeServerException "ServerException"
// These errors are usually caused by a server issue.
//
// * ClientException
// * ErrCodeClientException "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 permission to use the action
// or resource, or specifying an identifier that is not valid.
@ -1180,11 +1180,11 @@ func (c *ECS) ListAttributesRequest(input *ListAttributesInput) (req *request.Re
// API operation ListAttributes for usage and error information.
//
// Returned Error Codes:
// * ClusterNotFoundException
// * ErrCodeClusterNotFoundException "ClusterNotFoundException"
// The specified cluster could not be found. You can view your available clusters
// with ListClusters. Amazon ECS clusters are region-specific.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// The specified parameter is invalid. Review the available parameters for the
// API request.
//
@ -1256,15 +1256,15 @@ func (c *ECS) ListClustersRequest(input *ListClustersInput) (req *request.Reques
// API operation ListClusters for usage and error information.
//
// Returned Error Codes:
// * ServerException
// * ErrCodeServerException "ServerException"
// These errors are usually caused by a server issue.
//
// * ClientException
// * ErrCodeClientException "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 permission to use the action
// or resource, or specifying an identifier that is not valid.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// The specified parameter is invalid. Review the available parameters for the
// API request.
//
@ -1365,19 +1365,19 @@ func (c *ECS) ListContainerInstancesRequest(input *ListContainerInstancesInput)
// API operation ListContainerInstances for usage and error information.
//
// Returned Error Codes:
// * ServerException
// * ErrCodeServerException "ServerException"
// These errors are usually caused by a server issue.
//
// * ClientException
// * ErrCodeClientException "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 permission to use the action
// or resource, or specifying an identifier that is not valid.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// The specified parameter is invalid. Review the available parameters for the
// API request.
//
// * ClusterNotFoundException
// * ErrCodeClusterNotFoundException "ClusterNotFoundException"
// The specified cluster could not be found. You can view your available clusters
// with ListClusters. Amazon ECS clusters are region-specific.
//
@ -1474,19 +1474,19 @@ func (c *ECS) ListServicesRequest(input *ListServicesInput) (req *request.Reques
// API operation ListServices for usage and error information.
//
// Returned Error Codes:
// * ServerException
// * ErrCodeServerException "ServerException"
// These errors are usually caused by a server issue.
//
// * ClientException
// * ErrCodeClientException "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 permission to use the action
// or resource, or specifying an identifier that is not valid.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// The specified parameter is invalid. Review the available parameters for the
// API request.
//
// * ClusterNotFoundException
// * ErrCodeClusterNotFoundException "ClusterNotFoundException"
// The specified cluster could not be found. You can view your available clusters
// with ListClusters. Amazon ECS clusters are region-specific.
//
@ -1589,15 +1589,15 @@ func (c *ECS) ListTaskDefinitionFamiliesRequest(input *ListTaskDefinitionFamilie
// API operation ListTaskDefinitionFamilies for usage and error information.
//
// Returned Error Codes:
// * ServerException
// * ErrCodeServerException "ServerException"
// These errors are usually caused by a server issue.
//
// * ClientException
// * ErrCodeClientException "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 permission to use the action
// or resource, or specifying an identifier that is not valid.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// The specified parameter is invalid. Review the available parameters for the
// API request.
//
@ -1696,15 +1696,15 @@ func (c *ECS) ListTaskDefinitionsRequest(input *ListTaskDefinitionsInput) (req *
// API operation ListTaskDefinitions for usage and error information.
//
// Returned Error Codes:
// * ServerException
// * ErrCodeServerException "ServerException"
// These errors are usually caused by a server issue.
//
// * ClientException
// * ErrCodeClientException "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 permission to use the action
// or resource, or specifying an identifier that is not valid.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// The specified parameter is invalid. Review the available parameters for the
// API request.
//
@ -1806,23 +1806,23 @@ func (c *ECS) ListTasksRequest(input *ListTasksInput) (req *request.Request, out
// API operation ListTasks for usage and error information.
//
// Returned Error Codes:
// * ServerException
// * ErrCodeServerException "ServerException"
// These errors are usually caused by a server issue.
//
// * ClientException
// * ErrCodeClientException "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 permission to use the action
// or resource, or specifying an identifier that is not valid.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// The specified parameter is invalid. Review the available parameters for the
// API request.
//
// * ClusterNotFoundException
// * ErrCodeClusterNotFoundException "ClusterNotFoundException"
// The specified cluster could not be found. You can view your available clusters
// with ListClusters. Amazon ECS clusters are region-specific.
//
// * ServiceNotFoundException
// * ErrCodeServiceNotFoundException "ServiceNotFoundException"
// The specified service could not be found. You can view your available services
// with ListServices. Amazon ECS services are cluster-specific and region-specific.
//
@ -1917,21 +1917,21 @@ func (c *ECS) PutAttributesRequest(input *PutAttributesInput) (req *request.Requ
// API operation PutAttributes for usage and error information.
//
// Returned Error Codes:
// * ClusterNotFoundException
// * ErrCodeClusterNotFoundException "ClusterNotFoundException"
// The specified cluster could not be found. You can view your available clusters
// with ListClusters. Amazon ECS clusters are region-specific.
//
// * TargetNotFoundException
// * ErrCodeTargetNotFoundException "TargetNotFoundException"
// The specified target could not be found. You can view your available container
// instances with ListContainerInstances. Amazon ECS container instances are
// cluster-specific and region-specific.
//
// * AttributeLimitExceededException
// * ErrCodeAttributeLimitExceededException "AttributeLimitExceededException"
// You can apply up to 10 custom attributes per resource. You can view the attributes
// of a resource with ListAttributes. You can remove existing attributes on
// a resource with DeleteAttributes.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// The specified parameter is invalid. Review the available parameters for the
// API request.
//
@ -2001,10 +2001,10 @@ func (c *ECS) RegisterContainerInstanceRequest(input *RegisterContainerInstanceI
// API operation RegisterContainerInstance for usage and error information.
//
// Returned Error Codes:
// * ServerException
// * ErrCodeServerException "ServerException"
// These errors are usually caused by a server issue.
//
// * ClientException
// * ErrCodeClientException "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 permission to use the action
// or resource, or specifying an identifier that is not valid.
@ -2087,15 +2087,15 @@ func (c *ECS) RegisterTaskDefinitionRequest(input *RegisterTaskDefinitionInput)
// API operation RegisterTaskDefinition for usage and error information.
//
// Returned Error Codes:
// * ServerException
// * ErrCodeServerException "ServerException"
// These errors are usually caused by a server issue.
//
// * ClientException
// * ErrCodeClientException "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 permission to use the action
// or resource, or specifying an identifier that is not valid.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// The specified parameter is invalid. Review the available parameters for the
// API request.
//
@ -2169,19 +2169,19 @@ func (c *ECS) RunTaskRequest(input *RunTaskInput) (req *request.Request, output
// API operation RunTask for usage and error information.
//
// Returned Error Codes:
// * ServerException
// * ErrCodeServerException "ServerException"
// These errors are usually caused by a server issue.
//
// * ClientException
// * ErrCodeClientException "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 permission to use the action
// or resource, or specifying an identifier that is not valid.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// The specified parameter is invalid. Review the available parameters for the
// API request.
//
// * ClusterNotFoundException
// * ErrCodeClusterNotFoundException "ClusterNotFoundException"
// The specified cluster could not be found. You can view your available clusters
// with ListClusters. Amazon ECS clusters are region-specific.
//
@ -2252,19 +2252,19 @@ func (c *ECS) StartTaskRequest(input *StartTaskInput) (req *request.Request, out
// API operation StartTask for usage and error information.
//
// Returned Error Codes:
// * ServerException
// * ErrCodeServerException "ServerException"
// These errors are usually caused by a server issue.
//
// * ClientException
// * ErrCodeClientException "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 permission to use the action
// or resource, or specifying an identifier that is not valid.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// The specified parameter is invalid. Review the available parameters for the
// API request.
//
// * ClusterNotFoundException
// * ErrCodeClusterNotFoundException "ClusterNotFoundException"
// The specified cluster could not be found. You can view your available clusters
// with ListClusters. Amazon ECS clusters are region-specific.
//
@ -2336,19 +2336,19 @@ func (c *ECS) StopTaskRequest(input *StopTaskInput) (req *request.Request, outpu
// API operation StopTask for usage and error information.
//
// Returned Error Codes:
// * ServerException
// * ErrCodeServerException "ServerException"
// These errors are usually caused by a server issue.
//
// * ClientException
// * ErrCodeClientException "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 permission to use the action
// or resource, or specifying an identifier that is not valid.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// The specified parameter is invalid. Review the available parameters for the
// API request.
//
// * ClusterNotFoundException
// * ErrCodeClusterNotFoundException "ClusterNotFoundException"
// The specified cluster could not be found. You can view your available clusters
// with ListClusters. Amazon ECS clusters are region-specific.
//
@ -2417,10 +2417,10 @@ func (c *ECS) SubmitContainerStateChangeRequest(input *SubmitContainerStateChang
// API operation SubmitContainerStateChange for usage and error information.
//
// Returned Error Codes:
// * ServerException
// * ErrCodeServerException "ServerException"
// These errors are usually caused by a server issue.
//
// * ClientException
// * ErrCodeClientException "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 permission to use the action
// or resource, or specifying an identifier that is not valid.
@ -2490,10 +2490,10 @@ func (c *ECS) SubmitTaskStateChangeRequest(input *SubmitTaskStateChangeInput) (r
// API operation SubmitTaskStateChange for usage and error information.
//
// Returned Error Codes:
// * ServerException
// * ErrCodeServerException "ServerException"
// These errors are usually caused by a server issue.
//
// * ClientException
// * ErrCodeClientException "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 permission to use the action
// or resource, or specifying an identifier that is not valid.
@ -2570,35 +2570,35 @@ func (c *ECS) UpdateContainerAgentRequest(input *UpdateContainerAgentInput) (req
// API operation UpdateContainerAgent for usage and error information.
//
// Returned Error Codes:
// * ServerException
// * ErrCodeServerException "ServerException"
// These errors are usually caused by a server issue.
//
// * ClientException
// * ErrCodeClientException "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 permission to use the action
// or resource, or specifying an identifier that is not valid.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// The specified parameter is invalid. Review the available parameters for the
// API request.
//
// * ClusterNotFoundException
// * ErrCodeClusterNotFoundException "ClusterNotFoundException"
// The specified cluster could not be found. You can view your available clusters
// with ListClusters. Amazon ECS clusters are region-specific.
//
// * UpdateInProgressException
// * ErrCodeUpdateInProgressException "UpdateInProgressException"
// There is already a current Amazon ECS container agent update in progress
// on the specified container instance. If the container agent becomes disconnected
// while it is 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
// * ErrCodeNoUpdateAvailableException "NoUpdateAvailableException"
// There is no update available for this Amazon ECS container agent. This could
// be because the agent is already running the latest version, or it is so old
// that there is no update path to the current version.
//
// * MissingVersionException
// * ErrCodeMissingVersionException "MissingVersionException"
// Amazon ECS is unable to determine the current version of the Amazon ECS container
// agent on the container instance and does not have enough information to proceed
// with an update. This could be because the agent running on the container
@ -2709,19 +2709,19 @@ func (c *ECS) UpdateContainerInstancesStateRequest(input *UpdateContainerInstanc
// API operation UpdateContainerInstancesState for usage and error information.
//
// Returned Error Codes:
// * ServerException
// * ErrCodeServerException "ServerException"
// These errors are usually caused by a server issue.
//
// * ClientException
// * ErrCodeClientException "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 permission to use the action
// or resource, or specifying an identifier that is not valid.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// The specified parameter is invalid. Review the available parameters for the
// API request.
//
// * ClusterNotFoundException
// * ErrCodeClusterNotFoundException "ClusterNotFoundException"
// The specified cluster could not be found. You can view your available clusters
// with ListClusters. Amazon ECS clusters are region-specific.
//
@ -2853,27 +2853,27 @@ func (c *ECS) UpdateServiceRequest(input *UpdateServiceInput) (req *request.Requ
// API operation UpdateService for usage and error information.
//
// Returned Error Codes:
// * ServerException
// * ErrCodeServerException "ServerException"
// These errors are usually caused by a server issue.
//
// * ClientException
// * ErrCodeClientException "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 permission to use the action
// or resource, or specifying an identifier that is not valid.
//
// * InvalidParameterException
// * ErrCodeInvalidParameterException "InvalidParameterException"
// The specified parameter is invalid. Review the available parameters for the
// API request.
//
// * ClusterNotFoundException
// * ErrCodeClusterNotFoundException "ClusterNotFoundException"
// The specified cluster could not be found. You can view your available clusters
// with ListClusters. Amazon ECS clusters are region-specific.
//
// * ServiceNotFoundException
// * ErrCodeServiceNotFoundException "ServiceNotFoundException"
// The specified service could not be found. You can view your available services
// with ListServices. Amazon ECS services are cluster-specific and region-specific.
//
// * ServiceNotActiveException
// * ErrCodeServiceNotActiveException "ServiceNotActiveException"
// The specified service is not active. You cannot update a service that is
// not active. If you have previously deleted a service, you can re-create it
// with CreateService.

108
vendor/github.com/aws/aws-sdk-go/service/ecs/errors.go generated vendored Normal file
View File

@ -0,0 +1,108 @@
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
package ecs
const (
// ErrCodeAttributeLimitExceededException for service response error code
// "AttributeLimitExceededException".
//
// You can apply up to 10 custom attributes per resource. You can view the attributes
// of a resource with ListAttributes. You can remove existing attributes on
// a resource with DeleteAttributes.
ErrCodeAttributeLimitExceededException = "AttributeLimitExceededException"
// ErrCodeClientException for service response error code
// "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 permission to use the action
// or resource, or specifying an identifier that is not valid.
ErrCodeClientException = "ClientException"
// ErrCodeClusterContainsContainerInstancesException for service response error code
// "ClusterContainsContainerInstancesException".
//
// You cannot delete a cluster that has registered container instances. You
// must first deregister the container instances before you can delete the cluster.
// For more information, see DeregisterContainerInstance.
ErrCodeClusterContainsContainerInstancesException = "ClusterContainsContainerInstancesException"
// ErrCodeClusterContainsServicesException for service response error code
// "ClusterContainsServicesException".
//
// You cannot delete a cluster that contains services. You must first update
// the service to reduce its desired task count to 0 and then delete the service.
// For more information, see UpdateService and DeleteService.
ErrCodeClusterContainsServicesException = "ClusterContainsServicesException"
// ErrCodeClusterNotFoundException for service response error code
// "ClusterNotFoundException".
//
// The specified cluster could not be found. You can view your available clusters
// with ListClusters. Amazon ECS clusters are region-specific.
ErrCodeClusterNotFoundException = "ClusterNotFoundException"
// ErrCodeInvalidParameterException for service response error code
// "InvalidParameterException".
//
// The specified parameter is invalid. Review the available parameters for the
// API request.
ErrCodeInvalidParameterException = "InvalidParameterException"
// ErrCodeMissingVersionException for service response error code
// "MissingVersionException".
//
// Amazon ECS is unable to determine the current version of the Amazon ECS container
// agent on the container instance and does not have enough information to proceed
// with an update. This could be because the agent running on the container
// instance is an older or custom version that does not use our version information.
ErrCodeMissingVersionException = "MissingVersionException"
// ErrCodeNoUpdateAvailableException for service response error code
// "NoUpdateAvailableException".
//
// There is no update available for this Amazon ECS container agent. This could
// be because the agent is already running the latest version, or it is so old
// that there is no update path to the current version.
ErrCodeNoUpdateAvailableException = "NoUpdateAvailableException"
// ErrCodeServerException for service response error code
// "ServerException".
//
// These errors are usually caused by a server issue.
ErrCodeServerException = "ServerException"
// ErrCodeServiceNotActiveException for service response error code
// "ServiceNotActiveException".
//
// The specified service is not active. You cannot update a service that is
// not active. If you have previously deleted a service, you can re-create it
// with CreateService.
ErrCodeServiceNotActiveException = "ServiceNotActiveException"
// ErrCodeServiceNotFoundException for service response error code
// "ServiceNotFoundException".
//
// The specified service could not be found. You can view your available services
// with ListServices. Amazon ECS services are cluster-specific and region-specific.
ErrCodeServiceNotFoundException = "ServiceNotFoundException"
// ErrCodeTargetNotFoundException for service response error code
// "TargetNotFoundException".
//
// The specified target could not be found. You can view your available container
// instances with ListContainerInstances. Amazon ECS container instances are
// cluster-specific and region-specific.
ErrCodeTargetNotFoundException = "TargetNotFoundException"
// ErrCodeUpdateInProgressException for service response error code
// "UpdateInProgressException".
//
// There is already a current Amazon ECS container agent update in progress
// on the specified container instance. If the container agent becomes disconnected
// while it is 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.
ErrCodeUpdateInProgressException = "UpdateInProgressException"
)

View File

@ -113,18 +113,18 @@ func (c *EFS) CreateFileSystemRequest(input *CreateFileSystemInput) (req *reques
// API operation CreateFileSystem for usage and error information.
//
// Returned Error Codes:
// * BadRequest
// * ErrCodeBadRequest "BadRequest"
// Returned if the request is malformed or contains an error such as an invalid
// parameter value or a missing required parameter.
//
// * InternalServerError
// * ErrCodeInternalServerError "InternalServerError"
// Returned if an error occurred on the server side.
//
// * FileSystemAlreadyExists
// * ErrCodeFileSystemAlreadyExists "FileSystemAlreadyExists"
// Returned if the file system you are trying to create already exists, with
// the creation token you provided.
//
// * FileSystemLimitExceeded
// * ErrCodeFileSystemLimitExceeded "FileSystemLimitExceeded"
// Returned if the AWS account has already created maximum number of file systems
// allowed per account.
//
@ -284,52 +284,51 @@ func (c *EFS) CreateMountTargetRequest(input *CreateMountTargetInput) (req *requ
// API operation CreateMountTarget for usage and error information.
//
// Returned Error Codes:
// * BadRequest
// * ErrCodeBadRequest "BadRequest"
// Returned if the request is malformed or contains an error such as an invalid
// parameter value or a missing required parameter.
//
// * InternalServerError
// * ErrCodeInternalServerError "InternalServerError"
// Returned if an error occurred on the server side.
//
// * FileSystemNotFound
// * ErrCodeFileSystemNotFound "FileSystemNotFound"
// Returned if the specified FileSystemId does not exist in the requester's
// AWS account.
//
// * IncorrectFileSystemLifeCycleState
// * ErrCodeIncorrectFileSystemLifeCycleState "IncorrectFileSystemLifeCycleState"
// Returned if the file system's life cycle state is not "created".
//
// * MountTargetConflict
// * ErrCodeMountTargetConflict "MountTargetConflict"
// Returned if the mount target would violate one of the specified restrictions
// based on the file system's existing mount targets.
//
// * SubnetNotFound
// * ErrCodeSubnetNotFound "SubnetNotFound"
// Returned if there is no subnet with ID SubnetId provided in the request.
//
// * NoFreeAddressesInSubnet
// * ErrCodeNoFreeAddressesInSubnet "NoFreeAddressesInSubnet"
// Returned if IpAddress was not specified in the request and there are no free
// IP addresses in the subnet.
//
// * IpAddressInUse
// * ErrCodeIpAddressInUse "IpAddressInUse"
// Returned if the request specified an IpAddress that is already in use in
// the subnet.
//
// * NetworkInterfaceLimitExceeded
// * ErrCodeNetworkInterfaceLimitExceeded "NetworkInterfaceLimitExceeded"
// The calling account has reached the ENI limit for the specific AWS region.
// Client should try to delete some ENIs or get its account limit raised. For
// more information, see Amazon VPC Limits (http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_Appendix_Limits.html)
// in the Amazon Virtual Private Cloud User Guide (see the Network interfaces
// per VPC entry in the table).
//
// * SecurityGroupLimitExceeded
// * ErrCodeSecurityGroupLimitExceeded "SecurityGroupLimitExceeded"
// Returned if the size of SecurityGroups specified in the request is greater
// than five.
//
// * SecurityGroupNotFound
// * ErrCodeSecurityGroupNotFound "SecurityGroupNotFound"
// Returned if one of the specified security groups does not exist in the subnet's
// VPC.
//
// * UnsupportedAvailabilityZone
// * ErrCodeUnsupportedAvailabilityZone "UnsupportedAvailabilityZone"
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/CreateMountTarget
func (c *EFS) CreateMountTarget(input *CreateMountTargetInput) (*MountTargetDescription, error) {
@ -401,14 +400,14 @@ func (c *EFS) CreateTagsRequest(input *CreateTagsInput) (req *request.Request, o
// API operation CreateTags for usage and error information.
//
// Returned Error Codes:
// * BadRequest
// * ErrCodeBadRequest "BadRequest"
// Returned if the request is malformed or contains an error such as an invalid
// parameter value or a missing required parameter.
//
// * InternalServerError
// * ErrCodeInternalServerError "InternalServerError"
// Returned if an error occurred on the server side.
//
// * FileSystemNotFound
// * ErrCodeFileSystemNotFound "FileSystemNotFound"
// Returned if the specified FileSystemId does not exist in the requester's
// AWS account.
//
@ -491,18 +490,18 @@ func (c *EFS) DeleteFileSystemRequest(input *DeleteFileSystemInput) (req *reques
// API operation DeleteFileSystem for usage and error information.
//
// Returned Error Codes:
// * BadRequest
// * ErrCodeBadRequest "BadRequest"
// Returned if the request is malformed or contains an error such as an invalid
// parameter value or a missing required parameter.
//
// * InternalServerError
// * ErrCodeInternalServerError "InternalServerError"
// Returned if an error occurred on the server side.
//
// * FileSystemNotFound
// * ErrCodeFileSystemNotFound "FileSystemNotFound"
// Returned if the specified FileSystemId does not exist in the requester's
// AWS account.
//
// * FileSystemInUse
// * ErrCodeFileSystemInUse "FileSystemInUse"
// Returned if a file system has mount targets.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DeleteFileSystem
@ -593,18 +592,18 @@ func (c *EFS) DeleteMountTargetRequest(input *DeleteMountTargetInput) (req *requ
// API operation DeleteMountTarget for usage and error information.
//
// Returned Error Codes:
// * BadRequest
// * ErrCodeBadRequest "BadRequest"
// Returned if the request is malformed or contains an error such as an invalid
// parameter value or a missing required parameter.
//
// * InternalServerError
// * ErrCodeInternalServerError "InternalServerError"
// Returned if an error occurred on the server side.
//
// * DependencyTimeout
// * ErrCodeDependencyTimeout "DependencyTimeout"
// The service timed out trying to fulfill the request, and the client should
// try the call again.
//
// * MountTargetNotFound
// * ErrCodeMountTargetNotFound "MountTargetNotFound"
// Returned if there is no mount target with the specified ID found in the caller's
// account.
//
@ -679,14 +678,14 @@ func (c *EFS) DeleteTagsRequest(input *DeleteTagsInput) (req *request.Request, o
// API operation DeleteTags for usage and error information.
//
// Returned Error Codes:
// * BadRequest
// * ErrCodeBadRequest "BadRequest"
// Returned if the request is malformed or contains an error such as an invalid
// parameter value or a missing required parameter.
//
// * InternalServerError
// * ErrCodeInternalServerError "InternalServerError"
// Returned if an error occurred on the server side.
//
// * FileSystemNotFound
// * ErrCodeFileSystemNotFound "FileSystemNotFound"
// Returned if the specified FileSystemId does not exist in the requester's
// AWS account.
//
@ -777,14 +776,14 @@ func (c *EFS) DescribeFileSystemsRequest(input *DescribeFileSystemsInput) (req *
// API operation DescribeFileSystems for usage and error information.
//
// Returned Error Codes:
// * BadRequest
// * ErrCodeBadRequest "BadRequest"
// Returned if the request is malformed or contains an error such as an invalid
// parameter value or a missing required parameter.
//
// * InternalServerError
// * ErrCodeInternalServerError "InternalServerError"
// Returned if an error occurred on the server side.
//
// * FileSystemNotFound
// * ErrCodeFileSystemNotFound "FileSystemNotFound"
// Returned if the specified FileSystemId does not exist in the requester's
// AWS account.
//
@ -860,18 +859,18 @@ func (c *EFS) DescribeMountTargetSecurityGroupsRequest(input *DescribeMountTarge
// API operation DescribeMountTargetSecurityGroups for usage and error information.
//
// Returned Error Codes:
// * BadRequest
// * ErrCodeBadRequest "BadRequest"
// Returned if the request is malformed or contains an error such as an invalid
// parameter value or a missing required parameter.
//
// * InternalServerError
// * ErrCodeInternalServerError "InternalServerError"
// Returned if an error occurred on the server side.
//
// * MountTargetNotFound
// * ErrCodeMountTargetNotFound "MountTargetNotFound"
// Returned if there is no mount target with the specified ID found in the caller's
// account.
//
// * IncorrectMountTargetState
// * ErrCodeIncorrectMountTargetState "IncorrectMountTargetState"
// Returned if the mount target is not in the correct state for the operation.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeMountTargetSecurityGroups
@ -942,18 +941,18 @@ func (c *EFS) DescribeMountTargetsRequest(input *DescribeMountTargetsInput) (req
// API operation DescribeMountTargets for usage and error information.
//
// Returned Error Codes:
// * BadRequest
// * ErrCodeBadRequest "BadRequest"
// Returned if the request is malformed or contains an error such as an invalid
// parameter value or a missing required parameter.
//
// * InternalServerError
// * ErrCodeInternalServerError "InternalServerError"
// Returned if an error occurred on the server side.
//
// * FileSystemNotFound
// * ErrCodeFileSystemNotFound "FileSystemNotFound"
// Returned if the specified FileSystemId does not exist in the requester's
// AWS account.
//
// * MountTargetNotFound
// * ErrCodeMountTargetNotFound "MountTargetNotFound"
// Returned if there is no mount target with the specified ID found in the caller's
// account.
//
@ -1024,14 +1023,14 @@ func (c *EFS) DescribeTagsRequest(input *DescribeTagsInput) (req *request.Reques
// API operation DescribeTags for usage and error information.
//
// Returned Error Codes:
// * BadRequest
// * ErrCodeBadRequest "BadRequest"
// Returned if the request is malformed or contains an error such as an invalid
// parameter value or a missing required parameter.
//
// * InternalServerError
// * ErrCodeInternalServerError "InternalServerError"
// Returned if an error occurred on the server side.
//
// * FileSystemNotFound
// * ErrCodeFileSystemNotFound "FileSystemNotFound"
// Returned if the specified FileSystemId does not exist in the requester's
// AWS account.
//
@ -1114,25 +1113,25 @@ func (c *EFS) ModifyMountTargetSecurityGroupsRequest(input *ModifyMountTargetSec
// API operation ModifyMountTargetSecurityGroups for usage and error information.
//
// Returned Error Codes:
// * BadRequest
// * ErrCodeBadRequest "BadRequest"
// Returned if the request is malformed or contains an error such as an invalid
// parameter value or a missing required parameter.
//
// * InternalServerError
// * ErrCodeInternalServerError "InternalServerError"
// Returned if an error occurred on the server side.
//
// * MountTargetNotFound
// * ErrCodeMountTargetNotFound "MountTargetNotFound"
// Returned if there is no mount target with the specified ID found in the caller's
// account.
//
// * IncorrectMountTargetState
// * ErrCodeIncorrectMountTargetState "IncorrectMountTargetState"
// Returned if the mount target is not in the correct state for the operation.
//
// * SecurityGroupLimitExceeded
// * ErrCodeSecurityGroupLimitExceeded "SecurityGroupLimitExceeded"
// Returned if the size of SecurityGroups specified in the request is greater
// than five.
//
// * SecurityGroupNotFound
// * ErrCodeSecurityGroupNotFound "SecurityGroupNotFound"
// Returned if one of the specified security groups does not exist in the subnet's
// VPC.
//

127
vendor/github.com/aws/aws-sdk-go/service/efs/errors.go generated vendored Normal file
View File

@ -0,0 +1,127 @@
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
package efs
const (
// ErrCodeBadRequest for service response error code
// "BadRequest".
//
// Returned if the request is malformed or contains an error such as an invalid
// parameter value or a missing required parameter.
ErrCodeBadRequest = "BadRequest"
// ErrCodeDependencyTimeout for service response error code
// "DependencyTimeout".
//
// The service timed out trying to fulfill the request, and the client should
// try the call again.
ErrCodeDependencyTimeout = "DependencyTimeout"
// ErrCodeFileSystemAlreadyExists for service response error code
// "FileSystemAlreadyExists".
//
// Returned if the file system you are trying to create already exists, with
// the creation token you provided.
ErrCodeFileSystemAlreadyExists = "FileSystemAlreadyExists"
// ErrCodeFileSystemInUse for service response error code
// "FileSystemInUse".
//
// Returned if a file system has mount targets.
ErrCodeFileSystemInUse = "FileSystemInUse"
// ErrCodeFileSystemLimitExceeded for service response error code
// "FileSystemLimitExceeded".
//
// Returned if the AWS account has already created maximum number of file systems
// allowed per account.
ErrCodeFileSystemLimitExceeded = "FileSystemLimitExceeded"
// ErrCodeFileSystemNotFound for service response error code
// "FileSystemNotFound".
//
// Returned if the specified FileSystemId does not exist in the requester's
// AWS account.
ErrCodeFileSystemNotFound = "FileSystemNotFound"
// ErrCodeIncorrectFileSystemLifeCycleState for service response error code
// "IncorrectFileSystemLifeCycleState".
//
// Returned if the file system's life cycle state is not "created".
ErrCodeIncorrectFileSystemLifeCycleState = "IncorrectFileSystemLifeCycleState"
// ErrCodeIncorrectMountTargetState for service response error code
// "IncorrectMountTargetState".
//
// Returned if the mount target is not in the correct state for the operation.
ErrCodeIncorrectMountTargetState = "IncorrectMountTargetState"
// ErrCodeInternalServerError for service response error code
// "InternalServerError".
//
// Returned if an error occurred on the server side.
ErrCodeInternalServerError = "InternalServerError"
// ErrCodeIpAddressInUse for service response error code
// "IpAddressInUse".
//
// Returned if the request specified an IpAddress that is already in use in
// the subnet.
ErrCodeIpAddressInUse = "IpAddressInUse"
// ErrCodeMountTargetConflict for service response error code
// "MountTargetConflict".
//
// Returned if the mount target would violate one of the specified restrictions
// based on the file system's existing mount targets.
ErrCodeMountTargetConflict = "MountTargetConflict"
// ErrCodeMountTargetNotFound for service response error code
// "MountTargetNotFound".
//
// Returned if there is no mount target with the specified ID found in the caller's
// account.
ErrCodeMountTargetNotFound = "MountTargetNotFound"
// ErrCodeNetworkInterfaceLimitExceeded for service response error code
// "NetworkInterfaceLimitExceeded".
//
// The calling account has reached the ENI limit for the specific AWS region.
// Client should try to delete some ENIs or get its account limit raised. For
// more information, see Amazon VPC Limits (http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_Appendix_Limits.html)
// in the Amazon Virtual Private Cloud User Guide (see the Network interfaces
// per VPC entry in the table).
ErrCodeNetworkInterfaceLimitExceeded = "NetworkInterfaceLimitExceeded"
// ErrCodeNoFreeAddressesInSubnet for service response error code
// "NoFreeAddressesInSubnet".
//
// Returned if IpAddress was not specified in the request and there are no free
// IP addresses in the subnet.
ErrCodeNoFreeAddressesInSubnet = "NoFreeAddressesInSubnet"
// ErrCodeSecurityGroupLimitExceeded for service response error code
// "SecurityGroupLimitExceeded".
//
// Returned if the size of SecurityGroups specified in the request is greater
// than five.
ErrCodeSecurityGroupLimitExceeded = "SecurityGroupLimitExceeded"
// ErrCodeSecurityGroupNotFound for service response error code
// "SecurityGroupNotFound".
//
// Returned if one of the specified security groups does not exist in the subnet's
// VPC.
ErrCodeSecurityGroupNotFound = "SecurityGroupNotFound"
// ErrCodeSubnetNotFound for service response error code
// "SubnetNotFound".
//
// Returned if there is no subnet with ID SubnetId provided in the request.
ErrCodeSubnetNotFound = "SubnetNotFound"
// ErrCodeUnsupportedAvailabilityZone for service response error code
// "UnsupportedAvailabilityZone".
ErrCodeUnsupportedAvailabilityZone = "UnsupportedAvailabilityZone"
)

View File

@ -77,18 +77,18 @@ func (c *ElastiCache) AddTagsToResourceRequest(input *AddTagsToResourceInput) (r
// API operation AddTagsToResource for usage and error information.
//
// Returned Error Codes:
// * CacheClusterNotFound
// * ErrCodeCacheClusterNotFoundFault "CacheClusterNotFound"
// The requested cache cluster ID does not refer to an existing cache cluster.
//
// * SnapshotNotFoundFault
// * ErrCodeSnapshotNotFoundFault "SnapshotNotFoundFault"
// The requested snapshot name does not refer to an existing snapshot.
//
// * TagQuotaPerResourceExceeded
// * 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 10.
//
// * InvalidARN
// * ErrCodeInvalidARNFault "InvalidARN"
// The requested Amazon Resource Name (ARN) does not refer to an existing resource.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/AddTagsToResource
@ -158,21 +158,21 @@ func (c *ElastiCache) AuthorizeCacheSecurityGroupIngressRequest(input *Authorize
// API operation AuthorizeCacheSecurityGroupIngress for usage and error information.
//
// Returned Error Codes:
// * CacheSecurityGroupNotFound
// * ErrCodeCacheSecurityGroupNotFoundFault "CacheSecurityGroupNotFound"
// The requested cache security group name does not refer to an existing cache
// security group.
//
// * InvalidCacheSecurityGroupState
// * ErrCodeInvalidCacheSecurityGroupStateFault "InvalidCacheSecurityGroupState"
// The current state of the cache security group does not allow deletion.
//
// * AuthorizationAlreadyExists
// * ErrCodeAuthorizationAlreadyExistsFault "AuthorizationAlreadyExists"
// The specified Amazon EC2 security group is already authorized for the specified
// cache security group.
//
// * InvalidParameterValue
// * ErrCodeInvalidParameterValueException "InvalidParameterValue"
// The value for a parameter is invalid.
//
// * InvalidParameterCombination
// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination"
// Two or more incompatible parameters were specified.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/AuthorizeCacheSecurityGroupIngress
@ -301,24 +301,24 @@ func (c *ElastiCache) CopySnapshotRequest(input *CopySnapshotInput) (req *reques
// API operation CopySnapshot for usage and error information.
//
// Returned Error Codes:
// * SnapshotAlreadyExistsFault
// * ErrCodeSnapshotAlreadyExistsFault "SnapshotAlreadyExistsFault"
// You already have a snapshot with the given name.
//
// * SnapshotNotFoundFault
// * ErrCodeSnapshotNotFoundFault "SnapshotNotFoundFault"
// The requested snapshot name does not refer to an existing snapshot.
//
// * SnapshotQuotaExceededFault
// * ErrCodeSnapshotQuotaExceededFault "SnapshotQuotaExceededFault"
// The request cannot be processed because it would exceed the maximum number
// of snapshots.
//
// * InvalidSnapshotState
// * ErrCodeInvalidSnapshotStateFault "InvalidSnapshotState"
// The current state of the snapshot does not allow the requested operation
// to occur.
//
// * InvalidParameterValue
// * ErrCodeInvalidParameterValueException "InvalidParameterValue"
// The value for a parameter is invalid.
//
// * InvalidParameterCombination
// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination"
// Two or more incompatible parameters were specified.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CopySnapshot
@ -388,55 +388,55 @@ func (c *ElastiCache) CreateCacheClusterRequest(input *CreateCacheClusterInput)
// API operation CreateCacheCluster for usage and error information.
//
// Returned Error Codes:
// * ReplicationGroupNotFoundFault
// * ErrCodeReplicationGroupNotFoundFault "ReplicationGroupNotFoundFault"
// The specified replication group does not exist.
//
// * InvalidReplicationGroupState
// * ErrCodeInvalidReplicationGroupStateFault "InvalidReplicationGroupState"
// The requested replication group is not in the available state.
//
// * CacheClusterAlreadyExists
// * ErrCodeCacheClusterAlreadyExistsFault "CacheClusterAlreadyExists"
// You already have a cache cluster with the given identifier.
//
// * InsufficientCacheClusterCapacity
// * ErrCodeInsufficientCacheClusterCapacityFault "InsufficientCacheClusterCapacity"
// The requested cache node type is not available in the specified Availability
// Zone.
//
// * CacheSecurityGroupNotFound
// * ErrCodeCacheSecurityGroupNotFoundFault "CacheSecurityGroupNotFound"
// The requested cache security group name does not refer to an existing cache
// security group.
//
// * CacheSubnetGroupNotFoundFault
// * ErrCodeCacheSubnetGroupNotFoundFault "CacheSubnetGroupNotFoundFault"
// The requested cache subnet group name does not refer to an existing cache
// subnet group.
//
// * ClusterQuotaForCustomerExceeded
// * ErrCodeClusterQuotaForCustomerExceededFault "ClusterQuotaForCustomerExceeded"
// The request cannot be processed because it would exceed the allowed number
// of cache clusters per customer.
//
// * NodeQuotaForClusterExceeded
// * ErrCodeNodeQuotaForClusterExceededFault "NodeQuotaForClusterExceeded"
// The request cannot be processed because it would exceed the allowed number
// of cache nodes in a single cache cluster.
//
// * NodeQuotaForCustomerExceeded
// * ErrCodeNodeQuotaForCustomerExceededFault "NodeQuotaForCustomerExceeded"
// The request cannot be processed because it would exceed the allowed number
// of cache nodes per customer.
//
// * CacheParameterGroupNotFound
// * ErrCodeCacheParameterGroupNotFoundFault "CacheParameterGroupNotFound"
// The requested cache parameter group name does not refer to an existing cache
// parameter group.
//
// * InvalidVPCNetworkStateFault
// * ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault"
// The VPC network is in an invalid state.
//
// * TagQuotaPerResourceExceeded
// * 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 10.
//
// * InvalidParameterValue
// * ErrCodeInvalidParameterValueException "InvalidParameterValue"
// The value for a parameter is invalid.
//
// * InvalidParameterCombination
// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination"
// Two or more incompatible parameters were specified.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateCacheCluster
@ -502,21 +502,21 @@ func (c *ElastiCache) CreateCacheParameterGroupRequest(input *CreateCacheParamet
// API operation CreateCacheParameterGroup for usage and error information.
//
// Returned Error Codes:
// * CacheParameterGroupQuotaExceeded
// * ErrCodeCacheParameterGroupQuotaExceededFault "CacheParameterGroupQuotaExceeded"
// The request cannot be processed because it would exceed the maximum number
// of cache security groups.
//
// * CacheParameterGroupAlreadyExists
// * ErrCodeCacheParameterGroupAlreadyExistsFault "CacheParameterGroupAlreadyExists"
// A cache parameter group with the requested name already exists.
//
// * InvalidCacheParameterGroupState
// * ErrCodeInvalidCacheParameterGroupStateFault "InvalidCacheParameterGroupState"
// The current state of the cache parameter group does not allow the requested
// operation to occur.
//
// * InvalidParameterValue
// * ErrCodeInvalidParameterValueException "InvalidParameterValue"
// The value for a parameter is invalid.
//
// * InvalidParameterCombination
// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination"
// Two or more incompatible parameters were specified.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateCacheParameterGroup
@ -587,17 +587,17 @@ func (c *ElastiCache) CreateCacheSecurityGroupRequest(input *CreateCacheSecurity
// API operation CreateCacheSecurityGroup for usage and error information.
//
// Returned Error Codes:
// * CacheSecurityGroupAlreadyExists
// * ErrCodeCacheSecurityGroupAlreadyExistsFault "CacheSecurityGroupAlreadyExists"
// A cache security group with the specified name already exists.
//
// * QuotaExceeded.CacheSecurityGroup
// * ErrCodeCacheSecurityGroupQuotaExceededFault "QuotaExceeded.CacheSecurityGroup"
// The request cannot be processed because it would exceed the allowed number
// of cache security groups.
//
// * InvalidParameterValue
// * ErrCodeInvalidParameterValueException "InvalidParameterValue"
// The value for a parameter is invalid.
//
// * InvalidParameterCombination
// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination"
// Two or more incompatible parameters were specified.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateCacheSecurityGroup
@ -665,19 +665,19 @@ func (c *ElastiCache) CreateCacheSubnetGroupRequest(input *CreateCacheSubnetGrou
// API operation CreateCacheSubnetGroup for usage and error information.
//
// Returned Error Codes:
// * CacheSubnetGroupAlreadyExists
// * ErrCodeCacheSubnetGroupAlreadyExistsFault "CacheSubnetGroupAlreadyExists"
// The requested cache subnet group name is already in use by an existing cache
// subnet group.
//
// * CacheSubnetGroupQuotaExceeded
// * ErrCodeCacheSubnetGroupQuotaExceededFault "CacheSubnetGroupQuotaExceeded"
// The request cannot be processed because it would exceed the allowed number
// of cache subnet groups.
//
// * CacheSubnetQuotaExceededFault
// * ErrCodeCacheSubnetQuotaExceededFault "CacheSubnetQuotaExceededFault"
// The request cannot be processed because it would exceed the allowed number
// of subnets in a cache subnet group.
//
// * InvalidSubnet
// * ErrCodeInvalidSubnet "InvalidSubnet"
// An invalid subnet identifier was specified.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateCacheSubnetGroup
@ -761,59 +761,59 @@ func (c *ElastiCache) CreateReplicationGroupRequest(input *CreateReplicationGrou
// API operation CreateReplicationGroup for usage and error information.
//
// Returned Error Codes:
// * CacheClusterNotFound
// * ErrCodeCacheClusterNotFoundFault "CacheClusterNotFound"
// The requested cache cluster ID does not refer to an existing cache cluster.
//
// * InvalidCacheClusterState
// * ErrCodeInvalidCacheClusterStateFault "InvalidCacheClusterState"
// The requested cache cluster is not in the available state.
//
// * ReplicationGroupAlreadyExists
// * ErrCodeReplicationGroupAlreadyExistsFault "ReplicationGroupAlreadyExists"
// The specified replication group already exists.
//
// * InsufficientCacheClusterCapacity
// * ErrCodeInsufficientCacheClusterCapacityFault "InsufficientCacheClusterCapacity"
// The requested cache node type is not available in the specified Availability
// Zone.
//
// * CacheSecurityGroupNotFound
// * ErrCodeCacheSecurityGroupNotFoundFault "CacheSecurityGroupNotFound"
// The requested cache security group name does not refer to an existing cache
// security group.
//
// * CacheSubnetGroupNotFoundFault
// * ErrCodeCacheSubnetGroupNotFoundFault "CacheSubnetGroupNotFoundFault"
// The requested cache subnet group name does not refer to an existing cache
// subnet group.
//
// * ClusterQuotaForCustomerExceeded
// * ErrCodeClusterQuotaForCustomerExceededFault "ClusterQuotaForCustomerExceeded"
// The request cannot be processed because it would exceed the allowed number
// of cache clusters per customer.
//
// * NodeQuotaForClusterExceeded
// * ErrCodeNodeQuotaForClusterExceededFault "NodeQuotaForClusterExceeded"
// The request cannot be processed because it would exceed the allowed number
// of cache nodes in a single cache cluster.
//
// * NodeQuotaForCustomerExceeded
// * ErrCodeNodeQuotaForCustomerExceededFault "NodeQuotaForCustomerExceeded"
// The request cannot be processed because it would exceed the allowed number
// of cache nodes per customer.
//
// * CacheParameterGroupNotFound
// * ErrCodeCacheParameterGroupNotFoundFault "CacheParameterGroupNotFound"
// The requested cache parameter group name does not refer to an existing cache
// parameter group.
//
// * InvalidVPCNetworkStateFault
// * ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault"
// The VPC network is in an invalid state.
//
// * TagQuotaPerResourceExceeded
// * 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 10.
//
// * NodeGroupsPerReplicationGroupQuotaExceeded
// * ErrCodeNodeGroupsPerReplicationGroupQuotaExceededFault "NodeGroupsPerReplicationGroupQuotaExceeded"
// The request cannot be processed because it would exceed the maximum of 15
// node groups (shards) in a single replication group.
//
// * InvalidParameterValue
// * ErrCodeInvalidParameterValueException "InvalidParameterValue"
// The value for a parameter is invalid.
//
// * InvalidParameterCombination
// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination"
// Two or more incompatible parameters were specified.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateReplicationGroup
@ -881,26 +881,26 @@ func (c *ElastiCache) CreateSnapshotRequest(input *CreateSnapshotInput) (req *re
// API operation CreateSnapshot for usage and error information.
//
// Returned Error Codes:
// * SnapshotAlreadyExistsFault
// * ErrCodeSnapshotAlreadyExistsFault "SnapshotAlreadyExistsFault"
// You already have a snapshot with the given name.
//
// * CacheClusterNotFound
// * ErrCodeCacheClusterNotFoundFault "CacheClusterNotFound"
// The requested cache cluster ID does not refer to an existing cache cluster.
//
// * ReplicationGroupNotFoundFault
// * ErrCodeReplicationGroupNotFoundFault "ReplicationGroupNotFoundFault"
// The specified replication group does not exist.
//
// * InvalidCacheClusterState
// * ErrCodeInvalidCacheClusterStateFault "InvalidCacheClusterState"
// The requested cache cluster is not in the available state.
//
// * InvalidReplicationGroupState
// * ErrCodeInvalidReplicationGroupStateFault "InvalidReplicationGroupState"
// The requested replication group is not in the available state.
//
// * SnapshotQuotaExceededFault
// * ErrCodeSnapshotQuotaExceededFault "SnapshotQuotaExceededFault"
// The request cannot be processed because it would exceed the maximum number
// of snapshots.
//
// * SnapshotFeatureNotSupportedFault
// * ErrCodeSnapshotFeatureNotSupportedFault "SnapshotFeatureNotSupportedFault"
// You attempted one of the following operations:
//
// * Creating a snapshot of a Redis cache cluster running on a cache.t1.micro
@ -911,10 +911,10 @@ func (c *ElastiCache) CreateSnapshotRequest(input *CreateSnapshotInput) (req *re
//
// Neither of these are supported by ElastiCache.
//
// * InvalidParameterCombination
// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination"
// Two or more incompatible parameters were specified.
//
// * InvalidParameterValue
// * ErrCodeInvalidParameterValueException "InvalidParameterValue"
// The value for a parameter is invalid.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateSnapshot
@ -992,16 +992,16 @@ func (c *ElastiCache) DeleteCacheClusterRequest(input *DeleteCacheClusterInput)
// API operation DeleteCacheCluster for usage and error information.
//
// Returned Error Codes:
// * CacheClusterNotFound
// * ErrCodeCacheClusterNotFoundFault "CacheClusterNotFound"
// The requested cache cluster ID does not refer to an existing cache cluster.
//
// * InvalidCacheClusterState
// * ErrCodeInvalidCacheClusterStateFault "InvalidCacheClusterState"
// The requested cache cluster is not in the available state.
//
// * SnapshotAlreadyExistsFault
// * ErrCodeSnapshotAlreadyExistsFault "SnapshotAlreadyExistsFault"
// You already have a snapshot with the given name.
//
// * SnapshotFeatureNotSupportedFault
// * ErrCodeSnapshotFeatureNotSupportedFault "SnapshotFeatureNotSupportedFault"
// You attempted one of the following operations:
//
// * Creating a snapshot of a Redis cache cluster running on a cache.t1.micro
@ -1012,14 +1012,14 @@ func (c *ElastiCache) DeleteCacheClusterRequest(input *DeleteCacheClusterInput)
//
// Neither of these are supported by ElastiCache.
//
// * SnapshotQuotaExceededFault
// * ErrCodeSnapshotQuotaExceededFault "SnapshotQuotaExceededFault"
// The request cannot be processed because it would exceed the maximum number
// of snapshots.
//
// * InvalidParameterValue
// * ErrCodeInvalidParameterValueException "InvalidParameterValue"
// The value for a parameter is invalid.
//
// * InvalidParameterCombination
// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination"
// Two or more incompatible parameters were specified.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteCacheCluster
@ -1087,18 +1087,18 @@ func (c *ElastiCache) DeleteCacheParameterGroupRequest(input *DeleteCacheParamet
// API operation DeleteCacheParameterGroup for usage and error information.
//
// Returned Error Codes:
// * InvalidCacheParameterGroupState
// * ErrCodeInvalidCacheParameterGroupStateFault "InvalidCacheParameterGroupState"
// The current state of the cache parameter group does not allow the requested
// operation to occur.
//
// * CacheParameterGroupNotFound
// * ErrCodeCacheParameterGroupNotFoundFault "CacheParameterGroupNotFound"
// The requested cache parameter group name does not refer to an existing cache
// parameter group.
//
// * InvalidParameterValue
// * ErrCodeInvalidParameterValueException "InvalidParameterValue"
// The value for a parameter is invalid.
//
// * InvalidParameterCombination
// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination"
// Two or more incompatible parameters were specified.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteCacheParameterGroup
@ -1168,17 +1168,17 @@ func (c *ElastiCache) DeleteCacheSecurityGroupRequest(input *DeleteCacheSecurity
// API operation DeleteCacheSecurityGroup for usage and error information.
//
// Returned Error Codes:
// * InvalidCacheSecurityGroupState
// * ErrCodeInvalidCacheSecurityGroupStateFault "InvalidCacheSecurityGroupState"
// The current state of the cache security group does not allow deletion.
//
// * CacheSecurityGroupNotFound
// * ErrCodeCacheSecurityGroupNotFoundFault "CacheSecurityGroupNotFound"
// The requested cache security group name does not refer to an existing cache
// security group.
//
// * InvalidParameterValue
// * ErrCodeInvalidParameterValueException "InvalidParameterValue"
// The value for a parameter is invalid.
//
// * InvalidParameterCombination
// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination"
// Two or more incompatible parameters were specified.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteCacheSecurityGroup
@ -1248,10 +1248,10 @@ func (c *ElastiCache) DeleteCacheSubnetGroupRequest(input *DeleteCacheSubnetGrou
// API operation DeleteCacheSubnetGroup for usage and error information.
//
// Returned Error Codes:
// * CacheSubnetGroupInUse
// * ErrCodeCacheSubnetGroupInUse "CacheSubnetGroupInUse"
// The requested cache subnet group is currently in use.
//
// * CacheSubnetGroupNotFoundFault
// * ErrCodeCacheSubnetGroupNotFoundFault "CacheSubnetGroupNotFoundFault"
// The requested cache subnet group name does not refer to an existing cache
// subnet group.
//
@ -1327,16 +1327,16 @@ func (c *ElastiCache) DeleteReplicationGroupRequest(input *DeleteReplicationGrou
// API operation DeleteReplicationGroup for usage and error information.
//
// Returned Error Codes:
// * ReplicationGroupNotFoundFault
// * ErrCodeReplicationGroupNotFoundFault "ReplicationGroupNotFoundFault"
// The specified replication group does not exist.
//
// * InvalidReplicationGroupState
// * ErrCodeInvalidReplicationGroupStateFault "InvalidReplicationGroupState"
// The requested replication group is not in the available state.
//
// * SnapshotAlreadyExistsFault
// * ErrCodeSnapshotAlreadyExistsFault "SnapshotAlreadyExistsFault"
// You already have a snapshot with the given name.
//
// * SnapshotFeatureNotSupportedFault
// * ErrCodeSnapshotFeatureNotSupportedFault "SnapshotFeatureNotSupportedFault"
// You attempted one of the following operations:
//
// * Creating a snapshot of a Redis cache cluster running on a cache.t1.micro
@ -1347,14 +1347,14 @@ func (c *ElastiCache) DeleteReplicationGroupRequest(input *DeleteReplicationGrou
//
// Neither of these are supported by ElastiCache.
//
// * SnapshotQuotaExceededFault
// * ErrCodeSnapshotQuotaExceededFault "SnapshotQuotaExceededFault"
// The request cannot be processed because it would exceed the maximum number
// of snapshots.
//
// * InvalidParameterValue
// * ErrCodeInvalidParameterValueException "InvalidParameterValue"
// The value for a parameter is invalid.
//
// * InvalidParameterCombination
// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination"
// Two or more incompatible parameters were specified.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteReplicationGroup
@ -1423,17 +1423,17 @@ func (c *ElastiCache) DeleteSnapshotRequest(input *DeleteSnapshotInput) (req *re
// API operation DeleteSnapshot for usage and error information.
//
// Returned Error Codes:
// * SnapshotNotFoundFault
// * ErrCodeSnapshotNotFoundFault "SnapshotNotFoundFault"
// The requested snapshot name does not refer to an existing snapshot.
//
// * InvalidSnapshotState
// * ErrCodeInvalidSnapshotStateFault "InvalidSnapshotState"
// The current state of the snapshot does not allow the requested operation
// to occur.
//
// * InvalidParameterValue
// * ErrCodeInvalidParameterValueException "InvalidParameterValue"
// The value for a parameter is invalid.
//
// * InvalidParameterCombination
// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination"
// Two or more incompatible parameters were specified.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteSnapshot
@ -1525,13 +1525,13 @@ func (c *ElastiCache) DescribeCacheClustersRequest(input *DescribeCacheClustersI
// API operation DescribeCacheClusters for usage and error information.
//
// Returned Error Codes:
// * CacheClusterNotFound
// * ErrCodeCacheClusterNotFoundFault "CacheClusterNotFound"
// The requested cache cluster ID does not refer to an existing cache cluster.
//
// * InvalidParameterValue
// * ErrCodeInvalidParameterValueException "InvalidParameterValue"
// The value for a parameter is invalid.
//
// * InvalidParameterCombination
// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination"
// Two or more incompatible parameters were specified.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeCacheClusters
@ -1720,14 +1720,14 @@ func (c *ElastiCache) DescribeCacheParameterGroupsRequest(input *DescribeCachePa
// API operation DescribeCacheParameterGroups for usage and error information.
//
// Returned Error Codes:
// * CacheParameterGroupNotFound
// * ErrCodeCacheParameterGroupNotFoundFault "CacheParameterGroupNotFound"
// The requested cache parameter group name does not refer to an existing cache
// parameter group.
//
// * InvalidParameterValue
// * ErrCodeInvalidParameterValueException "InvalidParameterValue"
// The value for a parameter is invalid.
//
// * InvalidParameterCombination
// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination"
// Two or more incompatible parameters were specified.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeCacheParameterGroups
@ -1823,14 +1823,14 @@ func (c *ElastiCache) DescribeCacheParametersRequest(input *DescribeCacheParamet
// API operation DescribeCacheParameters for usage and error information.
//
// Returned Error Codes:
// * CacheParameterGroupNotFound
// * ErrCodeCacheParameterGroupNotFoundFault "CacheParameterGroupNotFound"
// The requested cache parameter group name does not refer to an existing cache
// parameter group.
//
// * InvalidParameterValue
// * ErrCodeInvalidParameterValueException "InvalidParameterValue"
// The value for a parameter is invalid.
//
// * InvalidParameterCombination
// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination"
// Two or more incompatible parameters were specified.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeCacheParameters
@ -1927,14 +1927,14 @@ func (c *ElastiCache) DescribeCacheSecurityGroupsRequest(input *DescribeCacheSec
// API operation DescribeCacheSecurityGroups for usage and error information.
//
// Returned Error Codes:
// * CacheSecurityGroupNotFound
// * ErrCodeCacheSecurityGroupNotFoundFault "CacheSecurityGroupNotFound"
// The requested cache security group name does not refer to an existing cache
// security group.
//
// * InvalidParameterValue
// * ErrCodeInvalidParameterValueException "InvalidParameterValue"
// The value for a parameter is invalid.
//
// * InvalidParameterCombination
// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination"
// Two or more incompatible parameters were specified.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeCacheSecurityGroups
@ -2031,7 +2031,7 @@ func (c *ElastiCache) DescribeCacheSubnetGroupsRequest(input *DescribeCacheSubne
// API operation DescribeCacheSubnetGroups for usage and error information.
//
// Returned Error Codes:
// * CacheSubnetGroupNotFoundFault
// * ErrCodeCacheSubnetGroupNotFoundFault "CacheSubnetGroupNotFoundFault"
// The requested cache subnet group name does not refer to an existing cache
// subnet group.
//
@ -2129,10 +2129,10 @@ func (c *ElastiCache) DescribeEngineDefaultParametersRequest(input *DescribeEngi
// API operation DescribeEngineDefaultParameters for usage and error information.
//
// Returned Error Codes:
// * InvalidParameterValue
// * ErrCodeInvalidParameterValueException "InvalidParameterValue"
// The value for a parameter is invalid.
//
// * InvalidParameterCombination
// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination"
// Two or more incompatible parameters were specified.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeEngineDefaultParameters
@ -2234,10 +2234,10 @@ func (c *ElastiCache) DescribeEventsRequest(input *DescribeEventsInput) (req *re
// API operation DescribeEvents for usage and error information.
//
// Returned Error Codes:
// * InvalidParameterValue
// * ErrCodeInvalidParameterValueException "InvalidParameterValue"
// The value for a parameter is invalid.
//
// * InvalidParameterCombination
// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination"
// Two or more incompatible parameters were specified.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeEvents
@ -2337,13 +2337,13 @@ func (c *ElastiCache) DescribeReplicationGroupsRequest(input *DescribeReplicatio
// API operation DescribeReplicationGroups for usage and error information.
//
// Returned Error Codes:
// * ReplicationGroupNotFoundFault
// * ErrCodeReplicationGroupNotFoundFault "ReplicationGroupNotFoundFault"
// The specified replication group does not exist.
//
// * InvalidParameterValue
// * ErrCodeInvalidParameterValueException "InvalidParameterValue"
// The value for a parameter is invalid.
//
// * InvalidParameterCombination
// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination"
// Two or more incompatible parameters were specified.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeReplicationGroups
@ -2440,13 +2440,13 @@ func (c *ElastiCache) DescribeReservedCacheNodesRequest(input *DescribeReservedC
// API operation DescribeReservedCacheNodes for usage and error information.
//
// Returned Error Codes:
// * ReservedCacheNodeNotFound
// * ErrCodeReservedCacheNodeNotFoundFault "ReservedCacheNodeNotFound"
// The requested reserved cache node was not found.
//
// * InvalidParameterValue
// * ErrCodeInvalidParameterValueException "InvalidParameterValue"
// The value for a parameter is invalid.
//
// * InvalidParameterCombination
// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination"
// Two or more incompatible parameters were specified.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeReservedCacheNodes
@ -2542,13 +2542,13 @@ func (c *ElastiCache) DescribeReservedCacheNodesOfferingsRequest(input *Describe
// API operation DescribeReservedCacheNodesOfferings for usage and error information.
//
// Returned Error Codes:
// * ReservedCacheNodesOfferingNotFound
// * ErrCodeReservedCacheNodesOfferingNotFoundFault "ReservedCacheNodesOfferingNotFound"
// The requested cache node offering does not exist.
//
// * InvalidParameterValue
// * ErrCodeInvalidParameterValueException "InvalidParameterValue"
// The value for a parameter is invalid.
//
// * InvalidParameterCombination
// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination"
// Two or more incompatible parameters were specified.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeReservedCacheNodesOfferings
@ -2649,16 +2649,16 @@ func (c *ElastiCache) DescribeSnapshotsRequest(input *DescribeSnapshotsInput) (r
// API operation DescribeSnapshots for usage and error information.
//
// Returned Error Codes:
// * CacheClusterNotFound
// * ErrCodeCacheClusterNotFoundFault "CacheClusterNotFound"
// The requested cache cluster ID does not refer to an existing cache cluster.
//
// * SnapshotNotFoundFault
// * ErrCodeSnapshotNotFoundFault "SnapshotNotFoundFault"
// The requested snapshot name does not refer to an existing snapshot.
//
// * InvalidParameterValue
// * ErrCodeInvalidParameterValueException "InvalidParameterValue"
// The value for a parameter is invalid.
//
// * InvalidParameterCombination
// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination"
// Two or more incompatible parameters were specified.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeSnapshots
@ -2753,16 +2753,16 @@ func (c *ElastiCache) ListAllowedNodeTypeModificationsRequest(input *ListAllowed
// API operation ListAllowedNodeTypeModifications for usage and error information.
//
// Returned Error Codes:
// * CacheClusterNotFound
// * ErrCodeCacheClusterNotFoundFault "CacheClusterNotFound"
// The requested cache cluster ID does not refer to an existing cache cluster.
//
// * ReplicationGroupNotFoundFault
// * ErrCodeReplicationGroupNotFoundFault "ReplicationGroupNotFoundFault"
// The specified replication group does not exist.
//
// * InvalidParameterCombination
// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination"
// Two or more incompatible parameters were specified.
//
// * InvalidParameterValue
// * ErrCodeInvalidParameterValueException "InvalidParameterValue"
// The value for a parameter is invalid.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ListAllowedNodeTypeModifications
@ -2834,13 +2834,13 @@ func (c *ElastiCache) ListTagsForResourceRequest(input *ListTagsForResourceInput
// API operation ListTagsForResource for usage and error information.
//
// Returned Error Codes:
// * CacheClusterNotFound
// * ErrCodeCacheClusterNotFoundFault "CacheClusterNotFound"
// The requested cache cluster ID does not refer to an existing cache cluster.
//
// * SnapshotNotFoundFault
// * ErrCodeSnapshotNotFoundFault "SnapshotNotFoundFault"
// The requested snapshot name does not refer to an existing snapshot.
//
// * InvalidARN
// * ErrCodeInvalidARNFault "InvalidARN"
// The requested Amazon Resource Name (ARN) does not refer to an existing resource.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ListTagsForResource
@ -2907,42 +2907,42 @@ func (c *ElastiCache) ModifyCacheClusterRequest(input *ModifyCacheClusterInput)
// API operation ModifyCacheCluster for usage and error information.
//
// Returned Error Codes:
// * InvalidCacheClusterState
// * ErrCodeInvalidCacheClusterStateFault "InvalidCacheClusterState"
// The requested cache cluster is not in the available state.
//
// * InvalidCacheSecurityGroupState
// * ErrCodeInvalidCacheSecurityGroupStateFault "InvalidCacheSecurityGroupState"
// The current state of the cache security group does not allow deletion.
//
// * InsufficientCacheClusterCapacity
// * ErrCodeInsufficientCacheClusterCapacityFault "InsufficientCacheClusterCapacity"
// The requested cache node type is not available in the specified Availability
// Zone.
//
// * CacheClusterNotFound
// * ErrCodeCacheClusterNotFoundFault "CacheClusterNotFound"
// The requested cache cluster ID does not refer to an existing cache cluster.
//
// * NodeQuotaForClusterExceeded
// * ErrCodeNodeQuotaForClusterExceededFault "NodeQuotaForClusterExceeded"
// The request cannot be processed because it would exceed the allowed number
// of cache nodes in a single cache cluster.
//
// * NodeQuotaForCustomerExceeded
// * ErrCodeNodeQuotaForCustomerExceededFault "NodeQuotaForCustomerExceeded"
// The request cannot be processed because it would exceed the allowed number
// of cache nodes per customer.
//
// * CacheSecurityGroupNotFound
// * ErrCodeCacheSecurityGroupNotFoundFault "CacheSecurityGroupNotFound"
// The requested cache security group name does not refer to an existing cache
// security group.
//
// * CacheParameterGroupNotFound
// * ErrCodeCacheParameterGroupNotFoundFault "CacheParameterGroupNotFound"
// The requested cache parameter group name does not refer to an existing cache
// parameter group.
//
// * InvalidVPCNetworkStateFault
// * ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault"
// The VPC network is in an invalid state.
//
// * InvalidParameterValue
// * ErrCodeInvalidParameterValueException "InvalidParameterValue"
// The value for a parameter is invalid.
//
// * InvalidParameterCombination
// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination"
// Two or more incompatible parameters were specified.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyCacheCluster
@ -3009,18 +3009,18 @@ func (c *ElastiCache) ModifyCacheParameterGroupRequest(input *ModifyCacheParamet
// API operation ModifyCacheParameterGroup for usage and error information.
//
// Returned Error Codes:
// * CacheParameterGroupNotFound
// * ErrCodeCacheParameterGroupNotFoundFault "CacheParameterGroupNotFound"
// The requested cache parameter group name does not refer to an existing cache
// parameter group.
//
// * InvalidCacheParameterGroupState
// * ErrCodeInvalidCacheParameterGroupStateFault "InvalidCacheParameterGroupState"
// The current state of the cache parameter group does not allow the requested
// operation to occur.
//
// * InvalidParameterValue
// * ErrCodeInvalidParameterValueException "InvalidParameterValue"
// The value for a parameter is invalid.
//
// * InvalidParameterCombination
// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination"
// Two or more incompatible parameters were specified.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyCacheParameterGroup
@ -3085,18 +3085,18 @@ func (c *ElastiCache) ModifyCacheSubnetGroupRequest(input *ModifyCacheSubnetGrou
// API operation ModifyCacheSubnetGroup for usage and error information.
//
// Returned Error Codes:
// * CacheSubnetGroupNotFoundFault
// * ErrCodeCacheSubnetGroupNotFoundFault "CacheSubnetGroupNotFoundFault"
// The requested cache subnet group name does not refer to an existing cache
// subnet group.
//
// * CacheSubnetQuotaExceededFault
// * ErrCodeCacheSubnetQuotaExceededFault "CacheSubnetQuotaExceededFault"
// The request cannot be processed because it would exceed the allowed number
// of subnets in a cache subnet group.
//
// * SubnetInUse
// * ErrCodeSubnetInUse "SubnetInUse"
// The requested subnet is being used by another cache subnet group.
//
// * InvalidSubnet
// * ErrCodeInvalidSubnet "InvalidSubnet"
// An invalid subnet identifier was specified.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyCacheSubnetGroup
@ -3167,48 +3167,48 @@ func (c *ElastiCache) ModifyReplicationGroupRequest(input *ModifyReplicationGrou
// API operation ModifyReplicationGroup for usage and error information.
//
// Returned Error Codes:
// * ReplicationGroupNotFoundFault
// * ErrCodeReplicationGroupNotFoundFault "ReplicationGroupNotFoundFault"
// The specified replication group does not exist.
//
// * InvalidReplicationGroupState
// * ErrCodeInvalidReplicationGroupStateFault "InvalidReplicationGroupState"
// The requested replication group is not in the available state.
//
// * InvalidCacheClusterState
// * ErrCodeInvalidCacheClusterStateFault "InvalidCacheClusterState"
// The requested cache cluster is not in the available state.
//
// * InvalidCacheSecurityGroupState
// * ErrCodeInvalidCacheSecurityGroupStateFault "InvalidCacheSecurityGroupState"
// The current state of the cache security group does not allow deletion.
//
// * InsufficientCacheClusterCapacity
// * ErrCodeInsufficientCacheClusterCapacityFault "InsufficientCacheClusterCapacity"
// The requested cache node type is not available in the specified Availability
// Zone.
//
// * CacheClusterNotFound
// * ErrCodeCacheClusterNotFoundFault "CacheClusterNotFound"
// The requested cache cluster ID does not refer to an existing cache cluster.
//
// * NodeQuotaForClusterExceeded
// * ErrCodeNodeQuotaForClusterExceededFault "NodeQuotaForClusterExceeded"
// The request cannot be processed because it would exceed the allowed number
// of cache nodes in a single cache cluster.
//
// * NodeQuotaForCustomerExceeded
// * ErrCodeNodeQuotaForCustomerExceededFault "NodeQuotaForCustomerExceeded"
// The request cannot be processed because it would exceed the allowed number
// of cache nodes per customer.
//
// * CacheSecurityGroupNotFound
// * ErrCodeCacheSecurityGroupNotFoundFault "CacheSecurityGroupNotFound"
// The requested cache security group name does not refer to an existing cache
// security group.
//
// * CacheParameterGroupNotFound
// * ErrCodeCacheParameterGroupNotFoundFault "CacheParameterGroupNotFound"
// The requested cache parameter group name does not refer to an existing cache
// parameter group.
//
// * InvalidVPCNetworkStateFault
// * ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault"
// The VPC network is in an invalid state.
//
// * InvalidParameterValue
// * ErrCodeInvalidParameterValueException "InvalidParameterValue"
// The value for a parameter is invalid.
//
// * InvalidParameterCombination
// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination"
// Two or more incompatible parameters were specified.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyReplicationGroup
@ -3273,20 +3273,20 @@ func (c *ElastiCache) PurchaseReservedCacheNodesOfferingRequest(input *PurchaseR
// API operation PurchaseReservedCacheNodesOffering for usage and error information.
//
// Returned Error Codes:
// * ReservedCacheNodesOfferingNotFound
// * ErrCodeReservedCacheNodesOfferingNotFoundFault "ReservedCacheNodesOfferingNotFound"
// The requested cache node offering does not exist.
//
// * ReservedCacheNodeAlreadyExists
// * ErrCodeReservedCacheNodeAlreadyExistsFault "ReservedCacheNodeAlreadyExists"
// You already have a reservation with the given identifier.
//
// * ReservedCacheNodeQuotaExceeded
// * ErrCodeReservedCacheNodeQuotaExceededFault "ReservedCacheNodeQuotaExceeded"
// The request cannot be processed because it would exceed the user's cache
// node quota.
//
// * InvalidParameterValue
// * ErrCodeInvalidParameterValueException "InvalidParameterValue"
// The value for a parameter is invalid.
//
// * InvalidParameterCombination
// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination"
// Two or more incompatible parameters were specified.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/PurchaseReservedCacheNodesOffering
@ -3360,10 +3360,10 @@ func (c *ElastiCache) RebootCacheClusterRequest(input *RebootCacheClusterInput)
// API operation RebootCacheCluster for usage and error information.
//
// Returned Error Codes:
// * InvalidCacheClusterState
// * ErrCodeInvalidCacheClusterStateFault "InvalidCacheClusterState"
// The requested cache cluster is not in the available state.
//
// * CacheClusterNotFound
// * ErrCodeCacheClusterNotFoundFault "CacheClusterNotFound"
// The requested cache cluster ID does not refer to an existing cache cluster.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/RebootCacheCluster
@ -3428,16 +3428,16 @@ func (c *ElastiCache) RemoveTagsFromResourceRequest(input *RemoveTagsFromResourc
// API operation RemoveTagsFromResource for usage and error information.
//
// Returned Error Codes:
// * CacheClusterNotFound
// * ErrCodeCacheClusterNotFoundFault "CacheClusterNotFound"
// The requested cache cluster ID does not refer to an existing cache cluster.
//
// * SnapshotNotFoundFault
// * ErrCodeSnapshotNotFoundFault "SnapshotNotFoundFault"
// The requested snapshot name does not refer to an existing snapshot.
//
// * InvalidARN
// * ErrCodeInvalidARNFault "InvalidARN"
// The requested Amazon Resource Name (ARN) does not refer to an existing resource.
//
// * TagNotFound
// * ErrCodeTagNotFoundFault "TagNotFound"
// The requested tag was not found on this resource.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/RemoveTagsFromResource
@ -3505,18 +3505,18 @@ func (c *ElastiCache) ResetCacheParameterGroupRequest(input *ResetCacheParameter
// API operation ResetCacheParameterGroup for usage and error information.
//
// Returned Error Codes:
// * InvalidCacheParameterGroupState
// * ErrCodeInvalidCacheParameterGroupStateFault "InvalidCacheParameterGroupState"
// The current state of the cache parameter group does not allow the requested
// operation to occur.
//
// * CacheParameterGroupNotFound
// * ErrCodeCacheParameterGroupNotFoundFault "CacheParameterGroupNotFound"
// The requested cache parameter group name does not refer to an existing cache
// parameter group.
//
// * InvalidParameterValue
// * ErrCodeInvalidParameterValueException "InvalidParameterValue"
// The value for a parameter is invalid.
//
// * InvalidParameterCombination
// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination"
// Two or more incompatible parameters were specified.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ResetCacheParameterGroup
@ -3582,21 +3582,21 @@ func (c *ElastiCache) RevokeCacheSecurityGroupIngressRequest(input *RevokeCacheS
// API operation RevokeCacheSecurityGroupIngress for usage and error information.
//
// Returned Error Codes:
// * CacheSecurityGroupNotFound
// * ErrCodeCacheSecurityGroupNotFoundFault "CacheSecurityGroupNotFound"
// The requested cache security group name does not refer to an existing cache
// security group.
//
// * AuthorizationNotFound
// * ErrCodeAuthorizationNotFoundFault "AuthorizationNotFound"
// The specified Amazon EC2 security group is not authorized for the specified
// cache security group.
//
// * InvalidCacheSecurityGroupState
// * ErrCodeInvalidCacheSecurityGroupStateFault "InvalidCacheSecurityGroupState"
// The current state of the cache security group does not allow deletion.
//
// * InvalidParameterValue
// * ErrCodeInvalidParameterValueException "InvalidParameterValue"
// The value for a parameter is invalid.
//
// * InvalidParameterCombination
// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination"
// Two or more incompatible parameters were specified.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/RevokeCacheSecurityGroupIngress

View File

@ -0,0 +1,293 @@
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
package elasticache
const (
// ErrCodeAuthorizationAlreadyExistsFault for service response error code
// "AuthorizationAlreadyExists".
//
// The specified Amazon EC2 security group is already authorized for the specified
// cache security group.
ErrCodeAuthorizationAlreadyExistsFault = "AuthorizationAlreadyExists"
// ErrCodeAuthorizationNotFoundFault for service response error code
// "AuthorizationNotFound".
//
// The specified Amazon EC2 security group is not authorized for the specified
// cache security group.
ErrCodeAuthorizationNotFoundFault = "AuthorizationNotFound"
// ErrCodeCacheClusterAlreadyExistsFault for service response error code
// "CacheClusterAlreadyExists".
//
// You already have a cache cluster with the given identifier.
ErrCodeCacheClusterAlreadyExistsFault = "CacheClusterAlreadyExists"
// ErrCodeCacheClusterNotFoundFault for service response error code
// "CacheClusterNotFound".
//
// The requested cache cluster ID does not refer to an existing cache cluster.
ErrCodeCacheClusterNotFoundFault = "CacheClusterNotFound"
// ErrCodeCacheParameterGroupAlreadyExistsFault for service response error code
// "CacheParameterGroupAlreadyExists".
//
// A cache parameter group with the requested name already exists.
ErrCodeCacheParameterGroupAlreadyExistsFault = "CacheParameterGroupAlreadyExists"
// ErrCodeCacheParameterGroupNotFoundFault for service response error code
// "CacheParameterGroupNotFound".
//
// The requested cache parameter group name does not refer to an existing cache
// parameter group.
ErrCodeCacheParameterGroupNotFoundFault = "CacheParameterGroupNotFound"
// ErrCodeCacheParameterGroupQuotaExceededFault for service response error code
// "CacheParameterGroupQuotaExceeded".
//
// The request cannot be processed because it would exceed the maximum number
// of cache security groups.
ErrCodeCacheParameterGroupQuotaExceededFault = "CacheParameterGroupQuotaExceeded"
// ErrCodeCacheSecurityGroupAlreadyExistsFault for service response error code
// "CacheSecurityGroupAlreadyExists".
//
// A cache security group with the specified name already exists.
ErrCodeCacheSecurityGroupAlreadyExistsFault = "CacheSecurityGroupAlreadyExists"
// ErrCodeCacheSecurityGroupNotFoundFault for service response error code
// "CacheSecurityGroupNotFound".
//
// The requested cache security group name does not refer to an existing cache
// security group.
ErrCodeCacheSecurityGroupNotFoundFault = "CacheSecurityGroupNotFound"
// ErrCodeCacheSecurityGroupQuotaExceededFault for service response error code
// "QuotaExceeded.CacheSecurityGroup".
//
// The request cannot be processed because it would exceed the allowed number
// of cache security groups.
ErrCodeCacheSecurityGroupQuotaExceededFault = "QuotaExceeded.CacheSecurityGroup"
// ErrCodeCacheSubnetGroupAlreadyExistsFault for service response error code
// "CacheSubnetGroupAlreadyExists".
//
// The requested cache subnet group name is already in use by an existing cache
// subnet group.
ErrCodeCacheSubnetGroupAlreadyExistsFault = "CacheSubnetGroupAlreadyExists"
// ErrCodeCacheSubnetGroupInUse for service response error code
// "CacheSubnetGroupInUse".
//
// The requested cache subnet group is currently in use.
ErrCodeCacheSubnetGroupInUse = "CacheSubnetGroupInUse"
// ErrCodeCacheSubnetGroupNotFoundFault for service response error code
// "CacheSubnetGroupNotFoundFault".
//
// The requested cache subnet group name does not refer to an existing cache
// subnet group.
ErrCodeCacheSubnetGroupNotFoundFault = "CacheSubnetGroupNotFoundFault"
// ErrCodeCacheSubnetGroupQuotaExceededFault for service response error code
// "CacheSubnetGroupQuotaExceeded".
//
// The request cannot be processed because it would exceed the allowed number
// of cache subnet groups.
ErrCodeCacheSubnetGroupQuotaExceededFault = "CacheSubnetGroupQuotaExceeded"
// ErrCodeCacheSubnetQuotaExceededFault for service response error code
// "CacheSubnetQuotaExceededFault".
//
// The request cannot be processed because it would exceed the allowed number
// of subnets in a cache subnet group.
ErrCodeCacheSubnetQuotaExceededFault = "CacheSubnetQuotaExceededFault"
// ErrCodeClusterQuotaForCustomerExceededFault for service response error code
// "ClusterQuotaForCustomerExceeded".
//
// The request cannot be processed because it would exceed the allowed number
// of cache clusters per customer.
ErrCodeClusterQuotaForCustomerExceededFault = "ClusterQuotaForCustomerExceeded"
// ErrCodeInsufficientCacheClusterCapacityFault for service response error code
// "InsufficientCacheClusterCapacity".
//
// The requested cache node type is not available in the specified Availability
// Zone.
ErrCodeInsufficientCacheClusterCapacityFault = "InsufficientCacheClusterCapacity"
// ErrCodeInvalidARNFault for service response error code
// "InvalidARN".
//
// The requested Amazon Resource Name (ARN) does not refer to an existing resource.
ErrCodeInvalidARNFault = "InvalidARN"
// ErrCodeInvalidCacheClusterStateFault for service response error code
// "InvalidCacheClusterState".
//
// The requested cache cluster is not in the available state.
ErrCodeInvalidCacheClusterStateFault = "InvalidCacheClusterState"
// ErrCodeInvalidCacheParameterGroupStateFault for service response error code
// "InvalidCacheParameterGroupState".
//
// The current state of the cache parameter group does not allow the requested
// operation to occur.
ErrCodeInvalidCacheParameterGroupStateFault = "InvalidCacheParameterGroupState"
// ErrCodeInvalidCacheSecurityGroupStateFault for service response error code
// "InvalidCacheSecurityGroupState".
//
// The current state of the cache security group does not allow deletion.
ErrCodeInvalidCacheSecurityGroupStateFault = "InvalidCacheSecurityGroupState"
// ErrCodeInvalidParameterCombinationException for service response error code
// "InvalidParameterCombination".
//
// Two or more incompatible parameters were specified.
ErrCodeInvalidParameterCombinationException = "InvalidParameterCombination"
// ErrCodeInvalidParameterValueException for service response error code
// "InvalidParameterValue".
//
// The value for a parameter is invalid.
ErrCodeInvalidParameterValueException = "InvalidParameterValue"
// ErrCodeInvalidReplicationGroupStateFault for service response error code
// "InvalidReplicationGroupState".
//
// The requested replication group is not in the available state.
ErrCodeInvalidReplicationGroupStateFault = "InvalidReplicationGroupState"
// ErrCodeInvalidSnapshotStateFault for service response error code
// "InvalidSnapshotState".
//
// The current state of the snapshot does not allow the requested operation
// to occur.
ErrCodeInvalidSnapshotStateFault = "InvalidSnapshotState"
// ErrCodeInvalidSubnet for service response error code
// "InvalidSubnet".
//
// An invalid subnet identifier was specified.
ErrCodeInvalidSubnet = "InvalidSubnet"
// ErrCodeInvalidVPCNetworkStateFault for service response error code
// "InvalidVPCNetworkStateFault".
//
// The VPC network is in an invalid state.
ErrCodeInvalidVPCNetworkStateFault = "InvalidVPCNetworkStateFault"
// ErrCodeNodeGroupsPerReplicationGroupQuotaExceededFault for service response error code
// "NodeGroupsPerReplicationGroupQuotaExceeded".
//
// The request cannot be processed because it would exceed the maximum of 15
// node groups (shards) in a single replication group.
ErrCodeNodeGroupsPerReplicationGroupQuotaExceededFault = "NodeGroupsPerReplicationGroupQuotaExceeded"
// ErrCodeNodeQuotaForClusterExceededFault for service response error code
// "NodeQuotaForClusterExceeded".
//
// The request cannot be processed because it would exceed the allowed number
// of cache nodes in a single cache cluster.
ErrCodeNodeQuotaForClusterExceededFault = "NodeQuotaForClusterExceeded"
// ErrCodeNodeQuotaForCustomerExceededFault for service response error code
// "NodeQuotaForCustomerExceeded".
//
// The request cannot be processed because it would exceed the allowed number
// of cache nodes per customer.
ErrCodeNodeQuotaForCustomerExceededFault = "NodeQuotaForCustomerExceeded"
// ErrCodeReplicationGroupAlreadyExistsFault for service response error code
// "ReplicationGroupAlreadyExists".
//
// The specified replication group already exists.
ErrCodeReplicationGroupAlreadyExistsFault = "ReplicationGroupAlreadyExists"
// ErrCodeReplicationGroupNotFoundFault for service response error code
// "ReplicationGroupNotFoundFault".
//
// The specified replication group does not exist.
ErrCodeReplicationGroupNotFoundFault = "ReplicationGroupNotFoundFault"
// ErrCodeReservedCacheNodeAlreadyExistsFault for service response error code
// "ReservedCacheNodeAlreadyExists".
//
// You already have a reservation with the given identifier.
ErrCodeReservedCacheNodeAlreadyExistsFault = "ReservedCacheNodeAlreadyExists"
// ErrCodeReservedCacheNodeNotFoundFault for service response error code
// "ReservedCacheNodeNotFound".
//
// The requested reserved cache node was not found.
ErrCodeReservedCacheNodeNotFoundFault = "ReservedCacheNodeNotFound"
// ErrCodeReservedCacheNodeQuotaExceededFault for service response error code
// "ReservedCacheNodeQuotaExceeded".
//
// The request cannot be processed because it would exceed the user's cache
// node quota.
ErrCodeReservedCacheNodeQuotaExceededFault = "ReservedCacheNodeQuotaExceeded"
// ErrCodeReservedCacheNodesOfferingNotFoundFault for service response error code
// "ReservedCacheNodesOfferingNotFound".
//
// The requested cache node offering does not exist.
ErrCodeReservedCacheNodesOfferingNotFoundFault = "ReservedCacheNodesOfferingNotFound"
// ErrCodeSnapshotAlreadyExistsFault for service response error code
// "SnapshotAlreadyExistsFault".
//
// You already have a snapshot with the given name.
ErrCodeSnapshotAlreadyExistsFault = "SnapshotAlreadyExistsFault"
// ErrCodeSnapshotFeatureNotSupportedFault for service response error code
// "SnapshotFeatureNotSupportedFault".
//
// You attempted one of the following operations:
//
// * Creating a snapshot of a Redis cache cluster running on a cache.t1.micro
// cache node.
//
// * Creating a snapshot of a cache cluster that is running Memcached rather
// than Redis.
//
// Neither of these are supported by ElastiCache.
ErrCodeSnapshotFeatureNotSupportedFault = "SnapshotFeatureNotSupportedFault"
// ErrCodeSnapshotNotFoundFault for service response error code
// "SnapshotNotFoundFault".
//
// The requested snapshot name does not refer to an existing snapshot.
ErrCodeSnapshotNotFoundFault = "SnapshotNotFoundFault"
// ErrCodeSnapshotQuotaExceededFault for service response error code
// "SnapshotQuotaExceededFault".
//
// The request cannot be processed because it would exceed the maximum number
// of snapshots.
ErrCodeSnapshotQuotaExceededFault = "SnapshotQuotaExceededFault"
// ErrCodeSubnetInUse for service response error code
// "SubnetInUse".
//
// The requested subnet is being used by another cache subnet group.
ErrCodeSubnetInUse = "SubnetInUse"
// ErrCodeTagNotFoundFault for service response error code
// "TagNotFound".
//
// The requested tag was not found on this resource.
ErrCodeTagNotFoundFault = "TagNotFound"
// ErrCodeTagQuotaPerResourceExceeded for service response error code
// "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 10.
ErrCodeTagQuotaPerResourceExceeded = "TagQuotaPerResourceExceeded"
)

View File

@ -71,7 +71,7 @@ func (c *ElasticBeanstalk) AbortEnvironmentUpdateRequest(input *AbortEnvironment
// API operation AbortEnvironmentUpdate for usage and error information.
//
// Returned Error Codes:
// * InsufficientPrivilegesException
// * ErrCodeInsufficientPrivilegesException "InsufficientPrivilegesException"
// The specified account does not have sufficient privileges for one of more
// AWS services.
//
@ -139,10 +139,10 @@ func (c *ElasticBeanstalk) ApplyEnvironmentManagedActionRequest(input *ApplyEnvi
// API operation ApplyEnvironmentManagedAction for usage and error information.
//
// Returned Error Codes:
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// A generic service exception has occurred.
//
// * ManagedActionInvalidStateException
// * ErrCodeManagedActionInvalidStateException "ManagedActionInvalidStateException"
// Cannot modify the managed action in its current state.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ApplyEnvironmentManagedAction
@ -273,10 +273,10 @@ func (c *ElasticBeanstalk) ComposeEnvironmentsRequest(input *ComposeEnvironments
// API operation ComposeEnvironments for usage and error information.
//
// Returned Error Codes:
// * TooManyEnvironmentsException
// * ErrCodeTooManyEnvironmentsException "TooManyEnvironmentsException"
// The specified account has reached its limit of environments.
//
// * InsufficientPrivilegesException
// * ErrCodeInsufficientPrivilegesException "InsufficientPrivilegesException"
// The specified account does not have sufficient privileges for one of more
// AWS services.
//
@ -343,7 +343,7 @@ func (c *ElasticBeanstalk) CreateApplicationRequest(input *CreateApplicationInpu
// API operation CreateApplication for usage and error information.
//
// Returned Error Codes:
// * TooManyApplicationsException
// * ErrCodeTooManyApplicationsException "TooManyApplicationsException"
// The specified account has reached its limit of applications.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateApplication
@ -424,17 +424,17 @@ func (c *ElasticBeanstalk) CreateApplicationVersionRequest(input *CreateApplicat
// API operation CreateApplicationVersion for usage and error information.
//
// Returned Error Codes:
// * TooManyApplicationsException
// * ErrCodeTooManyApplicationsException "TooManyApplicationsException"
// The specified account has reached its limit of applications.
//
// * TooManyApplicationVersionsException
// * ErrCodeTooManyApplicationVersionsException "TooManyApplicationVersionsException"
// The specified account has reached its limit of application versions.
//
// * InsufficientPrivilegesException
// * ErrCodeInsufficientPrivilegesException "InsufficientPrivilegesException"
// The specified account does not have sufficient privileges for one of more
// AWS services.
//
// * S3LocationNotInServiceRegionException
// * ErrCodeS3LocationNotInServiceRegionException "S3LocationNotInServiceRegionException"
// The specified S3 bucket does not belong to the S3 region in which the service
// is running. The following regions are supported:
//
@ -444,7 +444,7 @@ func (c *ElasticBeanstalk) CreateApplicationVersionRequest(input *CreateApplicat
//
// * DUB/eu-west-1
//
// * CodeBuildNotInServiceRegionException
// * ErrCodeCodeBuildNotInServiceRegionException "CodeBuildNotInServiceRegionException"
// AWS CodeBuild is not available in the specified region.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateApplicationVersion
@ -519,14 +519,14 @@ func (c *ElasticBeanstalk) CreateConfigurationTemplateRequest(input *CreateConfi
// API operation CreateConfigurationTemplate for usage and error information.
//
// Returned Error Codes:
// * InsufficientPrivilegesException
// * ErrCodeInsufficientPrivilegesException "InsufficientPrivilegesException"
// The specified account does not have sufficient privileges for one of more
// AWS services.
//
// * TooManyBucketsException
// * ErrCodeTooManyBucketsException "TooManyBucketsException"
// The specified account has reached its limit of Amazon S3 buckets.
//
// * TooManyConfigurationTemplatesException
// * ErrCodeTooManyConfigurationTemplatesException "TooManyConfigurationTemplatesException"
// The specified account has reached its limit of configuration templates.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateConfigurationTemplate
@ -592,10 +592,10 @@ func (c *ElasticBeanstalk) CreateEnvironmentRequest(input *CreateEnvironmentInpu
// API operation CreateEnvironment for usage and error information.
//
// Returned Error Codes:
// * TooManyEnvironmentsException
// * ErrCodeTooManyEnvironmentsException "TooManyEnvironmentsException"
// The specified account has reached its limit of environments.
//
// * InsufficientPrivilegesException
// * ErrCodeInsufficientPrivilegesException "InsufficientPrivilegesException"
// The specified account does not have sufficient privileges for one of more
// AWS services.
//
@ -663,13 +663,13 @@ func (c *ElasticBeanstalk) CreateStorageLocationRequest(input *CreateStorageLoca
// API operation CreateStorageLocation for usage and error information.
//
// Returned Error Codes:
// * TooManyBucketsException
// * ErrCodeTooManyBucketsException "TooManyBucketsException"
// The specified account has reached its limit of Amazon S3 buckets.
//
// * S3SubscriptionRequiredException
// * ErrCodeS3SubscriptionRequiredException "S3SubscriptionRequiredException"
// The specified account does not have a subscription to Amazon S3.
//
// * InsufficientPrivilegesException
// * ErrCodeInsufficientPrivilegesException "InsufficientPrivilegesException"
// The specified account does not have sufficient privileges for one of more
// AWS services.
//
@ -741,7 +741,7 @@ func (c *ElasticBeanstalk) DeleteApplicationRequest(input *DeleteApplicationInpu
// API operation DeleteApplication for usage and error information.
//
// Returned Error Codes:
// * OperationInProgressFailure
// * ErrCodeOperationInProgressException "OperationInProgressFailure"
// Unable to perform the specified operation because another operation that
// effects an element in this activity is already in progress.
//
@ -812,19 +812,19 @@ func (c *ElasticBeanstalk) DeleteApplicationVersionRequest(input *DeleteApplicat
// API operation DeleteApplicationVersion for usage and error information.
//
// Returned Error Codes:
// * SourceBundleDeletionFailure
// * ErrCodeSourceBundleDeletionException "SourceBundleDeletionFailure"
// Unable to delete the Amazon S3 source bundle associated with the application
// version. The application version was deleted successfully.
//
// * InsufficientPrivilegesException
// * ErrCodeInsufficientPrivilegesException "InsufficientPrivilegesException"
// The specified account does not have sufficient privileges for one of more
// AWS services.
//
// * OperationInProgressFailure
// * ErrCodeOperationInProgressException "OperationInProgressFailure"
// Unable to perform the specified operation because another operation that
// effects an element in this activity is already in progress.
//
// * S3LocationNotInServiceRegionException
// * ErrCodeS3LocationNotInServiceRegionException "S3LocationNotInServiceRegionException"
// The specified S3 bucket does not belong to the S3 region in which the service
// is running. The following regions are supported:
//
@ -902,7 +902,7 @@ func (c *ElasticBeanstalk) DeleteConfigurationTemplateRequest(input *DeleteConfi
// API operation DeleteConfigurationTemplate for usage and error information.
//
// Returned Error Codes:
// * OperationInProgressFailure
// * ErrCodeOperationInProgressException "OperationInProgressFailure"
// Unable to perform the specified operation because another operation that
// effects an element in this activity is already in progress.
//
@ -1161,7 +1161,7 @@ func (c *ElasticBeanstalk) DescribeConfigurationOptionsRequest(input *DescribeCo
// API operation DescribeConfigurationOptions for usage and error information.
//
// Returned Error Codes:
// * TooManyBucketsException
// * ErrCodeTooManyBucketsException "TooManyBucketsException"
// The specified account has reached its limit of Amazon S3 buckets.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeConfigurationOptions
@ -1238,7 +1238,7 @@ func (c *ElasticBeanstalk) DescribeConfigurationSettingsRequest(input *DescribeC
// API operation DescribeConfigurationSettings for usage and error information.
//
// Returned Error Codes:
// * TooManyBucketsException
// * ErrCodeTooManyBucketsException "TooManyBucketsException"
// The specified account has reached its limit of Amazon S3 buckets.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeConfigurationSettings
@ -1305,11 +1305,11 @@ func (c *ElasticBeanstalk) DescribeEnvironmentHealthRequest(input *DescribeEnvir
// API operation DescribeEnvironmentHealth for usage and error information.
//
// Returned Error Codes:
// * InvalidRequestException
// * ErrCodeInvalidRequestException "InvalidRequestException"
// One or more input parameters is not valid. Please correct the input parameters
// and try the operation again.
//
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// A generic service exception has occurred.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentHealth
@ -1374,7 +1374,7 @@ func (c *ElasticBeanstalk) DescribeEnvironmentManagedActionHistoryRequest(input
// API operation DescribeEnvironmentManagedActionHistory for usage and error information.
//
// Returned Error Codes:
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// A generic service exception has occurred.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentManagedActionHistory
@ -1439,7 +1439,7 @@ func (c *ElasticBeanstalk) DescribeEnvironmentManagedActionsRequest(input *Descr
// API operation DescribeEnvironmentManagedActions for usage and error information.
//
// Returned Error Codes:
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// A generic service exception has occurred.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentManagedActions
@ -1504,7 +1504,7 @@ func (c *ElasticBeanstalk) DescribeEnvironmentResourcesRequest(input *DescribeEn
// API operation DescribeEnvironmentResources for usage and error information.
//
// Returned Error Codes:
// * InsufficientPrivilegesException
// * ErrCodeInsufficientPrivilegesException "InsufficientPrivilegesException"
// The specified account does not have sufficient privileges for one of more
// AWS services.
//
@ -1724,11 +1724,11 @@ func (c *ElasticBeanstalk) DescribeInstancesHealthRequest(input *DescribeInstanc
// API operation DescribeInstancesHealth for usage and error information.
//
// Returned Error Codes:
// * InvalidRequestException
// * ErrCodeInvalidRequestException "InvalidRequestException"
// One or more input parameters is not valid. Please correct the input parameters
// and try the operation again.
//
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// A generic service exception has occurred.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeInstancesHealth
@ -1856,7 +1856,7 @@ func (c *ElasticBeanstalk) RebuildEnvironmentRequest(input *RebuildEnvironmentIn
// API operation RebuildEnvironment for usage and error information.
//
// Returned Error Codes:
// * InsufficientPrivilegesException
// * ErrCodeInsufficientPrivilegesException "InsufficientPrivilegesException"
// The specified account does not have sufficient privileges for one of more
// AWS services.
//
@ -2187,7 +2187,7 @@ func (c *ElasticBeanstalk) TerminateEnvironmentRequest(input *TerminateEnvironme
// API operation TerminateEnvironment for usage and error information.
//
// Returned Error Codes:
// * InsufficientPrivilegesException
// * ErrCodeInsufficientPrivilegesException "InsufficientPrivilegesException"
// The specified account does not have sufficient privileges for one of more
// AWS services.
//
@ -2316,7 +2316,7 @@ func (c *ElasticBeanstalk) UpdateApplicationResourceLifecycleRequest(input *Upda
// API operation UpdateApplicationResourceLifecycle for usage and error information.
//
// Returned Error Codes:
// * InsufficientPrivilegesException
// * ErrCodeInsufficientPrivilegesException "InsufficientPrivilegesException"
// The specified account does not have sufficient privileges for one of more
// AWS services.
//
@ -2453,11 +2453,11 @@ func (c *ElasticBeanstalk) UpdateConfigurationTemplateRequest(input *UpdateConfi
// API operation UpdateConfigurationTemplate for usage and error information.
//
// Returned Error Codes:
// * InsufficientPrivilegesException
// * ErrCodeInsufficientPrivilegesException "InsufficientPrivilegesException"
// The specified account does not have sufficient privileges for one of more
// AWS services.
//
// * TooManyBucketsException
// * ErrCodeTooManyBucketsException "TooManyBucketsException"
// The specified account has reached its limit of Amazon S3 buckets.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateConfigurationTemplate
@ -2532,11 +2532,11 @@ func (c *ElasticBeanstalk) UpdateEnvironmentRequest(input *UpdateEnvironmentInpu
// API operation UpdateEnvironment for usage and error information.
//
// Returned Error Codes:
// * InsufficientPrivilegesException
// * ErrCodeInsufficientPrivilegesException "InsufficientPrivilegesException"
// The specified account does not have sufficient privileges for one of more
// AWS services.
//
// * TooManyBucketsException
// * ErrCodeTooManyBucketsException "TooManyBucketsException"
// The specified account has reached its limit of Amazon S3 buckets.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateEnvironment
@ -2605,11 +2605,11 @@ func (c *ElasticBeanstalk) ValidateConfigurationSettingsRequest(input *ValidateC
// API operation ValidateConfigurationSettings for usage and error information.
//
// Returned Error Codes:
// * InsufficientPrivilegesException
// * ErrCodeInsufficientPrivilegesException "InsufficientPrivilegesException"
// The specified account does not have sufficient privileges for one of more
// AWS services.
//
// * TooManyBucketsException
// * ErrCodeTooManyBucketsException "TooManyBucketsException"
// The specified account has reached its limit of Amazon S3 buckets.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ValidateConfigurationSettings

View File

@ -0,0 +1,101 @@
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
package elasticbeanstalk
const (
// ErrCodeCodeBuildNotInServiceRegionException for service response error code
// "CodeBuildNotInServiceRegionException".
//
// AWS CodeBuild is not available in the specified region.
ErrCodeCodeBuildNotInServiceRegionException = "CodeBuildNotInServiceRegionException"
// ErrCodeInsufficientPrivilegesException for service response error code
// "InsufficientPrivilegesException".
//
// The specified account does not have sufficient privileges for one of more
// AWS services.
ErrCodeInsufficientPrivilegesException = "InsufficientPrivilegesException"
// ErrCodeInvalidRequestException for service response error code
// "InvalidRequestException".
//
// One or more input parameters is not valid. Please correct the input parameters
// and try the operation again.
ErrCodeInvalidRequestException = "InvalidRequestException"
// ErrCodeManagedActionInvalidStateException for service response error code
// "ManagedActionInvalidStateException".
//
// Cannot modify the managed action in its current state.
ErrCodeManagedActionInvalidStateException = "ManagedActionInvalidStateException"
// ErrCodeOperationInProgressException for service response error code
// "OperationInProgressFailure".
//
// Unable to perform the specified operation because another operation that
// effects an element in this activity is already in progress.
ErrCodeOperationInProgressException = "OperationInProgressFailure"
// ErrCodeS3LocationNotInServiceRegionException for service response error code
// "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
//
// * PDX/us-west-2
//
// * DUB/eu-west-1
ErrCodeS3LocationNotInServiceRegionException = "S3LocationNotInServiceRegionException"
// ErrCodeS3SubscriptionRequiredException for service response error code
// "S3SubscriptionRequiredException".
//
// The specified account does not have a subscription to Amazon S3.
ErrCodeS3SubscriptionRequiredException = "S3SubscriptionRequiredException"
// ErrCodeServiceException for service response error code
// "ServiceException".
//
// A generic service exception has occurred.
ErrCodeServiceException = "ServiceException"
// ErrCodeSourceBundleDeletionException for service response error code
// "SourceBundleDeletionFailure".
//
// Unable to delete the Amazon S3 source bundle associated with the application
// version. The application version was deleted successfully.
ErrCodeSourceBundleDeletionException = "SourceBundleDeletionFailure"
// ErrCodeTooManyApplicationVersionsException for service response error code
// "TooManyApplicationVersionsException".
//
// The specified account has reached its limit of application versions.
ErrCodeTooManyApplicationVersionsException = "TooManyApplicationVersionsException"
// ErrCodeTooManyApplicationsException for service response error code
// "TooManyApplicationsException".
//
// The specified account has reached its limit of applications.
ErrCodeTooManyApplicationsException = "TooManyApplicationsException"
// ErrCodeTooManyBucketsException for service response error code
// "TooManyBucketsException".
//
// The specified account has reached its limit of Amazon S3 buckets.
ErrCodeTooManyBucketsException = "TooManyBucketsException"
// ErrCodeTooManyConfigurationTemplatesException for service response error code
// "TooManyConfigurationTemplatesException".
//
// The specified account has reached its limit of configuration templates.
ErrCodeTooManyConfigurationTemplatesException = "TooManyConfigurationTemplatesException"
// ErrCodeTooManyEnvironmentsException for service response error code
// "TooManyEnvironmentsException".
//
// The specified account has reached its limit of environments.
ErrCodeTooManyEnvironmentsException = "TooManyEnvironmentsException"
)

View File

@ -72,18 +72,18 @@ func (c *ElasticsearchService) AddTagsRequest(input *AddTagsInput) (req *request
// API operation AddTags for usage and error information.
//
// Returned Error Codes:
// * BaseException
// * ErrCodeBaseException "BaseException"
// An error occurred while processing the request.
//
// * LimitExceededException
// * ErrCodeLimitExceededException "LimitExceededException"
// An exception for trying to create more than allowed resources or sub-resources.
// Gives http status code of 409.
//
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// An exception for missing / invalid input fields. Gives http status code of
// 400.
//
// * InternalException
// * ErrCodeInternalException "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.
@ -152,31 +152,31 @@ func (c *ElasticsearchService) CreateElasticsearchDomainRequest(input *CreateEla
// API operation CreateElasticsearchDomain for usage and error information.
//
// Returned Error Codes:
// * BaseException
// * ErrCodeBaseException "BaseException"
// An error occurred while processing the request.
//
// * DisabledOperationException
// * ErrCodeDisabledOperationException "DisabledOperationException"
// An error occured because the client wanted to access a not supported operation.
// Gives http status code of 409.
//
// * InternalException
// * ErrCodeInternalException "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
// * ErrCodeInvalidTypeException "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
// * ErrCodeLimitExceededException "LimitExceededException"
// An exception for trying to create more than allowed resources or sub-resources.
// Gives http status code of 409.
//
// * ResourceAlreadyExistsException
// * ErrCodeResourceAlreadyExistsException "ResourceAlreadyExistsException"
// An exception for creating a resource that already exists. Gives http status
// code of 400.
//
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// An exception for missing / invalid input fields. Gives http status code of
// 400.
//
@ -243,19 +243,19 @@ func (c *ElasticsearchService) DeleteElasticsearchDomainRequest(input *DeleteEla
// API operation DeleteElasticsearchDomain for usage and error information.
//
// Returned Error Codes:
// * BaseException
// * ErrCodeBaseException "BaseException"
// An error occurred while processing the request.
//
// * InternalException
// * ErrCodeInternalException "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
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// An exception for accessing or deleting a resource that does not exist. Gives
// http status code of 400.
//
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// An exception for missing / invalid input fields. Gives http status code of
// 400.
//
@ -322,19 +322,19 @@ func (c *ElasticsearchService) DescribeElasticsearchDomainRequest(input *Describ
// API operation DescribeElasticsearchDomain for usage and error information.
//
// Returned Error Codes:
// * BaseException
// * ErrCodeBaseException "BaseException"
// An error occurred while processing the request.
//
// * InternalException
// * ErrCodeInternalException "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
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// An exception for accessing or deleting a resource that does not exist. Gives
// http status code of 400.
//
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// An exception for missing / invalid input fields. Gives http status code of
// 400.
//
@ -402,19 +402,19 @@ func (c *ElasticsearchService) DescribeElasticsearchDomainConfigRequest(input *D
// API operation DescribeElasticsearchDomainConfig for usage and error information.
//
// Returned Error Codes:
// * BaseException
// * ErrCodeBaseException "BaseException"
// An error occurred while processing the request.
//
// * InternalException
// * ErrCodeInternalException "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
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// An exception for accessing or deleting a resource that does not exist. Gives
// http status code of 400.
//
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// An exception for missing / invalid input fields. Gives http status code of
// 400.
//
@ -481,15 +481,15 @@ func (c *ElasticsearchService) DescribeElasticsearchDomainsRequest(input *Descri
// API operation DescribeElasticsearchDomains for usage and error information.
//
// Returned Error Codes:
// * BaseException
// * ErrCodeBaseException "BaseException"
// An error occurred while processing the request.
//
// * InternalException
// * ErrCodeInternalException "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
// * ErrCodeValidationException "ValidationException"
// An exception for missing / invalid input fields. Gives http status code of
// 400.
//
@ -556,10 +556,10 @@ func (c *ElasticsearchService) ListDomainNamesRequest(input *ListDomainNamesInpu
// API operation ListDomainNames for usage and error information.
//
// Returned Error Codes:
// * BaseException
// * ErrCodeBaseException "BaseException"
// An error occurred while processing the request.
//
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// An exception for missing / invalid input fields. Gives http status code of
// 400.
//
@ -625,18 +625,18 @@ func (c *ElasticsearchService) ListTagsRequest(input *ListTagsInput) (req *reque
// API operation ListTags for usage and error information.
//
// Returned Error Codes:
// * BaseException
// * ErrCodeBaseException "BaseException"
// An error occurred while processing the request.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// An exception for accessing or deleting a resource that does not exist. Gives
// http status code of 400.
//
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// An exception for missing / invalid input fields. Gives http status code of
// 400.
//
// * InternalException
// * ErrCodeInternalException "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.
@ -705,14 +705,14 @@ func (c *ElasticsearchService) RemoveTagsRequest(input *RemoveTagsInput) (req *r
// API operation RemoveTags for usage and error information.
//
// Returned Error Codes:
// * BaseException
// * ErrCodeBaseException "BaseException"
// An error occurred while processing the request.
//
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// An exception for missing / invalid input fields. Gives http status code of
// 400.
//
// * InternalException
// * ErrCodeInternalException "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.
@ -780,27 +780,27 @@ func (c *ElasticsearchService) UpdateElasticsearchDomainConfigRequest(input *Upd
// API operation UpdateElasticsearchDomainConfig for usage and error information.
//
// Returned Error Codes:
// * BaseException
// * ErrCodeBaseException "BaseException"
// An error occurred while processing the request.
//
// * InternalException
// * ErrCodeInternalException "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
// * ErrCodeInvalidTypeException "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
// * ErrCodeLimitExceededException "LimitExceededException"
// An exception for trying to create more than allowed resources or sub-resources.
// Gives http status code of 409.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// An exception for accessing or deleting a resource that does not exist. Gives
// http status code of 400.
//
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// An exception for missing / invalid input fields. Gives http status code of
// 400.
//

View File

@ -0,0 +1,62 @@
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
package elasticsearchservice
const (
// ErrCodeBaseException for service response error code
// "BaseException".
//
// An error occurred while processing the request.
ErrCodeBaseException = "BaseException"
// ErrCodeDisabledOperationException for service response error code
// "DisabledOperationException".
//
// An error occured because the client wanted to access a not supported operation.
// Gives http status code of 409.
ErrCodeDisabledOperationException = "DisabledOperationException"
// ErrCodeInternalException for service response error code
// "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.
ErrCodeInternalException = "InternalException"
// ErrCodeInvalidTypeException for service response error code
// "InvalidTypeException".
//
// An exception for trying to create or access sub-resource that is either invalid
// or not supported. Gives http status code of 409.
ErrCodeInvalidTypeException = "InvalidTypeException"
// ErrCodeLimitExceededException for service response error code
// "LimitExceededException".
//
// An exception for trying to create more than allowed resources or sub-resources.
// Gives http status code of 409.
ErrCodeLimitExceededException = "LimitExceededException"
// ErrCodeResourceAlreadyExistsException for service response error code
// "ResourceAlreadyExistsException".
//
// An exception for creating a resource that already exists. Gives http status
// code of 400.
ErrCodeResourceAlreadyExistsException = "ResourceAlreadyExistsException"
// ErrCodeResourceNotFoundException for service response error code
// "ResourceNotFoundException".
//
// An exception for accessing or deleting a resource that does not exist. Gives
// http status code of 400.
ErrCodeResourceNotFoundException = "ResourceNotFoundException"
// ErrCodeValidationException for service response error code
// "ValidationException".
//
// An exception for missing / invalid input fields. Gives http status code of
// 400.
ErrCodeValidationException = "ValidationException"
)

View File

@ -67,25 +67,24 @@ func (c *ElasticTranscoder) CancelJobRequest(input *CancelJobInput) (req *reques
// API operation CancelJob for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// One or more required parameter values were not provided in the request.
//
// * IncompatibleVersionException
// * ErrCodeIncompatibleVersionException "IncompatibleVersionException"
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "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
// * ErrCodeResourceInUseException "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
// * ErrCodeAccessDeniedException "AccessDeniedException"
// General authentication failure. The request was not signed correctly.
//
// * InternalServiceException
// * ErrCodeInternalServiceException "InternalServiceException"
// Elastic Transcoder encountered an unexpected exception while trying to fulfill
// the request.
//
@ -154,25 +153,24 @@ func (c *ElasticTranscoder) CreateJobRequest(input *CreateJobInput) (req *reques
// API operation CreateJob for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// One or more required parameter values were not provided in the request.
//
// * IncompatibleVersionException
// * ErrCodeIncompatibleVersionException "IncompatibleVersionException"
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "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
// * ErrCodeAccessDeniedException "AccessDeniedException"
// General authentication failure. The request was not signed correctly.
//
// * LimitExceededException
// * ErrCodeLimitExceededException "LimitExceededException"
// Too many operations for a given AWS account. For example, the number of pipelines
// exceeds the maximum allowed.
//
// * InternalServiceException
// * ErrCodeInternalServiceException "InternalServiceException"
// Elastic Transcoder encountered an unexpected exception while trying to fulfill
// the request.
//
@ -235,25 +233,24 @@ func (c *ElasticTranscoder) CreatePipelineRequest(input *CreatePipelineInput) (r
// API operation CreatePipeline for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// One or more required parameter values were not provided in the request.
//
// * IncompatibleVersionException
// * ErrCodeIncompatibleVersionException "IncompatibleVersionException"
//
// * AccessDeniedException
// * ErrCodeAccessDeniedException "AccessDeniedException"
// General authentication failure. The request was not signed correctly.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "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
// * ErrCodeLimitExceededException "LimitExceededException"
// Too many operations for a given AWS account. For example, the number of pipelines
// exceeds the maximum allowed.
//
// * InternalServiceException
// * ErrCodeInternalServiceException "InternalServiceException"
// Elastic Transcoder encountered an unexpected exception while trying to fulfill
// the request.
//
@ -330,20 +327,19 @@ func (c *ElasticTranscoder) CreatePresetRequest(input *CreatePresetInput) (req *
// API operation CreatePreset for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// One or more required parameter values were not provided in the request.
//
// * IncompatibleVersionException
// * ErrCodeIncompatibleVersionException "IncompatibleVersionException"
//
// * AccessDeniedException
// * ErrCodeAccessDeniedException "AccessDeniedException"
// General authentication failure. The request was not signed correctly.
//
// * LimitExceededException
// * ErrCodeLimitExceededException "LimitExceededException"
// Too many operations for a given AWS account. For example, the number of pipelines
// exceeds the maximum allowed.
//
// * InternalServiceException
// * ErrCodeInternalServiceException "InternalServiceException"
// Elastic Transcoder encountered an unexpected exception while trying to fulfill
// the request.
//
@ -410,25 +406,24 @@ func (c *ElasticTranscoder) DeletePipelineRequest(input *DeletePipelineInput) (r
// API operation DeletePipeline for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// One or more required parameter values were not provided in the request.
//
// * IncompatibleVersionException
// * ErrCodeIncompatibleVersionException "IncompatibleVersionException"
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "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
// * ErrCodeResourceInUseException "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
// * ErrCodeAccessDeniedException "AccessDeniedException"
// General authentication failure. The request was not signed correctly.
//
// * InternalServiceException
// * ErrCodeInternalServiceException "InternalServiceException"
// Elastic Transcoder encountered an unexpected exception while trying to fulfill
// the request.
//
@ -493,21 +488,20 @@ func (c *ElasticTranscoder) DeletePresetRequest(input *DeletePresetInput) (req *
// API operation DeletePreset for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// One or more required parameter values were not provided in the request.
//
// * IncompatibleVersionException
// * ErrCodeIncompatibleVersionException "IncompatibleVersionException"
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "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
// * ErrCodeAccessDeniedException "AccessDeniedException"
// General authentication failure. The request was not signed correctly.
//
// * InternalServiceException
// * ErrCodeInternalServiceException "InternalServiceException"
// Elastic Transcoder encountered an unexpected exception while trying to fulfill
// the request.
//
@ -580,21 +574,20 @@ func (c *ElasticTranscoder) ListJobsByPipelineRequest(input *ListJobsByPipelineI
// API operation ListJobsByPipeline for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// One or more required parameter values were not provided in the request.
//
// * IncompatibleVersionException
// * ErrCodeIncompatibleVersionException "IncompatibleVersionException"
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "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
// * ErrCodeAccessDeniedException "AccessDeniedException"
// General authentication failure. The request was not signed correctly.
//
// * InternalServiceException
// * ErrCodeInternalServiceException "InternalServiceException"
// Elastic Transcoder encountered an unexpected exception while trying to fulfill
// the request.
//
@ -690,21 +683,20 @@ func (c *ElasticTranscoder) ListJobsByStatusRequest(input *ListJobsByStatusInput
// API operation ListJobsByStatus for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// One or more required parameter values were not provided in the request.
//
// * IncompatibleVersionException
// * ErrCodeIncompatibleVersionException "IncompatibleVersionException"
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "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
// * ErrCodeAccessDeniedException "AccessDeniedException"
// General authentication failure. The request was not signed correctly.
//
// * InternalServiceException
// * ErrCodeInternalServiceException "InternalServiceException"
// Elastic Transcoder encountered an unexpected exception while trying to fulfill
// the request.
//
@ -799,16 +791,15 @@ func (c *ElasticTranscoder) ListPipelinesRequest(input *ListPipelinesInput) (req
// API operation ListPipelines for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// One or more required parameter values were not provided in the request.
//
// * IncompatibleVersionException
// * ErrCodeIncompatibleVersionException "IncompatibleVersionException"
//
// * AccessDeniedException
// * ErrCodeAccessDeniedException "AccessDeniedException"
// General authentication failure. The request was not signed correctly.
//
// * InternalServiceException
// * ErrCodeInternalServiceException "InternalServiceException"
// Elastic Transcoder encountered an unexpected exception while trying to fulfill
// the request.
//
@ -903,16 +894,15 @@ func (c *ElasticTranscoder) ListPresetsRequest(input *ListPresetsInput) (req *re
// API operation ListPresets for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// One or more required parameter values were not provided in the request.
//
// * IncompatibleVersionException
// * ErrCodeIncompatibleVersionException "IncompatibleVersionException"
//
// * AccessDeniedException
// * ErrCodeAccessDeniedException "AccessDeniedException"
// General authentication failure. The request was not signed correctly.
//
// * InternalServiceException
// * ErrCodeInternalServiceException "InternalServiceException"
// Elastic Transcoder encountered an unexpected exception while trying to fulfill
// the request.
//
@ -1000,21 +990,20 @@ func (c *ElasticTranscoder) ReadJobRequest(input *ReadJobInput) (req *request.Re
// API operation ReadJob for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// One or more required parameter values were not provided in the request.
//
// * IncompatibleVersionException
// * ErrCodeIncompatibleVersionException "IncompatibleVersionException"
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "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
// * ErrCodeAccessDeniedException "AccessDeniedException"
// General authentication failure. The request was not signed correctly.
//
// * InternalServiceException
// * ErrCodeInternalServiceException "InternalServiceException"
// Elastic Transcoder encountered an unexpected exception while trying to fulfill
// the request.
//
@ -1077,21 +1066,20 @@ func (c *ElasticTranscoder) ReadPipelineRequest(input *ReadPipelineInput) (req *
// API operation ReadPipeline for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// One or more required parameter values were not provided in the request.
//
// * IncompatibleVersionException
// * ErrCodeIncompatibleVersionException "IncompatibleVersionException"
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "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
// * ErrCodeAccessDeniedException "AccessDeniedException"
// General authentication failure. The request was not signed correctly.
//
// * InternalServiceException
// * ErrCodeInternalServiceException "InternalServiceException"
// Elastic Transcoder encountered an unexpected exception while trying to fulfill
// the request.
//
@ -1154,21 +1142,20 @@ func (c *ElasticTranscoder) ReadPresetRequest(input *ReadPresetInput) (req *requ
// API operation ReadPreset for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// One or more required parameter values were not provided in the request.
//
// * IncompatibleVersionException
// * ErrCodeIncompatibleVersionException "IncompatibleVersionException"
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "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
// * ErrCodeAccessDeniedException "AccessDeniedException"
// General authentication failure. The request was not signed correctly.
//
// * InternalServiceException
// * ErrCodeInternalServiceException "InternalServiceException"
// Elastic Transcoder encountered an unexpected exception while trying to fulfill
// the request.
//
@ -1240,21 +1227,20 @@ func (c *ElasticTranscoder) TestRoleRequest(input *TestRoleInput) (req *request.
// API operation TestRole for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// One or more required parameter values were not provided in the request.
//
// * IncompatibleVersionException
// * ErrCodeIncompatibleVersionException "IncompatibleVersionException"
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "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
// * ErrCodeAccessDeniedException "AccessDeniedException"
// General authentication failure. The request was not signed correctly.
//
// * InternalServiceException
// * ErrCodeInternalServiceException "InternalServiceException"
// Elastic Transcoder encountered an unexpected exception while trying to fulfill
// the request.
//
@ -1322,25 +1308,24 @@ func (c *ElasticTranscoder) UpdatePipelineRequest(input *UpdatePipelineInput) (r
// API operation UpdatePipeline for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// One or more required parameter values were not provided in the request.
//
// * IncompatibleVersionException
// * ErrCodeIncompatibleVersionException "IncompatibleVersionException"
//
// * AccessDeniedException
// * ErrCodeAccessDeniedException "AccessDeniedException"
// General authentication failure. The request was not signed correctly.
//
// * ResourceInUseException
// * ErrCodeResourceInUseException "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
// * ErrCodeResourceNotFoundException "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
// * ErrCodeInternalServiceException "InternalServiceException"
// Elastic Transcoder encountered an unexpected exception while trying to fulfill
// the request.
//
@ -1407,25 +1392,24 @@ func (c *ElasticTranscoder) UpdatePipelineNotificationsRequest(input *UpdatePipe
// API operation UpdatePipelineNotifications for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// One or more required parameter values were not provided in the request.
//
// * IncompatibleVersionException
// * ErrCodeIncompatibleVersionException "IncompatibleVersionException"
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "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
// * ErrCodeResourceInUseException "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
// * ErrCodeAccessDeniedException "AccessDeniedException"
// General authentication failure. The request was not signed correctly.
//
// * InternalServiceException
// * ErrCodeInternalServiceException "InternalServiceException"
// Elastic Transcoder encountered an unexpected exception while trying to fulfill
// the request.
//
@ -1495,25 +1479,24 @@ func (c *ElasticTranscoder) UpdatePipelineStatusRequest(input *UpdatePipelineSta
// API operation UpdatePipelineStatus for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// One or more required parameter values were not provided in the request.
//
// * IncompatibleVersionException
// * ErrCodeIncompatibleVersionException "IncompatibleVersionException"
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "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
// * ErrCodeResourceInUseException "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
// * ErrCodeAccessDeniedException "AccessDeniedException"
// General authentication failure. The request was not signed correctly.
//
// * InternalServiceException
// * ErrCodeInternalServiceException "InternalServiceException"
// Elastic Transcoder encountered an unexpected exception while trying to fulfill
// the request.
//

View File

@ -0,0 +1,51 @@
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
package elastictranscoder
const (
// ErrCodeAccessDeniedException for service response error code
// "AccessDeniedException".
//
// General authentication failure. The request was not signed correctly.
ErrCodeAccessDeniedException = "AccessDeniedException"
// ErrCodeIncompatibleVersionException for service response error code
// "IncompatibleVersionException".
ErrCodeIncompatibleVersionException = "IncompatibleVersionException"
// ErrCodeInternalServiceException for service response error code
// "InternalServiceException".
//
// Elastic Transcoder encountered an unexpected exception while trying to fulfill
// the request.
ErrCodeInternalServiceException = "InternalServiceException"
// ErrCodeLimitExceededException for service response error code
// "LimitExceededException".
//
// Too many operations for a given AWS account. For example, the number of pipelines
// exceeds the maximum allowed.
ErrCodeLimitExceededException = "LimitExceededException"
// ErrCodeResourceInUseException for service response error code
// "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.
ErrCodeResourceInUseException = "ResourceInUseException"
// ErrCodeResourceNotFoundException for service response error code
// "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.
ErrCodeResourceNotFoundException = "ResourceNotFoundException"
// ErrCodeValidationException for service response error code
// "ValidationException".
//
// One or more required parameter values were not provided in the request.
ErrCodeValidationException = "ValidationException"
)

View File

@ -73,14 +73,14 @@ func (c *ELB) AddTagsRequest(input *AddTagsInput) (req *request.Request, output
// API operation AddTags for usage and error information.
//
// Returned Error Codes:
// * LoadBalancerNotFound
// * ErrCodeAccessPointNotFoundException "LoadBalancerNotFound"
// The specified load balancer does not exist.
//
// * TooManyTags
// * ErrCodeTooManyTagsException "TooManyTags"
// The quota for the number of tags that can be assigned to a load balancer
// has been reached.
//
// * DuplicateTagKeys
// * ErrCodeDuplicateTagKeysException "DuplicateTagKeys"
// A tag key was specified more than once.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AddTags
@ -150,13 +150,13 @@ func (c *ELB) ApplySecurityGroupsToLoadBalancerRequest(input *ApplySecurityGroup
// API operation ApplySecurityGroupsToLoadBalancer for usage and error information.
//
// Returned Error Codes:
// * LoadBalancerNotFound
// * ErrCodeAccessPointNotFoundException "LoadBalancerNotFound"
// The specified load balancer does not exist.
//
// * InvalidConfigurationRequest
// * ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest"
// The requested configuration change is not valid.
//
// * InvalidSecurityGroup
// * ErrCodeInvalidSecurityGroupException "InvalidSecurityGroup"
// One or more of the specified security groups do not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ApplySecurityGroupsToLoadBalancer
@ -227,16 +227,16 @@ func (c *ELB) AttachLoadBalancerToSubnetsRequest(input *AttachLoadBalancerToSubn
// API operation AttachLoadBalancerToSubnets for usage and error information.
//
// Returned Error Codes:
// * LoadBalancerNotFound
// * ErrCodeAccessPointNotFoundException "LoadBalancerNotFound"
// The specified load balancer does not exist.
//
// * InvalidConfigurationRequest
// * ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest"
// The requested configuration change is not valid.
//
// * SubnetNotFound
// * ErrCodeSubnetNotFoundException "SubnetNotFound"
// One or more of the specified subnets do not exist.
//
// * InvalidSubnet
// * ErrCodeInvalidSubnetException "InvalidSubnet"
// The specified VPC has no associated Internet gateway.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AttachLoadBalancerToSubnets
@ -306,7 +306,7 @@ func (c *ELB) ConfigureHealthCheckRequest(input *ConfigureHealthCheckInput) (req
// API operation ConfigureHealthCheck for usage and error information.
//
// Returned Error Codes:
// * LoadBalancerNotFound
// * ErrCodeAccessPointNotFoundException "LoadBalancerNotFound"
// The specified load balancer does not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ConfigureHealthCheck
@ -385,16 +385,16 @@ func (c *ELB) CreateAppCookieStickinessPolicyRequest(input *CreateAppCookieStick
// API operation CreateAppCookieStickinessPolicy for usage and error information.
//
// Returned Error Codes:
// * LoadBalancerNotFound
// * ErrCodeAccessPointNotFoundException "LoadBalancerNotFound"
// The specified load balancer does not exist.
//
// * DuplicatePolicyName
// * ErrCodeDuplicatePolicyNameException "DuplicatePolicyName"
// A policy with the specified name already exists for this load balancer.
//
// * TooManyPolicies
// * ErrCodeTooManyPoliciesException "TooManyPolicies"
// The quota for the number of policies for this load balancer has been reached.
//
// * InvalidConfigurationRequest
// * ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest"
// The requested configuration change is not valid.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateAppCookieStickinessPolicy
@ -475,16 +475,16 @@ func (c *ELB) CreateLBCookieStickinessPolicyRequest(input *CreateLBCookieStickin
// API operation CreateLBCookieStickinessPolicy for usage and error information.
//
// Returned Error Codes:
// * LoadBalancerNotFound
// * ErrCodeAccessPointNotFoundException "LoadBalancerNotFound"
// The specified load balancer does not exist.
//
// * DuplicatePolicyName
// * ErrCodeDuplicatePolicyNameException "DuplicatePolicyName"
// A policy with the specified name already exists for this load balancer.
//
// * TooManyPolicies
// * ErrCodeTooManyPoliciesException "TooManyPolicies"
// The quota for the number of policies for this load balancer has been reached.
//
// * InvalidConfigurationRequest
// * ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest"
// The requested configuration change is not valid.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLBCookieStickinessPolicy
@ -561,43 +561,42 @@ func (c *ELB) CreateLoadBalancerRequest(input *CreateLoadBalancerInput) (req *re
// API operation CreateLoadBalancer for usage and error information.
//
// Returned Error Codes:
// * DuplicateLoadBalancerName
// * ErrCodeDuplicateAccessPointNameException "DuplicateLoadBalancerName"
// The specified load balancer name already exists for this account.
//
// * TooManyLoadBalancers
// * ErrCodeTooManyAccessPointsException "TooManyLoadBalancers"
// The quota for the number of load balancers has been reached.
//
// * CertificateNotFound
// * 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.
//
// * InvalidConfigurationRequest
// * ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest"
// The requested configuration change is not valid.
//
// * SubnetNotFound
// * ErrCodeSubnetNotFoundException "SubnetNotFound"
// One or more of the specified subnets do not exist.
//
// * InvalidSubnet
// * ErrCodeInvalidSubnetException "InvalidSubnet"
// The specified VPC has no associated Internet gateway.
//
// * InvalidSecurityGroup
// * ErrCodeInvalidSecurityGroupException "InvalidSecurityGroup"
// One or more of the specified security groups do not exist.
//
// * InvalidScheme
// * ErrCodeInvalidSchemeException "InvalidScheme"
// The specified value for the schema is not valid. You can only specify a scheme
// for load balancers in a VPC.
//
// * TooManyTags
// * ErrCodeTooManyTagsException "TooManyTags"
// The quota for the number of tags that can be assigned to a load balancer
// has been reached.
//
// * DuplicateTagKeys
// * ErrCodeDuplicateTagKeysException "DuplicateTagKeys"
// A tag key was specified more than once.
//
// * UnsupportedProtocol
// * ErrCodeUnsupportedProtocolException "UnsupportedProtocol"
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLoadBalancer
func (c *ELB) CreateLoadBalancer(input *CreateLoadBalancerInput) (*CreateLoadBalancerOutput, error) {
@ -667,24 +666,23 @@ func (c *ELB) CreateLoadBalancerListenersRequest(input *CreateLoadBalancerListen
// API operation CreateLoadBalancerListeners for usage and error information.
//
// Returned Error Codes:
// * LoadBalancerNotFound
// * ErrCodeAccessPointNotFoundException "LoadBalancerNotFound"
// The specified load balancer does not exist.
//
// * DuplicateListener
// * ErrCodeDuplicateListenerException "DuplicateListener"
// A listener already exists for the specified load balancer name and port,
// but with a different instance port, protocol, or SSL certificate.
//
// * CertificateNotFound
// * 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.
//
// * InvalidConfigurationRequest
// * ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest"
// The requested configuration change is not valid.
//
// * UnsupportedProtocol
// * ErrCodeUnsupportedProtocolException "UnsupportedProtocol"
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLoadBalancerListeners
func (c *ELB) CreateLoadBalancerListeners(input *CreateLoadBalancerListenersInput) (*CreateLoadBalancerListenersOutput, error) {
@ -752,19 +750,19 @@ func (c *ELB) CreateLoadBalancerPolicyRequest(input *CreateLoadBalancerPolicyInp
// API operation CreateLoadBalancerPolicy for usage and error information.
//
// Returned Error Codes:
// * LoadBalancerNotFound
// * ErrCodeAccessPointNotFoundException "LoadBalancerNotFound"
// The specified load balancer does not exist.
//
// * PolicyTypeNotFound
// * ErrCodePolicyTypeNotFoundException "PolicyTypeNotFound"
// One or more of the specified policy types do not exist.
//
// * DuplicatePolicyName
// * ErrCodeDuplicatePolicyNameException "DuplicatePolicyName"
// A policy with the specified name already exists for this load balancer.
//
// * TooManyPolicies
// * ErrCodeTooManyPoliciesException "TooManyPolicies"
// The quota for the number of policies for this load balancer has been reached.
//
// * InvalidConfigurationRequest
// * ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest"
// The requested configuration change is not valid.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLoadBalancerPolicy
@ -898,7 +896,7 @@ func (c *ELB) DeleteLoadBalancerListenersRequest(input *DeleteLoadBalancerListen
// API operation DeleteLoadBalancerListeners for usage and error information.
//
// Returned Error Codes:
// * LoadBalancerNotFound
// * ErrCodeAccessPointNotFoundException "LoadBalancerNotFound"
// The specified load balancer does not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeleteLoadBalancerListeners
@ -964,10 +962,10 @@ func (c *ELB) DeleteLoadBalancerPolicyRequest(input *DeleteLoadBalancerPolicyInp
// API operation DeleteLoadBalancerPolicy for usage and error information.
//
// Returned Error Codes:
// * LoadBalancerNotFound
// * ErrCodeAccessPointNotFoundException "LoadBalancerNotFound"
// The specified load balancer does not exist.
//
// * InvalidConfigurationRequest
// * ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest"
// The requested configuration change is not valid.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeleteLoadBalancerPolicy
@ -1040,10 +1038,10 @@ func (c *ELB) DeregisterInstancesFromLoadBalancerRequest(input *DeregisterInstan
// API operation DeregisterInstancesFromLoadBalancer for usage and error information.
//
// Returned Error Codes:
// * LoadBalancerNotFound
// * ErrCodeAccessPointNotFoundException "LoadBalancerNotFound"
// The specified load balancer does not exist.
//
// * InvalidInstance
// * ErrCodeInvalidEndPointException "InvalidInstance"
// The specified endpoint is not valid.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeregisterInstancesFromLoadBalancer
@ -1113,10 +1111,10 @@ func (c *ELB) DescribeInstanceHealthRequest(input *DescribeInstanceHealthInput)
// API operation DescribeInstanceHealth for usage and error information.
//
// Returned Error Codes:
// * LoadBalancerNotFound
// * ErrCodeAccessPointNotFoundException "LoadBalancerNotFound"
// The specified load balancer does not exist.
//
// * InvalidInstance
// * ErrCodeInvalidEndPointException "InvalidInstance"
// The specified endpoint is not valid.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeInstanceHealth
@ -1181,10 +1179,10 @@ func (c *ELB) DescribeLoadBalancerAttributesRequest(input *DescribeLoadBalancerA
// API operation DescribeLoadBalancerAttributes for usage and error information.
//
// Returned Error Codes:
// * LoadBalancerNotFound
// * ErrCodeAccessPointNotFoundException "LoadBalancerNotFound"
// The specified load balancer does not exist.
//
// * LoadBalancerAttributeNotFound
// * ErrCodeLoadBalancerAttributeNotFoundException "LoadBalancerAttributeNotFound"
// The specified load balancer attribute does not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerAttributes
@ -1256,10 +1254,10 @@ func (c *ELB) DescribeLoadBalancerPoliciesRequest(input *DescribeLoadBalancerPol
// API operation DescribeLoadBalancerPolicies for usage and error information.
//
// Returned Error Codes:
// * LoadBalancerNotFound
// * ErrCodeAccessPointNotFoundException "LoadBalancerNotFound"
// The specified load balancer does not exist.
//
// * PolicyNotFound
// * ErrCodePolicyNotFoundException "PolicyNotFound"
// One or more of the specified policies do not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerPolicies
@ -1335,7 +1333,7 @@ func (c *ELB) DescribeLoadBalancerPolicyTypesRequest(input *DescribeLoadBalancer
// API operation DescribeLoadBalancerPolicyTypes for usage and error information.
//
// Returned Error Codes:
// * PolicyTypeNotFound
// * ErrCodePolicyTypeNotFoundException "PolicyTypeNotFound"
// One or more of the specified policy types do not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerPolicyTypes
@ -1407,11 +1405,10 @@ func (c *ELB) DescribeLoadBalancersRequest(input *DescribeLoadBalancersInput) (r
// API operation DescribeLoadBalancers for usage and error information.
//
// Returned Error Codes:
// * LoadBalancerNotFound
// * ErrCodeAccessPointNotFoundException "LoadBalancerNotFound"
// The specified load balancer does not exist.
//
// * DependencyThrottle
// * ErrCodeDependencyThrottleException "DependencyThrottle"
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancers
func (c *ELB) DescribeLoadBalancers(input *DescribeLoadBalancersInput) (*DescribeLoadBalancersOutput, error) {
@ -1500,7 +1497,7 @@ func (c *ELB) DescribeTagsRequest(input *DescribeTagsInput) (req *request.Reques
// API operation DescribeTags for usage and error information.
//
// Returned Error Codes:
// * LoadBalancerNotFound
// * ErrCodeAccessPointNotFoundException "LoadBalancerNotFound"
// The specified load balancer does not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeTags
@ -1570,10 +1567,10 @@ func (c *ELB) DetachLoadBalancerFromSubnetsRequest(input *DetachLoadBalancerFrom
// API operation DetachLoadBalancerFromSubnets for usage and error information.
//
// Returned Error Codes:
// * LoadBalancerNotFound
// * ErrCodeAccessPointNotFoundException "LoadBalancerNotFound"
// The specified load balancer does not exist.
//
// * InvalidConfigurationRequest
// * ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest"
// The requested configuration change is not valid.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DetachLoadBalancerFromSubnets
@ -1648,10 +1645,10 @@ func (c *ELB) DisableAvailabilityZonesForLoadBalancerRequest(input *DisableAvail
// API operation DisableAvailabilityZonesForLoadBalancer for usage and error information.
//
// Returned Error Codes:
// * LoadBalancerNotFound
// * ErrCodeAccessPointNotFoundException "LoadBalancerNotFound"
// The specified load balancer does not exist.
//
// * InvalidConfigurationRequest
// * ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest"
// The requested configuration change is not valid.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DisableAvailabilityZonesForLoadBalancer
@ -1723,7 +1720,7 @@ func (c *ELB) EnableAvailabilityZonesForLoadBalancerRequest(input *EnableAvailab
// API operation EnableAvailabilityZonesForLoadBalancer for usage and error information.
//
// Returned Error Codes:
// * LoadBalancerNotFound
// * ErrCodeAccessPointNotFoundException "LoadBalancerNotFound"
// The specified load balancer does not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/EnableAvailabilityZonesForLoadBalancer
@ -1803,13 +1800,13 @@ func (c *ELB) ModifyLoadBalancerAttributesRequest(input *ModifyLoadBalancerAttri
// API operation ModifyLoadBalancerAttributes for usage and error information.
//
// Returned Error Codes:
// * LoadBalancerNotFound
// * ErrCodeAccessPointNotFoundException "LoadBalancerNotFound"
// The specified load balancer does not exist.
//
// * LoadBalancerAttributeNotFound
// * ErrCodeLoadBalancerAttributeNotFoundException "LoadBalancerAttributeNotFound"
// The specified load balancer attribute does not exist.
//
// * InvalidConfigurationRequest
// * ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest"
// The requested configuration change is not valid.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ModifyLoadBalancerAttributes
@ -1896,10 +1893,10 @@ func (c *ELB) RegisterInstancesWithLoadBalancerRequest(input *RegisterInstancesW
// API operation RegisterInstancesWithLoadBalancer for usage and error information.
//
// Returned Error Codes:
// * LoadBalancerNotFound
// * ErrCodeAccessPointNotFoundException "LoadBalancerNotFound"
// The specified load balancer does not exist.
//
// * InvalidInstance
// * ErrCodeInvalidEndPointException "InvalidInstance"
// The specified endpoint is not valid.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/RegisterInstancesWithLoadBalancer
@ -1964,7 +1961,7 @@ func (c *ELB) RemoveTagsRequest(input *RemoveTagsInput) (req *request.Request, o
// API operation RemoveTags for usage and error information.
//
// Returned Error Codes:
// * LoadBalancerNotFound
// * ErrCodeAccessPointNotFoundException "LoadBalancerNotFound"
// The specified load balancer does not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/RemoveTags
@ -2035,23 +2032,22 @@ func (c *ELB) SetLoadBalancerListenerSSLCertificateRequest(input *SetLoadBalance
// API operation SetLoadBalancerListenerSSLCertificate for usage and error information.
//
// Returned Error Codes:
// * CertificateNotFound
// * 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.
//
// * LoadBalancerNotFound
// * ErrCodeAccessPointNotFoundException "LoadBalancerNotFound"
// The specified load balancer does not exist.
//
// * ListenerNotFound
// * ErrCodeListenerNotFoundException "ListenerNotFound"
// The load balancer does not have a listener configured at the specified port.
//
// * InvalidConfigurationRequest
// * ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest"
// The requested configuration change is not valid.
//
// * UnsupportedProtocol
// * ErrCodeUnsupportedProtocolException "UnsupportedProtocol"
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SetLoadBalancerListenerSSLCertificate
func (c *ELB) SetLoadBalancerListenerSSLCertificate(input *SetLoadBalancerListenerSSLCertificateInput) (*SetLoadBalancerListenerSSLCertificateOutput, error) {
@ -2130,13 +2126,13 @@ func (c *ELB) SetLoadBalancerPoliciesForBackendServerRequest(input *SetLoadBalan
// API operation SetLoadBalancerPoliciesForBackendServer for usage and error information.
//
// Returned Error Codes:
// * LoadBalancerNotFound
// * ErrCodeAccessPointNotFoundException "LoadBalancerNotFound"
// The specified load balancer does not exist.
//
// * PolicyNotFound
// * ErrCodePolicyNotFoundException "PolicyNotFound"
// One or more of the specified policies do not exist.
//
// * InvalidConfigurationRequest
// * ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest"
// The requested configuration change is not valid.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SetLoadBalancerPoliciesForBackendServer
@ -2210,16 +2206,16 @@ func (c *ELB) SetLoadBalancerPoliciesOfListenerRequest(input *SetLoadBalancerPol
// API operation SetLoadBalancerPoliciesOfListener for usage and error information.
//
// Returned Error Codes:
// * LoadBalancerNotFound
// * ErrCodeAccessPointNotFoundException "LoadBalancerNotFound"
// The specified load balancer does not exist.
//
// * PolicyNotFound
// * ErrCodePolicyNotFoundException "PolicyNotFound"
// One or more of the specified policies do not exist.
//
// * ListenerNotFound
// * ErrCodeListenerNotFoundException "ListenerNotFound"
// The load balancer does not have a listener configured at the specified port.
//
// * InvalidConfigurationRequest
// * ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest"
// The requested configuration change is not valid.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SetLoadBalancerPoliciesOfListener

134
vendor/github.com/aws/aws-sdk-go/service/elb/errors.go generated vendored Normal file
View File

@ -0,0 +1,134 @@
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
package elb
const (
// ErrCodeAccessPointNotFoundException for service response error code
// "LoadBalancerNotFound".
//
// The specified load balancer does not exist.
ErrCodeAccessPointNotFoundException = "LoadBalancerNotFound"
// ErrCodeCertificateNotFoundException for service response error code
// "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"
// ErrCodeDependencyThrottleException for service response error code
// "DependencyThrottle".
ErrCodeDependencyThrottleException = "DependencyThrottle"
// ErrCodeDuplicateAccessPointNameException for service response error code
// "DuplicateLoadBalancerName".
//
// The specified load balancer name already exists for this account.
ErrCodeDuplicateAccessPointNameException = "DuplicateLoadBalancerName"
// ErrCodeDuplicateListenerException for service response error code
// "DuplicateListener".
//
// A listener already exists for the specified load balancer name and port,
// but with a different instance port, protocol, or SSL certificate.
ErrCodeDuplicateListenerException = "DuplicateListener"
// ErrCodeDuplicatePolicyNameException for service response error code
// "DuplicatePolicyName".
//
// A policy with the specified name already exists for this load balancer.
ErrCodeDuplicatePolicyNameException = "DuplicatePolicyName"
// ErrCodeDuplicateTagKeysException for service response error code
// "DuplicateTagKeys".
//
// A tag key was specified more than once.
ErrCodeDuplicateTagKeysException = "DuplicateTagKeys"
// ErrCodeInvalidConfigurationRequestException for service response error code
// "InvalidConfigurationRequest".
//
// The requested configuration change is not valid.
ErrCodeInvalidConfigurationRequestException = "InvalidConfigurationRequest"
// ErrCodeInvalidEndPointException for service response error code
// "InvalidInstance".
//
// The specified endpoint is not valid.
ErrCodeInvalidEndPointException = "InvalidInstance"
// ErrCodeInvalidSchemeException for service response error code
// "InvalidScheme".
//
// The specified value for the schema is not valid. You can only specify a scheme
// for load balancers in a VPC.
ErrCodeInvalidSchemeException = "InvalidScheme"
// ErrCodeInvalidSecurityGroupException for service response error code
// "InvalidSecurityGroup".
//
// One or more of the specified security groups do not exist.
ErrCodeInvalidSecurityGroupException = "InvalidSecurityGroup"
// ErrCodeInvalidSubnetException for service response error code
// "InvalidSubnet".
//
// The specified VPC has no associated Internet gateway.
ErrCodeInvalidSubnetException = "InvalidSubnet"
// ErrCodeListenerNotFoundException for service response error code
// "ListenerNotFound".
//
// The load balancer does not have a listener configured at the specified port.
ErrCodeListenerNotFoundException = "ListenerNotFound"
// ErrCodeLoadBalancerAttributeNotFoundException for service response error code
// "LoadBalancerAttributeNotFound".
//
// The specified load balancer attribute does not exist.
ErrCodeLoadBalancerAttributeNotFoundException = "LoadBalancerAttributeNotFound"
// ErrCodePolicyNotFoundException for service response error code
// "PolicyNotFound".
//
// One or more of the specified policies do not exist.
ErrCodePolicyNotFoundException = "PolicyNotFound"
// ErrCodePolicyTypeNotFoundException for service response error code
// "PolicyTypeNotFound".
//
// One or more of the specified policy types do not exist.
ErrCodePolicyTypeNotFoundException = "PolicyTypeNotFound"
// ErrCodeSubnetNotFoundException for service response error code
// "SubnetNotFound".
//
// One or more of the specified subnets do not exist.
ErrCodeSubnetNotFoundException = "SubnetNotFound"
// ErrCodeTooManyAccessPointsException for service response error code
// "TooManyLoadBalancers".
//
// The quota for the number of load balancers has been reached.
ErrCodeTooManyAccessPointsException = "TooManyLoadBalancers"
// ErrCodeTooManyPoliciesException for service response error code
// "TooManyPolicies".
//
// The quota for the number of policies for this load balancer has been reached.
ErrCodeTooManyPoliciesException = "TooManyPolicies"
// ErrCodeTooManyTagsException for service response error code
// "TooManyTags".
//
// The quota for the number of tags that can be assigned to a load balancer
// has been reached.
ErrCodeTooManyTagsException = "TooManyTags"
// ErrCodeUnsupportedProtocolException for service response error code
// "UnsupportedProtocol".
ErrCodeUnsupportedProtocolException = "UnsupportedProtocol"
)

View File

@ -73,16 +73,16 @@ func (c *ELBV2) AddTagsRequest(input *AddTagsInput) (req *request.Request, outpu
// API operation AddTags for usage and error information.
//
// Returned Error Codes:
// * DuplicateTagKeys
// * ErrCodeDuplicateTagKeysException "DuplicateTagKeys"
// A tag key was specified more than once.
//
// * TooManyTags
// * ErrCodeTooManyTagsException "TooManyTags"
// You've reached the limit on the number of tags per load balancer.
//
// * LoadBalancerNotFound
// * ErrCodeLoadBalancerNotFoundException "LoadBalancerNotFound"
// The specified load balancer does not exist.
//
// * TargetGroupNotFound
// * ErrCodeTargetGroupNotFoundException "TargetGroupNotFound"
// The specified target group does not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/AddTags
@ -156,40 +156,40 @@ func (c *ELBV2) CreateListenerRequest(input *CreateListenerInput) (req *request.
// API operation CreateListener for usage and error information.
//
// Returned Error Codes:
// * DuplicateListener
// * ErrCodeDuplicateListenerException "DuplicateListener"
// A listener with the specified port already exists.
//
// * TooManyListeners
// * ErrCodeTooManyListenersException "TooManyListeners"
// You've reached the limit on the number of listeners per load balancer.
//
// * TooManyCertificates
// * ErrCodeTooManyCertificatesException "TooManyCertificates"
// You've reached the limit on the number of certificates per listener.
//
// * LoadBalancerNotFound
// * ErrCodeLoadBalancerNotFoundException "LoadBalancerNotFound"
// The specified load balancer does not exist.
//
// * TargetGroupNotFound
// * ErrCodeTargetGroupNotFoundException "TargetGroupNotFound"
// The specified target group does not exist.
//
// * TargetGroupAssociationLimit
// * ErrCodeTargetGroupAssociationLimitException "TargetGroupAssociationLimit"
// You've reached the limit on the number of load balancers per target group.
//
// * InvalidConfigurationRequest
// * ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest"
// The requested configuration is not valid.
//
// * IncompatibleProtocols
// * ErrCodeIncompatibleProtocolsException "IncompatibleProtocols"
// The specified configuration is not valid with this protocol.
//
// * SSLPolicyNotFound
// * ErrCodeSSLPolicyNotFoundException "SSLPolicyNotFound"
// The specified SSL policy does not exist.
//
// * CertificateNotFound
// * ErrCodeCertificateNotFoundException "CertificateNotFound"
// The specified certificate does not exist.
//
// * UnsupportedProtocol
// * ErrCodeUnsupportedProtocolException "UnsupportedProtocol"
// The specified protocol is not supported.
//
// * TooManyRegistrationsForTargetId
// * ErrCodeTooManyRegistrationsForTargetIdException "TooManyRegistrationsForTargetId"
// You've reached the limit on the number of times a target can be registered
// with a load balancer.
//
@ -271,31 +271,31 @@ func (c *ELBV2) CreateLoadBalancerRequest(input *CreateLoadBalancerInput) (req *
// API operation CreateLoadBalancer for usage and error information.
//
// Returned Error Codes:
// * DuplicateLoadBalancerName
// * ErrCodeDuplicateLoadBalancerNameException "DuplicateLoadBalancerName"
// A load balancer with the specified name already exists for this account.
//
// * TooManyLoadBalancers
// * ErrCodeTooManyLoadBalancersException "TooManyLoadBalancers"
// You've reached the limit on the number of load balancers for your AWS account.
//
// * InvalidConfigurationRequest
// * ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest"
// The requested configuration is not valid.
//
// * SubnetNotFound
// * ErrCodeSubnetNotFoundException "SubnetNotFound"
// The specified subnet does not exist.
//
// * InvalidSubnet
// * ErrCodeInvalidSubnetException "InvalidSubnet"
// The specified subnet is out of available addresses.
//
// * InvalidSecurityGroup
// * ErrCodeInvalidSecurityGroupException "InvalidSecurityGroup"
// The specified security group does not exist.
//
// * InvalidScheme
// * ErrCodeInvalidSchemeException "InvalidScheme"
// The requested scheme is not valid.
//
// * TooManyTags
// * ErrCodeTooManyTagsException "TooManyTags"
// You've reached the limit on the number of tags per load balancer.
//
// * DuplicateTagKeys
// * ErrCodeDuplicateTagKeysException "DuplicateTagKeys"
// A tag key was specified more than once.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateLoadBalancer
@ -371,28 +371,28 @@ func (c *ELBV2) CreateRuleRequest(input *CreateRuleInput) (req *request.Request,
// API operation CreateRule for usage and error information.
//
// Returned Error Codes:
// * PriorityInUse
// * ErrCodePriorityInUseException "PriorityInUse"
// The specified priority is in use.
//
// * TooManyTargetGroups
// * ErrCodeTooManyTargetGroupsException "TooManyTargetGroups"
// You've reached the limit on the number of target groups for your AWS account.
//
// * TooManyRules
// * ErrCodeTooManyRulesException "TooManyRules"
// You've reached the limit on the number of rules per load balancer.
//
// * TargetGroupAssociationLimit
// * ErrCodeTargetGroupAssociationLimitException "TargetGroupAssociationLimit"
// You've reached the limit on the number of load balancers per target group.
//
// * ListenerNotFound
// * ErrCodeListenerNotFoundException "ListenerNotFound"
// The specified listener does not exist.
//
// * TargetGroupNotFound
// * ErrCodeTargetGroupNotFoundException "TargetGroupNotFound"
// The specified target group does not exist.
//
// * InvalidConfigurationRequest
// * ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest"
// The requested configuration is not valid.
//
// * TooManyRegistrationsForTargetId
// * ErrCodeTooManyRegistrationsForTargetIdException "TooManyRegistrationsForTargetId"
// You've reached the limit on the number of times a target can be registered
// with a load balancer.
//
@ -471,10 +471,10 @@ func (c *ELBV2) CreateTargetGroupRequest(input *CreateTargetGroupInput) (req *re
// API operation CreateTargetGroup for usage and error information.
//
// Returned Error Codes:
// * DuplicateTargetGroupName
// * ErrCodeDuplicateTargetGroupNameException "DuplicateTargetGroupName"
// A target group with the specified name already exists.
//
// * TooManyTargetGroups
// * ErrCodeTooManyTargetGroupsException "TooManyTargetGroups"
// You've reached the limit on the number of target groups for your AWS account.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateTargetGroup
@ -542,7 +542,7 @@ func (c *ELBV2) DeleteListenerRequest(input *DeleteListenerInput) (req *request.
// API operation DeleteListener for usage and error information.
//
// Returned Error Codes:
// * ListenerNotFound
// * ErrCodeListenerNotFoundException "ListenerNotFound"
// The specified listener does not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteListener
@ -615,10 +615,10 @@ func (c *ELBV2) DeleteLoadBalancerRequest(input *DeleteLoadBalancerInput) (req *
// API operation DeleteLoadBalancer for usage and error information.
//
// Returned Error Codes:
// * LoadBalancerNotFound
// * ErrCodeLoadBalancerNotFoundException "LoadBalancerNotFound"
// The specified load balancer does not exist.
//
// * OperationNotPermitted
// * ErrCodeOperationNotPermittedException "OperationNotPermitted"
// This operation is not allowed.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteLoadBalancer
@ -683,10 +683,10 @@ func (c *ELBV2) DeleteRuleRequest(input *DeleteRuleInput) (req *request.Request,
// API operation DeleteRule for usage and error information.
//
// Returned Error Codes:
// * RuleNotFound
// * ErrCodeRuleNotFoundException "RuleNotFound"
// The specified rule does not exist.
//
// * OperationNotPermitted
// * ErrCodeOperationNotPermittedException "OperationNotPermitted"
// This operation is not allowed.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteRule
@ -754,7 +754,7 @@ func (c *ELBV2) DeleteTargetGroupRequest(input *DeleteTargetGroupInput) (req *re
// API operation DeleteTargetGroup for usage and error information.
//
// Returned Error Codes:
// * ResourceInUse
// * ErrCodeResourceInUseException "ResourceInUse"
// A specified resource is in use.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteTargetGroup
@ -821,10 +821,10 @@ func (c *ELBV2) DeregisterTargetsRequest(input *DeregisterTargetsInput) (req *re
// API operation DeregisterTargets for usage and error information.
//
// Returned Error Codes:
// * TargetGroupNotFound
// * ErrCodeTargetGroupNotFoundException "TargetGroupNotFound"
// The specified target group does not exist.
//
// * InvalidTarget
// * ErrCodeInvalidTargetException "InvalidTarget"
// The specified target does not exist or is not in the same VPC as the target
// group.
//
@ -897,10 +897,10 @@ func (c *ELBV2) DescribeListenersRequest(input *DescribeListenersInput) (req *re
// API operation DescribeListeners for usage and error information.
//
// Returned Error Codes:
// * ListenerNotFound
// * ErrCodeListenerNotFoundException "ListenerNotFound"
// The specified listener does not exist.
//
// * LoadBalancerNotFound
// * ErrCodeLoadBalancerNotFoundException "LoadBalancerNotFound"
// The specified load balancer does not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeListeners
@ -990,7 +990,7 @@ func (c *ELBV2) DescribeLoadBalancerAttributesRequest(input *DescribeLoadBalance
// API operation DescribeLoadBalancerAttributes for usage and error information.
//
// Returned Error Codes:
// * LoadBalancerNotFound
// * ErrCodeLoadBalancerNotFoundException "LoadBalancerNotFound"
// The specified load balancer does not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeLoadBalancerAttributes
@ -1065,7 +1065,7 @@ func (c *ELBV2) DescribeLoadBalancersRequest(input *DescribeLoadBalancersInput)
// API operation DescribeLoadBalancers for usage and error information.
//
// Returned Error Codes:
// * LoadBalancerNotFound
// * ErrCodeLoadBalancerNotFoundException "LoadBalancerNotFound"
// The specified load balancer does not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeLoadBalancers
@ -1156,10 +1156,10 @@ func (c *ELBV2) DescribeRulesRequest(input *DescribeRulesInput) (req *request.Re
// API operation DescribeRules for usage and error information.
//
// Returned Error Codes:
// * ListenerNotFound
// * ErrCodeListenerNotFoundException "ListenerNotFound"
// The specified listener does not exist.
//
// * RuleNotFound
// * ErrCodeRuleNotFoundException "RuleNotFound"
// The specified rule does not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeRules
@ -1226,7 +1226,7 @@ func (c *ELBV2) DescribeSSLPoliciesRequest(input *DescribeSSLPoliciesInput) (req
// API operation DescribeSSLPolicies for usage and error information.
//
// Returned Error Codes:
// * SSLPolicyNotFound
// * ErrCodeSSLPolicyNotFoundException "SSLPolicyNotFound"
// The specified SSL policy does not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeSSLPolicies
@ -1291,16 +1291,16 @@ func (c *ELBV2) DescribeTagsRequest(input *DescribeTagsInput) (req *request.Requ
// API operation DescribeTags for usage and error information.
//
// Returned Error Codes:
// * LoadBalancerNotFound
// * ErrCodeLoadBalancerNotFoundException "LoadBalancerNotFound"
// The specified load balancer does not exist.
//
// * TargetGroupNotFound
// * ErrCodeTargetGroupNotFoundException "TargetGroupNotFound"
// The specified target group does not exist.
//
// * ListenerNotFound
// * ErrCodeListenerNotFoundException "ListenerNotFound"
// The specified listener does not exist.
//
// * RuleNotFound
// * ErrCodeRuleNotFoundException "RuleNotFound"
// The specified rule does not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTags
@ -1365,7 +1365,7 @@ func (c *ELBV2) DescribeTargetGroupAttributesRequest(input *DescribeTargetGroupA
// API operation DescribeTargetGroupAttributes for usage and error information.
//
// Returned Error Codes:
// * TargetGroupNotFound
// * ErrCodeTargetGroupNotFoundException "TargetGroupNotFound"
// The specified target group does not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetGroupAttributes
@ -1442,10 +1442,10 @@ func (c *ELBV2) DescribeTargetGroupsRequest(input *DescribeTargetGroupsInput) (r
// API operation DescribeTargetGroups for usage and error information.
//
// Returned Error Codes:
// * LoadBalancerNotFound
// * ErrCodeLoadBalancerNotFoundException "LoadBalancerNotFound"
// The specified load balancer does not exist.
//
// * TargetGroupNotFound
// * ErrCodeTargetGroupNotFoundException "TargetGroupNotFound"
// The specified target group does not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetGroups
@ -1535,14 +1535,14 @@ func (c *ELBV2) DescribeTargetHealthRequest(input *DescribeTargetHealthInput) (r
// API operation DescribeTargetHealth for usage and error information.
//
// Returned Error Codes:
// * InvalidTarget
// * ErrCodeInvalidTargetException "InvalidTarget"
// The specified target does not exist or is not in the same VPC as the target
// group.
//
// * TargetGroupNotFound
// * ErrCodeTargetGroupNotFoundException "TargetGroupNotFound"
// The specified target group does not exist.
//
// * HealthUnavailable
// * ErrCodeHealthUnavailableException "HealthUnavailable"
// The health of the specified targets could not be retrieved due to an internal
// error.
//
@ -1613,40 +1613,40 @@ func (c *ELBV2) ModifyListenerRequest(input *ModifyListenerInput) (req *request.
// API operation ModifyListener for usage and error information.
//
// Returned Error Codes:
// * DuplicateListener
// * ErrCodeDuplicateListenerException "DuplicateListener"
// A listener with the specified port already exists.
//
// * TooManyListeners
// * ErrCodeTooManyListenersException "TooManyListeners"
// You've reached the limit on the number of listeners per load balancer.
//
// * TooManyCertificates
// * ErrCodeTooManyCertificatesException "TooManyCertificates"
// You've reached the limit on the number of certificates per listener.
//
// * ListenerNotFound
// * ErrCodeListenerNotFoundException "ListenerNotFound"
// The specified listener does not exist.
//
// * TargetGroupNotFound
// * ErrCodeTargetGroupNotFoundException "TargetGroupNotFound"
// The specified target group does not exist.
//
// * TargetGroupAssociationLimit
// * ErrCodeTargetGroupAssociationLimitException "TargetGroupAssociationLimit"
// You've reached the limit on the number of load balancers per target group.
//
// * IncompatibleProtocols
// * ErrCodeIncompatibleProtocolsException "IncompatibleProtocols"
// The specified configuration is not valid with this protocol.
//
// * SSLPolicyNotFound
// * ErrCodeSSLPolicyNotFoundException "SSLPolicyNotFound"
// The specified SSL policy does not exist.
//
// * CertificateNotFound
// * ErrCodeCertificateNotFoundException "CertificateNotFound"
// The specified certificate does not exist.
//
// * InvalidConfigurationRequest
// * ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest"
// The requested configuration is not valid.
//
// * UnsupportedProtocol
// * ErrCodeUnsupportedProtocolException "UnsupportedProtocol"
// The specified protocol is not supported.
//
// * TooManyRegistrationsForTargetId
// * ErrCodeTooManyRegistrationsForTargetIdException "TooManyRegistrationsForTargetId"
// You've reached the limit on the number of times a target can be registered
// with a load balancer.
//
@ -1716,10 +1716,10 @@ func (c *ELBV2) ModifyLoadBalancerAttributesRequest(input *ModifyLoadBalancerAtt
// API operation ModifyLoadBalancerAttributes for usage and error information.
//
// Returned Error Codes:
// * LoadBalancerNotFound
// * ErrCodeLoadBalancerNotFoundException "LoadBalancerNotFound"
// The specified load balancer does not exist.
//
// * InvalidConfigurationRequest
// * ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest"
// The requested configuration is not valid.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyLoadBalancerAttributes
@ -1788,16 +1788,16 @@ func (c *ELBV2) ModifyRuleRequest(input *ModifyRuleInput) (req *request.Request,
// API operation ModifyRule for usage and error information.
//
// Returned Error Codes:
// * TargetGroupAssociationLimit
// * ErrCodeTargetGroupAssociationLimitException "TargetGroupAssociationLimit"
// You've reached the limit on the number of load balancers per target group.
//
// * RuleNotFound
// * ErrCodeRuleNotFoundException "RuleNotFound"
// The specified rule does not exist.
//
// * OperationNotPermitted
// * ErrCodeOperationNotPermittedException "OperationNotPermitted"
// This operation is not allowed.
//
// * TooManyRegistrationsForTargetId
// * ErrCodeTooManyRegistrationsForTargetIdException "TooManyRegistrationsForTargetId"
// You've reached the limit on the number of times a target can be registered
// with a load balancer.
//
@ -1866,7 +1866,7 @@ func (c *ELBV2) ModifyTargetGroupRequest(input *ModifyTargetGroupInput) (req *re
// API operation ModifyTargetGroup for usage and error information.
//
// Returned Error Codes:
// * TargetGroupNotFound
// * ErrCodeTargetGroupNotFoundException "TargetGroupNotFound"
// The specified target group does not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyTargetGroup
@ -1931,7 +1931,7 @@ func (c *ELBV2) ModifyTargetGroupAttributesRequest(input *ModifyTargetGroupAttri
// API operation ModifyTargetGroupAttributes for usage and error information.
//
// Returned Error Codes:
// * TargetGroupNotFound
// * ErrCodeTargetGroupNotFoundException "TargetGroupNotFound"
// The specified target group does not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyTargetGroupAttributes
@ -2006,17 +2006,17 @@ func (c *ELBV2) RegisterTargetsRequest(input *RegisterTargetsInput) (req *reques
// API operation RegisterTargets for usage and error information.
//
// Returned Error Codes:
// * TargetGroupNotFound
// * ErrCodeTargetGroupNotFoundException "TargetGroupNotFound"
// The specified target group does not exist.
//
// * TooManyTargets
// * ErrCodeTooManyTargetsException "TooManyTargets"
// You've reached the limit on the number of targets.
//
// * InvalidTarget
// * ErrCodeInvalidTargetException "InvalidTarget"
// The specified target does not exist or is not in the same VPC as the target
// group.
//
// * TooManyRegistrationsForTargetId
// * ErrCodeTooManyRegistrationsForTargetIdException "TooManyRegistrationsForTargetId"
// You've reached the limit on the number of times a target can be registered
// with a load balancer.
//
@ -2084,19 +2084,19 @@ func (c *ELBV2) RemoveTagsRequest(input *RemoveTagsInput) (req *request.Request,
// API operation RemoveTags for usage and error information.
//
// Returned Error Codes:
// * LoadBalancerNotFound
// * ErrCodeLoadBalancerNotFoundException "LoadBalancerNotFound"
// The specified load balancer does not exist.
//
// * TargetGroupNotFound
// * ErrCodeTargetGroupNotFoundException "TargetGroupNotFound"
// The specified target group does not exist.
//
// * ListenerNotFound
// * ErrCodeListenerNotFoundException "ListenerNotFound"
// The specified listener does not exist.
//
// * RuleNotFound
// * ErrCodeRuleNotFoundException "RuleNotFound"
// The specified rule does not exist.
//
// * TooManyTags
// * ErrCodeTooManyTagsException "TooManyTags"
// You've reached the limit on the number of tags per load balancer.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RemoveTags
@ -2162,13 +2162,13 @@ func (c *ELBV2) SetIpAddressTypeRequest(input *SetIpAddressTypeInput) (req *requ
// API operation SetIpAddressType for usage and error information.
//
// Returned Error Codes:
// * LoadBalancerNotFound
// * ErrCodeLoadBalancerNotFoundException "LoadBalancerNotFound"
// The specified load balancer does not exist.
//
// * InvalidConfigurationRequest
// * ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest"
// The requested configuration is not valid.
//
// * InvalidSubnet
// * ErrCodeInvalidSubnetException "InvalidSubnet"
// The specified subnet is out of available addresses.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetIpAddressType
@ -2237,13 +2237,13 @@ func (c *ELBV2) SetRulePrioritiesRequest(input *SetRulePrioritiesInput) (req *re
// API operation SetRulePriorities for usage and error information.
//
// Returned Error Codes:
// * RuleNotFound
// * ErrCodeRuleNotFoundException "RuleNotFound"
// The specified rule does not exist.
//
// * PriorityInUse
// * ErrCodePriorityInUseException "PriorityInUse"
// The specified priority is in use.
//
// * OperationNotPermitted
// * ErrCodeOperationNotPermittedException "OperationNotPermitted"
// This operation is not allowed.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetRulePriorities
@ -2310,13 +2310,13 @@ func (c *ELBV2) SetSecurityGroupsRequest(input *SetSecurityGroupsInput) (req *re
// API operation SetSecurityGroups for usage and error information.
//
// Returned Error Codes:
// * LoadBalancerNotFound
// * ErrCodeLoadBalancerNotFoundException "LoadBalancerNotFound"
// The specified load balancer does not exist.
//
// * InvalidConfigurationRequest
// * ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest"
// The requested configuration is not valid.
//
// * InvalidSecurityGroup
// * ErrCodeInvalidSecurityGroupException "InvalidSecurityGroup"
// The specified security group does not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetSecurityGroups
@ -2382,16 +2382,16 @@ func (c *ELBV2) SetSubnetsRequest(input *SetSubnetsInput) (req *request.Request,
// API operation SetSubnets for usage and error information.
//
// Returned Error Codes:
// * LoadBalancerNotFound
// * ErrCodeLoadBalancerNotFoundException "LoadBalancerNotFound"
// The specified load balancer does not exist.
//
// * InvalidConfigurationRequest
// * ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest"
// The requested configuration is not valid.
//
// * SubnetNotFound
// * ErrCodeSubnetNotFoundException "SubnetNotFound"
// The specified subnet does not exist.
//
// * InvalidSubnet
// * ErrCodeInvalidSubnetException "InvalidSubnet"
// The specified subnet is out of available addresses.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetSubnets

View File

@ -0,0 +1,195 @@
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
package elbv2
const (
// ErrCodeCertificateNotFoundException for service response error code
// "CertificateNotFound".
//
// The specified certificate does not exist.
ErrCodeCertificateNotFoundException = "CertificateNotFound"
// ErrCodeDuplicateListenerException for service response error code
// "DuplicateListener".
//
// A listener with the specified port already exists.
ErrCodeDuplicateListenerException = "DuplicateListener"
// ErrCodeDuplicateLoadBalancerNameException for service response error code
// "DuplicateLoadBalancerName".
//
// A load balancer with the specified name already exists for this account.
ErrCodeDuplicateLoadBalancerNameException = "DuplicateLoadBalancerName"
// ErrCodeDuplicateTagKeysException for service response error code
// "DuplicateTagKeys".
//
// A tag key was specified more than once.
ErrCodeDuplicateTagKeysException = "DuplicateTagKeys"
// ErrCodeDuplicateTargetGroupNameException for service response error code
// "DuplicateTargetGroupName".
//
// A target group with the specified name already exists.
ErrCodeDuplicateTargetGroupNameException = "DuplicateTargetGroupName"
// ErrCodeHealthUnavailableException for service response error code
// "HealthUnavailable".
//
// The health of the specified targets could not be retrieved due to an internal
// error.
ErrCodeHealthUnavailableException = "HealthUnavailable"
// ErrCodeIncompatibleProtocolsException for service response error code
// "IncompatibleProtocols".
//
// The specified configuration is not valid with this protocol.
ErrCodeIncompatibleProtocolsException = "IncompatibleProtocols"
// ErrCodeInvalidConfigurationRequestException for service response error code
// "InvalidConfigurationRequest".
//
// The requested configuration is not valid.
ErrCodeInvalidConfigurationRequestException = "InvalidConfigurationRequest"
// ErrCodeInvalidSchemeException for service response error code
// "InvalidScheme".
//
// The requested scheme is not valid.
ErrCodeInvalidSchemeException = "InvalidScheme"
// ErrCodeInvalidSecurityGroupException for service response error code
// "InvalidSecurityGroup".
//
// The specified security group does not exist.
ErrCodeInvalidSecurityGroupException = "InvalidSecurityGroup"
// ErrCodeInvalidSubnetException for service response error code
// "InvalidSubnet".
//
// The specified subnet is out of available addresses.
ErrCodeInvalidSubnetException = "InvalidSubnet"
// ErrCodeInvalidTargetException for service response error code
// "InvalidTarget".
//
// The specified target does not exist or is not in the same VPC as the target
// group.
ErrCodeInvalidTargetException = "InvalidTarget"
// ErrCodeListenerNotFoundException for service response error code
// "ListenerNotFound".
//
// The specified listener does not exist.
ErrCodeListenerNotFoundException = "ListenerNotFound"
// ErrCodeLoadBalancerNotFoundException for service response error code
// "LoadBalancerNotFound".
//
// The specified load balancer does not exist.
ErrCodeLoadBalancerNotFoundException = "LoadBalancerNotFound"
// ErrCodeOperationNotPermittedException for service response error code
// "OperationNotPermitted".
//
// This operation is not allowed.
ErrCodeOperationNotPermittedException = "OperationNotPermitted"
// ErrCodePriorityInUseException for service response error code
// "PriorityInUse".
//
// The specified priority is in use.
ErrCodePriorityInUseException = "PriorityInUse"
// ErrCodeResourceInUseException for service response error code
// "ResourceInUse".
//
// A specified resource is in use.
ErrCodeResourceInUseException = "ResourceInUse"
// ErrCodeRuleNotFoundException for service response error code
// "RuleNotFound".
//
// The specified rule does not exist.
ErrCodeRuleNotFoundException = "RuleNotFound"
// ErrCodeSSLPolicyNotFoundException for service response error code
// "SSLPolicyNotFound".
//
// The specified SSL policy does not exist.
ErrCodeSSLPolicyNotFoundException = "SSLPolicyNotFound"
// ErrCodeSubnetNotFoundException for service response error code
// "SubnetNotFound".
//
// The specified subnet does not exist.
ErrCodeSubnetNotFoundException = "SubnetNotFound"
// ErrCodeTargetGroupAssociationLimitException for service response error code
// "TargetGroupAssociationLimit".
//
// You've reached the limit on the number of load balancers per target group.
ErrCodeTargetGroupAssociationLimitException = "TargetGroupAssociationLimit"
// ErrCodeTargetGroupNotFoundException for service response error code
// "TargetGroupNotFound".
//
// The specified target group does not exist.
ErrCodeTargetGroupNotFoundException = "TargetGroupNotFound"
// ErrCodeTooManyCertificatesException for service response error code
// "TooManyCertificates".
//
// You've reached the limit on the number of certificates per listener.
ErrCodeTooManyCertificatesException = "TooManyCertificates"
// ErrCodeTooManyListenersException for service response error code
// "TooManyListeners".
//
// You've reached the limit on the number of listeners per load balancer.
ErrCodeTooManyListenersException = "TooManyListeners"
// ErrCodeTooManyLoadBalancersException for service response error code
// "TooManyLoadBalancers".
//
// You've reached the limit on the number of load balancers for your AWS account.
ErrCodeTooManyLoadBalancersException = "TooManyLoadBalancers"
// ErrCodeTooManyRegistrationsForTargetIdException for service response error code
// "TooManyRegistrationsForTargetId".
//
// You've reached the limit on the number of times a target can be registered
// with a load balancer.
ErrCodeTooManyRegistrationsForTargetIdException = "TooManyRegistrationsForTargetId"
// ErrCodeTooManyRulesException for service response error code
// "TooManyRules".
//
// You've reached the limit on the number of rules per load balancer.
ErrCodeTooManyRulesException = "TooManyRules"
// ErrCodeTooManyTagsException for service response error code
// "TooManyTags".
//
// You've reached the limit on the number of tags per load balancer.
ErrCodeTooManyTagsException = "TooManyTags"
// ErrCodeTooManyTargetGroupsException for service response error code
// "TooManyTargetGroups".
//
// You've reached the limit on the number of target groups for your AWS account.
ErrCodeTooManyTargetGroupsException = "TooManyTargetGroups"
// ErrCodeTooManyTargetsException for service response error code
// "TooManyTargets".
//
// You've reached the limit on the number of targets.
ErrCodeTooManyTargetsException = "TooManyTargets"
// ErrCodeUnsupportedProtocolException for service response error code
// "UnsupportedProtocol".
//
// The specified protocol is not supported.
ErrCodeUnsupportedProtocolException = "UnsupportedProtocol"
)

View File

@ -68,7 +68,7 @@ func (c *EMR) AddInstanceGroupsRequest(input *AddInstanceGroupsInput) (req *requ
// API operation AddInstanceGroups for usage and error information.
//
// Returned Error Codes:
// * InternalServerError
// * ErrCodeInternalServerError "InternalServerError"
// Indicates that an error occurred while processing the request and that the
// request was not completed.
//
@ -156,7 +156,7 @@ func (c *EMR) AddJobFlowStepsRequest(input *AddJobFlowStepsInput) (req *request.
// API operation AddJobFlowSteps for usage and error information.
//
// Returned Error Codes:
// * InternalServerError
// * ErrCodeInternalServerError "InternalServerError"
// Indicates that an error occurred while processing the request and that the
// request was not completed.
//
@ -225,10 +225,10 @@ func (c *EMR) AddTagsRequest(input *AddTagsInput) (req *request.Request, output
// API operation AddTags for usage and error information.
//
// Returned Error Codes:
// * InternalServerException
// * ErrCodeInternalServerException "InternalServerException"
// This exception occurs when there is an internal failure in the EMR service.
//
// * InvalidRequestException
// * ErrCodeInvalidRequestException "InvalidRequestException"
// This exception occurs when there is something wrong with user input.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AddTags
@ -297,11 +297,11 @@ func (c *EMR) CancelStepsRequest(input *CancelStepsInput) (req *request.Request,
// API operation CancelSteps for usage and error information.
//
// Returned Error Codes:
// * InternalServerError
// * ErrCodeInternalServerError "InternalServerError"
// Indicates that an error occurred while processing the request and that the
// request was not completed.
//
// * InvalidRequestException
// * ErrCodeInvalidRequestException "InvalidRequestException"
// This exception occurs when there is something wrong with user input.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/CancelSteps
@ -367,10 +367,10 @@ func (c *EMR) CreateSecurityConfigurationRequest(input *CreateSecurityConfigurat
// API operation CreateSecurityConfiguration for usage and error information.
//
// Returned Error Codes:
// * InternalServerException
// * ErrCodeInternalServerException "InternalServerException"
// This exception occurs when there is an internal failure in the EMR service.
//
// * InvalidRequestException
// * ErrCodeInvalidRequestException "InvalidRequestException"
// This exception occurs when there is something wrong with user input.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/CreateSecurityConfiguration
@ -435,10 +435,10 @@ func (c *EMR) DeleteSecurityConfigurationRequest(input *DeleteSecurityConfigurat
// API operation DeleteSecurityConfiguration for usage and error information.
//
// Returned Error Codes:
// * InternalServerException
// * ErrCodeInternalServerException "InternalServerException"
// This exception occurs when there is an internal failure in the EMR service.
//
// * InvalidRequestException
// * ErrCodeInvalidRequestException "InvalidRequestException"
// This exception occurs when there is something wrong with user input.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DeleteSecurityConfiguration
@ -504,10 +504,10 @@ func (c *EMR) DescribeClusterRequest(input *DescribeClusterInput) (req *request.
// API operation DescribeCluster for usage and error information.
//
// Returned Error Codes:
// * InternalServerException
// * ErrCodeInternalServerException "InternalServerException"
// This exception occurs when there is an internal failure in the EMR service.
//
// * InvalidRequestException
// * ErrCodeInvalidRequestException "InvalidRequestException"
// This exception occurs when there is something wrong with user input.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeCluster
@ -594,7 +594,7 @@ func (c *EMR) DescribeJobFlowsRequest(input *DescribeJobFlowsInput) (req *reques
// API operation DescribeJobFlows for usage and error information.
//
// Returned Error Codes:
// * InternalServerError
// * ErrCodeInternalServerError "InternalServerError"
// Indicates that an error occurred while processing the request and that the
// request was not completed.
//
@ -661,10 +661,10 @@ func (c *EMR) DescribeSecurityConfigurationRequest(input *DescribeSecurityConfig
// API operation DescribeSecurityConfiguration for usage and error information.
//
// Returned Error Codes:
// * InternalServerException
// * ErrCodeInternalServerException "InternalServerException"
// This exception occurs when there is an internal failure in the EMR service.
//
// * InvalidRequestException
// * ErrCodeInvalidRequestException "InvalidRequestException"
// This exception occurs when there is something wrong with user input.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeSecurityConfiguration
@ -729,10 +729,10 @@ func (c *EMR) DescribeStepRequest(input *DescribeStepInput) (req *request.Reques
// API operation DescribeStep for usage and error information.
//
// Returned Error Codes:
// * InternalServerException
// * ErrCodeInternalServerException "InternalServerException"
// This exception occurs when there is an internal failure in the EMR service.
//
// * InvalidRequestException
// * ErrCodeInvalidRequestException "InvalidRequestException"
// This exception occurs when there is something wrong with user input.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeStep
@ -803,10 +803,10 @@ func (c *EMR) ListBootstrapActionsRequest(input *ListBootstrapActionsInput) (req
// API operation ListBootstrapActions for usage and error information.
//
// Returned Error Codes:
// * InternalServerException
// * ErrCodeInternalServerException "InternalServerException"
// This exception occurs when there is an internal failure in the EMR service.
//
// * InvalidRequestException
// * ErrCodeInvalidRequestException "InvalidRequestException"
// This exception occurs when there is something wrong with user input.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListBootstrapActions
@ -906,10 +906,10 @@ func (c *EMR) ListClustersRequest(input *ListClustersInput) (req *request.Reques
// API operation ListClusters for usage and error information.
//
// Returned Error Codes:
// * InternalServerException
// * ErrCodeInternalServerException "InternalServerException"
// This exception occurs when there is an internal failure in the EMR service.
//
// * InvalidRequestException
// * ErrCodeInvalidRequestException "InvalidRequestException"
// This exception occurs when there is something wrong with user input.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListClusters
@ -1005,10 +1005,10 @@ func (c *EMR) ListInstanceGroupsRequest(input *ListInstanceGroupsInput) (req *re
// API operation ListInstanceGroups for usage and error information.
//
// Returned Error Codes:
// * InternalServerException
// * ErrCodeInternalServerException "InternalServerException"
// This exception occurs when there is an internal failure in the EMR service.
//
// * InvalidRequestException
// * ErrCodeInvalidRequestException "InvalidRequestException"
// This exception occurs when there is something wrong with user input.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListInstanceGroups
@ -1108,10 +1108,10 @@ func (c *EMR) ListInstancesRequest(input *ListInstancesInput) (req *request.Requ
// API operation ListInstances for usage and error information.
//
// Returned Error Codes:
// * InternalServerException
// * ErrCodeInternalServerException "InternalServerException"
// This exception occurs when there is an internal failure in the EMR service.
//
// * InvalidRequestException
// * ErrCodeInvalidRequestException "InvalidRequestException"
// This exception occurs when there is something wrong with user input.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListInstances
@ -1204,10 +1204,10 @@ func (c *EMR) ListSecurityConfigurationsRequest(input *ListSecurityConfiguration
// API operation ListSecurityConfigurations for usage and error information.
//
// Returned Error Codes:
// * InternalServerException
// * ErrCodeInternalServerException "InternalServerException"
// This exception occurs when there is an internal failure in the EMR service.
//
// * InvalidRequestException
// * ErrCodeInvalidRequestException "InvalidRequestException"
// This exception occurs when there is something wrong with user input.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListSecurityConfigurations
@ -1279,10 +1279,10 @@ func (c *EMR) ListStepsRequest(input *ListStepsInput) (req *request.Request, out
// API operation ListSteps for usage and error information.
//
// Returned Error Codes:
// * InternalServerException
// * ErrCodeInternalServerException "InternalServerException"
// This exception occurs when there is an internal failure in the EMR service.
//
// * InvalidRequestException
// * ErrCodeInvalidRequestException "InvalidRequestException"
// This exception occurs when there is something wrong with user input.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListSteps
@ -1377,7 +1377,7 @@ func (c *EMR) ModifyInstanceGroupsRequest(input *ModifyInstanceGroupsInput) (req
// API operation ModifyInstanceGroups for usage and error information.
//
// Returned Error Codes:
// * InternalServerError
// * ErrCodeInternalServerError "InternalServerError"
// Indicates that an error occurred while processing the request and that the
// request was not completed.
//
@ -1572,10 +1572,10 @@ func (c *EMR) RemoveTagsRequest(input *RemoveTagsInput) (req *request.Request, o
// API operation RemoveTags for usage and error information.
//
// Returned Error Codes:
// * InternalServerException
// * ErrCodeInternalServerException "InternalServerException"
// This exception occurs when there is an internal failure in the EMR service.
//
// * InvalidRequestException
// * ErrCodeInvalidRequestException "InvalidRequestException"
// This exception occurs when there is something wrong with user input.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/RemoveTags
@ -1662,7 +1662,7 @@ func (c *EMR) RunJobFlowRequest(input *RunJobFlowInput) (req *request.Request, o
// API operation RunJobFlow for usage and error information.
//
// Returned Error Codes:
// * InternalServerError
// * ErrCodeInternalServerError "InternalServerError"
// Indicates that an error occurred while processing the request and that the
// request was not completed.
//
@ -1746,7 +1746,7 @@ func (c *EMR) SetTerminationProtectionRequest(input *SetTerminationProtectionInp
// API operation SetTerminationProtection for usage and error information.
//
// Returned Error Codes:
// * InternalServerError
// * ErrCodeInternalServerError "InternalServerError"
// Indicates that an error occurred while processing the request and that the
// request was not completed.
//
@ -1819,7 +1819,7 @@ func (c *EMR) SetVisibleToAllUsersRequest(input *SetVisibleToAllUsersInput) (req
// API operation SetVisibleToAllUsers for usage and error information.
//
// Returned Error Codes:
// * InternalServerError
// * ErrCodeInternalServerError "InternalServerError"
// Indicates that an error occurred while processing the request and that the
// request was not completed.
//
@ -1895,7 +1895,7 @@ func (c *EMR) TerminateJobFlowsRequest(input *TerminateJobFlowsInput) (req *requ
// API operation TerminateJobFlows for usage and error information.
//
// Returned Error Codes:
// * InternalServerError
// * ErrCodeInternalServerError "InternalServerError"
// Indicates that an error occurred while processing the request and that the
// request was not completed.
//

25
vendor/github.com/aws/aws-sdk-go/service/emr/errors.go generated vendored Normal file
View File

@ -0,0 +1,25 @@
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
package emr
const (
// ErrCodeInternalServerError for service response error code
// "InternalServerError".
//
// Indicates that an error occurred while processing the request and that the
// request was not completed.
ErrCodeInternalServerError = "InternalServerError"
// ErrCodeInternalServerException for service response error code
// "InternalServerException".
//
// This exception occurs when there is an internal failure in the EMR service.
ErrCodeInternalServerException = "InternalServerException"
// ErrCodeInvalidRequestException for service response error code
// "InvalidRequestException".
//
// This exception occurs when there is something wrong with user input.
ErrCodeInvalidRequestException = "InvalidRequestException"
)

View File

@ -110,13 +110,13 @@ func (c *Firehose) CreateDeliveryStreamRequest(input *CreateDeliveryStreamInput)
// API operation CreateDeliveryStream for usage and error information.
//
// Returned Error Codes:
// * InvalidArgumentException
// * ErrCodeInvalidArgumentException "InvalidArgumentException"
// The specified input parameter has an value that is not valid.
//
// * LimitExceededException
// * ErrCodeLimitExceededException "LimitExceededException"
// You have already reached the limit for a requested resource.
//
// * ResourceInUseException
// * ErrCodeResourceInUseException "ResourceInUseException"
// The resource is already in use and not available for this operation.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/CreateDeliveryStream
@ -192,10 +192,10 @@ func (c *Firehose) DeleteDeliveryStreamRequest(input *DeleteDeliveryStreamInput)
// API operation DeleteDeliveryStream for usage and error information.
//
// Returned Error Codes:
// * ResourceInUseException
// * ErrCodeResourceInUseException "ResourceInUseException"
// The resource is already in use and not available for this operation.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The specified resource could not be found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/DeleteDeliveryStream
@ -263,7 +263,7 @@ func (c *Firehose) DescribeDeliveryStreamRequest(input *DescribeDeliveryStreamIn
// API operation DescribeDeliveryStream for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The specified resource could not be found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/DescribeDeliveryStream
@ -428,13 +428,13 @@ func (c *Firehose) PutRecordRequest(input *PutRecordInput) (req *request.Request
// API operation PutRecord for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The specified resource could not be found.
//
// * InvalidArgumentException
// * ErrCodeInvalidArgumentException "InvalidArgumentException"
// The specified input parameter has an value that is not valid.
//
// * ServiceUnavailableException
// * ErrCodeServiceUnavailableException "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,
@ -558,13 +558,13 @@ func (c *Firehose) PutRecordBatchRequest(input *PutRecordBatchInput) (req *reque
// API operation PutRecordBatch for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The specified resource could not be found.
//
// * InvalidArgumentException
// * ErrCodeInvalidArgumentException "InvalidArgumentException"
// The specified input parameter has an value that is not valid.
//
// * ServiceUnavailableException
// * ErrCodeServiceUnavailableException "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,
@ -661,16 +661,16 @@ func (c *Firehose) UpdateDestinationRequest(input *UpdateDestinationInput) (req
// API operation UpdateDestination for usage and error information.
//
// Returned Error Codes:
// * InvalidArgumentException
// * ErrCodeInvalidArgumentException "InvalidArgumentException"
// The specified input parameter has an value that is not valid.
//
// * ResourceInUseException
// * ErrCodeResourceInUseException "ResourceInUseException"
// The resource is already in use and not available for this operation.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The specified resource could not be found.
//
// * ConcurrentModificationException
// * ErrCodeConcurrentModificationException "ConcurrentModificationException"
// Another modification has already happened. Fetch VersionId again and use
// it to update the destination.
//

View File

@ -0,0 +1,46 @@
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
package firehose
const (
// ErrCodeConcurrentModificationException for service response error code
// "ConcurrentModificationException".
//
// Another modification has already happened. Fetch VersionId again and use
// it to update the destination.
ErrCodeConcurrentModificationException = "ConcurrentModificationException"
// ErrCodeInvalidArgumentException for service response error code
// "InvalidArgumentException".
//
// The specified input parameter has an value that is not valid.
ErrCodeInvalidArgumentException = "InvalidArgumentException"
// ErrCodeLimitExceededException for service response error code
// "LimitExceededException".
//
// You have already reached the limit for a requested resource.
ErrCodeLimitExceededException = "LimitExceededException"
// ErrCodeResourceInUseException for service response error code
// "ResourceInUseException".
//
// The resource is already in use and not available for this operation.
ErrCodeResourceInUseException = "ResourceInUseException"
// ErrCodeResourceNotFoundException for service response error code
// "ResourceNotFoundException".
//
// The specified resource could not be found.
ErrCodeResourceNotFoundException = "ResourceNotFoundException"
// ErrCodeServiceUnavailableException for service response error code
// "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 Firehose Limits (http://docs.aws.amazon.com/firehose/latest/dev/limits.html).
ErrCodeServiceUnavailableException = "ServiceUnavailableException"
)

View File

@ -86,17 +86,17 @@ func (c *Glacier) AbortMultipartUploadRequest(input *AbortMultipartUploadInput)
// API operation AbortMultipartUpload for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Returned if the specified resource (such as a vault, upload ID, or job ID)
// doesn't exist.
//
// * InvalidParameterValueException
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
// Returned if a parameter of the request is incorrectly specified.
//
// * MissingParameterValueException
// * ErrCodeMissingParameterValueException "MissingParameterValueException"
// Returned if a required header or parameter is missing from the request.
//
// * ServiceUnavailableException
// * ErrCodeServiceUnavailableException "ServiceUnavailableException"
// Returned if the service cannot complete the request.
//
func (c *Glacier) AbortMultipartUpload(input *AbortMultipartUploadInput) (*AbortMultipartUploadOutput, error) {
@ -175,17 +175,17 @@ func (c *Glacier) AbortVaultLockRequest(input *AbortVaultLockInput) (req *reques
// API operation AbortVaultLock for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Returned if the specified resource (such as a vault, upload ID, or job ID)
// doesn't exist.
//
// * InvalidParameterValueException
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
// Returned if a parameter of the request is incorrectly specified.
//
// * MissingParameterValueException
// * ErrCodeMissingParameterValueException "MissingParameterValueException"
// Returned if a required header or parameter is missing from the request.
//
// * ServiceUnavailableException
// * ErrCodeServiceUnavailableException "ServiceUnavailableException"
// Returned if the service cannot complete the request.
//
func (c *Glacier) AbortVaultLock(input *AbortVaultLockInput) (*AbortVaultLockOutput, error) {
@ -254,20 +254,20 @@ func (c *Glacier) AddTagsToVaultRequest(input *AddTagsToVaultInput) (req *reques
// API operation AddTagsToVault for usage and error information.
//
// Returned Error Codes:
// * InvalidParameterValueException
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
// Returned if a parameter of the request is incorrectly specified.
//
// * MissingParameterValueException
// * ErrCodeMissingParameterValueException "MissingParameterValueException"
// Returned if a required header or parameter is missing from the request.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Returned if the specified resource (such as a vault, upload ID, or job ID)
// doesn't exist.
//
// * LimitExceededException
// * ErrCodeLimitExceededException "LimitExceededException"
// Returned if the request results in a vault or account limit being exceeded.
//
// * ServiceUnavailableException
// * ErrCodeServiceUnavailableException "ServiceUnavailableException"
// Returned if the service cannot complete the request.
//
func (c *Glacier) AddTagsToVault(input *AddTagsToVaultInput) (*AddTagsToVaultOutput, error) {
@ -372,17 +372,17 @@ func (c *Glacier) CompleteMultipartUploadRequest(input *CompleteMultipartUploadI
// API operation CompleteMultipartUpload for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Returned if the specified resource (such as a vault, upload ID, or job ID)
// doesn't exist.
//
// * InvalidParameterValueException
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
// Returned if a parameter of the request is incorrectly specified.
//
// * MissingParameterValueException
// * ErrCodeMissingParameterValueException "MissingParameterValueException"
// Returned if a required header or parameter is missing from the request.
//
// * ServiceUnavailableException
// * ErrCodeServiceUnavailableException "ServiceUnavailableException"
// Returned if the service cannot complete the request.
//
func (c *Glacier) CompleteMultipartUpload(input *CompleteMultipartUploadInput) (*ArchiveCreationOutput, error) {
@ -460,17 +460,17 @@ func (c *Glacier) CompleteVaultLockRequest(input *CompleteVaultLockInput) (req *
// API operation CompleteVaultLock for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Returned if the specified resource (such as a vault, upload ID, or job ID)
// doesn't exist.
//
// * InvalidParameterValueException
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
// Returned if a parameter of the request is incorrectly specified.
//
// * MissingParameterValueException
// * ErrCodeMissingParameterValueException "MissingParameterValueException"
// Returned if a required header or parameter is missing from the request.
//
// * ServiceUnavailableException
// * ErrCodeServiceUnavailableException "ServiceUnavailableException"
// Returned if the service cannot complete the request.
//
func (c *Glacier) CompleteVaultLock(input *CompleteVaultLockInput) (*CompleteVaultLockOutput, error) {
@ -555,16 +555,16 @@ func (c *Glacier) CreateVaultRequest(input *CreateVaultInput) (req *request.Requ
// API operation CreateVault for usage and error information.
//
// Returned Error Codes:
// * InvalidParameterValueException
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
// Returned if a parameter of the request is incorrectly specified.
//
// * MissingParameterValueException
// * ErrCodeMissingParameterValueException "MissingParameterValueException"
// Returned if a required header or parameter is missing from the request.
//
// * ServiceUnavailableException
// * ErrCodeServiceUnavailableException "ServiceUnavailableException"
// Returned if the service cannot complete the request.
//
// * LimitExceededException
// * ErrCodeLimitExceededException "LimitExceededException"
// Returned if the request results in a vault or account limit being exceeded.
//
func (c *Glacier) CreateVault(input *CreateVaultInput) (*CreateVaultOutput, error) {
@ -652,17 +652,17 @@ func (c *Glacier) DeleteArchiveRequest(input *DeleteArchiveInput) (req *request.
// API operation DeleteArchive for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Returned if the specified resource (such as a vault, upload ID, or job ID)
// doesn't exist.
//
// * InvalidParameterValueException
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
// Returned if a parameter of the request is incorrectly specified.
//
// * MissingParameterValueException
// * ErrCodeMissingParameterValueException "MissingParameterValueException"
// Returned if a required header or parameter is missing from the request.
//
// * ServiceUnavailableException
// * ErrCodeServiceUnavailableException "ServiceUnavailableException"
// Returned if the service cannot complete the request.
//
func (c *Glacier) DeleteArchive(input *DeleteArchiveInput) (*DeleteArchiveOutput, error) {
@ -748,17 +748,17 @@ func (c *Glacier) DeleteVaultRequest(input *DeleteVaultInput) (req *request.Requ
// API operation DeleteVault for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Returned if the specified resource (such as a vault, upload ID, or job ID)
// doesn't exist.
//
// * InvalidParameterValueException
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
// Returned if a parameter of the request is incorrectly specified.
//
// * MissingParameterValueException
// * ErrCodeMissingParameterValueException "MissingParameterValueException"
// Returned if a required header or parameter is missing from the request.
//
// * ServiceUnavailableException
// * ErrCodeServiceUnavailableException "ServiceUnavailableException"
// Returned if the service cannot complete the request.
//
func (c *Glacier) DeleteVault(input *DeleteVaultInput) (*DeleteVaultOutput, error) {
@ -831,17 +831,17 @@ func (c *Glacier) DeleteVaultAccessPolicyRequest(input *DeleteVaultAccessPolicyI
// API operation DeleteVaultAccessPolicy for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Returned if the specified resource (such as a vault, upload ID, or job ID)
// doesn't exist.
//
// * InvalidParameterValueException
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
// Returned if a parameter of the request is incorrectly specified.
//
// * MissingParameterValueException
// * ErrCodeMissingParameterValueException "MissingParameterValueException"
// Returned if a required header or parameter is missing from the request.
//
// * ServiceUnavailableException
// * ErrCodeServiceUnavailableException "ServiceUnavailableException"
// Returned if the service cannot complete the request.
//
func (c *Glacier) DeleteVaultAccessPolicy(input *DeleteVaultAccessPolicyInput) (*DeleteVaultAccessPolicyOutput, error) {
@ -919,17 +919,17 @@ func (c *Glacier) DeleteVaultNotificationsRequest(input *DeleteVaultNotification
// API operation DeleteVaultNotifications for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Returned if the specified resource (such as a vault, upload ID, or job ID)
// doesn't exist.
//
// * InvalidParameterValueException
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
// Returned if a parameter of the request is incorrectly specified.
//
// * MissingParameterValueException
// * ErrCodeMissingParameterValueException "MissingParameterValueException"
// Returned if a required header or parameter is missing from the request.
//
// * ServiceUnavailableException
// * ErrCodeServiceUnavailableException "ServiceUnavailableException"
// Returned if the service cannot complete the request.
//
func (c *Glacier) DeleteVaultNotifications(input *DeleteVaultNotificationsInput) (*DeleteVaultNotificationsOutput, error) {
@ -1012,17 +1012,17 @@ func (c *Glacier) DescribeJobRequest(input *DescribeJobInput) (req *request.Requ
// API operation DescribeJob for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Returned if the specified resource (such as a vault, upload ID, or job ID)
// doesn't exist.
//
// * InvalidParameterValueException
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
// Returned if a parameter of the request is incorrectly specified.
//
// * MissingParameterValueException
// * ErrCodeMissingParameterValueException "MissingParameterValueException"
// Returned if a required header or parameter is missing from the request.
//
// * ServiceUnavailableException
// * ErrCodeServiceUnavailableException "ServiceUnavailableException"
// Returned if the service cannot complete the request.
//
func (c *Glacier) DescribeJob(input *DescribeJobInput) (*JobDescription, error) {
@ -1103,17 +1103,17 @@ func (c *Glacier) DescribeVaultRequest(input *DescribeVaultInput) (req *request.
// API operation DescribeVault for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Returned if the specified resource (such as a vault, upload ID, or job ID)
// doesn't exist.
//
// * InvalidParameterValueException
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
// Returned if a parameter of the request is incorrectly specified.
//
// * MissingParameterValueException
// * ErrCodeMissingParameterValueException "MissingParameterValueException"
// Returned if a required header or parameter is missing from the request.
//
// * ServiceUnavailableException
// * ErrCodeServiceUnavailableException "ServiceUnavailableException"
// Returned if the service cannot complete the request.
//
func (c *Glacier) DescribeVault(input *DescribeVaultInput) (*DescribeVaultOutput, error) {
@ -1177,13 +1177,13 @@ func (c *Glacier) GetDataRetrievalPolicyRequest(input *GetDataRetrievalPolicyInp
// API operation GetDataRetrievalPolicy for usage and error information.
//
// Returned Error Codes:
// * InvalidParameterValueException
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
// Returned if a parameter of the request is incorrectly specified.
//
// * MissingParameterValueException
// * ErrCodeMissingParameterValueException "MissingParameterValueException"
// Returned if a required header or parameter is missing from the request.
//
// * ServiceUnavailableException
// * ErrCodeServiceUnavailableException "ServiceUnavailableException"
// Returned if the service cannot complete the request.
//
func (c *Glacier) GetDataRetrievalPolicy(input *GetDataRetrievalPolicyInput) (*GetDataRetrievalPolicyOutput, error) {
@ -1288,17 +1288,17 @@ func (c *Glacier) GetJobOutputRequest(input *GetJobOutputInput) (req *request.Re
// API operation GetJobOutput for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Returned if the specified resource (such as a vault, upload ID, or job ID)
// doesn't exist.
//
// * InvalidParameterValueException
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
// Returned if a parameter of the request is incorrectly specified.
//
// * MissingParameterValueException
// * ErrCodeMissingParameterValueException "MissingParameterValueException"
// Returned if a required header or parameter is missing from the request.
//
// * ServiceUnavailableException
// * ErrCodeServiceUnavailableException "ServiceUnavailableException"
// Returned if the service cannot complete the request.
//
func (c *Glacier) GetJobOutput(input *GetJobOutputInput) (*GetJobOutputOutput, error) {
@ -1365,17 +1365,17 @@ func (c *Glacier) GetVaultAccessPolicyRequest(input *GetVaultAccessPolicyInput)
// API operation GetVaultAccessPolicy for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Returned if the specified resource (such as a vault, upload ID, or job ID)
// doesn't exist.
//
// * InvalidParameterValueException
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
// Returned if a parameter of the request is incorrectly specified.
//
// * MissingParameterValueException
// * ErrCodeMissingParameterValueException "MissingParameterValueException"
// Returned if a required header or parameter is missing from the request.
//
// * ServiceUnavailableException
// * ErrCodeServiceUnavailableException "ServiceUnavailableException"
// Returned if the service cannot complete the request.
//
func (c *Glacier) GetVaultAccessPolicy(input *GetVaultAccessPolicyInput) (*GetVaultAccessPolicyOutput, error) {
@ -1456,17 +1456,17 @@ func (c *Glacier) GetVaultLockRequest(input *GetVaultLockInput) (req *request.Re
// API operation GetVaultLock for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Returned if the specified resource (such as a vault, upload ID, or job ID)
// doesn't exist.
//
// * InvalidParameterValueException
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
// Returned if a parameter of the request is incorrectly specified.
//
// * MissingParameterValueException
// * ErrCodeMissingParameterValueException "MissingParameterValueException"
// Returned if a required header or parameter is missing from the request.
//
// * ServiceUnavailableException
// * ErrCodeServiceUnavailableException "ServiceUnavailableException"
// Returned if the service cannot complete the request.
//
func (c *Glacier) GetVaultLock(input *GetVaultLockInput) (*GetVaultLockOutput, error) {
@ -1546,17 +1546,17 @@ func (c *Glacier) GetVaultNotificationsRequest(input *GetVaultNotificationsInput
// API operation GetVaultNotifications for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Returned if the specified resource (such as a vault, upload ID, or job ID)
// doesn't exist.
//
// * InvalidParameterValueException
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
// Returned if a parameter of the request is incorrectly specified.
//
// * MissingParameterValueException
// * ErrCodeMissingParameterValueException "MissingParameterValueException"
// Returned if a required header or parameter is missing from the request.
//
// * ServiceUnavailableException
// * ErrCodeServiceUnavailableException "ServiceUnavailableException"
// Returned if the service cannot complete the request.
//
func (c *Glacier) GetVaultNotifications(input *GetVaultNotificationsInput) (*GetVaultNotificationsOutput, error) {
@ -1753,26 +1753,26 @@ func (c *Glacier) InitiateJobRequest(input *InitiateJobInput) (req *request.Requ
// API operation InitiateJob for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Returned if the specified resource (such as a vault, upload ID, or job ID)
// doesn't exist.
//
// * PolicyEnforcedException
// * ErrCodePolicyEnforcedException "PolicyEnforcedException"
// Returned if a retrieval job would exceed the current data policy's retrieval
// rate limit. For more information about data retrieval policies,
//
// * InvalidParameterValueException
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
// Returned if a parameter of the request is incorrectly specified.
//
// * MissingParameterValueException
// * ErrCodeMissingParameterValueException "MissingParameterValueException"
// Returned if a required header or parameter is missing from the request.
//
// * InsufficientCapacityException
// * ErrCodeInsufficientCapacityException "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
// * ErrCodeServiceUnavailableException "ServiceUnavailableException"
// Returned if the service cannot complete the request.
//
func (c *Glacier) InitiateJob(input *InitiateJobInput) (*InitiateJobOutput, error) {
@ -1868,17 +1868,17 @@ func (c *Glacier) InitiateMultipartUploadRequest(input *InitiateMultipartUploadI
// API operation InitiateMultipartUpload for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Returned if the specified resource (such as a vault, upload ID, or job ID)
// doesn't exist.
//
// * InvalidParameterValueException
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
// Returned if a parameter of the request is incorrectly specified.
//
// * MissingParameterValueException
// * ErrCodeMissingParameterValueException "MissingParameterValueException"
// Returned if a required header or parameter is missing from the request.
//
// * ServiceUnavailableException
// * ErrCodeServiceUnavailableException "ServiceUnavailableException"
// Returned if the service cannot complete the request.
//
func (c *Glacier) InitiateMultipartUpload(input *InitiateMultipartUploadInput) (*InitiateMultipartUploadOutput, error) {
@ -1968,17 +1968,17 @@ func (c *Glacier) InitiateVaultLockRequest(input *InitiateVaultLockInput) (req *
// API operation InitiateVaultLock for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Returned if the specified resource (such as a vault, upload ID, or job ID)
// doesn't exist.
//
// * InvalidParameterValueException
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
// Returned if a parameter of the request is incorrectly specified.
//
// * MissingParameterValueException
// * ErrCodeMissingParameterValueException "MissingParameterValueException"
// Returned if a required header or parameter is missing from the request.
//
// * ServiceUnavailableException
// * ErrCodeServiceUnavailableException "ServiceUnavailableException"
// Returned if the service cannot complete the request.
//
func (c *Glacier) InitiateVaultLock(input *InitiateVaultLockInput) (*InitiateVaultLockOutput, error) {
@ -2085,17 +2085,17 @@ func (c *Glacier) ListJobsRequest(input *ListJobsInput) (req *request.Request, o
// API operation ListJobs for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Returned if the specified resource (such as a vault, upload ID, or job ID)
// doesn't exist.
//
// * InvalidParameterValueException
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
// Returned if a parameter of the request is incorrectly specified.
//
// * MissingParameterValueException
// * ErrCodeMissingParameterValueException "MissingParameterValueException"
// Returned if a required header or parameter is missing from the request.
//
// * ServiceUnavailableException
// * ErrCodeServiceUnavailableException "ServiceUnavailableException"
// Returned if the service cannot complete the request.
//
func (c *Glacier) ListJobs(input *ListJobsInput) (*ListJobsOutput, error) {
@ -2217,17 +2217,17 @@ func (c *Glacier) ListMultipartUploadsRequest(input *ListMultipartUploadsInput)
// API operation ListMultipartUploads for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Returned if the specified resource (such as a vault, upload ID, or job ID)
// doesn't exist.
//
// * InvalidParameterValueException
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
// Returned if a parameter of the request is incorrectly specified.
//
// * MissingParameterValueException
// * ErrCodeMissingParameterValueException "MissingParameterValueException"
// Returned if a required header or parameter is missing from the request.
//
// * ServiceUnavailableException
// * ErrCodeServiceUnavailableException "ServiceUnavailableException"
// Returned if the service cannot complete the request.
//
func (c *Glacier) ListMultipartUploads(input *ListMultipartUploadsInput) (*ListMultipartUploadsOutput, error) {
@ -2343,17 +2343,17 @@ func (c *Glacier) ListPartsRequest(input *ListPartsInput) (req *request.Request,
// API operation ListParts for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Returned if the specified resource (such as a vault, upload ID, or job ID)
// doesn't exist.
//
// * InvalidParameterValueException
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
// Returned if a parameter of the request is incorrectly specified.
//
// * MissingParameterValueException
// * ErrCodeMissingParameterValueException "MissingParameterValueException"
// Returned if a required header or parameter is missing from the request.
//
// * ServiceUnavailableException
// * ErrCodeServiceUnavailableException "ServiceUnavailableException"
// Returned if the service cannot complete the request.
//
func (c *Glacier) ListParts(input *ListPartsInput) (*ListPartsOutput, error) {
@ -2440,13 +2440,13 @@ func (c *Glacier) ListProvisionedCapacityRequest(input *ListProvisionedCapacityI
// API operation ListProvisionedCapacity for usage and error information.
//
// Returned Error Codes:
// * InvalidParameterValueException
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
// Returned if a parameter of the request is incorrectly specified.
//
// * MissingParameterValueException
// * ErrCodeMissingParameterValueException "MissingParameterValueException"
// Returned if a required header or parameter is missing from the request.
//
// * ServiceUnavailableException
// * ErrCodeServiceUnavailableException "ServiceUnavailableException"
// Returned if the service cannot complete the request.
//
func (c *Glacier) ListProvisionedCapacity(input *ListProvisionedCapacityInput) (*ListProvisionedCapacityOutput, error) {
@ -2510,17 +2510,17 @@ func (c *Glacier) ListTagsForVaultRequest(input *ListTagsForVaultInput) (req *re
// API operation ListTagsForVault for usage and error information.
//
// Returned Error Codes:
// * InvalidParameterValueException
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
// Returned if a parameter of the request is incorrectly specified.
//
// * MissingParameterValueException
// * ErrCodeMissingParameterValueException "MissingParameterValueException"
// Returned if a required header or parameter is missing from the request.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Returned if the specified resource (such as a vault, upload ID, or job ID)
// doesn't exist.
//
// * ServiceUnavailableException
// * ErrCodeServiceUnavailableException "ServiceUnavailableException"
// Returned if the service cannot complete the request.
//
func (c *Glacier) ListTagsForVault(input *ListTagsForVaultInput) (*ListTagsForVaultOutput, error) {
@ -2608,17 +2608,17 @@ func (c *Glacier) ListVaultsRequest(input *ListVaultsInput) (req *request.Reques
// API operation ListVaults for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Returned if the specified resource (such as a vault, upload ID, or job ID)
// doesn't exist.
//
// * InvalidParameterValueException
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
// Returned if a parameter of the request is incorrectly specified.
//
// * MissingParameterValueException
// * ErrCodeMissingParameterValueException "MissingParameterValueException"
// Returned if a required header or parameter is missing from the request.
//
// * ServiceUnavailableException
// * ErrCodeServiceUnavailableException "ServiceUnavailableException"
// Returned if the service cannot complete the request.
//
func (c *Glacier) ListVaults(input *ListVaultsInput) (*ListVaultsOutput, error) {
@ -2705,16 +2705,16 @@ func (c *Glacier) PurchaseProvisionedCapacityRequest(input *PurchaseProvisionedC
// API operation PurchaseProvisionedCapacity for usage and error information.
//
// Returned Error Codes:
// * InvalidParameterValueException
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
// Returned if a parameter of the request is incorrectly specified.
//
// * MissingParameterValueException
// * ErrCodeMissingParameterValueException "MissingParameterValueException"
// Returned if a required header or parameter is missing from the request.
//
// * LimitExceededException
// * ErrCodeLimitExceededException "LimitExceededException"
// Returned if the request results in a vault or account limit being exceeded.
//
// * ServiceUnavailableException
// * ErrCodeServiceUnavailableException "ServiceUnavailableException"
// Returned if the service cannot complete the request.
//
func (c *Glacier) PurchaseProvisionedCapacity(input *PurchaseProvisionedCapacityInput) (*PurchaseProvisionedCapacityOutput, error) {
@ -2782,17 +2782,17 @@ func (c *Glacier) RemoveTagsFromVaultRequest(input *RemoveTagsFromVaultInput) (r
// API operation RemoveTagsFromVault for usage and error information.
//
// Returned Error Codes:
// * InvalidParameterValueException
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
// Returned if a parameter of the request is incorrectly specified.
//
// * MissingParameterValueException
// * ErrCodeMissingParameterValueException "MissingParameterValueException"
// Returned if a required header or parameter is missing from the request.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Returned if the specified resource (such as a vault, upload ID, or job ID)
// doesn't exist.
//
// * ServiceUnavailableException
// * ErrCodeServiceUnavailableException "ServiceUnavailableException"
// Returned if the service cannot complete the request.
//
func (c *Glacier) RemoveTagsFromVault(input *RemoveTagsFromVaultInput) (*RemoveTagsFromVaultOutput, error) {
@ -2862,13 +2862,13 @@ func (c *Glacier) SetDataRetrievalPolicyRequest(input *SetDataRetrievalPolicyInp
// API operation SetDataRetrievalPolicy for usage and error information.
//
// Returned Error Codes:
// * InvalidParameterValueException
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
// Returned if a parameter of the request is incorrectly specified.
//
// * MissingParameterValueException
// * ErrCodeMissingParameterValueException "MissingParameterValueException"
// Returned if a required header or parameter is missing from the request.
//
// * ServiceUnavailableException
// * ErrCodeServiceUnavailableException "ServiceUnavailableException"
// Returned if the service cannot complete the request.
//
func (c *Glacier) SetDataRetrievalPolicy(input *SetDataRetrievalPolicyInput) (*SetDataRetrievalPolicyOutput, error) {
@ -2938,17 +2938,17 @@ func (c *Glacier) SetVaultAccessPolicyRequest(input *SetVaultAccessPolicyInput)
// API operation SetVaultAccessPolicy for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Returned if the specified resource (such as a vault, upload ID, or job ID)
// doesn't exist.
//
// * InvalidParameterValueException
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
// Returned if a parameter of the request is incorrectly specified.
//
// * MissingParameterValueException
// * ErrCodeMissingParameterValueException "MissingParameterValueException"
// Returned if a required header or parameter is missing from the request.
//
// * ServiceUnavailableException
// * ErrCodeServiceUnavailableException "ServiceUnavailableException"
// Returned if the service cannot complete the request.
//
func (c *Glacier) SetVaultAccessPolicy(input *SetVaultAccessPolicyInput) (*SetVaultAccessPolicyOutput, error) {
@ -3043,17 +3043,17 @@ func (c *Glacier) SetVaultNotificationsRequest(input *SetVaultNotificationsInput
// API operation SetVaultNotifications for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Returned if the specified resource (such as a vault, upload ID, or job ID)
// doesn't exist.
//
// * InvalidParameterValueException
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
// Returned if a parameter of the request is incorrectly specified.
//
// * MissingParameterValueException
// * ErrCodeMissingParameterValueException "MissingParameterValueException"
// Returned if a required header or parameter is missing from the request.
//
// * ServiceUnavailableException
// * ErrCodeServiceUnavailableException "ServiceUnavailableException"
// Returned if the service cannot complete the request.
//
func (c *Glacier) SetVaultNotifications(input *SetVaultNotificationsInput) (*SetVaultNotificationsOutput, error) {
@ -3150,21 +3150,21 @@ func (c *Glacier) UploadArchiveRequest(input *UploadArchiveInput) (req *request.
// API operation UploadArchive for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Returned if the specified resource (such as a vault, upload ID, or job ID)
// doesn't exist.
//
// * InvalidParameterValueException
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
// Returned if a parameter of the request is incorrectly specified.
//
// * MissingParameterValueException
// * ErrCodeMissingParameterValueException "MissingParameterValueException"
// Returned if a required header or parameter is missing from the request.
//
// * RequestTimeoutException
// * ErrCodeRequestTimeoutException "RequestTimeoutException"
// Returned if, when uploading an archive, Amazon Glacier times out while receiving
// the upload.
//
// * ServiceUnavailableException
// * ErrCodeServiceUnavailableException "ServiceUnavailableException"
// Returned if the service cannot complete the request.
//
func (c *Glacier) UploadArchive(input *UploadArchiveInput) (*ArchiveCreationOutput, error) {
@ -3271,21 +3271,21 @@ func (c *Glacier) UploadMultipartPartRequest(input *UploadMultipartPartInput) (r
// API operation UploadMultipartPart for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Returned if the specified resource (such as a vault, upload ID, or job ID)
// doesn't exist.
//
// * InvalidParameterValueException
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
// Returned if a parameter of the request is incorrectly specified.
//
// * MissingParameterValueException
// * ErrCodeMissingParameterValueException "MissingParameterValueException"
// Returned if a required header or parameter is missing from the request.
//
// * RequestTimeoutException
// * ErrCodeRequestTimeoutException "RequestTimeoutException"
// Returned if, when uploading an archive, Amazon Glacier times out while receiving
// the upload.
//
// * ServiceUnavailableException
// * ErrCodeServiceUnavailableException "ServiceUnavailableException"
// Returned if the service cannot complete the request.
//
func (c *Glacier) UploadMultipartPart(input *UploadMultipartPartInput) (*UploadMultipartPartOutput, error) {

View File

@ -0,0 +1,59 @@
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
package glacier
const (
// ErrCodeInsufficientCapacityException for service response error code
// "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.
ErrCodeInsufficientCapacityException = "InsufficientCapacityException"
// ErrCodeInvalidParameterValueException for service response error code
// "InvalidParameterValueException".
//
// Returned if a parameter of the request is incorrectly specified.
ErrCodeInvalidParameterValueException = "InvalidParameterValueException"
// ErrCodeLimitExceededException for service response error code
// "LimitExceededException".
//
// Returned if the request results in a vault or account limit being exceeded.
ErrCodeLimitExceededException = "LimitExceededException"
// ErrCodeMissingParameterValueException for service response error code
// "MissingParameterValueException".
//
// Returned if a required header or parameter is missing from the request.
ErrCodeMissingParameterValueException = "MissingParameterValueException"
// ErrCodePolicyEnforcedException for service response error code
// "PolicyEnforcedException".
//
// Returned if a retrieval job would exceed the current data policy's retrieval
// rate limit. For more information about data retrieval policies,
ErrCodePolicyEnforcedException = "PolicyEnforcedException"
// ErrCodeRequestTimeoutException for service response error code
// "RequestTimeoutException".
//
// Returned if, when uploading an archive, Amazon Glacier times out while receiving
// the upload.
ErrCodeRequestTimeoutException = "RequestTimeoutException"
// ErrCodeResourceNotFoundException for service response error code
// "ResourceNotFoundException".
//
// Returned if the specified resource (such as a vault, upload ID, or job ID)
// doesn't exist.
ErrCodeResourceNotFoundException = "ResourceNotFoundException"
// ErrCodeServiceUnavailableException for service response error code
// "ServiceUnavailableException".
//
// Returned if the service cannot complete the request.
ErrCodeServiceUnavailableException = "ServiceUnavailableException"
)

File diff suppressed because it is too large Load Diff

169
vendor/github.com/aws/aws-sdk-go/service/iam/errors.go generated vendored Normal file
View File

@ -0,0 +1,169 @@
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
package iam
const (
// ErrCodeCredentialReportExpiredException for service response error code
// "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
// (http://docs.aws.amazon.com/IAM/latest/UserGuide/credential-reports.html)
// in the IAM User Guide.
ErrCodeCredentialReportExpiredException = "ReportExpired"
// ErrCodeCredentialReportNotPresentException for service response error code
// "ReportNotPresent".
//
// The request was rejected because the credential report does not exist. To
// generate a credential report, use GenerateCredentialReport.
ErrCodeCredentialReportNotPresentException = "ReportNotPresent"
// ErrCodeCredentialReportNotReadyException for service response error code
// "ReportInProgress".
//
// The request was rejected because the credential report is still being generated.
ErrCodeCredentialReportNotReadyException = "ReportInProgress"
// ErrCodeDeleteConflictException for service response error code
// "DeleteConflict".
//
// The request was rejected because it attempted to delete a resource that has
// attached subordinate entities. The error message describes these entities.
ErrCodeDeleteConflictException = "DeleteConflict"
// ErrCodeDuplicateCertificateException for service response error code
// "DuplicateCertificate".
//
// The request was rejected because the same certificate is associated with
// an IAM user in the account.
ErrCodeDuplicateCertificateException = "DuplicateCertificate"
// ErrCodeDuplicateSSHPublicKeyException for service response error code
// "DuplicateSSHPublicKey".
//
// The request was rejected because the SSH public key is already associated
// with the specified IAM user.
ErrCodeDuplicateSSHPublicKeyException = "DuplicateSSHPublicKey"
// ErrCodeEntityAlreadyExistsException for service response error code
// "EntityAlreadyExists".
//
// The request was rejected because it attempted to create a resource that already
// exists.
ErrCodeEntityAlreadyExistsException = "EntityAlreadyExists"
// ErrCodeEntityTemporarilyUnmodifiableException for service response error code
// "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"
// ErrCodeInvalidAuthenticationCodeException for service response error code
// "InvalidAuthenticationCode".
//
// The request was rejected because the authentication code was not recognized.
// The error message describes the specific error.
ErrCodeInvalidAuthenticationCodeException = "InvalidAuthenticationCode"
// ErrCodeInvalidCertificateException for service response error code
// "InvalidCertificate".
//
// The request was rejected because the certificate is invalid.
ErrCodeInvalidCertificateException = "InvalidCertificate"
// ErrCodeInvalidInputException for service response error code
// "InvalidInput".
//
// The request was rejected because an invalid or out-of-range value was supplied
// for an input parameter.
ErrCodeInvalidInputException = "InvalidInput"
// ErrCodeInvalidPublicKeyException for service response error code
// "InvalidPublicKey".
//
// The request was rejected because the public key is malformed or otherwise
// invalid.
ErrCodeInvalidPublicKeyException = "InvalidPublicKey"
// ErrCodeInvalidUserTypeException for service response error code
// "InvalidUserType".
//
// The request was rejected because the type of user for the transaction was
// incorrect.
ErrCodeInvalidUserTypeException = "InvalidUserType"
// ErrCodeKeyPairMismatchException for service response error code
// "KeyPairMismatch".
//
// The request was rejected because the public key certificate and the private
// key do not match.
ErrCodeKeyPairMismatchException = "KeyPairMismatch"
// ErrCodeLimitExceededException for service response error code
// "LimitExceeded".
//
// The request was rejected because it attempted to create resources beyond
// the current AWS account limits. The error message describes the limit exceeded.
ErrCodeLimitExceededException = "LimitExceeded"
// ErrCodeMalformedCertificateException for service response error code
// "MalformedCertificate".
//
// The request was rejected because the certificate was malformed or expired.
// The error message describes the specific error.
ErrCodeMalformedCertificateException = "MalformedCertificate"
// ErrCodeMalformedPolicyDocumentException for service response error code
// "MalformedPolicyDocument".
//
// The request was rejected because the policy document was malformed. The error
// message describes the specific error.
ErrCodeMalformedPolicyDocumentException = "MalformedPolicyDocument"
// ErrCodeNoSuchEntityException for service response error code
// "NoSuchEntity".
//
// The request was rejected because it referenced an entity that does not exist.
// The error message describes the entity.
ErrCodeNoSuchEntityException = "NoSuchEntity"
// ErrCodePasswordPolicyViolationException for service response error code
// "PasswordPolicyViolation".
//
// The request was rejected because the provided password did not meet the requirements
// imposed by the account password policy.
ErrCodePasswordPolicyViolationException = "PasswordPolicyViolation"
// ErrCodePolicyEvaluationException for service response error code
// "PolicyEvaluation".
//
// The request failed because a provided policy could not be successfully evaluated.
// An additional detail message indicates the source of the failure.
ErrCodePolicyEvaluationException = "PolicyEvaluation"
// ErrCodeServiceFailureException for service response error code
// "ServiceFailure".
//
// The request processing has failed because of an unknown error, exception
// or failure.
ErrCodeServiceFailureException = "ServiceFailure"
// ErrCodeServiceNotSupportedException for service response error code
// "NotSupportedService".
//
// The specified service does not support service-specific credentials.
ErrCodeServiceNotSupportedException = "NotSupportedService"
// ErrCodeUnrecognizedPublicKeyEncodingException for service response error code
// "UnrecognizedPublicKeyEncoding".
//
// The request was rejected because the public key encoding format is unsupported
// or unrecognized.
ErrCodeUnrecognizedPublicKeyEncodingException = "UnrecognizedPublicKeyEncoding"
)

View File

@ -69,17 +69,17 @@ func (c *Inspector) AddAttributesToFindingsRequest(input *AddAttributesToFinding
// API operation AddAttributesToFindings for usage and error information.
//
// Returned Error Codes:
// * InternalException
// * ErrCodeInternalException "InternalException"
// Internal server error.
//
// * InvalidInputException
// * ErrCodeInvalidInputException "InvalidInputException"
// The request was rejected because an invalid or out-of-range value was supplied
// for an input parameter.
//
// * AccessDeniedException
// * ErrCodeAccessDeniedException "AccessDeniedException"
// You do not have required permissions to access the requested resource.
//
// * NoSuchEntityException
// * ErrCodeNoSuchEntityException "NoSuchEntityException"
// The request was rejected because it referenced an entity that does not exist.
// The error code describes the entity.
//
@ -148,21 +148,21 @@ func (c *Inspector) CreateAssessmentTargetRequest(input *CreateAssessmentTargetI
// API operation CreateAssessmentTarget for usage and error information.
//
// Returned Error Codes:
// * InternalException
// * ErrCodeInternalException "InternalException"
// Internal server error.
//
// * InvalidInputException
// * ErrCodeInvalidInputException "InvalidInputException"
// The request was rejected because an invalid or out-of-range value was supplied
// for an input parameter.
//
// * LimitExceededException
// * ErrCodeLimitExceededException "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
// * ErrCodeAccessDeniedException "AccessDeniedException"
// You do not have required permissions to access the requested resource.
//
// * NoSuchEntityException
// * ErrCodeNoSuchEntityException "NoSuchEntityException"
// The request was rejected because it referenced an entity that does not exist.
// The error code describes the entity.
//
@ -229,21 +229,21 @@ func (c *Inspector) CreateAssessmentTemplateRequest(input *CreateAssessmentTempl
// API operation CreateAssessmentTemplate for usage and error information.
//
// Returned Error Codes:
// * InternalException
// * ErrCodeInternalException "InternalException"
// Internal server error.
//
// * InvalidInputException
// * ErrCodeInvalidInputException "InvalidInputException"
// The request was rejected because an invalid or out-of-range value was supplied
// for an input parameter.
//
// * LimitExceededException
// * ErrCodeLimitExceededException "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
// * ErrCodeAccessDeniedException "AccessDeniedException"
// You do not have required permissions to access the requested resource.
//
// * NoSuchEntityException
// * ErrCodeNoSuchEntityException "NoSuchEntityException"
// The request was rejected because it referenced an entity that does not exist.
// The error code describes the entity.
//
@ -312,18 +312,18 @@ func (c *Inspector) CreateResourceGroupRequest(input *CreateResourceGroupInput)
// API operation CreateResourceGroup for usage and error information.
//
// Returned Error Codes:
// * InternalException
// * ErrCodeInternalException "InternalException"
// Internal server error.
//
// * InvalidInputException
// * ErrCodeInvalidInputException "InvalidInputException"
// The request was rejected because an invalid or out-of-range value was supplied
// for an input parameter.
//
// * LimitExceededException
// * ErrCodeLimitExceededException "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
// * ErrCodeAccessDeniedException "AccessDeniedException"
// You do not have required permissions to access the requested resource.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/CreateResourceGroup
@ -391,21 +391,21 @@ func (c *Inspector) DeleteAssessmentRunRequest(input *DeleteAssessmentRunInput)
// API operation DeleteAssessmentRun for usage and error information.
//
// Returned Error Codes:
// * InternalException
// * ErrCodeInternalException "InternalException"
// Internal server error.
//
// * InvalidInputException
// * ErrCodeInvalidInputException "InvalidInputException"
// The request was rejected because an invalid or out-of-range value was supplied
// for an input parameter.
//
// * AssessmentRunInProgressException
// * ErrCodeAssessmentRunInProgressException "AssessmentRunInProgressException"
// You cannot perform a specified action if an assessment run is currently in
// progress.
//
// * AccessDeniedException
// * ErrCodeAccessDeniedException "AccessDeniedException"
// You do not have required permissions to access the requested resource.
//
// * NoSuchEntityException
// * ErrCodeNoSuchEntityException "NoSuchEntityException"
// The request was rejected because it referenced an entity that does not exist.
// The error code describes the entity.
//
@ -474,21 +474,21 @@ func (c *Inspector) DeleteAssessmentTargetRequest(input *DeleteAssessmentTargetI
// API operation DeleteAssessmentTarget for usage and error information.
//
// Returned Error Codes:
// * InternalException
// * ErrCodeInternalException "InternalException"
// Internal server error.
//
// * InvalidInputException
// * ErrCodeInvalidInputException "InvalidInputException"
// The request was rejected because an invalid or out-of-range value was supplied
// for an input parameter.
//
// * AssessmentRunInProgressException
// * ErrCodeAssessmentRunInProgressException "AssessmentRunInProgressException"
// You cannot perform a specified action if an assessment run is currently in
// progress.
//
// * AccessDeniedException
// * ErrCodeAccessDeniedException "AccessDeniedException"
// You do not have required permissions to access the requested resource.
//
// * NoSuchEntityException
// * ErrCodeNoSuchEntityException "NoSuchEntityException"
// The request was rejected because it referenced an entity that does not exist.
// The error code describes the entity.
//
@ -557,21 +557,21 @@ func (c *Inspector) DeleteAssessmentTemplateRequest(input *DeleteAssessmentTempl
// API operation DeleteAssessmentTemplate for usage and error information.
//
// Returned Error Codes:
// * InternalException
// * ErrCodeInternalException "InternalException"
// Internal server error.
//
// * InvalidInputException
// * ErrCodeInvalidInputException "InvalidInputException"
// The request was rejected because an invalid or out-of-range value was supplied
// for an input parameter.
//
// * AssessmentRunInProgressException
// * ErrCodeAssessmentRunInProgressException "AssessmentRunInProgressException"
// You cannot perform a specified action if an assessment run is currently in
// progress.
//
// * AccessDeniedException
// * ErrCodeAccessDeniedException "AccessDeniedException"
// You do not have required permissions to access the requested resource.
//
// * NoSuchEntityException
// * ErrCodeNoSuchEntityException "NoSuchEntityException"
// The request was rejected because it referenced an entity that does not exist.
// The error code describes the entity.
//
@ -638,10 +638,10 @@ func (c *Inspector) DescribeAssessmentRunsRequest(input *DescribeAssessmentRunsI
// API operation DescribeAssessmentRuns for usage and error information.
//
// Returned Error Codes:
// * InternalException
// * ErrCodeInternalException "InternalException"
// Internal server error.
//
// * InvalidInputException
// * ErrCodeInvalidInputException "InvalidInputException"
// The request was rejected because an invalid or out-of-range value was supplied
// for an input parameter.
//
@ -708,10 +708,10 @@ func (c *Inspector) DescribeAssessmentTargetsRequest(input *DescribeAssessmentTa
// API operation DescribeAssessmentTargets for usage and error information.
//
// Returned Error Codes:
// * InternalException
// * ErrCodeInternalException "InternalException"
// Internal server error.
//
// * InvalidInputException
// * ErrCodeInvalidInputException "InvalidInputException"
// The request was rejected because an invalid or out-of-range value was supplied
// for an input parameter.
//
@ -778,10 +778,10 @@ func (c *Inspector) DescribeAssessmentTemplatesRequest(input *DescribeAssessment
// API operation DescribeAssessmentTemplates for usage and error information.
//
// Returned Error Codes:
// * InternalException
// * ErrCodeInternalException "InternalException"
// Internal server error.
//
// * InvalidInputException
// * ErrCodeInvalidInputException "InvalidInputException"
// The request was rejected because an invalid or out-of-range value was supplied
// for an input parameter.
//
@ -847,7 +847,7 @@ func (c *Inspector) DescribeCrossAccountAccessRoleRequest(input *DescribeCrossAc
// API operation DescribeCrossAccountAccessRole for usage and error information.
//
// Returned Error Codes:
// * InternalException
// * ErrCodeInternalException "InternalException"
// Internal server error.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeCrossAccountAccessRole
@ -912,10 +912,10 @@ func (c *Inspector) DescribeFindingsRequest(input *DescribeFindingsInput) (req *
// API operation DescribeFindings for usage and error information.
//
// Returned Error Codes:
// * InternalException
// * ErrCodeInternalException "InternalException"
// Internal server error.
//
// * InvalidInputException
// * ErrCodeInvalidInputException "InvalidInputException"
// The request was rejected because an invalid or out-of-range value was supplied
// for an input parameter.
//
@ -982,10 +982,10 @@ func (c *Inspector) DescribeResourceGroupsRequest(input *DescribeResourceGroupsI
// API operation DescribeResourceGroups for usage and error information.
//
// Returned Error Codes:
// * InternalException
// * ErrCodeInternalException "InternalException"
// Internal server error.
//
// * InvalidInputException
// * ErrCodeInvalidInputException "InvalidInputException"
// The request was rejected because an invalid or out-of-range value was supplied
// for an input parameter.
//
@ -1052,10 +1052,10 @@ func (c *Inspector) DescribeRulesPackagesRequest(input *DescribeRulesPackagesInp
// API operation DescribeRulesPackages for usage and error information.
//
// Returned Error Codes:
// * InternalException
// * ErrCodeInternalException "InternalException"
// Internal server error.
//
// * InvalidInputException
// * ErrCodeInvalidInputException "InvalidInputException"
// The request was rejected because an invalid or out-of-range value was supplied
// for an input parameter.
//
@ -1122,17 +1122,17 @@ func (c *Inspector) GetTelemetryMetadataRequest(input *GetTelemetryMetadataInput
// API operation GetTelemetryMetadata for usage and error information.
//
// Returned Error Codes:
// * InternalException
// * ErrCodeInternalException "InternalException"
// Internal server error.
//
// * InvalidInputException
// * ErrCodeInvalidInputException "InvalidInputException"
// The request was rejected because an invalid or out-of-range value was supplied
// for an input parameter.
//
// * AccessDeniedException
// * ErrCodeAccessDeniedException "AccessDeniedException"
// You do not have required permissions to access the requested resource.
//
// * NoSuchEntityException
// * ErrCodeNoSuchEntityException "NoSuchEntityException"
// The request was rejected because it referenced an entity that does not exist.
// The error code describes the entity.
//
@ -1199,17 +1199,17 @@ func (c *Inspector) ListAssessmentRunAgentsRequest(input *ListAssessmentRunAgent
// API operation ListAssessmentRunAgents for usage and error information.
//
// Returned Error Codes:
// * InternalException
// * ErrCodeInternalException "InternalException"
// Internal server error.
//
// * InvalidInputException
// * ErrCodeInvalidInputException "InvalidInputException"
// The request was rejected because an invalid or out-of-range value was supplied
// for an input parameter.
//
// * AccessDeniedException
// * ErrCodeAccessDeniedException "AccessDeniedException"
// You do not have required permissions to access the requested resource.
//
// * NoSuchEntityException
// * ErrCodeNoSuchEntityException "NoSuchEntityException"
// The request was rejected because it referenced an entity that does not exist.
// The error code describes the entity.
//
@ -1276,17 +1276,17 @@ func (c *Inspector) ListAssessmentRunsRequest(input *ListAssessmentRunsInput) (r
// API operation ListAssessmentRuns for usage and error information.
//
// Returned Error Codes:
// * InternalException
// * ErrCodeInternalException "InternalException"
// Internal server error.
//
// * InvalidInputException
// * ErrCodeInvalidInputException "InvalidInputException"
// The request was rejected because an invalid or out-of-range value was supplied
// for an input parameter.
//
// * AccessDeniedException
// * ErrCodeAccessDeniedException "AccessDeniedException"
// You do not have required permissions to access the requested resource.
//
// * NoSuchEntityException
// * ErrCodeNoSuchEntityException "NoSuchEntityException"
// The request was rejected because it referenced an entity that does not exist.
// The error code describes the entity.
//
@ -1354,14 +1354,14 @@ func (c *Inspector) ListAssessmentTargetsRequest(input *ListAssessmentTargetsInp
// API operation ListAssessmentTargets for usage and error information.
//
// Returned Error Codes:
// * InternalException
// * ErrCodeInternalException "InternalException"
// Internal server error.
//
// * InvalidInputException
// * ErrCodeInvalidInputException "InvalidInputException"
// The request was rejected because an invalid or out-of-range value was supplied
// for an input parameter.
//
// * AccessDeniedException
// * ErrCodeAccessDeniedException "AccessDeniedException"
// You do not have required permissions to access the requested resource.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListAssessmentTargets
@ -1427,17 +1427,17 @@ func (c *Inspector) ListAssessmentTemplatesRequest(input *ListAssessmentTemplate
// API operation ListAssessmentTemplates for usage and error information.
//
// Returned Error Codes:
// * InternalException
// * ErrCodeInternalException "InternalException"
// Internal server error.
//
// * InvalidInputException
// * ErrCodeInvalidInputException "InvalidInputException"
// The request was rejected because an invalid or out-of-range value was supplied
// for an input parameter.
//
// * AccessDeniedException
// * ErrCodeAccessDeniedException "AccessDeniedException"
// You do not have required permissions to access the requested resource.
//
// * NoSuchEntityException
// * ErrCodeNoSuchEntityException "NoSuchEntityException"
// The request was rejected because it referenced an entity that does not exist.
// The error code describes the entity.
//
@ -1505,17 +1505,17 @@ func (c *Inspector) ListEventSubscriptionsRequest(input *ListEventSubscriptionsI
// API operation ListEventSubscriptions for usage and error information.
//
// Returned Error Codes:
// * InternalException
// * ErrCodeInternalException "InternalException"
// Internal server error.
//
// * InvalidInputException
// * ErrCodeInvalidInputException "InvalidInputException"
// The request was rejected because an invalid or out-of-range value was supplied
// for an input parameter.
//
// * AccessDeniedException
// * ErrCodeAccessDeniedException "AccessDeniedException"
// You do not have required permissions to access the requested resource.
//
// * NoSuchEntityException
// * ErrCodeNoSuchEntityException "NoSuchEntityException"
// The request was rejected because it referenced an entity that does not exist.
// The error code describes the entity.
//
@ -1582,17 +1582,17 @@ func (c *Inspector) ListFindingsRequest(input *ListFindingsInput) (req *request.
// API operation ListFindings for usage and error information.
//
// Returned Error Codes:
// * InternalException
// * ErrCodeInternalException "InternalException"
// Internal server error.
//
// * InvalidInputException
// * ErrCodeInvalidInputException "InvalidInputException"
// The request was rejected because an invalid or out-of-range value was supplied
// for an input parameter.
//
// * AccessDeniedException
// * ErrCodeAccessDeniedException "AccessDeniedException"
// You do not have required permissions to access the requested resource.
//
// * NoSuchEntityException
// * ErrCodeNoSuchEntityException "NoSuchEntityException"
// The request was rejected because it referenced an entity that does not exist.
// The error code describes the entity.
//
@ -1658,14 +1658,14 @@ func (c *Inspector) ListRulesPackagesRequest(input *ListRulesPackagesInput) (req
// API operation ListRulesPackages for usage and error information.
//
// Returned Error Codes:
// * InternalException
// * ErrCodeInternalException "InternalException"
// Internal server error.
//
// * InvalidInputException
// * ErrCodeInvalidInputException "InvalidInputException"
// The request was rejected because an invalid or out-of-range value was supplied
// for an input parameter.
//
// * AccessDeniedException
// * ErrCodeAccessDeniedException "AccessDeniedException"
// You do not have required permissions to access the requested resource.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListRulesPackages
@ -1730,17 +1730,17 @@ func (c *Inspector) ListTagsForResourceRequest(input *ListTagsForResourceInput)
// API operation ListTagsForResource for usage and error information.
//
// Returned Error Codes:
// * InternalException
// * ErrCodeInternalException "InternalException"
// Internal server error.
//
// * InvalidInputException
// * ErrCodeInvalidInputException "InvalidInputException"
// The request was rejected because an invalid or out-of-range value was supplied
// for an input parameter.
//
// * AccessDeniedException
// * ErrCodeAccessDeniedException "AccessDeniedException"
// You do not have required permissions to access the requested resource.
//
// * NoSuchEntityException
// * ErrCodeNoSuchEntityException "NoSuchEntityException"
// The request was rejected because it referenced an entity that does not exist.
// The error code describes the entity.
//
@ -1807,21 +1807,21 @@ func (c *Inspector) PreviewAgentsRequest(input *PreviewAgentsInput) (req *reques
// API operation PreviewAgents for usage and error information.
//
// Returned Error Codes:
// * InternalException
// * ErrCodeInternalException "InternalException"
// Internal server error.
//
// * InvalidInputException
// * ErrCodeInvalidInputException "InvalidInputException"
// The request was rejected because an invalid or out-of-range value was supplied
// for an input parameter.
//
// * AccessDeniedException
// * ErrCodeAccessDeniedException "AccessDeniedException"
// You do not have required permissions to access the requested resource.
//
// * NoSuchEntityException
// * ErrCodeNoSuchEntityException "NoSuchEntityException"
// The request was rejected because it referenced an entity that does not exist.
// The error code describes the entity.
//
// * InvalidCrossAccountRoleException
// * ErrCodeInvalidCrossAccountRoleException "InvalidCrossAccountRoleException"
// Amazon Inspector cannot assume the cross-account role that it needs to list
// your EC2 instances during the assessment run.
//
@ -1890,17 +1890,17 @@ func (c *Inspector) RegisterCrossAccountAccessRoleRequest(input *RegisterCrossAc
// API operation RegisterCrossAccountAccessRole for usage and error information.
//
// Returned Error Codes:
// * InternalException
// * ErrCodeInternalException "InternalException"
// Internal server error.
//
// * InvalidInputException
// * ErrCodeInvalidInputException "InvalidInputException"
// The request was rejected because an invalid or out-of-range value was supplied
// for an input parameter.
//
// * AccessDeniedException
// * ErrCodeAccessDeniedException "AccessDeniedException"
// You do not have required permissions to access the requested resource.
//
// * InvalidCrossAccountRoleException
// * ErrCodeInvalidCrossAccountRoleException "InvalidCrossAccountRoleException"
// Amazon Inspector cannot assume the cross-account role that it needs to list
// your EC2 instances during the assessment run.
//
@ -1968,17 +1968,17 @@ func (c *Inspector) RemoveAttributesFromFindingsRequest(input *RemoveAttributesF
// API operation RemoveAttributesFromFindings for usage and error information.
//
// Returned Error Codes:
// * InternalException
// * ErrCodeInternalException "InternalException"
// Internal server error.
//
// * InvalidInputException
// * ErrCodeInvalidInputException "InvalidInputException"
// The request was rejected because an invalid or out-of-range value was supplied
// for an input parameter.
//
// * AccessDeniedException
// * ErrCodeAccessDeniedException "AccessDeniedException"
// You do not have required permissions to access the requested resource.
//
// * NoSuchEntityException
// * ErrCodeNoSuchEntityException "NoSuchEntityException"
// The request was rejected because it referenced an entity that does not exist.
// The error code describes the entity.
//
@ -2047,17 +2047,17 @@ func (c *Inspector) SetTagsForResourceRequest(input *SetTagsForResourceInput) (r
// API operation SetTagsForResource for usage and error information.
//
// Returned Error Codes:
// * InternalException
// * ErrCodeInternalException "InternalException"
// Internal server error.
//
// * InvalidInputException
// * ErrCodeInvalidInputException "InvalidInputException"
// The request was rejected because an invalid or out-of-range value was supplied
// for an input parameter.
//
// * AccessDeniedException
// * ErrCodeAccessDeniedException "AccessDeniedException"
// You do not have required permissions to access the requested resource.
//
// * NoSuchEntityException
// * ErrCodeNoSuchEntityException "NoSuchEntityException"
// The request was rejected because it referenced an entity that does not exist.
// The error code describes the entity.
//
@ -2125,29 +2125,29 @@ func (c *Inspector) StartAssessmentRunRequest(input *StartAssessmentRunInput) (r
// API operation StartAssessmentRun for usage and error information.
//
// Returned Error Codes:
// * InternalException
// * ErrCodeInternalException "InternalException"
// Internal server error.
//
// * InvalidInputException
// * ErrCodeInvalidInputException "InvalidInputException"
// The request was rejected because an invalid or out-of-range value was supplied
// for an input parameter.
//
// * LimitExceededException
// * ErrCodeLimitExceededException "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
// * ErrCodeAccessDeniedException "AccessDeniedException"
// You do not have required permissions to access the requested resource.
//
// * NoSuchEntityException
// * ErrCodeNoSuchEntityException "NoSuchEntityException"
// The request was rejected because it referenced an entity that does not exist.
// The error code describes the entity.
//
// * InvalidCrossAccountRoleException
// * ErrCodeInvalidCrossAccountRoleException "InvalidCrossAccountRoleException"
// Amazon Inspector cannot assume the cross-account role that it needs to list
// your EC2 instances during the assessment run.
//
// * AgentsAlreadyRunningAssessmentException
// * ErrCodeAgentsAlreadyRunningAssessmentException "AgentsAlreadyRunningAssessmentException"
// You started an assessment run, but one of the instances is already participating
// in another assessment run.
//
@ -2215,17 +2215,17 @@ func (c *Inspector) StopAssessmentRunRequest(input *StopAssessmentRunInput) (req
// API operation StopAssessmentRun for usage and error information.
//
// Returned Error Codes:
// * InternalException
// * ErrCodeInternalException "InternalException"
// Internal server error.
//
// * InvalidInputException
// * ErrCodeInvalidInputException "InvalidInputException"
// The request was rejected because an invalid or out-of-range value was supplied
// for an input parameter.
//
// * AccessDeniedException
// * ErrCodeAccessDeniedException "AccessDeniedException"
// You do not have required permissions to access the requested resource.
//
// * NoSuchEntityException
// * ErrCodeNoSuchEntityException "NoSuchEntityException"
// The request was rejected because it referenced an entity that does not exist.
// The error code describes the entity.
//
@ -2294,21 +2294,21 @@ func (c *Inspector) SubscribeToEventRequest(input *SubscribeToEventInput) (req *
// API operation SubscribeToEvent for usage and error information.
//
// Returned Error Codes:
// * InternalException
// * ErrCodeInternalException "InternalException"
// Internal server error.
//
// * InvalidInputException
// * ErrCodeInvalidInputException "InvalidInputException"
// The request was rejected because an invalid or out-of-range value was supplied
// for an input parameter.
//
// * LimitExceededException
// * ErrCodeLimitExceededException "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
// * ErrCodeAccessDeniedException "AccessDeniedException"
// You do not have required permissions to access the requested resource.
//
// * NoSuchEntityException
// * ErrCodeNoSuchEntityException "NoSuchEntityException"
// The request was rejected because it referenced an entity that does not exist.
// The error code describes the entity.
//
@ -2377,17 +2377,17 @@ func (c *Inspector) UnsubscribeFromEventRequest(input *UnsubscribeFromEventInput
// API operation UnsubscribeFromEvent for usage and error information.
//
// Returned Error Codes:
// * InternalException
// * ErrCodeInternalException "InternalException"
// Internal server error.
//
// * InvalidInputException
// * ErrCodeInvalidInputException "InvalidInputException"
// The request was rejected because an invalid or out-of-range value was supplied
// for an input parameter.
//
// * AccessDeniedException
// * ErrCodeAccessDeniedException "AccessDeniedException"
// You do not have required permissions to access the requested resource.
//
// * NoSuchEntityException
// * ErrCodeNoSuchEntityException "NoSuchEntityException"
// The request was rejected because it referenced an entity that does not exist.
// The error code describes the entity.
//
@ -2456,17 +2456,17 @@ func (c *Inspector) UpdateAssessmentTargetRequest(input *UpdateAssessmentTargetI
// API operation UpdateAssessmentTarget for usage and error information.
//
// Returned Error Codes:
// * InternalException
// * ErrCodeInternalException "InternalException"
// Internal server error.
//
// * InvalidInputException
// * ErrCodeInvalidInputException "InvalidInputException"
// The request was rejected because an invalid or out-of-range value was supplied
// for an input parameter.
//
// * AccessDeniedException
// * ErrCodeAccessDeniedException "AccessDeniedException"
// You do not have required permissions to access the requested resource.
//
// * NoSuchEntityException
// * ErrCodeNoSuchEntityException "NoSuchEntityException"
// The request was rejected because it referenced an entity that does not exist.
// The error code describes the entity.
//

View File

@ -0,0 +1,60 @@
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
package inspector
const (
// ErrCodeAccessDeniedException for service response error code
// "AccessDeniedException".
//
// You do not have required permissions to access the requested resource.
ErrCodeAccessDeniedException = "AccessDeniedException"
// ErrCodeAgentsAlreadyRunningAssessmentException for service response error code
// "AgentsAlreadyRunningAssessmentException".
//
// You started an assessment run, but one of the instances is already participating
// in another assessment run.
ErrCodeAgentsAlreadyRunningAssessmentException = "AgentsAlreadyRunningAssessmentException"
// ErrCodeAssessmentRunInProgressException for service response error code
// "AssessmentRunInProgressException".
//
// You cannot perform a specified action if an assessment run is currently in
// progress.
ErrCodeAssessmentRunInProgressException = "AssessmentRunInProgressException"
// ErrCodeInternalException for service response error code
// "InternalException".
//
// Internal server error.
ErrCodeInternalException = "InternalException"
// ErrCodeInvalidCrossAccountRoleException for service response error code
// "InvalidCrossAccountRoleException".
//
// Amazon Inspector cannot assume the cross-account role that it needs to list
// your EC2 instances during the assessment run.
ErrCodeInvalidCrossAccountRoleException = "InvalidCrossAccountRoleException"
// ErrCodeInvalidInputException for service response error code
// "InvalidInputException".
//
// The request was rejected because an invalid or out-of-range value was supplied
// for an input parameter.
ErrCodeInvalidInputException = "InvalidInputException"
// ErrCodeLimitExceededException for service response error code
// "LimitExceededException".
//
// The request was rejected because it attempted to create resources beyond
// the current AWS account limits. The error code describes the limit exceeded.
ErrCodeLimitExceededException = "LimitExceededException"
// ErrCodeNoSuchEntityException for service response error code
// "NoSuchEntityException".
//
// The request was rejected because it referenced an entity that does not exist.
// The error code describes the entity.
ErrCodeNoSuchEntityException = "NoSuchEntityException"
)

View File

@ -74,19 +74,19 @@ func (c *Kinesis) AddTagsToStreamRequest(input *AddTagsToStreamInput) (req *requ
// API operation AddTagsToStream for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The requested resource could not be found. The stream might not be specified
// correctly.
//
// * ResourceInUseException
// * ErrCodeResourceInUseException "ResourceInUseException"
// The resource is not available for this operation. For successful operation,
// the resource needs to be in the ACTIVE state.
//
// * InvalidArgumentException
// * ErrCodeInvalidArgumentException "InvalidArgumentException"
// A specified parameter exceeds its restrictions, is not supported, or can't
// be used. For more information, see the returned message.
//
// * LimitExceededException
// * ErrCodeLimitExceededException "LimitExceededException"
// The requested resource exceeds the maximum number allowed, or the number
// of concurrent stream requests exceeds the maximum number allowed (5).
//
@ -191,15 +191,15 @@ func (c *Kinesis) CreateStreamRequest(input *CreateStreamInput) (req *request.Re
// API operation CreateStream for usage and error information.
//
// Returned Error Codes:
// * ResourceInUseException
// * ErrCodeResourceInUseException "ResourceInUseException"
// The resource is not available for this operation. For successful operation,
// the resource needs to be in the ACTIVE state.
//
// * LimitExceededException
// * ErrCodeLimitExceededException "LimitExceededException"
// The requested resource exceeds the maximum number allowed, or the number
// of concurrent stream requests exceeds the maximum number allowed (5).
//
// * InvalidArgumentException
// * ErrCodeInvalidArgumentException "InvalidArgumentException"
// A specified parameter exceeds its restrictions, is not supported, or can't
// be used. For more information, see the returned message.
//
@ -273,15 +273,15 @@ func (c *Kinesis) DecreaseStreamRetentionPeriodRequest(input *DecreaseStreamRete
// API operation DecreaseStreamRetentionPeriod for usage and error information.
//
// Returned Error Codes:
// * ResourceInUseException
// * ErrCodeResourceInUseException "ResourceInUseException"
// The resource is not available for this operation. For successful operation,
// the resource needs to be in the ACTIVE state.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The requested resource could not be found. The stream might not be specified
// correctly.
//
// * InvalidArgumentException
// * ErrCodeInvalidArgumentException "InvalidArgumentException"
// A specified parameter exceeds its restrictions, is not supported, or can't
// be used. For more information, see the returned message.
//
@ -368,11 +368,11 @@ func (c *Kinesis) DeleteStreamRequest(input *DeleteStreamInput) (req *request.Re
// API operation DeleteStream for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The requested resource could not be found. The stream might not be specified
// correctly.
//
// * LimitExceededException
// * ErrCodeLimitExceededException "LimitExceededException"
// The requested resource exceeds the maximum number allowed, or the number
// of concurrent stream requests exceeds the maximum number allowed (5).
//
@ -443,7 +443,7 @@ func (c *Kinesis) DescribeLimitsRequest(input *DescribeLimitsInput) (req *reques
// API operation DescribeLimits for usage and error information.
//
// Returned Error Codes:
// * LimitExceededException
// * ErrCodeLimitExceededException "LimitExceededException"
// The requested resource exceeds the maximum number allowed, or the number
// of concurrent stream requests exceeds the maximum number allowed (5).
//
@ -533,11 +533,11 @@ func (c *Kinesis) DescribeStreamRequest(input *DescribeStreamInput) (req *reques
// API operation DescribeStream for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The requested resource could not be found. The stream might not be specified
// correctly.
//
// * LimitExceededException
// * ErrCodeLimitExceededException "LimitExceededException"
// The requested resource exceeds the maximum number allowed, or the number
// of concurrent stream requests exceeds the maximum number allowed (5).
//
@ -628,19 +628,19 @@ func (c *Kinesis) DisableEnhancedMonitoringRequest(input *DisableEnhancedMonitor
// API operation DisableEnhancedMonitoring for usage and error information.
//
// Returned Error Codes:
// * InvalidArgumentException
// * ErrCodeInvalidArgumentException "InvalidArgumentException"
// A specified parameter exceeds its restrictions, is not supported, or can't
// be used. For more information, see the returned message.
//
// * LimitExceededException
// * ErrCodeLimitExceededException "LimitExceededException"
// The requested resource exceeds the maximum number allowed, or the number
// of concurrent stream requests exceeds the maximum number allowed (5).
//
// * ResourceInUseException
// * ErrCodeResourceInUseException "ResourceInUseException"
// The resource is not available for this operation. For successful operation,
// the resource needs to be in the ACTIVE state.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The requested resource could not be found. The stream might not be specified
// correctly.
//
@ -706,19 +706,19 @@ func (c *Kinesis) EnableEnhancedMonitoringRequest(input *EnableEnhancedMonitorin
// API operation EnableEnhancedMonitoring for usage and error information.
//
// Returned Error Codes:
// * InvalidArgumentException
// * ErrCodeInvalidArgumentException "InvalidArgumentException"
// A specified parameter exceeds its restrictions, is not supported, or can't
// be used. For more information, see the returned message.
//
// * LimitExceededException
// * ErrCodeLimitExceededException "LimitExceededException"
// The requested resource exceeds the maximum number allowed, or the number
// of concurrent stream requests exceeds the maximum number allowed (5).
//
// * ResourceInUseException
// * ErrCodeResourceInUseException "ResourceInUseException"
// The resource is not available for this operation. For successful operation,
// the resource needs to be in the ACTIVE state.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The requested resource could not be found. The stream might not be specified
// correctly.
//
@ -836,15 +836,15 @@ func (c *Kinesis) GetRecordsRequest(input *GetRecordsInput) (req *request.Reques
// API operation GetRecords for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The requested resource could not be found. The stream might not be specified
// correctly.
//
// * InvalidArgumentException
// * ErrCodeInvalidArgumentException "InvalidArgumentException"
// A specified parameter exceeds its restrictions, is not supported, or can't
// be used. For more information, see the returned message.
//
// * ProvisionedThroughputExceededException
// * ErrCodeProvisionedThroughputExceededException "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 (http://docs.aws.amazon.com/kinesis/latest/dev/service-sizes-and-limits.html)
@ -852,7 +852,7 @@ func (c *Kinesis) GetRecordsRequest(input *GetRecordsInput) (req *request.Reques
// Backoff in AWS (http://docs.aws.amazon.com/general/latest/gr/api-retries.html)
// in the AWS General Reference.
//
// * ExpiredIteratorException
// * ErrCodeExpiredIteratorException "ExpiredIteratorException"
// The provided iterator exceeds the maximum age allowed.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/GetRecords
@ -954,15 +954,15 @@ func (c *Kinesis) GetShardIteratorRequest(input *GetShardIteratorInput) (req *re
// API operation GetShardIterator for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The requested resource could not be found. The stream might not be specified
// correctly.
//
// * InvalidArgumentException
// * ErrCodeInvalidArgumentException "InvalidArgumentException"
// A specified parameter exceeds its restrictions, is not supported, or can't
// be used. For more information, see the returned message.
//
// * ProvisionedThroughputExceededException
// * ErrCodeProvisionedThroughputExceededException "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 (http://docs.aws.amazon.com/kinesis/latest/dev/service-sizes-and-limits.html)
@ -1044,15 +1044,15 @@ func (c *Kinesis) IncreaseStreamRetentionPeriodRequest(input *IncreaseStreamRete
// API operation IncreaseStreamRetentionPeriod for usage and error information.
//
// Returned Error Codes:
// * ResourceInUseException
// * ErrCodeResourceInUseException "ResourceInUseException"
// The resource is not available for this operation. For successful operation,
// the resource needs to be in the ACTIVE state.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The requested resource could not be found. The stream might not be specified
// correctly.
//
// * InvalidArgumentException
// * ErrCodeInvalidArgumentException "InvalidArgumentException"
// A specified parameter exceeds its restrictions, is not supported, or can't
// be used. For more information, see the returned message.
//
@ -1139,7 +1139,7 @@ func (c *Kinesis) ListStreamsRequest(input *ListStreamsInput) (req *request.Requ
// API operation ListStreams for usage and error information.
//
// Returned Error Codes:
// * LimitExceededException
// * ErrCodeLimitExceededException "LimitExceededException"
// The requested resource exceeds the maximum number allowed, or the number
// of concurrent stream requests exceeds the maximum number allowed (5).
//
@ -1230,15 +1230,15 @@ func (c *Kinesis) ListTagsForStreamRequest(input *ListTagsForStreamInput) (req *
// API operation ListTagsForStream for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The requested resource could not be found. The stream might not be specified
// correctly.
//
// * InvalidArgumentException
// * ErrCodeInvalidArgumentException "InvalidArgumentException"
// A specified parameter exceeds its restrictions, is not supported, or can't
// be used. For more information, see the returned message.
//
// * LimitExceededException
// * ErrCodeLimitExceededException "LimitExceededException"
// The requested resource exceeds the maximum number allowed, or the number
// of concurrent stream requests exceeds the maximum number allowed (5).
//
@ -1341,19 +1341,19 @@ func (c *Kinesis) MergeShardsRequest(input *MergeShardsInput) (req *request.Requ
// API operation MergeShards for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The requested resource could not be found. The stream might not be specified
// correctly.
//
// * ResourceInUseException
// * ErrCodeResourceInUseException "ResourceInUseException"
// The resource is not available for this operation. For successful operation,
// the resource needs to be in the ACTIVE state.
//
// * InvalidArgumentException
// * ErrCodeInvalidArgumentException "InvalidArgumentException"
// A specified parameter exceeds its restrictions, is not supported, or can't
// be used. For more information, see the returned message.
//
// * LimitExceededException
// * ErrCodeLimitExceededException "LimitExceededException"
// The requested resource exceeds the maximum number allowed, or the number
// of concurrent stream requests exceeds the maximum number allowed (5).
//
@ -1456,15 +1456,15 @@ func (c *Kinesis) PutRecordRequest(input *PutRecordInput) (req *request.Request,
// API operation PutRecord for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The requested resource could not be found. The stream might not be specified
// correctly.
//
// * InvalidArgumentException
// * ErrCodeInvalidArgumentException "InvalidArgumentException"
// A specified parameter exceeds its restrictions, is not supported, or can't
// be used. For more information, see the returned message.
//
// * ProvisionedThroughputExceededException
// * ErrCodeProvisionedThroughputExceededException "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 (http://docs.aws.amazon.com/kinesis/latest/dev/service-sizes-and-limits.html)
@ -1593,15 +1593,15 @@ func (c *Kinesis) PutRecordsRequest(input *PutRecordsInput) (req *request.Reques
// API operation PutRecords for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The requested resource could not be found. The stream might not be specified
// correctly.
//
// * InvalidArgumentException
// * ErrCodeInvalidArgumentException "InvalidArgumentException"
// A specified parameter exceeds its restrictions, is not supported, or can't
// be used. For more information, see the returned message.
//
// * ProvisionedThroughputExceededException
// * ErrCodeProvisionedThroughputExceededException "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 (http://docs.aws.amazon.com/kinesis/latest/dev/service-sizes-and-limits.html)
@ -1676,19 +1676,19 @@ func (c *Kinesis) RemoveTagsFromStreamRequest(input *RemoveTagsFromStreamInput)
// API operation RemoveTagsFromStream for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The requested resource could not be found. The stream might not be specified
// correctly.
//
// * ResourceInUseException
// * ErrCodeResourceInUseException "ResourceInUseException"
// The resource is not available for this operation. For successful operation,
// the resource needs to be in the ACTIVE state.
//
// * InvalidArgumentException
// * ErrCodeInvalidArgumentException "InvalidArgumentException"
// A specified parameter exceeds its restrictions, is not supported, or can't
// be used. For more information, see the returned message.
//
// * LimitExceededException
// * ErrCodeLimitExceededException "LimitExceededException"
// The requested resource exceeds the maximum number allowed, or the number
// of concurrent stream requests exceeds the maximum number allowed (5).
//
@ -1800,19 +1800,19 @@ func (c *Kinesis) SplitShardRequest(input *SplitShardInput) (req *request.Reques
// API operation SplitShard for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The requested resource could not be found. The stream might not be specified
// correctly.
//
// * ResourceInUseException
// * ErrCodeResourceInUseException "ResourceInUseException"
// The resource is not available for this operation. For successful operation,
// the resource needs to be in the ACTIVE state.
//
// * InvalidArgumentException
// * ErrCodeInvalidArgumentException "InvalidArgumentException"
// A specified parameter exceeds its restrictions, is not supported, or can't
// be used. For more information, see the returned message.
//
// * LimitExceededException
// * ErrCodeLimitExceededException "LimitExceededException"
// The requested resource exceeds the maximum number allowed, or the number
// of concurrent stream requests exceeds the maximum number allowed (5).
//
@ -1899,19 +1899,19 @@ func (c *Kinesis) UpdateShardCountRequest(input *UpdateShardCountInput) (req *re
// API operation UpdateShardCount for usage and error information.
//
// Returned Error Codes:
// * InvalidArgumentException
// * ErrCodeInvalidArgumentException "InvalidArgumentException"
// A specified parameter exceeds its restrictions, is not supported, or can't
// be used. For more information, see the returned message.
//
// * LimitExceededException
// * ErrCodeLimitExceededException "LimitExceededException"
// The requested resource exceeds the maximum number allowed, or the number
// of concurrent stream requests exceeds the maximum number allowed (5).
//
// * ResourceInUseException
// * ErrCodeResourceInUseException "ResourceInUseException"
// The resource is not available for this operation. For successful operation,
// the resource needs to be in the ACTIVE state.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The requested resource could not be found. The stream might not be specified
// correctly.
//

View File

@ -0,0 +1,51 @@
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
package kinesis
const (
// ErrCodeExpiredIteratorException for service response error code
// "ExpiredIteratorException".
//
// The provided iterator exceeds the maximum age allowed.
ErrCodeExpiredIteratorException = "ExpiredIteratorException"
// ErrCodeInvalidArgumentException for service response error code
// "InvalidArgumentException".
//
// A specified parameter exceeds its restrictions, is not supported, or can't
// be used. For more information, see the returned message.
ErrCodeInvalidArgumentException = "InvalidArgumentException"
// ErrCodeLimitExceededException for service response error code
// "LimitExceededException".
//
// The requested resource exceeds the maximum number allowed, or the number
// of concurrent stream requests exceeds the maximum number allowed (5).
ErrCodeLimitExceededException = "LimitExceededException"
// ErrCodeProvisionedThroughputExceededException for service response error code
// "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 (http://docs.aws.amazon.com/kinesis/latest/dev/service-sizes-and-limits.html)
// in the Amazon Kinesis Streams Developer Guide, and Error Retries and Exponential
// Backoff in AWS (http://docs.aws.amazon.com/general/latest/gr/api-retries.html)
// in the AWS General Reference.
ErrCodeProvisionedThroughputExceededException = "ProvisionedThroughputExceededException"
// ErrCodeResourceInUseException for service response error code
// "ResourceInUseException".
//
// The resource is not available for this operation. For successful operation,
// the resource needs to be in the ACTIVE state.
ErrCodeResourceInUseException = "ResourceInUseException"
// ErrCodeResourceNotFoundException for service response error code
// "ResourceNotFoundException".
//
// The requested resource could not be found. The stream might not be specified
// correctly.
ErrCodeResourceNotFoundException = "ResourceNotFoundException"
)

File diff suppressed because it is too large Load Diff

148
vendor/github.com/aws/aws-sdk-go/service/kms/errors.go generated vendored Normal file
View File

@ -0,0 +1,148 @@
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
package kms
const (
// ErrCodeAlreadyExistsException for service response error code
// "AlreadyExistsException".
//
// The request was rejected because it attempted to create a resource that already
// exists.
ErrCodeAlreadyExistsException = "AlreadyExistsException"
// ErrCodeDependencyTimeoutException for service response error code
// "DependencyTimeoutException".
//
// The system timed out while trying to fulfill the request. The request can
// be retried.
ErrCodeDependencyTimeoutException = "DependencyTimeoutException"
// ErrCodeDisabledException for service response error code
// "DisabledException".
//
// The request was rejected because the specified CMK is not enabled.
ErrCodeDisabledException = "DisabledException"
// ErrCodeExpiredImportTokenException for service response error code
// "ExpiredImportTokenException".
//
// The request was rejected because the provided import token is expired. Use
// GetParametersForImport to retrieve a new import token and public key, use
// the new public key to encrypt the key material, and then try the request
// again.
ErrCodeExpiredImportTokenException = "ExpiredImportTokenException"
// ErrCodeIncorrectKeyMaterialException for service response error code
// "IncorrectKeyMaterialException".
//
// The request was rejected because the provided key material is invalid or
// is not the same key material that was previously imported into this customer
// master key (CMK).
ErrCodeIncorrectKeyMaterialException = "IncorrectKeyMaterialException"
// ErrCodeInternalException for service response error code
// "InternalException".
//
// The request was rejected because an internal exception occurred. The request
// can be retried.
ErrCodeInternalException = "InternalException"
// ErrCodeInvalidAliasNameException for service response error code
// "InvalidAliasNameException".
//
// The request was rejected because the specified alias name is not valid.
ErrCodeInvalidAliasNameException = "InvalidAliasNameException"
// ErrCodeInvalidArnException for service response error code
// "InvalidArnException".
//
// The request was rejected because a specified ARN was not valid.
ErrCodeInvalidArnException = "InvalidArnException"
// ErrCodeInvalidCiphertextException for service response error code
// "InvalidCiphertextException".
//
// The request was rejected because the specified ciphertext has been corrupted
// or is otherwise invalid.
ErrCodeInvalidCiphertextException = "InvalidCiphertextException"
// ErrCodeInvalidGrantIdException for service response error code
// "InvalidGrantIdException".
//
// The request was rejected because the specified GrantId is not valid.
ErrCodeInvalidGrantIdException = "InvalidGrantIdException"
// ErrCodeInvalidGrantTokenException for service response error code
// "InvalidGrantTokenException".
//
// The request was rejected because the specified grant token is not valid.
ErrCodeInvalidGrantTokenException = "InvalidGrantTokenException"
// ErrCodeInvalidImportTokenException for service response error code
// "InvalidImportTokenException".
//
// The request was rejected because the provided import token is invalid or
// is associated with a different customer master key (CMK).
ErrCodeInvalidImportTokenException = "InvalidImportTokenException"
// ErrCodeInvalidKeyUsageException for service response error code
// "InvalidKeyUsageException".
//
// The request was rejected because the specified KeySpec value is not valid.
ErrCodeInvalidKeyUsageException = "InvalidKeyUsageException"
// ErrCodeInvalidMarkerException for service response error code
// "InvalidMarkerException".
//
// The request was rejected because the marker that specifies where pagination
// should next begin is not valid.
ErrCodeInvalidMarkerException = "InvalidMarkerException"
// ErrCodeInvalidStateException for service response error code
// "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 CMK, see How
// Key State Affects Use of a Customer Master Key (http://docs.aws.amazon.com/kms/latest/developerguide/key-state.html)
// in the AWS Key Management Service Developer Guide.
ErrCodeInvalidStateException = "InvalidStateException"
// ErrCodeKeyUnavailableException for service response error code
// "KeyUnavailableException".
//
// The request was rejected because the specified CMK was not available. The
// request can be retried.
ErrCodeKeyUnavailableException = "KeyUnavailableException"
// ErrCodeLimitExceededException for service response error code
// "LimitExceededException".
//
// The request was rejected because a limit was exceeded. For more information,
// see Limits (http://docs.aws.amazon.com/kms/latest/developerguide/limits.html)
// in the AWS Key Management Service Developer Guide.
ErrCodeLimitExceededException = "LimitExceededException"
// ErrCodeMalformedPolicyDocumentException for service response error code
// "MalformedPolicyDocumentException".
//
// The request was rejected because the specified policy is not syntactically
// or semantically correct.
ErrCodeMalformedPolicyDocumentException = "MalformedPolicyDocumentException"
// ErrCodeNotFoundException for service response error code
// "NotFoundException".
//
// The request was rejected because the specified entity or resource could not
// be found.
ErrCodeNotFoundException = "NotFoundException"
// ErrCodeUnsupportedOperationException for service response error code
// "UnsupportedOperationException".
//
// The request was rejected because a specified parameter is not supported or
// a specified resource is not valid for this operation.
ErrCodeUnsupportedOperationException = "UnsupportedOperationException"
)

View File

@ -80,26 +80,25 @@ func (c *Lambda) AddPermissionRequest(input *AddPermissionInput) (req *request.R
// API operation AddPermission for usage and error information.
//
// Returned Error Codes:
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// The AWS Lambda service encountered an internal error.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The resource (for example, a Lambda function or access policy statement)
// specified in the request does not exist.
//
// * ResourceConflictException
// * ErrCodeResourceConflictException "ResourceConflictException"
// The resource already exists.
//
// * InvalidParameterValueException
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
// One of the parameters in the request is invalid. For example, if you provided
// an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration
// API, that AWS Lambda is unable to assume you will get this exception.
//
// * PolicyLengthExceededException
// * ErrCodePolicyLengthExceededException "PolicyLengthExceededException"
// Lambda function access policy is limited to 20 KB.
//
// * TooManyRequestsException
// * ErrCodeTooManyRequestsException "TooManyRequestsException"
//
func (c *Lambda) AddPermission(input *AddPermissionInput) (*AddPermissionOutput, error) {
req, out := c.AddPermissionRequest(input)
@ -164,23 +163,22 @@ func (c *Lambda) CreateAliasRequest(input *CreateAliasInput) (req *request.Reque
// API operation CreateAlias for usage and error information.
//
// Returned Error Codes:
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// The AWS Lambda service encountered an internal error.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The resource (for example, a Lambda function or access policy statement)
// specified in the request does not exist.
//
// * ResourceConflictException
// * ErrCodeResourceConflictException "ResourceConflictException"
// The resource already exists.
//
// * InvalidParameterValueException
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
// One of the parameters in the request is invalid. For example, if you provided
// an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration
// API, that AWS Lambda is unable to assume you will get this exception.
//
// * TooManyRequestsException
// * ErrCodeTooManyRequestsException "TooManyRequestsException"
//
func (c *Lambda) CreateAlias(input *CreateAliasInput) (*AliasConfiguration, error) {
req, out := c.CreateAliasRequest(input)
@ -265,21 +263,20 @@ func (c *Lambda) CreateEventSourceMappingRequest(input *CreateEventSourceMapping
// API operation CreateEventSourceMapping for usage and error information.
//
// Returned Error Codes:
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// The AWS Lambda service encountered an internal error.
//
// * InvalidParameterValueException
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
// One of the parameters in the request is invalid. For example, if you provided
// an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration
// API, that AWS Lambda is unable to assume you will get this exception.
//
// * ResourceConflictException
// * ErrCodeResourceConflictException "ResourceConflictException"
// The resource already exists.
//
// * TooManyRequestsException
// * ErrCodeTooManyRequestsException "TooManyRequestsException"
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The resource (for example, a Lambda function or access policy statement)
// specified in the request does not exist.
//
@ -351,25 +348,24 @@ func (c *Lambda) CreateFunctionRequest(input *CreateFunctionInput) (req *request
// API operation CreateFunction for usage and error information.
//
// Returned Error Codes:
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// The AWS Lambda service encountered an internal error.
//
// * InvalidParameterValueException
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
// One of the parameters in the request is invalid. For example, if you provided
// an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration
// API, that AWS Lambda is unable to assume you will get this exception.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The resource (for example, a Lambda function or access policy statement)
// specified in the request does not exist.
//
// * ResourceConflictException
// * ErrCodeResourceConflictException "ResourceConflictException"
// The resource already exists.
//
// * TooManyRequestsException
// * ErrCodeTooManyRequestsException "TooManyRequestsException"
//
// * CodeStorageExceededException
// * ErrCodeCodeStorageExceededException "CodeStorageExceededException"
// You have exceeded your maximum total code size per account. Limits (http://docs.aws.amazon.com/lambda/latest/dg/limits.html)
//
func (c *Lambda) CreateFunction(input *CreateFunctionInput) (*FunctionConfiguration, error) {
@ -436,16 +432,15 @@ func (c *Lambda) DeleteAliasRequest(input *DeleteAliasInput) (req *request.Reque
// API operation DeleteAlias for usage and error information.
//
// Returned Error Codes:
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// The AWS Lambda service encountered an internal error.
//
// * InvalidParameterValueException
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
// One of the parameters in the request is invalid. For example, if you provided
// an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration
// API, that AWS Lambda is unable to assume you will get this exception.
//
// * TooManyRequestsException
// * ErrCodeTooManyRequestsException "TooManyRequestsException"
//
func (c *Lambda) DeleteAlias(input *DeleteAliasInput) (*DeleteAliasOutput, error) {
req, out := c.DeleteAliasRequest(input)
@ -510,20 +505,19 @@ func (c *Lambda) DeleteEventSourceMappingRequest(input *DeleteEventSourceMapping
// API operation DeleteEventSourceMapping for usage and error information.
//
// Returned Error Codes:
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// The AWS Lambda service encountered an internal error.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The resource (for example, a Lambda function or access policy statement)
// specified in the request does not exist.
//
// * InvalidParameterValueException
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
// One of the parameters in the request is invalid. For example, if you provided
// an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration
// API, that AWS Lambda is unable to assume you will get this exception.
//
// * TooManyRequestsException
// * ErrCodeTooManyRequestsException "TooManyRequestsException"
//
func (c *Lambda) DeleteEventSourceMapping(input *DeleteEventSourceMappingInput) (*EventSourceMappingConfiguration, error) {
req, out := c.DeleteEventSourceMappingRequest(input)
@ -598,22 +592,21 @@ func (c *Lambda) DeleteFunctionRequest(input *DeleteFunctionInput) (req *request
// API operation DeleteFunction for usage and error information.
//
// Returned Error Codes:
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// The AWS Lambda service encountered an internal error.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The resource (for example, a Lambda function or access policy statement)
// specified in the request does not exist.
//
// * TooManyRequestsException
// * ErrCodeTooManyRequestsException "TooManyRequestsException"
//
// * InvalidParameterValueException
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
// One of the parameters in the request is invalid. For example, if you provided
// an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration
// API, that AWS Lambda is unable to assume you will get this exception.
//
// * ResourceConflictException
// * ErrCodeResourceConflictException "ResourceConflictException"
// The resource already exists.
//
func (c *Lambda) DeleteFunction(input *DeleteFunctionInput) (*DeleteFunctionOutput, error) {
@ -681,10 +674,9 @@ func (c *Lambda) GetAccountSettingsRequest(input *GetAccountSettingsInput) (req
// API operation GetAccountSettings for usage and error information.
//
// Returned Error Codes:
// * TooManyRequestsException
// * ErrCodeTooManyRequestsException "TooManyRequestsException"
//
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// The AWS Lambda service encountered an internal error.
//
func (c *Lambda) GetAccountSettings(input *GetAccountSettingsInput) (*GetAccountSettingsOutput, error) {
@ -750,20 +742,19 @@ func (c *Lambda) GetAliasRequest(input *GetAliasInput) (req *request.Request, ou
// API operation GetAlias for usage and error information.
//
// Returned Error Codes:
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// The AWS Lambda service encountered an internal error.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The resource (for example, a Lambda function or access policy statement)
// specified in the request does not exist.
//
// * InvalidParameterValueException
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
// One of the parameters in the request is invalid. For example, if you provided
// an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration
// API, that AWS Lambda is unable to assume you will get this exception.
//
// * TooManyRequestsException
// * ErrCodeTooManyRequestsException "TooManyRequestsException"
//
func (c *Lambda) GetAlias(input *GetAliasInput) (*AliasConfiguration, error) {
req, out := c.GetAliasRequest(input)
@ -827,20 +818,19 @@ func (c *Lambda) GetEventSourceMappingRequest(input *GetEventSourceMappingInput)
// API operation GetEventSourceMapping for usage and error information.
//
// Returned Error Codes:
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// The AWS Lambda service encountered an internal error.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The resource (for example, a Lambda function or access policy statement)
// specified in the request does not exist.
//
// * InvalidParameterValueException
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
// One of the parameters in the request is invalid. For example, if you provided
// an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration
// API, that AWS Lambda is unable to assume you will get this exception.
//
// * TooManyRequestsException
// * ErrCodeTooManyRequestsException "TooManyRequestsException"
//
func (c *Lambda) GetEventSourceMapping(input *GetEventSourceMappingInput) (*EventSourceMappingConfiguration, error) {
req, out := c.GetEventSourceMappingRequest(input)
@ -913,17 +903,16 @@ func (c *Lambda) GetFunctionRequest(input *GetFunctionInput) (req *request.Reque
// API operation GetFunction for usage and error information.
//
// Returned Error Codes:
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// The AWS Lambda service encountered an internal error.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The resource (for example, a Lambda function or access policy statement)
// specified in the request does not exist.
//
// * TooManyRequestsException
// * ErrCodeTooManyRequestsException "TooManyRequestsException"
//
// * InvalidParameterValueException
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
// One of the parameters in the request is invalid. For example, if you provided
// an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration
// API, that AWS Lambda is unable to assume you will get this exception.
@ -999,17 +988,16 @@ func (c *Lambda) GetFunctionConfigurationRequest(input *GetFunctionConfiguration
// API operation GetFunctionConfiguration for usage and error information.
//
// Returned Error Codes:
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// The AWS Lambda service encountered an internal error.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The resource (for example, a Lambda function or access policy statement)
// specified in the request does not exist.
//
// * TooManyRequestsException
// * ErrCodeTooManyRequestsException "TooManyRequestsException"
//
// * InvalidParameterValueException
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
// One of the parameters in the request is invalid. For example, if you provided
// an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration
// API, that AWS Lambda is unable to assume you will get this exception.
@ -1082,17 +1070,16 @@ func (c *Lambda) GetPolicyRequest(input *GetPolicyInput) (req *request.Request,
// API operation GetPolicy for usage and error information.
//
// Returned Error Codes:
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// The AWS Lambda service encountered an internal error.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The resource (for example, a Lambda function or access policy statement)
// specified in the request does not exist.
//
// * TooManyRequestsException
// * ErrCodeTooManyRequestsException "TooManyRequestsException"
//
// * InvalidParameterValueException
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
// One of the parameters in the request is invalid. For example, if you provided
// an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration
// API, that AWS Lambda is unable to assume you will get this exception.
@ -1167,74 +1154,72 @@ func (c *Lambda) InvokeRequest(input *InvokeInput) (req *request.Request, output
// API operation Invoke for usage and error information.
//
// Returned Error Codes:
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// The AWS Lambda service encountered an internal error.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The resource (for example, a Lambda function or access policy statement)
// specified in the request does not exist.
//
// * InvalidRequestContentException
// * ErrCodeInvalidRequestContentException "InvalidRequestContentException"
// The request body could not be parsed as JSON.
//
// * RequestTooLargeException
// * ErrCodeRequestTooLargeException "RequestTooLargeException"
// The request payload exceeded the Invoke request body JSON input limit. For
// more information, see Limits (http://docs.aws.amazon.com/lambda/latest/dg/limits.html).
//
// * UnsupportedMediaTypeException
// * ErrCodeUnsupportedMediaTypeException "UnsupportedMediaTypeException"
// The content type of the Invoke request body is not JSON.
//
// * TooManyRequestsException
// * ErrCodeTooManyRequestsException "TooManyRequestsException"
//
// * InvalidParameterValueException
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
// One of the parameters in the request is invalid. For example, if you provided
// an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration
// API, that AWS Lambda is unable to assume you will get this exception.
//
// * EC2UnexpectedException
// * ErrCodeEC2UnexpectedException "EC2UnexpectedException"
// AWS Lambda received an unexpected EC2 client exception while setting up for
// the Lambda function.
//
// * SubnetIPAddressLimitReachedException
// * ErrCodeSubnetIPAddressLimitReachedException "SubnetIPAddressLimitReachedException"
// AWS Lambda was not able to set up VPC access for the Lambda function because
// one or more configured subnets has no available IP addresses.
//
// * ENILimitReachedException
// * ErrCodeENILimitReachedException "ENILimitReachedException"
// AWS Lambda was not able to create an Elastic Network Interface (ENI) in the
// VPC, specified as part of Lambda function configuration, because the limit
// for network interfaces has been reached.
//
// * EC2ThrottledException
// * ErrCodeEC2ThrottledException "EC2ThrottledException"
// AWS Lambda was throttled by Amazon EC2 during Lambda function initialization
// using the execution role provided for the Lambda function.
//
// * EC2AccessDeniedException
// * ErrCodeEC2AccessDeniedException "EC2AccessDeniedException"
//
// * InvalidSubnetIDException
// * ErrCodeInvalidSubnetIDException "InvalidSubnetIDException"
// The Subnet ID provided in the Lambda function VPC configuration is invalid.
//
// * InvalidSecurityGroupIDException
// * ErrCodeInvalidSecurityGroupIDException "InvalidSecurityGroupIDException"
// The Security Group ID provided in the Lambda function VPC configuration is
// invalid.
//
// * InvalidZipFileException
// * ErrCodeInvalidZipFileException "InvalidZipFileException"
// AWS Lambda could not unzip the function zip file.
//
// * KMSDisabledException
// * ErrCodeKMSDisabledException "KMSDisabledException"
// Lambda was unable to decrypt the environment variables because the KMS key
// used is disabled. Check the Lambda function's KMS key settings.
//
// * KMSInvalidStateException
// * ErrCodeKMSInvalidStateException "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.
//
// * KMSAccessDeniedException
// * ErrCodeKMSAccessDeniedException "KMSAccessDeniedException"
// Lambda was unable to decrypt the environment variables because KMS access
// was denied. Check the Lambda function's KMS permissions.
//
// * KMSNotFoundException
// * ErrCodeKMSNotFoundException "KMSNotFoundException"
// Lambda was unable to decrypt the environment variables because the KMS key
// was not found. Check the function's KMS key settings.
//
@ -1306,14 +1291,14 @@ func (c *Lambda) InvokeAsyncRequest(input *InvokeAsyncInput) (req *request.Reque
// API operation InvokeAsync for usage and error information.
//
// Returned Error Codes:
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// The AWS Lambda service encountered an internal error.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The resource (for example, a Lambda function or access policy statement)
// specified in the request does not exist.
//
// * InvalidRequestContentException
// * ErrCodeInvalidRequestContentException "InvalidRequestContentException"
// The request body could not be parsed as JSON.
//
func (c *Lambda) InvokeAsync(input *InvokeAsyncInput) (*InvokeAsyncOutput, error) {
@ -1380,20 +1365,19 @@ func (c *Lambda) ListAliasesRequest(input *ListAliasesInput) (req *request.Reque
// API operation ListAliases for usage and error information.
//
// Returned Error Codes:
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// The AWS Lambda service encountered an internal error.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The resource (for example, a Lambda function or access policy statement)
// specified in the request does not exist.
//
// * InvalidParameterValueException
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
// One of the parameters in the request is invalid. For example, if you provided
// an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration
// API, that AWS Lambda is unable to assume you will get this exception.
//
// * TooManyRequestsException
// * ErrCodeTooManyRequestsException "TooManyRequestsException"
//
func (c *Lambda) ListAliases(input *ListAliasesInput) (*ListAliasesOutput, error) {
req, out := c.ListAliasesRequest(input)
@ -1472,20 +1456,19 @@ func (c *Lambda) ListEventSourceMappingsRequest(input *ListEventSourceMappingsIn
// API operation ListEventSourceMappings for usage and error information.
//
// Returned Error Codes:
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// The AWS Lambda service encountered an internal error.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The resource (for example, a Lambda function or access policy statement)
// specified in the request does not exist.
//
// * InvalidParameterValueException
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
// One of the parameters in the request is invalid. For example, if you provided
// an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration
// API, that AWS Lambda is unable to assume you will get this exception.
//
// * TooManyRequestsException
// * ErrCodeTooManyRequestsException "TooManyRequestsException"
//
func (c *Lambda) ListEventSourceMappings(input *ListEventSourceMappingsInput) (*ListEventSourceMappingsOutput, error) {
req, out := c.ListEventSourceMappingsRequest(input)
@ -1585,11 +1568,10 @@ func (c *Lambda) ListFunctionsRequest(input *ListFunctionsInput) (req *request.R
// API operation ListFunctions for usage and error information.
//
// Returned Error Codes:
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// The AWS Lambda service encountered an internal error.
//
// * TooManyRequestsException
// * ErrCodeTooManyRequestsException "TooManyRequestsException"
//
func (c *Lambda) ListFunctions(input *ListFunctionsInput) (*ListFunctionsOutput, error) {
req, out := c.ListFunctionsRequest(input)
@ -1676,20 +1658,19 @@ func (c *Lambda) ListVersionsByFunctionRequest(input *ListVersionsByFunctionInpu
// API operation ListVersionsByFunction for usage and error information.
//
// Returned Error Codes:
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// The AWS Lambda service encountered an internal error.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The resource (for example, a Lambda function or access policy statement)
// specified in the request does not exist.
//
// * InvalidParameterValueException
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
// One of the parameters in the request is invalid. For example, if you provided
// an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration
// API, that AWS Lambda is unable to assume you will get this exception.
//
// * TooManyRequestsException
// * ErrCodeTooManyRequestsException "TooManyRequestsException"
//
func (c *Lambda) ListVersionsByFunction(input *ListVersionsByFunctionInput) (*ListVersionsByFunctionOutput, error) {
req, out := c.ListVersionsByFunctionRequest(input)
@ -1754,22 +1735,21 @@ func (c *Lambda) PublishVersionRequest(input *PublishVersionInput) (req *request
// API operation PublishVersion for usage and error information.
//
// Returned Error Codes:
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// The AWS Lambda service encountered an internal error.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The resource (for example, a Lambda function or access policy statement)
// specified in the request does not exist.
//
// * InvalidParameterValueException
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
// One of the parameters in the request is invalid. For example, if you provided
// an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration
// API, that AWS Lambda is unable to assume you will get this exception.
//
// * TooManyRequestsException
// * ErrCodeTooManyRequestsException "TooManyRequestsException"
//
// * CodeStorageExceededException
// * ErrCodeCodeStorageExceededException "CodeStorageExceededException"
// You have exceeded your maximum total code size per account. Limits (http://docs.aws.amazon.com/lambda/latest/dg/limits.html)
//
func (c *Lambda) PublishVersion(input *PublishVersionInput) (*FunctionConfiguration, error) {
@ -1845,20 +1825,19 @@ func (c *Lambda) RemovePermissionRequest(input *RemovePermissionInput) (req *req
// API operation RemovePermission for usage and error information.
//
// Returned Error Codes:
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// The AWS Lambda service encountered an internal error.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The resource (for example, a Lambda function or access policy statement)
// specified in the request does not exist.
//
// * InvalidParameterValueException
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
// One of the parameters in the request is invalid. For example, if you provided
// an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration
// API, that AWS Lambda is unable to assume you will get this exception.
//
// * TooManyRequestsException
// * ErrCodeTooManyRequestsException "TooManyRequestsException"
//
func (c *Lambda) RemovePermission(input *RemovePermissionInput) (*RemovePermissionOutput, error) {
req, out := c.RemovePermissionRequest(input)
@ -1923,20 +1902,19 @@ func (c *Lambda) UpdateAliasRequest(input *UpdateAliasInput) (req *request.Reque
// API operation UpdateAlias for usage and error information.
//
// Returned Error Codes:
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// The AWS Lambda service encountered an internal error.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The resource (for example, a Lambda function or access policy statement)
// specified in the request does not exist.
//
// * InvalidParameterValueException
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
// One of the parameters in the request is invalid. For example, if you provided
// an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration
// API, that AWS Lambda is unable to assume you will get this exception.
//
// * TooManyRequestsException
// * ErrCodeTooManyRequestsException "TooManyRequestsException"
//
func (c *Lambda) UpdateAlias(input *UpdateAliasInput) (*AliasConfiguration, error) {
req, out := c.UpdateAliasRequest(input)
@ -2013,22 +1991,21 @@ func (c *Lambda) UpdateEventSourceMappingRequest(input *UpdateEventSourceMapping
// API operation UpdateEventSourceMapping for usage and error information.
//
// Returned Error Codes:
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// The AWS Lambda service encountered an internal error.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The resource (for example, a Lambda function or access policy statement)
// specified in the request does not exist.
//
// * InvalidParameterValueException
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
// One of the parameters in the request is invalid. For example, if you provided
// an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration
// API, that AWS Lambda is unable to assume you will get this exception.
//
// * TooManyRequestsException
// * ErrCodeTooManyRequestsException "TooManyRequestsException"
//
// * ResourceConflictException
// * ErrCodeResourceConflictException "ResourceConflictException"
// The resource already exists.
//
func (c *Lambda) UpdateEventSourceMapping(input *UpdateEventSourceMappingInput) (*EventSourceMappingConfiguration, error) {
@ -2098,22 +2075,21 @@ func (c *Lambda) UpdateFunctionCodeRequest(input *UpdateFunctionCodeInput) (req
// API operation UpdateFunctionCode for usage and error information.
//
// Returned Error Codes:
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// The AWS Lambda service encountered an internal error.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The resource (for example, a Lambda function or access policy statement)
// specified in the request does not exist.
//
// * InvalidParameterValueException
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
// One of the parameters in the request is invalid. For example, if you provided
// an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration
// API, that AWS Lambda is unable to assume you will get this exception.
//
// * TooManyRequestsException
// * ErrCodeTooManyRequestsException "TooManyRequestsException"
//
// * CodeStorageExceededException
// * ErrCodeCodeStorageExceededException "CodeStorageExceededException"
// You have exceeded your maximum total code size per account. Limits (http://docs.aws.amazon.com/lambda/latest/dg/limits.html)
//
func (c *Lambda) UpdateFunctionCode(input *UpdateFunctionCodeInput) (*FunctionConfiguration, error) {
@ -2185,20 +2161,19 @@ func (c *Lambda) UpdateFunctionConfigurationRequest(input *UpdateFunctionConfigu
// API operation UpdateFunctionConfiguration for usage and error information.
//
// Returned Error Codes:
// * ServiceException
// * ErrCodeServiceException "ServiceException"
// The AWS Lambda service encountered an internal error.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The resource (for example, a Lambda function or access policy statement)
// specified in the request does not exist.
//
// * InvalidParameterValueException
// * ErrCodeInvalidParameterValueException "InvalidParameterValueException"
// One of the parameters in the request is invalid. For example, if you provided
// an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration
// API, that AWS Lambda is unable to assume you will get this exception.
//
// * TooManyRequestsException
// * ErrCodeTooManyRequestsException "TooManyRequestsException"
//
func (c *Lambda) UpdateFunctionConfiguration(input *UpdateFunctionConfigurationInput) (*FunctionConfiguration, error) {
req, out := c.UpdateFunctionConfigurationRequest(input)

View File

@ -0,0 +1,148 @@
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
package lambda
const (
// ErrCodeCodeStorageExceededException for service response error code
// "CodeStorageExceededException".
//
// You have exceeded your maximum total code size per account. Limits (http://docs.aws.amazon.com/lambda/latest/dg/limits.html)
ErrCodeCodeStorageExceededException = "CodeStorageExceededException"
// ErrCodeEC2AccessDeniedException for service response error code
// "EC2AccessDeniedException".
ErrCodeEC2AccessDeniedException = "EC2AccessDeniedException"
// ErrCodeEC2ThrottledException for service response error code
// "EC2ThrottledException".
//
// AWS Lambda was throttled by Amazon EC2 during Lambda function initialization
// using the execution role provided for the Lambda function.
ErrCodeEC2ThrottledException = "EC2ThrottledException"
// ErrCodeEC2UnexpectedException for service response error code
// "EC2UnexpectedException".
//
// AWS Lambda received an unexpected EC2 client exception while setting up for
// the Lambda function.
ErrCodeEC2UnexpectedException = "EC2UnexpectedException"
// ErrCodeENILimitReachedException for service response error code
// "ENILimitReachedException".
//
// AWS Lambda was not able to create an Elastic Network Interface (ENI) in the
// VPC, specified as part of Lambda function configuration, because the limit
// for network interfaces has been reached.
ErrCodeENILimitReachedException = "ENILimitReachedException"
// ErrCodeInvalidParameterValueException for service response error code
// "InvalidParameterValueException".
//
// One of the parameters in the request is invalid. For example, if you provided
// an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration
// API, that AWS Lambda is unable to assume you will get this exception.
ErrCodeInvalidParameterValueException = "InvalidParameterValueException"
// ErrCodeInvalidRequestContentException for service response error code
// "InvalidRequestContentException".
//
// The request body could not be parsed as JSON.
ErrCodeInvalidRequestContentException = "InvalidRequestContentException"
// ErrCodeInvalidSecurityGroupIDException for service response error code
// "InvalidSecurityGroupIDException".
//
// The Security Group ID provided in the Lambda function VPC configuration is
// invalid.
ErrCodeInvalidSecurityGroupIDException = "InvalidSecurityGroupIDException"
// ErrCodeInvalidSubnetIDException for service response error code
// "InvalidSubnetIDException".
//
// The Subnet ID provided in the Lambda function VPC configuration is invalid.
ErrCodeInvalidSubnetIDException = "InvalidSubnetIDException"
// ErrCodeInvalidZipFileException for service response error code
// "InvalidZipFileException".
//
// AWS Lambda could not unzip the function zip file.
ErrCodeInvalidZipFileException = "InvalidZipFileException"
// ErrCodeKMSAccessDeniedException for service response error code
// "KMSAccessDeniedException".
//
// Lambda was unable to decrypt the environment variables because KMS access
// was denied. Check the Lambda function's KMS permissions.
ErrCodeKMSAccessDeniedException = "KMSAccessDeniedException"
// ErrCodeKMSDisabledException for service response error code
// "KMSDisabledException".
//
// Lambda was unable to decrypt the environment variables because the KMS key
// used is disabled. Check the Lambda function's KMS key settings.
ErrCodeKMSDisabledException = "KMSDisabledException"
// ErrCodeKMSInvalidStateException for service response error code
// "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.
ErrCodeKMSInvalidStateException = "KMSInvalidStateException"
// ErrCodeKMSNotFoundException for service response error code
// "KMSNotFoundException".
//
// Lambda was unable to decrypt the environment variables because the KMS key
// was not found. Check the function's KMS key settings.
ErrCodeKMSNotFoundException = "KMSNotFoundException"
// ErrCodePolicyLengthExceededException for service response error code
// "PolicyLengthExceededException".
//
// Lambda function access policy is limited to 20 KB.
ErrCodePolicyLengthExceededException = "PolicyLengthExceededException"
// ErrCodeRequestTooLargeException for service response error code
// "RequestTooLargeException".
//
// The request payload exceeded the Invoke request body JSON input limit. For
// more information, see Limits (http://docs.aws.amazon.com/lambda/latest/dg/limits.html).
ErrCodeRequestTooLargeException = "RequestTooLargeException"
// ErrCodeResourceConflictException for service response error code
// "ResourceConflictException".
//
// The resource already exists.
ErrCodeResourceConflictException = "ResourceConflictException"
// ErrCodeResourceNotFoundException for service response error code
// "ResourceNotFoundException".
//
// The resource (for example, a Lambda function or access policy statement)
// specified in the request does not exist.
ErrCodeResourceNotFoundException = "ResourceNotFoundException"
// ErrCodeServiceException for service response error code
// "ServiceException".
//
// The AWS Lambda service encountered an internal error.
ErrCodeServiceException = "ServiceException"
// ErrCodeSubnetIPAddressLimitReachedException for service response error code
// "SubnetIPAddressLimitReachedException".
//
// AWS Lambda was not able to set up VPC access for the Lambda function because
// one or more configured subnets has no available IP addresses.
ErrCodeSubnetIPAddressLimitReachedException = "SubnetIPAddressLimitReachedException"
// ErrCodeTooManyRequestsException for service response error code
// "TooManyRequestsException".
ErrCodeTooManyRequestsException = "TooManyRequestsException"
// ErrCodeUnsupportedMediaTypeException for service response error code
// "UnsupportedMediaTypeException".
//
// The content type of the Invoke request body is not JSON.
ErrCodeUnsupportedMediaTypeException = "UnsupportedMediaTypeException"
)

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,51 @@
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
package lightsail
const (
// ErrCodeAccessDeniedException for service response error code
// "AccessDeniedException".
//
// Lightsail throws this exception when the user cannot be authenticated or
// uses invalid credentials to access a resource.
ErrCodeAccessDeniedException = "AccessDeniedException"
// ErrCodeAccountSetupInProgressException for service response error code
// "AccountSetupInProgressException".
//
// Lightsail throws this exception when an account is still in the setup in
// progress state.
ErrCodeAccountSetupInProgressException = "AccountSetupInProgressException"
// ErrCodeInvalidInputException for service response error code
// "InvalidInputException".
//
// Lightsail throws this exception when user input does not conform to the validation
// rules of an input field.
ErrCodeInvalidInputException = "InvalidInputException"
// ErrCodeNotFoundException for service response error code
// "NotFoundException".
//
// Lightsail throws this exception when it cannot find a resource.
ErrCodeNotFoundException = "NotFoundException"
// ErrCodeOperationFailureException for service response error code
// "OperationFailureException".
//
// Lightsail throws this exception when an operation fails to execute.
ErrCodeOperationFailureException = "OperationFailureException"
// ErrCodeServiceException for service response error code
// "ServiceException".
//
// A general service exception.
ErrCodeServiceException = "ServiceException"
// ErrCodeUnauthenticatedException for service response error code
// "UnauthenticatedException".
//
// Lightsail throws this exception when the user has not been authenticated.
ErrCodeUnauthenticatedException = "UnauthenticatedException"
)

View File

@ -81,10 +81,10 @@ func (c *OpsWorks) AssignInstanceRequest(input *AssignInstanceInput) (req *reque
// API operation AssignInstance for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AssignInstance
@ -160,10 +160,10 @@ func (c *OpsWorks) AssignVolumeRequest(input *AssignVolumeInput) (req *request.R
// API operation AssignVolume for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AssignVolume
@ -237,10 +237,10 @@ func (c *OpsWorks) AssociateElasticIpRequest(input *AssociateElasticIpInput) (re
// API operation AssociateElasticIp for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AssociateElasticIp
@ -317,10 +317,10 @@ func (c *OpsWorks) AttachElasticLoadBalancerRequest(input *AttachElasticLoadBala
// API operation AttachElasticLoadBalancer for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AttachElasticLoadBalancer
@ -391,10 +391,10 @@ func (c *OpsWorks) CloneStackRequest(input *CloneStackInput) (req *request.Reque
// API operation CloneStack for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CloneStack
@ -465,10 +465,10 @@ func (c *OpsWorks) CreateAppRequest(input *CreateAppInput) (req *request.Request
// API operation CreateApp for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateApp
@ -540,10 +540,10 @@ func (c *OpsWorks) CreateDeploymentRequest(input *CreateDeploymentInput) (req *r
// API operation CreateDeployment for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateDeployment
@ -614,10 +614,10 @@ func (c *OpsWorks) CreateInstanceRequest(input *CreateInstanceInput) (req *reque
// API operation CreateInstance for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateInstance
@ -694,10 +694,10 @@ func (c *OpsWorks) CreateLayerRequest(input *CreateLayerInput) (req *request.Req
// API operation CreateLayer for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateLayer
@ -766,7 +766,7 @@ func (c *OpsWorks) CreateStackRequest(input *CreateStackInput) (req *request.Req
// API operation CreateStack for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateStack
@ -835,7 +835,7 @@ func (c *OpsWorks) CreateUserProfileRequest(input *CreateUserProfileInput) (req
// API operation CreateUserProfile for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateUserProfile
@ -907,10 +907,10 @@ func (c *OpsWorks) DeleteAppRequest(input *DeleteAppInput) (req *request.Request
// API operation DeleteApp for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteApp
@ -985,10 +985,10 @@ func (c *OpsWorks) DeleteInstanceRequest(input *DeleteInstanceInput) (req *reque
// API operation DeleteInstance for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteInstance
@ -1062,10 +1062,10 @@ func (c *OpsWorks) DeleteLayerRequest(input *DeleteLayerInput) (req *request.Req
// API operation DeleteLayer for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteLayer
@ -1139,10 +1139,10 @@ func (c *OpsWorks) DeleteStackRequest(input *DeleteStackInput) (req *request.Req
// API operation DeleteStack for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteStack
@ -1213,10 +1213,10 @@ func (c *OpsWorks) DeleteUserProfileRequest(input *DeleteUserProfileInput) (req
// API operation DeleteUserProfile for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteUserProfile
@ -1289,10 +1289,10 @@ func (c *OpsWorks) DeregisterEcsClusterRequest(input *DeregisterEcsClusterInput)
// API operation DeregisterEcsCluster for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterEcsCluster
@ -1365,10 +1365,10 @@ func (c *OpsWorks) DeregisterElasticIpRequest(input *DeregisterElasticIpInput) (
// API operation DeregisterElasticIp for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterElasticIp
@ -1442,10 +1442,10 @@ func (c *OpsWorks) DeregisterInstanceRequest(input *DeregisterInstanceInput) (re
// API operation DeregisterInstance for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterInstance
@ -1517,10 +1517,10 @@ func (c *OpsWorks) DeregisterRdsDbInstanceRequest(input *DeregisterRdsDbInstance
// API operation DeregisterRdsDbInstance for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterRdsDbInstance
@ -1593,10 +1593,10 @@ func (c *OpsWorks) DeregisterVolumeRequest(input *DeregisterVolumeInput) (req *r
// API operation DeregisterVolume for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterVolume
@ -1663,10 +1663,10 @@ func (c *OpsWorks) DescribeAgentVersionsRequest(input *DescribeAgentVersionsInpu
// API operation DescribeAgentVersions for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeAgentVersions
@ -1738,10 +1738,10 @@ func (c *OpsWorks) DescribeAppsRequest(input *DescribeAppsInput) (req *request.R
// API operation DescribeApps for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeApps
@ -1813,10 +1813,10 @@ func (c *OpsWorks) DescribeCommandsRequest(input *DescribeCommandsInput) (req *r
// API operation DescribeCommands for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeCommands
@ -1888,10 +1888,10 @@ func (c *OpsWorks) DescribeDeploymentsRequest(input *DescribeDeploymentsInput) (
// API operation DescribeDeployments for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeDeployments
@ -1970,10 +1970,10 @@ func (c *OpsWorks) DescribeEcsClustersRequest(input *DescribeEcsClustersInput) (
// API operation DescribeEcsClusters for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeEcsClusters
@ -2070,10 +2070,10 @@ func (c *OpsWorks) DescribeElasticIpsRequest(input *DescribeElasticIpsInput) (re
// API operation DescribeElasticIps for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeElasticIps
@ -2145,10 +2145,10 @@ func (c *OpsWorks) DescribeElasticLoadBalancersRequest(input *DescribeElasticLoa
// API operation DescribeElasticLoadBalancers for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeElasticLoadBalancers
@ -2220,10 +2220,10 @@ func (c *OpsWorks) DescribeInstancesRequest(input *DescribeInstancesInput) (req
// API operation DescribeInstances for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeInstances
@ -2295,10 +2295,10 @@ func (c *OpsWorks) DescribeLayersRequest(input *DescribeLayersInput) (req *reque
// API operation DescribeLayers for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeLayers
@ -2370,10 +2370,10 @@ func (c *OpsWorks) DescribeLoadBasedAutoScalingRequest(input *DescribeLoadBasedA
// API operation DescribeLoadBasedAutoScaling for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeLoadBasedAutoScaling
@ -2507,10 +2507,10 @@ func (c *OpsWorks) DescribePermissionsRequest(input *DescribePermissionsInput) (
// API operation DescribePermissions for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribePermissions
@ -2582,10 +2582,10 @@ func (c *OpsWorks) DescribeRaidArraysRequest(input *DescribeRaidArraysInput) (re
// API operation DescribeRaidArrays for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeRaidArrays
@ -2655,10 +2655,10 @@ func (c *OpsWorks) DescribeRdsDbInstancesRequest(input *DescribeRdsDbInstancesIn
// API operation DescribeRdsDbInstances for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeRdsDbInstances
@ -2728,10 +2728,10 @@ func (c *OpsWorks) DescribeServiceErrorsRequest(input *DescribeServiceErrorsInpu
// API operation DescribeServiceErrors for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeServiceErrors
@ -2801,10 +2801,10 @@ func (c *OpsWorks) DescribeStackProvisioningParametersRequest(input *DescribeSta
// API operation DescribeStackProvisioningParameters for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeStackProvisioningParameters
@ -2875,10 +2875,10 @@ func (c *OpsWorks) DescribeStackSummaryRequest(input *DescribeStackSummaryInput)
// API operation DescribeStackSummary for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeStackSummary
@ -2948,10 +2948,10 @@ func (c *OpsWorks) DescribeStacksRequest(input *DescribeStacksInput) (req *reque
// API operation DescribeStacks for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeStacks
@ -3023,10 +3023,10 @@ func (c *OpsWorks) DescribeTimeBasedAutoScalingRequest(input *DescribeTimeBasedA
// API operation DescribeTimeBasedAutoScaling for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeTimeBasedAutoScaling
@ -3095,10 +3095,10 @@ func (c *OpsWorks) DescribeUserProfilesRequest(input *DescribeUserProfilesInput)
// API operation DescribeUserProfiles for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeUserProfiles
@ -3170,10 +3170,10 @@ func (c *OpsWorks) DescribeVolumesRequest(input *DescribeVolumesInput) (req *req
// API operation DescribeVolumes for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeVolumes
@ -3245,7 +3245,7 @@ func (c *OpsWorks) DetachElasticLoadBalancerRequest(input *DetachElasticLoadBala
// API operation DetachElasticLoadBalancer for usage and error information.
//
// Returned Error Codes:
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DetachElasticLoadBalancer
@ -3319,10 +3319,10 @@ func (c *OpsWorks) DisassociateElasticIpRequest(input *DisassociateElasticIpInpu
// API operation DisassociateElasticIp for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DisassociateElasticIp
@ -3393,10 +3393,10 @@ func (c *OpsWorks) GetHostnameSuggestionRequest(input *GetHostnameSuggestionInpu
// API operation GetHostnameSuggestion for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/GetHostnameSuggestion
@ -3463,10 +3463,10 @@ func (c *OpsWorks) GrantAccessRequest(input *GrantAccessInput) (req *request.Req
// API operation GrantAccess for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/GrantAccess
@ -3539,10 +3539,10 @@ func (c *OpsWorks) RebootInstanceRequest(input *RebootInstanceInput) (req *reque
// API operation RebootInstance for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RebootInstance
@ -3614,10 +3614,10 @@ func (c *OpsWorks) RegisterEcsClusterRequest(input *RegisterEcsClusterInput) (re
// API operation RegisterEcsCluster for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterEcsCluster
@ -3690,10 +3690,10 @@ func (c *OpsWorks) RegisterElasticIpRequest(input *RegisterElasticIpInput) (req
// API operation RegisterElasticIp for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterElasticIp
@ -3771,10 +3771,10 @@ func (c *OpsWorks) RegisterInstanceRequest(input *RegisterInstanceInput) (req *r
// API operation RegisterInstance for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterInstance
@ -3846,10 +3846,10 @@ func (c *OpsWorks) RegisterRdsDbInstanceRequest(input *RegisterRdsDbInstanceInpu
// API operation RegisterRdsDbInstance for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterRdsDbInstance
@ -3922,10 +3922,10 @@ func (c *OpsWorks) RegisterVolumeRequest(input *RegisterVolumeInput) (req *reque
// API operation RegisterVolume for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterVolume
@ -4004,10 +4004,10 @@ func (c *OpsWorks) SetLoadBasedAutoScalingRequest(input *SetLoadBasedAutoScaling
// API operation SetLoadBasedAutoScaling for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/SetLoadBasedAutoScaling
@ -4080,10 +4080,10 @@ func (c *OpsWorks) SetPermissionRequest(input *SetPermissionInput) (req *request
// API operation SetPermission for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/SetPermission
@ -4157,10 +4157,10 @@ func (c *OpsWorks) SetTimeBasedAutoScalingRequest(input *SetTimeBasedAutoScaling
// API operation SetTimeBasedAutoScaling for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/SetTimeBasedAutoScaling
@ -4233,10 +4233,10 @@ func (c *OpsWorks) StartInstanceRequest(input *StartInstanceInput) (req *request
// API operation StartInstance for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StartInstance
@ -4308,10 +4308,10 @@ func (c *OpsWorks) StartStackRequest(input *StartStackInput) (req *request.Reque
// API operation StartStack for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StartStack
@ -4386,10 +4386,10 @@ func (c *OpsWorks) StopInstanceRequest(input *StopInstanceInput) (req *request.R
// API operation StopInstance for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StopInstance
@ -4461,10 +4461,10 @@ func (c *OpsWorks) StopStackRequest(input *StopStackInput) (req *request.Request
// API operation StopStack for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StopStack
@ -4539,10 +4539,10 @@ func (c *OpsWorks) UnassignInstanceRequest(input *UnassignInstanceInput) (req *r
// API operation UnassignInstance for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UnassignInstance
@ -4615,10 +4615,10 @@ func (c *OpsWorks) UnassignVolumeRequest(input *UnassignVolumeInput) (req *reque
// API operation UnassignVolume for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UnassignVolume
@ -4690,10 +4690,10 @@ func (c *OpsWorks) UpdateAppRequest(input *UpdateAppInput) (req *request.Request
// API operation UpdateApp for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateApp
@ -4766,10 +4766,10 @@ func (c *OpsWorks) UpdateElasticIpRequest(input *UpdateElasticIpInput) (req *req
// API operation UpdateElasticIp for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateElasticIp
@ -4841,10 +4841,10 @@ func (c *OpsWorks) UpdateInstanceRequest(input *UpdateInstanceInput) (req *reque
// API operation UpdateInstance for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateInstance
@ -4916,10 +4916,10 @@ func (c *OpsWorks) UpdateLayerRequest(input *UpdateLayerInput) (req *request.Req
// API operation UpdateLayer for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateLayer
@ -4990,7 +4990,7 @@ func (c *OpsWorks) UpdateMyUserProfileRequest(input *UpdateMyUserProfileInput) (
// API operation UpdateMyUserProfile for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateMyUserProfile
@ -5062,10 +5062,10 @@ func (c *OpsWorks) UpdateRdsDbInstanceRequest(input *UpdateRdsDbInstanceInput) (
// API operation UpdateRdsDbInstance for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateRdsDbInstance
@ -5137,10 +5137,10 @@ func (c *OpsWorks) UpdateStackRequest(input *UpdateStackInput) (req *request.Req
// API operation UpdateStack for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateStack
@ -5211,10 +5211,10 @@ func (c *OpsWorks) UpdateUserProfileRequest(input *UpdateUserProfileInput) (req
// API operation UpdateUserProfile for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateUserProfile
@ -5287,10 +5287,10 @@ func (c *OpsWorks) UpdateVolumeRequest(input *UpdateVolumeInput) (req *request.R
// API operation UpdateVolume for usage and error information.
//
// Returned Error Codes:
// * ValidationException
// * ErrCodeValidationException "ValidationException"
// Indicates that a request was not valid.
//
// * ResourceNotFoundException
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// Indicates that a resource was not found.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateVolume

View File

@ -0,0 +1,18 @@
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
package opsworks
const (
// ErrCodeResourceNotFoundException for service response error code
// "ResourceNotFoundException".
//
// Indicates that a resource was not found.
ErrCodeResourceNotFoundException = "ResourceNotFoundException"
// ErrCodeValidationException for service response error code
// "ValidationException".
//
// Indicates that a request was not valid.
ErrCodeValidationException = "ValidationException"
)

File diff suppressed because it is too large Load Diff

490
vendor/github.com/aws/aws-sdk-go/service/rds/errors.go generated vendored Normal file
View File

@ -0,0 +1,490 @@
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
package rds
const (
// ErrCodeAuthorizationAlreadyExistsFault for service response error code
// "AuthorizationAlreadyExists".
//
// The specified CIDRIP or EC2 security group is already authorized for the
// specified DB security group.
ErrCodeAuthorizationAlreadyExistsFault = "AuthorizationAlreadyExists"
// ErrCodeAuthorizationNotFoundFault for service response error code
// "AuthorizationNotFound".
//
// Specified CIDRIP or EC2 security group is not authorized for the specified
// DB security group.
//
// RDS may not also be authorized via IAM to perform necessary actions on your
// behalf.
ErrCodeAuthorizationNotFoundFault = "AuthorizationNotFound"
// ErrCodeAuthorizationQuotaExceededFault for service response error code
// "AuthorizationQuotaExceeded".
//
// DB security group authorization quota has been reached.
ErrCodeAuthorizationQuotaExceededFault = "AuthorizationQuotaExceeded"
// ErrCodeCertificateNotFoundFault for service response error code
// "CertificateNotFound".
//
// CertificateIdentifier does not refer to an existing certificate.
ErrCodeCertificateNotFoundFault = "CertificateNotFound"
// ErrCodeDBClusterAlreadyExistsFault for service response error code
// "DBClusterAlreadyExistsFault".
//
// User already has a DB cluster with the given identifier.
ErrCodeDBClusterAlreadyExistsFault = "DBClusterAlreadyExistsFault"
// ErrCodeDBClusterNotFoundFault for service response error code
// "DBClusterNotFoundFault".
//
// DBClusterIdentifier does not refer to an existing DB cluster.
ErrCodeDBClusterNotFoundFault = "DBClusterNotFoundFault"
// ErrCodeDBClusterParameterGroupNotFoundFault for service response error code
// "DBClusterParameterGroupNotFound".
//
// DBClusterParameterGroupName does not refer to an existing DB Cluster parameter
// group.
ErrCodeDBClusterParameterGroupNotFoundFault = "DBClusterParameterGroupNotFound"
// ErrCodeDBClusterQuotaExceededFault for service response error code
// "DBClusterQuotaExceededFault".
//
// User attempted to create a new DB cluster and the user has already reached
// the maximum allowed DB cluster quota.
ErrCodeDBClusterQuotaExceededFault = "DBClusterQuotaExceededFault"
// ErrCodeDBClusterRoleAlreadyExistsFault for service response error code
// "DBClusterRoleAlreadyExists".
//
// The specified IAM role Amazon Resource Name (ARN) is already associated with
// the specified DB cluster.
ErrCodeDBClusterRoleAlreadyExistsFault = "DBClusterRoleAlreadyExists"
// ErrCodeDBClusterRoleNotFoundFault for service response error code
// "DBClusterRoleNotFound".
//
// The specified IAM role Amazon Resource Name (ARN) is not associated with
// the specified DB cluster.
ErrCodeDBClusterRoleNotFoundFault = "DBClusterRoleNotFound"
// ErrCodeDBClusterRoleQuotaExceededFault for service response error code
// "DBClusterRoleQuotaExceeded".
//
// You have exceeded the maximum number of IAM roles that can be associated
// with the specified DB cluster.
ErrCodeDBClusterRoleQuotaExceededFault = "DBClusterRoleQuotaExceeded"
// ErrCodeDBClusterSnapshotAlreadyExistsFault for service response error code
// "DBClusterSnapshotAlreadyExistsFault".
//
// User already has a DB cluster snapshot with the given identifier.
ErrCodeDBClusterSnapshotAlreadyExistsFault = "DBClusterSnapshotAlreadyExistsFault"
// ErrCodeDBClusterSnapshotNotFoundFault for service response error code
// "DBClusterSnapshotNotFoundFault".
//
// DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot.
ErrCodeDBClusterSnapshotNotFoundFault = "DBClusterSnapshotNotFoundFault"
// ErrCodeDBInstanceAlreadyExistsFault for service response error code
// "DBInstanceAlreadyExists".
//
// User already has a DB instance with the given identifier.
ErrCodeDBInstanceAlreadyExistsFault = "DBInstanceAlreadyExists"
// ErrCodeDBInstanceNotFoundFault for service response error code
// "DBInstanceNotFound".
//
// DBInstanceIdentifier does not refer to an existing DB instance.
ErrCodeDBInstanceNotFoundFault = "DBInstanceNotFound"
// ErrCodeDBLogFileNotFoundFault for service response error code
// "DBLogFileNotFoundFault".
//
// LogFileName does not refer to an existing DB log file.
ErrCodeDBLogFileNotFoundFault = "DBLogFileNotFoundFault"
// ErrCodeDBParameterGroupAlreadyExistsFault for service response error code
// "DBParameterGroupAlreadyExists".
//
// A DB parameter group with the same name exists.
ErrCodeDBParameterGroupAlreadyExistsFault = "DBParameterGroupAlreadyExists"
// ErrCodeDBParameterGroupNotFoundFault for service response error code
// "DBParameterGroupNotFound".
//
// DBParameterGroupName does not refer to an existing DB parameter group.
ErrCodeDBParameterGroupNotFoundFault = "DBParameterGroupNotFound"
// ErrCodeDBParameterGroupQuotaExceededFault for service response error code
// "DBParameterGroupQuotaExceeded".
//
// Request would result in user exceeding the allowed number of DB parameter
// groups.
ErrCodeDBParameterGroupQuotaExceededFault = "DBParameterGroupQuotaExceeded"
// ErrCodeDBSecurityGroupAlreadyExistsFault for service response error code
// "DBSecurityGroupAlreadyExists".
//
// A DB security group with the name specified in DBSecurityGroupName already
// exists.
ErrCodeDBSecurityGroupAlreadyExistsFault = "DBSecurityGroupAlreadyExists"
// ErrCodeDBSecurityGroupNotFoundFault for service response error code
// "DBSecurityGroupNotFound".
//
// DBSecurityGroupName does not refer to an existing DB security group.
ErrCodeDBSecurityGroupNotFoundFault = "DBSecurityGroupNotFound"
// ErrCodeDBSecurityGroupNotSupportedFault for service response error code
// "DBSecurityGroupNotSupported".
//
// A DB security group is not allowed for this action.
ErrCodeDBSecurityGroupNotSupportedFault = "DBSecurityGroupNotSupported"
// ErrCodeDBSecurityGroupQuotaExceededFault for service response error code
// "QuotaExceeded.DBSecurityGroup".
//
// Request would result in user exceeding the allowed number of DB security
// groups.
ErrCodeDBSecurityGroupQuotaExceededFault = "QuotaExceeded.DBSecurityGroup"
// ErrCodeDBSnapshotAlreadyExistsFault for service response error code
// "DBSnapshotAlreadyExists".
//
// DBSnapshotIdentifier is already used by an existing snapshot.
ErrCodeDBSnapshotAlreadyExistsFault = "DBSnapshotAlreadyExists"
// ErrCodeDBSnapshotNotFoundFault for service response error code
// "DBSnapshotNotFound".
//
// DBSnapshotIdentifier does not refer to an existing DB snapshot.
ErrCodeDBSnapshotNotFoundFault = "DBSnapshotNotFound"
// ErrCodeDBSubnetGroupAlreadyExistsFault for service response error code
// "DBSubnetGroupAlreadyExists".
//
// DBSubnetGroupName is already used by an existing DB subnet group.
ErrCodeDBSubnetGroupAlreadyExistsFault = "DBSubnetGroupAlreadyExists"
// ErrCodeDBSubnetGroupDoesNotCoverEnoughAZs for service response error code
// "DBSubnetGroupDoesNotCoverEnoughAZs".
//
// Subnets in the DB subnet group should cover at least two Availability Zones
// unless there is only one Availability Zone.
ErrCodeDBSubnetGroupDoesNotCoverEnoughAZs = "DBSubnetGroupDoesNotCoverEnoughAZs"
// ErrCodeDBSubnetGroupNotAllowedFault for service response error code
// "DBSubnetGroupNotAllowedFault".
//
// Indicates that the DBSubnetGroup should not be specified while creating read
// replicas that lie in the same region as the source instance.
ErrCodeDBSubnetGroupNotAllowedFault = "DBSubnetGroupNotAllowedFault"
// ErrCodeDBSubnetGroupNotFoundFault for service response error code
// "DBSubnetGroupNotFoundFault".
//
// DBSubnetGroupName does not refer to an existing DB subnet group.
ErrCodeDBSubnetGroupNotFoundFault = "DBSubnetGroupNotFoundFault"
// ErrCodeDBSubnetGroupQuotaExceededFault for service response error code
// "DBSubnetGroupQuotaExceeded".
//
// Request would result in user exceeding the allowed number of DB subnet groups.
ErrCodeDBSubnetGroupQuotaExceededFault = "DBSubnetGroupQuotaExceeded"
// ErrCodeDBSubnetQuotaExceededFault for service response error code
// "DBSubnetQuotaExceededFault".
//
// Request would result in user exceeding the allowed number of subnets in a
// DB subnet groups.
ErrCodeDBSubnetQuotaExceededFault = "DBSubnetQuotaExceededFault"
// ErrCodeDBUpgradeDependencyFailureFault for service response error code
// "DBUpgradeDependencyFailure".
//
// The DB upgrade failed because a resource the DB depends on could not be modified.
ErrCodeDBUpgradeDependencyFailureFault = "DBUpgradeDependencyFailure"
// ErrCodeDomainNotFoundFault for service response error code
// "DomainNotFoundFault".
//
// Domain does not refer to an existing Active Directory Domain.
ErrCodeDomainNotFoundFault = "DomainNotFoundFault"
// ErrCodeEventSubscriptionQuotaExceededFault for service response error code
// "EventSubscriptionQuotaExceeded".
//
// You have reached the maximum number of event subscriptions.
ErrCodeEventSubscriptionQuotaExceededFault = "EventSubscriptionQuotaExceeded"
// ErrCodeInstanceQuotaExceededFault for service response error code
// "InstanceQuotaExceeded".
//
// Request would result in user exceeding the allowed number of DB instances.
ErrCodeInstanceQuotaExceededFault = "InstanceQuotaExceeded"
// ErrCodeInsufficientDBClusterCapacityFault for service response error code
// "InsufficientDBClusterCapacityFault".
//
// The DB cluster does not have enough capacity for the current operation.
ErrCodeInsufficientDBClusterCapacityFault = "InsufficientDBClusterCapacityFault"
// ErrCodeInsufficientDBInstanceCapacityFault for service response error code
// "InsufficientDBInstanceCapacity".
//
// Specified DB instance class is not available in the specified Availability
// Zone.
ErrCodeInsufficientDBInstanceCapacityFault = "InsufficientDBInstanceCapacity"
// ErrCodeInsufficientStorageClusterCapacityFault for service response error code
// "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.
ErrCodeInsufficientStorageClusterCapacityFault = "InsufficientStorageClusterCapacity"
// ErrCodeInvalidDBClusterSnapshotStateFault for service response error code
// "InvalidDBClusterSnapshotStateFault".
//
// The supplied value is not a valid DB cluster snapshot state.
ErrCodeInvalidDBClusterSnapshotStateFault = "InvalidDBClusterSnapshotStateFault"
// ErrCodeInvalidDBClusterStateFault for service response error code
// "InvalidDBClusterStateFault".
//
// The DB cluster is not in a valid state.
ErrCodeInvalidDBClusterStateFault = "InvalidDBClusterStateFault"
// ErrCodeInvalidDBInstanceStateFault for service response error code
// "InvalidDBInstanceState".
//
// The specified DB instance is not in the available state.
ErrCodeInvalidDBInstanceStateFault = "InvalidDBInstanceState"
// ErrCodeInvalidDBParameterGroupStateFault for service response error code
// "InvalidDBParameterGroupState".
//
// The DB parameter group cannot be deleted because it is in use.
ErrCodeInvalidDBParameterGroupStateFault = "InvalidDBParameterGroupState"
// ErrCodeInvalidDBSecurityGroupStateFault for service response error code
// "InvalidDBSecurityGroupState".
//
// The state of the DB security group does not allow deletion.
ErrCodeInvalidDBSecurityGroupStateFault = "InvalidDBSecurityGroupState"
// ErrCodeInvalidDBSnapshotStateFault for service response error code
// "InvalidDBSnapshotState".
//
// The state of the DB snapshot does not allow deletion.
ErrCodeInvalidDBSnapshotStateFault = "InvalidDBSnapshotState"
// ErrCodeInvalidDBSubnetGroupFault for service response error code
// "InvalidDBSubnetGroupFault".
//
// Indicates the DBSubnetGroup does not belong to the same VPC as that of an
// existing cross region read replica of the same source instance.
ErrCodeInvalidDBSubnetGroupFault = "InvalidDBSubnetGroupFault"
// ErrCodeInvalidDBSubnetGroupStateFault for service response error code
// "InvalidDBSubnetGroupStateFault".
//
// The DB subnet group cannot be deleted because it is in use.
ErrCodeInvalidDBSubnetGroupStateFault = "InvalidDBSubnetGroupStateFault"
// ErrCodeInvalidDBSubnetStateFault for service response error code
// "InvalidDBSubnetStateFault".
//
// The DB subnet is not in the available state.
ErrCodeInvalidDBSubnetStateFault = "InvalidDBSubnetStateFault"
// ErrCodeInvalidEventSubscriptionStateFault for service response error code
// "InvalidEventSubscriptionState".
//
// This error can occur if someone else is modifying a subscription. You should
// retry the action.
ErrCodeInvalidEventSubscriptionStateFault = "InvalidEventSubscriptionState"
// ErrCodeInvalidOptionGroupStateFault for service response error code
// "InvalidOptionGroupStateFault".
//
// The option group is not in the available state.
ErrCodeInvalidOptionGroupStateFault = "InvalidOptionGroupStateFault"
// ErrCodeInvalidRestoreFault for service response error code
// "InvalidRestoreFault".
//
// Cannot restore from vpc backup to non-vpc DB instance.
ErrCodeInvalidRestoreFault = "InvalidRestoreFault"
// ErrCodeInvalidS3BucketFault for service response error code
// "InvalidS3BucketFault".
//
// The specified Amazon S3 bucket name could not be found or Amazon RDS is not
// authorized to access the specified Amazon S3 bucket. Verify the SourceS3BucketName
// and S3IngestionRoleArn values and try again.
ErrCodeInvalidS3BucketFault = "InvalidS3BucketFault"
// ErrCodeInvalidSubnet for service response error code
// "InvalidSubnet".
//
// The requested subnet is invalid, or multiple subnets were requested that
// are not all in a common VPC.
ErrCodeInvalidSubnet = "InvalidSubnet"
// ErrCodeInvalidVPCNetworkStateFault for service response error code
// "InvalidVPCNetworkStateFault".
//
// DB subnet group does not cover all Availability Zones after it is created
// because users' change.
ErrCodeInvalidVPCNetworkStateFault = "InvalidVPCNetworkStateFault"
// ErrCodeKMSKeyNotAccessibleFault for service response error code
// "KMSKeyNotAccessibleFault".
//
// Error accessing KMS key.
ErrCodeKMSKeyNotAccessibleFault = "KMSKeyNotAccessibleFault"
// ErrCodeOptionGroupAlreadyExistsFault for service response error code
// "OptionGroupAlreadyExistsFault".
//
// The option group you are trying to create already exists.
ErrCodeOptionGroupAlreadyExistsFault = "OptionGroupAlreadyExistsFault"
// ErrCodeOptionGroupNotFoundFault for service response error code
// "OptionGroupNotFoundFault".
//
// The specified option group could not be found.
ErrCodeOptionGroupNotFoundFault = "OptionGroupNotFoundFault"
// ErrCodeOptionGroupQuotaExceededFault for service response error code
// "OptionGroupQuotaExceededFault".
//
// The quota of 20 option groups was exceeded for this AWS account.
ErrCodeOptionGroupQuotaExceededFault = "OptionGroupQuotaExceededFault"
// ErrCodePointInTimeRestoreNotEnabledFault for service response error code
// "PointInTimeRestoreNotEnabled".
//
// SourceDBInstanceIdentifier refers to a DB instance with BackupRetentionPeriod
// equal to 0.
ErrCodePointInTimeRestoreNotEnabledFault = "PointInTimeRestoreNotEnabled"
// ErrCodeProvisionedIopsNotAvailableInAZFault for service response error code
// "ProvisionedIopsNotAvailableInAZFault".
//
// Provisioned IOPS not available in the specified Availability Zone.
ErrCodeProvisionedIopsNotAvailableInAZFault = "ProvisionedIopsNotAvailableInAZFault"
// ErrCodeReservedDBInstanceAlreadyExistsFault for service response error code
// "ReservedDBInstanceAlreadyExists".
//
// User already has a reservation with the given identifier.
ErrCodeReservedDBInstanceAlreadyExistsFault = "ReservedDBInstanceAlreadyExists"
// ErrCodeReservedDBInstanceNotFoundFault for service response error code
// "ReservedDBInstanceNotFound".
//
// The specified reserved DB Instance not found.
ErrCodeReservedDBInstanceNotFoundFault = "ReservedDBInstanceNotFound"
// ErrCodeReservedDBInstanceQuotaExceededFault for service response error code
// "ReservedDBInstanceQuotaExceeded".
//
// Request would exceed the user's DB Instance quota.
ErrCodeReservedDBInstanceQuotaExceededFault = "ReservedDBInstanceQuotaExceeded"
// ErrCodeReservedDBInstancesOfferingNotFoundFault for service response error code
// "ReservedDBInstancesOfferingNotFound".
//
// Specified offering does not exist.
ErrCodeReservedDBInstancesOfferingNotFoundFault = "ReservedDBInstancesOfferingNotFound"
// ErrCodeResourceNotFoundFault for service response error code
// "ResourceNotFoundFault".
//
// The specified resource ID was not found.
ErrCodeResourceNotFoundFault = "ResourceNotFoundFault"
// ErrCodeSNSInvalidTopicFault for service response error code
// "SNSInvalidTopic".
//
// SNS has responded that there is a problem with the SND topic specified.
ErrCodeSNSInvalidTopicFault = "SNSInvalidTopic"
// ErrCodeSNSNoAuthorizationFault for service response error code
// "SNSNoAuthorization".
//
// You do not have permission to publish to the SNS topic ARN.
ErrCodeSNSNoAuthorizationFault = "SNSNoAuthorization"
// ErrCodeSNSTopicArnNotFoundFault for service response error code
// "SNSTopicArnNotFound".
//
// The SNS topic ARN does not exist.
ErrCodeSNSTopicArnNotFoundFault = "SNSTopicArnNotFound"
// ErrCodeSharedSnapshotQuotaExceededFault for service response error code
// "SharedSnapshotQuotaExceeded".
//
// You have exceeded the maximum number of accounts that you can share a manual
// DB snapshot with.
ErrCodeSharedSnapshotQuotaExceededFault = "SharedSnapshotQuotaExceeded"
// ErrCodeSnapshotQuotaExceededFault for service response error code
// "SnapshotQuotaExceeded".
//
// Request would result in user exceeding the allowed number of DB snapshots.
ErrCodeSnapshotQuotaExceededFault = "SnapshotQuotaExceeded"
// ErrCodeSourceNotFoundFault for service response error code
// "SourceNotFound".
//
// The requested source could not be found.
ErrCodeSourceNotFoundFault = "SourceNotFound"
// ErrCodeStorageQuotaExceededFault for service response error code
// "StorageQuotaExceeded".
//
// Request would result in user exceeding the allowed amount of storage available
// across all DB instances.
ErrCodeStorageQuotaExceededFault = "StorageQuotaExceeded"
// ErrCodeStorageTypeNotSupportedFault for service response error code
// "StorageTypeNotSupported".
//
// StorageType specified cannot be associated with the DB Instance.
ErrCodeStorageTypeNotSupportedFault = "StorageTypeNotSupported"
// ErrCodeSubnetAlreadyInUse for service response error code
// "SubnetAlreadyInUse".
//
// The DB subnet is already in use in the Availability Zone.
ErrCodeSubnetAlreadyInUse = "SubnetAlreadyInUse"
// ErrCodeSubscriptionAlreadyExistFault for service response error code
// "SubscriptionAlreadyExist".
//
// The supplied subscription name already exists.
ErrCodeSubscriptionAlreadyExistFault = "SubscriptionAlreadyExist"
// ErrCodeSubscriptionCategoryNotFoundFault for service response error code
// "SubscriptionCategoryNotFound".
//
// The supplied category does not exist.
ErrCodeSubscriptionCategoryNotFoundFault = "SubscriptionCategoryNotFound"
// ErrCodeSubscriptionNotFoundFault for service response error code
// "SubscriptionNotFound".
//
// The subscription name does not exist.
ErrCodeSubscriptionNotFoundFault = "SubscriptionNotFound"
)

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,566 @@
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
package redshift
const (
// ErrCodeAccessToSnapshotDeniedFault for service response error code
// "AccessToSnapshotDenied".
//
// The owner of the specified snapshot has not authorized your account to access
// the snapshot.
ErrCodeAccessToSnapshotDeniedFault = "AccessToSnapshotDenied"
// ErrCodeAuthorizationAlreadyExistsFault for service response error code
// "AuthorizationAlreadyExists".
//
// The specified CIDR block or EC2 security group is already authorized for
// the specified cluster security group.
ErrCodeAuthorizationAlreadyExistsFault = "AuthorizationAlreadyExists"
// ErrCodeAuthorizationNotFoundFault for service response error code
// "AuthorizationNotFound".
//
// The specified CIDR IP range or EC2 security group is not authorized for the
// specified cluster security group.
ErrCodeAuthorizationNotFoundFault = "AuthorizationNotFound"
// ErrCodeAuthorizationQuotaExceededFault for service response error code
// "AuthorizationQuotaExceeded".
//
// The authorization quota for the cluster security group has been reached.
ErrCodeAuthorizationQuotaExceededFault = "AuthorizationQuotaExceeded"
// ErrCodeBucketNotFoundFault for service response error code
// "BucketNotFoundFault".
//
// Could not find the specified S3 bucket.
ErrCodeBucketNotFoundFault = "BucketNotFoundFault"
// ErrCodeClusterAlreadyExistsFault for service response error code
// "ClusterAlreadyExists".
//
// The account already has a cluster with the given identifier.
ErrCodeClusterAlreadyExistsFault = "ClusterAlreadyExists"
// ErrCodeClusterNotFoundFault for service response error code
// "ClusterNotFound".
//
// The ClusterIdentifier parameter does not refer to an existing cluster.
ErrCodeClusterNotFoundFault = "ClusterNotFound"
// ErrCodeClusterParameterGroupAlreadyExistsFault for service response error code
// "ClusterParameterGroupAlreadyExists".
//
// A cluster parameter group with the same name already exists.
ErrCodeClusterParameterGroupAlreadyExistsFault = "ClusterParameterGroupAlreadyExists"
// ErrCodeClusterParameterGroupNotFoundFault for service response error code
// "ClusterParameterGroupNotFound".
//
// The parameter group name does not refer to an existing parameter group.
ErrCodeClusterParameterGroupNotFoundFault = "ClusterParameterGroupNotFound"
// ErrCodeClusterParameterGroupQuotaExceededFault for service response error code
// "ClusterParameterGroupQuotaExceeded".
//
// The request would result in the user exceeding the allowed number of cluster
// parameter groups. For information about increasing your quota, go to Limits
// in Amazon Redshift (http://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html)
// in the Amazon Redshift Cluster Management Guide.
ErrCodeClusterParameterGroupQuotaExceededFault = "ClusterParameterGroupQuotaExceeded"
// ErrCodeClusterQuotaExceededFault for service response error code
// "ClusterQuotaExceeded".
//
// The request would exceed the allowed number of cluster instances for this
// account. For information about increasing your quota, go to Limits in Amazon
// Redshift (http://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html)
// in the Amazon Redshift Cluster Management Guide.
ErrCodeClusterQuotaExceededFault = "ClusterQuotaExceeded"
// ErrCodeClusterSecurityGroupAlreadyExistsFault for service response error code
// "ClusterSecurityGroupAlreadyExists".
//
// A cluster security group with the same name already exists.
ErrCodeClusterSecurityGroupAlreadyExistsFault = "ClusterSecurityGroupAlreadyExists"
// ErrCodeClusterSecurityGroupNotFoundFault for service response error code
// "ClusterSecurityGroupNotFound".
//
// The cluster security group name does not refer to an existing cluster security
// group.
ErrCodeClusterSecurityGroupNotFoundFault = "ClusterSecurityGroupNotFound"
// ErrCodeClusterSecurityGroupQuotaExceededFault for service response error code
// "QuotaExceeded.ClusterSecurityGroup".
//
// The request would result in the user exceeding the allowed number of cluster
// security groups. For information about increasing your quota, go to Limits
// in Amazon Redshift (http://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html)
// in the Amazon Redshift Cluster Management Guide.
ErrCodeClusterSecurityGroupQuotaExceededFault = "QuotaExceeded.ClusterSecurityGroup"
// ErrCodeClusterSnapshotAlreadyExistsFault for service response error code
// "ClusterSnapshotAlreadyExists".
//
// The value specified as a snapshot identifier is already used by an existing
// snapshot.
ErrCodeClusterSnapshotAlreadyExistsFault = "ClusterSnapshotAlreadyExists"
// ErrCodeClusterSnapshotNotFoundFault for service response error code
// "ClusterSnapshotNotFound".
//
// The snapshot identifier does not refer to an existing cluster snapshot.
ErrCodeClusterSnapshotNotFoundFault = "ClusterSnapshotNotFound"
// ErrCodeClusterSnapshotQuotaExceededFault for service response error code
// "ClusterSnapshotQuotaExceeded".
//
// The request would result in the user exceeding the allowed number of cluster
// snapshots.
ErrCodeClusterSnapshotQuotaExceededFault = "ClusterSnapshotQuotaExceeded"
// ErrCodeClusterSubnetGroupAlreadyExistsFault for service response error code
// "ClusterSubnetGroupAlreadyExists".
//
// A ClusterSubnetGroupName is already used by an existing cluster subnet group.
ErrCodeClusterSubnetGroupAlreadyExistsFault = "ClusterSubnetGroupAlreadyExists"
// ErrCodeClusterSubnetGroupNotFoundFault for service response error code
// "ClusterSubnetGroupNotFoundFault".
//
// The cluster subnet group name does not refer to an existing cluster subnet
// group.
ErrCodeClusterSubnetGroupNotFoundFault = "ClusterSubnetGroupNotFoundFault"
// ErrCodeClusterSubnetGroupQuotaExceededFault for service response error code
// "ClusterSubnetGroupQuotaExceeded".
//
// The request would result in user exceeding the allowed number of cluster
// subnet groups. For information about increasing your quota, go to Limits
// in Amazon Redshift (http://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html)
// in the Amazon Redshift Cluster Management Guide.
ErrCodeClusterSubnetGroupQuotaExceededFault = "ClusterSubnetGroupQuotaExceeded"
// ErrCodeClusterSubnetQuotaExceededFault for service response error code
// "ClusterSubnetQuotaExceededFault".
//
// The request would result in user exceeding the allowed number of subnets
// in a cluster subnet groups. For information about increasing your quota,
// go to Limits in Amazon Redshift (http://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html)
// in the Amazon Redshift Cluster Management Guide.
ErrCodeClusterSubnetQuotaExceededFault = "ClusterSubnetQuotaExceededFault"
// ErrCodeCopyToRegionDisabledFault for service response error code
// "CopyToRegionDisabledFault".
//
// Cross-region snapshot copy was temporarily disabled. Try your request again.
ErrCodeCopyToRegionDisabledFault = "CopyToRegionDisabledFault"
// ErrCodeDependentServiceRequestThrottlingFault for service response error code
// "DependentServiceRequestThrottlingFault".
//
// The request cannot be completed because a dependent service is throttling
// requests made by Amazon Redshift on your behalf. Wait and retry the request.
ErrCodeDependentServiceRequestThrottlingFault = "DependentServiceRequestThrottlingFault"
// ErrCodeEventSubscriptionQuotaExceededFault for service response error code
// "EventSubscriptionQuotaExceeded".
//
// The request would exceed the allowed number of event subscriptions for this
// account. For information about increasing your quota, go to Limits in Amazon
// Redshift (http://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html)
// in the Amazon Redshift Cluster Management Guide.
ErrCodeEventSubscriptionQuotaExceededFault = "EventSubscriptionQuotaExceeded"
// ErrCodeHsmClientCertificateAlreadyExistsFault for service response error code
// "HsmClientCertificateAlreadyExistsFault".
//
// There is already an existing Amazon Redshift HSM client certificate with
// the specified identifier.
ErrCodeHsmClientCertificateAlreadyExistsFault = "HsmClientCertificateAlreadyExistsFault"
// ErrCodeHsmClientCertificateNotFoundFault for service response error code
// "HsmClientCertificateNotFoundFault".
//
// There is no Amazon Redshift HSM client certificate with the specified identifier.
ErrCodeHsmClientCertificateNotFoundFault = "HsmClientCertificateNotFoundFault"
// ErrCodeHsmClientCertificateQuotaExceededFault for service response error code
// "HsmClientCertificateQuotaExceededFault".
//
// The quota for HSM client certificates has been reached. For information about
// increasing your quota, go to Limits in Amazon Redshift (http://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html)
// in the Amazon Redshift Cluster Management Guide.
ErrCodeHsmClientCertificateQuotaExceededFault = "HsmClientCertificateQuotaExceededFault"
// ErrCodeHsmConfigurationAlreadyExistsFault for service response error code
// "HsmConfigurationAlreadyExistsFault".
//
// There is already an existing Amazon Redshift HSM configuration with the specified
// identifier.
ErrCodeHsmConfigurationAlreadyExistsFault = "HsmConfigurationAlreadyExistsFault"
// ErrCodeHsmConfigurationNotFoundFault for service response error code
// "HsmConfigurationNotFoundFault".
//
// There is no Amazon Redshift HSM configuration with the specified identifier.
ErrCodeHsmConfigurationNotFoundFault = "HsmConfigurationNotFoundFault"
// ErrCodeHsmConfigurationQuotaExceededFault for service response error code
// "HsmConfigurationQuotaExceededFault".
//
// The quota for HSM configurations has been reached. For information about
// increasing your quota, go to Limits in Amazon Redshift (http://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html)
// in the Amazon Redshift Cluster Management Guide.
ErrCodeHsmConfigurationQuotaExceededFault = "HsmConfigurationQuotaExceededFault"
// ErrCodeInProgressTableRestoreQuotaExceededFault for service response error code
// "InProgressTableRestoreQuotaExceededFault".
//
// You have exceeded the allowed number of table restore requests. Wait for
// your current table restore requests to complete before making a new request.
ErrCodeInProgressTableRestoreQuotaExceededFault = "InProgressTableRestoreQuotaExceededFault"
// ErrCodeIncompatibleOrderableOptions for service response error code
// "IncompatibleOrderableOptions".
//
// The specified options are incompatible.
ErrCodeIncompatibleOrderableOptions = "IncompatibleOrderableOptions"
// ErrCodeInsufficientClusterCapacityFault for service response error code
// "InsufficientClusterCapacity".
//
// The number of nodes specified exceeds the allotted capacity of the cluster.
ErrCodeInsufficientClusterCapacityFault = "InsufficientClusterCapacity"
// ErrCodeInsufficientS3BucketPolicyFault for service response error code
// "InsufficientS3BucketPolicyFault".
//
// The cluster does not have read bucket or put object permissions on the S3
// bucket specified when enabling logging.
ErrCodeInsufficientS3BucketPolicyFault = "InsufficientS3BucketPolicyFault"
// ErrCodeInvalidClusterParameterGroupStateFault for service response error code
// "InvalidClusterParameterGroupState".
//
// The cluster parameter group action can not be completed because another task
// is in progress that involves the parameter group. Wait a few moments and
// try the operation again.
ErrCodeInvalidClusterParameterGroupStateFault = "InvalidClusterParameterGroupState"
// ErrCodeInvalidClusterSecurityGroupStateFault for service response error code
// "InvalidClusterSecurityGroupState".
//
// The state of the cluster security group is not available.
ErrCodeInvalidClusterSecurityGroupStateFault = "InvalidClusterSecurityGroupState"
// ErrCodeInvalidClusterSnapshotStateFault for service response error code
// "InvalidClusterSnapshotState".
//
// The specified cluster snapshot is not in the available state, or other accounts
// are authorized to access the snapshot.
ErrCodeInvalidClusterSnapshotStateFault = "InvalidClusterSnapshotState"
// ErrCodeInvalidClusterStateFault for service response error code
// "InvalidClusterState".
//
// The specified cluster is not in the available state.
ErrCodeInvalidClusterStateFault = "InvalidClusterState"
// ErrCodeInvalidClusterSubnetGroupStateFault for service response error code
// "InvalidClusterSubnetGroupStateFault".
//
// The cluster subnet group cannot be deleted because it is in use.
ErrCodeInvalidClusterSubnetGroupStateFault = "InvalidClusterSubnetGroupStateFault"
// ErrCodeInvalidClusterSubnetStateFault for service response error code
// "InvalidClusterSubnetStateFault".
//
// The state of the subnet is invalid.
ErrCodeInvalidClusterSubnetStateFault = "InvalidClusterSubnetStateFault"
// ErrCodeInvalidElasticIpFault for service response error code
// "InvalidElasticIpFault".
//
// The Elastic IP (EIP) is invalid or cannot be found.
ErrCodeInvalidElasticIpFault = "InvalidElasticIpFault"
// ErrCodeInvalidHsmClientCertificateStateFault for service response error code
// "InvalidHsmClientCertificateStateFault".
//
// The specified HSM client certificate is not in the available state, or it
// is still in use by one or more Amazon Redshift clusters.
ErrCodeInvalidHsmClientCertificateStateFault = "InvalidHsmClientCertificateStateFault"
// ErrCodeInvalidHsmConfigurationStateFault for service response error code
// "InvalidHsmConfigurationStateFault".
//
// The specified HSM configuration is not in the available state, or it is still
// in use by one or more Amazon Redshift clusters.
ErrCodeInvalidHsmConfigurationStateFault = "InvalidHsmConfigurationStateFault"
// ErrCodeInvalidRestoreFault for service response error code
// "InvalidRestore".
//
// The restore is invalid.
ErrCodeInvalidRestoreFault = "InvalidRestore"
// ErrCodeInvalidS3BucketNameFault for service response error code
// "InvalidS3BucketNameFault".
//
// The S3 bucket name is invalid. For more information about naming rules, go
// to Bucket Restrictions and Limitations (http://docs.aws.amazon.com/AmazonS3/latest/dev/BucketRestrictions.html)
// in the Amazon Simple Storage Service (S3) Developer Guide.
ErrCodeInvalidS3BucketNameFault = "InvalidS3BucketNameFault"
// ErrCodeInvalidS3KeyPrefixFault for service response error code
// "InvalidS3KeyPrefixFault".
//
// The string specified for the logging S3 key prefix does not comply with the
// documented constraints.
ErrCodeInvalidS3KeyPrefixFault = "InvalidS3KeyPrefixFault"
// ErrCodeInvalidSnapshotCopyGrantStateFault for service response error code
// "InvalidSnapshotCopyGrantStateFault".
//
// The snapshot copy grant can't be deleted because it is used by one or more
// clusters.
ErrCodeInvalidSnapshotCopyGrantStateFault = "InvalidSnapshotCopyGrantStateFault"
// ErrCodeInvalidSubnet for service response error code
// "InvalidSubnet".
//
// The requested subnet is not valid, or not all of the subnets are in the same
// VPC.
ErrCodeInvalidSubnet = "InvalidSubnet"
// ErrCodeInvalidSubscriptionStateFault for service response error code
// "InvalidSubscriptionStateFault".
//
// The subscription request is invalid because it is a duplicate request. This
// subscription request is already in progress.
ErrCodeInvalidSubscriptionStateFault = "InvalidSubscriptionStateFault"
// ErrCodeInvalidTableRestoreArgumentFault for service response error code
// "InvalidTableRestoreArgument".
//
// The value specified for the sourceDatabaseName, sourceSchemaName, or sourceTableName
// parameter, or a combination of these, doesn't exist in the snapshot.
ErrCodeInvalidTableRestoreArgumentFault = "InvalidTableRestoreArgument"
// ErrCodeInvalidTagFault for service response error code
// "InvalidTagFault".
//
// The tag is invalid.
ErrCodeInvalidTagFault = "InvalidTagFault"
// ErrCodeInvalidVPCNetworkStateFault for service response error code
// "InvalidVPCNetworkStateFault".
//
// The cluster subnet group does not cover all Availability Zones.
ErrCodeInvalidVPCNetworkStateFault = "InvalidVPCNetworkStateFault"
// ErrCodeLimitExceededFault for service response error code
// "LimitExceededFault".
//
// The encryption key has exceeded its grant limit in AWS KMS.
ErrCodeLimitExceededFault = "LimitExceededFault"
// ErrCodeNumberOfNodesPerClusterLimitExceededFault for service response error code
// "NumberOfNodesPerClusterLimitExceeded".
//
// The operation would exceed the number of nodes allowed for a cluster.
ErrCodeNumberOfNodesPerClusterLimitExceededFault = "NumberOfNodesPerClusterLimitExceeded"
// ErrCodeNumberOfNodesQuotaExceededFault for service response error code
// "NumberOfNodesQuotaExceeded".
//
// The operation would exceed the number of nodes allotted to the account. For
// information about increasing your quota, go to Limits in Amazon Redshift
// (http://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html)
// in the Amazon Redshift Cluster Management Guide.
ErrCodeNumberOfNodesQuotaExceededFault = "NumberOfNodesQuotaExceeded"
// ErrCodeReservedNodeAlreadyExistsFault for service response error code
// "ReservedNodeAlreadyExists".
//
// User already has a reservation with the given identifier.
ErrCodeReservedNodeAlreadyExistsFault = "ReservedNodeAlreadyExists"
// ErrCodeReservedNodeNotFoundFault for service response error code
// "ReservedNodeNotFound".
//
// The specified reserved compute node not found.
ErrCodeReservedNodeNotFoundFault = "ReservedNodeNotFound"
// ErrCodeReservedNodeOfferingNotFoundFault for service response error code
// "ReservedNodeOfferingNotFound".
//
// Specified offering does not exist.
ErrCodeReservedNodeOfferingNotFoundFault = "ReservedNodeOfferingNotFound"
// ErrCodeReservedNodeQuotaExceededFault for service response error code
// "ReservedNodeQuotaExceeded".
//
// Request would exceed the user's compute node quota. For information about
// increasing your quota, go to Limits in Amazon Redshift (http://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html)
// in the Amazon Redshift Cluster Management Guide.
ErrCodeReservedNodeQuotaExceededFault = "ReservedNodeQuotaExceeded"
// ErrCodeResizeNotFoundFault for service response error code
// "ResizeNotFound".
//
// A resize operation for the specified cluster is not found.
ErrCodeResizeNotFoundFault = "ResizeNotFound"
// ErrCodeResourceNotFoundFault for service response error code
// "ResourceNotFoundFault".
//
// The resource could not be found.
ErrCodeResourceNotFoundFault = "ResourceNotFoundFault"
// ErrCodeSNSInvalidTopicFault for service response error code
// "SNSInvalidTopic".
//
// Amazon SNS has responded that there is a problem with the specified Amazon
// SNS topic.
ErrCodeSNSInvalidTopicFault = "SNSInvalidTopic"
// ErrCodeSNSNoAuthorizationFault for service response error code
// "SNSNoAuthorization".
//
// You do not have permission to publish to the specified Amazon SNS topic.
ErrCodeSNSNoAuthorizationFault = "SNSNoAuthorization"
// ErrCodeSNSTopicArnNotFoundFault for service response error code
// "SNSTopicArnNotFound".
//
// An Amazon SNS topic with the specified Amazon Resource Name (ARN) does not
// exist.
ErrCodeSNSTopicArnNotFoundFault = "SNSTopicArnNotFound"
// ErrCodeSnapshotCopyAlreadyDisabledFault for service response error code
// "SnapshotCopyAlreadyDisabledFault".
//
// The cluster already has cross-region snapshot copy disabled.
ErrCodeSnapshotCopyAlreadyDisabledFault = "SnapshotCopyAlreadyDisabledFault"
// ErrCodeSnapshotCopyAlreadyEnabledFault for service response error code
// "SnapshotCopyAlreadyEnabledFault".
//
// The cluster already has cross-region snapshot copy enabled.
ErrCodeSnapshotCopyAlreadyEnabledFault = "SnapshotCopyAlreadyEnabledFault"
// ErrCodeSnapshotCopyDisabledFault for service response error code
// "SnapshotCopyDisabledFault".
//
// Cross-region snapshot copy was temporarily disabled. Try your request again.
ErrCodeSnapshotCopyDisabledFault = "SnapshotCopyDisabledFault"
// ErrCodeSnapshotCopyGrantAlreadyExistsFault for service response error code
// "SnapshotCopyGrantAlreadyExistsFault".
//
// The snapshot copy grant can't be created because a grant with the same name
// already exists.
ErrCodeSnapshotCopyGrantAlreadyExistsFault = "SnapshotCopyGrantAlreadyExistsFault"
// ErrCodeSnapshotCopyGrantNotFoundFault for service response error code
// "SnapshotCopyGrantNotFoundFault".
//
// The specified snapshot copy grant can't be found. Make sure that the name
// is typed correctly and that the grant exists in the destination region.
ErrCodeSnapshotCopyGrantNotFoundFault = "SnapshotCopyGrantNotFoundFault"
// ErrCodeSnapshotCopyGrantQuotaExceededFault for service response error code
// "SnapshotCopyGrantQuotaExceededFault".
//
// The AWS account has exceeded the maximum number of snapshot copy grants in
// this region.
ErrCodeSnapshotCopyGrantQuotaExceededFault = "SnapshotCopyGrantQuotaExceededFault"
// ErrCodeSourceNotFoundFault for service response error code
// "SourceNotFound".
//
// The specified Amazon Redshift event source could not be found.
ErrCodeSourceNotFoundFault = "SourceNotFound"
// ErrCodeSubnetAlreadyInUse for service response error code
// "SubnetAlreadyInUse".
//
// A specified subnet is already in use by another cluster.
ErrCodeSubnetAlreadyInUse = "SubnetAlreadyInUse"
// ErrCodeSubscriptionAlreadyExistFault for service response error code
// "SubscriptionAlreadyExist".
//
// There is already an existing event notification subscription with the specified
// name.
ErrCodeSubscriptionAlreadyExistFault = "SubscriptionAlreadyExist"
// ErrCodeSubscriptionCategoryNotFoundFault for service response error code
// "SubscriptionCategoryNotFound".
//
// The value specified for the event category was not one of the allowed values,
// or it specified a category that does not apply to the specified source type.
// The allowed values are Configuration, Management, Monitoring, and Security.
ErrCodeSubscriptionCategoryNotFoundFault = "SubscriptionCategoryNotFound"
// ErrCodeSubscriptionEventIdNotFoundFault for service response error code
// "SubscriptionEventIdNotFound".
//
// An Amazon Redshift event with the specified event ID does not exist.
ErrCodeSubscriptionEventIdNotFoundFault = "SubscriptionEventIdNotFound"
// ErrCodeSubscriptionNotFoundFault for service response error code
// "SubscriptionNotFound".
//
// An Amazon Redshift event notification subscription with the specified name
// does not exist.
ErrCodeSubscriptionNotFoundFault = "SubscriptionNotFound"
// ErrCodeSubscriptionSeverityNotFoundFault for service response error code
// "SubscriptionSeverityNotFound".
//
// The value specified for the event severity was not one of the allowed values,
// or it specified a severity that does not apply to the specified source type.
// The allowed values are ERROR and INFO.
ErrCodeSubscriptionSeverityNotFoundFault = "SubscriptionSeverityNotFound"
// ErrCodeTableRestoreNotFoundFault for service response error code
// "TableRestoreNotFoundFault".
//
// The specified TableRestoreRequestId value was not found.
ErrCodeTableRestoreNotFoundFault = "TableRestoreNotFoundFault"
// ErrCodeTagLimitExceededFault for service response error code
// "TagLimitExceededFault".
//
// The request exceeds the limit of 10 tags for the resource.
ErrCodeTagLimitExceededFault = "TagLimitExceededFault"
// ErrCodeUnauthorizedOperation for service response error code
// "UnauthorizedOperation".
//
// Your account is not authorized to perform the requested operation.
ErrCodeUnauthorizedOperation = "UnauthorizedOperation"
// ErrCodeUnknownSnapshotCopyRegionFault for service response error code
// "UnknownSnapshotCopyRegionFault".
//
// The specified region is incorrect or does not exist.
ErrCodeUnknownSnapshotCopyRegionFault = "UnknownSnapshotCopyRegionFault"
// ErrCodeUnsupportedOperationFault for service response error code
// "UnsupportedOperation".
//
// The requested operation isn't supported.
ErrCodeUnsupportedOperationFault = "UnsupportedOperation"
// ErrCodeUnsupportedOptionFault for service response error code
// "UnsupportedOptionFault".
//
// A request option was specified that is not supported.
ErrCodeUnsupportedOptionFault = "UnsupportedOptionFault"
)

View File

@ -80,32 +80,32 @@ func (c *Route53) AssociateVPCWithHostedZoneRequest(input *AssociateVPCWithHoste
// API operation AssociateVPCWithHostedZone for usage and error information.
//
// Returned Error Codes:
// * NoSuchHostedZone
// * ErrCodeNoSuchHostedZone "NoSuchHostedZone"
// No hosted zone exists with the ID that you specified.
//
// * NotAuthorizedException
// * ErrCodeNotAuthorizedException "NotAuthorizedException"
// Associating the specified VPC with the specified hosted zone has not been
// authorized.
//
// * InvalidVPCId
// * 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.
//
// * InvalidInput
// * ErrCodeInvalidInput "InvalidInput"
// The input is not valid.
//
// * PublicZoneVPCAssociation
// * 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.
//
// * ConflictingDomainExists
// * ErrCodeConflictingDomainExists "ConflictingDomainExists"
// You specified an Amazon VPC that you're already using for another hosted
// zone, and the domain that you specified for one of the hosted zones is a
// subdomain of the domain that you specified for the other hosted zone. For
// example, you can't use the same Amazon VPC for the hosted zones for example.com
// and test.example.com.
//
// * LimitsExceeded
// * ErrCodeLimitsExceeded "LimitsExceeded"
// The limits specified for a resource have been exceeded.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/AssociateVPCWithHostedZone
@ -260,21 +260,21 @@ func (c *Route53) ChangeResourceRecordSetsRequest(input *ChangeResourceRecordSet
// API operation ChangeResourceRecordSets for usage and error information.
//
// Returned Error Codes:
// * NoSuchHostedZone
// * ErrCodeNoSuchHostedZone "NoSuchHostedZone"
// No hosted zone exists with the ID that you specified.
//
// * NoSuchHealthCheck
// * ErrCodeNoSuchHealthCheck "NoSuchHealthCheck"
// No health check exists with the ID that you specified in the DeleteHealthCheck
// request.
//
// * InvalidChangeBatch
// * 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.
//
// * InvalidInput
// * ErrCodeInvalidInput "InvalidInput"
// The input is not valid.
//
// * PriorRequestNotComplete
// * 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 Amazon Route 53 returns this error repeatedly
@ -347,25 +347,24 @@ func (c *Route53) ChangeTagsForResourceRequest(input *ChangeTagsForResourceInput
// API operation ChangeTagsForResource for usage and error information.
//
// Returned Error Codes:
// * InvalidInput
// * ErrCodeInvalidInput "InvalidInput"
// The input is not valid.
//
// * NoSuchHealthCheck
// * ErrCodeNoSuchHealthCheck "NoSuchHealthCheck"
// No health check exists with the ID that you specified in the DeleteHealthCheck
// request.
//
// * NoSuchHostedZone
// * ErrCodeNoSuchHostedZone "NoSuchHostedZone"
// No hosted zone exists with the ID that you specified.
//
// * PriorRequestNotComplete
// * 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 Amazon 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.
//
// * ThrottlingException
// * ErrCodeThrottlingException "ThrottlingException"
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ChangeTagsForResource
func (c *Route53) ChangeTagsForResource(input *ChangeTagsForResourceInput) (*ChangeTagsForResourceOutput, error) {
@ -460,18 +459,18 @@ func (c *Route53) CreateHealthCheckRequest(input *CreateHealthCheckInput) (req *
// API operation CreateHealthCheck for usage and error information.
//
// Returned Error Codes:
// * TooManyHealthChecks
// * ErrCodeTooManyHealthChecks "TooManyHealthChecks"
// You have reached the maximum number of active health checks for an AWS account.
// The default limit is 100. To request a higher limit, create a case (http://aws.amazon.com/route53-request)
// with the AWS Support Center.
//
// * HealthCheckAlreadyExists
// * ErrCodeHealthCheckAlreadyExists "HealthCheckAlreadyExists"
// The health check you're attempting to create already exists.
//
// Amazon Route 53 returns this error when a health check has already been created
// with the specified value for CallerReference.
//
// * InvalidInput
// * ErrCodeInvalidInput "InvalidInput"
// The input is not valid.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateHealthCheck
@ -575,44 +574,44 @@ func (c *Route53) CreateHostedZoneRequest(input *CreateHostedZoneInput) (req *re
// API operation CreateHostedZone for usage and error information.
//
// Returned Error Codes:
// * InvalidDomainName
// * ErrCodeInvalidDomainName "InvalidDomainName"
// The specified domain name is not valid.
//
// * HostedZoneAlreadyExists
// * ErrCodeHostedZoneAlreadyExists "HostedZoneAlreadyExists"
// The hosted zone you are trying to create already exists. Amazon Route 53
// returns this error when a hosted zone has already been created with the specified
// CallerReference.
//
// * TooManyHostedZones
// * ErrCodeTooManyHostedZones "TooManyHostedZones"
// This hosted zone can't be created because the hosted zone limit is exceeded.
// To request a limit increase, go to the Amazon Route 53 Contact Us (http://aws.amazon.com/route53-request/)
// page.
//
// * InvalidVPCId
// * 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.
//
// * InvalidInput
// * ErrCodeInvalidInput "InvalidInput"
// The input is not valid.
//
// * DelegationSetNotAvailable
// * 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 Amazon Route 53 generates
// this error, contact Customer Support.
//
// * ConflictingDomainExists
// * ErrCodeConflictingDomainExists "ConflictingDomainExists"
// You specified an Amazon VPC that you're already using for another hosted
// zone, and the domain that you specified for one of the hosted zones is a
// subdomain of the domain that you specified for the other hosted zone. For
// example, you can't use the same Amazon VPC for the hosted zones for example.com
// and test.example.com.
//
// * NoSuchDelegationSet
// * ErrCodeNoSuchDelegationSet "NoSuchDelegationSet"
// A reusable delegation set with the specified ID does not exist.
//
// * DelegationSetNotReusable
// * ErrCodeDelegationSetNotReusable "DelegationSetNotReusable"
// A reusable delegation set with the specified ID does not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateHostedZone
@ -688,30 +687,30 @@ func (c *Route53) CreateReusableDelegationSetRequest(input *CreateReusableDelega
// API operation CreateReusableDelegationSet for usage and error information.
//
// Returned Error Codes:
// * DelegationSetAlreadyCreated
// * ErrCodeDelegationSetAlreadyCreated "DelegationSetAlreadyCreated"
// A delegation set with the same owner and caller reference combination has
// already been created.
//
// * LimitsExceeded
// * ErrCodeLimitsExceeded "LimitsExceeded"
// The limits specified for a resource have been exceeded.
//
// * HostedZoneNotFound
// * ErrCodeHostedZoneNotFound "HostedZoneNotFound"
// The specified HostedZone can't be found.
//
// * InvalidArgument
// * ErrCodeInvalidArgument "InvalidArgument"
// Parameter name and problem.
//
// * InvalidInput
// * ErrCodeInvalidInput "InvalidInput"
// The input is not valid.
//
// * DelegationSetNotAvailable
// * 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 Amazon Route 53 generates
// this error, contact Customer Support.
//
// * DelegationSetAlreadyReusable
// * ErrCodeDelegationSetAlreadyReusable "DelegationSetAlreadyReusable"
// The specified delegation set has already been marked as reusable.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateReusableDelegationSet
@ -783,18 +782,18 @@ func (c *Route53) CreateTrafficPolicyRequest(input *CreateTrafficPolicyInput) (r
// API operation CreateTrafficPolicy for usage and error information.
//
// Returned Error Codes:
// * InvalidInput
// * ErrCodeInvalidInput "InvalidInput"
// The input is not valid.
//
// * TooManyTrafficPolicies
// * ErrCodeTooManyTrafficPolicies "TooManyTrafficPolicies"
// You've created the maximum number of traffic policies that can be created
// for the current AWS account. You can request an increase to the limit on
// the Contact Us (http://aws.amazon.com/route53-request/) page.
//
// * TrafficPolicyAlreadyExists
// * ErrCodeTrafficPolicyAlreadyExists "TrafficPolicyAlreadyExists"
// A traffic policy that has the same value for Name already exists.
//
// * InvalidTrafficPolicyDocument
// * ErrCodeInvalidTrafficPolicyDocument "InvalidTrafficPolicyDocument"
// The format of the traffic policy document that you specified in the Document
// element is invalid.
//
@ -870,21 +869,21 @@ func (c *Route53) CreateTrafficPolicyInstanceRequest(input *CreateTrafficPolicyI
// API operation CreateTrafficPolicyInstance for usage and error information.
//
// Returned Error Codes:
// * NoSuchHostedZone
// * ErrCodeNoSuchHostedZone "NoSuchHostedZone"
// No hosted zone exists with the ID that you specified.
//
// * InvalidInput
// * ErrCodeInvalidInput "InvalidInput"
// The input is not valid.
//
// * TooManyTrafficPolicyInstances
// * ErrCodeTooManyTrafficPolicyInstances "TooManyTrafficPolicyInstances"
// You've created the maximum number of traffic policy instances that can be
// created for the current AWS account. You can request an increase to the limit
// on the Contact Us (http://aws.amazon.com/route53-request/) page.
//
// * NoSuchTrafficPolicy
// * ErrCodeNoSuchTrafficPolicy "NoSuchTrafficPolicy"
// No traffic policy exists with the specified ID.
//
// * TrafficPolicyInstanceAlreadyExists
// * ErrCodeTrafficPolicyInstanceAlreadyExists "TrafficPolicyInstanceAlreadyExists"
// Traffic policy instance with given Id already exists.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateTrafficPolicyInstance
@ -961,17 +960,17 @@ func (c *Route53) CreateTrafficPolicyVersionRequest(input *CreateTrafficPolicyVe
// API operation CreateTrafficPolicyVersion for usage and error information.
//
// Returned Error Codes:
// * NoSuchTrafficPolicy
// * ErrCodeNoSuchTrafficPolicy "NoSuchTrafficPolicy"
// No traffic policy exists with the specified ID.
//
// * InvalidInput
// * ErrCodeInvalidInput "InvalidInput"
// The input is not valid.
//
// * ConcurrentModification
// * ErrCodeConcurrentModification "ConcurrentModification"
// Another user submitted a request to update the object at the same time that
// you did. Retry the request.
//
// * InvalidTrafficPolicyDocument
// * ErrCodeInvalidTrafficPolicyDocument "InvalidTrafficPolicyDocument"
// The format of the traffic policy document that you specified in the Document
// element is invalid.
//
@ -1050,21 +1049,21 @@ func (c *Route53) CreateVPCAssociationAuthorizationRequest(input *CreateVPCAssoc
// API operation CreateVPCAssociationAuthorization for usage and error information.
//
// Returned Error Codes:
// * TooManyVPCAssociationAuthorizations
// * 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.
//
// * NoSuchHostedZone
// * ErrCodeNoSuchHostedZone "NoSuchHostedZone"
// No hosted zone exists with the ID that you specified.
//
// * InvalidVPCId
// * 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.
//
// * InvalidInput
// * ErrCodeInvalidInput "InvalidInput"
// The input is not valid.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateVPCAssociationAuthorization
@ -1138,16 +1137,16 @@ func (c *Route53) DeleteHealthCheckRequest(input *DeleteHealthCheckInput) (req *
// API operation DeleteHealthCheck for usage and error information.
//
// Returned Error Codes:
// * NoSuchHealthCheck
// * ErrCodeNoSuchHealthCheck "NoSuchHealthCheck"
// No health check exists with the ID that you specified in the DeleteHealthCheck
// request.
//
// * HealthCheckInUse
// * ErrCodeHealthCheckInUse "HealthCheckInUse"
// The health check ID for this health check is referenced in the HealthCheckId
// element in one of the resource record sets in one of the hosted zones that
// are owned by the current AWS account.
//
// * InvalidInput
// * ErrCodeInvalidInput "InvalidInput"
// The input is not valid.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteHealthCheck
@ -1220,23 +1219,23 @@ func (c *Route53) DeleteHostedZoneRequest(input *DeleteHostedZoneInput) (req *re
// API operation DeleteHostedZone for usage and error information.
//
// Returned Error Codes:
// * NoSuchHostedZone
// * ErrCodeNoSuchHostedZone "NoSuchHostedZone"
// No hosted zone exists with the ID that you specified.
//
// * HostedZoneNotEmpty
// * ErrCodeHostedZoneNotEmpty "HostedZoneNotEmpty"
// The hosted zone contains resource records that are not SOA or NS records.
//
// * PriorRequestNotComplete
// * 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 Amazon 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.
//
// * InvalidInput
// * ErrCodeInvalidInput "InvalidInput"
// The input is not valid.
//
// * InvalidDomainName
// * ErrCodeInvalidDomainName "InvalidDomainName"
// The specified domain name is not valid.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteHostedZone
@ -1309,17 +1308,17 @@ func (c *Route53) DeleteReusableDelegationSetRequest(input *DeleteReusableDelega
// API operation DeleteReusableDelegationSet for usage and error information.
//
// Returned Error Codes:
// * NoSuchDelegationSet
// * ErrCodeNoSuchDelegationSet "NoSuchDelegationSet"
// A reusable delegation set with the specified ID does not exist.
//
// * DelegationSetInUse
// * ErrCodeDelegationSetInUse "DelegationSetInUse"
// The specified delegation contains associated hosted zones which must be deleted
// before the reusable delegation set can be deleted.
//
// * DelegationSetNotReusable
// * ErrCodeDelegationSetNotReusable "DelegationSetNotReusable"
// A reusable delegation set with the specified ID does not exist.
//
// * InvalidInput
// * ErrCodeInvalidInput "InvalidInput"
// The input is not valid.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteReusableDelegationSet
@ -1386,17 +1385,17 @@ func (c *Route53) DeleteTrafficPolicyRequest(input *DeleteTrafficPolicyInput) (r
// API operation DeleteTrafficPolicy for usage and error information.
//
// Returned Error Codes:
// * NoSuchTrafficPolicy
// * ErrCodeNoSuchTrafficPolicy "NoSuchTrafficPolicy"
// No traffic policy exists with the specified ID.
//
// * InvalidInput
// * ErrCodeInvalidInput "InvalidInput"
// The input is not valid.
//
// * TrafficPolicyInUse
// * ErrCodeTrafficPolicyInUse "TrafficPolicyInUse"
// One or more traffic policy instances were created by using the specified
// traffic policy.
//
// * ConcurrentModification
// * ErrCodeConcurrentModification "ConcurrentModification"
// Another user submitted a request to update the object at the same time that
// you did. Retry the request.
//
@ -1469,13 +1468,13 @@ func (c *Route53) DeleteTrafficPolicyInstanceRequest(input *DeleteTrafficPolicyI
// API operation DeleteTrafficPolicyInstance for usage and error information.
//
// Returned Error Codes:
// * NoSuchTrafficPolicyInstance
// * ErrCodeNoSuchTrafficPolicyInstance "NoSuchTrafficPolicyInstance"
// No traffic policy instance exists with the specified ID.
//
// * InvalidInput
// * ErrCodeInvalidInput "InvalidInput"
// The input is not valid.
//
// * PriorRequestNotComplete
// * 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 Amazon Route 53 returns this error repeatedly
@ -1557,18 +1556,18 @@ func (c *Route53) DeleteVPCAssociationAuthorizationRequest(input *DeleteVPCAssoc
// API operation DeleteVPCAssociationAuthorization for usage and error information.
//
// Returned Error Codes:
// * VPCAssociationAuthorizationNotFound
// * ErrCodeVPCAssociationAuthorizationNotFound "VPCAssociationAuthorizationNotFound"
// The VPC that you specified is not authorized to be associated with the hosted
// zone.
//
// * NoSuchHostedZone
// * ErrCodeNoSuchHostedZone "NoSuchHostedZone"
// No hosted zone exists with the ID that you specified.
//
// * InvalidVPCId
// * 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.
//
// * InvalidInput
// * ErrCodeInvalidInput "InvalidInput"
// The input is not valid.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteVPCAssociationAuthorization
@ -1643,22 +1642,22 @@ func (c *Route53) DisassociateVPCFromHostedZoneRequest(input *DisassociateVPCFro
// API operation DisassociateVPCFromHostedZone for usage and error information.
//
// Returned Error Codes:
// * NoSuchHostedZone
// * ErrCodeNoSuchHostedZone "NoSuchHostedZone"
// No hosted zone exists with the ID that you specified.
//
// * InvalidVPCId
// * 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.
//
// * VPCAssociationNotFound
// * ErrCodeVPCAssociationNotFound "VPCAssociationNotFound"
// The specified VPC and hosted zone are not currently associated.
//
// * LastVPCAssociation
// * 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.
//
// * InvalidInput
// * ErrCodeInvalidInput "InvalidInput"
// The input is not valid.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DisassociateVPCFromHostedZone
@ -1731,10 +1730,10 @@ func (c *Route53) GetChangeRequest(input *GetChangeInput) (req *request.Request,
// API operation GetChange for usage and error information.
//
// Returned Error Codes:
// * NoSuchChange
// * ErrCodeNoSuchChange "NoSuchChange"
// A change with the specified change ID does not exist.
//
// * InvalidInput
// * ErrCodeInvalidInput "InvalidInput"
// The input is not valid.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetChange
@ -1865,10 +1864,10 @@ func (c *Route53) GetGeoLocationRequest(input *GetGeoLocationInput) (req *reques
// API operation GetGeoLocation for usage and error information.
//
// Returned Error Codes:
// * NoSuchGeoLocation
// * ErrCodeNoSuchGeoLocation "NoSuchGeoLocation"
// Amazon Route 53 doesn't support the specified geolocation.
//
// * InvalidInput
// * ErrCodeInvalidInput "InvalidInput"
// The input is not valid.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetGeoLocation
@ -1937,14 +1936,14 @@ func (c *Route53) GetHealthCheckRequest(input *GetHealthCheckInput) (req *reques
// API operation GetHealthCheck for usage and error information.
//
// Returned Error Codes:
// * NoSuchHealthCheck
// * ErrCodeNoSuchHealthCheck "NoSuchHealthCheck"
// No health check exists with the ID that you specified in the DeleteHealthCheck
// request.
//
// * InvalidInput
// * ErrCodeInvalidInput "InvalidInput"
// The input is not valid.
//
// * IncompatibleVersion
// * ErrCodeIncompatibleVersion "IncompatibleVersion"
// The resource you are trying to access is unsupported on this Amazon Route
// 53 endpoint. Please consider using a newer endpoint or a tool that does so.
//
@ -2074,11 +2073,11 @@ func (c *Route53) GetHealthCheckLastFailureReasonRequest(input *GetHealthCheckLa
// API operation GetHealthCheckLastFailureReason for usage and error information.
//
// Returned Error Codes:
// * NoSuchHealthCheck
// * ErrCodeNoSuchHealthCheck "NoSuchHealthCheck"
// No health check exists with the ID that you specified in the DeleteHealthCheck
// request.
//
// * InvalidInput
// * ErrCodeInvalidInput "InvalidInput"
// The input is not valid.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHealthCheckLastFailureReason
@ -2145,11 +2144,11 @@ func (c *Route53) GetHealthCheckStatusRequest(input *GetHealthCheckStatusInput)
// API operation GetHealthCheckStatus for usage and error information.
//
// Returned Error Codes:
// * NoSuchHealthCheck
// * ErrCodeNoSuchHealthCheck "NoSuchHealthCheck"
// No health check exists with the ID that you specified in the DeleteHealthCheck
// request.
//
// * InvalidInput
// * ErrCodeInvalidInput "InvalidInput"
// The input is not valid.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHealthCheckStatus
@ -2216,10 +2215,10 @@ func (c *Route53) GetHostedZoneRequest(input *GetHostedZoneInput) (req *request.
// API operation GetHostedZone for usage and error information.
//
// Returned Error Codes:
// * NoSuchHostedZone
// * ErrCodeNoSuchHostedZone "NoSuchHostedZone"
// No hosted zone exists with the ID that you specified.
//
// * InvalidInput
// * ErrCodeInvalidInput "InvalidInput"
// The input is not valid.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHostedZone
@ -2285,7 +2284,7 @@ func (c *Route53) GetHostedZoneCountRequest(input *GetHostedZoneCountInput) (req
// API operation GetHostedZoneCount for usage and error information.
//
// Returned Error Codes:
// * InvalidInput
// * ErrCodeInvalidInput "InvalidInput"
// The input is not valid.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHostedZoneCount
@ -2351,13 +2350,13 @@ func (c *Route53) GetReusableDelegationSetRequest(input *GetReusableDelegationSe
// API operation GetReusableDelegationSet for usage and error information.
//
// Returned Error Codes:
// * NoSuchDelegationSet
// * ErrCodeNoSuchDelegationSet "NoSuchDelegationSet"
// A reusable delegation set with the specified ID does not exist.
//
// * DelegationSetNotReusable
// * ErrCodeDelegationSetNotReusable "DelegationSetNotReusable"
// A reusable delegation set with the specified ID does not exist.
//
// * InvalidInput
// * ErrCodeInvalidInput "InvalidInput"
// The input is not valid.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetReusableDelegationSet
@ -2424,10 +2423,10 @@ func (c *Route53) GetTrafficPolicyRequest(input *GetTrafficPolicyInput) (req *re
// API operation GetTrafficPolicy for usage and error information.
//
// Returned Error Codes:
// * NoSuchTrafficPolicy
// * ErrCodeNoSuchTrafficPolicy "NoSuchTrafficPolicy"
// No traffic policy exists with the specified ID.
//
// * InvalidInput
// * ErrCodeInvalidInput "InvalidInput"
// The input is not valid.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetTrafficPolicy
@ -2503,10 +2502,10 @@ func (c *Route53) GetTrafficPolicyInstanceRequest(input *GetTrafficPolicyInstanc
// API operation GetTrafficPolicyInstance for usage and error information.
//
// Returned Error Codes:
// * NoSuchTrafficPolicyInstance
// * ErrCodeNoSuchTrafficPolicyInstance "NoSuchTrafficPolicyInstance"
// No traffic policy instance exists with the specified ID.
//
// * InvalidInput
// * ErrCodeInvalidInput "InvalidInput"
// The input is not valid.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetTrafficPolicyInstance
@ -2642,7 +2641,7 @@ func (c *Route53) ListGeoLocationsRequest(input *ListGeoLocationsInput) (req *re
// API operation ListGeoLocations for usage and error information.
//
// Returned Error Codes:
// * InvalidInput
// * ErrCodeInvalidInput "InvalidInput"
// The input is not valid.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListGeoLocations
@ -2721,10 +2720,10 @@ func (c *Route53) ListHealthChecksRequest(input *ListHealthChecksInput) (req *re
// API operation ListHealthChecks for usage and error information.
//
// Returned Error Codes:
// * InvalidInput
// * ErrCodeInvalidInput "InvalidInput"
// The input is not valid.
//
// * IncompatibleVersion
// * ErrCodeIncompatibleVersion "IncompatibleVersion"
// The resource you are trying to access is unsupported on this Amazon Route
// 53 endpoint. Please consider using a newer endpoint or a tool that does so.
//
@ -2846,13 +2845,13 @@ func (c *Route53) ListHostedZonesRequest(input *ListHostedZonesInput) (req *requ
// API operation ListHostedZones for usage and error information.
//
// Returned Error Codes:
// * InvalidInput
// * ErrCodeInvalidInput "InvalidInput"
// The input is not valid.
//
// * NoSuchDelegationSet
// * ErrCodeNoSuchDelegationSet "NoSuchDelegationSet"
// A reusable delegation set with the specified ID does not exist.
//
// * DelegationSetNotReusable
// * ErrCodeDelegationSetNotReusable "DelegationSetNotReusable"
// A reusable delegation set with the specified ID does not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListHostedZones
@ -2992,10 +2991,10 @@ func (c *Route53) ListHostedZonesByNameRequest(input *ListHostedZonesByNameInput
// API operation ListHostedZonesByName for usage and error information.
//
// Returned Error Codes:
// * InvalidInput
// * ErrCodeInvalidInput "InvalidInput"
// The input is not valid.
//
// * InvalidDomainName
// * ErrCodeInvalidDomainName "InvalidDomainName"
// The specified domain name is not valid.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListHostedZonesByName
@ -3104,10 +3103,10 @@ func (c *Route53) ListResourceRecordSetsRequest(input *ListResourceRecordSetsInp
// API operation ListResourceRecordSets for usage and error information.
//
// Returned Error Codes:
// * NoSuchHostedZone
// * ErrCodeNoSuchHostedZone "NoSuchHostedZone"
// No hosted zone exists with the ID that you specified.
//
// * InvalidInput
// * ErrCodeInvalidInput "InvalidInput"
// The input is not valid.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListResourceRecordSets
@ -3206,7 +3205,7 @@ func (c *Route53) ListReusableDelegationSetsRequest(input *ListReusableDelegatio
// API operation ListReusableDelegationSets for usage and error information.
//
// Returned Error Codes:
// * InvalidInput
// * ErrCodeInvalidInput "InvalidInput"
// The input is not valid.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListReusableDelegationSets
@ -3275,25 +3274,24 @@ func (c *Route53) ListTagsForResourceRequest(input *ListTagsForResourceInput) (r
// API operation ListTagsForResource for usage and error information.
//
// Returned Error Codes:
// * InvalidInput
// * ErrCodeInvalidInput "InvalidInput"
// The input is not valid.
//
// * NoSuchHealthCheck
// * ErrCodeNoSuchHealthCheck "NoSuchHealthCheck"
// No health check exists with the ID that you specified in the DeleteHealthCheck
// request.
//
// * NoSuchHostedZone
// * ErrCodeNoSuchHostedZone "NoSuchHostedZone"
// No hosted zone exists with the ID that you specified.
//
// * PriorRequestNotComplete
// * 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 Amazon 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.
//
// * ThrottlingException
// * ErrCodeThrottlingException "ThrottlingException"
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTagsForResource
func (c *Route53) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) {
@ -3361,25 +3359,24 @@ func (c *Route53) ListTagsForResourcesRequest(input *ListTagsForResourcesInput)
// API operation ListTagsForResources for usage and error information.
//
// Returned Error Codes:
// * InvalidInput
// * ErrCodeInvalidInput "InvalidInput"
// The input is not valid.
//
// * NoSuchHealthCheck
// * ErrCodeNoSuchHealthCheck "NoSuchHealthCheck"
// No health check exists with the ID that you specified in the DeleteHealthCheck
// request.
//
// * NoSuchHostedZone
// * ErrCodeNoSuchHostedZone "NoSuchHostedZone"
// No hosted zone exists with the ID that you specified.
//
// * PriorRequestNotComplete
// * 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 Amazon 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.
//
// * ThrottlingException
// * ErrCodeThrottlingException "ThrottlingException"
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTagsForResources
func (c *Route53) ListTagsForResources(input *ListTagsForResourcesInput) (*ListTagsForResourcesOutput, error) {
@ -3476,7 +3473,7 @@ func (c *Route53) ListTrafficPoliciesRequest(input *ListTrafficPoliciesInput) (r
// API operation ListTrafficPolicies for usage and error information.
//
// Returned Error Codes:
// * InvalidInput
// * ErrCodeInvalidInput "InvalidInput"
// The input is not valid.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTrafficPolicies
@ -3580,10 +3577,10 @@ func (c *Route53) ListTrafficPolicyInstancesRequest(input *ListTrafficPolicyInst
// API operation ListTrafficPolicyInstances for usage and error information.
//
// Returned Error Codes:
// * InvalidInput
// * ErrCodeInvalidInput "InvalidInput"
// The input is not valid.
//
// * NoSuchTrafficPolicyInstance
// * ErrCodeNoSuchTrafficPolicyInstance "NoSuchTrafficPolicyInstance"
// No traffic policy instance exists with the specified ID.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTrafficPolicyInstances
@ -3687,13 +3684,13 @@ func (c *Route53) ListTrafficPolicyInstancesByHostedZoneRequest(input *ListTraff
// API operation ListTrafficPolicyInstancesByHostedZone for usage and error information.
//
// Returned Error Codes:
// * InvalidInput
// * ErrCodeInvalidInput "InvalidInput"
// The input is not valid.
//
// * NoSuchTrafficPolicyInstance
// * ErrCodeNoSuchTrafficPolicyInstance "NoSuchTrafficPolicyInstance"
// No traffic policy instance exists with the specified ID.
//
// * NoSuchHostedZone
// * ErrCodeNoSuchHostedZone "NoSuchHostedZone"
// No hosted zone exists with the ID that you specified.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTrafficPolicyInstancesByHostedZone
@ -3796,13 +3793,13 @@ func (c *Route53) ListTrafficPolicyInstancesByPolicyRequest(input *ListTrafficPo
// API operation ListTrafficPolicyInstancesByPolicy for usage and error information.
//
// Returned Error Codes:
// * InvalidInput
// * ErrCodeInvalidInput "InvalidInput"
// The input is not valid.
//
// * NoSuchTrafficPolicyInstance
// * ErrCodeNoSuchTrafficPolicyInstance "NoSuchTrafficPolicyInstance"
// No traffic policy instance exists with the specified ID.
//
// * NoSuchTrafficPolicy
// * ErrCodeNoSuchTrafficPolicy "NoSuchTrafficPolicy"
// No traffic policy exists with the specified ID.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTrafficPolicyInstancesByPolicy
@ -3900,10 +3897,10 @@ func (c *Route53) ListTrafficPolicyVersionsRequest(input *ListTrafficPolicyVersi
// API operation ListTrafficPolicyVersions for usage and error information.
//
// Returned Error Codes:
// * InvalidInput
// * ErrCodeInvalidInput "InvalidInput"
// The input is not valid.
//
// * NoSuchTrafficPolicy
// * ErrCodeNoSuchTrafficPolicy "NoSuchTrafficPolicy"
// No traffic policy exists with the specified ID.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTrafficPolicyVersions
@ -3988,14 +3985,13 @@ func (c *Route53) ListVPCAssociationAuthorizationsRequest(input *ListVPCAssociat
// API operation ListVPCAssociationAuthorizations for usage and error information.
//
// Returned Error Codes:
// * NoSuchHostedZone
// * ErrCodeNoSuchHostedZone "NoSuchHostedZone"
// No hosted zone exists with the ID that you specified.
//
// * InvalidInput
// * ErrCodeInvalidInput "InvalidInput"
// The input is not valid.
//
// * InvalidPaginationToken
// * ErrCodeInvalidPaginationToken "InvalidPaginationToken"
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListVPCAssociationAuthorizations
func (c *Route53) ListVPCAssociationAuthorizations(input *ListVPCAssociationAuthorizationsInput) (*ListVPCAssociationAuthorizationsOutput, error) {
@ -4061,10 +4057,10 @@ func (c *Route53) TestDNSAnswerRequest(input *TestDNSAnswerInput) (req *request.
// API operation TestDNSAnswer for usage and error information.
//
// Returned Error Codes:
// * NoSuchHostedZone
// * ErrCodeNoSuchHostedZone "NoSuchHostedZone"
// No hosted zone exists with the ID that you specified.
//
// * InvalidInput
// * ErrCodeInvalidInput "InvalidInput"
// The input is not valid.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/TestDNSAnswer
@ -4135,14 +4131,14 @@ func (c *Route53) UpdateHealthCheckRequest(input *UpdateHealthCheckInput) (req *
// API operation UpdateHealthCheck for usage and error information.
//
// Returned Error Codes:
// * NoSuchHealthCheck
// * ErrCodeNoSuchHealthCheck "NoSuchHealthCheck"
// No health check exists with the ID that you specified in the DeleteHealthCheck
// request.
//
// * InvalidInput
// * ErrCodeInvalidInput "InvalidInput"
// The input is not valid.
//
// * HealthCheckVersionMismatch
// * ErrCodeHealthCheckVersionMismatch "HealthCheckVersionMismatch"
// The value of HealthCheckVersion in the request doesn't match the value of
// HealthCheckVersion in the health check.
//
@ -4209,10 +4205,10 @@ func (c *Route53) UpdateHostedZoneCommentRequest(input *UpdateHostedZoneCommentI
// API operation UpdateHostedZoneComment for usage and error information.
//
// Returned Error Codes:
// * NoSuchHostedZone
// * ErrCodeNoSuchHostedZone "NoSuchHostedZone"
// No hosted zone exists with the ID that you specified.
//
// * InvalidInput
// * ErrCodeInvalidInput "InvalidInput"
// The input is not valid.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/UpdateHostedZoneComment
@ -4282,13 +4278,13 @@ func (c *Route53) UpdateTrafficPolicyCommentRequest(input *UpdateTrafficPolicyCo
// API operation UpdateTrafficPolicyComment for usage and error information.
//
// Returned Error Codes:
// * InvalidInput
// * ErrCodeInvalidInput "InvalidInput"
// The input is not valid.
//
// * NoSuchTrafficPolicy
// * ErrCodeNoSuchTrafficPolicy "NoSuchTrafficPolicy"
// No traffic policy exists with the specified ID.
//
// * ConcurrentModification
// * ErrCodeConcurrentModification "ConcurrentModification"
// Another user submitted a request to update the object at the same time that
// you did. Retry the request.
//
@ -4376,23 +4372,23 @@ func (c *Route53) UpdateTrafficPolicyInstanceRequest(input *UpdateTrafficPolicyI
// API operation UpdateTrafficPolicyInstance for usage and error information.
//
// Returned Error Codes:
// * InvalidInput
// * ErrCodeInvalidInput "InvalidInput"
// The input is not valid.
//
// * NoSuchTrafficPolicy
// * ErrCodeNoSuchTrafficPolicy "NoSuchTrafficPolicy"
// No traffic policy exists with the specified ID.
//
// * NoSuchTrafficPolicyInstance
// * ErrCodeNoSuchTrafficPolicyInstance "NoSuchTrafficPolicyInstance"
// No traffic policy instance exists with the specified ID.
//
// * PriorRequestNotComplete
// * 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 Amazon 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.
//
// * ConflictingTypes
// * 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.

View File

@ -0,0 +1,320 @@
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
package route53
const (
// ErrCodeConcurrentModification for service response error code
// "ConcurrentModification".
//
// Another user submitted a request to update the object at the same time that
// you did. Retry the request.
ErrCodeConcurrentModification = "ConcurrentModification"
// ErrCodeConflictingDomainExists for service response error code
// "ConflictingDomainExists".
//
// You specified an Amazon VPC that you're already using for another hosted
// zone, and the domain that you specified for one of the hosted zones is a
// subdomain of the domain that you specified for the other hosted zone. For
// example, you can't use the same Amazon VPC for the hosted zones for example.com
// and test.example.com.
ErrCodeConflictingDomainExists = "ConflictingDomainExists"
// ErrCodeConflictingTypes for service response error code
// "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"
// ErrCodeDelegationSetAlreadyCreated for service response error code
// "DelegationSetAlreadyCreated".
//
// A delegation set with the same owner and caller reference combination has
// already been created.
ErrCodeDelegationSetAlreadyCreated = "DelegationSetAlreadyCreated"
// ErrCodeDelegationSetAlreadyReusable for service response error code
// "DelegationSetAlreadyReusable".
//
// The specified delegation set has already been marked as reusable.
ErrCodeDelegationSetAlreadyReusable = "DelegationSetAlreadyReusable"
// ErrCodeDelegationSetInUse for service response error code
// "DelegationSetInUse".
//
// The specified delegation contains associated hosted zones which must be deleted
// before the reusable delegation set can be deleted.
ErrCodeDelegationSetInUse = "DelegationSetInUse"
// ErrCodeDelegationSetNotAvailable for service response error code
// "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 Amazon Route 53 generates
// this error, contact Customer Support.
ErrCodeDelegationSetNotAvailable = "DelegationSetNotAvailable"
// ErrCodeDelegationSetNotReusable for service response error code
// "DelegationSetNotReusable".
//
// A reusable delegation set with the specified ID does not exist.
ErrCodeDelegationSetNotReusable = "DelegationSetNotReusable"
// ErrCodeHealthCheckAlreadyExists for service response error code
// "HealthCheckAlreadyExists".
//
// The health check you're attempting to create already exists.
//
// Amazon Route 53 returns this error when a health check has already been created
// with the specified value for CallerReference.
ErrCodeHealthCheckAlreadyExists = "HealthCheckAlreadyExists"
// ErrCodeHealthCheckInUse for service response error code
// "HealthCheckInUse".
//
// The health check ID for this health check is referenced in the HealthCheckId
// element in one of the resource record sets in one of the hosted zones that
// are owned by the current AWS account.
ErrCodeHealthCheckInUse = "HealthCheckInUse"
// ErrCodeHealthCheckVersionMismatch for service response error code
// "HealthCheckVersionMismatch".
//
// The value of HealthCheckVersion in the request doesn't match the value of
// HealthCheckVersion in the health check.
ErrCodeHealthCheckVersionMismatch = "HealthCheckVersionMismatch"
// ErrCodeHostedZoneAlreadyExists for service response error code
// "HostedZoneAlreadyExists".
//
// The hosted zone you are trying to create already exists. Amazon Route 53
// returns this error when a hosted zone has already been created with the specified
// CallerReference.
ErrCodeHostedZoneAlreadyExists = "HostedZoneAlreadyExists"
// ErrCodeHostedZoneNotEmpty for service response error code
// "HostedZoneNotEmpty".
//
// The hosted zone contains resource records that are not SOA or NS records.
ErrCodeHostedZoneNotEmpty = "HostedZoneNotEmpty"
// ErrCodeHostedZoneNotFound for service response error code
// "HostedZoneNotFound".
//
// The specified HostedZone can't be found.
ErrCodeHostedZoneNotFound = "HostedZoneNotFound"
// ErrCodeIncompatibleVersion for service response error code
// "IncompatibleVersion".
//
// The resource you are trying to access is unsupported on this Amazon Route
// 53 endpoint. Please consider using a newer endpoint or a tool that does so.
ErrCodeIncompatibleVersion = "IncompatibleVersion"
// ErrCodeInvalidArgument for service response error code
// "InvalidArgument".
//
// Parameter name and problem.
ErrCodeInvalidArgument = "InvalidArgument"
// ErrCodeInvalidChangeBatch for service response error code
// "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.
ErrCodeInvalidChangeBatch = "InvalidChangeBatch"
// ErrCodeInvalidDomainName for service response error code
// "InvalidDomainName".
//
// The specified domain name is not valid.
ErrCodeInvalidDomainName = "InvalidDomainName"
// ErrCodeInvalidInput for service response error code
// "InvalidInput".
//
// The input is not valid.
ErrCodeInvalidInput = "InvalidInput"
// ErrCodeInvalidPaginationToken for service response error code
// "InvalidPaginationToken".
ErrCodeInvalidPaginationToken = "InvalidPaginationToken"
// ErrCodeInvalidTrafficPolicyDocument for service response error code
// "InvalidTrafficPolicyDocument".
//
// The format of the traffic policy document that you specified in the Document
// element is invalid.
ErrCodeInvalidTrafficPolicyDocument = "InvalidTrafficPolicyDocument"
// ErrCodeInvalidVPCId for service response error code
// "InvalidVPCId".
//
// The VPC ID that you specified either isn't a valid ID or the current account
// is not authorized to access this VPC.
ErrCodeInvalidVPCId = "InvalidVPCId"
// ErrCodeLastVPCAssociation for service response error code
// "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.
ErrCodeLastVPCAssociation = "LastVPCAssociation"
// ErrCodeLimitsExceeded for service response error code
// "LimitsExceeded".
//
// The limits specified for a resource have been exceeded.
ErrCodeLimitsExceeded = "LimitsExceeded"
// ErrCodeNoSuchChange for service response error code
// "NoSuchChange".
//
// A change with the specified change ID does not exist.
ErrCodeNoSuchChange = "NoSuchChange"
// ErrCodeNoSuchDelegationSet for service response error code
// "NoSuchDelegationSet".
//
// A reusable delegation set with the specified ID does not exist.
ErrCodeNoSuchDelegationSet = "NoSuchDelegationSet"
// ErrCodeNoSuchGeoLocation for service response error code
// "NoSuchGeoLocation".
//
// Amazon Route 53 doesn't support the specified geolocation.
ErrCodeNoSuchGeoLocation = "NoSuchGeoLocation"
// ErrCodeNoSuchHealthCheck for service response error code
// "NoSuchHealthCheck".
//
// No health check exists with the ID that you specified in the DeleteHealthCheck
// request.
ErrCodeNoSuchHealthCheck = "NoSuchHealthCheck"
// ErrCodeNoSuchHostedZone for service response error code
// "NoSuchHostedZone".
//
// No hosted zone exists with the ID that you specified.
ErrCodeNoSuchHostedZone = "NoSuchHostedZone"
// ErrCodeNoSuchTrafficPolicy for service response error code
// "NoSuchTrafficPolicy".
//
// No traffic policy exists with the specified ID.
ErrCodeNoSuchTrafficPolicy = "NoSuchTrafficPolicy"
// ErrCodeNoSuchTrafficPolicyInstance for service response error code
// "NoSuchTrafficPolicyInstance".
//
// No traffic policy instance exists with the specified ID.
ErrCodeNoSuchTrafficPolicyInstance = "NoSuchTrafficPolicyInstance"
// ErrCodeNotAuthorizedException for service response error code
// "NotAuthorizedException".
//
// Associating the specified VPC with the specified hosted zone has not been
// authorized.
ErrCodeNotAuthorizedException = "NotAuthorizedException"
// ErrCodePriorRequestNotComplete for service response error code
// "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 Amazon 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"
// ErrCodePublicZoneVPCAssociation for service response error code
// "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.
ErrCodePublicZoneVPCAssociation = "PublicZoneVPCAssociation"
// ErrCodeThrottlingException for service response error code
// "ThrottlingException".
ErrCodeThrottlingException = "ThrottlingException"
// ErrCodeTooManyHealthChecks for service response error code
// "TooManyHealthChecks".
//
// You have reached the maximum number of active health checks for an AWS account.
// The default limit is 100. To request a higher limit, create a case (http://aws.amazon.com/route53-request)
// with the AWS Support Center.
ErrCodeTooManyHealthChecks = "TooManyHealthChecks"
// ErrCodeTooManyHostedZones for service response error code
// "TooManyHostedZones".
//
// This hosted zone can't be created because the hosted zone limit is exceeded.
// To request a limit increase, go to the Amazon Route 53 Contact Us (http://aws.amazon.com/route53-request/)
// page.
ErrCodeTooManyHostedZones = "TooManyHostedZones"
// ErrCodeTooManyTrafficPolicies for service response error code
// "TooManyTrafficPolicies".
//
// You've created the maximum number of traffic policies that can be created
// for the current AWS account. You can request an increase to the limit on
// the Contact Us (http://aws.amazon.com/route53-request/) page.
ErrCodeTooManyTrafficPolicies = "TooManyTrafficPolicies"
// ErrCodeTooManyTrafficPolicyInstances for service response error code
// "TooManyTrafficPolicyInstances".
//
// You've created the maximum number of traffic policy instances that can be
// created for the current AWS account. You can request an increase to the limit
// on the Contact Us (http://aws.amazon.com/route53-request/) page.
ErrCodeTooManyTrafficPolicyInstances = "TooManyTrafficPolicyInstances"
// ErrCodeTooManyVPCAssociationAuthorizations for service response error code
// "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.
ErrCodeTooManyVPCAssociationAuthorizations = "TooManyVPCAssociationAuthorizations"
// ErrCodeTrafficPolicyAlreadyExists for service response error code
// "TrafficPolicyAlreadyExists".
//
// A traffic policy that has the same value for Name already exists.
ErrCodeTrafficPolicyAlreadyExists = "TrafficPolicyAlreadyExists"
// ErrCodeTrafficPolicyInUse for service response error code
// "TrafficPolicyInUse".
//
// One or more traffic policy instances were created by using the specified
// traffic policy.
ErrCodeTrafficPolicyInUse = "TrafficPolicyInUse"
// ErrCodeTrafficPolicyInstanceAlreadyExists for service response error code
// "TrafficPolicyInstanceAlreadyExists".
//
// Traffic policy instance with given Id already exists.
ErrCodeTrafficPolicyInstanceAlreadyExists = "TrafficPolicyInstanceAlreadyExists"
// ErrCodeVPCAssociationAuthorizationNotFound for service response error code
// "VPCAssociationAuthorizationNotFound".
//
// The VPC that you specified is not authorized to be associated with the hosted
// zone.
ErrCodeVPCAssociationAuthorizationNotFound = "VPCAssociationAuthorizationNotFound"
// ErrCodeVPCAssociationNotFound for service response error code
// "VPCAssociationNotFound".
//
// The specified VPC and hosted zone are not currently associated.
ErrCodeVPCAssociationNotFound = "VPCAssociationNotFound"
)

View File

@ -73,7 +73,7 @@ func (c *S3) AbortMultipartUploadRequest(input *AbortMultipartUploadInput) (req
// API operation AbortMultipartUpload for usage and error information.
//
// Returned Error Codes:
// * NoSuchUpload
// * ErrCodeNoSuchUpload "NoSuchUpload"
// The specified multipart upload does not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AbortMultipartUpload
@ -198,7 +198,7 @@ func (c *S3) CopyObjectRequest(input *CopyObjectInput) (req *request.Request, ou
// API operation CopyObject for usage and error information.
//
// Returned Error Codes:
// * ObjectNotInActiveTierError
// * ErrCodeObjectNotInActiveTierError "ObjectNotInActiveTierError"
// The source object of the COPY operation is not in the active tier and is
// only stored in Amazon Glacier.
//
@ -264,12 +264,11 @@ func (c *S3) CreateBucketRequest(input *CreateBucketInput) (req *request.Request
// API operation CreateBucket for usage and error information.
//
// Returned Error Codes:
// * BucketAlreadyExists
// * ErrCodeBucketAlreadyExists "BucketAlreadyExists"
// The requested bucket name is not available. The bucket namespace is shared
// by all users of the system. Please select a different name and try again.
//
// * BucketAlreadyOwnedByYou
// * ErrCodeBucketAlreadyOwnedByYou "BucketAlreadyOwnedByYou"
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateBucket
func (c *S3) CreateBucket(input *CreateBucketInput) (*CreateBucketOutput, error) {
@ -2296,7 +2295,7 @@ func (c *S3) GetObjectRequest(input *GetObjectInput) (req *request.Request, outp
// API operation GetObject for usage and error information.
//
// Returned Error Codes:
// * NoSuchKey
// * ErrCodeNoSuchKey "NoSuchKey"
// The specified key does not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObject
@ -2361,7 +2360,7 @@ func (c *S3) GetObjectAclRequest(input *GetObjectAclInput) (req *request.Request
// API operation GetObjectAcl for usage and error information.
//
// Returned Error Codes:
// * NoSuchKey
// * ErrCodeNoSuchKey "NoSuchKey"
// The specified key does not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectAcl
@ -2549,7 +2548,7 @@ func (c *S3) HeadBucketRequest(input *HeadBucketInput) (req *request.Request, ou
// API operation HeadBucket for usage and error information.
//
// Returned Error Codes:
// * NoSuchBucket
// * ErrCodeNoSuchBucket "NoSuchBucket"
// The specified bucket does not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/HeadBucket
@ -2616,7 +2615,7 @@ func (c *S3) HeadObjectRequest(input *HeadObjectInput) (req *request.Request, ou
// API operation HeadObject for usage and error information.
//
// Returned Error Codes:
// * NoSuchKey
// * ErrCodeNoSuchKey "NoSuchKey"
// The specified key does not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/HeadObject
@ -3111,7 +3110,7 @@ func (c *S3) ListObjectsRequest(input *ListObjectsInput) (req *request.Request,
// API operation ListObjects for usage and error information.
//
// Returned Error Codes:
// * NoSuchBucket
// * ErrCodeNoSuchBucket "NoSuchBucket"
// The specified bucket does not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjects
@ -3210,7 +3209,7 @@ func (c *S3) ListObjectsV2Request(input *ListObjectsV2Input) (req *request.Reque
// API operation ListObjectsV2 for usage and error information.
//
// Returned Error Codes:
// * NoSuchBucket
// * ErrCodeNoSuchBucket "NoSuchBucket"
// The specified bucket does not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectsV2
@ -4525,7 +4524,7 @@ func (c *S3) PutObjectAclRequest(input *PutObjectAclInput) (req *request.Request
// API operation PutObjectAcl for usage and error information.
//
// Returned Error Codes:
// * NoSuchKey
// * ErrCodeNoSuchKey "NoSuchKey"
// The specified key does not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectAcl
@ -4650,7 +4649,7 @@ func (c *S3) RestoreObjectRequest(input *RestoreObjectInput) (req *request.Reque
// API operation RestoreObject for usage and error information.
//
// Returned Error Codes:
// * ObjectAlreadyInActiveTierError
// * ErrCodeObjectAlreadyInActiveTierError "ObjectAlreadyInActiveTierError"
// This operation is not allowed against this storage tier
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RestoreObject

48
vendor/github.com/aws/aws-sdk-go/service/s3/errors.go generated vendored Normal file
View File

@ -0,0 +1,48 @@
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
package s3
const (
// ErrCodeBucketAlreadyExists for service response error code
// "BucketAlreadyExists".
//
// The requested bucket name is not available. The bucket namespace is shared
// by all users of the system. Please select a different name and try again.
ErrCodeBucketAlreadyExists = "BucketAlreadyExists"
// ErrCodeBucketAlreadyOwnedByYou for service response error code
// "BucketAlreadyOwnedByYou".
ErrCodeBucketAlreadyOwnedByYou = "BucketAlreadyOwnedByYou"
// ErrCodeNoSuchBucket for service response error code
// "NoSuchBucket".
//
// The specified bucket does not exist.
ErrCodeNoSuchBucket = "NoSuchBucket"
// ErrCodeNoSuchKey for service response error code
// "NoSuchKey".
//
// The specified key does not exist.
ErrCodeNoSuchKey = "NoSuchKey"
// ErrCodeNoSuchUpload for service response error code
// "NoSuchUpload".
//
// The specified multipart upload does not exist.
ErrCodeNoSuchUpload = "NoSuchUpload"
// ErrCodeObjectAlreadyInActiveTierError for service response error code
// "ObjectAlreadyInActiveTierError".
//
// This operation is not allowed against this storage tier
ErrCodeObjectAlreadyInActiveTierError = "ObjectAlreadyInActiveTierError"
// ErrCodeObjectNotInActiveTierError for service response error code
// "ObjectNotInActiveTierError".
//
// The source object of the COPY operation is not in the active tier and is
// only stored in Amazon Glacier.
ErrCodeObjectNotInActiveTierError = "ObjectNotInActiveTierError"
)

View File

@ -75,13 +75,13 @@ func (c *SES) CloneReceiptRuleSetRequest(input *CloneReceiptRuleSetInput) (req *
// API operation CloneReceiptRuleSet for usage and error information.
//
// Returned Error Codes:
// * RuleSetDoesNotExist
// * ErrCodeRuleSetDoesNotExistException "RuleSetDoesNotExist"
// Indicates that the provided receipt rule set does not exist.
//
// * AlreadyExists
// * ErrCodeAlreadyExistsException "AlreadyExists"
// Indicates that a resource could not be created because of a naming conflict.
//
// * LimitExceeded
// * 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 (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/limits.html).
//
@ -152,15 +152,15 @@ func (c *SES) CreateConfigurationSetRequest(input *CreateConfigurationSetInput)
// API operation CreateConfigurationSet for usage and error information.
//
// Returned Error Codes:
// * ConfigurationSetAlreadyExists
// * ErrCodeConfigurationSetAlreadyExistsException "ConfigurationSetAlreadyExists"
// Indicates that the configuration set could not be created because of a naming
// conflict.
//
// * InvalidConfigurationSet
// * ErrCodeInvalidConfigurationSetException "InvalidConfigurationSet"
// Indicates that the configuration set is invalid. See the error message for
// details.
//
// * LimitExceeded
// * 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 (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/limits.html).
//
@ -236,22 +236,22 @@ func (c *SES) CreateConfigurationSetEventDestinationRequest(input *CreateConfigu
// API operation CreateConfigurationSetEventDestination for usage and error information.
//
// Returned Error Codes:
// * ConfigurationSetDoesNotExist
// * ErrCodeConfigurationSetDoesNotExistException "ConfigurationSetDoesNotExist"
// Indicates that the configuration set does not exist.
//
// * EventDestinationAlreadyExists
// * ErrCodeEventDestinationAlreadyExistsException "EventDestinationAlreadyExists"
// Indicates that the event destination could not be created because of a naming
// conflict.
//
// * InvalidCloudWatchDestination
// * ErrCodeInvalidCloudWatchDestinationException "InvalidCloudWatchDestination"
// Indicates that the Amazon CloudWatch destination is invalid. See the error
// message for details.
//
// * InvalidFirehoseDestination
// * ErrCodeInvalidFirehoseDestinationException "InvalidFirehoseDestination"
// Indicates that the Amazon Kinesis Firehose destination is invalid. See the
// error message for details.
//
// * LimitExceeded
// * 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 (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/limits.html).
//
@ -322,11 +322,11 @@ func (c *SES) CreateReceiptFilterRequest(input *CreateReceiptFilterInput) (req *
// API operation CreateReceiptFilter for usage and error information.
//
// Returned Error Codes:
// * LimitExceeded
// * 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 (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/limits.html).
//
// * AlreadyExists
// * ErrCodeAlreadyExistsException "AlreadyExists"
// Indicates that a resource could not be created because of a naming conflict.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateReceiptFilter
@ -396,33 +396,33 @@ func (c *SES) CreateReceiptRuleRequest(input *CreateReceiptRuleInput) (req *requ
// API operation CreateReceiptRule for usage and error information.
//
// Returned Error Codes:
// * InvalidSnsTopic
// * 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 (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-permissions.html).
//
// * InvalidS3Configuration
// * 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 (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-permissions.html).
//
// * InvalidLambdaFunction
// * 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 (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-permissions.html).
//
// * AlreadyExists
// * ErrCodeAlreadyExistsException "AlreadyExists"
// Indicates that a resource could not be created because of a naming conflict.
//
// * RuleDoesNotExist
// * ErrCodeRuleDoesNotExistException "RuleDoesNotExist"
// Indicates that the provided receipt rule does not exist.
//
// * RuleSetDoesNotExist
// * ErrCodeRuleSetDoesNotExistException "RuleSetDoesNotExist"
// Indicates that the provided receipt rule set does not exist.
//
// * LimitExceeded
// * 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 (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/limits.html).
//
@ -493,10 +493,10 @@ func (c *SES) CreateReceiptRuleSetRequest(input *CreateReceiptRuleSetInput) (req
// API operation CreateReceiptRuleSet for usage and error information.
//
// Returned Error Codes:
// * AlreadyExists
// * ErrCodeAlreadyExistsException "AlreadyExists"
// Indicates that a resource could not be created because of a naming conflict.
//
// * LimitExceeded
// * 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 (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/limits.html).
//
@ -567,7 +567,7 @@ func (c *SES) DeleteConfigurationSetRequest(input *DeleteConfigurationSetInput)
// API operation DeleteConfigurationSet for usage and error information.
//
// Returned Error Codes:
// * ConfigurationSetDoesNotExist
// * ErrCodeConfigurationSetDoesNotExistException "ConfigurationSetDoesNotExist"
// Indicates that the configuration set does not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteConfigurationSet
@ -638,10 +638,10 @@ func (c *SES) DeleteConfigurationSetEventDestinationRequest(input *DeleteConfigu
// API operation DeleteConfigurationSetEventDestination for usage and error information.
//
// Returned Error Codes:
// * ConfigurationSetDoesNotExist
// * ErrCodeConfigurationSetDoesNotExistException "ConfigurationSetDoesNotExist"
// Indicates that the configuration set does not exist.
//
// * EventDestinationDoesNotExist
// * ErrCodeEventDestinationDoesNotExistException "EventDestinationDoesNotExist"
// Indicates that the event destination does not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteConfigurationSetEventDestination
@ -910,7 +910,7 @@ func (c *SES) DeleteReceiptRuleRequest(input *DeleteReceiptRuleInput) (req *requ
// API operation DeleteReceiptRule for usage and error information.
//
// Returned Error Codes:
// * RuleSetDoesNotExist
// * ErrCodeRuleSetDoesNotExistException "RuleSetDoesNotExist"
// Indicates that the provided receipt rule set does not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteReceiptRule
@ -982,7 +982,7 @@ func (c *SES) DeleteReceiptRuleSetRequest(input *DeleteReceiptRuleSetInput) (req
// API operation DeleteReceiptRuleSet for usage and error information.
//
// Returned Error Codes:
// * CannotDelete
// * ErrCodeCannotDeleteException "CannotDelete"
// Indicates that the delete operation could not be completed.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteReceiptRuleSet
@ -1185,7 +1185,7 @@ func (c *SES) DescribeConfigurationSetRequest(input *DescribeConfigurationSetInp
// API operation DescribeConfigurationSet for usage and error information.
//
// Returned Error Codes:
// * ConfigurationSetDoesNotExist
// * ErrCodeConfigurationSetDoesNotExistException "ConfigurationSetDoesNotExist"
// Indicates that the configuration set does not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DescribeConfigurationSet
@ -1255,10 +1255,10 @@ func (c *SES) DescribeReceiptRuleRequest(input *DescribeReceiptRuleInput) (req *
// API operation DescribeReceiptRule for usage and error information.
//
// Returned Error Codes:
// * RuleDoesNotExist
// * ErrCodeRuleDoesNotExistException "RuleDoesNotExist"
// Indicates that the provided receipt rule does not exist.
//
// * RuleSetDoesNotExist
// * ErrCodeRuleSetDoesNotExistException "RuleSetDoesNotExist"
// Indicates that the provided receipt rule set does not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DescribeReceiptRule
@ -1328,7 +1328,7 @@ func (c *SES) DescribeReceiptRuleSetRequest(input *DescribeReceiptRuleSetInput)
// API operation DescribeReceiptRuleSet for usage and error information.
//
// Returned Error Codes:
// * RuleSetDoesNotExist
// * ErrCodeRuleSetDoesNotExistException "RuleSetDoesNotExist"
// Indicates that the provided receipt rule set does not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DescribeReceiptRuleSet
@ -2308,7 +2308,7 @@ func (c *SES) PutIdentityPolicyRequest(input *PutIdentityPolicyInput) (req *requ
// API operation PutIdentityPolicy for usage and error information.
//
// Returned Error Codes:
// * InvalidPolicy
// * ErrCodeInvalidPolicyException "InvalidPolicy"
// Indicates that the provided policy is invalid. Check the error stack for
// more information about what caused the error.
//
@ -2383,10 +2383,10 @@ func (c *SES) ReorderReceiptRuleSetRequest(input *ReorderReceiptRuleSetInput) (r
// API operation ReorderReceiptRuleSet for usage and error information.
//
// Returned Error Codes:
// * RuleSetDoesNotExist
// * ErrCodeRuleSetDoesNotExistException "RuleSetDoesNotExist"
// Indicates that the provided receipt rule set does not exist.
//
// * RuleDoesNotExist
// * ErrCodeRuleDoesNotExistException "RuleDoesNotExist"
// Indicates that the provided receipt rule does not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ReorderReceiptRuleSet
@ -2461,7 +2461,7 @@ func (c *SES) SendBounceRequest(input *SendBounceInput) (req *request.Request, o
// API operation SendBounce for usage and error information.
//
// Returned Error Codes:
// * MessageRejected
// * 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.
//
@ -2551,17 +2551,17 @@ func (c *SES) SendEmailRequest(input *SendEmailInput) (req *request.Request, out
// API operation SendEmail for usage and error information.
//
// Returned Error Codes:
// * MessageRejected
// * 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.
//
// * MailFromDomainNotVerifiedException
// * 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 (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/mail-from-edit.html).
//
// * ConfigurationSetDoesNotExist
// * ErrCodeConfigurationSetDoesNotExistException "ConfigurationSetDoesNotExist"
// Indicates that the configuration set does not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendEmail
@ -2682,17 +2682,17 @@ func (c *SES) SendRawEmailRequest(input *SendRawEmailInput) (req *request.Reques
// API operation SendRawEmail for usage and error information.
//
// Returned Error Codes:
// * MessageRejected
// * 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.
//
// * MailFromDomainNotVerifiedException
// * 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 (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/mail-from-edit.html).
//
// * ConfigurationSetDoesNotExist
// * ErrCodeConfigurationSetDoesNotExistException "ConfigurationSetDoesNotExist"
// Indicates that the configuration set does not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendRawEmail
@ -2765,7 +2765,7 @@ func (c *SES) SetActiveReceiptRuleSetRequest(input *SetActiveReceiptRuleSetInput
// API operation SetActiveReceiptRuleSet for usage and error information.
//
// Returned Error Codes:
// * RuleSetDoesNotExist
// * ErrCodeRuleSetDoesNotExistException "RuleSetDoesNotExist"
// Indicates that the provided receipt rule set does not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetActiveReceiptRuleSet
@ -3188,10 +3188,10 @@ func (c *SES) SetReceiptRulePositionRequest(input *SetReceiptRulePositionInput)
// API operation SetReceiptRulePosition for usage and error information.
//
// Returned Error Codes:
// * RuleSetDoesNotExist
// * ErrCodeRuleSetDoesNotExistException "RuleSetDoesNotExist"
// Indicates that the provided receipt rule set does not exist.
//
// * RuleDoesNotExist
// * ErrCodeRuleDoesNotExistException "RuleDoesNotExist"
// Indicates that the provided receipt rule does not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetReceiptRulePosition
@ -3267,17 +3267,17 @@ func (c *SES) UpdateConfigurationSetEventDestinationRequest(input *UpdateConfigu
// API operation UpdateConfigurationSetEventDestination for usage and error information.
//
// Returned Error Codes:
// * ConfigurationSetDoesNotExist
// * ErrCodeConfigurationSetDoesNotExistException "ConfigurationSetDoesNotExist"
// Indicates that the configuration set does not exist.
//
// * EventDestinationDoesNotExist
// * ErrCodeEventDestinationDoesNotExistException "EventDestinationDoesNotExist"
// Indicates that the event destination does not exist.
//
// * InvalidCloudWatchDestination
// * ErrCodeInvalidCloudWatchDestinationException "InvalidCloudWatchDestination"
// Indicates that the Amazon CloudWatch destination is invalid. See the error
// message for details.
//
// * InvalidFirehoseDestination
// * ErrCodeInvalidFirehoseDestinationException "InvalidFirehoseDestination"
// Indicates that the Amazon Kinesis Firehose destination is invalid. See the
// error message for details.
//
@ -3348,30 +3348,30 @@ func (c *SES) UpdateReceiptRuleRequest(input *UpdateReceiptRuleInput) (req *requ
// API operation UpdateReceiptRule for usage and error information.
//
// Returned Error Codes:
// * InvalidSnsTopic
// * 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 (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-permissions.html).
//
// * InvalidS3Configuration
// * 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 (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-permissions.html).
//
// * InvalidLambdaFunction
// * 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 (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-permissions.html).
//
// * RuleSetDoesNotExist
// * ErrCodeRuleSetDoesNotExistException "RuleSetDoesNotExist"
// Indicates that the provided receipt rule set does not exist.
//
// * RuleDoesNotExist
// * ErrCodeRuleDoesNotExistException "RuleDoesNotExist"
// Indicates that the provided receipt rule does not exist.
//
// * LimitExceeded
// * 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 (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/limits.html).
//

133
vendor/github.com/aws/aws-sdk-go/service/ses/errors.go generated vendored Normal file
View File

@ -0,0 +1,133 @@
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
package ses
const (
// ErrCodeAlreadyExistsException for service response error code
// "AlreadyExists".
//
// Indicates that a resource could not be created because of a naming conflict.
ErrCodeAlreadyExistsException = "AlreadyExists"
// ErrCodeCannotDeleteException for service response error code
// "CannotDelete".
//
// Indicates that the delete operation could not be completed.
ErrCodeCannotDeleteException = "CannotDelete"
// ErrCodeConfigurationSetAlreadyExistsException for service response error code
// "ConfigurationSetAlreadyExists".
//
// Indicates that the configuration set could not be created because of a naming
// conflict.
ErrCodeConfigurationSetAlreadyExistsException = "ConfigurationSetAlreadyExists"
// ErrCodeConfigurationSetDoesNotExistException for service response error code
// "ConfigurationSetDoesNotExist".
//
// Indicates that the configuration set does not exist.
ErrCodeConfigurationSetDoesNotExistException = "ConfigurationSetDoesNotExist"
// ErrCodeEventDestinationAlreadyExistsException for service response error code
// "EventDestinationAlreadyExists".
//
// Indicates that the event destination could not be created because of a naming
// conflict.
ErrCodeEventDestinationAlreadyExistsException = "EventDestinationAlreadyExists"
// ErrCodeEventDestinationDoesNotExistException for service response error code
// "EventDestinationDoesNotExist".
//
// Indicates that the event destination does not exist.
ErrCodeEventDestinationDoesNotExistException = "EventDestinationDoesNotExist"
// ErrCodeInvalidCloudWatchDestinationException for service response error code
// "InvalidCloudWatchDestination".
//
// Indicates that the Amazon CloudWatch destination is invalid. See the error
// message for details.
ErrCodeInvalidCloudWatchDestinationException = "InvalidCloudWatchDestination"
// ErrCodeInvalidConfigurationSetException for service response error code
// "InvalidConfigurationSet".
//
// Indicates that the configuration set is invalid. See the error message for
// details.
ErrCodeInvalidConfigurationSetException = "InvalidConfigurationSet"
// ErrCodeInvalidFirehoseDestinationException for service response error code
// "InvalidFirehoseDestination".
//
// Indicates that the Amazon Kinesis Firehose destination is invalid. See the
// error message for details.
ErrCodeInvalidFirehoseDestinationException = "InvalidFirehoseDestination"
// ErrCodeInvalidLambdaFunctionException for service response error code
// "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 (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-permissions.html).
ErrCodeInvalidLambdaFunctionException = "InvalidLambdaFunction"
// ErrCodeInvalidPolicyException for service response error code
// "InvalidPolicy".
//
// Indicates that the provided policy is invalid. Check the error stack for
// more information about what caused the error.
ErrCodeInvalidPolicyException = "InvalidPolicy"
// ErrCodeInvalidS3ConfigurationException for service response error code
// "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 (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-permissions.html).
ErrCodeInvalidS3ConfigurationException = "InvalidS3Configuration"
// ErrCodeInvalidSnsTopicException for service response error code
// "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 (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-permissions.html).
ErrCodeInvalidSnsTopicException = "InvalidSnsTopic"
// ErrCodeLimitExceededException for service response error code
// "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 (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/limits.html).
ErrCodeLimitExceededException = "LimitExceeded"
// ErrCodeMailFromDomainNotVerifiedException for service response error code
// "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 (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/mail-from-edit.html).
ErrCodeMailFromDomainNotVerifiedException = "MailFromDomainNotVerifiedException"
// ErrCodeMessageRejected for service response error code
// "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"
// ErrCodeRuleDoesNotExistException for service response error code
// "RuleDoesNotExist".
//
// Indicates that the provided receipt rule does not exist.
ErrCodeRuleDoesNotExistException = "RuleDoesNotExist"
// ErrCodeRuleSetDoesNotExistException for service response error code
// "RuleSetDoesNotExist".
//
// Indicates that the provided receipt rule set does not exist.
ErrCodeRuleSetDoesNotExistException = "RuleSetDoesNotExist"
)

View File

@ -65,11 +65,11 @@ func (c *SFN) CreateActivityRequest(input *CreateActivityInput) (req *request.Re
// API operation CreateActivity for usage and error information.
//
// Returned Error Codes:
// * ActivityLimitExceeded
// * ErrCodeActivityLimitExceeded "ActivityLimitExceeded"
// The maximum number of activities has been reached. Existing activities must
// be deleted before a new activity can be created.
//
// * InvalidName
// * ErrCodeInvalidName "InvalidName"
// The provided name is invalid.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/CreateActivity
@ -134,23 +134,23 @@ func (c *SFN) CreateStateMachineRequest(input *CreateStateMachineInput) (req *re
// API operation CreateStateMachine for usage and error information.
//
// Returned Error Codes:
// * InvalidArn
// * ErrCodeInvalidArn "InvalidArn"
// The provided Amazon Resource Name (ARN) is invalid.
//
// * InvalidDefinition
// * ErrCodeInvalidDefinition "InvalidDefinition"
// The provided Amazon States Language definition is invalid.
//
// * InvalidName
// * ErrCodeInvalidName "InvalidName"
// The provided name is invalid.
//
// * StateMachineAlreadyExists
// * ErrCodeStateMachineAlreadyExists "StateMachineAlreadyExists"
// A state machine with the same name but a different definition or role ARN
// already exists.
//
// * StateMachineDeleting
// * ErrCodeStateMachineDeleting "StateMachineDeleting"
// The specified state machine is being deleted.
//
// * StateMachineLimitExceeded
// * ErrCodeStateMachineLimitExceeded "StateMachineLimitExceeded"
// The maximum number of state machines has been reached. Existing state machines
// must be deleted before a new state machine can be created.
//
@ -216,7 +216,7 @@ func (c *SFN) DeleteActivityRequest(input *DeleteActivityInput) (req *request.Re
// API operation DeleteActivity for usage and error information.
//
// Returned Error Codes:
// * InvalidArn
// * ErrCodeInvalidArn "InvalidArn"
// The provided Amazon Resource Name (ARN) is invalid.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DeleteActivity
@ -282,7 +282,7 @@ func (c *SFN) DeleteStateMachineRequest(input *DeleteStateMachineInput) (req *re
// API operation DeleteStateMachine for usage and error information.
//
// Returned Error Codes:
// * InvalidArn
// * ErrCodeInvalidArn "InvalidArn"
// The provided Amazon Resource Name (ARN) is invalid.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DeleteStateMachine
@ -347,10 +347,10 @@ func (c *SFN) DescribeActivityRequest(input *DescribeActivityInput) (req *reques
// API operation DescribeActivity for usage and error information.
//
// Returned Error Codes:
// * ActivityDoesNotExist
// * ErrCodeActivityDoesNotExist "ActivityDoesNotExist"
// The specified activity does not exist.
//
// * InvalidArn
// * ErrCodeInvalidArn "InvalidArn"
// The provided Amazon Resource Name (ARN) is invalid.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeActivity
@ -415,10 +415,10 @@ func (c *SFN) DescribeExecutionRequest(input *DescribeExecutionInput) (req *requ
// API operation DescribeExecution for usage and error information.
//
// Returned Error Codes:
// * ExecutionDoesNotExist
// * ErrCodeExecutionDoesNotExist "ExecutionDoesNotExist"
// The specified execution does not exist.
//
// * InvalidArn
// * ErrCodeInvalidArn "InvalidArn"
// The provided Amazon Resource Name (ARN) is invalid.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeExecution
@ -483,10 +483,10 @@ func (c *SFN) DescribeStateMachineRequest(input *DescribeStateMachineInput) (req
// API operation DescribeStateMachine for usage and error information.
//
// Returned Error Codes:
// * InvalidArn
// * ErrCodeInvalidArn "InvalidArn"
// The provided Amazon Resource Name (ARN) is invalid.
//
// * StateMachineDoesNotExist
// * ErrCodeStateMachineDoesNotExist "StateMachineDoesNotExist"
// The specified state machine does not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeStateMachine
@ -560,14 +560,14 @@ func (c *SFN) GetActivityTaskRequest(input *GetActivityTaskInput) (req *request.
// API operation GetActivityTask for usage and error information.
//
// Returned Error Codes:
// * ActivityDoesNotExist
// * ErrCodeActivityDoesNotExist "ActivityDoesNotExist"
// The specified activity does not exist.
//
// * ActivityWorkerLimitExceeded
// * ErrCodeActivityWorkerLimitExceeded "ActivityWorkerLimitExceeded"
// The maximum number of workers concurrently polling for activity tasks has
// been reached.
//
// * InvalidArn
// * ErrCodeInvalidArn "InvalidArn"
// The provided Amazon Resource Name (ARN) is invalid.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/GetActivityTask
@ -642,13 +642,13 @@ func (c *SFN) GetExecutionHistoryRequest(input *GetExecutionHistoryInput) (req *
// API operation GetExecutionHistory for usage and error information.
//
// Returned Error Codes:
// * ExecutionDoesNotExist
// * ErrCodeExecutionDoesNotExist "ExecutionDoesNotExist"
// The specified execution does not exist.
//
// * InvalidArn
// * ErrCodeInvalidArn "InvalidArn"
// The provided Amazon Resource Name (ARN) is invalid.
//
// * InvalidToken
// * ErrCodeInvalidToken "InvalidToken"
// The provided token is invalid.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/GetExecutionHistory
@ -746,7 +746,7 @@ func (c *SFN) ListActivitiesRequest(input *ListActivitiesInput) (req *request.Re
// API operation ListActivities for usage and error information.
//
// Returned Error Codes:
// * InvalidToken
// * ErrCodeInvalidToken "InvalidToken"
// The provided token is invalid.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListActivities
@ -844,13 +844,13 @@ func (c *SFN) ListExecutionsRequest(input *ListExecutionsInput) (req *request.Re
// API operation ListExecutions for usage and error information.
//
// Returned Error Codes:
// * InvalidArn
// * ErrCodeInvalidArn "InvalidArn"
// The provided Amazon Resource Name (ARN) is invalid.
//
// * InvalidToken
// * ErrCodeInvalidToken "InvalidToken"
// The provided token is invalid.
//
// * StateMachineDoesNotExist
// * ErrCodeStateMachineDoesNotExist "StateMachineDoesNotExist"
// The specified state machine does not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListExecutions
@ -948,7 +948,7 @@ func (c *SFN) ListStateMachinesRequest(input *ListStateMachinesInput) (req *requ
// API operation ListStateMachines for usage and error information.
//
// Returned Error Codes:
// * InvalidToken
// * ErrCodeInvalidToken "InvalidToken"
// The provided token is invalid.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListStateMachines
@ -1038,14 +1038,12 @@ func (c *SFN) SendTaskFailureRequest(input *SendTaskFailureInput) (req *request.
// API operation SendTaskFailure for usage and error information.
//
// Returned Error Codes:
// * TaskDoesNotExist
// * ErrCodeTaskDoesNotExist "TaskDoesNotExist"
//
// * InvalidToken
// * ErrCodeInvalidToken "InvalidToken"
// The provided token is invalid.
//
// * TaskTimedOut
// * ErrCodeTaskTimedOut "TaskTimedOut"
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/SendTaskFailure
func (c *SFN) SendTaskFailure(input *SendTaskFailureInput) (*SendTaskFailureOutput, error) {
@ -1121,14 +1119,12 @@ func (c *SFN) SendTaskHeartbeatRequest(input *SendTaskHeartbeatInput) (req *requ
// API operation SendTaskHeartbeat for usage and error information.
//
// Returned Error Codes:
// * TaskDoesNotExist
// * ErrCodeTaskDoesNotExist "TaskDoesNotExist"
//
// * InvalidToken
// * ErrCodeInvalidToken "InvalidToken"
// The provided token is invalid.
//
// * TaskTimedOut
// * ErrCodeTaskTimedOut "TaskTimedOut"
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/SendTaskHeartbeat
func (c *SFN) SendTaskHeartbeat(input *SendTaskHeartbeatInput) (*SendTaskHeartbeatOutput, error) {
@ -1193,17 +1189,15 @@ func (c *SFN) SendTaskSuccessRequest(input *SendTaskSuccessInput) (req *request.
// API operation SendTaskSuccess for usage and error information.
//
// Returned Error Codes:
// * TaskDoesNotExist
// * ErrCodeTaskDoesNotExist "TaskDoesNotExist"
//
// * InvalidOutput
// * ErrCodeInvalidOutput "InvalidOutput"
// The provided JSON output data is invalid.
//
// * InvalidToken
// * ErrCodeInvalidToken "InvalidToken"
// The provided token is invalid.
//
// * TaskTimedOut
// * ErrCodeTaskTimedOut "TaskTimedOut"
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/SendTaskSuccess
func (c *SFN) SendTaskSuccess(input *SendTaskSuccessInput) (*SendTaskSuccessOutput, error) {
@ -1267,26 +1261,26 @@ func (c *SFN) StartExecutionRequest(input *StartExecutionInput) (req *request.Re
// API operation StartExecution for usage and error information.
//
// Returned Error Codes:
// * ExecutionLimitExceeded
// * ErrCodeExecutionLimitExceeded "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
// * ErrCodeExecutionAlreadyExists "ExecutionAlreadyExists"
// An execution with the same name already exists.
//
// * InvalidArn
// * ErrCodeInvalidArn "InvalidArn"
// The provided Amazon Resource Name (ARN) is invalid.
//
// * InvalidExecutionInput
// * ErrCodeInvalidExecutionInput "InvalidExecutionInput"
// The provided JSON input data is invalid.
//
// * InvalidName
// * ErrCodeInvalidName "InvalidName"
// The provided name is invalid.
//
// * StateMachineDoesNotExist
// * ErrCodeStateMachineDoesNotExist "StateMachineDoesNotExist"
// The specified state machine does not exist.
//
// * StateMachineDeleting
// * ErrCodeStateMachineDeleting "StateMachineDeleting"
// The specified state machine is being deleted.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StartExecution
@ -1351,10 +1345,10 @@ func (c *SFN) StopExecutionRequest(input *StopExecutionInput) (req *request.Requ
// API operation StopExecution for usage and error information.
//
// Returned Error Codes:
// * ExecutionDoesNotExist
// * ErrCodeExecutionDoesNotExist "ExecutionDoesNotExist"
// The specified execution does not exist.
//
// * InvalidArn
// * ErrCodeInvalidArn "InvalidArn"
// The provided Amazon Resource Name (ARN) is invalid.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StopExecution

115
vendor/github.com/aws/aws-sdk-go/service/sfn/errors.go generated vendored Normal file
View File

@ -0,0 +1,115 @@
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
package sfn
const (
// ErrCodeActivityDoesNotExist for service response error code
// "ActivityDoesNotExist".
//
// The specified activity does not exist.
ErrCodeActivityDoesNotExist = "ActivityDoesNotExist"
// ErrCodeActivityLimitExceeded for service response error code
// "ActivityLimitExceeded".
//
// The maximum number of activities has been reached. Existing activities must
// be deleted before a new activity can be created.
ErrCodeActivityLimitExceeded = "ActivityLimitExceeded"
// ErrCodeActivityWorkerLimitExceeded for service response error code
// "ActivityWorkerLimitExceeded".
//
// The maximum number of workers concurrently polling for activity tasks has
// been reached.
ErrCodeActivityWorkerLimitExceeded = "ActivityWorkerLimitExceeded"
// ErrCodeExecutionAlreadyExists for service response error code
// "ExecutionAlreadyExists".
//
// An execution with the same name already exists.
ErrCodeExecutionAlreadyExists = "ExecutionAlreadyExists"
// ErrCodeExecutionDoesNotExist for service response error code
// "ExecutionDoesNotExist".
//
// The specified execution does not exist.
ErrCodeExecutionDoesNotExist = "ExecutionDoesNotExist"
// ErrCodeExecutionLimitExceeded for service response error code
// "ExecutionLimitExceeded".
//
// The maximum number of running executions has been reached. Running executions
// must end or be stopped before a new execution can be started.
ErrCodeExecutionLimitExceeded = "ExecutionLimitExceeded"
// ErrCodeInvalidArn for service response error code
// "InvalidArn".
//
// The provided Amazon Resource Name (ARN) is invalid.
ErrCodeInvalidArn = "InvalidArn"
// ErrCodeInvalidDefinition for service response error code
// "InvalidDefinition".
//
// The provided Amazon States Language definition is invalid.
ErrCodeInvalidDefinition = "InvalidDefinition"
// ErrCodeInvalidExecutionInput for service response error code
// "InvalidExecutionInput".
//
// The provided JSON input data is invalid.
ErrCodeInvalidExecutionInput = "InvalidExecutionInput"
// ErrCodeInvalidName for service response error code
// "InvalidName".
//
// The provided name is invalid.
ErrCodeInvalidName = "InvalidName"
// ErrCodeInvalidOutput for service response error code
// "InvalidOutput".
//
// The provided JSON output data is invalid.
ErrCodeInvalidOutput = "InvalidOutput"
// ErrCodeInvalidToken for service response error code
// "InvalidToken".
//
// The provided token is invalid.
ErrCodeInvalidToken = "InvalidToken"
// ErrCodeStateMachineAlreadyExists for service response error code
// "StateMachineAlreadyExists".
//
// A state machine with the same name but a different definition or role ARN
// already exists.
ErrCodeStateMachineAlreadyExists = "StateMachineAlreadyExists"
// ErrCodeStateMachineDeleting for service response error code
// "StateMachineDeleting".
//
// The specified state machine is being deleted.
ErrCodeStateMachineDeleting = "StateMachineDeleting"
// ErrCodeStateMachineDoesNotExist for service response error code
// "StateMachineDoesNotExist".
//
// The specified state machine does not exist.
ErrCodeStateMachineDoesNotExist = "StateMachineDoesNotExist"
// ErrCodeStateMachineLimitExceeded for service response error code
// "StateMachineLimitExceeded".
//
// The maximum number of state machines has been reached. Existing state machines
// must be deleted before a new state machine can be created.
ErrCodeStateMachineLimitExceeded = "StateMachineLimitExceeded"
// ErrCodeTaskDoesNotExist for service response error code
// "TaskDoesNotExist".
ErrCodeTaskDoesNotExist = "TaskDoesNotExist"
// ErrCodeTaskTimedOut for service response error code
// "TaskTimedOut".
ErrCodeTaskTimedOut = "TaskTimedOut"
)

View File

@ -196,31 +196,31 @@ func (c *SimpleDB) BatchPutAttributesRequest(input *BatchPutAttributesInput) (re
// API operation BatchPutAttributes for usage and error information.
//
// Returned Error Codes:
// * DuplicateItemName
// * ErrCodeDuplicateItemName "DuplicateItemName"
// The item name was specified more than once.
//
// * InvalidParameterValue
// * ErrCodeInvalidParameterValue "InvalidParameterValue"
// The value for a parameter is invalid.
//
// * MissingParameter
// * ErrCodeMissingParameter "MissingParameter"
// The request must contain the specified missing parameter.
//
// * NoSuchDomain
// * ErrCodeNoSuchDomain "NoSuchDomain"
// The specified domain does not exist.
//
// * NumberItemAttributesExceeded
// * ErrCodeNumberItemAttributesExceeded "NumberItemAttributesExceeded"
// Too many attributes in this item.
//
// * NumberDomainAttributesExceeded
// * ErrCodeNumberDomainAttributesExceeded "NumberDomainAttributesExceeded"
// Too many attributes in this domain.
//
// * NumberDomainBytesExceeded
// * ErrCodeNumberDomainBytesExceeded "NumberDomainBytesExceeded"
// Too many bytes in this domain.
//
// * NumberSubmittedItemsExceeded
// * ErrCodeNumberSubmittedItemsExceeded "NumberSubmittedItemsExceeded"
// Too many items exist in a single call.
//
// * NumberSubmittedAttributesExceeded
// * ErrCodeNumberSubmittedAttributesExceeded "NumberSubmittedAttributesExceeded"
// Too many attributes exist in a single call.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI//BatchPutAttributes
@ -295,13 +295,13 @@ func (c *SimpleDB) CreateDomainRequest(input *CreateDomainInput) (req *request.R
// API operation CreateDomain for usage and error information.
//
// Returned Error Codes:
// * InvalidParameterValue
// * ErrCodeInvalidParameterValue "InvalidParameterValue"
// The value for a parameter is invalid.
//
// * MissingParameter
// * ErrCodeMissingParameter "MissingParameter"
// The request must contain the specified missing parameter.
//
// * NumberDomainsExceeded
// * ErrCodeNumberDomainsExceeded "NumberDomainsExceeded"
// Too many domains exist per this account.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI//CreateDomain
@ -378,16 +378,16 @@ func (c *SimpleDB) DeleteAttributesRequest(input *DeleteAttributesInput) (req *r
// API operation DeleteAttributes for usage and error information.
//
// Returned Error Codes:
// * InvalidParameterValue
// * ErrCodeInvalidParameterValue "InvalidParameterValue"
// The value for a parameter is invalid.
//
// * MissingParameter
// * ErrCodeMissingParameter "MissingParameter"
// The request must contain the specified missing parameter.
//
// * NoSuchDomain
// * ErrCodeNoSuchDomain "NoSuchDomain"
// The specified domain does not exist.
//
// * AttributeDoesNotExist
// * ErrCodeAttributeDoesNotExist "AttributeDoesNotExist"
// The specified attribute does not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI//DeleteAttributes
@ -459,7 +459,7 @@ func (c *SimpleDB) DeleteDomainRequest(input *DeleteDomainInput) (req *request.R
// API operation DeleteDomain for usage and error information.
//
// Returned Error Codes:
// * MissingParameter
// * ErrCodeMissingParameter "MissingParameter"
// The request must contain the specified missing parameter.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI//DeleteDomain
@ -526,10 +526,10 @@ func (c *SimpleDB) DomainMetadataRequest(input *DomainMetadataInput) (req *reque
// API operation DomainMetadata for usage and error information.
//
// Returned Error Codes:
// * MissingParameter
// * ErrCodeMissingParameter "MissingParameter"
// The request must contain the specified missing parameter.
//
// * NoSuchDomain
// * ErrCodeNoSuchDomain "NoSuchDomain"
// The specified domain does not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI//DomainMetadata
@ -603,13 +603,13 @@ func (c *SimpleDB) GetAttributesRequest(input *GetAttributesInput) (req *request
// API operation GetAttributes for usage and error information.
//
// Returned Error Codes:
// * InvalidParameterValue
// * ErrCodeInvalidParameterValue "InvalidParameterValue"
// The value for a parameter is invalid.
//
// * MissingParameter
// * ErrCodeMissingParameter "MissingParameter"
// The request must contain the specified missing parameter.
//
// * NoSuchDomain
// * ErrCodeNoSuchDomain "NoSuchDomain"
// The specified domain does not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI//GetAttributes
@ -685,10 +685,10 @@ func (c *SimpleDB) ListDomainsRequest(input *ListDomainsInput) (req *request.Req
// API operation ListDomains for usage and error information.
//
// Returned Error Codes:
// * InvalidParameterValue
// * ErrCodeInvalidParameterValue "InvalidParameterValue"
// The value for a parameter is invalid.
//
// * InvalidNextToken
// * ErrCodeInvalidNextToken "InvalidNextToken"
// The specified NextToken is not valid.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI//ListDomains
@ -810,25 +810,25 @@ func (c *SimpleDB) PutAttributesRequest(input *PutAttributesInput) (req *request
// API operation PutAttributes for usage and error information.
//
// Returned Error Codes:
// * InvalidParameterValue
// * ErrCodeInvalidParameterValue "InvalidParameterValue"
// The value for a parameter is invalid.
//
// * MissingParameter
// * ErrCodeMissingParameter "MissingParameter"
// The request must contain the specified missing parameter.
//
// * NoSuchDomain
// * ErrCodeNoSuchDomain "NoSuchDomain"
// The specified domain does not exist.
//
// * NumberDomainAttributesExceeded
// * ErrCodeNumberDomainAttributesExceeded "NumberDomainAttributesExceeded"
// Too many attributes in this domain.
//
// * NumberDomainBytesExceeded
// * ErrCodeNumberDomainBytesExceeded "NumberDomainBytesExceeded"
// Too many bytes in this domain.
//
// * NumberItemAttributesExceeded
// * ErrCodeNumberItemAttributesExceeded "NumberItemAttributesExceeded"
// Too many attributes in this item.
//
// * AttributeDoesNotExist
// * ErrCodeAttributeDoesNotExist "AttributeDoesNotExist"
// The specified attribute does not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI//PutAttributes
@ -909,32 +909,32 @@ func (c *SimpleDB) SelectRequest(input *SelectInput) (req *request.Request, outp
// API operation Select for usage and error information.
//
// Returned Error Codes:
// * InvalidParameterValue
// * ErrCodeInvalidParameterValue "InvalidParameterValue"
// The value for a parameter is invalid.
//
// * InvalidNextToken
// * ErrCodeInvalidNextToken "InvalidNextToken"
// The specified NextToken is not valid.
//
// * InvalidNumberPredicates
// * ErrCodeInvalidNumberPredicates "InvalidNumberPredicates"
// Too many predicates exist in the query expression.
//
// * InvalidNumberValueTests
// * ErrCodeInvalidNumberValueTests "InvalidNumberValueTests"
// Too many predicates exist in the query expression.
//
// * InvalidQueryExpression
// * ErrCodeInvalidQueryExpression "InvalidQueryExpression"
// The specified query expression syntax is not valid.
//
// * MissingParameter
// * ErrCodeMissingParameter "MissingParameter"
// The request must contain the specified missing parameter.
//
// * NoSuchDomain
// * ErrCodeNoSuchDomain "NoSuchDomain"
// The specified domain does not exist.
//
// * RequestTimeout
// * ErrCodeRequestTimeout "RequestTimeout"
// A timeout occurred when attempting to query the specified domain with specified
// query expression.
//
// * TooManyRequestedAttributes
// * ErrCodeTooManyRequestedAttributes "TooManyRequestedAttributes"
// Too many attributes requested.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI//Select

View File

@ -0,0 +1,109 @@
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
package simpledb
const (
// ErrCodeAttributeDoesNotExist for service response error code
// "AttributeDoesNotExist".
//
// The specified attribute does not exist.
ErrCodeAttributeDoesNotExist = "AttributeDoesNotExist"
// ErrCodeDuplicateItemName for service response error code
// "DuplicateItemName".
//
// The item name was specified more than once.
ErrCodeDuplicateItemName = "DuplicateItemName"
// ErrCodeInvalidNextToken for service response error code
// "InvalidNextToken".
//
// The specified NextToken is not valid.
ErrCodeInvalidNextToken = "InvalidNextToken"
// ErrCodeInvalidNumberPredicates for service response error code
// "InvalidNumberPredicates".
//
// Too many predicates exist in the query expression.
ErrCodeInvalidNumberPredicates = "InvalidNumberPredicates"
// ErrCodeInvalidNumberValueTests for service response error code
// "InvalidNumberValueTests".
//
// Too many predicates exist in the query expression.
ErrCodeInvalidNumberValueTests = "InvalidNumberValueTests"
// ErrCodeInvalidParameterValue for service response error code
// "InvalidParameterValue".
//
// The value for a parameter is invalid.
ErrCodeInvalidParameterValue = "InvalidParameterValue"
// ErrCodeInvalidQueryExpression for service response error code
// "InvalidQueryExpression".
//
// The specified query expression syntax is not valid.
ErrCodeInvalidQueryExpression = "InvalidQueryExpression"
// ErrCodeMissingParameter for service response error code
// "MissingParameter".
//
// The request must contain the specified missing parameter.
ErrCodeMissingParameter = "MissingParameter"
// ErrCodeNoSuchDomain for service response error code
// "NoSuchDomain".
//
// The specified domain does not exist.
ErrCodeNoSuchDomain = "NoSuchDomain"
// ErrCodeNumberDomainAttributesExceeded for service response error code
// "NumberDomainAttributesExceeded".
//
// Too many attributes in this domain.
ErrCodeNumberDomainAttributesExceeded = "NumberDomainAttributesExceeded"
// ErrCodeNumberDomainBytesExceeded for service response error code
// "NumberDomainBytesExceeded".
//
// Too many bytes in this domain.
ErrCodeNumberDomainBytesExceeded = "NumberDomainBytesExceeded"
// ErrCodeNumberDomainsExceeded for service response error code
// "NumberDomainsExceeded".
//
// Too many domains exist per this account.
ErrCodeNumberDomainsExceeded = "NumberDomainsExceeded"
// ErrCodeNumberItemAttributesExceeded for service response error code
// "NumberItemAttributesExceeded".
//
// Too many attributes in this item.
ErrCodeNumberItemAttributesExceeded = "NumberItemAttributesExceeded"
// ErrCodeNumberSubmittedAttributesExceeded for service response error code
// "NumberSubmittedAttributesExceeded".
//
// Too many attributes exist in a single call.
ErrCodeNumberSubmittedAttributesExceeded = "NumberSubmittedAttributesExceeded"
// ErrCodeNumberSubmittedItemsExceeded for service response error code
// "NumberSubmittedItemsExceeded".
//
// Too many items exist in a single call.
ErrCodeNumberSubmittedItemsExceeded = "NumberSubmittedItemsExceeded"
// ErrCodeRequestTimeout for service response error code
// "RequestTimeout".
//
// A timeout occurred when attempting to query the specified domain with specified
// query expression.
ErrCodeRequestTimeout = "RequestTimeout"
// ErrCodeTooManyRequestedAttributes for service response error code
// "TooManyRequestedAttributes".
//
// Too many attributes requested.
ErrCodeTooManyRequestedAttributes = "TooManyRequestedAttributes"
)

View File

@ -70,16 +70,16 @@ func (c *SNS) AddPermissionRequest(input *AddPermissionInput) (req *request.Requ
// API operation AddPermission for usage and error information.
//
// Returned Error Codes:
// * InvalidParameter
// * ErrCodeInvalidParameterException "InvalidParameter"
// Indicates that a request parameter does not comply with the associated constraints.
//
// * InternalError
// * ErrCodeInternalErrorException "InternalError"
// Indicates an internal service error.
//
// * AuthorizationError
// * ErrCodeAuthorizationErrorException "AuthorizationError"
// Indicates that the user has been denied access to the requested resource.
//
// * NotFound
// * ErrCodeNotFoundException "NotFound"
// Indicates that the requested resource does not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/AddPermission
@ -149,17 +149,17 @@ func (c *SNS) CheckIfPhoneNumberIsOptedOutRequest(input *CheckIfPhoneNumberIsOpt
// API operation CheckIfPhoneNumberIsOptedOut for usage and error information.
//
// Returned Error Codes:
// * Throttled
// * ErrCodeThrottledException "Throttled"
// Indicates that the rate at which requests have been submitted for this action
// exceeds the limit for your account.
//
// * InternalError
// * ErrCodeInternalErrorException "InternalError"
// Indicates an internal service error.
//
// * AuthorizationError
// * ErrCodeAuthorizationErrorException "AuthorizationError"
// Indicates that the user has been denied access to the requested resource.
//
// * InvalidParameter
// * ErrCodeInvalidParameterException "InvalidParameter"
// Indicates that a request parameter does not comply with the associated constraints.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CheckIfPhoneNumberIsOptedOut
@ -228,19 +228,19 @@ func (c *SNS) ConfirmSubscriptionRequest(input *ConfirmSubscriptionInput) (req *
// API operation ConfirmSubscription for usage and error information.
//
// Returned Error Codes:
// * SubscriptionLimitExceeded
// * ErrCodeSubscriptionLimitExceededException "SubscriptionLimitExceeded"
// Indicates that the customer already owns the maximum allowed number of subscriptions.
//
// * InvalidParameter
// * ErrCodeInvalidParameterException "InvalidParameter"
// Indicates that a request parameter does not comply with the associated constraints.
//
// * NotFound
// * ErrCodeNotFoundException "NotFound"
// Indicates that the requested resource does not exist.
//
// * InternalError
// * ErrCodeInternalErrorException "InternalError"
// Indicates an internal service error.
//
// * AuthorizationError
// * ErrCodeAuthorizationErrorException "AuthorizationError"
// Indicates that the user has been denied access to the requested resource.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ConfirmSubscription
@ -330,13 +330,13 @@ func (c *SNS) CreatePlatformApplicationRequest(input *CreatePlatformApplicationI
// API operation CreatePlatformApplication for usage and error information.
//
// Returned Error Codes:
// * InvalidParameter
// * ErrCodeInvalidParameterException "InvalidParameter"
// Indicates that a request parameter does not comply with the associated constraints.
//
// * InternalError
// * ErrCodeInternalErrorException "InternalError"
// Indicates an internal service error.
//
// * AuthorizationError
// * ErrCodeAuthorizationErrorException "AuthorizationError"
// Indicates that the user has been denied access to the requested resource.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CreatePlatformApplication
@ -414,16 +414,16 @@ func (c *SNS) CreatePlatformEndpointRequest(input *CreatePlatformEndpointInput)
// API operation CreatePlatformEndpoint for usage and error information.
//
// Returned Error Codes:
// * InvalidParameter
// * ErrCodeInvalidParameterException "InvalidParameter"
// Indicates that a request parameter does not comply with the associated constraints.
//
// * InternalError
// * ErrCodeInternalErrorException "InternalError"
// Indicates an internal service error.
//
// * AuthorizationError
// * ErrCodeAuthorizationErrorException "AuthorizationError"
// Indicates that the user has been denied access to the requested resource.
//
// * NotFound
// * ErrCodeNotFoundException "NotFound"
// Indicates that the requested resource does not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CreatePlatformEndpoint
@ -492,16 +492,16 @@ func (c *SNS) CreateTopicRequest(input *CreateTopicInput) (req *request.Request,
// API operation CreateTopic for usage and error information.
//
// Returned Error Codes:
// * InvalidParameter
// * ErrCodeInvalidParameterException "InvalidParameter"
// Indicates that a request parameter does not comply with the associated constraints.
//
// * TopicLimitExceeded
// * ErrCodeTopicLimitExceededException "TopicLimitExceeded"
// Indicates that the customer already owns the maximum allowed number of topics.
//
// * InternalError
// * ErrCodeInternalErrorException "InternalError"
// Indicates an internal service error.
//
// * AuthorizationError
// * ErrCodeAuthorizationErrorException "AuthorizationError"
// Indicates that the user has been denied access to the requested resource.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CreateTopic
@ -573,13 +573,13 @@ func (c *SNS) DeleteEndpointRequest(input *DeleteEndpointInput) (req *request.Re
// API operation DeleteEndpoint for usage and error information.
//
// Returned Error Codes:
// * InvalidParameter
// * ErrCodeInvalidParameterException "InvalidParameter"
// Indicates that a request parameter does not comply with the associated constraints.
//
// * InternalError
// * ErrCodeInternalErrorException "InternalError"
// Indicates an internal service error.
//
// * AuthorizationError
// * ErrCodeAuthorizationErrorException "AuthorizationError"
// Indicates that the user has been denied access to the requested resource.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/DeleteEndpoint
@ -648,13 +648,13 @@ func (c *SNS) DeletePlatformApplicationRequest(input *DeletePlatformApplicationI
// API operation DeletePlatformApplication for usage and error information.
//
// Returned Error Codes:
// * InvalidParameter
// * ErrCodeInvalidParameterException "InvalidParameter"
// Indicates that a request parameter does not comply with the associated constraints.
//
// * InternalError
// * ErrCodeInternalErrorException "InternalError"
// Indicates an internal service error.
//
// * AuthorizationError
// * ErrCodeAuthorizationErrorException "AuthorizationError"
// Indicates that the user has been denied access to the requested resource.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/DeletePlatformApplication
@ -724,16 +724,16 @@ func (c *SNS) DeleteTopicRequest(input *DeleteTopicInput) (req *request.Request,
// API operation DeleteTopic for usage and error information.
//
// Returned Error Codes:
// * InvalidParameter
// * ErrCodeInvalidParameterException "InvalidParameter"
// Indicates that a request parameter does not comply with the associated constraints.
//
// * InternalError
// * ErrCodeInternalErrorException "InternalError"
// Indicates an internal service error.
//
// * AuthorizationError
// * ErrCodeAuthorizationErrorException "AuthorizationError"
// Indicates that the user has been denied access to the requested resource.
//
// * NotFound
// * ErrCodeNotFoundException "NotFound"
// Indicates that the requested resource does not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/DeleteTopic
@ -800,16 +800,16 @@ func (c *SNS) GetEndpointAttributesRequest(input *GetEndpointAttributesInput) (r
// API operation GetEndpointAttributes for usage and error information.
//
// Returned Error Codes:
// * InvalidParameter
// * ErrCodeInvalidParameterException "InvalidParameter"
// Indicates that a request parameter does not comply with the associated constraints.
//
// * InternalError
// * ErrCodeInternalErrorException "InternalError"
// Indicates an internal service error.
//
// * AuthorizationError
// * ErrCodeAuthorizationErrorException "AuthorizationError"
// Indicates that the user has been denied access to the requested resource.
//
// * NotFound
// * ErrCodeNotFoundException "NotFound"
// Indicates that the requested resource does not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetEndpointAttributes
@ -876,16 +876,16 @@ func (c *SNS) GetPlatformApplicationAttributesRequest(input *GetPlatformApplicat
// API operation GetPlatformApplicationAttributes for usage and error information.
//
// Returned Error Codes:
// * InvalidParameter
// * ErrCodeInvalidParameterException "InvalidParameter"
// Indicates that a request parameter does not comply with the associated constraints.
//
// * InternalError
// * ErrCodeInternalErrorException "InternalError"
// Indicates an internal service error.
//
// * AuthorizationError
// * ErrCodeAuthorizationErrorException "AuthorizationError"
// Indicates that the user has been denied access to the requested resource.
//
// * NotFound
// * ErrCodeNotFoundException "NotFound"
// Indicates that the requested resource does not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetPlatformApplicationAttributes
@ -952,17 +952,17 @@ func (c *SNS) GetSMSAttributesRequest(input *GetSMSAttributesInput) (req *reques
// API operation GetSMSAttributes for usage and error information.
//
// Returned Error Codes:
// * Throttled
// * ErrCodeThrottledException "Throttled"
// Indicates that the rate at which requests have been submitted for this action
// exceeds the limit for your account.
//
// * InternalError
// * ErrCodeInternalErrorException "InternalError"
// Indicates an internal service error.
//
// * AuthorizationError
// * ErrCodeAuthorizationErrorException "AuthorizationError"
// Indicates that the user has been denied access to the requested resource.
//
// * InvalidParameter
// * ErrCodeInvalidParameterException "InvalidParameter"
// Indicates that a request parameter does not comply with the associated constraints.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetSMSAttributes
@ -1027,16 +1027,16 @@ func (c *SNS) GetSubscriptionAttributesRequest(input *GetSubscriptionAttributesI
// API operation GetSubscriptionAttributes for usage and error information.
//
// Returned Error Codes:
// * InvalidParameter
// * ErrCodeInvalidParameterException "InvalidParameter"
// Indicates that a request parameter does not comply with the associated constraints.
//
// * InternalError
// * ErrCodeInternalErrorException "InternalError"
// Indicates an internal service error.
//
// * NotFound
// * ErrCodeNotFoundException "NotFound"
// Indicates that the requested resource does not exist.
//
// * AuthorizationError
// * ErrCodeAuthorizationErrorException "AuthorizationError"
// Indicates that the user has been denied access to the requested resource.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetSubscriptionAttributes
@ -1102,16 +1102,16 @@ func (c *SNS) GetTopicAttributesRequest(input *GetTopicAttributesInput) (req *re
// API operation GetTopicAttributes for usage and error information.
//
// Returned Error Codes:
// * InvalidParameter
// * ErrCodeInvalidParameterException "InvalidParameter"
// Indicates that a request parameter does not comply with the associated constraints.
//
// * InternalError
// * ErrCodeInternalErrorException "InternalError"
// Indicates an internal service error.
//
// * NotFound
// * ErrCodeNotFoundException "NotFound"
// Indicates that the requested resource does not exist.
//
// * AuthorizationError
// * ErrCodeAuthorizationErrorException "AuthorizationError"
// Indicates that the user has been denied access to the requested resource.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetTopicAttributes
@ -1189,16 +1189,16 @@ func (c *SNS) ListEndpointsByPlatformApplicationRequest(input *ListEndpointsByPl
// API operation ListEndpointsByPlatformApplication for usage and error information.
//
// Returned Error Codes:
// * InvalidParameter
// * ErrCodeInvalidParameterException "InvalidParameter"
// Indicates that a request parameter does not comply with the associated constraints.
//
// * InternalError
// * ErrCodeInternalErrorException "InternalError"
// Indicates an internal service error.
//
// * AuthorizationError
// * ErrCodeAuthorizationErrorException "AuthorizationError"
// Indicates that the user has been denied access to the requested resource.
//
// * NotFound
// * ErrCodeNotFoundException "NotFound"
// Indicates that the requested resource does not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListEndpointsByPlatformApplication
@ -1296,17 +1296,17 @@ func (c *SNS) ListPhoneNumbersOptedOutRequest(input *ListPhoneNumbersOptedOutInp
// API operation ListPhoneNumbersOptedOut for usage and error information.
//
// Returned Error Codes:
// * Throttled
// * ErrCodeThrottledException "Throttled"
// Indicates that the rate at which requests have been submitted for this action
// exceeds the limit for your account.
//
// * InternalError
// * ErrCodeInternalErrorException "InternalError"
// Indicates an internal service error.
//
// * AuthorizationError
// * ErrCodeAuthorizationErrorException "AuthorizationError"
// Indicates that the user has been denied access to the requested resource.
//
// * InvalidParameter
// * ErrCodeInvalidParameterException "InvalidParameter"
// Indicates that a request parameter does not comply with the associated constraints.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListPhoneNumbersOptedOut
@ -1384,13 +1384,13 @@ func (c *SNS) ListPlatformApplicationsRequest(input *ListPlatformApplicationsInp
// API operation ListPlatformApplications for usage and error information.
//
// Returned Error Codes:
// * InvalidParameter
// * ErrCodeInvalidParameterException "InvalidParameter"
// Indicates that a request parameter does not comply with the associated constraints.
//
// * InternalError
// * ErrCodeInternalErrorException "InternalError"
// Indicates an internal service error.
//
// * AuthorizationError
// * ErrCodeAuthorizationErrorException "AuthorizationError"
// Indicates that the user has been denied access to the requested resource.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListPlatformApplications
@ -1489,13 +1489,13 @@ func (c *SNS) ListSubscriptionsRequest(input *ListSubscriptionsInput) (req *requ
// API operation ListSubscriptions for usage and error information.
//
// Returned Error Codes:
// * InvalidParameter
// * ErrCodeInvalidParameterException "InvalidParameter"
// Indicates that a request parameter does not comply with the associated constraints.
//
// * InternalError
// * ErrCodeInternalErrorException "InternalError"
// Indicates an internal service error.
//
// * AuthorizationError
// * ErrCodeAuthorizationErrorException "AuthorizationError"
// Indicates that the user has been denied access to the requested resource.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListSubscriptions
@ -1594,16 +1594,16 @@ func (c *SNS) ListSubscriptionsByTopicRequest(input *ListSubscriptionsByTopicInp
// API operation ListSubscriptionsByTopic for usage and error information.
//
// Returned Error Codes:
// * InvalidParameter
// * ErrCodeInvalidParameterException "InvalidParameter"
// Indicates that a request parameter does not comply with the associated constraints.
//
// * InternalError
// * ErrCodeInternalErrorException "InternalError"
// Indicates an internal service error.
//
// * NotFound
// * ErrCodeNotFoundException "NotFound"
// Indicates that the requested resource does not exist.
//
// * AuthorizationError
// * ErrCodeAuthorizationErrorException "AuthorizationError"
// Indicates that the user has been denied access to the requested resource.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListSubscriptionsByTopic
@ -1701,13 +1701,13 @@ func (c *SNS) ListTopicsRequest(input *ListTopicsInput) (req *request.Request, o
// API operation ListTopics for usage and error information.
//
// Returned Error Codes:
// * InvalidParameter
// * ErrCodeInvalidParameterException "InvalidParameter"
// Indicates that a request parameter does not comply with the associated constraints.
//
// * InternalError
// * ErrCodeInternalErrorException "InternalError"
// Indicates an internal service error.
//
// * AuthorizationError
// * ErrCodeAuthorizationErrorException "AuthorizationError"
// Indicates that the user has been denied access to the requested resource.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListTopics
@ -1800,17 +1800,17 @@ func (c *SNS) OptInPhoneNumberRequest(input *OptInPhoneNumberInput) (req *reques
// API operation OptInPhoneNumber for usage and error information.
//
// Returned Error Codes:
// * Throttled
// * ErrCodeThrottledException "Throttled"
// Indicates that the rate at which requests have been submitted for this action
// exceeds the limit for your account.
//
// * InternalError
// * ErrCodeInternalErrorException "InternalError"
// Indicates an internal service error.
//
// * AuthorizationError
// * ErrCodeAuthorizationErrorException "AuthorizationError"
// Indicates that the user has been denied access to the requested resource.
//
// * InvalidParameter
// * ErrCodeInvalidParameterException "InvalidParameter"
// Indicates that a request parameter does not comply with the associated constraints.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/OptInPhoneNumber
@ -1886,25 +1886,25 @@ func (c *SNS) PublishRequest(input *PublishInput) (req *request.Request, output
// API operation Publish for usage and error information.
//
// Returned Error Codes:
// * InvalidParameter
// * ErrCodeInvalidParameterException "InvalidParameter"
// Indicates that a request parameter does not comply with the associated constraints.
//
// * ParameterValueInvalid
// * ErrCodeInvalidParameterValueException "ParameterValueInvalid"
// Indicates that a request parameter does not comply with the associated constraints.
//
// * InternalError
// * ErrCodeInternalErrorException "InternalError"
// Indicates an internal service error.
//
// * NotFound
// * ErrCodeNotFoundException "NotFound"
// Indicates that the requested resource does not exist.
//
// * EndpointDisabled
// * ErrCodeEndpointDisabledException "EndpointDisabled"
// Exception error indicating endpoint disabled.
//
// * PlatformApplicationDisabled
// * ErrCodePlatformApplicationDisabledException "PlatformApplicationDisabled"
// Exception error indicating platform application disabled.
//
// * AuthorizationError
// * ErrCodeAuthorizationErrorException "AuthorizationError"
// Indicates that the user has been denied access to the requested resource.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/Publish
@ -1971,16 +1971,16 @@ func (c *SNS) RemovePermissionRequest(input *RemovePermissionInput) (req *reques
// API operation RemovePermission for usage and error information.
//
// Returned Error Codes:
// * InvalidParameter
// * ErrCodeInvalidParameterException "InvalidParameter"
// Indicates that a request parameter does not comply with the associated constraints.
//
// * InternalError
// * ErrCodeInternalErrorException "InternalError"
// Indicates an internal service error.
//
// * AuthorizationError
// * ErrCodeAuthorizationErrorException "AuthorizationError"
// Indicates that the user has been denied access to the requested resource.
//
// * NotFound
// * ErrCodeNotFoundException "NotFound"
// Indicates that the requested resource does not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/RemovePermission
@ -2049,16 +2049,16 @@ func (c *SNS) SetEndpointAttributesRequest(input *SetEndpointAttributesInput) (r
// API operation SetEndpointAttributes for usage and error information.
//
// Returned Error Codes:
// * InvalidParameter
// * ErrCodeInvalidParameterException "InvalidParameter"
// Indicates that a request parameter does not comply with the associated constraints.
//
// * InternalError
// * ErrCodeInternalErrorException "InternalError"
// Indicates an internal service error.
//
// * AuthorizationError
// * ErrCodeAuthorizationErrorException "AuthorizationError"
// Indicates that the user has been denied access to the requested resource.
//
// * NotFound
// * ErrCodeNotFoundException "NotFound"
// Indicates that the requested resource does not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetEndpointAttributes
@ -2129,16 +2129,16 @@ func (c *SNS) SetPlatformApplicationAttributesRequest(input *SetPlatformApplicat
// API operation SetPlatformApplicationAttributes for usage and error information.
//
// Returned Error Codes:
// * InvalidParameter
// * ErrCodeInvalidParameterException "InvalidParameter"
// Indicates that a request parameter does not comply with the associated constraints.
//
// * InternalError
// * ErrCodeInternalErrorException "InternalError"
// Indicates an internal service error.
//
// * AuthorizationError
// * ErrCodeAuthorizationErrorException "AuthorizationError"
// Indicates that the user has been denied access to the requested resource.
//
// * NotFound
// * ErrCodeNotFoundException "NotFound"
// Indicates that the requested resource does not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetPlatformApplicationAttributes
@ -2209,17 +2209,17 @@ func (c *SNS) SetSMSAttributesRequest(input *SetSMSAttributesInput) (req *reques
// API operation SetSMSAttributes for usage and error information.
//
// Returned Error Codes:
// * InvalidParameter
// * ErrCodeInvalidParameterException "InvalidParameter"
// Indicates that a request parameter does not comply with the associated constraints.
//
// * Throttled
// * ErrCodeThrottledException "Throttled"
// Indicates that the rate at which requests have been submitted for this action
// exceeds the limit for your account.
//
// * InternalError
// * ErrCodeInternalErrorException "InternalError"
// Indicates an internal service error.
//
// * AuthorizationError
// * ErrCodeAuthorizationErrorException "AuthorizationError"
// Indicates that the user has been denied access to the requested resource.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetSMSAttributes
@ -2286,16 +2286,16 @@ func (c *SNS) SetSubscriptionAttributesRequest(input *SetSubscriptionAttributesI
// API operation SetSubscriptionAttributes for usage and error information.
//
// Returned Error Codes:
// * InvalidParameter
// * ErrCodeInvalidParameterException "InvalidParameter"
// Indicates that a request parameter does not comply with the associated constraints.
//
// * InternalError
// * ErrCodeInternalErrorException "InternalError"
// Indicates an internal service error.
//
// * NotFound
// * ErrCodeNotFoundException "NotFound"
// Indicates that the requested resource does not exist.
//
// * AuthorizationError
// * ErrCodeAuthorizationErrorException "AuthorizationError"
// Indicates that the user has been denied access to the requested resource.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetSubscriptionAttributes
@ -2362,16 +2362,16 @@ func (c *SNS) SetTopicAttributesRequest(input *SetTopicAttributesInput) (req *re
// API operation SetTopicAttributes for usage and error information.
//
// Returned Error Codes:
// * InvalidParameter
// * ErrCodeInvalidParameterException "InvalidParameter"
// Indicates that a request parameter does not comply with the associated constraints.
//
// * InternalError
// * ErrCodeInternalErrorException "InternalError"
// Indicates an internal service error.
//
// * NotFound
// * ErrCodeNotFoundException "NotFound"
// Indicates that the requested resource does not exist.
//
// * AuthorizationError
// * ErrCodeAuthorizationErrorException "AuthorizationError"
// Indicates that the user has been denied access to the requested resource.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetTopicAttributes
@ -2439,19 +2439,19 @@ func (c *SNS) SubscribeRequest(input *SubscribeInput) (req *request.Request, out
// API operation Subscribe for usage and error information.
//
// Returned Error Codes:
// * SubscriptionLimitExceeded
// * ErrCodeSubscriptionLimitExceededException "SubscriptionLimitExceeded"
// Indicates that the customer already owns the maximum allowed number of subscriptions.
//
// * InvalidParameter
// * ErrCodeInvalidParameterException "InvalidParameter"
// Indicates that a request parameter does not comply with the associated constraints.
//
// * InternalError
// * ErrCodeInternalErrorException "InternalError"
// Indicates an internal service error.
//
// * NotFound
// * ErrCodeNotFoundException "NotFound"
// Indicates that the requested resource does not exist.
//
// * AuthorizationError
// * ErrCodeAuthorizationErrorException "AuthorizationError"
// Indicates that the user has been denied access to the requested resource.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/Subscribe
@ -2523,16 +2523,16 @@ func (c *SNS) UnsubscribeRequest(input *UnsubscribeInput) (req *request.Request,
// API operation Unsubscribe for usage and error information.
//
// Returned Error Codes:
// * InvalidParameter
// * ErrCodeInvalidParameterException "InvalidParameter"
// Indicates that a request parameter does not comply with the associated constraints.
//
// * InternalError
// * ErrCodeInternalErrorException "InternalError"
// Indicates an internal service error.
//
// * AuthorizationError
// * ErrCodeAuthorizationErrorException "AuthorizationError"
// Indicates that the user has been denied access to the requested resource.
//
// * NotFound
// * ErrCodeNotFoundException "NotFound"
// Indicates that the requested resource does not exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/Unsubscribe

67
vendor/github.com/aws/aws-sdk-go/service/sns/errors.go generated vendored Normal file
View File

@ -0,0 +1,67 @@
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
package sns
const (
// ErrCodeAuthorizationErrorException for service response error code
// "AuthorizationError".
//
// Indicates that the user has been denied access to the requested resource.
ErrCodeAuthorizationErrorException = "AuthorizationError"
// ErrCodeEndpointDisabledException for service response error code
// "EndpointDisabled".
//
// Exception error indicating endpoint disabled.
ErrCodeEndpointDisabledException = "EndpointDisabled"
// ErrCodeInternalErrorException for service response error code
// "InternalError".
//
// Indicates an internal service error.
ErrCodeInternalErrorException = "InternalError"
// ErrCodeInvalidParameterException for service response error code
// "InvalidParameter".
//
// Indicates that a request parameter does not comply with the associated constraints.
ErrCodeInvalidParameterException = "InvalidParameter"
// ErrCodeInvalidParameterValueException for service response error code
// "ParameterValueInvalid".
//
// Indicates that a request parameter does not comply with the associated constraints.
ErrCodeInvalidParameterValueException = "ParameterValueInvalid"
// ErrCodeNotFoundException for service response error code
// "NotFound".
//
// Indicates that the requested resource does not exist.
ErrCodeNotFoundException = "NotFound"
// ErrCodePlatformApplicationDisabledException for service response error code
// "PlatformApplicationDisabled".
//
// Exception error indicating platform application disabled.
ErrCodePlatformApplicationDisabledException = "PlatformApplicationDisabled"
// ErrCodeSubscriptionLimitExceededException for service response error code
// "SubscriptionLimitExceeded".
//
// Indicates that the customer already owns the maximum allowed number of subscriptions.
ErrCodeSubscriptionLimitExceededException = "SubscriptionLimitExceeded"
// ErrCodeThrottledException for service response error code
// "Throttled".
//
// Indicates that the rate at which requests have been submitted for this action
// exceeds the limit for your account.
ErrCodeThrottledException = "Throttled"
// ErrCodeTopicLimitExceededException for service response error code
// "TopicLimitExceeded".
//
// Indicates that the customer already owns the maximum allowed number of topics.
ErrCodeTopicLimitExceededException = "TopicLimitExceeded"
)

View File

@ -88,7 +88,7 @@ func (c *SQS) AddPermissionRequest(input *AddPermissionInput) (req *request.Requ
// API operation AddPermission for usage and error information.
//
// Returned Error Codes:
// * OverLimit
// * ErrCodeOverLimit "OverLimit"
// The action that you requested would violate a limit. For example, ReceiveMessage
// returns this error if the maximum number of inflight messages is reached.
// AddPermission returns this error if the maximum number of permissions for
@ -194,10 +194,10 @@ func (c *SQS) ChangeMessageVisibilityRequest(input *ChangeMessageVisibilityInput
// API operation ChangeMessageVisibility for usage and error information.
//
// Returned Error Codes:
// * AWS.SimpleQueueService.MessageNotInflight
// * ErrCodeMessageNotInflight "AWS.SimpleQueueService.MessageNotInflight"
// The message referred to isn't in flight.
//
// * ReceiptHandleIsInvalid
// * ErrCodeReceiptHandleIsInvalid "ReceiptHandleIsInvalid"
// The receipt handle provided isn't valid.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ChangeMessageVisibility
@ -277,16 +277,16 @@ func (c *SQS) ChangeMessageVisibilityBatchRequest(input *ChangeMessageVisibility
// API operation ChangeMessageVisibilityBatch for usage and error information.
//
// Returned Error Codes:
// * AWS.SimpleQueueService.TooManyEntriesInBatchRequest
// * ErrCodeTooManyEntriesInBatchRequest "AWS.SimpleQueueService.TooManyEntriesInBatchRequest"
// The batch request contains more entries than permissible.
//
// * AWS.SimpleQueueService.EmptyBatchRequest
// * ErrCodeEmptyBatchRequest "AWS.SimpleQueueService.EmptyBatchRequest"
// The batch request doesn't contain any entries.
//
// * AWS.SimpleQueueService.BatchEntryIdsNotDistinct
// * ErrCodeBatchEntryIdsNotDistinct "AWS.SimpleQueueService.BatchEntryIdsNotDistinct"
// Two or more batch entries in the request have the same Id.
//
// * AWS.SimpleQueueService.InvalidBatchEntryId
// * ErrCodeInvalidBatchEntryId "AWS.SimpleQueueService.InvalidBatchEntryId"
// The Id of a batch entry in a batch request doesn't abide by the specification.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ChangeMessageVisibilityBatch
@ -391,11 +391,11 @@ func (c *SQS) CreateQueueRequest(input *CreateQueueInput) (req *request.Request,
// API operation CreateQueue for usage and error information.
//
// Returned Error Codes:
// * AWS.SimpleQueueService.QueueDeletedRecently
// * ErrCodeQueueDeletedRecently "AWS.SimpleQueueService.QueueDeletedRecently"
// You must wait 60 seconds after deleting a queue before you can create another
// one with the same name.
//
// * QueueAlreadyExists
// * ErrCodeQueueNameExists "QueueAlreadyExists"
// A queue already exists with this name. Amazon SQS returns this error only
// if the request includes attributes whose values differ from those of the
// existing queue.
@ -483,10 +483,10 @@ func (c *SQS) DeleteMessageRequest(input *DeleteMessageInput) (req *request.Requ
// API operation DeleteMessage for usage and error information.
//
// Returned Error Codes:
// * InvalidIdFormat
// * ErrCodeInvalidIdFormat "InvalidIdFormat"
// The receipt handle isn't valid for the current version.
//
// * ReceiptHandleIsInvalid
// * ErrCodeReceiptHandleIsInvalid "ReceiptHandleIsInvalid"
// The receipt handle provided isn't valid.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/DeleteMessage
@ -565,16 +565,16 @@ func (c *SQS) DeleteMessageBatchRequest(input *DeleteMessageBatchInput) (req *re
// API operation DeleteMessageBatch for usage and error information.
//
// Returned Error Codes:
// * AWS.SimpleQueueService.TooManyEntriesInBatchRequest
// * ErrCodeTooManyEntriesInBatchRequest "AWS.SimpleQueueService.TooManyEntriesInBatchRequest"
// The batch request contains more entries than permissible.
//
// * AWS.SimpleQueueService.EmptyBatchRequest
// * ErrCodeEmptyBatchRequest "AWS.SimpleQueueService.EmptyBatchRequest"
// The batch request doesn't contain any entries.
//
// * AWS.SimpleQueueService.BatchEntryIdsNotDistinct
// * ErrCodeBatchEntryIdsNotDistinct "AWS.SimpleQueueService.BatchEntryIdsNotDistinct"
// Two or more batch entries in the request have the same Id.
//
// * AWS.SimpleQueueService.InvalidBatchEntryId
// * ErrCodeInvalidBatchEntryId "AWS.SimpleQueueService.InvalidBatchEntryId"
// The Id of a batch entry in a batch request doesn't abide by the specification.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/DeleteMessageBatch
@ -721,7 +721,7 @@ func (c *SQS) GetQueueAttributesRequest(input *GetQueueAttributesInput) (req *re
// API operation GetQueueAttributes for usage and error information.
//
// Returned Error Codes:
// * InvalidAttributeName
// * ErrCodeInvalidAttributeName "InvalidAttributeName"
// The attribute referred to doesn't exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/GetQueueAttributes
@ -793,7 +793,7 @@ func (c *SQS) GetQueueUrlRequest(input *GetQueueUrlInput) (req *request.Request,
// API operation GetQueueUrl for usage and error information.
//
// Returned Error Codes:
// * AWS.SimpleQueueService.NonExistentQueue
// * ErrCodeQueueDoesNotExist "AWS.SimpleQueueService.NonExistentQueue"
// The queue referred to doesn't exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/GetQueueUrl
@ -863,7 +863,7 @@ func (c *SQS) ListDeadLetterSourceQueuesRequest(input *ListDeadLetterSourceQueue
// API operation ListDeadLetterSourceQueues for usage and error information.
//
// Returned Error Codes:
// * AWS.SimpleQueueService.NonExistentQueue
// * ErrCodeQueueDoesNotExist "AWS.SimpleQueueService.NonExistentQueue"
// The queue referred to doesn't exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ListDeadLetterSourceQueues
@ -1001,10 +1001,10 @@ func (c *SQS) PurgeQueueRequest(input *PurgeQueueInput) (req *request.Request, o
// API operation PurgeQueue for usage and error information.
//
// Returned Error Codes:
// * AWS.SimpleQueueService.NonExistentQueue
// * ErrCodeQueueDoesNotExist "AWS.SimpleQueueService.NonExistentQueue"
// The queue referred to doesn't exist.
//
// * AWS.SimpleQueueService.PurgeQueueInProgress
// * 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).
@ -1117,7 +1117,7 @@ func (c *SQS) ReceiveMessageRequest(input *ReceiveMessageInput) (req *request.Re
// API operation ReceiveMessage for usage and error information.
//
// Returned Error Codes:
// * OverLimit
// * ErrCodeOverLimit "OverLimit"
// The action that you requested would violate a limit. For example, ReceiveMessage
// returns this error if the maximum number of inflight messages is reached.
// AddPermission returns this error if the maximum number of permissions for
@ -1267,10 +1267,10 @@ func (c *SQS) SendMessageRequest(input *SendMessageInput) (req *request.Request,
// API operation SendMessage for usage and error information.
//
// Returned Error Codes:
// * InvalidMessageContents
// * ErrCodeInvalidMessageContents "InvalidMessageContents"
// The message contains characters outside the allowed set.
//
// * AWS.SimpleQueueService.UnsupportedOperation
// * ErrCodeUnsupportedOperation "AWS.SimpleQueueService.UnsupportedOperation"
// Error code 400. Unsupported operation.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/SendMessage
@ -1376,22 +1376,22 @@ func (c *SQS) SendMessageBatchRequest(input *SendMessageBatchInput) (req *reques
// API operation SendMessageBatch for usage and error information.
//
// Returned Error Codes:
// * AWS.SimpleQueueService.TooManyEntriesInBatchRequest
// * ErrCodeTooManyEntriesInBatchRequest "AWS.SimpleQueueService.TooManyEntriesInBatchRequest"
// The batch request contains more entries than permissible.
//
// * AWS.SimpleQueueService.EmptyBatchRequest
// * ErrCodeEmptyBatchRequest "AWS.SimpleQueueService.EmptyBatchRequest"
// The batch request doesn't contain any entries.
//
// * AWS.SimpleQueueService.BatchEntryIdsNotDistinct
// * ErrCodeBatchEntryIdsNotDistinct "AWS.SimpleQueueService.BatchEntryIdsNotDistinct"
// Two or more batch entries in the request have the same Id.
//
// * AWS.SimpleQueueService.BatchRequestTooLong
// * ErrCodeBatchRequestTooLong "AWS.SimpleQueueService.BatchRequestTooLong"
// The length of all the messages put together is more than the limit.
//
// * AWS.SimpleQueueService.InvalidBatchEntryId
// * ErrCodeInvalidBatchEntryId "AWS.SimpleQueueService.InvalidBatchEntryId"
// The Id of a batch entry in a batch request doesn't abide by the specification.
//
// * AWS.SimpleQueueService.UnsupportedOperation
// * ErrCodeUnsupportedOperation "AWS.SimpleQueueService.UnsupportedOperation"
// Error code 400. Unsupported operation.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/SendMessageBatch
@ -1465,7 +1465,7 @@ func (c *SQS) SetQueueAttributesRequest(input *SetQueueAttributesInput) (req *re
// API operation SetQueueAttributes for usage and error information.
//
// Returned Error Codes:
// * InvalidAttributeName
// * ErrCodeInvalidAttributeName "InvalidAttributeName"
// The attribute referred to doesn't exist.
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/SetQueueAttributes

110
vendor/github.com/aws/aws-sdk-go/service/sqs/errors.go generated vendored Normal file
View File

@ -0,0 +1,110 @@
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
package sqs
const (
// ErrCodeBatchEntryIdsNotDistinct for service response error code
// "AWS.SimpleQueueService.BatchEntryIdsNotDistinct".
//
// Two or more batch entries in the request have the same Id.
ErrCodeBatchEntryIdsNotDistinct = "AWS.SimpleQueueService.BatchEntryIdsNotDistinct"
// ErrCodeBatchRequestTooLong for service response error code
// "AWS.SimpleQueueService.BatchRequestTooLong".
//
// The length of all the messages put together is more than the limit.
ErrCodeBatchRequestTooLong = "AWS.SimpleQueueService.BatchRequestTooLong"
// ErrCodeEmptyBatchRequest for service response error code
// "AWS.SimpleQueueService.EmptyBatchRequest".
//
// The batch request doesn't contain any entries.
ErrCodeEmptyBatchRequest = "AWS.SimpleQueueService.EmptyBatchRequest"
// ErrCodeInvalidAttributeName for service response error code
// "InvalidAttributeName".
//
// The attribute referred to doesn't exist.
ErrCodeInvalidAttributeName = "InvalidAttributeName"
// ErrCodeInvalidBatchEntryId for service response error code
// "AWS.SimpleQueueService.InvalidBatchEntryId".
//
// The Id of a batch entry in a batch request doesn't abide by the specification.
ErrCodeInvalidBatchEntryId = "AWS.SimpleQueueService.InvalidBatchEntryId"
// ErrCodeInvalidIdFormat for service response error code
// "InvalidIdFormat".
//
// The receipt handle isn't valid for the current version.
ErrCodeInvalidIdFormat = "InvalidIdFormat"
// ErrCodeInvalidMessageContents for service response error code
// "InvalidMessageContents".
//
// The message contains characters outside the allowed set.
ErrCodeInvalidMessageContents = "InvalidMessageContents"
// ErrCodeMessageNotInflight for service response error code
// "AWS.SimpleQueueService.MessageNotInflight".
//
// The message referred to isn't in flight.
ErrCodeMessageNotInflight = "AWS.SimpleQueueService.MessageNotInflight"
// ErrCodeOverLimit for service response error code
// "OverLimit".
//
// The action that you requested would violate a limit. For example, ReceiveMessage
// returns this error if the maximum number of inflight messages is reached.
// AddPermission returns this error if the maximum number of permissions for
// the queue is reached.
ErrCodeOverLimit = "OverLimit"
// ErrCodePurgeQueueInProgress for service response error code
// "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).
ErrCodePurgeQueueInProgress = "AWS.SimpleQueueService.PurgeQueueInProgress"
// ErrCodeQueueDeletedRecently for service response error code
// "AWS.SimpleQueueService.QueueDeletedRecently".
//
// You must wait 60 seconds after deleting a queue before you can create another
// one with the same name.
ErrCodeQueueDeletedRecently = "AWS.SimpleQueueService.QueueDeletedRecently"
// ErrCodeQueueDoesNotExist for service response error code
// "AWS.SimpleQueueService.NonExistentQueue".
//
// The queue referred to doesn't exist.
ErrCodeQueueDoesNotExist = "AWS.SimpleQueueService.NonExistentQueue"
// ErrCodeQueueNameExists for service response error code
// "QueueAlreadyExists".
//
// A queue already exists with this name. Amazon SQS returns this error only
// if the request includes attributes whose values differ from those of the
// existing queue.
ErrCodeQueueNameExists = "QueueAlreadyExists"
// ErrCodeReceiptHandleIsInvalid for service response error code
// "ReceiptHandleIsInvalid".
//
// The receipt handle provided isn't valid.
ErrCodeReceiptHandleIsInvalid = "ReceiptHandleIsInvalid"
// ErrCodeTooManyEntriesInBatchRequest for service response error code
// "AWS.SimpleQueueService.TooManyEntriesInBatchRequest".
//
// The batch request contains more entries than permissible.
ErrCodeTooManyEntriesInBatchRequest = "AWS.SimpleQueueService.TooManyEntriesInBatchRequest"
// ErrCodeUnsupportedOperation for service response error code
// "AWS.SimpleQueueService.UnsupportedOperation".
//
// Error code 400. Unsupported operation.
ErrCodeUnsupportedOperation = "AWS.SimpleQueueService.UnsupportedOperation"
)

File diff suppressed because it is too large Load Diff

448
vendor/github.com/aws/aws-sdk-go/service/ssm/errors.go generated vendored Normal file
View File

@ -0,0 +1,448 @@
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
package ssm
const (
// ErrCodeAlreadyExistsException for service response error code
// "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.
ErrCodeAlreadyExistsException = "AlreadyExistsException"
// ErrCodeAssociatedInstances for service response error code
// "AssociatedInstances".
//
// You must disassociate an SSM document from all instances before you can delete
// it.
ErrCodeAssociatedInstances = "AssociatedInstances"
// ErrCodeAssociationAlreadyExists for service response error code
// "AssociationAlreadyExists".
//
// The specified association already exists.
ErrCodeAssociationAlreadyExists = "AssociationAlreadyExists"
// ErrCodeAssociationDoesNotExist for service response error code
// "AssociationDoesNotExist".
//
// The specified association does not exist.
ErrCodeAssociationDoesNotExist = "AssociationDoesNotExist"
// ErrCodeAssociationLimitExceeded for service response error code
// "AssociationLimitExceeded".
//
// You can have at most 2,000 active associations.
ErrCodeAssociationLimitExceeded = "AssociationLimitExceeded"
// ErrCodeAutomationDefinitionNotFoundException for service response error code
// "AutomationDefinitionNotFoundException".
//
// An Automation document with the specified name could not be found.
ErrCodeAutomationDefinitionNotFoundException = "AutomationDefinitionNotFoundException"
// ErrCodeAutomationDefinitionVersionNotFoundException for service response error code
// "AutomationDefinitionVersionNotFoundException".
//
// An Automation document with the specified name and version could not be found.
ErrCodeAutomationDefinitionVersionNotFoundException = "AutomationDefinitionVersionNotFoundException"
// ErrCodeAutomationExecutionLimitExceededException for service response error code
// "AutomationExecutionLimitExceededException".
//
// The number of simultaneously running Automation executions exceeded the allowable
// limit.
ErrCodeAutomationExecutionLimitExceededException = "AutomationExecutionLimitExceededException"
// ErrCodeAutomationExecutionNotFoundException for service response error code
// "AutomationExecutionNotFoundException".
//
// There is no automation execution information for the requested automation
// execution ID.
ErrCodeAutomationExecutionNotFoundException = "AutomationExecutionNotFoundException"
// ErrCodeCustomSchemaCountLimitExceededException for service response error code
// "CustomSchemaCountLimitExceededException".
//
// You have exceeded the limit for custom schemas. Delete one or more custom
// schemas and try again.
ErrCodeCustomSchemaCountLimitExceededException = "CustomSchemaCountLimitExceededException"
// ErrCodeDocumentAlreadyExists for service response error code
// "DocumentAlreadyExists".
//
// The specified SSM document already exists.
ErrCodeDocumentAlreadyExists = "DocumentAlreadyExists"
// ErrCodeDocumentLimitExceeded for service response error code
// "DocumentLimitExceeded".
//
// You can have at most 200 active SSM documents.
ErrCodeDocumentLimitExceeded = "DocumentLimitExceeded"
// ErrCodeDocumentPermissionLimit for service response error code
// "DocumentPermissionLimit".
//
// The document cannot be shared with more AWS 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 AWS Support.
ErrCodeDocumentPermissionLimit = "DocumentPermissionLimit"
// ErrCodeDocumentVersionLimitExceeded for service response error code
// "DocumentVersionLimitExceeded".
//
// The document has too many versions. Delete one or more document versions
// and try again.
ErrCodeDocumentVersionLimitExceeded = "DocumentVersionLimitExceeded"
// ErrCodeDoesNotExistException for service response error code
// "DoesNotExistException".
//
// Error returned when the ID specified for a resource (e.g. a Maintenance Window)
// doesnt exist.
ErrCodeDoesNotExistException = "DoesNotExistException"
// ErrCodeDuplicateDocumentContent for service response error code
// "DuplicateDocumentContent".
//
// The content of the association document matches another document. Change
// the content of the document and try again.
ErrCodeDuplicateDocumentContent = "DuplicateDocumentContent"
// ErrCodeDuplicateInstanceId for service response error code
// "DuplicateInstanceId".
//
// You cannot specify an instance ID in more than one association.
ErrCodeDuplicateInstanceId = "DuplicateInstanceId"
// ErrCodeIdempotentParameterMismatch for service response error code
// "IdempotentParameterMismatch".
//
// Error returned when an idempotent operation is retried and the parameters
// dont match the original call to the API with the same idempotency token.
ErrCodeIdempotentParameterMismatch = "IdempotentParameterMismatch"
// ErrCodeInternalServerError for service response error code
// "InternalServerError".
//
// An error occurred on the server side.
ErrCodeInternalServerError = "InternalServerError"
// ErrCodeInvalidActivation for service response error code
// "InvalidActivation".
//
// The activation is not valid. The activation might have been deleted, or the
// ActivationId and the ActivationCode do not match.
ErrCodeInvalidActivation = "InvalidActivation"
// ErrCodeInvalidActivationId for service response error code
// "InvalidActivationId".
//
// The activation ID is not valid. Verify the you entered the correct ActivationId
// or ActivationCode and try again.
ErrCodeInvalidActivationId = "InvalidActivationId"
// ErrCodeInvalidAutomationExecutionParametersException for service response error code
// "InvalidAutomationExecutionParametersException".
//
// The supplied parameters for invoking the specified Automation document are
// incorrect. For example, they may not match the set of parameters permitted
// for the specified Automation document.
ErrCodeInvalidAutomationExecutionParametersException = "InvalidAutomationExecutionParametersException"
// ErrCodeInvalidCommandId for service response error code
// "InvalidCommandId".
ErrCodeInvalidCommandId = "InvalidCommandId"
// ErrCodeInvalidDocument for service response error code
// "InvalidDocument".
//
// The specified document does not exist.
ErrCodeInvalidDocument = "InvalidDocument"
// ErrCodeInvalidDocumentContent for service response error code
// "InvalidDocumentContent".
//
// The content for the SSM document is not valid.
ErrCodeInvalidDocumentContent = "InvalidDocumentContent"
// ErrCodeInvalidDocumentOperation for service response error code
// "InvalidDocumentOperation".
//
// You attempted to delete a document while it is still shared. You must stop
// sharing the document before you can delete it.
ErrCodeInvalidDocumentOperation = "InvalidDocumentOperation"
// ErrCodeInvalidDocumentSchemaVersion for service response error code
// "InvalidDocumentSchemaVersion".
//
// The version of the document schema is not supported.
ErrCodeInvalidDocumentSchemaVersion = "InvalidDocumentSchemaVersion"
// ErrCodeInvalidDocumentVersion for service response error code
// "InvalidDocumentVersion".
//
// The document version is not valid or does not exist.
ErrCodeInvalidDocumentVersion = "InvalidDocumentVersion"
// ErrCodeInvalidFilter for service response error code
// "InvalidFilter".
//
// The filter name is not valid. Verify the you entered the correct name and
// try again.
ErrCodeInvalidFilter = "InvalidFilter"
// ErrCodeInvalidFilterKey for service response error code
// "InvalidFilterKey".
//
// The specified key is not valid.
ErrCodeInvalidFilterKey = "InvalidFilterKey"
// ErrCodeInvalidFilterValue for service response error code
// "InvalidFilterValue".
//
// The filter value is not valid. Verify the value and try again.
ErrCodeInvalidFilterValue = "InvalidFilterValue"
// ErrCodeInvalidInstanceId for service response error code
// "InvalidInstanceId".
//
// The following problems can cause this exception:
//
// You do not have permission to access the instance.
//
// The SSM agent is not running. On managed instances and Linux instances, verify
// that the SSM agent is running. On EC2 Windows instances, verify that the
// EC2Config service is running.
//
// The SSM agent or EC2Config service is not registered to the SSM endpoint.
// Try reinstalling the SSM agent or EC2Config service.
//
// The instance is not in valid state. Valid states are: Running, Pending, Stopped,
// Stopping. Invalid states are: Shutting-down and Terminated.
ErrCodeInvalidInstanceId = "InvalidInstanceId"
// ErrCodeInvalidInstanceInformationFilterValue for service response error code
// "InvalidInstanceInformationFilterValue".
//
// The specified filter value is not valid.
ErrCodeInvalidInstanceInformationFilterValue = "InvalidInstanceInformationFilterValue"
// ErrCodeInvalidItemContentException for service response error code
// "InvalidItemContentException".
//
// One or more content items is not valid.
ErrCodeInvalidItemContentException = "InvalidItemContentException"
// ErrCodeInvalidKeyId for service response error code
// "InvalidKeyId".
//
// The query key ID is not valid.
ErrCodeInvalidKeyId = "InvalidKeyId"
// ErrCodeInvalidNextToken for service response error code
// "InvalidNextToken".
//
// The specified token is not valid.
ErrCodeInvalidNextToken = "InvalidNextToken"
// ErrCodeInvalidNotificationConfig for service response error code
// "InvalidNotificationConfig".
//
// One or more configuration items is not valid. Verify that a valid Amazon
// Resource Name (ARN) was provided for an Amazon SNS topic.
ErrCodeInvalidNotificationConfig = "InvalidNotificationConfig"
// ErrCodeInvalidOutputFolder for service response error code
// "InvalidOutputFolder".
//
// The S3 bucket does not exist.
ErrCodeInvalidOutputFolder = "InvalidOutputFolder"
// ErrCodeInvalidOutputLocation for service response error code
// "InvalidOutputLocation".
//
// The output location is not valid or does not exist.
ErrCodeInvalidOutputLocation = "InvalidOutputLocation"
// ErrCodeInvalidParameters for service response error code
// "InvalidParameters".
//
// You must specify values for all required parameters in the SSM document.
// You can only supply values to parameters defined in the SSM document.
ErrCodeInvalidParameters = "InvalidParameters"
// ErrCodeInvalidPermissionType for service response error code
// "InvalidPermissionType".
//
// The permission type is not supported. Share is the only supported permission
// type.
ErrCodeInvalidPermissionType = "InvalidPermissionType"
// ErrCodeInvalidPluginName for service response error code
// "InvalidPluginName".
//
// The plugin name is not valid.
ErrCodeInvalidPluginName = "InvalidPluginName"
// ErrCodeInvalidResourceId for service response error code
// "InvalidResourceId".
//
// The resource ID is not valid. Verify that you entered the correct ID and
// try again.
ErrCodeInvalidResourceId = "InvalidResourceId"
// ErrCodeInvalidResourceType for service response error code
// "InvalidResourceType".
//
// The resource type is not valid. If you are attempting to tag an instance,
// the instance must be a registered, managed instance.
ErrCodeInvalidResourceType = "InvalidResourceType"
// ErrCodeInvalidResultAttributeException for service response error code
// "InvalidResultAttributeException".
//
// The specified inventory item result attribute is not valid.
ErrCodeInvalidResultAttributeException = "InvalidResultAttributeException"
// ErrCodeInvalidRole for service response error code
// "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 Getting Amazon SNS Notifications When a Command Changes Status (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/rc-sns.html)
// in the Amazon Elastic Compute Cloud User Guide .
ErrCodeInvalidRole = "InvalidRole"
// ErrCodeInvalidSchedule for service response error code
// "InvalidSchedule".
//
// The schedule is invalid. Verify your cron or rate expression and try again.
ErrCodeInvalidSchedule = "InvalidSchedule"
// ErrCodeInvalidTarget for service response error code
// "InvalidTarget".
//
// The target is not valid or does not exist. It might not be configured for
// EC2 Systems Manager or you might not have permission to perform the operation.
ErrCodeInvalidTarget = "InvalidTarget"
// ErrCodeInvalidTypeNameException for service response error code
// "InvalidTypeNameException".
//
// The parameter type name is not valid.
ErrCodeInvalidTypeNameException = "InvalidTypeNameException"
// ErrCodeInvalidUpdate for service response error code
// "InvalidUpdate".
//
// The update is not valid.
ErrCodeInvalidUpdate = "InvalidUpdate"
// ErrCodeInvocationDoesNotExist for service response error code
// "InvocationDoesNotExist".
//
// The command ID and instance ID you specified did not match any invocations.
// Verify the command ID adn the instance ID and try again.
ErrCodeInvocationDoesNotExist = "InvocationDoesNotExist"
// ErrCodeItemContentMismatchException for service response error code
// "ItemContentMismatchException".
//
// The inventory item has invalid content.
ErrCodeItemContentMismatchException = "ItemContentMismatchException"
// ErrCodeItemSizeLimitExceededException for service response error code
// "ItemSizeLimitExceededException".
//
// The inventory item size has exceeded the size limit.
ErrCodeItemSizeLimitExceededException = "ItemSizeLimitExceededException"
// ErrCodeMaxDocumentSizeExceeded for service response error code
// "MaxDocumentSizeExceeded".
//
// The size limit of an SSM document is 64 KB.
ErrCodeMaxDocumentSizeExceeded = "MaxDocumentSizeExceeded"
// ErrCodeParameterAlreadyExists for service response error code
// "ParameterAlreadyExists".
//
// The parameter already exists. You can't create duplicate parameters.
ErrCodeParameterAlreadyExists = "ParameterAlreadyExists"
// ErrCodeParameterLimitExceeded for service response error code
// "ParameterLimitExceeded".
//
// You have exceeded the number of parameters for this AWS account. Delete one
// or more parameters and try again.
ErrCodeParameterLimitExceeded = "ParameterLimitExceeded"
// ErrCodeParameterNotFound for service response error code
// "ParameterNotFound".
//
// The parameter could not be found. Verify the name and try again.
ErrCodeParameterNotFound = "ParameterNotFound"
// ErrCodeResourceInUseException for service response error code
// "ResourceInUseException".
//
// Error returned if an attempt is made to delete a patch baseline that is registered
// for a patch group.
ErrCodeResourceInUseException = "ResourceInUseException"
// ErrCodeResourceLimitExceededException for service response error code
// "ResourceLimitExceededException".
//
// Error returned when the caller has exceeded the default resource limits (e.g.
// too many Maintenance Windows have been created).
ErrCodeResourceLimitExceededException = "ResourceLimitExceededException"
// ErrCodeStatusUnchanged for service response error code
// "StatusUnchanged".
//
// The updated status is the same as the current status.
ErrCodeStatusUnchanged = "StatusUnchanged"
// ErrCodeTooManyTagsError for service response error code
// "TooManyTagsError".
//
// The Targets parameter includes too many tags. Remove one or more tags and
// try the command again.
ErrCodeTooManyTagsError = "TooManyTagsError"
// ErrCodeTooManyUpdates for service response error code
// "TooManyUpdates".
//
// There are concurrent updates for a resource that supports one update at a
// time.
ErrCodeTooManyUpdates = "TooManyUpdates"
// ErrCodeTotalSizeLimitExceededException for service response error code
// "TotalSizeLimitExceededException".
//
// The size of inventory data has exceeded the total size limit for the resource.
ErrCodeTotalSizeLimitExceededException = "TotalSizeLimitExceededException"
// ErrCodeUnsupportedInventorySchemaVersionException for service response error code
// "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.
ErrCodeUnsupportedInventorySchemaVersionException = "UnsupportedInventorySchemaVersionException"
// ErrCodeUnsupportedParameterType for service response error code
// "UnsupportedParameterType".
//
// The parameter type is not supported.
ErrCodeUnsupportedParameterType = "UnsupportedParameterType"
// ErrCodeUnsupportedPlatformType for service response error code
// "UnsupportedPlatformType".
//
// The document does not support the platform type of the given instance ID(s).
// For example, you sent an SSM document for a Windows instance to a Linux instance.
ErrCodeUnsupportedPlatformType = "UnsupportedPlatformType"
)

Some files were not shown because too many files have changed in this diff Show More