diff --git a/private/model/api/shape.go b/private/model/api/shape.go index 25eb8bd2543..e320840b3c1 100644 --- a/private/model/api/shape.go +++ b/private/model/api/shape.go @@ -420,10 +420,19 @@ type {{ .ShapeName }} struct { {{ $context := . -}} {{ range $_, $name := $context.MemberNames -}} - {{ $elem := index $context.MemberRefs $name }} - {{ $isRequired := $context.IsRequired $name }} - {{ $elem.Docstring }} + {{ $elem := index $context.MemberRefs $name -}} + {{ $isRequired := $context.IsRequired $name -}} + {{ $doc := $elem.Docstring -}} + + {{ $doc }} + {{ if $isRequired -}} + {{ if $doc -}} + // + {{ end -}} + // {{ $name }} is a required field + {{ end -}} {{ $name }} {{ $context.GoStructType $name $elem }} {{ $elem.GoTags false $isRequired }} + {{ end }} } {{ if not .API.NoStringerMethods }} @@ -441,8 +450,10 @@ var enumShapeTmpl = template.Must(template.New("EnumShape").Parse(` const ( {{ $context := . -}} {{ range $index, $elem := .Enum -}} - // @enum {{ $context.ShapeName }} - {{ index $context.EnumConsts $index }} = "{{ $elem }}" + {{ $name := index $context.EnumConsts $index -}} + // {{ $name }} is a {{ $context.ShapeName }} enum value + {{ $name }} = "{{ $elem }}" + {{ end }} ) `)) diff --git a/private/model/api/waiters.go b/private/model/api/waiters.go index 513494c753b..60cf5d0dd86 100644 --- a/private/model/api/waiters.go +++ b/private/model/api/waiters.go @@ -97,7 +97,16 @@ func (a *WaitAcceptor) ExpectedString() string { } } -var tplWaiter = template.Must(template.New("waiter").Parse(` +var waiterTmpls = template.Must(template.New("waiterTmpls").Parse(` +{{ define "docstring" -}} +// WaitUntil{{ .Name }} uses the {{ .Operation.API.NiceName }} API operation +// {{ .OperationName }} to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. +{{- end }} + +{{ define "waiter" }} +{{ template "docstring" . }} func (c *{{ .Operation.API.StructName }}) WaitUntil{{ .Name }}(input {{ .Operation.InputRef.GoType }}) error { waiterCfg := waiter.Config{ Operation: "{{ .OperationName }}", @@ -121,18 +130,18 @@ func (c *{{ .Operation.API.StructName }}) WaitUntil{{ .Name }}(input {{ .Operati } return w.Wait() } -`)) +{{- end }} -var tplWaiterIface = template.Must(template.New("waiteriface").Parse(` +{{ define "waiter interface" }} WaitUntil{{ .Name }}({{ .Operation.InputRef.GoTypeWithPkgName }}) error +{{- end }} `)) // InterfaceSignature returns a string representing the Waiter's interface // function signature. func (w *Waiter) InterfaceSignature() string { var buf bytes.Buffer - err := tplWaiterIface.Execute(&buf, w) - if err != nil { + if err := waiterTmpls.ExecuteTemplate(&buf, "waiter interface", w); err != nil { panic(err) } @@ -142,7 +151,7 @@ func (w *Waiter) InterfaceSignature() string { // GoCode returns the generated Go code for an individual waiter. func (w *Waiter) GoCode() string { var buf bytes.Buffer - if err := tplWaiter.Execute(&buf, w); err != nil { + if err := waiterTmpls.ExecuteTemplate(&buf, "waiter", w); err != nil { panic(err) } diff --git a/private/protocol/restjson/build_test.go b/private/protocol/restjson/build_test.go index 4d0269da10b..a12e6fb8730 100644 --- a/private/protocol/restjson/build_test.go +++ b/private/protocol/restjson/build_test.go @@ -1206,6 +1206,7 @@ type InputService10TestShapeInputService10TestCaseOperation1Input struct { Checksum *string `location:"header" locationName:"x-amz-sha256-tree-hash" type:"string"` + // VaultName is a required field VaultName *string `location:"uri" locationName:"vaultName" type:"string" required:"true"` } @@ -1335,6 +1336,7 @@ type InputService11TestShapeInputService11TestCaseOperation1Input struct { // Bar is automatically base64 encoded/decoded by the SDK. Bar []byte `type:"blob"` + // Foo is a required field Foo *string `location:"uri" locationName:"Foo" type:"string" required:"true"` } diff --git a/service/acm/api.go b/service/acm/api.go index 8e828815caf..7b5aa1e0f79 100644 --- a/service/acm/api.go +++ b/service/acm/api.go @@ -556,9 +556,13 @@ type AddTagsToCertificateInput struct { // // For more information about ARNs, see Amazon Resource Names (ARNs) and AWS // Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html). + // + // CertificateArn is a required field CertificateArn *string `min:"20" type:"string" required:"true"` // The key-value pair that defines the tag. The tag value is optional. + // + // Tags is a required field Tags []*Tag `min:"1" type:"list" required:"true"` } @@ -741,6 +745,8 @@ type DeleteCertificateInput struct { // // For more information about ARNs, see Amazon Resource Names (ARNs) and AWS // Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html). + // + // CertificateArn is a required field CertificateArn *string `min:"20" type:"string" required:"true"` } @@ -793,6 +799,8 @@ type DescribeCertificateInput struct { // // For more information about ARNs, see Amazon Resource Names (ARNs) and AWS // Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html). + // + // CertificateArn is a required field CertificateArn *string `min:"20" type:"string" required:"true"` } @@ -846,6 +854,8 @@ type DomainValidation struct { _ struct{} `type:"structure"` // Fully Qualified Domain Name (FQDN) of the form www.example.com or example.com. + // + // DomainName is a required field DomainName *string `min:"1" type:"string" required:"true"` // The base validation domain that acts as the suffix of the email addresses @@ -871,6 +881,8 @@ type DomainValidationOption struct { _ struct{} `type:"structure"` // Fully Qualified Domain Name (FQDN) of the certificate being requested. + // + // DomainName is a required field DomainName *string `min:"1" type:"string" required:"true"` // The domain to which validation email is sent. This is the base validation @@ -890,6 +902,8 @@ type DomainValidationOption struct { // postmaster@subdomain.example.com // // webmaster@subdomain.example.com + // + // ValidationDomain is a required field ValidationDomain *string `min:"1" type:"string" required:"true"` } @@ -934,6 +948,8 @@ type GetCertificateInput struct { // // For more information about ARNs, see Amazon Resource Names (ARNs) and AWS // Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html). + // + // CertificateArn is a required field CertificateArn *string `min:"20" type:"string" required:"true"` } @@ -1060,6 +1076,8 @@ type ListTagsForCertificateInput struct { // // For more information about ARNs, see Amazon Resource Names (ARNs) and AWS // Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html). + // + // CertificateArn is a required field CertificateArn *string `min:"20" type:"string" required:"true"` } @@ -1116,9 +1134,13 @@ type RemoveTagsFromCertificateInput struct { // // For more information about ARNs, see Amazon Resource Names (ARNs) and AWS // Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html). + // + // CertificateArn is a required field CertificateArn *string `min:"20" type:"string" required:"true"` // The key-value pair that defines the tag to remove. + // + // Tags is a required field Tags []*Tag `min:"1" type:"list" required:"true"` } @@ -1185,6 +1207,8 @@ type RequestCertificateInput struct { // you want to secure with an ACM Certificate. Use an asterisk (*) to create // a wildcard certificate that protects several sites in the same domain. For // example, *.example.com protects www.example.com, site.example.com, and images.example.com. + // + // DomainName is a required field DomainName *string `min:"1" type:"string" required:"true"` // The base validation domain that will act as the suffix of the email addresses @@ -1296,10 +1320,14 @@ type ResendValidationEmailInput struct { // The ARN must be of the form: // // arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234-1234-1234-123456789012 + // + // CertificateArn is a required field CertificateArn *string `min:"20" type:"string" required:"true"` // The Fully Qualified Domain Name (FQDN) of the certificate that needs to be // validated. + // + // Domain is a required field Domain *string `min:"1" type:"string" required:"true"` // The base validation domain that will act as the suffix of the email addresses @@ -1318,6 +1346,8 @@ type ResendValidationEmailInput struct { // postmaster@subdomain.example.com // // webmaster@subdomain.example.com + // + // ValidationDomain is a required field ValidationDomain *string `min:"1" type:"string" required:"true"` } @@ -1378,6 +1408,8 @@ type Tag struct { _ struct{} `type:"structure"` // The key of the tag. + // + // Key is a required field Key *string `min:"1" type:"string" required:"true"` // The value of the tag. @@ -1411,61 +1443,81 @@ func (s *Tag) Validate() error { } const ( - // @enum CertificateStatus + // CertificateStatusPendingValidation is a CertificateStatus enum value CertificateStatusPendingValidation = "PENDING_VALIDATION" - // @enum CertificateStatus + + // CertificateStatusIssued is a CertificateStatus enum value CertificateStatusIssued = "ISSUED" - // @enum CertificateStatus + + // CertificateStatusInactive is a CertificateStatus enum value CertificateStatusInactive = "INACTIVE" - // @enum CertificateStatus + + // CertificateStatusExpired is a CertificateStatus enum value CertificateStatusExpired = "EXPIRED" - // @enum CertificateStatus + + // CertificateStatusValidationTimedOut is a CertificateStatus enum value CertificateStatusValidationTimedOut = "VALIDATION_TIMED_OUT" - // @enum CertificateStatus + + // CertificateStatusRevoked is a CertificateStatus enum value CertificateStatusRevoked = "REVOKED" - // @enum CertificateStatus + + // CertificateStatusFailed is a CertificateStatus enum value CertificateStatusFailed = "FAILED" ) const ( - // @enum FailureReason + // FailureReasonNoAvailableContacts is a FailureReason enum value FailureReasonNoAvailableContacts = "NO_AVAILABLE_CONTACTS" - // @enum FailureReason + + // FailureReasonAdditionalVerificationRequired is a FailureReason enum value FailureReasonAdditionalVerificationRequired = "ADDITIONAL_VERIFICATION_REQUIRED" - // @enum FailureReason + + // FailureReasonDomainNotAllowed is a FailureReason enum value FailureReasonDomainNotAllowed = "DOMAIN_NOT_ALLOWED" - // @enum FailureReason + + // FailureReasonInvalidPublicDomain is a FailureReason enum value FailureReasonInvalidPublicDomain = "INVALID_PUBLIC_DOMAIN" - // @enum FailureReason + + // FailureReasonOther is a FailureReason enum value FailureReasonOther = "OTHER" ) const ( - // @enum KeyAlgorithm + // KeyAlgorithmRsa2048 is a KeyAlgorithm enum value KeyAlgorithmRsa2048 = "RSA_2048" - // @enum KeyAlgorithm + + // KeyAlgorithmEcPrime256v1 is a KeyAlgorithm enum value KeyAlgorithmEcPrime256v1 = "EC_prime256v1" ) const ( - // @enum RevocationReason + // RevocationReasonUnspecified is a RevocationReason enum value RevocationReasonUnspecified = "UNSPECIFIED" - // @enum RevocationReason + + // RevocationReasonKeyCompromise is a RevocationReason enum value RevocationReasonKeyCompromise = "KEY_COMPROMISE" - // @enum RevocationReason + + // RevocationReasonCaCompromise is a RevocationReason enum value RevocationReasonCaCompromise = "CA_COMPROMISE" - // @enum RevocationReason + + // RevocationReasonAffiliationChanged is a RevocationReason enum value RevocationReasonAffiliationChanged = "AFFILIATION_CHANGED" - // @enum RevocationReason + + // RevocationReasonSuperceded is a RevocationReason enum value RevocationReasonSuperceded = "SUPERCEDED" - // @enum RevocationReason + + // RevocationReasonCessationOfOperation is a RevocationReason enum value RevocationReasonCessationOfOperation = "CESSATION_OF_OPERATION" - // @enum RevocationReason + + // RevocationReasonCertificateHold is a RevocationReason enum value RevocationReasonCertificateHold = "CERTIFICATE_HOLD" - // @enum RevocationReason + + // RevocationReasonRemoveFromCrl is a RevocationReason enum value RevocationReasonRemoveFromCrl = "REMOVE_FROM_CRL" - // @enum RevocationReason + + // RevocationReasonPrivilegeWithdrawn is a RevocationReason enum value RevocationReasonPrivilegeWithdrawn = "PRIVILEGE_WITHDRAWN" - // @enum RevocationReason + + // RevocationReasonAACompromise is a RevocationReason enum value RevocationReasonAACompromise = "A_A_COMPROMISE" ) diff --git a/service/apigateway/api.go b/service/apigateway/api.go index fcd42b664fe..ab6c546a79e 100644 --- a/service/apigateway/api.go +++ b/service/apigateway/api.go @@ -5003,21 +5003,29 @@ type CreateAuthorizerInput struct { AuthorizerUri *string `locationName:"authorizerUri" type:"string"` // [Required] The source of the identity in an incoming request. + // + // IdentitySource is a required field IdentitySource *string `locationName:"identitySource" type:"string" required:"true"` // A validation expression for the incoming identity. IdentityValidationExpression *string `locationName:"identityValidationExpression" type:"string"` // [Required] The name of the authorizer. + // + // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` // A list of the Cognito Your User Pool authorizer's provider ARNs. ProviderARNs []*string `locationName:"providerARNs" type:"list"` // The RestApi identifier under which the Authorizer will be created. + // + // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` // [Required] The type of the authorizer. + // + // Type is a required field Type *string `locationName:"type" type:"string" required:"true" enum:"AuthorizerType"` } @@ -5064,9 +5072,13 @@ type CreateBasePathMappingInput struct { BasePath *string `locationName:"basePath" type:"string"` // The domain name of the BasePathMapping resource to create. + // + // DomainName is a required field DomainName *string `location:"uri" locationName:"domain_name" type:"string" required:"true"` // The name of the API that you want to apply this mapping to. + // + // RestApiId is a required field RestApiId *string `locationName:"restApiId" type:"string" required:"true"` // The name of the API's stage that you want to use for this mapping. Leave @@ -5116,12 +5128,16 @@ type CreateDeploymentInput struct { Description *string `locationName:"description" type:"string"` // The RestApi resource identifier for the Deployment resource to create. + // + // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` // The description of the Stage resource for the Deployment resource to create. StageDescription *string `locationName:"stageDescription" type:"string"` // The name of the Stage resource for the Deployment resource to create. + // + // StageName is a required field StageName *string `locationName:"stageName" type:"string" required:"true"` // A map that defines the stage variables for the Stage resource that is associated @@ -5161,6 +5177,8 @@ type CreateDomainNameInput struct { _ struct{} `type:"structure"` // The body of the server certificate provided by your certificate authority. + // + // CertificateBody is a required field CertificateBody *string `locationName:"certificateBody" type:"string" required:"true"` // The intermediate certificates and optionally the root certificate, one after @@ -5169,15 +5187,23 @@ type CreateDomainNameInput struct { // the root certificate. Use the intermediate certificates that were provided // by your certificate authority. Do not include any intermediaries that are // not in the chain of trust path. + // + // CertificateChain is a required field CertificateChain *string `locationName:"certificateChain" type:"string" required:"true"` // The name of the certificate. + // + // CertificateName is a required field CertificateName *string `locationName:"certificateName" type:"string" required:"true"` // Your certificate's private key. + // + // CertificatePrivateKey is a required field CertificatePrivateKey *string `locationName:"certificatePrivateKey" type:"string" required:"true"` // The name of the DomainName resource. + // + // DomainName is a required field DomainName *string `locationName:"domainName" type:"string" required:"true"` } @@ -5221,15 +5247,21 @@ type CreateModelInput struct { _ struct{} `type:"structure"` // The content-type for the model. + // + // ContentType is a required field ContentType *string `locationName:"contentType" type:"string" required:"true"` // The description of the model. Description *string `locationName:"description" type:"string"` // The name of the model. + // + // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` // The RestApi identifier under which the Model will be created. + // + // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` // The schema for the model. For application/json models, this should be JSON-schema @@ -5271,12 +5303,18 @@ type CreateResourceInput struct { _ struct{} `type:"structure"` // The parent resource's identifier. + // + // ParentId is a required field ParentId *string `location:"uri" locationName:"parent_id" type:"string" required:"true"` // The last path segment for this resource. + // + // PathPart is a required field PathPart *string `locationName:"pathPart" type:"string" required:"true"` // The identifier of the RestApi for the resource. + // + // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` } @@ -5320,6 +5358,8 @@ type CreateRestApiInput struct { Description *string `locationName:"description" type:"string"` // The name of the RestApi. + // + // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` } @@ -5357,15 +5397,21 @@ type CreateStageInput struct { CacheClusterSize *string `locationName:"cacheClusterSize" type:"string" enum:"CacheClusterSize"` // The identifier of the Deployment resource for the Stage resource. + // + // DeploymentId is a required field DeploymentId *string `locationName:"deploymentId" type:"string" required:"true"` // The description of the Stage resource. Description *string `locationName:"description" type:"string"` // The identifier of the RestApi resource for the Stage resource to create. + // + // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` // The name for the Stage resource. + // + // StageName is a required field StageName *string `locationName:"stageName" type:"string" required:"true"` // A map that defines the stage variables for the new Stage resource. Variable @@ -5416,6 +5462,8 @@ type CreateUsagePlanInput struct { Description *string `locationName:"description" type:"string"` // The name of the usage plan. + // + // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` // The quota of the usage plan. @@ -5454,13 +5502,19 @@ type CreateUsagePlanKeyInput struct { _ struct{} `type:"structure"` // The identifier of a UsagePlanKey resource for a plan customer. + // + // KeyId is a required field KeyId *string `locationName:"keyId" type:"string" required:"true"` // The type of a UsagePlanKey resource for a plan customer. + // + // KeyType is a required field KeyType *string `locationName:"keyType" type:"string" required:"true"` // The Id of the UsagePlan resource representing the usage plan containing the // to-be-created UsagePlanKey resource representing a plan customer. + // + // UsagePlanId is a required field UsagePlanId *string `location:"uri" locationName:"usageplanId" type:"string" required:"true"` } @@ -5498,6 +5552,8 @@ type DeleteApiKeyInput struct { _ struct{} `type:"structure"` // The identifier of the ApiKey resource to be deleted. + // + // ApiKey is a required field ApiKey *string `location:"uri" locationName:"api_Key" type:"string" required:"true"` } @@ -5543,9 +5599,13 @@ type DeleteAuthorizerInput struct { _ struct{} `type:"structure"` // The identifier of the Authorizer resource. + // + // AuthorizerId is a required field AuthorizerId *string `location:"uri" locationName:"authorizer_id" type:"string" required:"true"` // The RestApi identifier for the Authorizer resource. + // + // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` } @@ -5594,9 +5654,13 @@ type DeleteBasePathMappingInput struct { _ struct{} `type:"structure"` // The base path name of the BasePathMapping resource to delete. + // + // BasePath is a required field BasePath *string `location:"uri" locationName:"base_path" type:"string" required:"true"` // The domain name of the BasePathMapping resource to delete. + // + // DomainName is a required field DomainName *string `location:"uri" locationName:"domain_name" type:"string" required:"true"` } @@ -5645,6 +5709,8 @@ type DeleteClientCertificateInput struct { _ struct{} `type:"structure"` // The identifier of the ClientCertificate resource to be deleted. + // + // ClientCertificateId is a required field ClientCertificateId *string `location:"uri" locationName:"clientcertificate_id" type:"string" required:"true"` } @@ -5690,9 +5756,13 @@ type DeleteDeploymentInput struct { _ struct{} `type:"structure"` // The identifier of the Deployment resource to delete. + // + // DeploymentId is a required field DeploymentId *string `location:"uri" locationName:"deployment_id" type:"string" required:"true"` // The identifier of the RestApi resource for the Deployment resource to delete. + // + // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` } @@ -5741,6 +5811,8 @@ type DeleteDomainNameInput struct { _ struct{} `type:"structure"` // The name of the DomainName resource to be deleted. + // + // DomainName is a required field DomainName *string `location:"uri" locationName:"domain_name" type:"string" required:"true"` } @@ -5786,12 +5858,18 @@ type DeleteIntegrationInput struct { _ struct{} `type:"structure"` // Specifies a delete integration request's HTTP method. + // + // HttpMethod is a required field HttpMethod *string `location:"uri" locationName:"http_method" type:"string" required:"true"` // Specifies a delete integration request's resource identifier. + // + // ResourceId is a required field ResourceId *string `location:"uri" locationName:"resource_id" type:"string" required:"true"` // Specifies a delete integration request's API identifier. + // + // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` } @@ -5843,15 +5921,23 @@ type DeleteIntegrationResponseInput struct { _ struct{} `type:"structure"` // Specifies a delete integration response request's HTTP method. + // + // HttpMethod is a required field HttpMethod *string `location:"uri" locationName:"http_method" type:"string" required:"true"` // Specifies a delete integration response request's resource identifier. + // + // ResourceId is a required field ResourceId *string `location:"uri" locationName:"resource_id" type:"string" required:"true"` // Specifies a delete integration response request's API identifier. + // + // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` // Specifies a delete integration response request's status code. + // + // StatusCode is a required field StatusCode *string `location:"uri" locationName:"status_code" type:"string" required:"true"` } @@ -5906,12 +5992,18 @@ type DeleteMethodInput struct { _ struct{} `type:"structure"` // The HTTP verb of the Method resource. + // + // HttpMethod is a required field HttpMethod *string `location:"uri" locationName:"http_method" type:"string" required:"true"` // The Resource identifier for the Method resource. + // + // ResourceId is a required field ResourceId *string `location:"uri" locationName:"resource_id" type:"string" required:"true"` // The RestApi identifier for the Method resource. + // + // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` } @@ -5963,15 +6055,23 @@ type DeleteMethodResponseInput struct { _ struct{} `type:"structure"` // The HTTP verb of the Method resource. + // + // HttpMethod is a required field HttpMethod *string `location:"uri" locationName:"http_method" type:"string" required:"true"` // The Resource identifier for the MethodResponse resource. + // + // ResourceId is a required field ResourceId *string `location:"uri" locationName:"resource_id" type:"string" required:"true"` // The RestApi identifier for the MethodResponse resource. + // + // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` // The status code identifier for the MethodResponse resource. + // + // StatusCode is a required field StatusCode *string `location:"uri" locationName:"status_code" type:"string" required:"true"` } @@ -6026,9 +6126,13 @@ type DeleteModelInput struct { _ struct{} `type:"structure"` // The name of the model to delete. + // + // ModelName is a required field ModelName *string `location:"uri" locationName:"model_name" type:"string" required:"true"` // The RestApi under which the model will be deleted. + // + // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` } @@ -6077,9 +6181,13 @@ type DeleteResourceInput struct { _ struct{} `type:"structure"` // The identifier of the Resource resource. + // + // ResourceId is a required field ResourceId *string `location:"uri" locationName:"resource_id" type:"string" required:"true"` // The RestApi identifier for the Resource resource. + // + // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` } @@ -6128,6 +6236,8 @@ type DeleteRestApiInput struct { _ struct{} `type:"structure"` // The ID of the RestApi you want to delete. + // + // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` } @@ -6173,9 +6283,13 @@ type DeleteStageInput struct { _ struct{} `type:"structure"` // The identifier of the RestApi resource for the Stage resource to delete. + // + // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` // The name of the Stage resource to delete. + // + // StageName is a required field StageName *string `location:"uri" locationName:"stage_name" type:"string" required:"true"` } @@ -6224,6 +6338,8 @@ type DeleteUsagePlanInput struct { _ struct{} `type:"structure"` // The Id of the to-be-deleted usage plan. + // + // UsagePlanId is a required field UsagePlanId *string `location:"uri" locationName:"usageplanId" type:"string" required:"true"` } @@ -6256,10 +6372,14 @@ type DeleteUsagePlanKeyInput struct { _ struct{} `type:"structure"` // The Id of the UsagePlanKey resource to be deleted. + // + // KeyId is a required field KeyId *string `location:"uri" locationName:"keyId" type:"string" required:"true"` // The Id of the UsagePlan resource representing the usage plan containing the // to-be-deleted UsagePlanKey resource representing a plan customer. + // + // UsagePlanId is a required field UsagePlanId *string `location:"uri" locationName:"usageplanId" type:"string" required:"true"` } @@ -6391,9 +6511,13 @@ type FlushStageAuthorizersCacheInput struct { _ struct{} `type:"structure"` // The API identifier of the stage to flush. + // + // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` // The name of the stage to flush. + // + // StageName is a required field StageName *string `location:"uri" locationName:"stage_name" type:"string" required:"true"` } @@ -6442,9 +6566,13 @@ type FlushStageCacheInput struct { _ struct{} `type:"structure"` // The API identifier of the stage to flush its cache. + // + // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` // The name of the stage to flush its cache. + // + // StageName is a required field StageName *string `location:"uri" locationName:"stage_name" type:"string" required:"true"` } @@ -6527,6 +6655,8 @@ type GetApiKeyInput struct { _ struct{} `type:"structure"` // The identifier of the ApiKey resource. + // + // ApiKey is a required field ApiKey *string `location:"uri" locationName:"api_Key" type:"string" required:"true"` // A boolean flag to specify whether (true) or not (false) the result contains @@ -6616,9 +6746,13 @@ type GetAuthorizerInput struct { _ struct{} `type:"structure"` // The identifier of the Authorizer resource. + // + // AuthorizerId is a required field AuthorizerId *string `location:"uri" locationName:"authorizer_id" type:"string" required:"true"` // The RestApi identifier for the Authorizer resource. + // + // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` } @@ -6660,6 +6794,8 @@ type GetAuthorizersInput struct { Position *string `location:"querystring" locationName:"position" type:"string"` // The RestApi identifier for the Authorizers resource. + // + // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` } @@ -6716,9 +6852,13 @@ type GetBasePathMappingInput struct { // after the domain name. This value must be unique for all of the mappings // across a single API. Leave this blank if you do not want callers to specify // any base path name after the domain name. + // + // BasePath is a required field BasePath *string `location:"uri" locationName:"base_path" type:"string" required:"true"` // The domain name of the BasePathMapping resource to be described. + // + // DomainName is a required field DomainName *string `location:"uri" locationName:"domain_name" type:"string" required:"true"` } @@ -6753,6 +6893,8 @@ type GetBasePathMappingsInput struct { _ struct{} `type:"structure"` // The domain name of a BasePathMapping resource. + // + // DomainName is a required field DomainName *string `location:"uri" locationName:"domain_name" type:"string" required:"true"` // The maximum number of BasePathMapping resources in the collection to get @@ -6816,6 +6958,8 @@ type GetClientCertificateInput struct { _ struct{} `type:"structure"` // The identifier of the ClientCertificate resource to be described. + // + // ClientCertificateId is a required field ClientCertificateId *string `location:"uri" locationName:"clientcertificate_id" type:"string" required:"true"` } @@ -6894,10 +7038,14 @@ type GetDeploymentInput struct { _ struct{} `type:"structure"` // The identifier of the Deployment resource to get information about. + // + // DeploymentId is a required field DeploymentId *string `location:"uri" locationName:"deployment_id" type:"string" required:"true"` // The identifier of the RestApi resource for the Deployment resource to get // information about. + // + // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` } @@ -6941,6 +7089,8 @@ type GetDeploymentsInput struct { // The identifier of the RestApi resource for the collection of Deployment resources // to get information about. + // + // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` } @@ -7003,6 +7153,8 @@ type GetDomainNameInput struct { _ struct{} `type:"structure"` // The name of the DomainName resource. + // + // DomainName is a required field DomainName *string `location:"uri" locationName:"domain_name" type:"string" required:"true"` } @@ -7084,6 +7236,8 @@ type GetExportInput struct { Accepts *string `location:"header" locationName:"Accept" type:"string"` // The type of export. Currently only 'swagger' is supported. + // + // ExportType is a required field ExportType *string `location:"uri" locationName:"export_type" type:"string" required:"true"` // A key-value map of query string parameters that specify properties of the @@ -7096,9 +7250,13 @@ type GetExportInput struct { Parameters map[string]*string `location:"querystring" locationName:"parameters" type:"map"` // The identifier of the RestApi to be exported. + // + // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` // The name of the Stage that will be exported. + // + // StageName is a required field StageName *string `location:"uri" locationName:"stage_name" type:"string" required:"true"` } @@ -7161,12 +7319,18 @@ type GetIntegrationInput struct { _ struct{} `type:"structure"` // Specifies a get integration request's HTTP method. + // + // HttpMethod is a required field HttpMethod *string `location:"uri" locationName:"http_method" type:"string" required:"true"` // Specifies a get integration request's resource identifier + // + // ResourceId is a required field ResourceId *string `location:"uri" locationName:"resource_id" type:"string" required:"true"` // Specifies a get integration request's API identifier. + // + // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` } @@ -7204,15 +7368,23 @@ type GetIntegrationResponseInput struct { _ struct{} `type:"structure"` // Specifies a get integration response request's HTTP method. + // + // HttpMethod is a required field HttpMethod *string `location:"uri" locationName:"http_method" type:"string" required:"true"` // Specifies a get integration response request's resource identifier. + // + // ResourceId is a required field ResourceId *string `location:"uri" locationName:"resource_id" type:"string" required:"true"` // Specifies a get integration response request's API identifier. + // + // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` // Specifies a get integration response request's status code. + // + // StatusCode is a required field StatusCode *string `location:"uri" locationName:"status_code" type:"string" required:"true"` } @@ -7253,12 +7425,18 @@ type GetMethodInput struct { _ struct{} `type:"structure"` // Specifies the method request's HTTP method type. + // + // HttpMethod is a required field HttpMethod *string `location:"uri" locationName:"http_method" type:"string" required:"true"` // The Resource identifier for the Method resource. + // + // ResourceId is a required field ResourceId *string `location:"uri" locationName:"resource_id" type:"string" required:"true"` // The RestApi identifier for the Method resource. + // + // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` } @@ -7296,15 +7474,23 @@ type GetMethodResponseInput struct { _ struct{} `type:"structure"` // The HTTP verb of the Method resource. + // + // HttpMethod is a required field HttpMethod *string `location:"uri" locationName:"http_method" type:"string" required:"true"` // The Resource identifier for the MethodResponse resource. + // + // ResourceId is a required field ResourceId *string `location:"uri" locationName:"resource_id" type:"string" required:"true"` // The RestApi identifier for the MethodResponse resource. + // + // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` // The status code for the MethodResponse resource. + // + // StatusCode is a required field StatusCode *string `location:"uri" locationName:"status_code" type:"string" required:"true"` } @@ -7350,9 +7536,13 @@ type GetModelInput struct { Flatten *bool `location:"querystring" locationName:"flatten" type:"boolean"` // The name of the model as an identifier. + // + // ModelName is a required field ModelName *string `location:"uri" locationName:"model_name" type:"string" required:"true"` // The RestApi identifier under which the Model exists. + // + // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` } @@ -7387,9 +7577,13 @@ type GetModelTemplateInput struct { _ struct{} `type:"structure"` // The name of the model for which to generate a template. + // + // ModelName is a required field ModelName *string `location:"uri" locationName:"model_name" type:"string" required:"true"` // The ID of the RestApi under which the model exists. + // + // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` } @@ -7453,6 +7647,8 @@ type GetModelsInput struct { Position *string `location:"querystring" locationName:"position" type:"string"` // The RestApi identifier. + // + // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` } @@ -7506,9 +7702,13 @@ type GetResourceInput struct { _ struct{} `type:"structure"` // The identifier for the Resource resource. + // + // ResourceId is a required field ResourceId *string `location:"uri" locationName:"resource_id" type:"string" required:"true"` // The RestApi identifier for the resource. + // + // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` } @@ -7551,6 +7751,8 @@ type GetResourcesInput struct { Position *string `location:"querystring" locationName:"position" type:"string"` // The RestApi identifier for the Resource. + // + // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` } @@ -7604,6 +7806,8 @@ type GetRestApiInput struct { _ struct{} `type:"structure"` // The identifier of the RestApi resource. + // + // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` } @@ -7687,13 +7891,19 @@ type GetSdkInput struct { Parameters map[string]*string `location:"querystring" locationName:"parameters" type:"map"` // The identifier of the RestApi that the SDK will use. + // + // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` // The language for the generated SDK. Currently javascript, android, and objectivec // (for iOS) are supported. + // + // SdkType is a required field SdkType *string `location:"uri" locationName:"sdk_type" type:"string" required:"true"` // The name of the Stage that the SDK will use. + // + // StageName is a required field StageName *string `location:"uri" locationName:"stage_name" type:"string" required:"true"` } @@ -7756,9 +7966,13 @@ type GetStageInput struct { // The identifier of the RestApi resource for the Stage resource to get information // about. + // + // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` // The name of the Stage resource to get information about. + // + // StageName is a required field StageName *string `location:"uri" locationName:"stage_name" type:"string" required:"true"` } @@ -7796,6 +8010,8 @@ type GetStagesInput struct { DeploymentId *string `location:"querystring" locationName:"deploymentId" type:"string"` // The stages' API identifiers. + // + // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` } @@ -7848,6 +8064,8 @@ type GetUsageInput struct { _ struct{} `type:"structure"` // The ending date (e.g., 2016-12-31) of the usage data. + // + // EndDate is a required field EndDate *string `location:"querystring" locationName:"endDate" type:"string" required:"true"` // The Id of the API key associated with the resultant usage data. @@ -7860,9 +8078,13 @@ type GetUsageInput struct { Position *string `location:"querystring" locationName:"position" type:"string"` // The starting date (e.g., 2016-01-01) of the usage data. + // + // StartDate is a required field StartDate *string `location:"querystring" locationName:"startDate" type:"string" required:"true"` // The Id of the usage plan associated with the usage data. + // + // UsagePlanId is a required field UsagePlanId *string `location:"uri" locationName:"usageplanId" type:"string" required:"true"` } @@ -7900,6 +8122,8 @@ type GetUsagePlanInput struct { _ struct{} `type:"structure"` // The identifier of the UsagePlan resource to be retrieved. + // + // UsagePlanId is a required field UsagePlanId *string `location:"uri" locationName:"usageplanId" type:"string" required:"true"` } @@ -7932,10 +8156,14 @@ type GetUsagePlanKeyInput struct { // The key Id of the to-be-retrieved UsagePlanKey resource representing a plan // customer. + // + // KeyId is a required field KeyId *string `location:"uri" locationName:"keyId" type:"string" required:"true"` // The Id of the UsagePlan resource representing the usage plan containing the // to-be-retrieved UsagePlanKey resource representing a plan customer. + // + // UsagePlanId is a required field UsagePlanId *string `location:"uri" locationName:"usageplanId" type:"string" required:"true"` } @@ -7983,6 +8211,8 @@ type GetUsagePlanKeysInput struct { // The Id of the UsagePlan resource representing the usage plan containing the // to-be-retrieved UsagePlanKey resource representing a plan customer. + // + // UsagePlanId is a required field UsagePlanId *string `location:"uri" locationName:"usageplanId" type:"string" required:"true"` } @@ -8086,6 +8316,8 @@ type ImportApiKeysInput struct { // The payload of the POST request to import API keys. For the payload format, // see API Key File Format (http://docs.aws.amazon.com/apigateway/latest/developerguide/api-key-file-format.html). + // + // Body is a required field Body []byte `locationName:"body" type:"blob" required:"true"` // A query parameter to indicate whether to rollback ApiKey importation (true) @@ -8094,6 +8326,8 @@ type ImportApiKeysInput struct { // A query parameter to specify the input format to imported API keys. Currently, // only the csv format is supported. + // + // Format is a required field Format *string `location:"querystring" locationName:"format" type:"string" required:"true" enum:"ApiKeysFormat"` } @@ -8151,6 +8385,8 @@ type ImportRestApiInput struct { // The POST request body containing external API definitions. Currently, only // Swagger definition JSON files are supported. + // + // Body is a required field Body []byte `locationName:"body" type:"blob" required:"true"` // A query parameter to indicate whether to rollback the API creation (true) @@ -8774,6 +9010,8 @@ type PutIntegrationInput struct { Credentials *string `locationName:"credentials" type:"string"` // Specifies a put integration request's HTTP method. + // + // HttpMethod is a required field HttpMethod *string `location:"uri" locationName:"http_method" type:"string" required:"true"` // Specifies a put integration HTTP method. When the integration type is HTTP @@ -8812,12 +9050,18 @@ type PutIntegrationInput struct { RequestTemplates map[string]*string `locationName:"requestTemplates" type:"map"` // Specifies a put integration request's resource ID. + // + // ResourceId is a required field ResourceId *string `location:"uri" locationName:"resource_id" type:"string" required:"true"` // Specifies a put integration request's API identifier. + // + // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` // Specifies a put integration input's type. + // + // Type is a required field Type *string `locationName:"type" type:"string" required:"true" enum:"IntegrationType"` // Specifies a put integration input's Uniform Resource Identifier (URI). When @@ -8864,9 +9108,13 @@ type PutIntegrationResponseInput struct { _ struct{} `type:"structure"` // Specifies a put integration response request's HTTP method. + // + // HttpMethod is a required field HttpMethod *string `location:"uri" locationName:"http_method" type:"string" required:"true"` // Specifies a put integration response request's resource identifier. + // + // ResourceId is a required field ResourceId *string `location:"uri" locationName:"resource_id" type:"string" required:"true"` // A key-value map specifying response parameters that are passed to the method @@ -8885,6 +9133,8 @@ type PutIntegrationResponseInput struct { ResponseTemplates map[string]*string `locationName:"responseTemplates" type:"map"` // Specifies a put integration response request's API identifier. + // + // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` // Specifies the selection pattern of a put integration response. @@ -8892,6 +9142,8 @@ type PutIntegrationResponseInput struct { // Specifies the status code that is used to map the integration response to // an existing MethodResponse. + // + // StatusCode is a required field StatusCode *string `location:"uri" locationName:"status_code" type:"string" required:"true"` } @@ -8935,6 +9187,8 @@ type PutMethodInput struct { ApiKeyRequired *bool `locationName:"apiKeyRequired" type:"boolean"` // Specifies the type of authorization used for the method. + // + // AuthorizationType is a required field AuthorizationType *string `locationName:"authorizationType" type:"string" required:"true"` // Specifies the identifier of an Authorizer to use on this Method, if the type @@ -8942,6 +9196,8 @@ type PutMethodInput struct { AuthorizerId *string `locationName:"authorizerId" type:"string"` // Specifies the method request's HTTP method type. + // + // HttpMethod is a required field HttpMethod *string `location:"uri" locationName:"http_method" type:"string" required:"true"` // Specifies the Model resources used for the request's content type. Request @@ -8960,9 +9216,13 @@ type PutMethodInput struct { RequestParameters map[string]*bool `locationName:"requestParameters" type:"map"` // The Resource identifier for the new Method resource. + // + // ResourceId is a required field ResourceId *string `location:"uri" locationName:"resource_id" type:"string" required:"true"` // The RestApi identifier for the new Method resource. + // + // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` } @@ -9003,9 +9263,13 @@ type PutMethodResponseInput struct { _ struct{} `type:"structure"` // The HTTP verb of the Method resource. + // + // HttpMethod is a required field HttpMethod *string `location:"uri" locationName:"http_method" type:"string" required:"true"` // The Resource identifier for the Method resource. + // + // ResourceId is a required field ResourceId *string `location:"uri" locationName:"resource_id" type:"string" required:"true"` // Specifies the Model resources used for the response's content type. Response @@ -9027,9 +9291,13 @@ type PutMethodResponseInput struct { ResponseParameters map[string]*bool `locationName:"responseParameters" type:"map"` // The RestApi identifier for the Method resource. + // + // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` // The method response's status code. + // + // StatusCode is a required field StatusCode *string `location:"uri" locationName:"status_code" type:"string" required:"true"` } @@ -9072,6 +9340,8 @@ type PutRestApiInput struct { // The PUT request body containing external API definitions. Currently, only // Swagger definition JSON files are supported. + // + // Body is a required field Body []byte `locationName:"body" type:"blob" required:"true"` // A query parameter to indicate whether to rollback the API update (true) or @@ -9086,6 +9356,8 @@ type PutRestApiInput struct { Parameters map[string]*string `location:"querystring" locationName:"parameters" type:"map"` // The identifier of the RestApi to be updated. + // + // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` } @@ -9350,6 +9622,8 @@ type TestInvokeAuthorizerInput struct { AdditionalContext map[string]*string `locationName:"additionalContext" type:"map"` // Specifies a test invoke authorizer request's Authorizer ID. + // + // AuthorizerId is a required field AuthorizerId *string `location:"uri" locationName:"authorizer_id" type:"string" required:"true"` // [Optional] The simulated request body of an incoming invocation request. @@ -9365,6 +9639,8 @@ type TestInvokeAuthorizerInput struct { PathWithQueryString *string `locationName:"pathWithQueryString" type:"string"` // Specifies a test invoke authorizer request's RestApi identifier. + // + // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` // A key-value map of stage variables to simulate an invocation on a deployed @@ -9452,6 +9728,8 @@ type TestInvokeMethodInput struct { Headers map[string]*string `locationName:"headers" type:"map"` // Specifies a test invoke method request's HTTP method. + // + // HttpMethod is a required field HttpMethod *string `location:"uri" locationName:"http_method" type:"string" required:"true"` // The URI path, including query string, of the simulated invocation request. @@ -9459,9 +9737,13 @@ type TestInvokeMethodInput struct { PathWithQueryString *string `locationName:"pathWithQueryString" type:"string"` // Specifies a test invoke method request's resource ID. + // + // ResourceId is a required field ResourceId *string `location:"uri" locationName:"resource_id" type:"string" required:"true"` // Specifies a test invoke method request's API identifier. + // + // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` // A key-value map of stage variables to simulate an invocation on a deployed @@ -9578,6 +9860,8 @@ type UpdateApiKeyInput struct { _ struct{} `type:"structure"` // The identifier of the ApiKey resource to be updated. + // + // ApiKey is a required field ApiKey *string `location:"uri" locationName:"api_Key" type:"string" required:"true"` // A list of update operations to be applied to the specified resource and in @@ -9613,6 +9897,8 @@ type UpdateAuthorizerInput struct { _ struct{} `type:"structure"` // The identifier of the Authorizer resource. + // + // AuthorizerId is a required field AuthorizerId *string `location:"uri" locationName:"authorizer_id" type:"string" required:"true"` // A list of update operations to be applied to the specified resource and in @@ -9620,6 +9906,8 @@ type UpdateAuthorizerInput struct { PatchOperations []*PatchOperation `locationName:"patchOperations" type:"list"` // The RestApi identifier for the Authorizer resource. + // + // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` } @@ -9654,9 +9942,13 @@ type UpdateBasePathMappingInput struct { _ struct{} `type:"structure"` // The base path of the BasePathMapping resource to change. + // + // BasePath is a required field BasePath *string `location:"uri" locationName:"base_path" type:"string" required:"true"` // The domain name of the BasePathMapping resource to change. + // + // DomainName is a required field DomainName *string `location:"uri" locationName:"domain_name" type:"string" required:"true"` // A list of update operations to be applied to the specified resource and in @@ -9695,6 +9987,8 @@ type UpdateClientCertificateInput struct { _ struct{} `type:"structure"` // The identifier of the ClientCertificate resource to be updated. + // + // ClientCertificateId is a required field ClientCertificateId *string `location:"uri" locationName:"clientcertificate_id" type:"string" required:"true"` // A list of update operations to be applied to the specified resource and in @@ -9731,6 +10025,8 @@ type UpdateDeploymentInput struct { // The replacement identifier for the Deployment resource to change information // about. + // + // DeploymentId is a required field DeploymentId *string `location:"uri" locationName:"deployment_id" type:"string" required:"true"` // A list of update operations to be applied to the specified resource and in @@ -9739,6 +10035,8 @@ type UpdateDeploymentInput struct { // The replacement identifier of the RestApi resource for the Deployment resource // to change information about. + // + // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` } @@ -9773,6 +10071,8 @@ type UpdateDomainNameInput struct { _ struct{} `type:"structure"` // The name of the DomainName resource to be changed. + // + // DomainName is a required field DomainName *string `location:"uri" locationName:"domain_name" type:"string" required:"true"` // A list of update operations to be applied to the specified resource and in @@ -9808,6 +10108,8 @@ type UpdateIntegrationInput struct { _ struct{} `type:"structure"` // Represents an update integration request's HTTP method. + // + // HttpMethod is a required field HttpMethod *string `location:"uri" locationName:"http_method" type:"string" required:"true"` // A list of update operations to be applied to the specified resource and in @@ -9815,9 +10117,13 @@ type UpdateIntegrationInput struct { PatchOperations []*PatchOperation `locationName:"patchOperations" type:"list"` // Represents an update integration request's resource identifier. + // + // ResourceId is a required field ResourceId *string `location:"uri" locationName:"resource_id" type:"string" required:"true"` // Represents an update integration request's API identifier. + // + // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` } @@ -9855,6 +10161,8 @@ type UpdateIntegrationResponseInput struct { _ struct{} `type:"structure"` // Specifies an update integration response request's HTTP method. + // + // HttpMethod is a required field HttpMethod *string `location:"uri" locationName:"http_method" type:"string" required:"true"` // A list of update operations to be applied to the specified resource and in @@ -9862,12 +10170,18 @@ type UpdateIntegrationResponseInput struct { PatchOperations []*PatchOperation `locationName:"patchOperations" type:"list"` // Specifies an update integration response request's resource identifier. + // + // ResourceId is a required field ResourceId *string `location:"uri" locationName:"resource_id" type:"string" required:"true"` // Specifies an update integration response request's API identifier. + // + // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` // Specifies an update integration response request's status code. + // + // StatusCode is a required field StatusCode *string `location:"uri" locationName:"status_code" type:"string" required:"true"` } @@ -9908,6 +10222,8 @@ type UpdateMethodInput struct { _ struct{} `type:"structure"` // The HTTP verb of the Method resource. + // + // HttpMethod is a required field HttpMethod *string `location:"uri" locationName:"http_method" type:"string" required:"true"` // A list of update operations to be applied to the specified resource and in @@ -9915,9 +10231,13 @@ type UpdateMethodInput struct { PatchOperations []*PatchOperation `locationName:"patchOperations" type:"list"` // The Resource identifier for the Method resource. + // + // ResourceId is a required field ResourceId *string `location:"uri" locationName:"resource_id" type:"string" required:"true"` // The RestApi identifier for the Method resource. + // + // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` } @@ -9955,6 +10275,8 @@ type UpdateMethodResponseInput struct { _ struct{} `type:"structure"` // The HTTP verb of the Method resource. + // + // HttpMethod is a required field HttpMethod *string `location:"uri" locationName:"http_method" type:"string" required:"true"` // A list of update operations to be applied to the specified resource and in @@ -9962,12 +10284,18 @@ type UpdateMethodResponseInput struct { PatchOperations []*PatchOperation `locationName:"patchOperations" type:"list"` // The Resource identifier for the MethodResponse resource. + // + // ResourceId is a required field ResourceId *string `location:"uri" locationName:"resource_id" type:"string" required:"true"` // The RestApi identifier for the MethodResponse resource. + // + // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` // The status code for the MethodResponse resource. + // + // StatusCode is a required field StatusCode *string `location:"uri" locationName:"status_code" type:"string" required:"true"` } @@ -10008,6 +10336,8 @@ type UpdateModelInput struct { _ struct{} `type:"structure"` // The name of the model to update. + // + // ModelName is a required field ModelName *string `location:"uri" locationName:"model_name" type:"string" required:"true"` // A list of update operations to be applied to the specified resource and in @@ -10015,6 +10345,8 @@ type UpdateModelInput struct { PatchOperations []*PatchOperation `locationName:"patchOperations" type:"list"` // The RestApi identifier under which the model exists. + // + // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` } @@ -10053,9 +10385,13 @@ type UpdateResourceInput struct { PatchOperations []*PatchOperation `locationName:"patchOperations" type:"list"` // The identifier of the Resource resource. + // + // ResourceId is a required field ResourceId *string `location:"uri" locationName:"resource_id" type:"string" required:"true"` // The RestApi identifier for the Resource resource. + // + // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` } @@ -10094,6 +10430,8 @@ type UpdateRestApiInput struct { PatchOperations []*PatchOperation `locationName:"patchOperations" type:"list"` // The ID of the RestApi you want to update. + // + // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` } @@ -10130,9 +10468,13 @@ type UpdateStageInput struct { // The identifier of the RestApi resource for the Stage resource to change information // about. + // + // RestApiId is a required field RestApiId *string `location:"uri" locationName:"restapi_id" type:"string" required:"true"` // The name of the Stage resource to change information about. + // + // StageName is a required field StageName *string `location:"uri" locationName:"stage_name" type:"string" required:"true"` } @@ -10169,6 +10511,8 @@ type UpdateUsageInput struct { // The identifier of the API key associated with the usage plan in which a temporary // extension is granted to the remaining quota. + // + // KeyId is a required field KeyId *string `location:"uri" locationName:"keyId" type:"string" required:"true"` // A list of update operations to be applied to the specified resource and in @@ -10176,6 +10520,8 @@ type UpdateUsageInput struct { PatchOperations []*PatchOperation `locationName:"patchOperations" type:"list"` // The Id of the usage plan associated with the usage data. + // + // UsagePlanId is a required field UsagePlanId *string `location:"uri" locationName:"usageplanId" type:"string" required:"true"` } @@ -10214,6 +10560,8 @@ type UpdateUsagePlanInput struct { PatchOperations []*PatchOperation `locationName:"patchOperations" type:"list"` // The Id of the to-be-updated usage plan. + // + // UsagePlanId is a required field UsagePlanId *string `location:"uri" locationName:"usageplanId" type:"string" required:"true"` } @@ -10349,49 +10697,61 @@ func (s UsagePlanKey) GoString() string { } const ( - // @enum ApiKeysFormat + // ApiKeysFormatCsv is a ApiKeysFormat enum value ApiKeysFormatCsv = "csv" ) // The authorizer type. the only current value is TOKEN. const ( - // @enum AuthorizerType + // AuthorizerTypeToken is a AuthorizerType enum value AuthorizerTypeToken = "TOKEN" - // @enum AuthorizerType + + // AuthorizerTypeCognitoUserPools is a AuthorizerType enum value AuthorizerTypeCognitoUserPools = "COGNITO_USER_POOLS" ) // Returns the size of the CacheCluster. const ( - // @enum CacheClusterSize + // CacheClusterSize05 is a CacheClusterSize enum value CacheClusterSize05 = "0.5" - // @enum CacheClusterSize + + // CacheClusterSize16 is a CacheClusterSize enum value CacheClusterSize16 = "1.6" - // @enum CacheClusterSize + + // CacheClusterSize61 is a CacheClusterSize enum value CacheClusterSize61 = "6.1" - // @enum CacheClusterSize + + // CacheClusterSize135 is a CacheClusterSize enum value CacheClusterSize135 = "13.5" - // @enum CacheClusterSize + + // CacheClusterSize284 is a CacheClusterSize enum value CacheClusterSize284 = "28.4" - // @enum CacheClusterSize + + // CacheClusterSize582 is a CacheClusterSize enum value CacheClusterSize582 = "58.2" - // @enum CacheClusterSize + + // CacheClusterSize118 is a CacheClusterSize enum value CacheClusterSize118 = "118" - // @enum CacheClusterSize + + // CacheClusterSize237 is a CacheClusterSize enum value CacheClusterSize237 = "237" ) // Returns the status of the CacheCluster. const ( - // @enum CacheClusterStatus + // CacheClusterStatusCreateInProgress is a CacheClusterStatus enum value CacheClusterStatusCreateInProgress = "CREATE_IN_PROGRESS" - // @enum CacheClusterStatus + + // CacheClusterStatusAvailable is a CacheClusterStatus enum value CacheClusterStatusAvailable = "AVAILABLE" - // @enum CacheClusterStatus + + // CacheClusterStatusDeleteInProgress is a CacheClusterStatus enum value CacheClusterStatusDeleteInProgress = "DELETE_IN_PROGRESS" - // @enum CacheClusterStatus + + // CacheClusterStatusNotAvailable is a CacheClusterStatus enum value CacheClusterStatusNotAvailable = "NOT_AVAILABLE" - // @enum CacheClusterStatus + + // CacheClusterStatusFlushInProgress is a CacheClusterStatus enum value CacheClusterStatusFlushInProgress = "FLUSH_IN_PROGRESS" ) @@ -10400,54 +10760,68 @@ const ( // invoking the back end, HTTP_PROXY for integrating with the HTTP proxy integration, // or AWS_PROXY for integrating with the Lambda proxy integration type. const ( - // @enum IntegrationType + // IntegrationTypeHttp is a IntegrationType enum value IntegrationTypeHttp = "HTTP" - // @enum IntegrationType + + // IntegrationTypeAws is a IntegrationType enum value IntegrationTypeAws = "AWS" - // @enum IntegrationType + + // IntegrationTypeMock is a IntegrationType enum value IntegrationTypeMock = "MOCK" - // @enum IntegrationType + + // IntegrationTypeHttpProxy is a IntegrationType enum value IntegrationTypeHttpProxy = "HTTP_PROXY" - // @enum IntegrationType + + // IntegrationTypeAwsProxy is a IntegrationType enum value IntegrationTypeAwsProxy = "AWS_PROXY" ) const ( - // @enum Op + // OpAdd is a Op enum value OpAdd = "add" - // @enum Op + + // OpRemove is a Op enum value OpRemove = "remove" - // @enum Op + + // OpReplace is a Op enum value OpReplace = "replace" - // @enum Op + + // OpMove is a Op enum value OpMove = "move" - // @enum Op + + // OpCopy is a Op enum value OpCopy = "copy" - // @enum Op + + // OpTest is a Op enum value OpTest = "test" ) const ( - // @enum PutMode + // PutModeMerge is a PutMode enum value PutModeMerge = "merge" - // @enum PutMode + + // PutModeOverwrite is a PutMode enum value PutModeOverwrite = "overwrite" ) const ( - // @enum QuotaPeriodType + // QuotaPeriodTypeDay is a QuotaPeriodType enum value QuotaPeriodTypeDay = "DAY" - // @enum QuotaPeriodType + + // QuotaPeriodTypeWeek is a QuotaPeriodType enum value QuotaPeriodTypeWeek = "WEEK" - // @enum QuotaPeriodType + + // QuotaPeriodTypeMonth is a QuotaPeriodType enum value QuotaPeriodTypeMonth = "MONTH" ) const ( - // @enum UnauthorizedCacheControlHeaderStrategy + // UnauthorizedCacheControlHeaderStrategyFailWith403 is a UnauthorizedCacheControlHeaderStrategy enum value UnauthorizedCacheControlHeaderStrategyFailWith403 = "FAIL_WITH_403" - // @enum UnauthorizedCacheControlHeaderStrategy + + // UnauthorizedCacheControlHeaderStrategySucceedWithResponseHeader is a UnauthorizedCacheControlHeaderStrategy enum value UnauthorizedCacheControlHeaderStrategySucceedWithResponseHeader = "SUCCEED_WITH_RESPONSE_HEADER" - // @enum UnauthorizedCacheControlHeaderStrategy + + // UnauthorizedCacheControlHeaderStrategySucceedWithoutResponseHeader is a UnauthorizedCacheControlHeaderStrategy enum value UnauthorizedCacheControlHeaderStrategySucceedWithoutResponseHeader = "SUCCEED_WITHOUT_RESPONSE_HEADER" ) diff --git a/service/applicationautoscaling/api.go b/service/applicationautoscaling/api.go index e606a1fd619..abdfcaddbad 100644 --- a/service/applicationautoscaling/api.go +++ b/service/applicationautoscaling/api.go @@ -503,9 +503,13 @@ type Alarm struct { _ struct{} `type:"structure"` // The Amazon Resource Name (ARN) of the alarm. + // + // AlarmARN is a required field AlarmARN *string `type:"string" required:"true"` // The name of the alarm. + // + // AlarmName is a required field AlarmName *string `type:"string" required:"true"` } @@ -523,6 +527,8 @@ type DeleteScalingPolicyInput struct { _ struct{} `type:"structure"` // The name of the scaling policy to delete. + // + // PolicyName is a required field PolicyName *string `min:"1" type:"string" required:"true"` // The resource type and unique identifier string for the resource associated @@ -530,6 +536,8 @@ type DeleteScalingPolicyInput struct { // and the identifier is the cluster name and service name; for example, service/default/sample-webapp. // For Amazon EC2 Spot fleet requests, the resource type is spot-fleet-request, // and the identifier is the Spot fleet request ID; for example, spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. + // + // ResourceId is a required field ResourceId *string `min:"1" type:"string" required:"true"` // The scalable dimension associated with the scaling policy. The scalable dimension @@ -537,11 +545,15 @@ type DeleteScalingPolicyInput struct { // as ecs:service:DesiredCount for the desired task count of an Amazon ECS service, // or ec2:spot-fleet-request:TargetCapacity for the target capacity of an Amazon // EC2 Spot fleet request. + // + // ScalableDimension is a required field ScalableDimension *string `type:"string" required:"true" enum:"ScalableDimension"` // The namespace for the AWS service that the scaling policy is associated with. // For more information, see AWS Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces) // in the Amazon Web Services General Reference. + // + // ServiceNamespace is a required field ServiceNamespace *string `type:"string" required:"true" enum:"ServiceNamespace"` } @@ -605,6 +617,8 @@ type DeregisterScalableTargetInput struct { // and the identifier is the cluster name and service name; for example, service/default/sample-webapp. // For Amazon EC2 Spot fleet requests, the resource type is spot-fleet-request, // and the identifier is the Spot fleet request ID; for example, spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. + // + // ResourceId is a required field ResourceId *string `min:"1" type:"string" required:"true"` // The scalable dimension associated with the scalable target. The scalable @@ -612,11 +626,15 @@ type DeregisterScalableTargetInput struct { // such as ecs:service:DesiredCount for the desired task count of an Amazon // ECS service, or ec2:spot-fleet-request:TargetCapacity for the target capacity // of an Amazon EC2 Spot fleet request. + // + // ScalableDimension is a required field ScalableDimension *string `type:"string" required:"true" enum:"ScalableDimension"` // The namespace for the AWS service that the scalable target is associated // with. For more information, see AWS Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces) // in the Amazon Web Services General Reference. + // + // ServiceNamespace is a required field ServiceNamespace *string `type:"string" required:"true" enum:"ServiceNamespace"` } @@ -704,6 +722,8 @@ type DescribeScalableTargetsInput struct { // The namespace for the AWS service that the scalable target is associated // with. For more information, see AWS Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces) // in the Amazon Web Services General Reference. + // + // ServiceNamespace is a required field ServiceNamespace *string `type:"string" required:"true" enum:"ServiceNamespace"` } @@ -792,6 +812,8 @@ type DescribeScalingActivitiesInput struct { // The namespace for the AWS service that the scaling activity is associated // with. For more information, see AWS Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces) // in the Amazon Web Services General Reference. + // + // ServiceNamespace is a required field ServiceNamespace *string `type:"string" required:"true" enum:"ServiceNamespace"` } @@ -886,6 +908,8 @@ type DescribeScalingPoliciesInput struct { // The AWS service namespace of the scalable target that the scaling policy // is associated with. For more information, see AWS Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces) // in the Amazon Web Services General Reference. + // + // ServiceNamespace is a required field ServiceNamespace *string `type:"string" required:"true" enum:"ServiceNamespace"` } @@ -942,6 +966,8 @@ type PutScalingPolicyInput struct { _ struct{} `type:"structure"` // The name of the scaling policy. + // + // PolicyName is a required field PolicyName *string `min:"1" type:"string" required:"true"` // The policy type. If you are creating a new policy, this parameter is required. @@ -953,6 +979,8 @@ type PutScalingPolicyInput struct { // and the identifier is the cluster name and service name; for example, service/default/sample-webapp. // For Amazon EC2 Spot fleet requests, the resource type is spot-fleet-request, // and the identifier is the Spot fleet request ID; for example, spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. + // + // ResourceId is a required field ResourceId *string `min:"1" type:"string" required:"true"` // The scalable dimension of the scalable target that this scaling policy applies @@ -960,11 +988,15 @@ type PutScalingPolicyInput struct { // and scaling property, such as ecs:service:DesiredCount for the desired task // count of an Amazon ECS service, or ec2:spot-fleet-request:TargetCapacity // for the target capacity of an Amazon EC2 Spot fleet request. + // + // ScalableDimension is a required field ScalableDimension *string `type:"string" required:"true" enum:"ScalableDimension"` // The AWS service namespace of the scalable target that this scaling policy // applies to. For more information, see AWS Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces) // in the Amazon Web Services General Reference. + // + // ServiceNamespace is a required field ServiceNamespace *string `type:"string" required:"true" enum:"ServiceNamespace"` // The configuration for the step scaling policy. If you are creating a new @@ -1021,6 +1053,8 @@ type PutScalingPolicyOutput struct { _ struct{} `type:"structure"` // The Amazon Resource Name (ARN) of the resulting scaling policy. + // + // PolicyARN is a required field PolicyARN *string `min:"1" type:"string" required:"true"` } @@ -1052,6 +1086,8 @@ type RegisterScalableTargetInput struct { // and the identifier is the cluster name and service name; for example, service/default/sample-webapp. // For Amazon EC2 Spot fleet requests, the resource type is spot-fleet-request, // and the identifier is the Spot fleet request ID; for example, spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. + // + // ResourceId is a required field ResourceId *string `min:"1" type:"string" required:"true"` // The ARN of the IAM role that allows Application Auto Scaling to modify your @@ -1065,12 +1101,16 @@ type RegisterScalableTargetInput struct { // such as ecs:service:DesiredCount for the desired task count of an Amazon // ECS service, or ec2:spot-fleet-request:TargetCapacity for the target capacity // of an Amazon EC2 Spot fleet request. + // + // ScalableDimension is a required field ScalableDimension *string `type:"string" required:"true" enum:"ScalableDimension"` // The namespace for the AWS service that the scalable target is associated // with. For Amazon ECS services, the namespace value is ecs. For more information, // see AWS Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces) // in the Amazon Web Services General Reference. + // + // ServiceNamespace is a required field ServiceNamespace *string `type:"string" required:"true" enum:"ServiceNamespace"` } @@ -1128,14 +1168,20 @@ type ScalableTarget struct { _ struct{} `type:"structure"` // The Unix timestamp for when the scalable target was created. + // + // CreationTime is a required field CreationTime *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"` // The maximum value for this scalable target to scale out to in response to // scaling activities. + // + // MaxCapacity is a required field MaxCapacity *int64 `type:"integer" required:"true"` // The minimum value for this scalable target to scale in to in response to // scaling activities. + // + // MinCapacity is a required field MinCapacity *int64 `type:"integer" required:"true"` // The resource type and unique identifier string for the resource associated @@ -1143,10 +1189,14 @@ type ScalableTarget struct { // and the identifier is the cluster name and service name; for example, service/default/sample-webapp. // For Amazon EC2 Spot fleet requests, the resource type is spot-fleet-request, // and the identifier is the Spot fleet request ID; for example, spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. + // + // ResourceId is a required field ResourceId *string `min:"1" type:"string" required:"true"` // The ARN of the IAM role that allows Application Auto Scaling to modify your // scalable target on your behalf. + // + // RoleARN is a required field RoleARN *string `min:"1" type:"string" required:"true"` // The scalable dimension associated with the scalable target. The scalable @@ -1154,11 +1204,15 @@ type ScalableTarget struct { // such as ecs:service:DesiredCount for the desired task count of an Amazon // ECS service, or ec2:spot-fleet-request:TargetCapacity for the target capacity // of an Amazon EC2 Spot fleet request. + // + // ScalableDimension is a required field ScalableDimension *string `type:"string" required:"true" enum:"ScalableDimension"` // The namespace for the AWS service that the scalable target is associated // with. For more information, see AWS Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces) // in the Amazon Web Services General Reference. + // + // ServiceNamespace is a required field ServiceNamespace *string `type:"string" required:"true" enum:"ServiceNamespace"` } @@ -1177,12 +1231,18 @@ type ScalingActivity struct { _ struct{} `type:"structure"` // The unique identifier string for the scaling activity. + // + // ActivityId is a required field ActivityId *string `type:"string" required:"true"` // A simple description of what caused the scaling activity to happen. + // + // Cause is a required field Cause *string `type:"string" required:"true"` // A simple description of what action the scaling activity intends to accomplish. + // + // Description is a required field Description *string `type:"string" required:"true"` // The details about the scaling activity. @@ -1197,6 +1257,8 @@ type ScalingActivity struct { // service/default/sample-webapp. For Amazon EC2 Spot fleet requests, the resource // type is spot-fleet-request, and the identifier is the Spot fleet request // ID; for example, spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. + // + // ResourceId is a required field ResourceId *string `min:"1" type:"string" required:"true"` // The scalable dimension associated with the scaling activity. The scalable @@ -1204,17 +1266,25 @@ type ScalingActivity struct { // such as ecs:service:DesiredCount for the desired task count of an Amazon // ECS service, or ec2:spot-fleet-request:TargetCapacity for the target capacity // of an Amazon EC2 Spot fleet request. + // + // ScalableDimension is a required field ScalableDimension *string `type:"string" required:"true" enum:"ScalableDimension"` // The namespace for the AWS service that the scaling activity is associated // with. For more information, see AWS Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces) // in the Amazon Web Services General Reference. + // + // ServiceNamespace is a required field ServiceNamespace *string `type:"string" required:"true" enum:"ServiceNamespace"` // The Unix timestamp for when the scaling activity began. + // + // StartTime is a required field StartTime *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"` // Indicates the status of the scaling activity. + // + // StatusCode is a required field StatusCode *string `type:"string" required:"true" enum:"ScalingActivityStatusCode"` // A simple message about the current status of the scaling activity. @@ -1239,15 +1309,23 @@ type ScalingPolicy struct { Alarms []*Alarm `type:"list"` // The Unix timestamp for when the scaling policy was created. + // + // CreationTime is a required field CreationTime *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"` // The Amazon Resource Name (ARN) of the scaling policy. + // + // PolicyARN is a required field PolicyARN *string `min:"1" type:"string" required:"true"` // The name of the scaling policy. + // + // PolicyName is a required field PolicyName *string `min:"1" type:"string" required:"true"` // The scaling policy type. + // + // PolicyType is a required field PolicyType *string `type:"string" required:"true" enum:"PolicyType"` // The resource type and unique identifier string for the resource associated @@ -1255,6 +1333,8 @@ type ScalingPolicy struct { // and the identifier is the cluster name and service name; for example, service/default/sample-webapp. // For Amazon EC2 Spot fleet requests, the resource type is spot-fleet-request, // and the identifier is the Spot fleet request ID; for example, spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. + // + // ResourceId is a required field ResourceId *string `min:"1" type:"string" required:"true"` // The scalable dimension associated with the scaling policy. The scalable dimension @@ -1262,11 +1342,15 @@ type ScalingPolicy struct { // as ecs:service:DesiredCount for the desired task count of an Amazon ECS service, // or ec2:spot-fleet-request:TargetCapacity for the target capacity of an Amazon // EC2 Spot fleet request. + // + // ScalableDimension is a required field ScalableDimension *string `type:"string" required:"true" enum:"ScalableDimension"` // The namespace for the AWS service that the scaling policy is associated with. // For more information, see AWS Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces) // in the Amazon Web Services General Reference. + // + // ServiceNamespace is a required field ServiceNamespace *string `type:"string" required:"true" enum:"ServiceNamespace"` // The configuration for the step scaling policy. @@ -1335,6 +1419,8 @@ type StepAdjustment struct { // The amount by which to scale, based on the specified adjustment type. A positive // value adds to the current scalable dimension while a negative number removes // from the current scalable dimension. + // + // ScalingAdjustment is a required field ScalingAdjustment *int64 `type:"integer" required:"true"` } @@ -1437,53 +1523,64 @@ func (s *StepScalingPolicyConfiguration) Validate() error { } const ( - // @enum AdjustmentType + // AdjustmentTypeChangeInCapacity is a AdjustmentType enum value AdjustmentTypeChangeInCapacity = "ChangeInCapacity" - // @enum AdjustmentType + + // AdjustmentTypePercentChangeInCapacity is a AdjustmentType enum value AdjustmentTypePercentChangeInCapacity = "PercentChangeInCapacity" - // @enum AdjustmentType + + // AdjustmentTypeExactCapacity is a AdjustmentType enum value AdjustmentTypeExactCapacity = "ExactCapacity" ) const ( - // @enum MetricAggregationType + // MetricAggregationTypeAverage is a MetricAggregationType enum value MetricAggregationTypeAverage = "Average" - // @enum MetricAggregationType + + // MetricAggregationTypeMinimum is a MetricAggregationType enum value MetricAggregationTypeMinimum = "Minimum" - // @enum MetricAggregationType + + // MetricAggregationTypeMaximum is a MetricAggregationType enum value MetricAggregationTypeMaximum = "Maximum" ) const ( - // @enum PolicyType + // PolicyTypeStepScaling is a PolicyType enum value PolicyTypeStepScaling = "StepScaling" ) const ( - // @enum ScalableDimension + // ScalableDimensionEcsServiceDesiredCount is a ScalableDimension enum value ScalableDimensionEcsServiceDesiredCount = "ecs:service:DesiredCount" - // @enum ScalableDimension + + // ScalableDimensionEc2SpotFleetRequestTargetCapacity is a ScalableDimension enum value ScalableDimensionEc2SpotFleetRequestTargetCapacity = "ec2:spot-fleet-request:TargetCapacity" ) const ( - // @enum ScalingActivityStatusCode + // ScalingActivityStatusCodePending is a ScalingActivityStatusCode enum value ScalingActivityStatusCodePending = "Pending" - // @enum ScalingActivityStatusCode + + // ScalingActivityStatusCodeInProgress is a ScalingActivityStatusCode enum value ScalingActivityStatusCodeInProgress = "InProgress" - // @enum ScalingActivityStatusCode + + // ScalingActivityStatusCodeSuccessful is a ScalingActivityStatusCode enum value ScalingActivityStatusCodeSuccessful = "Successful" - // @enum ScalingActivityStatusCode + + // ScalingActivityStatusCodeOverridden is a ScalingActivityStatusCode enum value ScalingActivityStatusCodeOverridden = "Overridden" - // @enum ScalingActivityStatusCode + + // ScalingActivityStatusCodeUnfulfilled is a ScalingActivityStatusCode enum value ScalingActivityStatusCodeUnfulfilled = "Unfulfilled" - // @enum ScalingActivityStatusCode + + // ScalingActivityStatusCodeFailed is a ScalingActivityStatusCode enum value ScalingActivityStatusCodeFailed = "Failed" ) const ( - // @enum ServiceNamespace + // ServiceNamespaceEcs is a ServiceNamespace enum value ServiceNamespaceEcs = "ecs" - // @enum ServiceNamespace + + // ServiceNamespaceEc2 is a ServiceNamespace enum value ServiceNamespaceEc2 = "ec2" ) diff --git a/service/applicationdiscoveryservice/api.go b/service/applicationdiscoveryservice/api.go index dd8755b57d9..92d61bb325e 100644 --- a/service/applicationdiscoveryservice/api.go +++ b/service/applicationdiscoveryservice/api.go @@ -628,12 +628,16 @@ type CreateTagsInput struct { _ struct{} `type:"structure"` // A list of configuration items that you want to tag. + // + // ConfigurationIds is a required field ConfigurationIds []*string `locationName:"configurationIds" type:"list" required:"true"` // Tags that you want to associate with one or more configuration items. Specify // the tags that you want to create in a key-value format. For example: // // {"key": "serverType", "value": "webServer"} + // + // Tags is a required field Tags []*Tag `locationName:"tags" locationNameList:"item" type:"list" required:"true"` } @@ -691,6 +695,8 @@ type DeleteTagsInput struct { _ struct{} `type:"structure"` // A list of configuration items with tags that you want to delete. + // + // ConfigurationIds is a required field ConfigurationIds []*string `locationName:"configurationIds" type:"list" required:"true"` // Tags that you want to delete from one or more configuration items. Specify @@ -799,6 +805,8 @@ type DescribeConfigurationsInput struct { _ struct{} `type:"structure"` // One or more configuration IDs. + // + // ConfigurationIds is a required field ConfigurationIds []*string `locationName:"configurationIds" type:"list" required:"true"` } @@ -999,17 +1007,25 @@ type ExportInfo struct { ConfigurationsDownloadUrl *string `locationName:"configurationsDownloadUrl" type:"string"` // A unique identifier that you can use to query the export. + // + // ExportId is a required field ExportId *string `locationName:"exportId" type:"string" required:"true"` // The time the configuration data export was initiated. + // + // ExportRequestTime is a required field ExportRequestTime *time.Time `locationName:"exportRequestTime" type:"timestamp" timestampFormat:"unix" required:"true"` // The status of the configuration data export. The status can succeed, fail, // or be in-progress. + // + // ExportStatus is a required field ExportStatus *string `locationName:"exportStatus" type:"string" required:"true" enum:"ExportStatus"` // Helpful status messages for API callers. For example: Too many exports in // the last 6 hours. Export in progress. Export was successful. + // + // StatusMessage is a required field StatusMessage *string `locationName:"statusMessage" type:"string" required:"true"` } @@ -1033,6 +1049,8 @@ type Filter struct { // for a particular filter, the system differentiates the values using OR. Calling // either DescribeConfigurations or ListConfigurations returns attributes of // matching configuration items. + // + // Condition is a required field Condition *string `locationName:"condition" type:"string" required:"true"` // The name of the filter. The following filter names are allowed for SERVER @@ -1107,11 +1125,15 @@ type Filter struct { // destinationServer.osVersion // // destinationServer.agentId + // + // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` // A string value that you want to filter on. For example, if you choose the // destinationServer.osVersion filter name, you could specify Ubuntu for the // value. + // + // Values is a required field Values []*string `locationName:"values" locationNameList:"item" type:"list" required:"true"` } @@ -1148,6 +1170,8 @@ type ListConfigurationsInput struct { _ struct{} `type:"structure"` // A valid configuration identified by the Discovery Service. + // + // ConfigurationType is a required field ConfigurationType *string `locationName:"configurationType" type:"string" required:"true" enum:"ConfigurationItemType"` // You can filter the list using a key-value format. For example: @@ -1228,6 +1252,8 @@ type StartDataCollectionByAgentIdsInput struct { // agents and you do not have permission to contact some of those agents, the // system does not throw an exception. Instead, the system shows Failed in the // Description field. + // + // AgentIds is a required field AgentIds []*string `locationName:"agentIds" type:"list" required:"true"` } @@ -1277,6 +1303,8 @@ type StopDataCollectionByAgentIdsInput struct { _ struct{} `type:"structure"` // The IDs of the agents that you want to stop collecting data. + // + // AgentIds is a required field AgentIds []*string `locationName:"agentIds" type:"list" required:"true"` } @@ -1327,9 +1355,13 @@ type Tag struct { _ struct{} `type:"structure"` // A type of tag to filter on. + // + // Key is a required field Key *string `locationName:"key" type:"string" required:"true"` // A value for a tag key to filter on. + // + // Value is a required field Value *string `locationName:"value" type:"string" required:"true"` } @@ -1364,9 +1396,13 @@ type TagFilter struct { _ struct{} `type:"structure"` // A name of a tag filter. + // + // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` // Values of a tag filter. + // + // Values is a required field Values []*string `locationName:"values" locationNameList:"item" type:"list" required:"true"` } @@ -1397,34 +1433,43 @@ func (s *TagFilter) Validate() error { } const ( - // @enum AgentStatus + // AgentStatusHealthy is a AgentStatus enum value AgentStatusHealthy = "HEALTHY" - // @enum AgentStatus + + // AgentStatusUnhealthy is a AgentStatus enum value AgentStatusUnhealthy = "UNHEALTHY" - // @enum AgentStatus + + // AgentStatusRunning is a AgentStatus enum value AgentStatusRunning = "RUNNING" - // @enum AgentStatus + + // AgentStatusUnknown is a AgentStatus enum value AgentStatusUnknown = "UNKNOWN" - // @enum AgentStatus + + // AgentStatusBlacklisted is a AgentStatus enum value AgentStatusBlacklisted = "BLACKLISTED" - // @enum AgentStatus + + // AgentStatusShutdown is a AgentStatus enum value AgentStatusShutdown = "SHUTDOWN" ) const ( - // @enum ConfigurationItemType + // ConfigurationItemTypeServer is a ConfigurationItemType enum value ConfigurationItemTypeServer = "SERVER" - // @enum ConfigurationItemType + + // ConfigurationItemTypeProcess is a ConfigurationItemType enum value ConfigurationItemTypeProcess = "PROCESS" - // @enum ConfigurationItemType + + // ConfigurationItemTypeConnection is a ConfigurationItemType enum value ConfigurationItemTypeConnection = "CONNECTION" ) const ( - // @enum ExportStatus + // ExportStatusFailed is a ExportStatus enum value ExportStatusFailed = "FAILED" - // @enum ExportStatus + + // ExportStatusSucceeded is a ExportStatus enum value ExportStatusSucceeded = "SUCCEEDED" - // @enum ExportStatus + + // ExportStatusInProgress is a ExportStatus enum value ExportStatusInProgress = "IN_PROGRESS" ) diff --git a/service/autoscaling/api.go b/service/autoscaling/api.go index 000db5be409..c9a225cef6b 100644 --- a/service/autoscaling/api.go +++ b/service/autoscaling/api.go @@ -3084,12 +3084,18 @@ type Activity struct { _ struct{} `type:"structure"` // The ID of the activity. + // + // ActivityId is a required field ActivityId *string `type:"string" required:"true"` // The name of the Auto Scaling group. + // + // AutoScalingGroupName is a required field AutoScalingGroupName *string `min:"1" type:"string" required:"true"` // The reason the activity began. + // + // Cause is a required field Cause *string `min:"1" type:"string" required:"true"` // A friendly, more verbose description of the activity. @@ -3105,9 +3111,13 @@ type Activity struct { Progress *int64 `type:"integer"` // The start time of the activity. + // + // StartTime is a required field StartTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"` // The current status of the activity. + // + // StatusCode is a required field StatusCode *string `type:"string" required:"true" enum:"ScalingActivityStatusCode"` // A friendly, more verbose description of the activity status. @@ -3172,6 +3182,8 @@ type AttachInstancesInput struct { _ struct{} `type:"structure"` // The name of the group. + // + // AutoScalingGroupName is a required field AutoScalingGroupName *string `min:"1" type:"string" required:"true"` // One or more instance IDs. @@ -3223,9 +3235,13 @@ type AttachLoadBalancerTargetGroupsInput struct { _ struct{} `type:"structure"` // The name of the Auto Scaling group. + // + // AutoScalingGroupName is a required field AutoScalingGroupName *string `min:"1" type:"string" required:"true"` // The Amazon Resource Names (ARN) of the target groups. + // + // TargetGroupARNs is a required field TargetGroupARNs []*string `type:"list" required:"true"` } @@ -3277,9 +3293,13 @@ type AttachLoadBalancersInput struct { _ struct{} `type:"structure"` // The name of the group. + // + // AutoScalingGroupName is a required field AutoScalingGroupName *string `min:"1" type:"string" required:"true"` // One or more load balancer names. + // + // LoadBalancerNames is a required field LoadBalancerNames []*string `type:"list" required:"true"` } @@ -3332,6 +3352,8 @@ type BlockDeviceMapping struct { _ struct{} `type:"structure"` // The device name exposed to the EC2 instance (for example, /dev/sdh or xvdh). + // + // DeviceName is a required field DeviceName *string `min:"1" type:"string" required:"true"` // The information about the Amazon EBS volume. @@ -3387,6 +3409,8 @@ type CompleteLifecycleActionInput struct { _ struct{} `type:"structure"` // The name of the group for the lifecycle hook. + // + // AutoScalingGroupName is a required field AutoScalingGroupName *string `min:"1" type:"string" required:"true"` // The ID of the instance. @@ -3394,6 +3418,8 @@ type CompleteLifecycleActionInput struct { // The action for the group to take. This parameter can be either CONTINUE or // ABANDON. + // + // LifecycleActionResult is a required field LifecycleActionResult *string `type:"string" required:"true"` // A universally unique identifier (UUID) that identifies a specific lifecycle @@ -3402,6 +3428,8 @@ type CompleteLifecycleActionInput struct { LifecycleActionToken *string `min:"36" type:"string"` // The name of the lifecycle hook. + // + // LifecycleHookName is a required field LifecycleHookName *string `min:"1" type:"string" required:"true"` } @@ -3467,6 +3495,8 @@ type CreateAutoScalingGroupInput struct { // The name of the group. This name must be unique within the scope of your // AWS account. + // + // AutoScalingGroupName is a required field AutoScalingGroupName *string `min:"1" type:"string" required:"true"` // One or more Availability Zones for the group. This parameter is optional @@ -3529,9 +3559,13 @@ type CreateAutoScalingGroupInput struct { LoadBalancerNames []*string `type:"list"` // The maximum size of the group. + // + // MaxSize is a required field MaxSize *int64 `type:"integer" required:"true"` // The minimum size of the group. + // + // MinSize is a required field MinSize *int64 `type:"integer" required:"true"` // Indicates whether newly launched instances are protected from termination @@ -3737,6 +3771,8 @@ type CreateLaunchConfigurationInput struct { // The name of the launch configuration. This name must be unique within the // scope of your AWS account. + // + // LaunchConfigurationName is a required field LaunchConfigurationName *string `min:"1" type:"string" required:"true"` // The tenancy of the instance. An instance with a tenancy of dedicated runs @@ -3868,6 +3904,8 @@ type CreateOrUpdateTagsInput struct { _ struct{} `type:"structure"` // One or more tags. + // + // Tags is a required field Tags []*Tag `type:"list" required:"true"` } @@ -3923,6 +3961,8 @@ type DeleteAutoScalingGroupInput struct { _ struct{} `type:"structure"` // The name of the group to delete. + // + // AutoScalingGroupName is a required field AutoScalingGroupName *string `min:"1" type:"string" required:"true"` // Specifies that the group will be deleted along with all instances associated @@ -3976,6 +4016,8 @@ type DeleteLaunchConfigurationInput struct { _ struct{} `type:"structure"` // The name of the launch configuration. + // + // LaunchConfigurationName is a required field LaunchConfigurationName *string `min:"1" type:"string" required:"true"` } @@ -4024,9 +4066,13 @@ type DeleteLifecycleHookInput struct { _ struct{} `type:"structure"` // The name of the Auto Scaling group for the lifecycle hook. + // + // AutoScalingGroupName is a required field AutoScalingGroupName *string `min:"1" type:"string" required:"true"` // The name of the lifecycle hook. + // + // LifecycleHookName is a required field LifecycleHookName *string `min:"1" type:"string" required:"true"` } @@ -4082,10 +4128,14 @@ type DeleteNotificationConfigurationInput struct { _ struct{} `type:"structure"` // The name of the Auto Scaling group. + // + // AutoScalingGroupName is a required field AutoScalingGroupName *string `min:"1" type:"string" required:"true"` // The Amazon Resource Name (ARN) of the Amazon Simple Notification Service // (SNS) topic. + // + // TopicARN is a required field TopicARN *string `min:"1" type:"string" required:"true"` } @@ -4143,6 +4193,8 @@ type DeletePolicyInput struct { AutoScalingGroupName *string `min:"1" type:"string"` // The name or Amazon Resource Name (ARN) of the policy. + // + // PolicyName is a required field PolicyName *string `min:"1" type:"string" required:"true"` } @@ -4194,9 +4246,13 @@ type DeleteScheduledActionInput struct { _ struct{} `type:"structure"` // The name of the Auto Scaling group. + // + // AutoScalingGroupName is a required field AutoScalingGroupName *string `min:"1" type:"string" required:"true"` // The name of the action to delete. + // + // ScheduledActionName is a required field ScheduledActionName *string `min:"1" type:"string" required:"true"` } @@ -4251,6 +4307,8 @@ type DeleteTagsInput struct { _ struct{} `type:"structure"` // One or more tags. + // + // Tags is a required field Tags []*Tag `type:"list" required:"true"` } @@ -4407,6 +4465,8 @@ type DescribeAutoScalingGroupsOutput struct { _ struct{} `type:"structure"` // The groups. + // + // AutoScalingGroups is a required field AutoScalingGroups []*Group `type:"list" required:"true"` // The token to use when requesting the next set of items. If there are no additional @@ -4536,6 +4596,8 @@ type DescribeLaunchConfigurationsOutput struct { _ struct{} `type:"structure"` // The launch configurations. + // + // LaunchConfigurations is a required field LaunchConfigurations []*LaunchConfiguration `type:"list" required:"true"` // The token to use when requesting the next set of items. If there are no additional @@ -4590,6 +4652,8 @@ type DescribeLifecycleHooksInput struct { _ struct{} `type:"structure"` // The name of the group. + // + // AutoScalingGroupName is a required field AutoScalingGroupName *string `min:"1" type:"string" required:"true"` // The names of one or more lifecycle hooks. If you omit this parameter, all @@ -4646,6 +4710,8 @@ type DescribeLoadBalancerTargetGroupsInput struct { _ struct{} `type:"structure"` // The name of the Auto Scaling group. + // + // AutoScalingGroupName is a required field AutoScalingGroupName *string `min:"1" type:"string" required:"true"` // The maximum number of items to return with this call. @@ -4709,6 +4775,8 @@ type DescribeLoadBalancersInput struct { _ struct{} `type:"structure"` // The name of the group. + // + // AutoScalingGroupName is a required field AutoScalingGroupName *string `min:"1" type:"string" required:"true"` // The maximum number of items to return with this call. @@ -4836,6 +4904,8 @@ type DescribeNotificationConfigurationsOutput struct { NextToken *string `type:"string"` // The notification configurations. + // + // NotificationConfigurations is a required field NotificationConfigurations []*NotificationConfiguration `type:"list" required:"true"` } @@ -4969,6 +5039,8 @@ type DescribeScalingActivitiesOutput struct { // The scaling activities. Activities are sorted by start time. Activities still // in progress are described first. + // + // Activities is a required field Activities []*Activity `type:"list" required:"true"` // The token to use when requesting the next set of items. If there are no additional @@ -5180,6 +5252,8 @@ type DetachInstancesInput struct { _ struct{} `type:"structure"` // The name of the group. + // + // AutoScalingGroupName is a required field AutoScalingGroupName *string `min:"1" type:"string" required:"true"` // One or more instance IDs. @@ -5187,6 +5261,8 @@ type DetachInstancesInput struct { // If True, the Auto Scaling group decrements the desired capacity value by // the number of instances detached. + // + // ShouldDecrementDesiredCapacity is a required field ShouldDecrementDesiredCapacity *bool `type:"boolean" required:"true"` } @@ -5241,9 +5317,13 @@ type DetachLoadBalancerTargetGroupsInput struct { _ struct{} `type:"structure"` // The name of the Auto Scaling group. + // + // AutoScalingGroupName is a required field AutoScalingGroupName *string `min:"1" type:"string" required:"true"` // The Amazon Resource Names (ARN) of the target groups. + // + // TargetGroupARNs is a required field TargetGroupARNs []*string `type:"list" required:"true"` } @@ -5295,9 +5375,13 @@ type DetachLoadBalancersInput struct { _ struct{} `type:"structure"` // The name of the Auto Scaling group. + // + // AutoScalingGroupName is a required field AutoScalingGroupName *string `min:"1" type:"string" required:"true"` // One or more load balancer names. + // + // LoadBalancerNames is a required field LoadBalancerNames []*string `type:"list" required:"true"` } @@ -5350,6 +5434,8 @@ type DisableMetricsCollectionInput struct { _ struct{} `type:"structure"` // The name or Amazon Resource Name (ARN) of the group. + // + // AutoScalingGroupName is a required field AutoScalingGroupName *string `min:"1" type:"string" required:"true"` // One or more of the following metrics. If you omit this parameter, all metrics @@ -5494,10 +5580,14 @@ type EnableMetricsCollectionInput struct { _ struct{} `type:"structure"` // The name or ARN of the Auto Scaling group. + // + // AutoScalingGroupName is a required field AutoScalingGroupName *string `min:"1" type:"string" required:"true"` // The granularity to associate with the metrics to collect. The only valid // value is 1Minute. + // + // Granularity is a required field Granularity *string `min:"1" type:"string" required:"true"` // One or more of the following metrics. If you omit this parameter, all metrics @@ -5609,6 +5699,8 @@ type EnterStandbyInput struct { _ struct{} `type:"structure"` // The name of the Auto Scaling group. + // + // AutoScalingGroupName is a required field AutoScalingGroupName *string `min:"1" type:"string" required:"true"` // One or more instances to move into Standby mode. You must specify at least @@ -5619,6 +5711,8 @@ type EnterStandbyInput struct { // Auto Scaling group's desired capacity. If set, the desired capacity for the // Auto Scaling group decrements by the number of instances moved to Standby // mode. + // + // ShouldDecrementDesiredCapacity is a required field ShouldDecrementDesiredCapacity *bool `type:"boolean" required:"true"` } @@ -5706,6 +5800,8 @@ type ExecutePolicyInput struct { MetricValue *float64 `type:"double"` // The name or ARN of the policy. + // + // PolicyName is a required field PolicyName *string `min:"1" type:"string" required:"true"` } @@ -5757,6 +5853,8 @@ type ExitStandbyInput struct { _ struct{} `type:"structure"` // The name of the Auto Scaling group. + // + // AutoScalingGroupName is a required field AutoScalingGroupName *string `min:"1" type:"string" required:"true"` // One or more instance IDs. You must specify at least one instance ID. @@ -5837,19 +5935,29 @@ type Group struct { AutoScalingGroupARN *string `min:"1" type:"string"` // The name of the group. + // + // AutoScalingGroupName is a required field AutoScalingGroupName *string `min:"1" type:"string" required:"true"` // One or more Availability Zones for the group. + // + // AvailabilityZones is a required field AvailabilityZones []*string `min:"1" type:"list" required:"true"` // The date and time the group was created. + // + // CreatedTime is a required field CreatedTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"` // The amount of time, in seconds, after a scaling activity completes before // another scaling activity can start. + // + // DefaultCooldown is a required field DefaultCooldown *int64 `type:"integer" required:"true"` // The desired size of the group. + // + // DesiredCapacity is a required field DesiredCapacity *int64 `type:"integer" required:"true"` // The metrics enabled for the group. @@ -5860,6 +5968,8 @@ type Group struct { HealthCheckGracePeriod *int64 `type:"integer"` // The service to use for the health checks. The valid values are EC2 and ELB. + // + // HealthCheckType is a required field HealthCheckType *string `min:"1" type:"string" required:"true"` // The EC2 instances associated with the group. @@ -5872,9 +5982,13 @@ type Group struct { LoadBalancerNames []*string `type:"list"` // The maximum size of the group. + // + // MaxSize is a required field MaxSize *int64 `type:"integer" required:"true"` // The minimum size of the group. + // + // MinSize is a required field MinSize *int64 `type:"integer" required:"true"` // Indicates whether newly launched instances are protected from termination @@ -5923,25 +6037,37 @@ type Instance struct { _ struct{} `type:"structure"` // The Availability Zone in which the instance is running. + // + // AvailabilityZone is a required field AvailabilityZone *string `min:"1" type:"string" required:"true"` // The last reported health status of the instance. "Healthy" means that the // instance is healthy and should remain in service. "Unhealthy" means that // the instance is unhealthy and Auto Scaling should terminate and replace it. + // + // HealthStatus is a required field HealthStatus *string `min:"1" type:"string" required:"true"` // The ID of the instance. + // + // InstanceId is a required field InstanceId *string `min:"1" type:"string" required:"true"` // The launch configuration associated with the instance. + // + // LaunchConfigurationName is a required field LaunchConfigurationName *string `min:"1" type:"string" required:"true"` // A description of the current lifecycle state. Note that the Quarantined state // is not used. + // + // LifecycleState is a required field LifecycleState *string `type:"string" required:"true" enum:"LifecycleState"` // Indicates whether the instance is protected from termination by Auto Scaling // when scaling in. + // + // ProtectedFromScaleIn is a required field ProtectedFromScaleIn *bool `type:"boolean" required:"true"` } @@ -5960,29 +6086,43 @@ type InstanceDetails struct { _ struct{} `type:"structure"` // The name of the Auto Scaling group associated with the instance. + // + // AutoScalingGroupName is a required field AutoScalingGroupName *string `min:"1" type:"string" required:"true"` // The Availability Zone for the instance. + // + // AvailabilityZone is a required field AvailabilityZone *string `min:"1" type:"string" required:"true"` // The last reported health status of this instance. "Healthy" means that the // instance is healthy and should remain in service. "Unhealthy" means that // the instance is unhealthy and Auto Scaling should terminate and replace it. + // + // HealthStatus is a required field HealthStatus *string `min:"1" type:"string" required:"true"` // The ID of the instance. + // + // InstanceId is a required field InstanceId *string `min:"1" type:"string" required:"true"` // The launch configuration associated with the instance. + // + // LaunchConfigurationName is a required field LaunchConfigurationName *string `min:"1" type:"string" required:"true"` // The lifecycle state for the instance. For more information, see Auto Scaling // Lifecycle (http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/AutoScalingGroupLifecycle.html) // in the Auto Scaling User Guide. + // + // LifecycleState is a required field LifecycleState *string `min:"1" type:"string" required:"true"` // Indicates whether the instance is protected from termination by Auto Scaling // when scaling in. + // + // ProtectedFromScaleIn is a required field ProtectedFromScaleIn *bool `type:"boolean" required:"true"` } @@ -6037,6 +6177,8 @@ type LaunchConfiguration struct { ClassicLinkVPCSecurityGroups []*string `type:"list"` // The creation date and time for the launch configuration. + // + // CreatedTime is a required field CreatedTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"` // Controls whether the instance is optimized for EBS I/O (true) or not (false). @@ -6047,6 +6189,8 @@ type LaunchConfiguration struct { IamInstanceProfile *string `min:"1" type:"string"` // The ID of the Amazon Machine Image (AMI). + // + // ImageId is a required field ImageId *string `min:"1" type:"string" required:"true"` // Controls whether instances in this group are launched with detailed (true) @@ -6054,6 +6198,8 @@ type LaunchConfiguration struct { InstanceMonitoring *InstanceMonitoring `type:"structure"` // The instance type for the instances. + // + // InstanceType is a required field InstanceType *string `min:"1" type:"string" required:"true"` // The ID of the kernel associated with the AMI. @@ -6066,6 +6212,8 @@ type LaunchConfiguration struct { LaunchConfigurationARN *string `min:"1" type:"string"` // The name of the launch configuration. + // + // LaunchConfigurationName is a required field LaunchConfigurationName *string `min:"1" type:"string" required:"true"` // The tenancy of the instance, either default or dedicated. An instance with @@ -6370,6 +6518,8 @@ type ProcessType struct { // ReplaceUnhealthy // // ScheduledActions + // + // ProcessName is a required field ProcessName *string `min:"1" type:"string" required:"true"` } @@ -6389,6 +6539,8 @@ type PutLifecycleHookInput struct { // The name of the Auto Scaling group to which you want to assign the lifecycle // hook. + // + // AutoScalingGroupName is a required field AutoScalingGroupName *string `min:"1" type:"string" required:"true"` // Defines the action the Auto Scaling group should take when the lifecycle @@ -6403,6 +6555,8 @@ type PutLifecycleHookInput struct { HeartbeatTimeout *int64 `type:"integer"` // The name of the lifecycle hook. + // + // LifecycleHookName is a required field LifecycleHookName *string `min:"1" type:"string" required:"true"` // The instance state to which you want to attach the lifecycle hook. For a @@ -6512,14 +6666,20 @@ type PutNotificationConfigurationInput struct { _ struct{} `type:"structure"` // The name of the Auto Scaling group. + // + // AutoScalingGroupName is a required field AutoScalingGroupName *string `min:"1" type:"string" required:"true"` // The type of event that will cause the notification to be sent. For details // about notification types supported by Auto Scaling, see DescribeAutoScalingNotificationTypes. + // + // NotificationTypes is a required field NotificationTypes []*string `type:"list" required:"true"` // The Amazon Resource Name (ARN) of the Amazon Simple Notification Service // (SNS) topic. + // + // TopicARN is a required field TopicARN *string `min:"1" type:"string" required:"true"` } @@ -6581,9 +6741,13 @@ type PutScalingPolicyInput struct { // // For more information, see Dynamic Scaling (http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/as-scale-based-on-demand.html) // in the Auto Scaling User Guide. + // + // AdjustmentType is a required field AdjustmentType *string `min:"1" type:"string" required:"true"` // The name or ARN of the group. + // + // AutoScalingGroupName is a required field AutoScalingGroupName *string `min:"1" type:"string" required:"true"` // The amount of time, in seconds, after a scaling activity completes and before @@ -6620,6 +6784,8 @@ type PutScalingPolicyInput struct { MinAdjustmentStep *int64 `deprecated:"true" type:"integer"` // The name of the policy. + // + // PolicyName is a required field PolicyName *string `min:"1" type:"string" required:"true"` // The policy type. Valid values are SimpleScaling and StepScaling. If the policy @@ -6719,6 +6885,8 @@ type PutScheduledUpdateGroupActionInput struct { _ struct{} `type:"structure"` // The name or Amazon Resource Name (ARN) of the Auto Scaling group. + // + // AutoScalingGroupName is a required field AutoScalingGroupName *string `min:"1" type:"string" required:"true"` // The number of EC2 instances that should be running in the group. @@ -6742,6 +6910,8 @@ type PutScheduledUpdateGroupActionInput struct { Recurrence *string `min:"1" type:"string"` // The name of this scaling action. + // + // ScheduledActionName is a required field ScheduledActionName *string `min:"1" type:"string" required:"true"` // The time for this action to start, in "YYYY-MM-DDThh:mm:ssZ" format in UTC/GMT @@ -6812,6 +6982,8 @@ type RecordLifecycleActionHeartbeatInput struct { _ struct{} `type:"structure"` // The name of the Auto Scaling group for the hook. + // + // AutoScalingGroupName is a required field AutoScalingGroupName *string `min:"1" type:"string" required:"true"` // The ID of the instance. @@ -6823,6 +6995,8 @@ type RecordLifecycleActionHeartbeatInput struct { LifecycleActionToken *string `min:"36" type:"string"` // The name of the lifecycle hook. + // + // LifecycleHookName is a required field LifecycleHookName *string `min:"1" type:"string" required:"true"` } @@ -6962,6 +7136,8 @@ type ScalingProcessQuery struct { _ struct{} `type:"structure"` // The name or Amazon Resource Name (ARN) of the Auto Scaling group. + // + // AutoScalingGroupName is a required field AutoScalingGroupName *string `min:"1" type:"string" required:"true"` // One or more of the following processes. If you omit this parameter, all processes @@ -7066,9 +7242,13 @@ type SetDesiredCapacityInput struct { _ struct{} `type:"structure"` // The name of the Auto Scaling group. + // + // AutoScalingGroupName is a required field AutoScalingGroupName *string `min:"1" type:"string" required:"true"` // The number of EC2 instances that should be running in the Auto Scaling group. + // + // DesiredCapacity is a required field DesiredCapacity *int64 `type:"integer" required:"true"` // By default, SetDesiredCapacity overrides any cooldown period associated with @@ -7128,9 +7308,13 @@ type SetInstanceHealthInput struct { // The health status of the instance. Set to Healthy if you want the instance // to remain in service. Set to Unhealthy if you want the instance to be out // of service. Auto Scaling will terminate and replace the unhealthy instance. + // + // HealthStatus is a required field HealthStatus *string `min:"1" type:"string" required:"true"` // The ID of the instance. + // + // InstanceId is a required field InstanceId *string `min:"1" type:"string" required:"true"` // If the Auto Scaling group of the specified instance has a HealthCheckGracePeriod @@ -7194,13 +7378,19 @@ type SetInstanceProtectionInput struct { _ struct{} `type:"structure"` // The name of the group. + // + // AutoScalingGroupName is a required field AutoScalingGroupName *string `min:"1" type:"string" required:"true"` // One or more instance IDs. + // + // InstanceIds is a required field InstanceIds []*string `type:"list" required:"true"` // Indicates whether the instance is protected from termination by Auto Scaling // when scaling in. + // + // ProtectedFromScaleIn is a required field ProtectedFromScaleIn *bool `type:"boolean" required:"true"` } @@ -7302,6 +7492,8 @@ type StepAdjustment struct { // The amount by which to scale, based on the specified adjustment type. A positive // value adds to the current capacity while a negative number removes from the // current capacity. + // + // ScalingAdjustment is a required field ScalingAdjustment *int64 `type:"integer" required:"true"` } @@ -7369,6 +7561,8 @@ type Tag struct { _ struct{} `type:"structure"` // The tag key. + // + // Key is a required field Key *string `min:"1" type:"string" required:"true"` // Determines whether the tag is added to new instances as they are launched @@ -7447,10 +7641,14 @@ type TerminateInstanceInAutoScalingGroupInput struct { _ struct{} `type:"structure"` // The ID of the instance. + // + // InstanceId is a required field InstanceId *string `min:"1" type:"string" required:"true"` // If true, terminating the instance also decrements the size of the Auto Scaling // group. + // + // ShouldDecrementDesiredCapacity is a required field ShouldDecrementDesiredCapacity *bool `type:"boolean" required:"true"` } @@ -7506,6 +7704,8 @@ type UpdateAutoScalingGroupInput struct { _ struct{} `type:"structure"` // The name of the Auto Scaling group. + // + // AutoScalingGroupName is a required field AutoScalingGroupName *string `min:"1" type:"string" required:"true"` // One or more Availability Zones for the group. @@ -7628,57 +7828,80 @@ func (s UpdateAutoScalingGroupOutput) GoString() string { } const ( - // @enum LifecycleState + // LifecycleStatePending is a LifecycleState enum value LifecycleStatePending = "Pending" - // @enum LifecycleState + + // LifecycleStatePendingWait is a LifecycleState enum value LifecycleStatePendingWait = "Pending:Wait" - // @enum LifecycleState + + // LifecycleStatePendingProceed is a LifecycleState enum value LifecycleStatePendingProceed = "Pending:Proceed" - // @enum LifecycleState + + // LifecycleStateQuarantined is a LifecycleState enum value LifecycleStateQuarantined = "Quarantined" - // @enum LifecycleState + + // LifecycleStateInService is a LifecycleState enum value LifecycleStateInService = "InService" - // @enum LifecycleState + + // LifecycleStateTerminating is a LifecycleState enum value LifecycleStateTerminating = "Terminating" - // @enum LifecycleState + + // LifecycleStateTerminatingWait is a LifecycleState enum value LifecycleStateTerminatingWait = "Terminating:Wait" - // @enum LifecycleState + + // LifecycleStateTerminatingProceed is a LifecycleState enum value LifecycleStateTerminatingProceed = "Terminating:Proceed" - // @enum LifecycleState + + // LifecycleStateTerminated is a LifecycleState enum value LifecycleStateTerminated = "Terminated" - // @enum LifecycleState + + // LifecycleStateDetaching is a LifecycleState enum value LifecycleStateDetaching = "Detaching" - // @enum LifecycleState + + // LifecycleStateDetached is a LifecycleState enum value LifecycleStateDetached = "Detached" - // @enum LifecycleState + + // LifecycleStateEnteringStandby is a LifecycleState enum value LifecycleStateEnteringStandby = "EnteringStandby" - // @enum LifecycleState + + // LifecycleStateStandby is a LifecycleState enum value LifecycleStateStandby = "Standby" ) const ( - // @enum ScalingActivityStatusCode + // ScalingActivityStatusCodePendingSpotBidPlacement is a ScalingActivityStatusCode enum value ScalingActivityStatusCodePendingSpotBidPlacement = "PendingSpotBidPlacement" - // @enum ScalingActivityStatusCode + + // ScalingActivityStatusCodeWaitingForSpotInstanceRequestId is a ScalingActivityStatusCode enum value ScalingActivityStatusCodeWaitingForSpotInstanceRequestId = "WaitingForSpotInstanceRequestId" - // @enum ScalingActivityStatusCode + + // ScalingActivityStatusCodeWaitingForSpotInstanceId is a ScalingActivityStatusCode enum value ScalingActivityStatusCodeWaitingForSpotInstanceId = "WaitingForSpotInstanceId" - // @enum ScalingActivityStatusCode + + // ScalingActivityStatusCodeWaitingForInstanceId is a ScalingActivityStatusCode enum value ScalingActivityStatusCodeWaitingForInstanceId = "WaitingForInstanceId" - // @enum ScalingActivityStatusCode + + // ScalingActivityStatusCodePreInService is a ScalingActivityStatusCode enum value ScalingActivityStatusCodePreInService = "PreInService" - // @enum ScalingActivityStatusCode + + // ScalingActivityStatusCodeInProgress is a ScalingActivityStatusCode enum value ScalingActivityStatusCodeInProgress = "InProgress" - // @enum ScalingActivityStatusCode + + // ScalingActivityStatusCodeWaitingForElbconnectionDraining is a ScalingActivityStatusCode enum value ScalingActivityStatusCodeWaitingForElbconnectionDraining = "WaitingForELBConnectionDraining" - // @enum ScalingActivityStatusCode + + // ScalingActivityStatusCodeMidLifecycleAction is a ScalingActivityStatusCode enum value ScalingActivityStatusCodeMidLifecycleAction = "MidLifecycleAction" - // @enum ScalingActivityStatusCode + + // ScalingActivityStatusCodeWaitingForInstanceWarmup is a ScalingActivityStatusCode enum value ScalingActivityStatusCodeWaitingForInstanceWarmup = "WaitingForInstanceWarmup" - // @enum ScalingActivityStatusCode + + // ScalingActivityStatusCodeSuccessful is a ScalingActivityStatusCode enum value ScalingActivityStatusCodeSuccessful = "Successful" - // @enum ScalingActivityStatusCode + + // ScalingActivityStatusCodeFailed is a ScalingActivityStatusCode enum value ScalingActivityStatusCodeFailed = "Failed" - // @enum ScalingActivityStatusCode + + // ScalingActivityStatusCodeCancelled is a ScalingActivityStatusCode enum value ScalingActivityStatusCodeCancelled = "Cancelled" ) diff --git a/service/autoscaling/waiters.go b/service/autoscaling/waiters.go index 42595d2178b..15a9fd86efb 100644 --- a/service/autoscaling/waiters.go +++ b/service/autoscaling/waiters.go @@ -6,6 +6,10 @@ import ( "github.com/aws/aws-sdk-go/private/waiter" ) +// WaitUntilGroupExists uses the Auto Scaling API operation +// DescribeAutoScalingGroups to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *AutoScaling) WaitUntilGroupExists(input *DescribeAutoScalingGroupsInput) error { waiterCfg := waiter.Config{ Operation: "DescribeAutoScalingGroups", @@ -35,6 +39,10 @@ func (c *AutoScaling) WaitUntilGroupExists(input *DescribeAutoScalingGroupsInput return w.Wait() } +// WaitUntilGroupInService uses the Auto Scaling API operation +// DescribeAutoScalingGroups to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *AutoScaling) WaitUntilGroupInService(input *DescribeAutoScalingGroupsInput) error { waiterCfg := waiter.Config{ Operation: "DescribeAutoScalingGroups", @@ -64,6 +72,10 @@ func (c *AutoScaling) WaitUntilGroupInService(input *DescribeAutoScalingGroupsIn return w.Wait() } +// WaitUntilGroupNotExists uses the Auto Scaling API operation +// DescribeAutoScalingGroups to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *AutoScaling) WaitUntilGroupNotExists(input *DescribeAutoScalingGroupsInput) error { waiterCfg := waiter.Config{ Operation: "DescribeAutoScalingGroups", diff --git a/service/cloudformation/api.go b/service/cloudformation/api.go index c319eaf56e5..0e7517da133 100644 --- a/service/cloudformation/api.go +++ b/service/cloudformation/api.go @@ -1444,6 +1444,8 @@ type CancelUpdateStackInput struct { _ struct{} `type:"structure"` // The name or the unique stack ID that is associated with the stack. + // + // StackName is a required field StackName *string `type:"string" required:"true"` } @@ -1576,6 +1578,8 @@ type ContinueUpdateRollbackInput struct { // The name or the unique ID of the stack that you want to continue rolling // back. + // + // StackName is a required field StackName *string `min:"1" type:"string" required:"true"` } @@ -1659,6 +1663,8 @@ type CreateChangeSetInput struct { // A change set name can contain only alphanumeric, case sensitive characters // and hyphens. It must start with an alphabetic character and cannot exceed // 128 characters. + // + // ChangeSetName is a required field ChangeSetName *string `min:"1" type:"string" required:"true"` // A unique identifier for this CreateChangeSet request. Specify this token @@ -1710,6 +1716,8 @@ type CreateChangeSetInput struct { // set. AWS CloudFormation generates the change set by comparing this stack's // information with the information that you submit, such as a modified template // or different parameter input values. + // + // StackName is a required field StackName *string `min:"1" type:"string" required:"true"` // Key-value pairs to associate with this stack. AWS CloudFormation also propagates @@ -1890,6 +1898,8 @@ type CreateStackInput struct { // A stack name can contain only alphanumeric characters (case sensitive) // and hyphens. It must start with an alphabetic character and cannot be longer // than 128 characters. + // + // StackName is a required field StackName *string `type:"string" required:"true"` // Structure containing the stack policy body. For more information, go to @@ -1998,6 +2008,8 @@ type DeleteChangeSetInput struct { // The name or Amazon Resource Name (ARN) of the change set that you want to // delete. + // + // ChangeSetName is a required field ChangeSetName *string `min:"1" type:"string" required:"true"` // If you specified the name of a change set to delete, specify the stack name @@ -2071,6 +2083,8 @@ type DeleteStackInput struct { RoleARN *string `min:"20" type:"string"` // The name or the unique stack ID that is associated with the stack. + // + // StackName is a required field StackName *string `type:"string" required:"true"` } @@ -2174,6 +2188,8 @@ type DescribeChangeSetInput struct { // The name or Amazon Resource Name (ARN) of the change set that you want to // describe. + // + // ChangeSetName is a required field ChangeSetName *string `min:"1" type:"string" required:"true"` // A string (provided by the DescribeChangeSet response output) that identifies @@ -2362,6 +2378,8 @@ type DescribeStackResourceInput struct { // The logical name of the resource as specified in the template. // // Default: There is no default value. + // + // LogicalResourceId is a required field LogicalResourceId *string `type:"string" required:"true"` // The name or the unique stack ID that is associated with the stack, which @@ -2373,6 +2391,8 @@ type DescribeStackResourceInput struct { // Deleted stacks: You must specify the unique stack ID. // // Default: There is no default value. + // + // StackName is a required field StackName *string `type:"string" required:"true"` } @@ -2628,6 +2648,8 @@ type ExecuteChangeSetInput struct { // The name or ARN of the change set that you want use to update the specified // stack. + // + // ChangeSetName is a required field ChangeSetName *string `min:"1" type:"string" required:"true"` // If you specified the name of a change set, specify the stack name or ID (ARN) @@ -2685,6 +2707,8 @@ type GetStackPolicyInput struct { // The name or unique stack ID that is associated with the stack whose policy // you want to get. + // + // StackName is a required field StackName *string `type:"string" required:"true"` } @@ -2744,6 +2768,8 @@ type GetTemplateInput struct { // Deleted stacks: You must specify the unique stack ID. // // Default: There is no default value. + // + // StackName is a required field StackName *string `type:"string" required:"true"` } @@ -2911,6 +2937,8 @@ type ListChangeSetsInput struct { // The name or the Amazon Resource Name (ARN) of the stack for which you want // to list change sets. + // + // StackName is a required field StackName *string `min:"1" type:"string" required:"true"` } @@ -2983,6 +3011,8 @@ type ListStackResourcesInput struct { // Deleted stacks: You must specify the unique stack ID. // // Default: There is no default value. + // + // StackName is a required field StackName *string `type:"string" required:"true"` } @@ -3356,6 +3386,8 @@ type SetStackPolicyInput struct { _ struct{} `type:"structure"` // The name or unique stack ID that you want to associate a policy with. + // + // StackName is a required field StackName *string `type:"string" required:"true"` // Structure containing the stack policy body. For more information, go to @@ -3420,20 +3452,28 @@ type SignalResourceInput struct { // The logical ID of the resource that you want to signal. The logical ID is // the name of the resource that given in the template. + // + // LogicalResourceId is a required field LogicalResourceId *string `type:"string" required:"true"` // The stack name or unique stack ID that includes the resource that you want // to signal. + // + // StackName is a required field StackName *string `min:"1" type:"string" required:"true"` // The status of the signal, which is either success or failure. A failure signal // causes AWS CloudFormation to immediately fail the stack creation or update. + // + // Status is a required field Status *string `type:"string" required:"true" enum:"ResourceSignalStatus"` // A unique ID of the signal. When you signal Amazon EC2 instances or Auto Scaling // groups, specify the instance ID that you are signaling as the unique ID. // If you send multiple signals to a single resource (such as signaling a wait // condition), each signal requires a different unique ID. + // + // UniqueId is a required field UniqueId *string `min:"1" type:"string" required:"true"` } @@ -3497,6 +3537,8 @@ type Stack struct { Capabilities []*string `type:"list"` // The time at which the stack was created. + // + // CreationTime is a required field CreationTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"` // A user-defined description associated with the stack. @@ -3531,9 +3573,13 @@ type Stack struct { StackId *string `type:"string"` // The name associated with the stack. + // + // StackName is a required field StackName *string `type:"string" required:"true"` // Current status of the stack. + // + // StackStatus is a required field StackStatus *string `type:"string" required:"true" enum:"StackStatus"` // Success/failure message associated with the stack status. @@ -3561,6 +3607,8 @@ type StackEvent struct { _ struct{} `type:"structure"` // The unique ID of this event. + // + // EventId is a required field EventId *string `type:"string" required:"true"` // The logical name of the resource specified in the template. @@ -3585,12 +3633,18 @@ type StackEvent struct { ResourceType *string `min:"1" type:"string"` // The unique ID name of the instance of the stack. + // + // StackId is a required field StackId *string `type:"string" required:"true"` // The name associated with a stack. + // + // StackName is a required field StackName *string `type:"string" required:"true"` // Time the status was updated. + // + // Timestamp is a required field Timestamp *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"` } @@ -3612,6 +3666,8 @@ type StackResource struct { Description *string `min:"1" type:"string"` // The logical name of the resource specified in the template. + // + // LogicalResourceId is a required field LogicalResourceId *string `type:"string" required:"true"` // The name or unique identifier that corresponds to a physical instance ID @@ -3619,6 +3675,8 @@ type StackResource struct { PhysicalResourceId *string `type:"string"` // Current status of the resource. + // + // ResourceStatus is a required field ResourceStatus *string `type:"string" required:"true" enum:"ResourceStatus"` // Success/failure message associated with the resource. @@ -3627,6 +3685,8 @@ type StackResource struct { // Type of resource. (For more information, go to AWS Resource Types Reference // (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html) // in the AWS CloudFormation User Guide.) + // + // ResourceType is a required field ResourceType *string `min:"1" type:"string" required:"true"` // Unique identifier of the stack. @@ -3636,6 +3696,8 @@ type StackResource struct { StackName *string `type:"string"` // Time the status was updated. + // + // Timestamp is a required field Timestamp *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"` } @@ -3657,9 +3719,13 @@ type StackResourceDetail struct { Description *string `min:"1" type:"string"` // Time the status was updated. + // + // LastUpdatedTimestamp is a required field LastUpdatedTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"` // The logical name of the resource specified in the template. + // + // LogicalResourceId is a required field LogicalResourceId *string `type:"string" required:"true"` // The content of the Metadata attribute declared for the resource. For more @@ -3672,6 +3738,8 @@ type StackResourceDetail struct { PhysicalResourceId *string `type:"string"` // Current status of the resource. + // + // ResourceStatus is a required field ResourceStatus *string `type:"string" required:"true" enum:"ResourceStatus"` // Success/failure message associated with the resource. @@ -3680,6 +3748,8 @@ type StackResourceDetail struct { // Type of resource. ((For more information, go to AWS Resource Types Reference // (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html) // in the AWS CloudFormation User Guide.) + // + // ResourceType is a required field ResourceType *string `min:"1" type:"string" required:"true"` // Unique identifier of the stack. @@ -3704,9 +3774,13 @@ type StackResourceSummary struct { _ struct{} `type:"structure"` // Time the status was updated. + // + // LastUpdatedTimestamp is a required field LastUpdatedTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"` // The logical name of the resource specified in the template. + // + // LogicalResourceId is a required field LogicalResourceId *string `type:"string" required:"true"` // The name or unique identifier that corresponds to a physical instance ID @@ -3714,6 +3788,8 @@ type StackResourceSummary struct { PhysicalResourceId *string `type:"string"` // Current status of the resource. + // + // ResourceStatus is a required field ResourceStatus *string `type:"string" required:"true" enum:"ResourceStatus"` // Success/failure message associated with the resource. @@ -3722,6 +3798,8 @@ type StackResourceSummary struct { // Type of resource. (For more information, go to AWS Resource Types Reference // (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html) // in the AWS CloudFormation User Guide.) + // + // ResourceType is a required field ResourceType *string `min:"1" type:"string" required:"true"` } @@ -3740,6 +3818,8 @@ type StackSummary struct { _ struct{} `type:"structure"` // The time the stack was created. + // + // CreationTime is a required field CreationTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"` // The time the stack was deleted. @@ -3753,9 +3833,13 @@ type StackSummary struct { StackId *string `type:"string"` // The name associated with the stack. + // + // StackName is a required field StackName *string `type:"string" required:"true"` // The current status of the stack. + // + // StackStatus is a required field StackStatus *string `type:"string" required:"true" enum:"StackStatus"` // Success/Failure message associated with the stack status. @@ -3893,6 +3977,8 @@ type UpdateStackInput struct { RoleARN *string `min:"20" type:"string"` // The name or unique stack ID of the stack to update. + // + // StackName is a required field StackName *string `type:"string" required:"true"` // Structure containing a new stack policy body. You can specify either the @@ -4111,177 +4197,230 @@ func (s ValidateTemplateOutput) GoString() string { } const ( - // @enum Capability + // CapabilityCapabilityIam is a Capability enum value CapabilityCapabilityIam = "CAPABILITY_IAM" - // @enum Capability + + // CapabilityCapabilityNamedIam is a Capability enum value CapabilityCapabilityNamedIam = "CAPABILITY_NAMED_IAM" ) const ( - // @enum ChangeAction + // ChangeActionAdd is a ChangeAction enum value ChangeActionAdd = "Add" - // @enum ChangeAction + + // ChangeActionModify is a ChangeAction enum value ChangeActionModify = "Modify" - // @enum ChangeAction + + // ChangeActionRemove is a ChangeAction enum value ChangeActionRemove = "Remove" ) const ( - // @enum ChangeSetStatus + // ChangeSetStatusCreatePending is a ChangeSetStatus enum value ChangeSetStatusCreatePending = "CREATE_PENDING" - // @enum ChangeSetStatus + + // ChangeSetStatusCreateInProgress is a ChangeSetStatus enum value ChangeSetStatusCreateInProgress = "CREATE_IN_PROGRESS" - // @enum ChangeSetStatus + + // ChangeSetStatusCreateComplete is a ChangeSetStatus enum value ChangeSetStatusCreateComplete = "CREATE_COMPLETE" - // @enum ChangeSetStatus + + // ChangeSetStatusDeleteComplete is a ChangeSetStatus enum value ChangeSetStatusDeleteComplete = "DELETE_COMPLETE" - // @enum ChangeSetStatus + + // ChangeSetStatusFailed is a ChangeSetStatus enum value ChangeSetStatusFailed = "FAILED" ) const ( - // @enum ChangeSource + // ChangeSourceResourceReference is a ChangeSource enum value ChangeSourceResourceReference = "ResourceReference" - // @enum ChangeSource + + // ChangeSourceParameterReference is a ChangeSource enum value ChangeSourceParameterReference = "ParameterReference" - // @enum ChangeSource + + // ChangeSourceResourceAttribute is a ChangeSource enum value ChangeSourceResourceAttribute = "ResourceAttribute" - // @enum ChangeSource + + // ChangeSourceDirectModification is a ChangeSource enum value ChangeSourceDirectModification = "DirectModification" - // @enum ChangeSource + + // ChangeSourceAutomatic is a ChangeSource enum value ChangeSourceAutomatic = "Automatic" ) const ( - // @enum ChangeType + // ChangeTypeResource is a ChangeType enum value ChangeTypeResource = "Resource" ) const ( - // @enum EvaluationType + // EvaluationTypeStatic is a EvaluationType enum value EvaluationTypeStatic = "Static" - // @enum EvaluationType + + // EvaluationTypeDynamic is a EvaluationType enum value EvaluationTypeDynamic = "Dynamic" ) const ( - // @enum ExecutionStatus + // ExecutionStatusUnavailable is a ExecutionStatus enum value ExecutionStatusUnavailable = "UNAVAILABLE" - // @enum ExecutionStatus + + // ExecutionStatusAvailable is a ExecutionStatus enum value ExecutionStatusAvailable = "AVAILABLE" - // @enum ExecutionStatus + + // ExecutionStatusExecuteInProgress is a ExecutionStatus enum value ExecutionStatusExecuteInProgress = "EXECUTE_IN_PROGRESS" - // @enum ExecutionStatus + + // ExecutionStatusExecuteComplete is a ExecutionStatus enum value ExecutionStatusExecuteComplete = "EXECUTE_COMPLETE" - // @enum ExecutionStatus + + // ExecutionStatusExecuteFailed is a ExecutionStatus enum value ExecutionStatusExecuteFailed = "EXECUTE_FAILED" - // @enum ExecutionStatus + + // ExecutionStatusObsolete is a ExecutionStatus enum value ExecutionStatusObsolete = "OBSOLETE" ) const ( - // @enum OnFailure + // OnFailureDoNothing is a OnFailure enum value OnFailureDoNothing = "DO_NOTHING" - // @enum OnFailure + + // OnFailureRollback is a OnFailure enum value OnFailureRollback = "ROLLBACK" - // @enum OnFailure + + // OnFailureDelete is a OnFailure enum value OnFailureDelete = "DELETE" ) const ( - // @enum Replacement + // ReplacementTrue is a Replacement enum value ReplacementTrue = "True" - // @enum Replacement + + // ReplacementFalse is a Replacement enum value ReplacementFalse = "False" - // @enum Replacement + + // ReplacementConditional is a Replacement enum value ReplacementConditional = "Conditional" ) const ( - // @enum RequiresRecreation + // RequiresRecreationNever is a RequiresRecreation enum value RequiresRecreationNever = "Never" - // @enum RequiresRecreation + + // RequiresRecreationConditionally is a RequiresRecreation enum value RequiresRecreationConditionally = "Conditionally" - // @enum RequiresRecreation + + // RequiresRecreationAlways is a RequiresRecreation enum value RequiresRecreationAlways = "Always" ) const ( - // @enum ResourceAttribute + // ResourceAttributeProperties is a ResourceAttribute enum value ResourceAttributeProperties = "Properties" - // @enum ResourceAttribute + + // ResourceAttributeMetadata is a ResourceAttribute enum value ResourceAttributeMetadata = "Metadata" - // @enum ResourceAttribute + + // ResourceAttributeCreationPolicy is a ResourceAttribute enum value ResourceAttributeCreationPolicy = "CreationPolicy" - // @enum ResourceAttribute + + // ResourceAttributeUpdatePolicy is a ResourceAttribute enum value ResourceAttributeUpdatePolicy = "UpdatePolicy" - // @enum ResourceAttribute + + // ResourceAttributeDeletionPolicy is a ResourceAttribute enum value ResourceAttributeDeletionPolicy = "DeletionPolicy" - // @enum ResourceAttribute + + // ResourceAttributeTags is a ResourceAttribute enum value ResourceAttributeTags = "Tags" ) const ( - // @enum ResourceSignalStatus + // ResourceSignalStatusSuccess is a ResourceSignalStatus enum value ResourceSignalStatusSuccess = "SUCCESS" - // @enum ResourceSignalStatus + + // ResourceSignalStatusFailure is a ResourceSignalStatus enum value ResourceSignalStatusFailure = "FAILURE" ) const ( - // @enum ResourceStatus + // ResourceStatusCreateInProgress is a ResourceStatus enum value ResourceStatusCreateInProgress = "CREATE_IN_PROGRESS" - // @enum ResourceStatus + + // ResourceStatusCreateFailed is a ResourceStatus enum value ResourceStatusCreateFailed = "CREATE_FAILED" - // @enum ResourceStatus + + // ResourceStatusCreateComplete is a ResourceStatus enum value ResourceStatusCreateComplete = "CREATE_COMPLETE" - // @enum ResourceStatus + + // ResourceStatusDeleteInProgress is a ResourceStatus enum value ResourceStatusDeleteInProgress = "DELETE_IN_PROGRESS" - // @enum ResourceStatus + + // ResourceStatusDeleteFailed is a ResourceStatus enum value ResourceStatusDeleteFailed = "DELETE_FAILED" - // @enum ResourceStatus + + // ResourceStatusDeleteComplete is a ResourceStatus enum value ResourceStatusDeleteComplete = "DELETE_COMPLETE" - // @enum ResourceStatus + + // ResourceStatusDeleteSkipped is a ResourceStatus enum value ResourceStatusDeleteSkipped = "DELETE_SKIPPED" - // @enum ResourceStatus + + // ResourceStatusUpdateInProgress is a ResourceStatus enum value ResourceStatusUpdateInProgress = "UPDATE_IN_PROGRESS" - // @enum ResourceStatus + + // ResourceStatusUpdateFailed is a ResourceStatus enum value ResourceStatusUpdateFailed = "UPDATE_FAILED" - // @enum ResourceStatus + + // ResourceStatusUpdateComplete is a ResourceStatus enum value ResourceStatusUpdateComplete = "UPDATE_COMPLETE" ) const ( - // @enum StackStatus + // StackStatusCreateInProgress is a StackStatus enum value StackStatusCreateInProgress = "CREATE_IN_PROGRESS" - // @enum StackStatus + + // StackStatusCreateFailed is a StackStatus enum value StackStatusCreateFailed = "CREATE_FAILED" - // @enum StackStatus + + // StackStatusCreateComplete is a StackStatus enum value StackStatusCreateComplete = "CREATE_COMPLETE" - // @enum StackStatus + + // StackStatusRollbackInProgress is a StackStatus enum value StackStatusRollbackInProgress = "ROLLBACK_IN_PROGRESS" - // @enum StackStatus + + // StackStatusRollbackFailed is a StackStatus enum value StackStatusRollbackFailed = "ROLLBACK_FAILED" - // @enum StackStatus + + // StackStatusRollbackComplete is a StackStatus enum value StackStatusRollbackComplete = "ROLLBACK_COMPLETE" - // @enum StackStatus + + // StackStatusDeleteInProgress is a StackStatus enum value StackStatusDeleteInProgress = "DELETE_IN_PROGRESS" - // @enum StackStatus + + // StackStatusDeleteFailed is a StackStatus enum value StackStatusDeleteFailed = "DELETE_FAILED" - // @enum StackStatus + + // StackStatusDeleteComplete is a StackStatus enum value StackStatusDeleteComplete = "DELETE_COMPLETE" - // @enum StackStatus + + // StackStatusUpdateInProgress is a StackStatus enum value StackStatusUpdateInProgress = "UPDATE_IN_PROGRESS" - // @enum StackStatus + + // StackStatusUpdateCompleteCleanupInProgress is a StackStatus enum value StackStatusUpdateCompleteCleanupInProgress = "UPDATE_COMPLETE_CLEANUP_IN_PROGRESS" - // @enum StackStatus + + // StackStatusUpdateComplete is a StackStatus enum value StackStatusUpdateComplete = "UPDATE_COMPLETE" - // @enum StackStatus + + // StackStatusUpdateRollbackInProgress is a StackStatus enum value StackStatusUpdateRollbackInProgress = "UPDATE_ROLLBACK_IN_PROGRESS" - // @enum StackStatus + + // StackStatusUpdateRollbackFailed is a StackStatus enum value StackStatusUpdateRollbackFailed = "UPDATE_ROLLBACK_FAILED" - // @enum StackStatus + + // StackStatusUpdateRollbackCompleteCleanupInProgress is a StackStatus enum value StackStatusUpdateRollbackCompleteCleanupInProgress = "UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS" - // @enum StackStatus + + // StackStatusUpdateRollbackComplete is a StackStatus enum value StackStatusUpdateRollbackComplete = "UPDATE_ROLLBACK_COMPLETE" ) diff --git a/service/cloudformation/waiters.go b/service/cloudformation/waiters.go index f8ca675144d..62744e3d3f2 100644 --- a/service/cloudformation/waiters.go +++ b/service/cloudformation/waiters.go @@ -6,6 +6,10 @@ import ( "github.com/aws/aws-sdk-go/private/waiter" ) +// WaitUntilStackCreateComplete uses the AWS CloudFormation API operation +// DescribeStacks to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *CloudFormation) WaitUntilStackCreateComplete(input *DescribeStacksInput) error { waiterCfg := waiter.Config{ Operation: "DescribeStacks", @@ -77,6 +81,10 @@ func (c *CloudFormation) WaitUntilStackCreateComplete(input *DescribeStacksInput return w.Wait() } +// WaitUntilStackDeleteComplete uses the AWS CloudFormation API operation +// DescribeStacks to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *CloudFormation) WaitUntilStackDeleteComplete(input *DescribeStacksInput) error { waiterCfg := waiter.Config{ Operation: "DescribeStacks", @@ -190,6 +198,10 @@ func (c *CloudFormation) WaitUntilStackDeleteComplete(input *DescribeStacksInput return w.Wait() } +// WaitUntilStackExists uses the AWS CloudFormation API operation +// DescribeStacks to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *CloudFormation) WaitUntilStackExists(input *DescribeStacksInput) error { waiterCfg := waiter.Config{ Operation: "DescribeStacks", @@ -219,6 +231,10 @@ func (c *CloudFormation) WaitUntilStackExists(input *DescribeStacksInput) error return w.Wait() } +// WaitUntilStackUpdateComplete uses the AWS CloudFormation API operation +// DescribeStacks to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *CloudFormation) WaitUntilStackUpdateComplete(input *DescribeStacksInput) error { waiterCfg := waiter.Config{ Operation: "DescribeStacks", diff --git a/service/cloudfront/api.go b/service/cloudfront/api.go index dc9eed9756c..a663f055542 100644 --- a/service/cloudfront/api.go +++ b/service/cloudfront/api.go @@ -1451,6 +1451,8 @@ type ActiveTrustedSigners struct { _ struct{} `type:"structure"` // Each active trusted signer. + // + // Enabled is a required field Enabled *bool `type:"boolean" required:"true"` // A complex type that contains one Signer complex type for each unique trusted @@ -1461,6 +1463,8 @@ type ActiveTrustedSigners struct { // The number of unique trusted signers included in all cache behaviors. For // example, if three cache behaviors all list the same three AWS accounts, the // value of Quantity for ActiveTrustedSigners will be 3. + // + // Quantity is a required field Quantity *int64 `type:"integer" required:"true"` } @@ -1484,6 +1488,8 @@ type Aliases struct { Items []*string `locationNameList:"CNAME" type:"list"` // The number of CNAMEs, if any, for this distribution. + // + // Quantity is a required field Quantity *int64 `type:"integer" required:"true"` } @@ -1531,11 +1537,15 @@ type AllowedMethods struct { // A complex type that contains the HTTP methods that you want CloudFront to // process and forward to your origin. + // + // Items is a required field Items []*string `locationNameList:"Method" type:"list" required:"true"` // The number of HTTP methods that you want CloudFront to forward to your origin. // Valid values are 2 (for GET and HEAD requests), 3 (for GET, HEAD and OPTIONS // requests) and 7 (for GET, HEAD, OPTIONS, PUT, PATCH, POST, and DELETE requests). + // + // Quantity is a required field Quantity *int64 `type:"integer" required:"true"` } @@ -1626,6 +1636,8 @@ type CacheBehavior struct { // A complex type that specifies how CloudFront handles query strings, cookies // and headers. + // + // ForwardedValues is a required field ForwardedValues *ForwardedValues `type:"structure" required:"true"` // The maximum amount of time (in seconds) that an object is in a CloudFront @@ -1639,6 +1651,8 @@ type CacheBehavior struct { // The minimum amount of time that you want objects to stay in CloudFront caches // before CloudFront queries your origin to see whether the object has been // updated.You can specify a value from 0 to 3,153,600,000 seconds (100 years). + // + // MinTTL is a required field MinTTL *int64 `type:"long" required:"true"` // The pattern (for example, images/*.jpg) that specifies which requests you @@ -1648,6 +1662,8 @@ type CacheBehavior struct { // the default cache behavior is * and cannot be changed. If the request for // an object does not match the path pattern for any cache behaviors, CloudFront // applies the behavior in the default cache behavior. + // + // PathPattern is a required field PathPattern *string `type:"string" required:"true"` // Indicates whether you want to distribute media files in Microsoft Smooth @@ -1658,6 +1674,8 @@ type CacheBehavior struct { // The value of ID for the origin that you want CloudFront to route requests // to when a request matches the path pattern either for a cache behavior or // for the default cache behavior. + // + // TargetOriginId is a required field TargetOriginId *string `type:"string" required:"true"` // A complex type that specifies the AWS accounts, if any, that you want to @@ -1671,6 +1689,8 @@ type CacheBehavior struct { // add, change, or remove one or more trusted signers, change Enabled to true // (if it's currently false), change Quantity as applicable, and specify all // of the trusted signers that you want to include in the updated distribution. + // + // TrustedSigners is a required field TrustedSigners *TrustedSigners `type:"structure" required:"true"` // Use this element to specify the protocol that users can use to access the @@ -1681,6 +1701,8 @@ type CacheBehavior struct { // request with an HTTP status code of 301 (Moved Permanently) and the HTTPS // URL, specify redirect-to-https. The viewer then resubmits the request using // the HTTPS URL. + // + // ViewerProtocolPolicy is a required field ViewerProtocolPolicy *string `type:"string" required:"true" enum:"ViewerProtocolPolicy"` } @@ -1746,6 +1768,8 @@ type CacheBehaviors struct { Items []*CacheBehavior `locationNameList:"CacheBehavior" type:"list"` // The number of cache behaviors for this distribution. + // + // Quantity is a required field Quantity *int64 `type:"integer" required:"true"` } @@ -1793,11 +1817,15 @@ type CachedMethods struct { // A complex type that contains the HTTP methods that you want CloudFront to // cache responses to. + // + // Items is a required field Items []*string `locationNameList:"Method" type:"list" required:"true"` // The number of HTTP methods for which you want CloudFront to cache responses. // Valid values are 2 (for caching responses to GET and HEAD requests) and 3 // (for caching responses to GET, HEAD, and OPTIONS requests). + // + // Quantity is a required field Quantity *int64 `type:"integer" required:"true"` } @@ -1837,6 +1865,8 @@ type CookieNames struct { Items []*string `locationNameList:"Name" type:"list"` // The number of whitelisted cookies for this cache behavior. + // + // Quantity is a required field Quantity *int64 `type:"integer" required:"true"` } @@ -1872,6 +1902,8 @@ type CookiePreference struct { // to the origin that is associated with this cache behavior. You can specify // all, none or whitelist. If you choose All, CloudFront forwards all cookies // regardless of how many your application uses. + // + // Forward is a required field Forward *string `type:"string" required:"true" enum:"ItemSelection"` // A complex type that specifies the whitelisted cookies, if any, that you want @@ -1912,6 +1944,8 @@ type CreateCloudFrontOriginAccessIdentityInput struct { _ struct{} `type:"structure" payload:"CloudFrontOriginAccessIdentityConfig"` // The origin access identity's configuration information. + // + // CloudFrontOriginAccessIdentityConfig is a required field CloudFrontOriginAccessIdentityConfig *OriginAccessIdentityConfig `locationName:"CloudFrontOriginAccessIdentityConfig" type:"structure" required:"true"` } @@ -1973,6 +2007,8 @@ type CreateDistributionInput struct { _ struct{} `type:"structure" payload:"DistributionConfig"` // The distribution's configuration information. + // + // DistributionConfig is a required field DistributionConfig *DistributionConfig `locationName:"DistributionConfig" type:"structure" required:"true"` } @@ -2034,6 +2070,8 @@ type CreateDistributionWithTagsInput struct { _ struct{} `type:"structure" payload:"DistributionConfigWithTags"` // The distribution's configuration information. + // + // DistributionConfigWithTags is a required field DistributionConfigWithTags *DistributionConfigWithTags `locationName:"DistributionConfigWithTags" type:"structure" required:"true"` } @@ -2095,9 +2133,13 @@ type CreateInvalidationInput struct { _ struct{} `type:"structure" payload:"InvalidationBatch"` // The distribution's id. + // + // DistributionId is a required field DistributionId *string `location:"uri" locationName:"DistributionId" type:"string" required:"true"` // The batch information for the invalidation. + // + // InvalidationBatch is a required field InvalidationBatch *InvalidationBatch `locationName:"InvalidationBatch" type:"structure" required:"true"` } @@ -2159,6 +2201,8 @@ type CreateStreamingDistributionInput struct { _ struct{} `type:"structure" payload:"StreamingDistributionConfig"` // The streaming distribution's configuration information. + // + // StreamingDistributionConfig is a required field StreamingDistributionConfig *StreamingDistributionConfig `locationName:"StreamingDistributionConfig" type:"structure" required:"true"` } @@ -2220,6 +2264,8 @@ type CreateStreamingDistributionWithTagsInput struct { _ struct{} `type:"structure" payload:"StreamingDistributionConfigWithTags"` // The streaming distribution's configuration information. + // + // StreamingDistributionConfigWithTags is a required field StreamingDistributionConfigWithTags *StreamingDistributionConfigWithTags `locationName:"StreamingDistributionConfigWithTags" type:"structure" required:"true"` } @@ -2297,6 +2343,8 @@ type CustomErrorResponse struct { // The 4xx or 5xx HTTP status code that you want to customize. For a list of // HTTP status codes that you can customize, see CloudFront documentation. + // + // ErrorCode is a required field ErrorCode *int64 `type:"integer" required:"true"` // The HTTP status code that you want CloudFront to return with the custom error @@ -2345,6 +2393,8 @@ type CustomErrorResponses struct { Items []*CustomErrorResponse `locationNameList:"CustomErrorResponse" type:"list"` // The number of custom error responses for this distribution. + // + // Quantity is a required field Quantity *int64 `type:"integer" required:"true"` } @@ -2389,6 +2439,8 @@ type CustomHeaders struct { Items []*OriginCustomHeader `locationNameList:"OriginCustomHeader" type:"list"` // The number of custom headers for this origin. + // + // Quantity is a required field Quantity *int64 `type:"integer" required:"true"` } @@ -2430,12 +2482,18 @@ type CustomOriginConfig struct { _ struct{} `type:"structure"` // The HTTP port the custom origin listens on. + // + // HTTPPort is a required field HTTPPort *int64 `type:"integer" required:"true"` // The HTTPS port the custom origin listens on. + // + // HTTPSPort is a required field HTTPSPort *int64 `type:"integer" required:"true"` // The origin protocol policy to apply to your origin. + // + // OriginProtocolPolicy is a required field OriginProtocolPolicy *string `type:"string" required:"true" enum:"OriginProtocolPolicy"` // The SSL/TLS protocols that you want CloudFront to use when communicating @@ -2522,6 +2580,8 @@ type DefaultCacheBehavior struct { // A complex type that specifies how CloudFront handles query strings, cookies // and headers. + // + // ForwardedValues is a required field ForwardedValues *ForwardedValues `type:"structure" required:"true"` // The maximum amount of time (in seconds) that an object is in a CloudFront @@ -2535,6 +2595,8 @@ type DefaultCacheBehavior struct { // The minimum amount of time that you want objects to stay in CloudFront caches // before CloudFront queries your origin to see whether the object has been // updated.You can specify a value from 0 to 3,153,600,000 seconds (100 years). + // + // MinTTL is a required field MinTTL *int64 `type:"long" required:"true"` // Indicates whether you want to distribute media files in Microsoft Smooth @@ -2545,6 +2607,8 @@ type DefaultCacheBehavior struct { // The value of ID for the origin that you want CloudFront to route requests // to when a request matches the path pattern either for a cache behavior or // for the default cache behavior. + // + // TargetOriginId is a required field TargetOriginId *string `type:"string" required:"true"` // A complex type that specifies the AWS accounts, if any, that you want to @@ -2558,6 +2622,8 @@ type DefaultCacheBehavior struct { // add, change, or remove one or more trusted signers, change Enabled to true // (if it's currently false), change Quantity as applicable, and specify all // of the trusted signers that you want to include in the updated distribution. + // + // TrustedSigners is a required field TrustedSigners *TrustedSigners `type:"structure" required:"true"` // Use this element to specify the protocol that users can use to access the @@ -2568,6 +2634,8 @@ type DefaultCacheBehavior struct { // request with an HTTP status code of 301 (Moved Permanently) and the HTTPS // URL, specify redirect-to-https. The viewer then resubmits the request using // the HTTPS URL. + // + // ViewerProtocolPolicy is a required field ViewerProtocolPolicy *string `type:"string" required:"true" enum:"ViewerProtocolPolicy"` } @@ -2626,6 +2694,8 @@ type DeleteCloudFrontOriginAccessIdentityInput struct { _ struct{} `type:"structure"` // The origin access identity's id. + // + // Id is a required field Id *string `location:"uri" locationName:"Id" type:"string" required:"true"` // The value of the ETag header you received from a previous GET or PUT request. @@ -2675,6 +2745,8 @@ type DeleteDistributionInput struct { _ struct{} `type:"structure"` // The distribution id. + // + // Id is a required field Id *string `location:"uri" locationName:"Id" type:"string" required:"true"` // The value of the ETag header you received when you disabled the distribution. @@ -2724,6 +2796,8 @@ type DeleteStreamingDistributionInput struct { _ struct{} `type:"structure"` // The distribution id. + // + // Id is a required field Id *string `location:"uri" locationName:"Id" type:"string" required:"true"` // The value of the ETag header you received when you disabled the streaming @@ -2774,6 +2848,8 @@ type Distribution struct { // The ARN (Amazon Resource Name) for the distribution. For example: arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5, // where 123456789012 is your AWS account Id. + // + // ARN is a required field ARN *string `type:"string" required:"true"` // CloudFront automatically adds this element to the response only if you've @@ -2784,26 +2860,40 @@ type Distribution struct { // includes the IDs of any active key pairs associated with the trusted signer's // AWS account. If no KeyPairId element appears for a Signer, that signer can't // create working signed URLs. + // + // ActiveTrustedSigners is a required field ActiveTrustedSigners *ActiveTrustedSigners `type:"structure" required:"true"` // The current configuration information for the distribution. + // + // DistributionConfig is a required field DistributionConfig *DistributionConfig `type:"structure" required:"true"` // The domain name corresponding to the distribution. For example: d604721fxaaqy9.cloudfront.net. + // + // DomainName is a required field DomainName *string `type:"string" required:"true"` // The identifier for the distribution. For example: EDFDVBD632BHDS5. + // + // Id is a required field Id *string `type:"string" required:"true"` // The number of invalidation batches currently in progress. + // + // InProgressInvalidationBatches is a required field InProgressInvalidationBatches *int64 `type:"integer" required:"true"` // The date and time the distribution was last modified. + // + // LastModifiedTime is a required field LastModifiedTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"` // This response element indicates the current status of the distribution. When // the status is Deployed, the distribution's information is fully propagated // throughout the Amazon CloudFront system. + // + // Status is a required field Status *string `type:"string" required:"true"` } @@ -2837,9 +2927,13 @@ type DistributionConfig struct { // is a value you already sent in a previous request to create a distribution // but the content of the DistributionConfig is different from the original // request, CloudFront returns a DistributionAlreadyExists error. + // + // CallerReference is a required field CallerReference *string `type:"string" required:"true"` // Any comments you want to include about the distribution. + // + // Comment is a required field Comment *string `type:"string" required:"true"` // A complex type that contains zero or more CustomErrorResponse elements. @@ -2848,6 +2942,8 @@ type DistributionConfig struct { // A complex type that describes the default cache behavior if you do not specify // a CacheBehavior element or if files don't match any of the values of PathPattern // in CacheBehavior elements.You must create exactly one default cache behavior. + // + // DefaultCacheBehavior is a required field DefaultCacheBehavior *DefaultCacheBehavior `type:"structure" required:"true"` // The object that you want CloudFront to return (for example, index.html) when @@ -2862,6 +2958,8 @@ type DistributionConfig struct { DefaultRootObject *string `type:"string"` // Whether the distribution is enabled to accept end user requests for content. + // + // Enabled is a required field Enabled *bool `type:"boolean" required:"true"` // (Optional) Specify the maximum HTTP version that you want viewers to use @@ -2874,6 +2972,8 @@ type DistributionConfig struct { Logging *LoggingConfig `type:"structure"` // A complex type that contains information about origins for this distribution. + // + // Origins is a required field Origins *Origins `type:"structure" required:"true"` // A complex type that contains information about price class for this distribution. @@ -2968,9 +3068,13 @@ type DistributionConfigWithTags struct { _ struct{} `type:"structure"` // A distribution Configuration. + // + // DistributionConfig is a required field DistributionConfig *DistributionConfig `type:"structure" required:"true"` // A complex type that contains zero or more Tag elements. + // + // Tags is a required field Tags *Tags `type:"structure" required:"true"` } @@ -3018,6 +3122,8 @@ type DistributionList struct { // your results were truncated, you can make a follow-up pagination request // using the Marker request parameter to retrieve more distributions in the // list. + // + // IsTruncated is a required field IsTruncated *bool `type:"boolean" required:"true"` // A complex type that contains one DistributionSummary element for each distribution @@ -3025,9 +3131,13 @@ type DistributionList struct { Items []*DistributionSummary `locationNameList:"DistributionSummary" type:"list"` // The value you provided for the Marker request parameter. + // + // Marker is a required field Marker *string `type:"string" required:"true"` // The value you provided for the MaxItems request parameter. + // + // MaxItems is a required field MaxItems *int64 `type:"integer" required:"true"` // If IsTruncated is true, this element is present and contains the value you @@ -3036,6 +3146,8 @@ type DistributionList struct { NextMarker *string `type:"string"` // The number of distributions that were created by the current AWS account. + // + // Quantity is a required field Quantity *int64 `type:"integer" required:"true"` } @@ -3055,62 +3167,95 @@ type DistributionSummary struct { // The ARN (Amazon Resource Name) for the distribution. For example: arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5, // where 123456789012 is your AWS account Id. + // + // ARN is a required field ARN *string `type:"string" required:"true"` // A complex type that contains information about CNAMEs (alternate domain names), // if any, for this distribution. + // + // Aliases is a required field Aliases *Aliases `type:"structure" required:"true"` // A complex type that contains zero or more CacheBehavior elements. + // + // CacheBehaviors is a required field CacheBehaviors *CacheBehaviors `type:"structure" required:"true"` // The comment originally specified when this distribution was created. + // + // Comment is a required field Comment *string `type:"string" required:"true"` // A complex type that contains zero or more CustomErrorResponses elements. + // + // CustomErrorResponses is a required field CustomErrorResponses *CustomErrorResponses `type:"structure" required:"true"` // A complex type that describes the default cache behavior if you do not specify // a CacheBehavior element or if files don't match any of the values of PathPattern // in CacheBehavior elements.You must create exactly one default cache behavior. + // + // DefaultCacheBehavior is a required field DefaultCacheBehavior *DefaultCacheBehavior `type:"structure" required:"true"` // The domain name corresponding to the distribution. For example: d604721fxaaqy9.cloudfront.net. + // + // DomainName is a required field DomainName *string `type:"string" required:"true"` // Whether the distribution is enabled to accept end user requests for content. + // + // Enabled is a required field Enabled *bool `type:"boolean" required:"true"` // Specify the maximum HTTP version that you want viewers to use to communicate // with CloudFront. The default value for new web distributions is http2. Viewers // that don't support HTTP/2 will automatically use an earlier version. + // + // HttpVersion is a required field HttpVersion *string `type:"string" required:"true" enum:"HttpVersion"` // The identifier for the distribution. For example: EDFDVBD632BHDS5. + // + // Id is a required field Id *string `type:"string" required:"true"` // The date and time the distribution was last modified. + // + // LastModifiedTime is a required field LastModifiedTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"` // A complex type that contains information about origins for this distribution. + // + // Origins is a required field Origins *Origins `type:"structure" required:"true"` + // PriceClass is a required field PriceClass *string `type:"string" required:"true" enum:"PriceClass"` // A complex type that identifies ways in which you want to restrict distribution // of your content. + // + // Restrictions is a required field Restrictions *Restrictions `type:"structure" required:"true"` // This response element indicates the current status of the distribution. When // the status is Deployed, the distribution's information is fully propagated // throughout the Amazon CloudFront system. + // + // Status is a required field Status *string `type:"string" required:"true"` // A complex type that contains information about viewer certificates for this // distribution. + // + // ViewerCertificate is a required field ViewerCertificate *ViewerCertificate `type:"structure" required:"true"` // The Web ACL Id (if any) associated with the distribution. + // + // WebACLId is a required field WebACLId *string `type:"string" required:"true"` } @@ -3130,6 +3275,8 @@ type ForwardedValues struct { _ struct{} `type:"structure"` // A complex type that specifies how CloudFront handles cookies. + // + // Cookies is a required field Cookies *CookiePreference `type:"structure" required:"true"` // A complex type that specifies the Headers, if any, that you want CloudFront @@ -3152,6 +3299,8 @@ type ForwardedValues struct { // you specify. If you specify false for QueryString, CloudFront doesn't forward // any query string parameters to the origin, and doesn't cache based on query // string parameters. + // + // QueryString is a required field QueryString *bool `type:"boolean" required:"true"` // A complex type that contains information about the query string parameters @@ -3223,6 +3372,8 @@ type GeoRestriction struct { // When geo restriction is enabled, this is the number of countries in your // whitelist or blacklist. Otherwise, when it is not enabled, Quantity is 0, // and you can omit Items. + // + // Quantity is a required field Quantity *int64 `type:"integer" required:"true"` // The method that you want to use to restrict distribution of your content @@ -3231,6 +3382,8 @@ type GeoRestriction struct { // specify the countries in which you do not want CloudFront to distribute your // content. - whitelist: The Location elements specify the countries in which // you want CloudFront to distribute your content. + // + // RestrictionType is a required field RestrictionType *string `type:"string" required:"true" enum:"GeoRestrictionType"` } @@ -3265,6 +3418,8 @@ type GetCloudFrontOriginAccessIdentityConfigInput struct { _ struct{} `type:"structure"` // The identity's id. + // + // Id is a required field Id *string `location:"uri" locationName:"Id" type:"string" required:"true"` } @@ -3317,6 +3472,8 @@ type GetCloudFrontOriginAccessIdentityInput struct { _ struct{} `type:"structure"` // The identity's id. + // + // Id is a required field Id *string `location:"uri" locationName:"Id" type:"string" required:"true"` } @@ -3370,6 +3527,8 @@ type GetDistributionConfigInput struct { _ struct{} `type:"structure"` // The distribution's id. + // + // Id is a required field Id *string `location:"uri" locationName:"Id" type:"string" required:"true"` } @@ -3422,6 +3581,8 @@ type GetDistributionInput struct { _ struct{} `type:"structure"` // The distribution's id. + // + // Id is a required field Id *string `location:"uri" locationName:"Id" type:"string" required:"true"` } @@ -3474,9 +3635,13 @@ type GetInvalidationInput struct { _ struct{} `type:"structure"` // The distribution's id. + // + // DistributionId is a required field DistributionId *string `location:"uri" locationName:"DistributionId" type:"string" required:"true"` // The invalidation's id. + // + // Id is a required field Id *string `location:"uri" locationName:"Id" type:"string" required:"true"` } @@ -3529,6 +3694,8 @@ type GetStreamingDistributionConfigInput struct { _ struct{} `type:"structure"` // The streaming distribution's id. + // + // Id is a required field Id *string `location:"uri" locationName:"Id" type:"string" required:"true"` } @@ -3581,6 +3748,8 @@ type GetStreamingDistributionInput struct { _ struct{} `type:"structure"` // The streaming distribution's id. + // + // Id is a required field Id *string `location:"uri" locationName:"Id" type:"string" required:"true"` } @@ -3652,6 +3821,8 @@ type Headers struct { // * for Name. If you don't want CloudFront to forward any additional headers // to the origin or to vary on any headers, specify 0 for Quantity and omit // Items. + // + // Quantity is a required field Quantity *int64 `type:"integer" required:"true"` } @@ -3683,16 +3854,24 @@ type Invalidation struct { _ struct{} `type:"structure"` // The date and time the invalidation request was first made. + // + // CreateTime is a required field CreateTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"` // The identifier for the invalidation request. For example: IDFDVBD632BHDS5. + // + // Id is a required field Id *string `type:"string" required:"true"` // The current invalidation information for the batch request. + // + // InvalidationBatch is a required field InvalidationBatch *InvalidationBatch `type:"structure" required:"true"` // The status of the invalidation request. When the invalidation batch is finished, // the status is Completed. + // + // Status is a required field Status *string `type:"string" required:"true"` } @@ -3719,6 +3898,8 @@ type InvalidationBatch struct { // sent in a previous request to create a distribution but the content of any // Path is different from the original request, CloudFront returns an InvalidationBatchAlreadyExists // error. + // + // CallerReference is a required field CallerReference *string `type:"string" required:"true"` // The path of the object to invalidate. The path is relative to the distribution @@ -3727,6 +3908,8 @@ type InvalidationBatch struct { // unsafe characters as defined in RFC 1783 (http://www.ietf.org/rfc/rfc1738.txt), // URL encode those characters. Do not URL encode any other characters in the // path, or CloudFront will not invalidate the old version of the updated object. + // + // Paths is a required field Paths *Paths `type:"structure" required:"true"` } @@ -3769,6 +3952,8 @@ type InvalidationList struct { // be listed. If your results were truncated, you can make a follow-up pagination // request using the Marker request parameter to retrieve more invalidation // batches in the list. + // + // IsTruncated is a required field IsTruncated *bool `type:"boolean" required:"true"` // A complex type that contains one InvalidationSummary element for each invalidation @@ -3776,9 +3961,13 @@ type InvalidationList struct { Items []*InvalidationSummary `locationNameList:"InvalidationSummary" type:"list"` // The value you provided for the Marker request parameter. + // + // Marker is a required field Marker *string `type:"string" required:"true"` // The value you provided for the MaxItems request parameter. + // + // MaxItems is a required field MaxItems *int64 `type:"integer" required:"true"` // If IsTruncated is true, this element is present and contains the value you @@ -3787,6 +3976,8 @@ type InvalidationList struct { NextMarker *string `type:"string"` // The number of invalidation batches that were created by the current AWS account. + // + // Quantity is a required field Quantity *int64 `type:"integer" required:"true"` } @@ -3804,12 +3995,17 @@ func (s InvalidationList) GoString() string { type InvalidationSummary struct { _ struct{} `type:"structure"` + // CreateTime is a required field CreateTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"` // The unique ID for an invalidation request. + // + // Id is a required field Id *string `type:"string" required:"true"` // The status of an invalidation request. + // + // Status is a required field Status *string `type:"string" required:"true"` } @@ -3833,6 +4029,8 @@ type KeyPairIds struct { Items []*string `locationNameList:"KeyPairId" type:"list"` // The number of active CloudFront key pairs for AwsAccountNumber. + // + // Quantity is a required field Quantity *int64 `type:"integer" required:"true"` } @@ -3908,6 +4106,8 @@ type ListDistributionsByWebACLIdInput struct { // The Id of the AWS WAF web ACL for which you want to list the associated distributions. // If you specify "null" for the Id, the request returns a list of the distributions // that aren't associated with a web ACL. + // + // WebACLId is a required field WebACLId *string `location:"uri" locationName:"WebACLId" type:"string" required:"true"` } @@ -4002,6 +4202,8 @@ type ListInvalidationsInput struct { _ struct{} `type:"structure"` // The distribution's id. + // + // DistributionId is a required field DistributionId *string `location:"uri" locationName:"DistributionId" type:"string" required:"true"` // Use this parameter when paginating results to indicate where to begin in @@ -4106,6 +4308,8 @@ type ListTagsForResourceInput struct { _ struct{} `type:"structure"` // An ARN of a CloudFront resource. + // + // Resource is a required field Resource *string `location:"querystring" locationName:"Resource" type:"string" required:"true"` } @@ -4137,6 +4341,8 @@ type ListTagsForResourceOutput struct { _ struct{} `type:"structure" payload:"Tags"` // A complex type that contains zero or more Tag elements. + // + // Tags is a required field Tags *Tags `type:"structure" required:"true"` } @@ -4155,6 +4361,8 @@ type LoggingConfig struct { _ struct{} `type:"structure"` // The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com. + // + // Bucket is a required field Bucket *string `type:"string" required:"true"` // Specifies whether you want CloudFront to save access logs to an Amazon S3 @@ -4163,6 +4371,8 @@ type LoggingConfig struct { // for Enabled, and specify empty Bucket and Prefix elements. If you specify // false for Enabled but you specify values for Bucket, prefix and IncludeCookies, // the values are automatically deleted. + // + // Enabled is a required field Enabled *bool `type:"boolean" required:"true"` // Specifies whether you want CloudFront to include cookies in access logs, @@ -4171,12 +4381,16 @@ type LoggingConfig struct { // for this distribution. If you do not want to include cookies when you create // a distribution or if you want to disable include cookies for an existing // distribution, specify false for IncludeCookies. + // + // IncludeCookies is a required field IncludeCookies *bool `type:"boolean" required:"true"` // An optional string that you want CloudFront to prefix to the access log filenames // for this distribution, for example, myprefix/. If you want to enable logging, // but you do not want to specify a prefix, you still must include an empty // Prefix element in the Logging element. + // + // Prefix is a required field Prefix *string `type:"string" required:"true"` } @@ -4230,12 +4444,16 @@ type Origin struct { // CloudFront to get objects for this origin, for example, myawsbucket.s3.amazonaws.com. // Custom origins: The DNS domain name for the HTTP server from which you want // CloudFront to get objects for this origin, for example, www.example.com. + // + // DomainName is a required field DomainName *string `type:"string" required:"true"` // A unique identifier for the origin. The value of Id must be unique within // the distribution. You use the value of Id when you create a cache behavior. // The Id identifies the origin that CloudFront routes a request to when the // request matches the path pattern for that cache behavior. + // + // Id is a required field Id *string `type:"string" required:"true"` // An optional element that causes CloudFront to request your content from a @@ -4298,11 +4516,15 @@ type OriginAccessIdentity struct { CloudFrontOriginAccessIdentityConfig *OriginAccessIdentityConfig `type:"structure"` // The ID for the origin access identity. For example: E74FTE3AJFJ256A. + // + // Id is a required field Id *string `type:"string" required:"true"` // The Amazon S3 canonical user ID for the origin access identity, which you // use when giving the origin access identity read permission to an object in // Amazon S3. + // + // S3CanonicalUserId is a required field S3CanonicalUserId *string `type:"string" required:"true"` } @@ -4331,9 +4553,13 @@ type OriginAccessIdentityConfig struct { // the content of the CloudFrontOriginAccessIdentityConfig is different from // the original request, CloudFront returns a CloudFrontOriginAccessIdentityAlreadyExists // error. + // + // CallerReference is a required field CallerReference *string `type:"string" required:"true"` // Any comments you want to include about the origin access identity. + // + // Comment is a required field Comment *string `type:"string" required:"true"` } @@ -4371,6 +4597,8 @@ type OriginAccessIdentityList struct { // listed. If your results were truncated, you can make a follow-up pagination // request using the Marker request parameter to retrieve more items in the // list. + // + // IsTruncated is a required field IsTruncated *bool `type:"boolean" required:"true"` // A complex type that contains one CloudFrontOriginAccessIdentitySummary element @@ -4378,9 +4606,13 @@ type OriginAccessIdentityList struct { Items []*OriginAccessIdentitySummary `locationNameList:"CloudFrontOriginAccessIdentitySummary" type:"list"` // The value you provided for the Marker request parameter. + // + // Marker is a required field Marker *string `type:"string" required:"true"` // The value you provided for the MaxItems request parameter. + // + // MaxItems is a required field MaxItems *int64 `type:"integer" required:"true"` // If IsTruncated is true, this element is present and contains the value you @@ -4390,6 +4622,8 @@ type OriginAccessIdentityList struct { // The number of CloudFront origin access identities that were created by the // current AWS account. + // + // Quantity is a required field Quantity *int64 `type:"integer" required:"true"` } @@ -4409,14 +4643,20 @@ type OriginAccessIdentitySummary struct { // The comment for this origin access identity, as originally specified when // created. + // + // Comment is a required field Comment *string `type:"string" required:"true"` // The ID for the origin access identity. For example: E74FTE3AJFJ256A. + // + // Id is a required field Id *string `type:"string" required:"true"` // The Amazon S3 canonical user ID for the origin access identity, which you // use when giving the origin access identity read permission to an object in // Amazon S3. + // + // S3CanonicalUserId is a required field S3CanonicalUserId *string `type:"string" required:"true"` } @@ -4435,9 +4675,13 @@ type OriginCustomHeader struct { _ struct{} `type:"structure"` // The header's name. + // + // HeaderName is a required field HeaderName *string `type:"string" required:"true"` // The header's value. + // + // HeaderValue is a required field HeaderValue *string `type:"string" required:"true"` } @@ -4475,10 +4719,14 @@ type OriginSslProtocols struct { // A complex type that contains one SslProtocol element for each SSL/TLS protocol // that you want to allow CloudFront to use when establishing an HTTPS connection // with this origin. + // + // Items is a required field Items []*string `locationNameList:"SslProtocol" type:"list" required:"true"` // The number of SSL/TLS protocols that you want to allow CloudFront to use // when establishing an HTTPS connection with this origin. + // + // Quantity is a required field Quantity *int64 `type:"integer" required:"true"` } @@ -4516,6 +4764,8 @@ type Origins struct { Items []*Origin `locationNameList:"Origin" min:"1" type:"list"` // The number of origins for this distribution. + // + // Quantity is a required field Quantity *int64 `type:"integer" required:"true"` } @@ -4564,6 +4814,8 @@ type Paths struct { Items []*string `locationNameList:"Path" type:"list"` // The number of objects that you want to invalidate. + // + // Quantity is a required field Quantity *int64 `type:"integer" required:"true"` } @@ -4599,6 +4851,8 @@ type QueryStringCacheKeys struct { Items []*string `locationNameList:"Name" type:"list"` // The number of whitelisted query string parameters for this cache behavior. + // + // Quantity is a required field Quantity *int64 `type:"integer" required:"true"` } @@ -4636,6 +4890,8 @@ type Restrictions struct { // of your users using MaxMind GeoIP databases. For information about the accuracy // of these databases, see How accurate are your GeoIP databases? on the MaxMind // website. + // + // GeoRestriction is a required field GeoRestriction *GeoRestriction `type:"structure" required:"true"` } @@ -4673,9 +4929,13 @@ type S3Origin struct { _ struct{} `type:"structure"` // The DNS name of the S3 origin. + // + // DomainName is a required field DomainName *string `type:"string" required:"true"` // Your S3 origin's origin access identity. + // + // OriginAccessIdentity is a required field OriginAccessIdentity *string `type:"string" required:"true"` } @@ -4721,6 +4981,8 @@ type S3OriginConfig struct { // the new origin access identity. Use the format origin-access-identity/cloudfront/Id // where Id is the value that CloudFront returned in the Id element when you // created the origin access identity. + // + // OriginAccessIdentity is a required field OriginAccessIdentity *string `type:"string" required:"true"` } @@ -4780,6 +5042,8 @@ type StreamingDistribution struct { // The ARN (Amazon Resource Name) for the streaming distribution. For example: // arn:aws:cloudfront::123456789012:streaming-distribution/EDFDVBD632BHDS5, // where 123456789012 is your AWS account Id. + // + // ARN is a required field ARN *string `type:"string" required:"true"` // CloudFront automatically adds this element to the response only if you've @@ -4790,13 +5054,19 @@ type StreamingDistribution struct { // includes the IDs of any active key pairs associated with the trusted signer's // AWS account. If no KeyPairId element appears for a Signer, that signer can't // create working signed URLs. + // + // ActiveTrustedSigners is a required field ActiveTrustedSigners *ActiveTrustedSigners `type:"structure" required:"true"` // The domain name corresponding to the streaming distribution. For example: // s5c39gqb8ow64r.cloudfront.net. + // + // DomainName is a required field DomainName *string `type:"string" required:"true"` // The identifier for the streaming distribution. For example: EGTXBD79H29TRA8. + // + // Id is a required field Id *string `type:"string" required:"true"` // The date and time the distribution was last modified. @@ -4805,9 +5075,13 @@ type StreamingDistribution struct { // The current status of the streaming distribution. When the status is Deployed, // the distribution's information is fully propagated throughout the Amazon // CloudFront system. + // + // Status is a required field Status *string `type:"string" required:"true"` // The current configuration information for the streaming distribution. + // + // StreamingDistributionConfig is a required field StreamingDistributionConfig *StreamingDistributionConfig `type:"structure" required:"true"` } @@ -4839,13 +5113,19 @@ type StreamingDistributionConfig struct { // sent in a previous request to create a streaming distribution but the content // of the StreamingDistributionConfig is different from the original request, // CloudFront returns a DistributionAlreadyExists error. + // + // CallerReference is a required field CallerReference *string `type:"string" required:"true"` // Any comments you want to include about the streaming distribution. + // + // Comment is a required field Comment *string `type:"string" required:"true"` // Whether the streaming distribution is enabled to accept end user requests // for content. + // + // Enabled is a required field Enabled *bool `type:"boolean" required:"true"` // A complex type that controls whether access logs are written for the streaming @@ -4858,6 +5138,8 @@ type StreamingDistributionConfig struct { // A complex type that contains information about the Amazon S3 bucket from // which you want CloudFront to get your media files for distribution. + // + // S3Origin is a required field S3Origin *S3Origin `type:"structure" required:"true"` // A complex type that specifies the AWS accounts, if any, that you want to @@ -4871,6 +5153,8 @@ type StreamingDistributionConfig struct { // add, change, or remove one or more trusted signers, change Enabled to true // (if it's currently false), change Quantity as applicable, and specify all // of the trusted signers that you want to include in the updated distribution. + // + // TrustedSigners is a required field TrustedSigners *TrustedSigners `type:"structure" required:"true"` } @@ -4935,9 +5219,13 @@ type StreamingDistributionConfigWithTags struct { _ struct{} `type:"structure"` // A streaming distribution Configuration. + // + // StreamingDistributionConfig is a required field StreamingDistributionConfig *StreamingDistributionConfig `type:"structure" required:"true"` // A complex type that contains zero or more Tag elements. + // + // Tags is a required field Tags *Tags `type:"structure" required:"true"` } @@ -4985,6 +5273,8 @@ type StreamingDistributionList struct { // If your results were truncated, you can make a follow-up pagination request // using the Marker request parameter to retrieve more distributions in the // list. + // + // IsTruncated is a required field IsTruncated *bool `type:"boolean" required:"true"` // A complex type that contains one StreamingDistributionSummary element for @@ -4992,9 +5282,13 @@ type StreamingDistributionList struct { Items []*StreamingDistributionSummary `locationNameList:"StreamingDistributionSummary" type:"list"` // The value you provided for the Marker request parameter. + // + // Marker is a required field Marker *string `type:"string" required:"true"` // The value you provided for the MaxItems request parameter. + // + // MaxItems is a required field MaxItems *int64 `type:"integer" required:"true"` // If IsTruncated is true, this element is present and contains the value you @@ -5004,6 +5298,8 @@ type StreamingDistributionList struct { // The number of streaming distributions that were created by the current AWS // account. + // + // Quantity is a required field Quantity *int64 `type:"integer" required:"true"` } @@ -5024,36 +5320,55 @@ type StreamingDistributionSummary struct { // The ARN (Amazon Resource Name) for the streaming distribution. For example: // arn:aws:cloudfront::123456789012:streaming-distribution/EDFDVBD632BHDS5, // where 123456789012 is your AWS account Id. + // + // ARN is a required field ARN *string `type:"string" required:"true"` // A complex type that contains information about CNAMEs (alternate domain names), // if any, for this streaming distribution. + // + // Aliases is a required field Aliases *Aliases `type:"structure" required:"true"` // The comment originally specified when this distribution was created. + // + // Comment is a required field Comment *string `type:"string" required:"true"` // The domain name corresponding to the distribution. For example: d604721fxaaqy9.cloudfront.net. + // + // DomainName is a required field DomainName *string `type:"string" required:"true"` // Whether the distribution is enabled to accept end user requests for content. + // + // Enabled is a required field Enabled *bool `type:"boolean" required:"true"` // The identifier for the distribution. For example: EDFDVBD632BHDS5. + // + // Id is a required field Id *string `type:"string" required:"true"` // The date and time the distribution was last modified. + // + // LastModifiedTime is a required field LastModifiedTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"` + // PriceClass is a required field PriceClass *string `type:"string" required:"true" enum:"PriceClass"` // A complex type that contains information about the Amazon S3 bucket from // which you want CloudFront to get your media files for distribution. + // + // S3Origin is a required field S3Origin *S3Origin `type:"structure" required:"true"` // Indicates the current status of the distribution. When the status is Deployed, // the distribution's information is fully propagated throughout the Amazon // CloudFront system. + // + // Status is a required field Status *string `type:"string" required:"true"` // A complex type that specifies the AWS accounts, if any, that you want to @@ -5067,6 +5382,8 @@ type StreamingDistributionSummary struct { // add, change, or remove one or more trusted signers, change Enabled to true // (if it's currently false), change Quantity as applicable, and specify all // of the trusted signers that you want to include in the updated distribution. + // + // TrustedSigners is a required field TrustedSigners *TrustedSigners `type:"structure" required:"true"` } @@ -5086,6 +5403,8 @@ type StreamingLoggingConfig struct { _ struct{} `type:"structure"` // The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com. + // + // Bucket is a required field Bucket *string `type:"string" required:"true"` // Specifies whether you want CloudFront to save access logs to an Amazon S3 @@ -5094,12 +5413,16 @@ type StreamingLoggingConfig struct { // distribution, specify false for Enabled, and specify empty Bucket and Prefix // elements. If you specify false for Enabled but you specify values for Bucket // and Prefix, the values are automatically deleted. + // + // Enabled is a required field Enabled *bool `type:"boolean" required:"true"` // An optional string that you want CloudFront to prefix to the access log filenames // for this streaming distribution, for example, myprefix/. If you want to enable // logging, but you do not want to specify a prefix, you still must include // an empty Prefix element in the Logging element. + // + // Prefix is a required field Prefix *string `type:"string" required:"true"` } @@ -5139,6 +5462,8 @@ type Tag struct { // A string that contains Tag key. The string length should be between 1 and // 128 characters. Valid characters include a-z, A-Z, 0-9, space, and the special // characters _ - . : / = + @. + // + // Key is a required field Key *string `min:"1" type:"string" required:"true"` // A string that contains an optional Tag value. The string length should be @@ -5196,9 +5521,13 @@ type TagResourceInput struct { _ struct{} `type:"structure" payload:"Tags"` // An ARN of a CloudFront resource. + // + // Resource is a required field Resource *string `location:"querystring" locationName:"Resource" type:"string" required:"true"` // A complex type that contains zero or more Tag elements. + // + // Tags is a required field Tags *Tags `locationName:"Tags" type:"structure" required:"true"` } @@ -5301,6 +5630,8 @@ type TrustedSigners struct { // Specifies whether you want to require end users to use signed URLs to access // the files specified by PathPattern and TargetOriginId. + // + // Enabled is a required field Enabled *bool `type:"boolean" required:"true"` // Optional: A complex type that contains trusted signers for this cache behavior. @@ -5308,6 +5639,8 @@ type TrustedSigners struct { Items []*string `locationNameList:"AwsAccountNumber" type:"list"` // The number of trusted signers for this cache behavior. + // + // Quantity is a required field Quantity *int64 `type:"integer" required:"true"` } @@ -5342,9 +5675,13 @@ type UntagResourceInput struct { _ struct{} `type:"structure" payload:"TagKeys"` // An ARN of a CloudFront resource. + // + // Resource is a required field Resource *string `location:"querystring" locationName:"Resource" type:"string" required:"true"` // A complex type that contains zero or more Tag key elements. + // + // TagKeys is a required field TagKeys *TagKeys `locationName:"TagKeys" type:"structure" required:"true"` } @@ -5393,9 +5730,13 @@ type UpdateCloudFrontOriginAccessIdentityInput struct { _ struct{} `type:"structure" payload:"CloudFrontOriginAccessIdentityConfig"` // The identity's configuration information. + // + // CloudFrontOriginAccessIdentityConfig is a required field CloudFrontOriginAccessIdentityConfig *OriginAccessIdentityConfig `locationName:"CloudFrontOriginAccessIdentityConfig" type:"structure" required:"true"` // The identity's id. + // + // Id is a required field Id *string `location:"uri" locationName:"Id" type:"string" required:"true"` // The value of the ETag header you received when retrieving the identity's @@ -5460,9 +5801,13 @@ type UpdateDistributionInput struct { _ struct{} `type:"structure" payload:"DistributionConfig"` // The distribution's configuration information. + // + // DistributionConfig is a required field DistributionConfig *DistributionConfig `locationName:"DistributionConfig" type:"structure" required:"true"` // The distribution's id. + // + // Id is a required field Id *string `location:"uri" locationName:"Id" type:"string" required:"true"` // The value of the ETag header you received when retrieving the distribution's @@ -5527,6 +5872,8 @@ type UpdateStreamingDistributionInput struct { _ struct{} `type:"structure" payload:"StreamingDistributionConfig"` // The streaming distribution's id. + // + // Id is a required field Id *string `location:"uri" locationName:"Id" type:"string" required:"true"` // The value of the ETag header you received when retrieving the streaming distribution's @@ -5534,6 +5881,8 @@ type UpdateStreamingDistributionInput struct { IfMatch *string `location:"header" locationName:"If-Match" type:"string"` // The streaming distribution's configuration information. + // + // StreamingDistributionConfig is a required field StreamingDistributionConfig *StreamingDistributionConfig `locationName:"StreamingDistributionConfig" type:"structure" required:"true"` } @@ -5656,104 +6005,128 @@ func (s ViewerCertificate) GoString() string { } const ( - // @enum CertificateSource + // CertificateSourceCloudfront is a CertificateSource enum value CertificateSourceCloudfront = "cloudfront" - // @enum CertificateSource + + // CertificateSourceIam is a CertificateSource enum value CertificateSourceIam = "iam" - // @enum CertificateSource + + // CertificateSourceAcm is a CertificateSource enum value CertificateSourceAcm = "acm" ) const ( - // @enum GeoRestrictionType + // GeoRestrictionTypeBlacklist is a GeoRestrictionType enum value GeoRestrictionTypeBlacklist = "blacklist" - // @enum GeoRestrictionType + + // GeoRestrictionTypeWhitelist is a GeoRestrictionType enum value GeoRestrictionTypeWhitelist = "whitelist" - // @enum GeoRestrictionType + + // GeoRestrictionTypeNone is a GeoRestrictionType enum value GeoRestrictionTypeNone = "none" ) const ( - // @enum HttpVersion + // HttpVersionHttp11 is a HttpVersion enum value HttpVersionHttp11 = "http1.1" - // @enum HttpVersion + + // HttpVersionHttp2 is a HttpVersion enum value HttpVersionHttp2 = "http2" ) const ( - // @enum ItemSelection + // ItemSelectionNone is a ItemSelection enum value ItemSelectionNone = "none" - // @enum ItemSelection + + // ItemSelectionWhitelist is a ItemSelection enum value ItemSelectionWhitelist = "whitelist" - // @enum ItemSelection + + // ItemSelectionAll is a ItemSelection enum value ItemSelectionAll = "all" ) const ( - // @enum Method + // MethodGet is a Method enum value MethodGet = "GET" - // @enum Method + + // MethodHead is a Method enum value MethodHead = "HEAD" - // @enum Method + + // MethodPost is a Method enum value MethodPost = "POST" - // @enum Method + + // MethodPut is a Method enum value MethodPut = "PUT" - // @enum Method + + // MethodPatch is a Method enum value MethodPatch = "PATCH" - // @enum Method + + // MethodOptions is a Method enum value MethodOptions = "OPTIONS" - // @enum Method + + // MethodDelete is a Method enum value MethodDelete = "DELETE" ) const ( - // @enum MinimumProtocolVersion + // MinimumProtocolVersionSslv3 is a MinimumProtocolVersion enum value MinimumProtocolVersionSslv3 = "SSLv3" - // @enum MinimumProtocolVersion + + // MinimumProtocolVersionTlsv1 is a MinimumProtocolVersion enum value MinimumProtocolVersionTlsv1 = "TLSv1" ) const ( - // @enum OriginProtocolPolicy + // OriginProtocolPolicyHttpOnly is a OriginProtocolPolicy enum value OriginProtocolPolicyHttpOnly = "http-only" - // @enum OriginProtocolPolicy + + // OriginProtocolPolicyMatchViewer is a OriginProtocolPolicy enum value OriginProtocolPolicyMatchViewer = "match-viewer" - // @enum OriginProtocolPolicy + + // OriginProtocolPolicyHttpsOnly is a OriginProtocolPolicy enum value OriginProtocolPolicyHttpsOnly = "https-only" ) const ( - // @enum PriceClass + // PriceClassPriceClass100 is a PriceClass enum value PriceClassPriceClass100 = "PriceClass_100" - // @enum PriceClass + + // PriceClassPriceClass200 is a PriceClass enum value PriceClassPriceClass200 = "PriceClass_200" - // @enum PriceClass + + // PriceClassPriceClassAll is a PriceClass enum value PriceClassPriceClassAll = "PriceClass_All" ) const ( - // @enum SSLSupportMethod + // SSLSupportMethodSniOnly is a SSLSupportMethod enum value SSLSupportMethodSniOnly = "sni-only" - // @enum SSLSupportMethod + + // SSLSupportMethodVip is a SSLSupportMethod enum value SSLSupportMethodVip = "vip" ) const ( - // @enum SslProtocol + // SslProtocolSslv3 is a SslProtocol enum value SslProtocolSslv3 = "SSLv3" - // @enum SslProtocol + + // SslProtocolTlsv1 is a SslProtocol enum value SslProtocolTlsv1 = "TLSv1" - // @enum SslProtocol + + // SslProtocolTlsv11 is a SslProtocol enum value SslProtocolTlsv11 = "TLSv1.1" - // @enum SslProtocol + + // SslProtocolTlsv12 is a SslProtocol enum value SslProtocolTlsv12 = "TLSv1.2" ) const ( - // @enum ViewerProtocolPolicy + // ViewerProtocolPolicyAllowAll is a ViewerProtocolPolicy enum value ViewerProtocolPolicyAllowAll = "allow-all" - // @enum ViewerProtocolPolicy + + // ViewerProtocolPolicyHttpsOnly is a ViewerProtocolPolicy enum value ViewerProtocolPolicyHttpsOnly = "https-only" - // @enum ViewerProtocolPolicy + + // ViewerProtocolPolicyRedirectToHttps is a ViewerProtocolPolicy enum value ViewerProtocolPolicyRedirectToHttps = "redirect-to-https" ) diff --git a/service/cloudfront/waiters.go b/service/cloudfront/waiters.go index 7a0525d1770..c14e9d101f7 100644 --- a/service/cloudfront/waiters.go +++ b/service/cloudfront/waiters.go @@ -6,6 +6,10 @@ import ( "github.com/aws/aws-sdk-go/private/waiter" ) +// WaitUntilDistributionDeployed uses the CloudFront API operation +// GetDistribution to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *CloudFront) WaitUntilDistributionDeployed(input *GetDistributionInput) error { waiterCfg := waiter.Config{ Operation: "GetDistribution", @@ -29,6 +33,10 @@ func (c *CloudFront) WaitUntilDistributionDeployed(input *GetDistributionInput) return w.Wait() } +// WaitUntilInvalidationCompleted uses the CloudFront API operation +// GetInvalidation to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *CloudFront) WaitUntilInvalidationCompleted(input *GetInvalidationInput) error { waiterCfg := waiter.Config{ Operation: "GetInvalidation", @@ -52,6 +60,10 @@ func (c *CloudFront) WaitUntilInvalidationCompleted(input *GetInvalidationInput) return w.Wait() } +// WaitUntilStreamingDistributionDeployed uses the CloudFront API operation +// GetStreamingDistribution to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *CloudFront) WaitUntilStreamingDistributionDeployed(input *GetStreamingDistributionInput) error { waiterCfg := waiter.Config{ Operation: "GetStreamingDistribution", diff --git a/service/cloudhsm/api.go b/service/cloudhsm/api.go index 18d45bff50e..23e4e7d94f8 100644 --- a/service/cloudhsm/api.go +++ b/service/cloudhsm/api.go @@ -1019,9 +1019,13 @@ type AddTagsToResourceInput struct { _ struct{} `type:"structure"` // The Amazon Resource Name (ARN) of the AWS CloudHSM resource to tag. + // + // ResourceArn is a required field ResourceArn *string `type:"string" required:"true"` // One or more tags. + // + // TagList is a required field TagList []*Tag `type:"list" required:"true"` } @@ -1065,6 +1069,8 @@ type AddTagsToResourceOutput struct { _ struct{} `type:"structure"` // The status of the operation. + // + // Status is a required field Status *string `type:"string" required:"true"` } @@ -1083,6 +1089,8 @@ type CreateHapgInput struct { _ struct{} `type:"structure"` // The label of the new high-availability partition group. + // + // Label is a required field Label *string `type:"string" required:"true"` } @@ -1146,18 +1154,26 @@ type CreateHsmInput struct { // The ARN of an IAM role to enable the AWS CloudHSM service to allocate an // ENI on your behalf. + // + // IamRoleArn is a required field IamRoleArn *string `locationName:"IamRoleArn" type:"string" required:"true"` // The SSH public key to install on the HSM. + // + // SshKey is a required field SshKey *string `locationName:"SshKey" type:"string" required:"true"` // The identifier of the subnet in your VPC in which to place the HSM. + // + // SubnetId is a required field SubnetId *string `locationName:"SubnetId" type:"string" required:"true"` // Specifies the type of subscription for the HSM. // // PRODUCTION - The HSM is being used in a production environment. TRIAL - // The HSM is being used in a product trial. + // + // SubscriptionType is a required field SubscriptionType *string `locationName:"SubscriptionType" type:"string" required:"true" enum:"SubscriptionType"` // The IP address for the syslog monitoring server. The AWS CloudHSM service @@ -1221,6 +1237,8 @@ type CreateLunaClientInput struct { // The contents of a Base64-Encoded X.509 v3 certificate to be installed on // the HSMs used by this client. + // + // Certificate is a required field Certificate *string `min:"600" type:"string" required:"true"` // The label for the client. @@ -1276,6 +1294,8 @@ type DeleteHapgInput struct { _ struct{} `type:"structure"` // The ARN of the high-availability partition group to delete. + // + // HapgArn is a required field HapgArn *string `type:"string" required:"true"` } @@ -1307,6 +1327,8 @@ type DeleteHapgOutput struct { _ struct{} `type:"structure"` // The status of the action. + // + // Status is a required field Status *string `type:"string" required:"true"` } @@ -1325,6 +1347,8 @@ type DeleteHsmInput struct { _ struct{} `locationName:"DeleteHsmRequest" type:"structure"` // The ARN of the HSM to delete. + // + // HsmArn is a required field HsmArn *string `locationName:"HsmArn" type:"string" required:"true"` } @@ -1356,6 +1380,8 @@ type DeleteHsmOutput struct { _ struct{} `type:"structure"` // The status of the operation. + // + // Status is a required field Status *string `type:"string" required:"true"` } @@ -1373,6 +1399,8 @@ type DeleteLunaClientInput struct { _ struct{} `type:"structure"` // The ARN of the client to delete. + // + // ClientArn is a required field ClientArn *string `type:"string" required:"true"` } @@ -1403,6 +1431,8 @@ type DeleteLunaClientOutput struct { _ struct{} `type:"structure"` // The status of the action. + // + // Status is a required field Status *string `type:"string" required:"true"` } @@ -1421,6 +1451,8 @@ type DescribeHapgInput struct { _ struct{} `type:"structure"` // The ARN of the high-availability partition group to describe. + // + // HapgArn is a required field HapgArn *string `type:"string" required:"true"` } @@ -1647,13 +1679,19 @@ type GetConfigInput struct { _ struct{} `type:"structure"` // The ARN of the client. + // + // ClientArn is a required field ClientArn *string `type:"string" required:"true"` // The client version. + // + // ClientVersion is a required field ClientVersion *string `type:"string" required:"true" enum:"ClientVersion"` // A list of ARNs that identify the high-availability partition groups that // are associated with the client. + // + // HapgList is a required field HapgList []*string `type:"list" required:"true"` } @@ -1763,6 +1801,8 @@ type ListHapgsOutput struct { _ struct{} `type:"structure"` // The list of high-availability partition groups. + // + // HapgList is a required field HapgList []*string `type:"list" required:"true"` // If not null, more results are available. Pass this value to ListHapgs to @@ -1842,6 +1882,8 @@ type ListLunaClientsOutput struct { _ struct{} `type:"structure"` // The list of clients. + // + // ClientList is a required field ClientList []*string `type:"list" required:"true"` // If not null, more results are available. Pass this to ListLunaClients to @@ -1863,6 +1905,8 @@ type ListTagsForResourceInput struct { _ struct{} `type:"structure"` // The Amazon Resource Name (ARN) of the AWS CloudHSM resource. + // + // ResourceArn is a required field ResourceArn *string `type:"string" required:"true"` } @@ -1893,6 +1937,8 @@ type ListTagsForResourceOutput struct { _ struct{} `type:"structure"` // One or more tags. + // + // TagList is a required field TagList []*Tag `type:"list" required:"true"` } @@ -1910,6 +1956,8 @@ type ModifyHapgInput struct { _ struct{} `type:"structure"` // The ARN of the high-availability partition group to modify. + // + // HapgArn is a required field HapgArn *string `type:"string" required:"true"` // The new label for the high-availability partition group. @@ -1975,6 +2023,8 @@ type ModifyHsmInput struct { ExternalId *string `locationName:"ExternalId" type:"string"` // The ARN of the HSM to modify. + // + // HsmArn is a required field HsmArn *string `locationName:"HsmArn" type:"string" required:"true"` // The new IAM role ARN. @@ -2034,9 +2084,13 @@ type ModifyLunaClientInput struct { _ struct{} `type:"structure"` // The new certificate for the client. + // + // Certificate is a required field Certificate *string `min:"600" type:"string" required:"true"` // The ARN of the client. + // + // ClientArn is a required field ClientArn *string `type:"string" required:"true"` } @@ -2090,12 +2144,16 @@ type RemoveTagsFromResourceInput struct { _ struct{} `type:"structure"` // The Amazon Resource Name (ARN) of the AWS CloudHSM resource. + // + // ResourceArn is a required field ResourceArn *string `type:"string" required:"true"` // The tag key or keys to remove. // // Specify only the tag key to remove (not the value). To overwrite the value // for an existing tag, use AddTagsToResource. + // + // TagKeyList is a required field TagKeyList []*string `type:"list" required:"true"` } @@ -2129,6 +2187,8 @@ type RemoveTagsFromResourceOutput struct { _ struct{} `type:"structure"` // The status of the operation. + // + // Status is a required field Status *string `type:"string" required:"true"` } @@ -2148,9 +2208,13 @@ type Tag struct { _ struct{} `type:"structure"` // The key of the tag. + // + // Key is a required field Key *string `min:"1" type:"string" required:"true"` // The value of the tag. + // + // Value is a required field Value *string `type:"string" required:"true"` } @@ -2184,35 +2248,44 @@ func (s *Tag) Validate() error { } const ( - // @enum ClientVersion + // ClientVersion51 is a ClientVersion enum value ClientVersion51 = "5.1" - // @enum ClientVersion + + // ClientVersion53 is a ClientVersion enum value ClientVersion53 = "5.3" ) const ( - // @enum CloudHsmObjectState + // CloudHsmObjectStateReady is a CloudHsmObjectState enum value CloudHsmObjectStateReady = "READY" - // @enum CloudHsmObjectState + + // CloudHsmObjectStateUpdating is a CloudHsmObjectState enum value CloudHsmObjectStateUpdating = "UPDATING" - // @enum CloudHsmObjectState + + // CloudHsmObjectStateDegraded is a CloudHsmObjectState enum value CloudHsmObjectStateDegraded = "DEGRADED" ) const ( - // @enum HsmStatus + // HsmStatusPending is a HsmStatus enum value HsmStatusPending = "PENDING" - // @enum HsmStatus + + // HsmStatusRunning is a HsmStatus enum value HsmStatusRunning = "RUNNING" - // @enum HsmStatus + + // HsmStatusUpdating is a HsmStatus enum value HsmStatusUpdating = "UPDATING" - // @enum HsmStatus + + // HsmStatusSuspended is a HsmStatus enum value HsmStatusSuspended = "SUSPENDED" - // @enum HsmStatus + + // HsmStatusTerminating is a HsmStatus enum value HsmStatusTerminating = "TERMINATING" - // @enum HsmStatus + + // HsmStatusTerminated is a HsmStatus enum value HsmStatusTerminated = "TERMINATED" - // @enum HsmStatus + + // HsmStatusDegraded is a HsmStatus enum value HsmStatusDegraded = "DEGRADED" ) @@ -2221,6 +2294,6 @@ const ( // PRODUCTION - The HSM is being used in a production environment. TRIAL - // The HSM is being used in a product trial. const ( - // @enum SubscriptionType + // SubscriptionTypeProduction is a SubscriptionType enum value SubscriptionTypeProduction = "PRODUCTION" ) diff --git a/service/cloudsearch/api.go b/service/cloudsearch/api.go index c90cbe507ca..44122052484 100644 --- a/service/cloudsearch/api.go +++ b/service/cloudsearch/api.go @@ -1260,9 +1260,13 @@ type AccessPoliciesStatus struct { // information, see Configuring Access for a Search Domain (http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-access.html" // target="_blank) in the Amazon CloudSearch Developer Guide. The maximum size // of a policy document is 100 KB. + // + // Options is a required field Options *string `type:"string" required:"true"` // The status of domain configuration option. + // + // Status is a required field Status *OptionStatus `type:"structure" required:"true"` } @@ -1341,10 +1345,14 @@ type AnalysisScheme struct { // An IETF RFC 4646 (http://tools.ietf.org/html/rfc4646" target="_blank) language // code or mul for multiple languages. + // + // AnalysisSchemeLanguage is a required field AnalysisSchemeLanguage *string `type:"string" required:"true" enum:"AnalysisSchemeLanguage"` // Names must begin with a letter and can contain the following characters: // a-z (lowercase), 0-9, and _ (underscore). + // + // AnalysisSchemeName is a required field AnalysisSchemeName *string `min:"1" type:"string" required:"true"` } @@ -1385,9 +1393,13 @@ type AnalysisSchemeStatus struct { // a unique name and specifies the language of the text to be processed. The // following options can be configured for an analysis scheme: Synonyms, Stopwords, // StemmingDictionary, JapaneseTokenizationDictionary and AlgorithmicStemming. + // + // Options is a required field Options *AnalysisScheme `type:"structure" required:"true"` // The status of domain configuration option. + // + // Status is a required field Status *OptionStatus `type:"structure" required:"true"` } @@ -1406,9 +1418,13 @@ type AvailabilityOptionsStatus struct { _ struct{} `type:"structure"` // The availability options configured for the domain. + // + // Options is a required field Options *bool `type:"boolean" required:"true"` // The status of domain configuration option. + // + // Status is a required field Status *OptionStatus `type:"structure" required:"true"` } @@ -1431,6 +1447,8 @@ type BuildSuggestersInput struct { // the domains owned by an account within an AWS region. Domain names start // with a letter or number and can contain the following characters: a-z (lowercase), // 0-9, and - (hyphen). + // + // DomainName is a required field DomainName *string `min:"3" type:"string" required:"true"` } @@ -1487,6 +1505,8 @@ type CreateDomainInput struct { // A name for the domain you are creating. Allowed characters are a-z (lower-case // letters), 0-9, and hyphen (-). Domain names must start with a letter or number // and be at least 3 and no more than 28 characters long. + // + // DomainName is a required field DomainName *string `min:"3" type:"string" required:"true"` } @@ -1637,12 +1657,16 @@ type DefineAnalysisSchemeInput struct { // a unique name and specifies the language of the text to be processed. The // following options can be configured for an analysis scheme: Synonyms, Stopwords, // StemmingDictionary, JapaneseTokenizationDictionary and AlgorithmicStemming. + // + // AnalysisScheme is a required field AnalysisScheme *AnalysisScheme `type:"structure" required:"true"` // A string that represents the name of a domain. Domain names are unique across // the domains owned by an account within an AWS region. Domain names start // with a letter or number and can contain the following characters: a-z (lowercase), // 0-9, and - (hyphen). + // + // DomainName is a required field DomainName *string `min:"3" type:"string" required:"true"` } @@ -1686,6 +1710,8 @@ type DefineAnalysisSchemeOutput struct { _ struct{} `type:"structure"` // The status and configuration of an AnalysisScheme. + // + // AnalysisScheme is a required field AnalysisScheme *AnalysisSchemeStatus `type:"structure" required:"true"` } @@ -1709,11 +1735,15 @@ type DefineExpressionInput struct { // the domains owned by an account within an AWS region. Domain names start // with a letter or number and can contain the following characters: a-z (lowercase), // 0-9, and - (hyphen). + // + // DomainName is a required field DomainName *string `min:"3" type:"string" required:"true"` // A named expression that can be evaluated at search time. Can be used to sort // the search results, define other expressions, or return computed information // in the search results. + // + // Expression is a required field Expression *Expression `type:"structure" required:"true"` } @@ -1757,6 +1787,8 @@ type DefineExpressionOutput struct { _ struct{} `type:"structure"` // The value of an Expression and its current status. + // + // Expression is a required field Expression *ExpressionStatus `type:"structure" required:"true"` } @@ -1779,9 +1811,13 @@ type DefineIndexFieldInput struct { // the domains owned by an account within an AWS region. Domain names start // with a letter or number and can contain the following characters: a-z (lowercase), // 0-9, and - (hyphen). + // + // DomainName is a required field DomainName *string `min:"3" type:"string" required:"true"` // The index field and field options you want to configure. + // + // IndexField is a required field IndexField *IndexField `type:"structure" required:"true"` } @@ -1825,6 +1861,8 @@ type DefineIndexFieldOutput struct { _ struct{} `type:"structure"` // The value of an IndexField and its current status. + // + // IndexField is a required field IndexField *IndexFieldStatus `type:"structure" required:"true"` } @@ -1847,11 +1885,15 @@ type DefineSuggesterInput struct { // the domains owned by an account within an AWS region. Domain names start // with a letter or number and can contain the following characters: a-z (lowercase), // 0-9, and - (hyphen). + // + // DomainName is a required field DomainName *string `min:"3" type:"string" required:"true"` // Configuration information for a search suggester. Each suggester has a unique // name and specifies the text field you want to use for suggestions. The following // options can be configured for a suggester: FuzzyMatching, SortExpression. + // + // Suggester is a required field Suggester *Suggester `type:"structure" required:"true"` } @@ -1895,6 +1937,8 @@ type DefineSuggesterOutput struct { _ struct{} `type:"structure"` // The value of a Suggester and its current status. + // + // Suggester is a required field Suggester *SuggesterStatus `type:"structure" required:"true"` } @@ -1915,12 +1959,16 @@ type DeleteAnalysisSchemeInput struct { _ struct{} `type:"structure"` // The name of the analysis scheme you want to delete. + // + // AnalysisSchemeName is a required field AnalysisSchemeName *string `min:"1" type:"string" required:"true"` // A string that represents the name of a domain. Domain names are unique across // the domains owned by an account within an AWS region. Domain names start // with a letter or number and can contain the following characters: a-z (lowercase), // 0-9, and - (hyphen). + // + // DomainName is a required field DomainName *string `min:"3" type:"string" required:"true"` } @@ -1962,6 +2010,8 @@ type DeleteAnalysisSchemeOutput struct { _ struct{} `type:"structure"` // The status of the analysis scheme being deleted. + // + // AnalysisScheme is a required field AnalysisScheme *AnalysisSchemeStatus `type:"structure" required:"true"` } @@ -1981,6 +2031,8 @@ type DeleteDomainInput struct { _ struct{} `type:"structure"` // The name of the domain you want to permanently delete. + // + // DomainName is a required field DomainName *string `min:"3" type:"string" required:"true"` } @@ -2039,9 +2091,13 @@ type DeleteExpressionInput struct { // the domains owned by an account within an AWS region. Domain names start // with a letter or number and can contain the following characters: a-z (lowercase), // 0-9, and - (hyphen). + // + // DomainName is a required field DomainName *string `min:"3" type:"string" required:"true"` // The name of the Expression to delete. + // + // ExpressionName is a required field ExpressionName *string `min:"1" type:"string" required:"true"` } @@ -2083,6 +2139,8 @@ type DeleteExpressionOutput struct { _ struct{} `type:"structure"` // The status of the expression being deleted. + // + // Expression is a required field Expression *ExpressionStatus `type:"structure" required:"true"` } @@ -2106,10 +2164,14 @@ type DeleteIndexFieldInput struct { // the domains owned by an account within an AWS region. Domain names start // with a letter or number and can contain the following characters: a-z (lowercase), // 0-9, and - (hyphen). + // + // DomainName is a required field DomainName *string `min:"3" type:"string" required:"true"` // The name of the index field your want to remove from the domain's indexing // options. + // + // IndexFieldName is a required field IndexFieldName *string `min:"1" type:"string" required:"true"` } @@ -2150,6 +2212,8 @@ type DeleteIndexFieldOutput struct { _ struct{} `type:"structure"` // The status of the index field being deleted. + // + // IndexField is a required field IndexField *IndexFieldStatus `type:"structure" required:"true"` } @@ -2173,9 +2237,13 @@ type DeleteSuggesterInput struct { // the domains owned by an account within an AWS region. Domain names start // with a letter or number and can contain the following characters: a-z (lowercase), // 0-9, and - (hyphen). + // + // DomainName is a required field DomainName *string `min:"3" type:"string" required:"true"` // Specifies the name of the suggester you want to delete. + // + // SuggesterName is a required field SuggesterName *string `min:"1" type:"string" required:"true"` } @@ -2217,6 +2285,8 @@ type DeleteSuggesterOutput struct { _ struct{} `type:"structure"` // The status of the suggester being deleted. + // + // Suggester is a required field Suggester *SuggesterStatus `type:"structure" required:"true"` } @@ -2246,6 +2316,8 @@ type DescribeAnalysisSchemesInput struct { Deployed *bool `type:"boolean"` // The name of the domain you want to describe. + // + // DomainName is a required field DomainName *string `min:"3" type:"string" required:"true"` } @@ -2281,6 +2353,8 @@ type DescribeAnalysisSchemesOutput struct { _ struct{} `type:"structure"` // The analysis scheme descriptions. + // + // AnalysisSchemes is a required field AnalysisSchemes []*AnalysisSchemeStatus `type:"list" required:"true"` } @@ -2306,6 +2380,8 @@ type DescribeAvailabilityOptionsInput struct { Deployed *bool `type:"boolean"` // The name of the domain you want to describe. + // + // DomainName is a required field DomainName *string `min:"3" type:"string" required:"true"` } @@ -2381,6 +2457,8 @@ type DescribeDomainsOutput struct { _ struct{} `type:"structure"` // A list that contains the status of each requested domain. + // + // DomainStatusList is a required field DomainStatusList []*DomainStatus `type:"list" required:"true"` } @@ -2407,6 +2485,8 @@ type DescribeExpressionsInput struct { Deployed *bool `type:"boolean"` // The name of the domain you want to describe. + // + // DomainName is a required field DomainName *string `min:"3" type:"string" required:"true"` // Limits the DescribeExpressions response to the specified expressions. If @@ -2446,6 +2526,8 @@ type DescribeExpressionsOutput struct { _ struct{} `type:"structure"` // The expressions configured for the domain. + // + // Expressions is a required field Expressions []*ExpressionStatus `type:"list" required:"true"` } @@ -2472,6 +2554,8 @@ type DescribeIndexFieldsInput struct { Deployed *bool `type:"boolean"` // The name of the domain you want to describe. + // + // DomainName is a required field DomainName *string `min:"3" type:"string" required:"true"` // A list of the index fields you want to describe. If not specified, information @@ -2511,6 +2595,8 @@ type DescribeIndexFieldsOutput struct { _ struct{} `type:"structure"` // The index fields configured for the domain. + // + // IndexFields is a required field IndexFields []*IndexFieldStatus `type:"list" required:"true"` } @@ -2533,6 +2619,8 @@ type DescribeScalingParametersInput struct { // the domains owned by an account within an AWS region. Domain names start // with a letter or number and can contain the following characters: a-z (lowercase), // 0-9, and - (hyphen). + // + // DomainName is a required field DomainName *string `min:"3" type:"string" required:"true"` } @@ -2568,6 +2656,8 @@ type DescribeScalingParametersOutput struct { _ struct{} `type:"structure"` // The status and configuration of a search domain's scaling parameters. + // + // ScalingParameters is a required field ScalingParameters *ScalingParametersStatus `type:"structure" required:"true"` } @@ -2593,6 +2683,8 @@ type DescribeServiceAccessPoliciesInput struct { Deployed *bool `type:"boolean"` // The name of the domain you want to describe. + // + // DomainName is a required field DomainName *string `min:"3" type:"string" required:"true"` } @@ -2627,6 +2719,8 @@ type DescribeServiceAccessPoliciesOutput struct { _ struct{} `type:"structure"` // The access rules configured for the domain specified in the request. + // + // AccessPolicies is a required field AccessPolicies *AccessPoliciesStatus `type:"structure" required:"true"` } @@ -2653,6 +2747,8 @@ type DescribeSuggestersInput struct { Deployed *bool `type:"boolean"` // The name of the domain you want to describe. + // + // DomainName is a required field DomainName *string `min:"3" type:"string" required:"true"` // The suggesters you want to describe. @@ -2690,6 +2786,8 @@ type DescribeSuggestersOutput struct { _ struct{} `type:"structure"` // The suggesters configured for the domain specified in the request. + // + // Suggesters is a required field Suggesters []*SuggesterStatus `type:"list" required:"true"` } @@ -2724,6 +2822,8 @@ type DocumentSuggesterOptions struct { SortExpression *string `type:"string"` // The name of the index field you want to use for suggestions. + // + // SourceField is a required field SourceField *string `min:"1" type:"string" required:"true"` } @@ -2778,12 +2878,16 @@ type DomainStatus struct { DocService *ServiceEndpoint `type:"structure"` // An internally generated unique identifier for a domain. + // + // DomainId is a required field DomainId *string `min:"1" type:"string" required:"true"` // A string that represents the name of a domain. Domain names are unique across // the domains owned by an account within an AWS region. Domain names start // with a letter or number and can contain the following characters: a-z (lowercase), // 0-9, and - (hyphen). + // + // DomainName is a required field DomainName *string `min:"3" type:"string" required:"true"` Limits *Limits `type:"structure"` @@ -2793,6 +2897,8 @@ type DomainStatus struct { // True if IndexDocuments needs to be called to activate the current domain // configuration. + // + // RequiresIndexDocuments is a required field RequiresIndexDocuments *bool `type:"boolean" required:"true"` // The number of search instances that are available to process search requests. @@ -2907,12 +3013,16 @@ type Expression struct { // Names must begin with a letter and can contain the following characters: // a-z (lowercase), 0-9, and _ (underscore). + // + // ExpressionName is a required field ExpressionName *string `min:"1" type:"string" required:"true"` // The expression to evaluate for sorting while processing a search request. // The Expression syntax is based on JavaScript expressions. For more information, // see Configuring Expressions (http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-expressions.html" // target="_blank) in the Amazon CloudSearch Developer Guide. + // + // ExpressionValue is a required field ExpressionValue *string `min:"1" type:"string" required:"true"` } @@ -2953,9 +3063,13 @@ type ExpressionStatus struct { _ struct{} `type:"structure"` // The expression that is evaluated for sorting while processing a search request. + // + // Options is a required field Options *Expression `type:"structure" required:"true"` // The status of domain configuration option. + // + // Status is a required field Status *OptionStatus `type:"structure" required:"true"` } @@ -2978,6 +3092,8 @@ type IndexDocumentsInput struct { // the domains owned by an account within an AWS region. Domain names start // with a letter or number and can contain the following characters: a-z (lowercase), // 0-9, and - (hyphen). + // + // DomainName is a required field DomainName *string `min:"3" type:"string" required:"true"` } @@ -3064,12 +3180,16 @@ type IndexField struct { // // The name score is reserved and cannot be used as a field name. To reference // a document's ID, you can use the name _id. + // + // IndexFieldName is a required field IndexFieldName *string `min:"1" type:"string" required:"true"` // The type of field. The valid options for a field depend on the field type. // For more information about the supported field types, see Configuring Index // Fields (http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-index-fields.html" // target="_blank) in the Amazon CloudSearch Developer Guide. + // + // IndexFieldType is a required field IndexFieldType *string `type:"string" required:"true" enum:"IndexFieldType"` // Options for a field that contains an array of 64-bit signed integers. Present @@ -3171,9 +3291,13 @@ type IndexFieldStatus struct { // Configuration information for a field in the index, including its name, type, // and options. The supported options depend on the IndexFieldType. + // + // Options is a required field Options *IndexField `type:"structure" required:"true"` // The status of domain configuration option. + // + // Status is a required field Status *OptionStatus `type:"structure" required:"true"` } @@ -3332,8 +3456,10 @@ func (s *LatLonOptions) Validate() error { type Limits struct { _ struct{} `type:"structure"` + // MaximumPartitionCount is a required field MaximumPartitionCount *int64 `min:"1" type:"integer" required:"true"` + // MaximumReplicationCount is a required field MaximumReplicationCount *int64 `min:"1" type:"integer" required:"true"` } @@ -3477,6 +3603,8 @@ type OptionStatus struct { _ struct{} `type:"structure"` // A timestamp for when this option was created. + // + // CreationDate is a required field CreationDate *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"` // Indicates that the option will be deleted once processing is complete. @@ -3491,9 +3619,13 @@ type OptionStatus struct { // option value is not compatible with the domain's data and cannot be used // to index the data. You must either modify the option value or update or remove // the incompatible documents. + // + // State is a required field State *string `type:"string" required:"true" enum:"OptionState"` // A timestamp for when this option was last updated. + // + // UpdateDate is a required field UpdateDate *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"` // A unique integer that indicates when this option was last updated. @@ -3541,9 +3673,13 @@ type ScalingParametersStatus struct { _ struct{} `type:"structure"` // The desired instance type and desired number of replicas of each index partition. + // + // Options is a required field Options *ScalingParameters `type:"structure" required:"true"` // The status of domain configuration option. + // + // Status is a required field Status *OptionStatus `type:"structure" required:"true"` } @@ -3583,10 +3719,14 @@ type Suggester struct { _ struct{} `type:"structure"` // Options for a search suggester. + // + // DocumentSuggesterOptions is a required field DocumentSuggesterOptions *DocumentSuggesterOptions `type:"structure" required:"true"` // Names must begin with a letter and can contain the following characters: // a-z (lowercase), 0-9, and _ (underscore). + // + // SuggesterName is a required field SuggesterName *string `min:"1" type:"string" required:"true"` } @@ -3631,9 +3771,13 @@ type SuggesterStatus struct { // Configuration information for a search suggester. Each suggester has a unique // name and specifies the text field you want to use for suggestions. The following // options can be configured for a suggester: FuzzyMatching, SortExpression. + // + // Options is a required field Options *Suggester `type:"structure" required:"true"` // The status of domain configuration option. + // + // Status is a required field Status *OptionStatus `type:"structure" required:"true"` } @@ -3750,12 +3894,16 @@ type UpdateAvailabilityOptionsInput struct { // the domains owned by an account within an AWS region. Domain names start // with a letter or number and can contain the following characters: a-z (lowercase), // 0-9, and - (hyphen). + // + // DomainName is a required field DomainName *string `min:"3" type:"string" required:"true"` // You expand an existing search domain to a second Availability Zone by setting // the Multi-AZ option to true. Similarly, you can turn off the Multi-AZ option // to downgrade the domain to a single Availability Zone by setting the Multi-AZ // option to false. + // + // MultiAZ is a required field MultiAZ *bool `type:"boolean" required:"true"` } @@ -3818,9 +3966,13 @@ type UpdateScalingParametersInput struct { // the domains owned by an account within an AWS region. Domain names start // with a letter or number and can contain the following characters: a-z (lowercase), // 0-9, and - (hyphen). + // + // DomainName is a required field DomainName *string `min:"3" type:"string" required:"true"` // The desired instance type and desired number of replicas of each index partition. + // + // ScalingParameters is a required field ScalingParameters *ScalingParameters `type:"structure" required:"true"` } @@ -3859,6 +4011,8 @@ type UpdateScalingParametersOutput struct { _ struct{} `type:"structure"` // The status and configuration of a search domain's scaling parameters. + // + // ScalingParameters is a required field ScalingParameters *ScalingParametersStatus `type:"structure" required:"true"` } @@ -3880,12 +4034,16 @@ type UpdateServiceAccessPoliciesInput struct { // The access rules you want to configure. These rules replace any existing // rules. + // + // AccessPolicies is a required field AccessPolicies *string `type:"string" required:"true"` // A string that represents the name of a domain. Domain names are unique across // the domains owned by an account within an AWS region. Domain names start // with a letter or number and can contain the following characters: a-z (lowercase), // 0-9, and - (hyphen). + // + // DomainName is a required field DomainName *string `min:"3" type:"string" required:"true"` } @@ -3924,6 +4082,8 @@ type UpdateServiceAccessPoliciesOutput struct { _ struct{} `type:"structure"` // The access rules configured for the domain. + // + // AccessPolicies is a required field AccessPolicies *AccessPoliciesStatus `type:"structure" required:"true"` } @@ -3938,88 +4098,125 @@ func (s UpdateServiceAccessPoliciesOutput) GoString() string { } const ( - // @enum AlgorithmicStemming + // AlgorithmicStemmingNone is a AlgorithmicStemming enum value AlgorithmicStemmingNone = "none" - // @enum AlgorithmicStemming + + // AlgorithmicStemmingMinimal is a AlgorithmicStemming enum value AlgorithmicStemmingMinimal = "minimal" - // @enum AlgorithmicStemming + + // AlgorithmicStemmingLight is a AlgorithmicStemming enum value AlgorithmicStemmingLight = "light" - // @enum AlgorithmicStemming + + // AlgorithmicStemmingFull is a AlgorithmicStemming enum value AlgorithmicStemmingFull = "full" ) // An IETF RFC 4646 (http://tools.ietf.org/html/rfc4646" target="_blank) language // code or mul for multiple languages. const ( - // @enum AnalysisSchemeLanguage + // AnalysisSchemeLanguageAr is a AnalysisSchemeLanguage enum value AnalysisSchemeLanguageAr = "ar" - // @enum AnalysisSchemeLanguage + + // AnalysisSchemeLanguageBg is a AnalysisSchemeLanguage enum value AnalysisSchemeLanguageBg = "bg" - // @enum AnalysisSchemeLanguage + + // AnalysisSchemeLanguageCa is a AnalysisSchemeLanguage enum value AnalysisSchemeLanguageCa = "ca" - // @enum AnalysisSchemeLanguage + + // AnalysisSchemeLanguageCs is a AnalysisSchemeLanguage enum value AnalysisSchemeLanguageCs = "cs" - // @enum AnalysisSchemeLanguage + + // AnalysisSchemeLanguageDa is a AnalysisSchemeLanguage enum value AnalysisSchemeLanguageDa = "da" - // @enum AnalysisSchemeLanguage + + // AnalysisSchemeLanguageDe is a AnalysisSchemeLanguage enum value AnalysisSchemeLanguageDe = "de" - // @enum AnalysisSchemeLanguage + + // AnalysisSchemeLanguageEl is a AnalysisSchemeLanguage enum value AnalysisSchemeLanguageEl = "el" - // @enum AnalysisSchemeLanguage + + // AnalysisSchemeLanguageEn is a AnalysisSchemeLanguage enum value AnalysisSchemeLanguageEn = "en" - // @enum AnalysisSchemeLanguage + + // AnalysisSchemeLanguageEs is a AnalysisSchemeLanguage enum value AnalysisSchemeLanguageEs = "es" - // @enum AnalysisSchemeLanguage + + // AnalysisSchemeLanguageEu is a AnalysisSchemeLanguage enum value AnalysisSchemeLanguageEu = "eu" - // @enum AnalysisSchemeLanguage + + // AnalysisSchemeLanguageFa is a AnalysisSchemeLanguage enum value AnalysisSchemeLanguageFa = "fa" - // @enum AnalysisSchemeLanguage + + // AnalysisSchemeLanguageFi is a AnalysisSchemeLanguage enum value AnalysisSchemeLanguageFi = "fi" - // @enum AnalysisSchemeLanguage + + // AnalysisSchemeLanguageFr is a AnalysisSchemeLanguage enum value AnalysisSchemeLanguageFr = "fr" - // @enum AnalysisSchemeLanguage + + // AnalysisSchemeLanguageGa is a AnalysisSchemeLanguage enum value AnalysisSchemeLanguageGa = "ga" - // @enum AnalysisSchemeLanguage + + // AnalysisSchemeLanguageGl is a AnalysisSchemeLanguage enum value AnalysisSchemeLanguageGl = "gl" - // @enum AnalysisSchemeLanguage + + // AnalysisSchemeLanguageHe is a AnalysisSchemeLanguage enum value AnalysisSchemeLanguageHe = "he" - // @enum AnalysisSchemeLanguage + + // AnalysisSchemeLanguageHi is a AnalysisSchemeLanguage enum value AnalysisSchemeLanguageHi = "hi" - // @enum AnalysisSchemeLanguage + + // AnalysisSchemeLanguageHu is a AnalysisSchemeLanguage enum value AnalysisSchemeLanguageHu = "hu" - // @enum AnalysisSchemeLanguage + + // AnalysisSchemeLanguageHy is a AnalysisSchemeLanguage enum value AnalysisSchemeLanguageHy = "hy" - // @enum AnalysisSchemeLanguage + + // AnalysisSchemeLanguageId is a AnalysisSchemeLanguage enum value AnalysisSchemeLanguageId = "id" - // @enum AnalysisSchemeLanguage + + // AnalysisSchemeLanguageIt is a AnalysisSchemeLanguage enum value AnalysisSchemeLanguageIt = "it" - // @enum AnalysisSchemeLanguage + + // AnalysisSchemeLanguageJa is a AnalysisSchemeLanguage enum value AnalysisSchemeLanguageJa = "ja" - // @enum AnalysisSchemeLanguage + + // AnalysisSchemeLanguageKo is a AnalysisSchemeLanguage enum value AnalysisSchemeLanguageKo = "ko" - // @enum AnalysisSchemeLanguage + + // AnalysisSchemeLanguageLv is a AnalysisSchemeLanguage enum value AnalysisSchemeLanguageLv = "lv" - // @enum AnalysisSchemeLanguage + + // AnalysisSchemeLanguageMul is a AnalysisSchemeLanguage enum value AnalysisSchemeLanguageMul = "mul" - // @enum AnalysisSchemeLanguage + + // AnalysisSchemeLanguageNl is a AnalysisSchemeLanguage enum value AnalysisSchemeLanguageNl = "nl" - // @enum AnalysisSchemeLanguage + + // AnalysisSchemeLanguageNo is a AnalysisSchemeLanguage enum value AnalysisSchemeLanguageNo = "no" - // @enum AnalysisSchemeLanguage + + // AnalysisSchemeLanguagePt is a AnalysisSchemeLanguage enum value AnalysisSchemeLanguagePt = "pt" - // @enum AnalysisSchemeLanguage + + // AnalysisSchemeLanguageRo is a AnalysisSchemeLanguage enum value AnalysisSchemeLanguageRo = "ro" - // @enum AnalysisSchemeLanguage + + // AnalysisSchemeLanguageRu is a AnalysisSchemeLanguage enum value AnalysisSchemeLanguageRu = "ru" - // @enum AnalysisSchemeLanguage + + // AnalysisSchemeLanguageSv is a AnalysisSchemeLanguage enum value AnalysisSchemeLanguageSv = "sv" - // @enum AnalysisSchemeLanguage + + // AnalysisSchemeLanguageTh is a AnalysisSchemeLanguage enum value AnalysisSchemeLanguageTh = "th" - // @enum AnalysisSchemeLanguage + + // AnalysisSchemeLanguageTr is a AnalysisSchemeLanguage enum value AnalysisSchemeLanguageTr = "tr" - // @enum AnalysisSchemeLanguage + + // AnalysisSchemeLanguageZhHans is a AnalysisSchemeLanguage enum value AnalysisSchemeLanguageZhHans = "zh-Hans" - // @enum AnalysisSchemeLanguage + + // AnalysisSchemeLanguageZhHant is a AnalysisSchemeLanguage enum value AnalysisSchemeLanguageZhHant = "zh-Hant" ) @@ -4028,27 +4225,37 @@ const ( // Fields (http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-index-fields.html" // target="_blank) in the Amazon CloudSearch Developer Guide. const ( - // @enum IndexFieldType + // IndexFieldTypeInt is a IndexFieldType enum value IndexFieldTypeInt = "int" - // @enum IndexFieldType + + // IndexFieldTypeDouble is a IndexFieldType enum value IndexFieldTypeDouble = "double" - // @enum IndexFieldType + + // IndexFieldTypeLiteral is a IndexFieldType enum value IndexFieldTypeLiteral = "literal" - // @enum IndexFieldType + + // IndexFieldTypeText is a IndexFieldType enum value IndexFieldTypeText = "text" - // @enum IndexFieldType + + // IndexFieldTypeDate is a IndexFieldType enum value IndexFieldTypeDate = "date" - // @enum IndexFieldType + + // IndexFieldTypeLatlon is a IndexFieldType enum value IndexFieldTypeLatlon = "latlon" - // @enum IndexFieldType + + // IndexFieldTypeIntArray is a IndexFieldType enum value IndexFieldTypeIntArray = "int-array" - // @enum IndexFieldType + + // IndexFieldTypeDoubleArray is a IndexFieldType enum value IndexFieldTypeDoubleArray = "double-array" - // @enum IndexFieldType + + // IndexFieldTypeLiteralArray is a IndexFieldType enum value IndexFieldTypeLiteralArray = "literal-array" - // @enum IndexFieldType + + // IndexFieldTypeTextArray is a IndexFieldType enum value IndexFieldTypeTextArray = "text-array" - // @enum IndexFieldType + + // IndexFieldTypeDateArray is a IndexFieldType enum value IndexFieldTypeDateArray = "date-array" ) @@ -4062,42 +4269,54 @@ const ( // data. You must either modify the option value or update or remove the incompatible // documents. const ( - // @enum OptionState + // OptionStateRequiresIndexDocuments is a OptionState enum value OptionStateRequiresIndexDocuments = "RequiresIndexDocuments" - // @enum OptionState + + // OptionStateProcessing is a OptionState enum value OptionStateProcessing = "Processing" - // @enum OptionState + + // OptionStateActive is a OptionState enum value OptionStateActive = "Active" - // @enum OptionState + + // OptionStateFailedToValidate is a OptionState enum value OptionStateFailedToValidate = "FailedToValidate" ) // The instance type (such as search.m1.small) on which an index partition is // hosted. const ( - // @enum PartitionInstanceType + // PartitionInstanceTypeSearchM1Small is a PartitionInstanceType enum value PartitionInstanceTypeSearchM1Small = "search.m1.small" - // @enum PartitionInstanceType + + // PartitionInstanceTypeSearchM1Large is a PartitionInstanceType enum value PartitionInstanceTypeSearchM1Large = "search.m1.large" - // @enum PartitionInstanceType + + // PartitionInstanceTypeSearchM2Xlarge is a PartitionInstanceType enum value PartitionInstanceTypeSearchM2Xlarge = "search.m2.xlarge" - // @enum PartitionInstanceType + + // PartitionInstanceTypeSearchM22xlarge is a PartitionInstanceType enum value PartitionInstanceTypeSearchM22xlarge = "search.m2.2xlarge" - // @enum PartitionInstanceType + + // PartitionInstanceTypeSearchM3Medium is a PartitionInstanceType enum value PartitionInstanceTypeSearchM3Medium = "search.m3.medium" - // @enum PartitionInstanceType + + // PartitionInstanceTypeSearchM3Large is a PartitionInstanceType enum value PartitionInstanceTypeSearchM3Large = "search.m3.large" - // @enum PartitionInstanceType + + // PartitionInstanceTypeSearchM3Xlarge is a PartitionInstanceType enum value PartitionInstanceTypeSearchM3Xlarge = "search.m3.xlarge" - // @enum PartitionInstanceType + + // PartitionInstanceTypeSearchM32xlarge is a PartitionInstanceType enum value PartitionInstanceTypeSearchM32xlarge = "search.m3.2xlarge" ) const ( - // @enum SuggesterFuzzyMatching + // SuggesterFuzzyMatchingNone is a SuggesterFuzzyMatching enum value SuggesterFuzzyMatchingNone = "none" - // @enum SuggesterFuzzyMatching + + // SuggesterFuzzyMatchingLow is a SuggesterFuzzyMatching enum value SuggesterFuzzyMatchingLow = "low" - // @enum SuggesterFuzzyMatching + + // SuggesterFuzzyMatchingHigh is a SuggesterFuzzyMatching enum value SuggesterFuzzyMatchingHigh = "high" ) diff --git a/service/cloudsearchdomain/api.go b/service/cloudsearchdomain/api.go index 0510f298cc4..c98ace0e576 100644 --- a/service/cloudsearchdomain/api.go +++ b/service/cloudsearchdomain/api.go @@ -525,6 +525,8 @@ type SearchInput struct { // For more information about specifying search criteria, see Searching Your // Data (http://docs.aws.amazon.com/cloudsearch/latest/developerguide/searching.html) // in the Amazon CloudSearch Developer Guide. + // + // Query is a required field Query *string `location:"querystring" locationName:"q" type:"string" required:"true"` // Configures options for the query parser specified in the queryParser parameter. @@ -751,12 +753,16 @@ type SuggestInput struct { _ struct{} `type:"structure"` // Specifies the string for which you want to get suggestions. + // + // Query is a required field Query *string `location:"querystring" locationName:"q" type:"string" required:"true"` // Specifies the maximum number of suggestions to return. Size *int64 `location:"querystring" locationName:"size" type:"long"` // Specifies the name of the suggester to use to find suggested matches. + // + // Suggester is a required field Suggester *string `location:"querystring" locationName:"suggester" type:"string" required:"true"` } @@ -886,9 +892,13 @@ type UploadDocumentsInput struct { // document batch formats: // // application/json application/xml + // + // ContentType is a required field ContentType *string `location:"header" locationName:"Content-Type" type:"string" required:"true" enum:"ContentType"` // A batch of documents formatted in JSON or HTML. + // + // Documents is a required field Documents io.ReadSeeker `locationName:"documents" type:"blob" required:"true"` } @@ -946,19 +956,23 @@ func (s UploadDocumentsOutput) GoString() string { } const ( - // @enum ContentType + // ContentTypeApplicationJson is a ContentType enum value ContentTypeApplicationJson = "application/json" - // @enum ContentType + + // ContentTypeApplicationXml is a ContentType enum value ContentTypeApplicationXml = "application/xml" ) const ( - // @enum QueryParser + // QueryParserSimple is a QueryParser enum value QueryParserSimple = "simple" - // @enum QueryParser + + // QueryParserStructured is a QueryParser enum value QueryParserStructured = "structured" - // @enum QueryParser + + // QueryParserLucene is a QueryParser enum value QueryParserLucene = "lucene" - // @enum QueryParser + + // QueryParserDismax is a QueryParser enum value QueryParserDismax = "dismax" ) diff --git a/service/cloudtrail/api.go b/service/cloudtrail/api.go index de18a11ca41..6a2f86d9c0d 100644 --- a/service/cloudtrail/api.go +++ b/service/cloudtrail/api.go @@ -646,6 +646,8 @@ type AddTagsInput struct { // format of a trail ARN is: // // arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail + // + // ResourceId is a required field ResourceId *string `type:"string" required:"true"` // Contains a list of CloudTrail tags, up to a limit of 10. @@ -763,10 +765,14 @@ type CreateTrailInput struct { // and my--namespace are invalid. // // Not be in IP address format (for example, 192.168.5.4) + // + // Name is a required field Name *string `type:"string" required:"true"` // Specifies the name of the Amazon S3 bucket designated for publishing log // files. See Amazon S3 Bucket Naming Requirements (http://docs.aws.amazon.com/awscloudtrail/latest/userguide/create_trail_naming_policy.html). + // + // S3BucketName is a required field S3BucketName *string `type:"string" required:"true"` // Specifies the Amazon S3 key prefix that comes after the name of the bucket @@ -881,6 +887,8 @@ type DeleteTrailInput struct { // format of a trail ARN is: // // arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail + // + // Name is a required field Name *string `type:"string" required:"true"` } @@ -1027,6 +1035,8 @@ type GetTrailStatusInput struct { // another region), you must specify its ARN. The format of a trail ARN is: // // arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail + // + // Name is a required field Name *string `type:"string" required:"true"` } @@ -1207,6 +1217,8 @@ type ListTagsInput struct { // limit of 20 ARNs. The format of a trail ARN is: // // arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail + // + // ResourceIdList is a required field ResourceIdList []*string `type:"list" required:"true"` } @@ -1260,9 +1272,13 @@ type LookupAttribute struct { _ struct{} `type:"structure"` // Specifies an attribute on which to filter the events returned. + // + // AttributeKey is a required field AttributeKey *string `type:"string" required:"true" enum:"LookupAttributeKey"` // Specifies a value for the specified AttributeKey. + // + // AttributeValue is a required field AttributeValue *string `type:"string" required:"true"` } @@ -1419,6 +1435,8 @@ type RemoveTagsInput struct { // of a trail ARN is: // // arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail + // + // ResourceId is a required field ResourceId *string `type:"string" required:"true"` // Specifies a list of tags to be removed. @@ -1531,6 +1549,8 @@ type StartLoggingInput struct { // logs AWS API calls. The format of a trail ARN is: // // arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail + // + // Name is a required field Name *string `type:"string" required:"true"` } @@ -1582,6 +1602,8 @@ type StopLoggingInput struct { // will stop logging AWS API calls. The format of a trail ARN is: // // arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail + // + // Name is a required field Name *string `type:"string" required:"true"` } @@ -1630,6 +1652,8 @@ type Tag struct { // The key in a key-value pair. The key must be must be no longer than 128 Unicode // characters. The key must be unique for the resource to which it applies. + // + // Key is a required field Key *string `type:"string" required:"true"` // The value in a key-value pair of a tag. The value must be no longer than @@ -1799,6 +1823,8 @@ type UpdateTrailInput struct { // If Name is a trail ARN, it must be in the format: // // arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail + // + // Name is a required field Name *string `type:"string" required:"true"` // Specifies the name of the Amazon S3 bucket designated for publishing log @@ -1907,14 +1933,18 @@ func (s UpdateTrailOutput) GoString() string { } const ( - // @enum LookupAttributeKey + // LookupAttributeKeyEventId is a LookupAttributeKey enum value LookupAttributeKeyEventId = "EventId" - // @enum LookupAttributeKey + + // LookupAttributeKeyEventName is a LookupAttributeKey enum value LookupAttributeKeyEventName = "EventName" - // @enum LookupAttributeKey + + // LookupAttributeKeyUsername is a LookupAttributeKey enum value LookupAttributeKeyUsername = "Username" - // @enum LookupAttributeKey + + // LookupAttributeKeyResourceType is a LookupAttributeKey enum value LookupAttributeKeyResourceType = "ResourceType" - // @enum LookupAttributeKey + + // LookupAttributeKeyResourceName is a LookupAttributeKey enum value LookupAttributeKeyResourceName = "ResourceName" ) diff --git a/service/cloudwatch/api.go b/service/cloudwatch/api.go index 79958fea317..ad0df5ef747 100644 --- a/service/cloudwatch/api.go +++ b/service/cloudwatch/api.go @@ -832,6 +832,8 @@ type DeleteAlarmsInput struct { _ struct{} `type:"structure"` // A list of alarms to be deleted. + // + // AlarmNames is a required field AlarmNames []*string `type:"list" required:"true"` } @@ -953,9 +955,13 @@ type DescribeAlarmsForMetricInput struct { Dimensions []*Dimension `type:"list"` // The name of the metric. + // + // MetricName is a required field MetricName *string `min:"1" type:"string" required:"true"` // The namespace of the metric. + // + // Namespace is a required field Namespace *string `min:"1" type:"string" required:"true"` // The period in seconds over which the statistic is applied. @@ -1114,9 +1120,13 @@ type Dimension struct { _ struct{} `type:"structure"` // The name of the dimension. + // + // Name is a required field Name *string `min:"1" type:"string" required:"true"` // The value representing the dimension measurement + // + // Value is a required field Value *string `min:"1" type:"string" required:"true"` } @@ -1157,6 +1167,8 @@ type DimensionFilter struct { _ struct{} `type:"structure"` // The dimension name to be matched. + // + // Name is a required field Name *string `min:"1" type:"string" required:"true"` // The value of the dimension to be matched. @@ -1199,6 +1211,8 @@ type DisableAlarmActionsInput struct { _ struct{} `type:"structure"` // The names of the alarms to disable actions for. + // + // AlarmNames is a required field AlarmNames []*string `type:"list" required:"true"` } @@ -1244,6 +1258,8 @@ type EnableAlarmActionsInput struct { _ struct{} `type:"structure"` // The names of the alarms to enable actions for. + // + // AlarmNames is a required field AlarmNames []*string `type:"list" required:"true"` } @@ -1294,17 +1310,25 @@ type GetMetricStatisticsInput struct { // The time stamp to use for determining the last datapoint to return. The value // specified is exclusive; results will include datapoints up to the time stamp // specified. The time stamp must be in ISO 8601 UTC format (e.g., 2014-09-03T23:00:00Z). + // + // EndTime is a required field EndTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"` // The name of the metric, with or without spaces. + // + // MetricName is a required field MetricName *string `min:"1" type:"string" required:"true"` // The namespace of the metric, with or without spaces. + // + // Namespace is a required field Namespace *string `min:"1" type:"string" required:"true"` // The granularity, in seconds, of the returned datapoints. A Period can be // as short as one minute (60 seconds) or as long as one day (86,400 seconds), // and must be a multiple of 60. The default value is 60. + // + // Period is a required field Period *int64 `min:"60" type:"integer" required:"true"` // The time stamp to use for determining the first datapoint to return. The @@ -1318,11 +1342,15 @@ type GetMetricStatisticsInput struct { // // Data that is timestamped 24 hours or more in the past may take in excess // of 48 hours to become available from submission time using GetMetricStatistics. + // + // StartTime is a required field StartTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"` // The metric statistics to return. For information about specific statistics // returned by GetMetricStatistics, see Statistics (http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/cloudwatch_concepts.html#Statistic) // in the Amazon CloudWatch Developer Guide. + // + // Statistics is a required field Statistics []*string `min:"1" type:"list" required:"true"` // The specific unit for a given metric. Metrics may be reported in multiple @@ -1617,6 +1645,8 @@ type MetricDatum struct { Dimensions []*Dimension `type:"list"` // The name of the metric. + // + // MetricName is a required field MetricName *string `min:"1" type:"string" required:"true"` // A set of statistical values describing the metric. @@ -1711,16 +1741,22 @@ type PutMetricAlarmInput struct { // The descriptive name for the alarm. This name must be unique within the user's // AWS account + // + // AlarmName is a required field AlarmName *string `min:"1" type:"string" required:"true"` // The arithmetic operation to use when comparing the specified Statistic and // Threshold. The specified Statistic value is used as the first operand. + // + // ComparisonOperator is a required field ComparisonOperator *string `type:"string" required:"true" enum:"ComparisonOperator"` // The dimensions for the alarm's associated metric. Dimensions []*Dimension `type:"list"` // The number of periods over which data is compared to the specified threshold. + // + // EvaluationPeriods is a required field EvaluationPeriods *int64 `min:"1" type:"integer" required:"true"` // The list of actions to execute when this alarm transitions into an INSUFFICIENT_DATA @@ -1741,9 +1777,13 @@ type PutMetricAlarmInput struct { InsufficientDataActions []*string `type:"list"` // The name for the alarm's associated metric. + // + // MetricName is a required field MetricName *string `min:"1" type:"string" required:"true"` // The namespace for the alarm's associated metric. + // + // Namespace is a required field Namespace *string `min:"1" type:"string" required:"true"` // The list of actions to execute when this alarm transitions into an OK state @@ -1764,12 +1804,18 @@ type PutMetricAlarmInput struct { OKActions []*string `type:"list"` // The period in seconds over which the specified statistic is applied. + // + // Period is a required field Period *int64 `min:"60" type:"integer" required:"true"` // The statistic to apply to the alarm's associated metric. + // + // Statistic is a required field Statistic *string `type:"string" required:"true" enum:"Statistic"` // The value against which the specified statistic is compared. + // + // Threshold is a required field Threshold *float64 `type:"double" required:"true"` // The statistic's unit of measure. For example, the units for the Amazon EC2 @@ -1873,6 +1919,8 @@ type PutMetricDataInput struct { _ struct{} `type:"structure"` // A list of data describing the metric. + // + // MetricData is a required field MetricData []*MetricDatum `type:"list" required:"true"` // The namespace for the metric data. @@ -1880,6 +1928,8 @@ type PutMetricDataInput struct { // You cannot specify a namespace that begins with "AWS/". Namespaces that // begin with "AWS/" are reserved for other Amazon Web Services products that // send metrics to Amazon CloudWatch. + // + // Namespace is a required field Namespace *string `min:"1" type:"string" required:"true"` } @@ -1942,10 +1992,14 @@ type SetAlarmStateInput struct { // The descriptive name for the alarm. This name must be unique within the user's // AWS account. The maximum length is 255 characters. + // + // AlarmName is a required field AlarmName *string `min:"1" type:"string" required:"true"` // The reason that this alarm is set to this specific state (in human-readable // text format) + // + // StateReason is a required field StateReason *string `type:"string" required:"true"` // The reason that this alarm is set to this specific state (in machine-readable @@ -1953,6 +2007,8 @@ type SetAlarmStateInput struct { StateReasonData *string `type:"string"` // The value of the state. + // + // StateValue is a required field StateValue *string `type:"string" required:"true" enum:"StateValue"` } @@ -2008,15 +2064,23 @@ type StatisticSet struct { _ struct{} `type:"structure"` // The maximum value of the sample set. + // + // Maximum is a required field Maximum *float64 `type:"double" required:"true"` // The minimum value of the sample set. + // + // Minimum is a required field Minimum *float64 `type:"double" required:"true"` // The number of samples used for the statistic set. + // + // SampleCount is a required field SampleCount *float64 `type:"double" required:"true"` // The sum of values for the sample set. + // + // Sum is a required field Sum *float64 `type:"double" required:"true"` } @@ -2053,100 +2117,137 @@ func (s *StatisticSet) Validate() error { } const ( - // @enum ComparisonOperator + // ComparisonOperatorGreaterThanOrEqualToThreshold is a ComparisonOperator enum value ComparisonOperatorGreaterThanOrEqualToThreshold = "GreaterThanOrEqualToThreshold" - // @enum ComparisonOperator + + // ComparisonOperatorGreaterThanThreshold is a ComparisonOperator enum value ComparisonOperatorGreaterThanThreshold = "GreaterThanThreshold" - // @enum ComparisonOperator + + // ComparisonOperatorLessThanThreshold is a ComparisonOperator enum value ComparisonOperatorLessThanThreshold = "LessThanThreshold" - // @enum ComparisonOperator + + // ComparisonOperatorLessThanOrEqualToThreshold is a ComparisonOperator enum value ComparisonOperatorLessThanOrEqualToThreshold = "LessThanOrEqualToThreshold" ) const ( - // @enum HistoryItemType + // HistoryItemTypeConfigurationUpdate is a HistoryItemType enum value HistoryItemTypeConfigurationUpdate = "ConfigurationUpdate" - // @enum HistoryItemType + + // HistoryItemTypeStateUpdate is a HistoryItemType enum value HistoryItemTypeStateUpdate = "StateUpdate" - // @enum HistoryItemType + + // HistoryItemTypeAction is a HistoryItemType enum value HistoryItemTypeAction = "Action" ) const ( - // @enum StandardUnit + // StandardUnitSeconds is a StandardUnit enum value StandardUnitSeconds = "Seconds" - // @enum StandardUnit + + // StandardUnitMicroseconds is a StandardUnit enum value StandardUnitMicroseconds = "Microseconds" - // @enum StandardUnit + + // StandardUnitMilliseconds is a StandardUnit enum value StandardUnitMilliseconds = "Milliseconds" - // @enum StandardUnit + + // StandardUnitBytes is a StandardUnit enum value StandardUnitBytes = "Bytes" - // @enum StandardUnit + + // StandardUnitKilobytes is a StandardUnit enum value StandardUnitKilobytes = "Kilobytes" - // @enum StandardUnit + + // StandardUnitMegabytes is a StandardUnit enum value StandardUnitMegabytes = "Megabytes" - // @enum StandardUnit + + // StandardUnitGigabytes is a StandardUnit enum value StandardUnitGigabytes = "Gigabytes" - // @enum StandardUnit + + // StandardUnitTerabytes is a StandardUnit enum value StandardUnitTerabytes = "Terabytes" - // @enum StandardUnit + + // StandardUnitBits is a StandardUnit enum value StandardUnitBits = "Bits" - // @enum StandardUnit + + // StandardUnitKilobits is a StandardUnit enum value StandardUnitKilobits = "Kilobits" - // @enum StandardUnit + + // StandardUnitMegabits is a StandardUnit enum value StandardUnitMegabits = "Megabits" - // @enum StandardUnit + + // StandardUnitGigabits is a StandardUnit enum value StandardUnitGigabits = "Gigabits" - // @enum StandardUnit + + // StandardUnitTerabits is a StandardUnit enum value StandardUnitTerabits = "Terabits" - // @enum StandardUnit + + // StandardUnitPercent is a StandardUnit enum value StandardUnitPercent = "Percent" - // @enum StandardUnit + + // StandardUnitCount is a StandardUnit enum value StandardUnitCount = "Count" - // @enum StandardUnit + + // StandardUnitBytesSecond is a StandardUnit enum value StandardUnitBytesSecond = "Bytes/Second" - // @enum StandardUnit + + // StandardUnitKilobytesSecond is a StandardUnit enum value StandardUnitKilobytesSecond = "Kilobytes/Second" - // @enum StandardUnit + + // StandardUnitMegabytesSecond is a StandardUnit enum value StandardUnitMegabytesSecond = "Megabytes/Second" - // @enum StandardUnit + + // StandardUnitGigabytesSecond is a StandardUnit enum value StandardUnitGigabytesSecond = "Gigabytes/Second" - // @enum StandardUnit + + // StandardUnitTerabytesSecond is a StandardUnit enum value StandardUnitTerabytesSecond = "Terabytes/Second" - // @enum StandardUnit + + // StandardUnitBitsSecond is a StandardUnit enum value StandardUnitBitsSecond = "Bits/Second" - // @enum StandardUnit + + // StandardUnitKilobitsSecond is a StandardUnit enum value StandardUnitKilobitsSecond = "Kilobits/Second" - // @enum StandardUnit + + // StandardUnitMegabitsSecond is a StandardUnit enum value StandardUnitMegabitsSecond = "Megabits/Second" - // @enum StandardUnit + + // StandardUnitGigabitsSecond is a StandardUnit enum value StandardUnitGigabitsSecond = "Gigabits/Second" - // @enum StandardUnit + + // StandardUnitTerabitsSecond is a StandardUnit enum value StandardUnitTerabitsSecond = "Terabits/Second" - // @enum StandardUnit + + // StandardUnitCountSecond is a StandardUnit enum value StandardUnitCountSecond = "Count/Second" - // @enum StandardUnit + + // StandardUnitNone is a StandardUnit enum value StandardUnitNone = "None" ) const ( - // @enum StateValue + // StateValueOk is a StateValue enum value StateValueOk = "OK" - // @enum StateValue + + // StateValueAlarm is a StateValue enum value StateValueAlarm = "ALARM" - // @enum StateValue + + // StateValueInsufficientData is a StateValue enum value StateValueInsufficientData = "INSUFFICIENT_DATA" ) const ( - // @enum Statistic + // StatisticSampleCount is a Statistic enum value StatisticSampleCount = "SampleCount" - // @enum Statistic + + // StatisticAverage is a Statistic enum value StatisticAverage = "Average" - // @enum Statistic + + // StatisticSum is a Statistic enum value StatisticSum = "Sum" - // @enum Statistic + + // StatisticMinimum is a Statistic enum value StatisticMinimum = "Minimum" - // @enum Statistic + + // StatisticMaximum is a Statistic enum value StatisticMaximum = "Maximum" ) diff --git a/service/cloudwatch/waiters.go b/service/cloudwatch/waiters.go index c1ca3f334f3..1184650e284 100644 --- a/service/cloudwatch/waiters.go +++ b/service/cloudwatch/waiters.go @@ -6,6 +6,10 @@ import ( "github.com/aws/aws-sdk-go/private/waiter" ) +// WaitUntilAlarmExists uses the CloudWatch API operation +// DescribeAlarms to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *CloudWatch) WaitUntilAlarmExists(input *DescribeAlarmsInput) error { waiterCfg := waiter.Config{ Operation: "DescribeAlarms", diff --git a/service/cloudwatchevents/api.go b/service/cloudwatchevents/api.go index 2ae268d8875..be71d15a3d3 100644 --- a/service/cloudwatchevents/api.go +++ b/service/cloudwatchevents/api.go @@ -675,6 +675,8 @@ type DeleteRuleInput struct { _ struct{} `type:"structure"` // The name of the rule to be deleted. + // + // Name is a required field Name *string `min:"1" type:"string" required:"true"` } @@ -723,6 +725,8 @@ type DescribeRuleInput struct { _ struct{} `type:"structure"` // The name of the rule you want to describe details for. + // + // Name is a required field Name *string `min:"1" type:"string" required:"true"` } @@ -793,6 +797,8 @@ type DisableRuleInput struct { _ struct{} `type:"structure"` // The name of the rule you want to disable. + // + // Name is a required field Name *string `min:"1" type:"string" required:"true"` } @@ -841,6 +847,8 @@ type EnableRuleInput struct { _ struct{} `type:"structure"` // The name of the rule that you want to enable. + // + // Name is a required field Name *string `min:"1" type:"string" required:"true"` } @@ -897,6 +905,8 @@ type ListRuleNamesByTargetInput struct { // The Amazon Resource Name (ARN) of the target resource that you want to list // the rules for. + // + // TargetArn is a required field TargetArn *string `min:"1" type:"string" required:"true"` } @@ -1030,6 +1040,8 @@ type ListTargetsByRuleInput struct { NextToken *string `min:"1" type:"string"` // The name of the rule whose targets you want to list. + // + // Rule is a required field Rule *string `min:"1" type:"string" required:"true"` } @@ -1093,6 +1105,8 @@ type PutEventsInput struct { // The entry that defines an event in your system. You can specify several parameters // for the entry such as the source and type of the event, resources associated // with the event, and so on. + // + // Entries is a required field Entries []*PutEventsRequestEntry `min:"1" type:"list" required:"true"` } @@ -1215,6 +1229,8 @@ type PutRuleInput struct { EventPattern *string `type:"string"` // The name of the rule that you are creating or updating. + // + // Name is a required field Name *string `min:"1" type:"string" required:"true"` // The Amazon Resource Name (ARN) of the IAM role associated with the rule. @@ -1279,9 +1295,13 @@ type PutTargetsInput struct { _ struct{} `type:"structure"` // The name of the rule you want to add targets to. + // + // Rule is a required field Rule *string `min:"1" type:"string" required:"true"` // List of targets you want to update or add to the rule. + // + // Targets is a required field Targets []*Target `type:"list" required:"true"` } @@ -1374,9 +1394,13 @@ type RemoveTargetsInput struct { _ struct{} `type:"structure"` // The list of target IDs to remove from the rule. + // + // Ids is a required field Ids []*string `min:"1" type:"list" required:"true"` // The name of the rule you want to remove targets from. + // + // Rule is a required field Rule *string `min:"1" type:"string" required:"true"` } @@ -1512,9 +1536,13 @@ type Target struct { _ struct{} `type:"structure"` // The Amazon Resource Name (ARN) associated of the target. + // + // Arn is a required field Arn *string `min:"1" type:"string" required:"true"` // The unique target assignment ID. + // + // Id is a required field Id *string `min:"1" type:"string" required:"true"` // Valid JSON text passed to the target. For more information about JSON text, @@ -1564,9 +1592,13 @@ type TestEventPatternInput struct { _ struct{} `type:"structure"` // The event in the JSON format to test against the event pattern. + // + // Event is a required field Event *string `type:"string" required:"true"` // The event pattern you want to test. + // + // EventPattern is a required field EventPattern *string `type:"string" required:"true"` } @@ -1615,8 +1647,9 @@ func (s TestEventPatternOutput) GoString() string { } const ( - // @enum RuleState + // RuleStateEnabled is a RuleState enum value RuleStateEnabled = "ENABLED" - // @enum RuleState + + // RuleStateDisabled is a RuleState enum value RuleStateDisabled = "DISABLED" ) diff --git a/service/cloudwatchlogs/api.go b/service/cloudwatchlogs/api.go index 991cd6e17c9..9c41bcf490c 100644 --- a/service/cloudwatchlogs/api.go +++ b/service/cloudwatchlogs/api.go @@ -1620,6 +1620,8 @@ type CancelExportTaskInput struct { _ struct{} `type:"structure"` // Id of the export task to cancel. + // + // TaskId is a required field TaskId *string `locationName:"taskId" min:"1" type:"string" required:"true"` } @@ -1669,6 +1671,8 @@ type CreateExportTaskInput struct { // Name of Amazon S3 bucket to which the log data will be exported. // // Note: Only buckets in the same AWS region are supported. + // + // Destination is a required field Destination *string `locationName:"destination" min:"1" type:"string" required:"true"` // Prefix that will be used as the start of Amazon S3 key for every object exported. @@ -1678,9 +1682,13 @@ type CreateExportTaskInput struct { // A point in time expressed as the number of milliseconds since Jan 1, 1970 // 00:00:00 UTC. It indicates the start time of the range for the request. Events // with a timestamp prior to this time will not be exported. + // + // From is a required field From *int64 `locationName:"from" type:"long" required:"true"` // The name of the log group to export. + // + // LogGroupName is a required field LogGroupName *string `locationName:"logGroupName" min:"1" type:"string" required:"true"` // Will only export log streams that match the provided logStreamNamePrefix. @@ -1693,6 +1701,8 @@ type CreateExportTaskInput struct { // A point in time expressed as the number of milliseconds since Jan 1, 1970 // 00:00:00 UTC. It indicates the end time of the range for the request. Events // with a timestamp later than this time will not be exported. + // + // To is a required field To *int64 `locationName:"to" type:"long" required:"true"` } @@ -1761,6 +1771,8 @@ type CreateLogGroupInput struct { _ struct{} `type:"structure"` // The name of the log group to create. + // + // LogGroupName is a required field LogGroupName *string `locationName:"logGroupName" min:"1" type:"string" required:"true"` } @@ -1808,9 +1820,13 @@ type CreateLogStreamInput struct { _ struct{} `type:"structure"` // The name of the log group under which the log stream is to be created. + // + // LogGroupName is a required field LogGroupName *string `locationName:"logGroupName" min:"1" type:"string" required:"true"` // The name of the log stream to create. + // + // LogStreamName is a required field LogStreamName *string `locationName:"logStreamName" min:"1" type:"string" required:"true"` } @@ -1864,6 +1880,8 @@ type DeleteDestinationInput struct { _ struct{} `type:"structure"` // The name of destination to delete. + // + // DestinationName is a required field DestinationName *string `locationName:"destinationName" min:"1" type:"string" required:"true"` } @@ -1911,6 +1929,8 @@ type DeleteLogGroupInput struct { _ struct{} `type:"structure"` // The name of the log group to delete. + // + // LogGroupName is a required field LogGroupName *string `locationName:"logGroupName" min:"1" type:"string" required:"true"` } @@ -1958,9 +1978,13 @@ type DeleteLogStreamInput struct { _ struct{} `type:"structure"` // The name of the log group under which the log stream to delete belongs. + // + // LogGroupName is a required field LogGroupName *string `locationName:"logGroupName" min:"1" type:"string" required:"true"` // The name of the log stream to delete. + // + // LogStreamName is a required field LogStreamName *string `locationName:"logStreamName" min:"1" type:"string" required:"true"` } @@ -2014,9 +2038,13 @@ type DeleteMetricFilterInput struct { _ struct{} `type:"structure"` // The name of the metric filter to delete. + // + // FilterName is a required field FilterName *string `locationName:"filterName" min:"1" type:"string" required:"true"` // The name of the log group that is associated with the metric filter to delete. + // + // LogGroupName is a required field LogGroupName *string `locationName:"logGroupName" min:"1" type:"string" required:"true"` } @@ -2071,6 +2099,8 @@ type DeleteRetentionPolicyInput struct { // The name of the log group that is associated with the retention policy to // delete. + // + // LogGroupName is a required field LogGroupName *string `locationName:"logGroupName" min:"1" type:"string" required:"true"` } @@ -2118,10 +2148,14 @@ type DeleteSubscriptionFilterInput struct { _ struct{} `type:"structure"` // The name of the subscription filter to delete. + // + // FilterName is a required field FilterName *string `locationName:"filterName" min:"1" type:"string" required:"true"` // The name of the log group that is associated with the subscription filter // to delete. + // + // LogGroupName is a required field LogGroupName *string `locationName:"logGroupName" min:"1" type:"string" required:"true"` } @@ -2389,6 +2423,8 @@ type DescribeLogStreamsInput struct { Limit *int64 `locationName:"limit" min:"1" type:"integer"` // The log group name for which log streams are to be listed. + // + // LogGroupName is a required field LogGroupName *string `locationName:"logGroupName" min:"1" type:"string" required:"true"` // Will only return log streams that match the provided logStreamNamePrefix. @@ -2476,6 +2512,8 @@ type DescribeMetricFiltersInput struct { Limit *int64 `locationName:"limit" min:"1" type:"integer"` // The log group name for which metric filters are to be listed. + // + // LogGroupName is a required field LogGroupName *string `locationName:"logGroupName" min:"1" type:"string" required:"true"` // A string token used for pagination that points to the next page of results. @@ -2551,6 +2589,8 @@ type DescribeSubscriptionFiltersInput struct { Limit *int64 `locationName:"limit" min:"1" type:"integer"` // The log group name for which subscription filters are to be listed. + // + // LogGroupName is a required field LogGroupName *string `locationName:"logGroupName" min:"1" type:"string" required:"true"` // A string token used for pagination that points to the next page of results. @@ -2760,6 +2800,8 @@ type FilterLogEventsInput struct { Limit *int64 `locationName:"limit" min:"1" type:"integer"` // The name of the log group to query. + // + // LogGroupName is a required field LogGroupName *string `locationName:"logGroupName" min:"1" type:"string" required:"true"` // Optional list of log stream names within the specified log group to search. @@ -2885,9 +2927,13 @@ type GetLogEventsInput struct { Limit *int64 `locationName:"limit" min:"1" type:"integer"` // The name of the log group to query. + // + // LogGroupName is a required field LogGroupName *string `locationName:"logGroupName" min:"1" type:"string" required:"true"` // The name of the log stream to query. + // + // LogStreamName is a required field LogStreamName *string `locationName:"logStreamName" min:"1" type:"string" required:"true"` // A string token used for pagination that points to the next page of results. @@ -2975,10 +3021,13 @@ func (s GetLogEventsOutput) GoString() string { type InputLogEvent struct { _ struct{} `type:"structure"` + // Message is a required field Message *string `locationName:"message" min:"1" type:"string" required:"true"` // A point in time expressed as the number of milliseconds since Jan 1, 1970 // 00:00:00 UTC. + // + // Timestamp is a required field Timestamp *int64 `locationName:"timestamp" type:"long" required:"true"` } @@ -3145,13 +3194,19 @@ type MetricTransformation struct { DefaultValue *float64 `locationName:"defaultValue" type:"double"` // Name of the metric. + // + // MetricName is a required field MetricName *string `locationName:"metricName" type:"string" required:"true"` // Namespace to which the metric belongs. + // + // MetricNamespace is a required field MetricNamespace *string `locationName:"metricNamespace" type:"string" required:"true"` // A string representing a value to publish to this metric when a filter pattern // matches a log event. + // + // MetricValue is a required field MetricValue *string `locationName:"metricValue" type:"string" required:"true"` } @@ -3212,13 +3267,19 @@ type PutDestinationInput struct { _ struct{} `type:"structure"` // A name for the destination. + // + // DestinationName is a required field DestinationName *string `locationName:"destinationName" min:"1" type:"string" required:"true"` // The ARN of an IAM role that grants CloudWatch Logs permissions to do Amazon // Kinesis PutRecord requests on the destination stream. + // + // RoleArn is a required field RoleArn *string `locationName:"roleArn" min:"1" type:"string" required:"true"` // The ARN of an Amazon Kinesis stream to deliver matching log events to. + // + // TargetArn is a required field TargetArn *string `locationName:"targetArn" min:"1" type:"string" required:"true"` } @@ -3282,9 +3343,13 @@ type PutDestinationPolicyInput struct { // An IAM policy document that authorizes cross-account users to deliver their // log events to associated destination. + // + // AccessPolicy is a required field AccessPolicy *string `locationName:"accessPolicy" min:"1" type:"string" required:"true"` // A name for an existing destination. + // + // DestinationName is a required field DestinationName *string `locationName:"destinationName" min:"1" type:"string" required:"true"` } @@ -3338,12 +3403,18 @@ type PutLogEventsInput struct { _ struct{} `type:"structure"` // A list of log events belonging to a log stream. + // + // LogEvents is a required field LogEvents []*InputLogEvent `locationName:"logEvents" min:"1" type:"list" required:"true"` // The name of the log group to put log events to. + // + // LogGroupName is a required field LogGroupName *string `locationName:"logGroupName" min:"1" type:"string" required:"true"` // The name of the log stream to put log events to. + // + // LogStreamName is a required field LogStreamName *string `locationName:"logStreamName" min:"1" type:"string" required:"true"` // A string token that must be obtained from the response of the previous PutLogEvents @@ -3427,16 +3498,24 @@ type PutMetricFilterInput struct { _ struct{} `type:"structure"` // A name for the metric filter. + // + // FilterName is a required field FilterName *string `locationName:"filterName" min:"1" type:"string" required:"true"` // A valid CloudWatch Logs filter pattern for extracting metric data out of // ingested log events. + // + // FilterPattern is a required field FilterPattern *string `locationName:"filterPattern" type:"string" required:"true"` // The name of the log group to associate the metric filter with. + // + // LogGroupName is a required field LogGroupName *string `locationName:"logGroupName" min:"1" type:"string" required:"true"` // A collection of information needed to define how metric data gets emitted. + // + // MetricTransformations is a required field MetricTransformations []*MetricTransformation `locationName:"metricTransformations" min:"1" type:"list" required:"true"` } @@ -3509,11 +3588,15 @@ type PutRetentionPolicyInput struct { _ struct{} `type:"structure"` // The name of the log group to associate the retention policy with. + // + // LogGroupName is a required field LogGroupName *string `locationName:"logGroupName" min:"1" type:"string" required:"true"` // Specifies the number of days you want to retain log events in the specified // log group. Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, // 365, 400, 545, 731, 1827, 3653. + // + // RetentionInDays is a required field RetentionInDays *int64 `locationName:"retentionInDays" type:"integer" required:"true"` } @@ -3577,16 +3660,24 @@ type PutSubscriptionFilterInput struct { // // An AWS Lambda function belonging to the same account as the subscription // filter, for same-account delivery. + // + // DestinationArn is a required field DestinationArn *string `locationName:"destinationArn" min:"1" type:"string" required:"true"` // A name for the subscription filter. + // + // FilterName is a required field FilterName *string `locationName:"filterName" min:"1" type:"string" required:"true"` // A valid CloudWatch Logs filter pattern for subscribing to a filtered stream // of log events. + // + // FilterPattern is a required field FilterPattern *string `locationName:"filterPattern" type:"string" required:"true"` // The name of the log group to associate the subscription filter with. + // + // LogGroupName is a required field LogGroupName *string `locationName:"logGroupName" min:"1" type:"string" required:"true"` // The ARN of an IAM role that grants CloudWatch Logs permissions to deliver @@ -3737,9 +3828,13 @@ type TestMetricFilterInput struct { // each log event. For example, a log event may contain timestamps, IP addresses, // strings, and so on. You use the filter pattern to specify what to look for // in the log event message. + // + // FilterPattern is a required field FilterPattern *string `locationName:"filterPattern" type:"string" required:"true"` // A list of log event messages to test. + // + // LogEventMessages is a required field LogEventMessages []*string `locationName:"logEventMessages" min:"1" type:"list" required:"true"` } @@ -3789,23 +3884,29 @@ func (s TestMetricFilterOutput) GoString() string { } const ( - // @enum ExportTaskStatusCode + // ExportTaskStatusCodeCancelled is a ExportTaskStatusCode enum value ExportTaskStatusCodeCancelled = "CANCELLED" - // @enum ExportTaskStatusCode + + // ExportTaskStatusCodeCompleted is a ExportTaskStatusCode enum value ExportTaskStatusCodeCompleted = "COMPLETED" - // @enum ExportTaskStatusCode + + // ExportTaskStatusCodeFailed is a ExportTaskStatusCode enum value ExportTaskStatusCodeFailed = "FAILED" - // @enum ExportTaskStatusCode + + // ExportTaskStatusCodePending is a ExportTaskStatusCode enum value ExportTaskStatusCodePending = "PENDING" - // @enum ExportTaskStatusCode + + // ExportTaskStatusCodePendingCancel is a ExportTaskStatusCode enum value ExportTaskStatusCodePendingCancel = "PENDING_CANCEL" - // @enum ExportTaskStatusCode + + // ExportTaskStatusCodeRunning is a ExportTaskStatusCode enum value ExportTaskStatusCodeRunning = "RUNNING" ) const ( - // @enum OrderBy + // OrderByLogStreamName is a OrderBy enum value OrderByLogStreamName = "LogStreamName" - // @enum OrderBy + + // OrderByLastEventTime is a OrderBy enum value OrderByLastEventTime = "LastEventTime" ) diff --git a/service/codecommit/api.go b/service/codecommit/api.go index e4e8c8cd0c7..935fa21fbc4 100644 --- a/service/codecommit/api.go +++ b/service/codecommit/api.go @@ -848,6 +848,8 @@ type BatchGetRepositoriesInput struct { _ struct{} `type:"structure"` // The names of the repositories to get information about. + // + // RepositoryNames is a required field RepositoryNames []*string `locationName:"repositoryNames" type:"list" required:"true"` } @@ -957,12 +959,18 @@ type CreateBranchInput struct { _ struct{} `type:"structure"` // The name of the new branch to create. + // + // BranchName is a required field BranchName *string `locationName:"branchName" min:"1" type:"string" required:"true"` // The ID of the commit to point the new branch to. + // + // CommitId is a required field CommitId *string `locationName:"commitId" type:"string" required:"true"` // The name of the repository in which you want to create the new branch. + // + // RepositoryName is a required field RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"` } @@ -1035,6 +1043,8 @@ type CreateRepositoryInput struct { // and cannot include certain characters. For a full description of the limits // on repository names, see Limits (http://docs.aws.amazon.com/codecommit/latest/userguide/limits.html) // in the AWS CodeCommit User Guide. The suffix ".git" is prohibited. + // + // RepositoryName is a required field RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"` } @@ -1087,6 +1097,8 @@ type DeleteRepositoryInput struct { _ struct{} `type:"structure"` // The name of the repository to delete. + // + // RepositoryName is a required field RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"` } @@ -1195,9 +1207,13 @@ type GetCommitInput struct { _ struct{} `type:"structure"` // The commit ID. + // + // CommitId is a required field CommitId *string `locationName:"commitId" type:"string" required:"true"` // The name of the repository to which the commit was made. + // + // RepositoryName is a required field RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"` } @@ -1235,6 +1251,8 @@ type GetCommitOutput struct { _ struct{} `type:"structure"` // Information about the specified commit. + // + // Commit is a required field Commit *Commit `locationName:"commit" type:"structure" required:"true"` } @@ -1253,6 +1271,8 @@ type GetRepositoryInput struct { _ struct{} `type:"structure"` // The name of the repository to get information about. + // + // RepositoryName is a required field RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"` } @@ -1360,6 +1380,8 @@ type ListBranchesInput struct { NextToken *string `locationName:"nextToken" type:"string"` // The name of the repository that contains the branches. + // + // RepositoryName is a required field RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"` } @@ -1698,9 +1720,13 @@ type UpdateDefaultBranchInput struct { _ struct{} `type:"structure"` // The name of the branch to set as the default. + // + // DefaultBranchName is a required field DefaultBranchName *string `locationName:"defaultBranchName" min:"1" type:"string" required:"true"` // The name of the repository to set or change the default branch for. + // + // RepositoryName is a required field RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"` } @@ -1759,6 +1785,8 @@ type UpdateRepositoryDescriptionInput struct { RepositoryDescription *string `locationName:"repositoryDescription" type:"string"` // The name of the repository to set or change the comment or description for. + // + // RepositoryName is a required field RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"` } @@ -1807,9 +1835,13 @@ type UpdateRepositoryNameInput struct { _ struct{} `type:"structure"` // The new name for the repository. + // + // NewName is a required field NewName *string `locationName:"newName" min:"1" type:"string" required:"true"` // The existing name of the repository. + // + // OldName is a required field OldName *string `locationName:"oldName" min:"1" type:"string" required:"true"` } @@ -1884,26 +1916,31 @@ func (s UserInfo) GoString() string { } const ( - // @enum OrderEnum + // OrderEnumAscending is a OrderEnum enum value OrderEnumAscending = "ascending" - // @enum OrderEnum + + // OrderEnumDescending is a OrderEnum enum value OrderEnumDescending = "descending" ) const ( - // @enum RepositoryTriggerEventEnum + // RepositoryTriggerEventEnumAll is a RepositoryTriggerEventEnum enum value RepositoryTriggerEventEnumAll = "all" - // @enum RepositoryTriggerEventEnum + + // RepositoryTriggerEventEnumUpdateReference is a RepositoryTriggerEventEnum enum value RepositoryTriggerEventEnumUpdateReference = "updateReference" - // @enum RepositoryTriggerEventEnum + + // RepositoryTriggerEventEnumCreateReference is a RepositoryTriggerEventEnum enum value RepositoryTriggerEventEnumCreateReference = "createReference" - // @enum RepositoryTriggerEventEnum + + // RepositoryTriggerEventEnumDeleteReference is a RepositoryTriggerEventEnum enum value RepositoryTriggerEventEnumDeleteReference = "deleteReference" ) const ( - // @enum SortByEnum + // SortByEnumRepositoryName is a SortByEnum enum value SortByEnumRepositoryName = "repositoryName" - // @enum SortByEnum + + // SortByEnumLastModifiedDate is a SortByEnum enum value SortByEnumLastModifiedDate = "lastModifiedDate" ) diff --git a/service/codedeploy/api.go b/service/codedeploy/api.go index e3b40539249..a09e87026a3 100644 --- a/service/codedeploy/api.go +++ b/service/codedeploy/api.go @@ -1910,12 +1910,16 @@ type AddTagsToOnPremisesInstancesInput struct { _ struct{} `type:"structure"` // The names of the on-premises instances to which to add tags. + // + // InstanceNames is a required field InstanceNames []*string `locationName:"instanceNames" type:"list" required:"true"` // The tag key-value pairs to add to the on-premises instances. // // Keys and values are both required. Keys cannot be null or empty strings. // Value-only tags are not allowed. + // + // Tags is a required field Tags []*Tag `locationName:"tags" type:"list" required:"true"` } @@ -2088,9 +2092,13 @@ type BatchGetApplicationRevisionsInput struct { _ struct{} `type:"structure"` // The name of an AWS CodeDeploy application about which to get revision information. + // + // ApplicationName is a required field ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"` // Information to get about the application revisions, including type and location. + // + // Revisions is a required field Revisions []*RevisionLocation `locationName:"revisions" type:"list" required:"true"` } @@ -2189,9 +2197,13 @@ type BatchGetDeploymentGroupsInput struct { // The name of an AWS CodeDeploy application associated with the applicable // IAM user or AWS account. + // + // ApplicationName is a required field ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"` // The deployment groups' names. + // + // DeploymentGroupNames is a required field DeploymentGroupNames []*string `locationName:"deploymentGroupNames" type:"list" required:"true"` } @@ -2250,9 +2262,13 @@ type BatchGetDeploymentInstancesInput struct { _ struct{} `type:"structure"` // The unique ID of a deployment. + // + // DeploymentId is a required field DeploymentId *string `locationName:"deploymentId" type:"string" required:"true"` // The unique IDs of instances in the deployment group. + // + // InstanceIds is a required field InstanceIds []*string `locationName:"instanceIds" type:"list" required:"true"` } @@ -2381,6 +2397,8 @@ type CreateApplicationInput struct { // The name of the application. This name must be unique with the applicable // IAM user or AWS account. + // + // ApplicationName is a required field ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"` } @@ -2433,6 +2451,8 @@ type CreateDeploymentConfigInput struct { _ struct{} `type:"structure"` // The name of the deployment configuration to create. + // + // DeploymentConfigName is a required field DeploymentConfigName *string `locationName:"deploymentConfigName" min:"1" type:"string" required:"true"` // The minimum number of healthy instances that should be available at any time @@ -2511,6 +2531,8 @@ type CreateDeploymentGroupInput struct { // The name of an AWS CodeDeploy application associated with the applicable // IAM user or AWS account. + // + // ApplicationName is a required field ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"` // Configuration information for an automatic rollback that is added when a @@ -2575,6 +2597,8 @@ type CreateDeploymentGroupInput struct { DeploymentConfigName *string `locationName:"deploymentConfigName" min:"1" type:"string"` // The name of a new deployment group for the specified application. + // + // DeploymentGroupName is a required field DeploymentGroupName *string `locationName:"deploymentGroupName" min:"1" type:"string" required:"true"` // The Amazon EC2 tags on which to filter. @@ -2585,6 +2609,8 @@ type CreateDeploymentGroupInput struct { // A service role ARN that allows AWS CodeDeploy to act on the user's behalf // when interacting with AWS services. + // + // ServiceRoleArn is a required field ServiceRoleArn *string `locationName:"serviceRoleArn" type:"string" required:"true"` // Information about triggers to create when the deployment group is created. @@ -2655,6 +2681,8 @@ type CreateDeploymentInput struct { // The name of an AWS CodeDeploy application associated with the applicable // IAM user or AWS account. + // + // ApplicationName is a required field ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"` // Configuration information for an automatic rollback that is added when a @@ -2750,6 +2778,8 @@ type DeleteApplicationInput struct { // The name of an AWS CodeDeploy application associated with the applicable // IAM user or AWS account. + // + // ApplicationName is a required field ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"` } @@ -2799,6 +2829,8 @@ type DeleteDeploymentConfigInput struct { // The name of a deployment configuration associated with the applicable IAM // user or AWS account. + // + // DeploymentConfigName is a required field DeploymentConfigName *string `locationName:"deploymentConfigName" min:"1" type:"string" required:"true"` } @@ -2848,9 +2880,13 @@ type DeleteDeploymentGroupInput struct { // The name of an AWS CodeDeploy application associated with the applicable // IAM user or AWS account. + // + // ApplicationName is a required field ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"` // The name of an existing deployment group for the specified application. + // + // DeploymentGroupName is a required field DeploymentGroupName *string `locationName:"deploymentGroupName" min:"1" type:"string" required:"true"` } @@ -3113,6 +3149,8 @@ type DeregisterOnPremisesInstanceInput struct { _ struct{} `type:"structure"` // The name of the on-premises instance to deregister. + // + // InstanceName is a required field InstanceName *string `locationName:"instanceName" type:"string" required:"true"` } @@ -3320,6 +3358,8 @@ type GetApplicationInput struct { // The name of an AWS CodeDeploy application associated with the applicable // IAM user or AWS account. + // + // ApplicationName is a required field ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"` } @@ -3372,9 +3412,13 @@ type GetApplicationRevisionInput struct { _ struct{} `type:"structure"` // The name of the application that corresponds to the revision. + // + // ApplicationName is a required field ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"` // Information about the application revision to get, including type and location. + // + // Revision is a required field Revision *RevisionLocation `locationName:"revision" type:"structure" required:"true"` } @@ -3437,6 +3481,8 @@ type GetDeploymentConfigInput struct { // The name of a deployment configuration associated with the applicable IAM // user or AWS account. + // + // DeploymentConfigName is a required field DeploymentConfigName *string `locationName:"deploymentConfigName" min:"1" type:"string" required:"true"` } @@ -3490,9 +3536,13 @@ type GetDeploymentGroupInput struct { // The name of an AWS CodeDeploy application associated with the applicable // IAM user or AWS account. + // + // ApplicationName is a required field ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"` // The name of an existing deployment group for the specified application. + // + // DeploymentGroupName is a required field DeploymentGroupName *string `locationName:"deploymentGroupName" min:"1" type:"string" required:"true"` } @@ -3551,6 +3601,8 @@ type GetDeploymentInput struct { _ struct{} `type:"structure"` // A deployment ID associated with the applicable IAM user or AWS account. + // + // DeploymentId is a required field DeploymentId *string `locationName:"deploymentId" type:"string" required:"true"` } @@ -3582,9 +3634,13 @@ type GetDeploymentInstanceInput struct { _ struct{} `type:"structure"` // The unique ID of a deployment. + // + // DeploymentId is a required field DeploymentId *string `locationName:"deploymentId" type:"string" required:"true"` // The unique ID of an instance in the deployment group. + // + // InstanceId is a required field InstanceId *string `locationName:"instanceId" type:"string" required:"true"` } @@ -3655,6 +3711,8 @@ type GetOnPremisesInstanceInput struct { _ struct{} `type:"structure"` // The name of the on-premises instance about which to get information. + // + // InstanceName is a required field InstanceName *string `locationName:"instanceName" type:"string" required:"true"` } @@ -3849,6 +3907,8 @@ type ListApplicationRevisionsInput struct { // The name of an AWS CodeDeploy application associated with the applicable // IAM user or AWS account. + // + // ApplicationName is a required field ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"` // Whether to list revisions based on whether the revision is the target revision @@ -4040,6 +4100,8 @@ type ListDeploymentGroupsInput struct { // The name of an AWS CodeDeploy application associated with the applicable // IAM user or AWS account. + // + // ApplicationName is a required field ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"` // An identifier returned from the previous list deployment groups call. It @@ -4104,6 +4166,8 @@ type ListDeploymentInstancesInput struct { _ struct{} `type:"structure"` // The unique ID of a deployment. + // + // DeploymentId is a required field DeploymentId *string `locationName:"deploymentId" type:"string" required:"true"` // A subset of instances to list by status: @@ -4359,6 +4423,8 @@ type RegisterApplicationRevisionInput struct { // The name of an AWS CodeDeploy application associated with the applicable // IAM user or AWS account. + // + // ApplicationName is a required field ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"` // A comment about the revision. @@ -4366,6 +4432,8 @@ type RegisterApplicationRevisionInput struct { // Information about the application revision to register, including type and // location. + // + // Revision is a required field Revision *RevisionLocation `locationName:"revision" type:"structure" required:"true"` } @@ -4417,9 +4485,13 @@ type RegisterOnPremisesInstanceInput struct { _ struct{} `type:"structure"` // The ARN of the IAM user to associate with the on-premises instance. + // + // IamUserArn is a required field IamUserArn *string `locationName:"iamUserArn" type:"string" required:"true"` // The name of the on-premises instance to register. + // + // InstanceName is a required field InstanceName *string `locationName:"instanceName" type:"string" required:"true"` } @@ -4468,9 +4540,13 @@ type RemoveTagsFromOnPremisesInstancesInput struct { _ struct{} `type:"structure"` // The names of the on-premises instances from which to remove tags. + // + // InstanceNames is a required field InstanceNames []*string `locationName:"instanceNames" type:"list" required:"true"` // The tag key-value pairs to remove from the on-premises instances. + // + // Tags is a required field Tags []*Tag `locationName:"tags" type:"list" required:"true"` } @@ -4646,6 +4722,8 @@ type StopDeploymentInput struct { AutoRollbackEnabled *bool `locationName:"autoRollbackEnabled" type:"boolean"` // The unique ID of a deployment. + // + // DeploymentId is a required field DeploymentId *string `locationName:"deploymentId" type:"string" required:"true"` } @@ -4858,6 +4936,8 @@ type UpdateDeploymentGroupInput struct { AlarmConfiguration *AlarmConfiguration `locationName:"alarmConfiguration" type:"structure"` // The application name corresponding to the deployment group to update. + // + // ApplicationName is a required field ApplicationName *string `locationName:"applicationName" min:"1" type:"string" required:"true"` // Information for an automatic rollback configuration that is added or changed @@ -4871,6 +4951,8 @@ type UpdateDeploymentGroupInput struct { AutoScalingGroups []*string `locationName:"autoScalingGroups" type:"list"` // The current name of the deployment group. + // + // CurrentDeploymentGroupName is a required field CurrentDeploymentGroupName *string `locationName:"currentDeploymentGroupName" min:"1" type:"string" required:"true"` // The replacement deployment configuration name to use, if you want to change @@ -4960,217 +5042,280 @@ func (s UpdateDeploymentGroupOutput) GoString() string { } const ( - // @enum ApplicationRevisionSortBy + // ApplicationRevisionSortByRegisterTime is a ApplicationRevisionSortBy enum value ApplicationRevisionSortByRegisterTime = "registerTime" - // @enum ApplicationRevisionSortBy + + // ApplicationRevisionSortByFirstUsedTime is a ApplicationRevisionSortBy enum value ApplicationRevisionSortByFirstUsedTime = "firstUsedTime" - // @enum ApplicationRevisionSortBy + + // ApplicationRevisionSortByLastUsedTime is a ApplicationRevisionSortBy enum value ApplicationRevisionSortByLastUsedTime = "lastUsedTime" ) const ( - // @enum AutoRollbackEvent + // AutoRollbackEventDeploymentFailure is a AutoRollbackEvent enum value AutoRollbackEventDeploymentFailure = "DEPLOYMENT_FAILURE" - // @enum AutoRollbackEvent + + // AutoRollbackEventDeploymentStopOnAlarm is a AutoRollbackEvent enum value AutoRollbackEventDeploymentStopOnAlarm = "DEPLOYMENT_STOP_ON_ALARM" - // @enum AutoRollbackEvent + + // AutoRollbackEventDeploymentStopOnRequest is a AutoRollbackEvent enum value AutoRollbackEventDeploymentStopOnRequest = "DEPLOYMENT_STOP_ON_REQUEST" ) const ( - // @enum BundleType + // BundleTypeTar is a BundleType enum value BundleTypeTar = "tar" - // @enum BundleType + + // BundleTypeTgz is a BundleType enum value BundleTypeTgz = "tgz" - // @enum BundleType + + // BundleTypeZip is a BundleType enum value BundleTypeZip = "zip" ) const ( - // @enum DeploymentCreator + // DeploymentCreatorUser is a DeploymentCreator enum value DeploymentCreatorUser = "user" - // @enum DeploymentCreator + + // DeploymentCreatorAutoscaling is a DeploymentCreator enum value DeploymentCreatorAutoscaling = "autoscaling" - // @enum DeploymentCreator + + // DeploymentCreatorCodeDeployRollback is a DeploymentCreator enum value DeploymentCreatorCodeDeployRollback = "codeDeployRollback" ) const ( - // @enum DeploymentStatus + // DeploymentStatusCreated is a DeploymentStatus enum value DeploymentStatusCreated = "Created" - // @enum DeploymentStatus + + // DeploymentStatusQueued is a DeploymentStatus enum value DeploymentStatusQueued = "Queued" - // @enum DeploymentStatus + + // DeploymentStatusInProgress is a DeploymentStatus enum value DeploymentStatusInProgress = "InProgress" - // @enum DeploymentStatus + + // DeploymentStatusSucceeded is a DeploymentStatus enum value DeploymentStatusSucceeded = "Succeeded" - // @enum DeploymentStatus + + // DeploymentStatusFailed is a DeploymentStatus enum value DeploymentStatusFailed = "Failed" - // @enum DeploymentStatus + + // DeploymentStatusStopped is a DeploymentStatus enum value DeploymentStatusStopped = "Stopped" ) const ( - // @enum EC2TagFilterType + // EC2TagFilterTypeKeyOnly is a EC2TagFilterType enum value EC2TagFilterTypeKeyOnly = "KEY_ONLY" - // @enum EC2TagFilterType + + // EC2TagFilterTypeValueOnly is a EC2TagFilterType enum value EC2TagFilterTypeValueOnly = "VALUE_ONLY" - // @enum EC2TagFilterType + + // EC2TagFilterTypeKeyAndValue is a EC2TagFilterType enum value EC2TagFilterTypeKeyAndValue = "KEY_AND_VALUE" ) const ( - // @enum ErrorCode + // ErrorCodeDeploymentGroupMissing is a ErrorCode enum value ErrorCodeDeploymentGroupMissing = "DEPLOYMENT_GROUP_MISSING" - // @enum ErrorCode + + // ErrorCodeApplicationMissing is a ErrorCode enum value ErrorCodeApplicationMissing = "APPLICATION_MISSING" - // @enum ErrorCode + + // ErrorCodeRevisionMissing is a ErrorCode enum value ErrorCodeRevisionMissing = "REVISION_MISSING" - // @enum ErrorCode + + // ErrorCodeIamRoleMissing is a ErrorCode enum value ErrorCodeIamRoleMissing = "IAM_ROLE_MISSING" - // @enum ErrorCode + + // ErrorCodeIamRolePermissions is a ErrorCode enum value ErrorCodeIamRolePermissions = "IAM_ROLE_PERMISSIONS" - // @enum ErrorCode + + // ErrorCodeNoEc2Subscription is a ErrorCode enum value ErrorCodeNoEc2Subscription = "NO_EC2_SUBSCRIPTION" - // @enum ErrorCode + + // ErrorCodeOverMaxInstances is a ErrorCode enum value ErrorCodeOverMaxInstances = "OVER_MAX_INSTANCES" - // @enum ErrorCode + + // ErrorCodeNoInstances is a ErrorCode enum value ErrorCodeNoInstances = "NO_INSTANCES" - // @enum ErrorCode + + // ErrorCodeTimeout is a ErrorCode enum value ErrorCodeTimeout = "TIMEOUT" - // @enum ErrorCode + + // ErrorCodeHealthConstraintsInvalid is a ErrorCode enum value ErrorCodeHealthConstraintsInvalid = "HEALTH_CONSTRAINTS_INVALID" - // @enum ErrorCode + + // ErrorCodeHealthConstraints is a ErrorCode enum value ErrorCodeHealthConstraints = "HEALTH_CONSTRAINTS" - // @enum ErrorCode + + // ErrorCodeInternalError is a ErrorCode enum value ErrorCodeInternalError = "INTERNAL_ERROR" - // @enum ErrorCode + + // ErrorCodeThrottled is a ErrorCode enum value ErrorCodeThrottled = "THROTTLED" - // @enum ErrorCode + + // ErrorCodeAlarmActive is a ErrorCode enum value ErrorCodeAlarmActive = "ALARM_ACTIVE" - // @enum ErrorCode + + // ErrorCodeAgentIssue is a ErrorCode enum value ErrorCodeAgentIssue = "AGENT_ISSUE" - // @enum ErrorCode + + // ErrorCodeAutoScalingIamRolePermissions is a ErrorCode enum value ErrorCodeAutoScalingIamRolePermissions = "AUTO_SCALING_IAM_ROLE_PERMISSIONS" - // @enum ErrorCode + + // ErrorCodeAutoScalingConfiguration is a ErrorCode enum value ErrorCodeAutoScalingConfiguration = "AUTO_SCALING_CONFIGURATION" - // @enum ErrorCode + + // ErrorCodeManualStop is a ErrorCode enum value ErrorCodeManualStop = "MANUAL_STOP" ) const ( - // @enum InstanceStatus + // InstanceStatusPending is a InstanceStatus enum value InstanceStatusPending = "Pending" - // @enum InstanceStatus + + // InstanceStatusInProgress is a InstanceStatus enum value InstanceStatusInProgress = "InProgress" - // @enum InstanceStatus + + // InstanceStatusSucceeded is a InstanceStatus enum value InstanceStatusSucceeded = "Succeeded" - // @enum InstanceStatus + + // InstanceStatusFailed is a InstanceStatus enum value InstanceStatusFailed = "Failed" - // @enum InstanceStatus + + // InstanceStatusSkipped is a InstanceStatus enum value InstanceStatusSkipped = "Skipped" - // @enum InstanceStatus + + // InstanceStatusUnknown is a InstanceStatus enum value InstanceStatusUnknown = "Unknown" ) const ( - // @enum LifecycleErrorCode + // LifecycleErrorCodeSuccess is a LifecycleErrorCode enum value LifecycleErrorCodeSuccess = "Success" - // @enum LifecycleErrorCode + + // LifecycleErrorCodeScriptMissing is a LifecycleErrorCode enum value LifecycleErrorCodeScriptMissing = "ScriptMissing" - // @enum LifecycleErrorCode + + // LifecycleErrorCodeScriptNotExecutable is a LifecycleErrorCode enum value LifecycleErrorCodeScriptNotExecutable = "ScriptNotExecutable" - // @enum LifecycleErrorCode + + // LifecycleErrorCodeScriptTimedOut is a LifecycleErrorCode enum value LifecycleErrorCodeScriptTimedOut = "ScriptTimedOut" - // @enum LifecycleErrorCode + + // LifecycleErrorCodeScriptFailed is a LifecycleErrorCode enum value LifecycleErrorCodeScriptFailed = "ScriptFailed" - // @enum LifecycleErrorCode + + // LifecycleErrorCodeUnknownError is a LifecycleErrorCode enum value LifecycleErrorCodeUnknownError = "UnknownError" ) const ( - // @enum LifecycleEventStatus + // LifecycleEventStatusPending is a LifecycleEventStatus enum value LifecycleEventStatusPending = "Pending" - // @enum LifecycleEventStatus + + // LifecycleEventStatusInProgress is a LifecycleEventStatus enum value LifecycleEventStatusInProgress = "InProgress" - // @enum LifecycleEventStatus + + // LifecycleEventStatusSucceeded is a LifecycleEventStatus enum value LifecycleEventStatusSucceeded = "Succeeded" - // @enum LifecycleEventStatus + + // LifecycleEventStatusFailed is a LifecycleEventStatus enum value LifecycleEventStatusFailed = "Failed" - // @enum LifecycleEventStatus + + // LifecycleEventStatusSkipped is a LifecycleEventStatus enum value LifecycleEventStatusSkipped = "Skipped" - // @enum LifecycleEventStatus + + // LifecycleEventStatusUnknown is a LifecycleEventStatus enum value LifecycleEventStatusUnknown = "Unknown" ) const ( - // @enum ListStateFilterAction + // ListStateFilterActionInclude is a ListStateFilterAction enum value ListStateFilterActionInclude = "include" - // @enum ListStateFilterAction + + // ListStateFilterActionExclude is a ListStateFilterAction enum value ListStateFilterActionExclude = "exclude" - // @enum ListStateFilterAction + + // ListStateFilterActionIgnore is a ListStateFilterAction enum value ListStateFilterActionIgnore = "ignore" ) const ( - // @enum MinimumHealthyHostsType + // MinimumHealthyHostsTypeHostCount is a MinimumHealthyHostsType enum value MinimumHealthyHostsTypeHostCount = "HOST_COUNT" - // @enum MinimumHealthyHostsType + + // MinimumHealthyHostsTypeFleetPercent is a MinimumHealthyHostsType enum value MinimumHealthyHostsTypeFleetPercent = "FLEET_PERCENT" ) const ( - // @enum RegistrationStatus + // RegistrationStatusRegistered is a RegistrationStatus enum value RegistrationStatusRegistered = "Registered" - // @enum RegistrationStatus + + // RegistrationStatusDeregistered is a RegistrationStatus enum value RegistrationStatusDeregistered = "Deregistered" ) const ( - // @enum RevisionLocationType + // RevisionLocationTypeS3 is a RevisionLocationType enum value RevisionLocationTypeS3 = "S3" - // @enum RevisionLocationType + + // RevisionLocationTypeGitHub is a RevisionLocationType enum value RevisionLocationTypeGitHub = "GitHub" ) const ( - // @enum SortOrder + // SortOrderAscending is a SortOrder enum value SortOrderAscending = "ascending" - // @enum SortOrder + + // SortOrderDescending is a SortOrder enum value SortOrderDescending = "descending" ) const ( - // @enum StopStatus + // StopStatusPending is a StopStatus enum value StopStatusPending = "Pending" - // @enum StopStatus + + // StopStatusSucceeded is a StopStatus enum value StopStatusSucceeded = "Succeeded" ) const ( - // @enum TagFilterType + // TagFilterTypeKeyOnly is a TagFilterType enum value TagFilterTypeKeyOnly = "KEY_ONLY" - // @enum TagFilterType + + // TagFilterTypeValueOnly is a TagFilterType enum value TagFilterTypeValueOnly = "VALUE_ONLY" - // @enum TagFilterType + + // TagFilterTypeKeyAndValue is a TagFilterType enum value TagFilterTypeKeyAndValue = "KEY_AND_VALUE" ) const ( - // @enum TriggerEventType + // TriggerEventTypeDeploymentStart is a TriggerEventType enum value TriggerEventTypeDeploymentStart = "DeploymentStart" - // @enum TriggerEventType + + // TriggerEventTypeDeploymentSuccess is a TriggerEventType enum value TriggerEventTypeDeploymentSuccess = "DeploymentSuccess" - // @enum TriggerEventType + + // TriggerEventTypeDeploymentFailure is a TriggerEventType enum value TriggerEventTypeDeploymentFailure = "DeploymentFailure" - // @enum TriggerEventType + + // TriggerEventTypeDeploymentStop is a TriggerEventType enum value TriggerEventTypeDeploymentStop = "DeploymentStop" - // @enum TriggerEventType + + // TriggerEventTypeDeploymentRollback is a TriggerEventType enum value TriggerEventTypeDeploymentRollback = "DeploymentRollback" - // @enum TriggerEventType + + // TriggerEventTypeInstanceStart is a TriggerEventType enum value TriggerEventTypeInstanceStart = "InstanceStart" - // @enum TriggerEventType + + // TriggerEventTypeInstanceSuccess is a TriggerEventType enum value TriggerEventTypeInstanceSuccess = "InstanceSuccess" - // @enum TriggerEventType + + // TriggerEventTypeInstanceFailure is a TriggerEventType enum value TriggerEventTypeInstanceFailure = "InstanceFailure" ) diff --git a/service/codedeploy/waiters.go b/service/codedeploy/waiters.go index ce19f22476c..3d605b11bfe 100644 --- a/service/codedeploy/waiters.go +++ b/service/codedeploy/waiters.go @@ -6,6 +6,10 @@ import ( "github.com/aws/aws-sdk-go/private/waiter" ) +// WaitUntilDeploymentSuccessful uses the CodeDeploy API operation +// GetDeployment to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *CodeDeploy) WaitUntilDeploymentSuccessful(input *GetDeploymentInput) error { waiterCfg := waiter.Config{ Operation: "GetDeployment", diff --git a/service/codepipeline/api.go b/service/codepipeline/api.go index 5861d650aaf..eb54cd5e4fd 100644 --- a/service/codepipeline/api.go +++ b/service/codepipeline/api.go @@ -1329,12 +1329,18 @@ type AWSSessionCredentials struct { _ struct{} `type:"structure"` // The access key for the session. + // + // AccessKeyId is a required field AccessKeyId *string `locationName:"accessKeyId" type:"string" required:"true"` // The secret access key for the session. + // + // SecretAccessKey is a required field SecretAccessKey *string `locationName:"secretAccessKey" type:"string" required:"true"` // The token for the session. + // + // SessionToken is a required field SessionToken *string `locationName:"sessionToken" type:"string" required:"true"` } @@ -1353,11 +1359,15 @@ type AcknowledgeJobInput struct { _ struct{} `type:"structure"` // The unique system-generated ID of the job for which you want to confirm receipt. + // + // JobId is a required field JobId *string `locationName:"jobId" type:"string" required:"true"` // A system-generated random number that AWS CodePipeline uses to ensure that // the job is being worked on by only one job worker. This number must be returned // in the response. + // + // Nonce is a required field Nonce *string `locationName:"nonce" type:"string" required:"true"` } @@ -1411,14 +1421,20 @@ type AcknowledgeThirdPartyJobInput struct { // The clientToken portion of the clientId and clientToken pair used to verify // that the calling entity is allowed access to the job and its details. + // + // ClientToken is a required field ClientToken *string `locationName:"clientToken" type:"string" required:"true"` // The unique system-generated ID of the job. + // + // JobId is a required field JobId *string `locationName:"jobId" min:"1" type:"string" required:"true"` // A system-generated random number that AWS CodePipeline uses to ensure that // the job is being worked on by only one job worker. This number must be returned // in the response. + // + // Nonce is a required field Nonce *string `locationName:"nonce" type:"string" required:"true"` } @@ -1499,9 +1515,13 @@ type ActionConfigurationProperty struct { Description *string `locationName:"description" min:"1" type:"string"` // Whether the configuration property is a key. + // + // Key is a required field Key *bool `locationName:"key" type:"boolean" required:"true"` // The name of the action configuration property. + // + // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // Indicates that the proprety will be used in conjunction with PollForJobs. @@ -1516,6 +1536,8 @@ type ActionConfigurationProperty struct { Queryable *bool `locationName:"queryable" type:"boolean"` // Whether the configuration property is a required value. + // + // Required is a required field Required *bool `locationName:"required" type:"boolean" required:"true"` // Whether the configuration property is secret. Secrets are hidden from all @@ -1524,6 +1546,8 @@ type ActionConfigurationProperty struct { // // When updating a pipeline, passing * * * * * without changing any other values // of the action will preserve the prior value of the secret. + // + // Secret is a required field Secret *bool `locationName:"secret" type:"boolean" required:"true"` // The type of the configuration property. @@ -1592,6 +1616,8 @@ type ActionDeclaration struct { _ struct{} `type:"structure"` // The configuration information for the action type. + // + // ActionTypeId is a required field ActionTypeId *ActionTypeId `locationName:"actionTypeId" type:"structure" required:"true"` // The action declaration's configuration. @@ -1602,6 +1628,8 @@ type ActionDeclaration struct { InputArtifacts []*InputArtifact `locationName:"inputArtifacts" type:"list"` // The action declaration's name. + // + // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // The name or ID of the result of the action declaration, such as a test or @@ -1726,14 +1754,20 @@ type ActionRevision struct { // The date and time when the most recent version of the action was created, // in timestamp format. + // + // Created is a required field Created *time.Time `locationName:"created" type:"timestamp" timestampFormat:"unix" required:"true"` // The unique identifier of the change that set the state to this revision, // for example a deployment ID or timestamp. + // + // RevisionChangeId is a required field RevisionChangeId *string `locationName:"revisionChangeId" min:"1" type:"string" required:"true"` // The system-generated unique ID that identifies the revision number of the // action. + // + // RevisionId is a required field RevisionId *string `locationName:"revisionId" min:"1" type:"string" required:"true"` } @@ -1812,12 +1846,18 @@ type ActionType struct { ActionConfigurationProperties []*ActionConfigurationProperty `locationName:"actionConfigurationProperties" type:"list"` // Represents information about an action type. + // + // Id is a required field Id *ActionTypeId `locationName:"id" type:"structure" required:"true"` // The details of the input artifact for the action, such as its commit ID. + // + // InputArtifactDetails is a required field InputArtifactDetails *ArtifactDetails `locationName:"inputArtifactDetails" type:"structure" required:"true"` // The details of the output artifact of the action, such as its commit ID. + // + // OutputArtifactDetails is a required field OutputArtifactDetails *ArtifactDetails `locationName:"outputArtifactDetails" type:"structure" required:"true"` // The settings for the action type. @@ -1841,18 +1881,26 @@ type ActionTypeId struct { // A category defines what kind of action can be taken in the stage, and constrains // the provider type for the action. Valid categories are limited to one of // the values below. + // + // Category is a required field Category *string `locationName:"category" type:"string" required:"true" enum:"ActionCategory"` // The creator of the action being called. + // + // Owner is a required field Owner *string `locationName:"owner" type:"string" required:"true" enum:"ActionOwner"` // The provider of the service being called by the action. Valid providers are // determined by the action category. For example, an action in the Deploy category // type might have a provider of AWS CodeDeploy, which would be specified as // CodeDeploy. + // + // Provider is a required field Provider *string `locationName:"provider" min:"1" type:"string" required:"true"` // A string that identifies the action type. + // + // Version is a required field Version *string `locationName:"version" min:"1" type:"string" required:"true"` } @@ -1958,9 +2006,13 @@ type ApprovalResult struct { _ struct{} `type:"structure"` // The response submitted by a reviewer assigned to an approval action request. + // + // Status is a required field Status *string `locationName:"status" type:"string" required:"true" enum:"ApprovalStatus"` // The summary of the current status of the approval request. + // + // Summary is a required field Summary *string `locationName:"summary" type:"string" required:"true"` } @@ -2021,9 +2073,13 @@ type ArtifactDetails struct { _ struct{} `type:"structure"` // The maximum number of artifacts allowed for the action type. + // + // MaximumCount is a required field MaximumCount *int64 `locationName:"maximumCount" type:"integer" required:"true"` // The minimum number of artifacts allowed for the action type. + // + // MinimumCount is a required field MinimumCount *int64 `locationName:"minimumCount" type:"integer" required:"true"` } @@ -2128,9 +2184,13 @@ type ArtifactStore struct { // The location for storing the artifacts for a pipeline, such as an S3 bucket // or folder. + // + // Location is a required field Location *string `locationName:"location" min:"3" type:"string" required:"true"` // The type of the artifact store, such as S3. + // + // Type is a required field Type *string `locationName:"type" type:"string" required:"true" enum:"ArtifactStoreType"` } @@ -2173,9 +2233,13 @@ type BlockerDeclaration struct { _ struct{} `type:"structure"` // Reserved for future use. + // + // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // Reserved for future use. + // + // Type is a required field Type *string `locationName:"type" type:"string" required:"true" enum:"BlockerType"` } @@ -2216,6 +2280,8 @@ type CreateCustomActionTypeInput struct { // // Although Source and Approval are listed as valid values, they are not currently // functional. These values are reserved for future use. + // + // Category is a required field Category *string `locationName:"category" type:"string" required:"true" enum:"ActionCategory"` // The configuration properties for the custom action. @@ -2227,18 +2293,26 @@ type CreateCustomActionTypeInput struct { ConfigurationProperties []*ActionConfigurationProperty `locationName:"configurationProperties" type:"list"` // Returns information about the details of an artifact. + // + // InputArtifactDetails is a required field InputArtifactDetails *ArtifactDetails `locationName:"inputArtifactDetails" type:"structure" required:"true"` // Returns information about the details of an artifact. + // + // OutputArtifactDetails is a required field OutputArtifactDetails *ArtifactDetails `locationName:"outputArtifactDetails" type:"structure" required:"true"` // The provider of the service used in the custom action, such as AWS CodeDeploy. + // + // Provider is a required field Provider *string `locationName:"provider" min:"1" type:"string" required:"true"` // Returns information about the settings for an action type. Settings *ActionTypeSettings `locationName:"settings" type:"structure"` // The version identifier of the custom action. + // + // Version is a required field Version *string `locationName:"version" min:"1" type:"string" required:"true"` } @@ -2313,6 +2387,8 @@ type CreateCustomActionTypeOutput struct { _ struct{} `type:"structure"` // Returns information about the details of an action type. + // + // ActionType is a required field ActionType *ActionType `locationName:"actionType" type:"structure" required:"true"` } @@ -2331,6 +2407,8 @@ type CreatePipelineInput struct { _ struct{} `type:"structure"` // Represents the structure of actions and stages to be performed in the pipeline. + // + // Pipeline is a required field Pipeline *PipelineDeclaration `locationName:"pipeline" type:"structure" required:"true"` } @@ -2385,6 +2463,8 @@ type CurrentRevision struct { _ struct{} `type:"structure"` // The change identifier for the current revision. + // + // ChangeIdentifier is a required field ChangeIdentifier *string `locationName:"changeIdentifier" min:"1" type:"string" required:"true"` // The date and time when the most recent revision of the artifact was created, @@ -2392,6 +2472,8 @@ type CurrentRevision struct { Created *time.Time `locationName:"created" type:"timestamp" timestampFormat:"unix"` // The revision ID of the current version of an artifact. + // + // Revision is a required field Revision *string `locationName:"revision" min:"1" type:"string" required:"true"` // The summary of the most recent revision of the artifact. @@ -2440,12 +2522,18 @@ type DeleteCustomActionTypeInput struct { // The category of the custom action that you want to delete, such as source // or deploy. + // + // Category is a required field Category *string `locationName:"category" type:"string" required:"true" enum:"ActionCategory"` // The provider of the service used in the custom action, such as AWS CodeDeploy. + // + // Provider is a required field Provider *string `locationName:"provider" min:"1" type:"string" required:"true"` // The version of the custom action to delete. + // + // Version is a required field Version *string `locationName:"version" min:"1" type:"string" required:"true"` } @@ -2503,6 +2591,8 @@ type DeletePipelineInput struct { _ struct{} `type:"structure"` // The name of the pipeline to be deleted. + // + // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` } @@ -2552,21 +2642,29 @@ type DisableStageTransitionInput struct { // The name of the pipeline in which you want to disable the flow of artifacts // from one stage to another. + // + // PipelineName is a required field PipelineName *string `locationName:"pipelineName" min:"1" type:"string" required:"true"` // The reason given to the user why a stage is disabled, such as waiting for // manual approval or manual tests. This message is displayed in the pipeline // console UI. + // + // Reason is a required field Reason *string `locationName:"reason" min:"1" type:"string" required:"true"` // The name of the stage where you want to disable the inbound or outbound transition // of artifacts. + // + // StageName is a required field StageName *string `locationName:"stageName" min:"1" type:"string" required:"true"` // Specifies whether artifacts will be prevented from transitioning into the // stage and being processed by the actions in that stage (inbound), or prevented // from transitioning from the stage after they have been processed by the actions // in that stage (outbound). + // + // TransitionType is a required field TransitionType *string `locationName:"transitionType" type:"string" required:"true" enum:"StageTransitionType"` } @@ -2631,15 +2729,21 @@ type EnableStageTransitionInput struct { // The name of the pipeline in which you want to enable the flow of artifacts // from one stage to another. + // + // PipelineName is a required field PipelineName *string `locationName:"pipelineName" min:"1" type:"string" required:"true"` // The name of the stage where you want to enable the transition of artifacts, // either into the stage (inbound) or from that stage to the next stage (outbound). + // + // StageName is a required field StageName *string `locationName:"stageName" min:"1" type:"string" required:"true"` // Specifies whether artifacts will be allowed to enter the stage and be processed // by the actions in that stage (inbound) or whether already-processed artifacts // will be allowed to transition to the next stage (outbound). + // + // TransitionType is a required field TransitionType *string `locationName:"transitionType" type:"string" required:"true" enum:"StageTransitionType"` } @@ -2699,10 +2803,14 @@ type EncryptionKey struct { // The ID used to identify the key. For an AWS KMS key, this is the key ID or // key ARN. + // + // Id is a required field Id *string `locationName:"id" min:"1" type:"string" required:"true"` // The type of encryption key, such as an AWS Key Management Service (AWS KMS) // key. When creating or updating a pipeline, the value must be set to 'KMS'. + // + // Type is a required field Type *string `locationName:"type" type:"string" required:"true" enum:"EncryptionKeyType"` } @@ -2804,9 +2912,13 @@ type FailureDetails struct { ExternalExecutionId *string `locationName:"externalExecutionId" min:"1" type:"string"` // The message about the failure. + // + // Message is a required field Message *string `locationName:"message" type:"string" required:"true"` // The type of the failure. + // + // Type is a required field Type *string `locationName:"type" type:"string" required:"true" enum:"FailureType"` } @@ -2844,6 +2956,8 @@ type GetJobDetailsInput struct { _ struct{} `type:"structure"` // The unique system-generated ID for the job. + // + // JobId is a required field JobId *string `locationName:"jobId" type:"string" required:"true"` } @@ -2896,9 +3010,13 @@ type GetPipelineExecutionInput struct { _ struct{} `type:"structure"` // The ID of the pipeline execution about which you want to get execution details. + // + // PipelineExecutionId is a required field PipelineExecutionId *string `locationName:"pipelineExecutionId" type:"string" required:"true"` // The name of the pipeline about which you want to get execution details. + // + // PipelineName is a required field PipelineName *string `locationName:"pipelineName" min:"1" type:"string" required:"true"` } @@ -2955,6 +3073,8 @@ type GetPipelineInput struct { // The name of the pipeline for which you want to get information. Pipeline // names must be unique under an Amazon Web Services (AWS) user account. + // + // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // The version number of the pipeline. If you do not specify a version, defaults @@ -3014,6 +3134,8 @@ type GetPipelineStateInput struct { _ struct{} `type:"structure"` // The name of the pipeline about which you want to get information. + // + // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` } @@ -3082,9 +3204,13 @@ type GetThirdPartyJobDetailsInput struct { // The clientToken portion of the clientId and clientToken pair used to verify // that the calling entity is allowed access to the job and its details. + // + // ClientToken is a required field ClientToken *string `locationName:"clientToken" type:"string" required:"true"` // The unique system-generated ID used for identifying the job. + // + // JobId is a required field JobId *string `locationName:"jobId" min:"1" type:"string" required:"true"` } @@ -3147,6 +3273,8 @@ type InputArtifact struct { // action in strict sequence from the action that provided the output artifact. // Actions in parallel can declare different output artifacts, which are in // turn consumed by different following actions. + // + // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` } @@ -3302,6 +3430,8 @@ type ListActionTypesOutput struct { _ struct{} `type:"structure"` // Provides details of the action types. + // + // ActionTypes is a required field ActionTypes []*ActionType `locationName:"actionTypes" type:"list" required:"true"` // If the amount of returned information is significantly large, an identifier @@ -3375,6 +3505,8 @@ type OutputArtifact struct { // turn consumed by different following actions. // // Output artifact names must be unique within a pipeline. + // + // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` } @@ -3437,17 +3569,25 @@ type PipelineDeclaration struct { // The Amazon S3 location where artifacts are stored for the pipeline. If this // Amazon S3 bucket is created manually, it must meet the requirements for AWS // CodePipeline. For more information, see the Concepts (http://docs.aws.amazon.com/codepipeline/latest/userguide/concepts.html#CPS3Bucket). + // + // ArtifactStore is a required field ArtifactStore *ArtifactStore `locationName:"artifactStore" type:"structure" required:"true"` // The name of the action to be performed. + // + // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // The Amazon Resource Name (ARN) for AWS CodePipeline to use to either perform // actions with no actionRoleArn, or to use to assume roles for actions with // an actionRoleArn. + // + // RoleArn is a required field RoleArn *string `locationName:"roleArn" type:"string" required:"true"` // The stage in which to perform the action. + // + // Stages is a required field Stages []*StageDeclaration `locationName:"stages" type:"list" required:"true"` // The version number of the pipeline. A new pipeline always has a version number @@ -3580,6 +3720,8 @@ type PollForJobsInput struct { _ struct{} `type:"structure"` // Represents information about an action type. + // + // ActionTypeId is a required field ActionTypeId *ActionTypeId `locationName:"actionTypeId" type:"structure" required:"true"` // The maximum number of jobs to return in a poll for jobs call. @@ -3646,6 +3788,8 @@ type PollForThirdPartyJobsInput struct { _ struct{} `type:"structure"` // Represents information about an action type. + // + // ActionTypeId is a required field ActionTypeId *ActionTypeId `locationName:"actionTypeId" type:"structure" required:"true"` // The maximum number of jobs to return in a poll for jobs call. @@ -3706,15 +3850,23 @@ type PutActionRevisionInput struct { _ struct{} `type:"structure"` // The name of the action that will process the revision. + // + // ActionName is a required field ActionName *string `locationName:"actionName" min:"1" type:"string" required:"true"` // Represents information about the version (or revision) of an action. + // + // ActionRevision is a required field ActionRevision *ActionRevision `locationName:"actionRevision" type:"structure" required:"true"` // The name of the pipeline that will start processing the revision to the source. + // + // PipelineName is a required field PipelineName *string `locationName:"pipelineName" min:"1" type:"string" required:"true"` // The name of the stage that contains the action that will act upon the revision. + // + // StageName is a required field StageName *string `locationName:"stageName" min:"1" type:"string" required:"true"` } @@ -3791,21 +3943,31 @@ type PutApprovalResultInput struct { _ struct{} `type:"structure"` // The name of the action for which approval is requested. + // + // ActionName is a required field ActionName *string `locationName:"actionName" min:"1" type:"string" required:"true"` // The name of the pipeline that contains the action. + // + // PipelineName is a required field PipelineName *string `locationName:"pipelineName" min:"1" type:"string" required:"true"` // Represents information about the result of the approval request. + // + // Result is a required field Result *ApprovalResult `locationName:"result" type:"structure" required:"true"` // The name of the stage that contains the action. + // + // StageName is a required field StageName *string `locationName:"stageName" min:"1" type:"string" required:"true"` // The system-generated token used to identify a unique approval request. The // token for each open approval request can be obtained using the GetPipelineState // action and is used to validate that the approval request corresponding to // this token is still valid. + // + // Token is a required field Token *string `locationName:"token" type:"string" required:"true"` } @@ -3881,10 +4043,14 @@ type PutJobFailureResultInput struct { _ struct{} `type:"structure"` // The details about the failure of a job. + // + // FailureDetails is a required field FailureDetails *FailureDetails `locationName:"failureDetails" type:"structure" required:"true"` // The unique system-generated ID of the job that failed. This is the same ID // returned from PollForJobs. + // + // JobId is a required field JobId *string `locationName:"jobId" type:"string" required:"true"` } @@ -3955,6 +4121,8 @@ type PutJobSuccessResultInput struct { // The unique system-generated ID of the job that succeeded. This is the same // ID returned from PollForJobs. + // + // JobId is a required field JobId *string `locationName:"jobId" type:"string" required:"true"` } @@ -4011,12 +4179,18 @@ type PutThirdPartyJobFailureResultInput struct { // The clientToken portion of the clientId and clientToken pair used to verify // that the calling entity is allowed access to the job and its details. + // + // ClientToken is a required field ClientToken *string `locationName:"clientToken" type:"string" required:"true"` // Represents information about failure details. + // + // FailureDetails is a required field FailureDetails *FailureDetails `locationName:"failureDetails" type:"structure" required:"true"` // The ID of the job that failed. This is the same ID returned from PollForThirdPartyJobs. + // + // JobId is a required field JobId *string `locationName:"jobId" min:"1" type:"string" required:"true"` } @@ -4077,6 +4251,8 @@ type PutThirdPartyJobSuccessResultInput struct { // The clientToken portion of the clientId and clientToken pair used to verify // that the calling entity is allowed access to the job and its details. + // + // ClientToken is a required field ClientToken *string `locationName:"clientToken" type:"string" required:"true"` // A token generated by a job worker, such as an AWS CodeDeploy deployment ID, @@ -4096,6 +4272,8 @@ type PutThirdPartyJobSuccessResultInput struct { // The ID of the job that successfully completed. This is the same ID returned // from PollForThirdPartyJobs. + // + // JobId is a required field JobId *string `locationName:"jobId" min:"1" type:"string" required:"true"` } @@ -4159,15 +4337,23 @@ type RetryStageExecutionInput struct { // The ID of the pipeline execution in the failed stage to be retried. Use the // GetPipelineState action to retrieve the current pipelineExecutionId of the // failed stage + // + // PipelineExecutionId is a required field PipelineExecutionId *string `locationName:"pipelineExecutionId" type:"string" required:"true"` // The name of the pipeline that contains the failed stage. + // + // PipelineName is a required field PipelineName *string `locationName:"pipelineName" min:"1" type:"string" required:"true"` // The scope of the retry attempt. Currently, the only supported value is FAILED_ACTIONS. + // + // RetryMode is a required field RetryMode *string `locationName:"retryMode" type:"string" required:"true" enum:"StageRetryMode"` // The name of the failed stage to be retried. + // + // StageName is a required field StageName *string `locationName:"stageName" min:"1" type:"string" required:"true"` } @@ -4232,10 +4418,14 @@ type S3ArtifactLocation struct { _ struct{} `type:"structure"` // The name of the Amazon S3 bucket. + // + // BucketName is a required field BucketName *string `locationName:"bucketName" type:"string" required:"true"` // The key of the object in the Amazon S3 bucket, which uniquely identifies // the object in the bucket. + // + // ObjectKey is a required field ObjectKey *string `locationName:"objectKey" type:"string" required:"true"` } @@ -4272,12 +4462,16 @@ type StageDeclaration struct { _ struct{} `type:"structure"` // The actions included in a stage. + // + // Actions is a required field Actions []*ActionDeclaration `locationName:"actions" type:"list" required:"true"` // Reserved for future use. Blockers []*BlockerDeclaration `locationName:"blockers" type:"list"` // The name of the stage. + // + // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` } @@ -4335,10 +4529,14 @@ type StageExecution struct { _ struct{} `type:"structure"` // The ID of the pipeline execution associated with the stage. + // + // PipelineExecutionId is a required field PipelineExecutionId *string `locationName:"pipelineExecutionId" type:"string" required:"true"` // The status of the stage, or for a completed stage, the last status of the // stage. + // + // Status is a required field Status *string `locationName:"status" type:"string" required:"true" enum:"StageExecutionStatus"` } @@ -4385,6 +4583,8 @@ type StartPipelineExecutionInput struct { _ struct{} `type:"structure"` // The name of the pipeline to start. + // + // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` } @@ -4566,6 +4766,8 @@ type UpdatePipelineInput struct { _ struct{} `type:"structure"` // The name of the pipeline to be updated. + // + // Pipeline is a required field Pipeline *PipelineDeclaration `locationName:"pipeline" type:"structure" required:"true"` } @@ -4616,134 +4818,163 @@ func (s UpdatePipelineOutput) GoString() string { } const ( - // @enum ActionCategory + // ActionCategorySource is a ActionCategory enum value ActionCategorySource = "Source" - // @enum ActionCategory + + // ActionCategoryBuild is a ActionCategory enum value ActionCategoryBuild = "Build" - // @enum ActionCategory + + // ActionCategoryDeploy is a ActionCategory enum value ActionCategoryDeploy = "Deploy" - // @enum ActionCategory + + // ActionCategoryTest is a ActionCategory enum value ActionCategoryTest = "Test" - // @enum ActionCategory + + // ActionCategoryInvoke is a ActionCategory enum value ActionCategoryInvoke = "Invoke" - // @enum ActionCategory + + // ActionCategoryApproval is a ActionCategory enum value ActionCategoryApproval = "Approval" ) const ( - // @enum ActionConfigurationPropertyType + // ActionConfigurationPropertyTypeString is a ActionConfigurationPropertyType enum value ActionConfigurationPropertyTypeString = "String" - // @enum ActionConfigurationPropertyType + + // ActionConfigurationPropertyTypeNumber is a ActionConfigurationPropertyType enum value ActionConfigurationPropertyTypeNumber = "Number" - // @enum ActionConfigurationPropertyType + + // ActionConfigurationPropertyTypeBoolean is a ActionConfigurationPropertyType enum value ActionConfigurationPropertyTypeBoolean = "Boolean" ) const ( - // @enum ActionExecutionStatus + // ActionExecutionStatusInProgress is a ActionExecutionStatus enum value ActionExecutionStatusInProgress = "InProgress" - // @enum ActionExecutionStatus + + // ActionExecutionStatusSucceeded is a ActionExecutionStatus enum value ActionExecutionStatusSucceeded = "Succeeded" - // @enum ActionExecutionStatus + + // ActionExecutionStatusFailed is a ActionExecutionStatus enum value ActionExecutionStatusFailed = "Failed" ) const ( - // @enum ActionOwner + // ActionOwnerAws is a ActionOwner enum value ActionOwnerAws = "AWS" - // @enum ActionOwner + + // ActionOwnerThirdParty is a ActionOwner enum value ActionOwnerThirdParty = "ThirdParty" - // @enum ActionOwner + + // ActionOwnerCustom is a ActionOwner enum value ActionOwnerCustom = "Custom" ) const ( - // @enum ApprovalStatus + // ApprovalStatusApproved is a ApprovalStatus enum value ApprovalStatusApproved = "Approved" - // @enum ApprovalStatus + + // ApprovalStatusRejected is a ApprovalStatus enum value ApprovalStatusRejected = "Rejected" ) const ( - // @enum ArtifactLocationType + // ArtifactLocationTypeS3 is a ArtifactLocationType enum value ArtifactLocationTypeS3 = "S3" ) const ( - // @enum ArtifactStoreType + // ArtifactStoreTypeS3 is a ArtifactStoreType enum value ArtifactStoreTypeS3 = "S3" ) const ( - // @enum BlockerType + // BlockerTypeSchedule is a BlockerType enum value BlockerTypeSchedule = "Schedule" ) const ( - // @enum EncryptionKeyType + // EncryptionKeyTypeKms is a EncryptionKeyType enum value EncryptionKeyTypeKms = "KMS" ) const ( - // @enum FailureType + // FailureTypeJobFailed is a FailureType enum value FailureTypeJobFailed = "JobFailed" - // @enum FailureType + + // FailureTypeConfigurationError is a FailureType enum value FailureTypeConfigurationError = "ConfigurationError" - // @enum FailureType + + // FailureTypePermissionError is a FailureType enum value FailureTypePermissionError = "PermissionError" - // @enum FailureType + + // FailureTypeRevisionOutOfSync is a FailureType enum value FailureTypeRevisionOutOfSync = "RevisionOutOfSync" - // @enum FailureType + + // FailureTypeRevisionUnavailable is a FailureType enum value FailureTypeRevisionUnavailable = "RevisionUnavailable" - // @enum FailureType + + // FailureTypeSystemUnavailable is a FailureType enum value FailureTypeSystemUnavailable = "SystemUnavailable" ) const ( - // @enum JobStatus + // JobStatusCreated is a JobStatus enum value JobStatusCreated = "Created" - // @enum JobStatus + + // JobStatusQueued is a JobStatus enum value JobStatusQueued = "Queued" - // @enum JobStatus + + // JobStatusDispatched is a JobStatus enum value JobStatusDispatched = "Dispatched" - // @enum JobStatus + + // JobStatusInProgress is a JobStatus enum value JobStatusInProgress = "InProgress" - // @enum JobStatus + + // JobStatusTimedOut is a JobStatus enum value JobStatusTimedOut = "TimedOut" - // @enum JobStatus + + // JobStatusSucceeded is a JobStatus enum value JobStatusSucceeded = "Succeeded" - // @enum JobStatus + + // JobStatusFailed is a JobStatus enum value JobStatusFailed = "Failed" ) const ( - // @enum PipelineExecutionStatus + // PipelineExecutionStatusInProgress is a PipelineExecutionStatus enum value PipelineExecutionStatusInProgress = "InProgress" - // @enum PipelineExecutionStatus + + // PipelineExecutionStatusSucceeded is a PipelineExecutionStatus enum value PipelineExecutionStatusSucceeded = "Succeeded" - // @enum PipelineExecutionStatus + + // PipelineExecutionStatusSuperseded is a PipelineExecutionStatus enum value PipelineExecutionStatusSuperseded = "Superseded" - // @enum PipelineExecutionStatus + + // PipelineExecutionStatusFailed is a PipelineExecutionStatus enum value PipelineExecutionStatusFailed = "Failed" ) const ( - // @enum StageExecutionStatus + // StageExecutionStatusInProgress is a StageExecutionStatus enum value StageExecutionStatusInProgress = "InProgress" - // @enum StageExecutionStatus + + // StageExecutionStatusFailed is a StageExecutionStatus enum value StageExecutionStatusFailed = "Failed" - // @enum StageExecutionStatus + + // StageExecutionStatusSucceeded is a StageExecutionStatus enum value StageExecutionStatusSucceeded = "Succeeded" ) const ( - // @enum StageRetryMode + // StageRetryModeFailedActions is a StageRetryMode enum value StageRetryModeFailedActions = "FAILED_ACTIONS" ) const ( - // @enum StageTransitionType + // StageTransitionTypeInbound is a StageTransitionType enum value StageTransitionTypeInbound = "Inbound" - // @enum StageTransitionType + + // StageTransitionTypeOutbound is a StageTransitionType enum value StageTransitionTypeOutbound = "Outbound" ) diff --git a/service/cognitoidentity/api.go b/service/cognitoidentity/api.go index 375d45f1663..694eb2ddac3 100644 --- a/service/cognitoidentity/api.go +++ b/service/cognitoidentity/api.go @@ -973,6 +973,8 @@ type CreateIdentityPoolInput struct { _ struct{} `type:"structure"` // TRUE if the identity pool supports unauthenticated logins. + // + // AllowUnauthenticatedIdentities is a required field AllowUnauthenticatedIdentities *bool `type:"boolean" required:"true"` // An array of Amazon Cognito Identity user pools. @@ -988,6 +990,8 @@ type CreateIdentityPoolInput struct { DeveloperProviderName *string `min:"1" type:"string"` // A string that you provide. + // + // IdentityPoolName is a required field IdentityPoolName *string `min:"1" type:"string" required:"true"` // A list of OpendID Connect provider ARNs. @@ -1075,6 +1079,8 @@ type DeleteIdentitiesInput struct { _ struct{} `type:"structure"` // A list of 1-60 identities that you want to delete. + // + // IdentityIdsToDelete is a required field IdentityIdsToDelete []*string `min:"1" type:"list" required:"true"` } @@ -1128,6 +1134,8 @@ type DeleteIdentityPoolInput struct { _ struct{} `type:"structure"` // An identity pool ID in the format REGION:GUID. + // + // IdentityPoolId is a required field IdentityPoolId *string `min:"1" type:"string" required:"true"` } @@ -1176,6 +1184,8 @@ type DescribeIdentityInput struct { _ struct{} `type:"structure"` // A unique identifier in the format REGION:GUID. + // + // IdentityId is a required field IdentityId *string `min:"1" type:"string" required:"true"` } @@ -1210,6 +1220,8 @@ type DescribeIdentityPoolInput struct { _ struct{} `type:"structure"` // An identity pool ID in the format REGION:GUID. + // + // IdentityPoolId is a required field IdentityPoolId *string `min:"1" type:"string" required:"true"` } @@ -1250,6 +1262,8 @@ type GetCredentialsForIdentityInput struct { CustomRoleArn *string `min:"20" type:"string"` // A unique identifier in the format REGION:GUID. + // + // IdentityId is a required field IdentityId *string `min:"1" type:"string" required:"true"` // A set of optional name-value pairs that map provider names to provider tokens. @@ -1314,6 +1328,8 @@ type GetIdInput struct { AccountId *string `min:"1" type:"string"` // An identity pool ID in the format REGION:GUID. + // + // IdentityPoolId is a required field IdentityPoolId *string `min:"1" type:"string" required:"true"` // A set of optional name-value pairs that map provider names to provider tokens. @@ -1376,6 +1392,8 @@ type GetIdentityPoolRolesInput struct { _ struct{} `type:"structure"` // An identity pool ID in the format REGION:GUID. + // + // IdentityPoolId is a required field IdentityPoolId *string `min:"1" type:"string" required:"true"` } @@ -1435,6 +1453,8 @@ type GetOpenIdTokenForDeveloperIdentityInput struct { IdentityId *string `min:"1" type:"string"` // An identity pool ID in the format REGION:GUID. + // + // IdentityPoolId is a required field IdentityPoolId *string `min:"1" type:"string" required:"true"` // A set of optional name-value pairs that map provider names to provider tokens. @@ -1446,6 +1466,8 @@ type GetOpenIdTokenForDeveloperIdentityInput struct { // The developer user identifier is an identifier from your backend that uniquely // identifies a user. When you create an identity pool, you can specify the // supported logins. + // + // Logins is a required field Logins map[string]*string `type:"map" required:"true"` // The expiration time of the token, in seconds. You can specify a custom expiration @@ -1520,6 +1542,8 @@ type GetOpenIdTokenInput struct { _ struct{} `type:"structure"` // A unique identifier in the format REGION:GUID. + // + // IdentityId is a required field IdentityId *string `min:"1" type:"string" required:"true"` // A set of optional name-value pairs that map provider names to provider tokens. @@ -1609,6 +1633,8 @@ type IdentityPool struct { _ struct{} `type:"structure"` // TRUE if the identity pool supports unauthenticated logins. + // + // AllowUnauthenticatedIdentities is a required field AllowUnauthenticatedIdentities *bool `type:"boolean" required:"true"` // A list representing an Amazon Cognito Identity User Pool and its client ID. @@ -1618,9 +1644,13 @@ type IdentityPool struct { DeveloperProviderName *string `min:"1" type:"string"` // An identity pool ID in the format REGION:GUID. + // + // IdentityPoolId is a required field IdentityPoolId *string `min:"1" type:"string" required:"true"` // A string that you provide. + // + // IdentityPoolName is a required field IdentityPoolName *string `min:"1" type:"string" required:"true"` // A list of OpendID Connect provider ARNs. @@ -1713,9 +1743,13 @@ type ListIdentitiesInput struct { HideDisabled *bool `type:"boolean"` // An identity pool ID in the format REGION:GUID. + // + // IdentityPoolId is a required field IdentityPoolId *string `min:"1" type:"string" required:"true"` // The maximum number of identities to return. + // + // MaxResults is a required field MaxResults *int64 `min:"1" type:"integer" required:"true"` // A pagination token. @@ -1786,6 +1820,8 @@ type ListIdentityPoolsInput struct { _ struct{} `type:"structure"` // The maximum number of identities to return. + // + // MaxResults is a required field MaxResults *int64 `min:"1" type:"integer" required:"true"` // A pagination token. @@ -1855,6 +1891,8 @@ type LookupDeveloperIdentityInput struct { IdentityId *string `min:"1" type:"string"` // An identity pool ID in the format REGION:GUID. + // + // IdentityPoolId is a required field IdentityPoolId *string `min:"1" type:"string" required:"true"` // The maximum number of identities to return. @@ -1943,6 +1981,8 @@ type MergeDeveloperIdentitiesInput struct { _ struct{} `type:"structure"` // User identifier for the destination user. The value should be a DeveloperUserIdentifier. + // + // DestinationUserIdentifier is a required field DestinationUserIdentifier *string `min:"1" type:"string" required:"true"` // The "domain" by which Cognito will refer to your users. This is a (pseudo) @@ -1950,12 +1990,18 @@ type MergeDeveloperIdentitiesInput struct { // as a placeholder that allows your backend and the Cognito service to communicate // about the developer provider. For the DeveloperProviderName, you can use // letters as well as period (.), underscore (_), and dash (-). + // + // DeveloperProviderName is a required field DeveloperProviderName *string `min:"1" type:"string" required:"true"` // An identity pool ID in the format REGION:GUID. + // + // IdentityPoolId is a required field IdentityPoolId *string `min:"1" type:"string" required:"true"` // User identifier for the source user. The value should be a DeveloperUserIdentifier. + // + // SourceUserIdentifier is a required field SourceUserIdentifier *string `min:"1" type:"string" required:"true"` } @@ -2065,11 +2111,15 @@ type SetIdentityPoolRolesInput struct { _ struct{} `type:"structure"` // An identity pool ID in the format REGION:GUID. + // + // IdentityPoolId is a required field IdentityPoolId *string `min:"1" type:"string" required:"true"` // The map of roles associated with this pool. For a given role, the key will // be either "authenticated" or "unauthenticated" and the value will be the // Role ARN. + // + // Roles is a required field Roles map[string]*string `type:"map" required:"true"` } @@ -2121,15 +2171,23 @@ type UnlinkDeveloperIdentityInput struct { _ struct{} `type:"structure"` // The "domain" by which Cognito will refer to your users. + // + // DeveloperProviderName is a required field DeveloperProviderName *string `min:"1" type:"string" required:"true"` // A unique ID used by your backend authentication process to identify a user. + // + // DeveloperUserIdentifier is a required field DeveloperUserIdentifier *string `min:"1" type:"string" required:"true"` // A unique identifier in the format REGION:GUID. + // + // IdentityId is a required field IdentityId *string `min:"1" type:"string" required:"true"` // An identity pool ID in the format REGION:GUID. + // + // IdentityPoolId is a required field IdentityPoolId *string `min:"1" type:"string" required:"true"` } @@ -2196,12 +2254,18 @@ type UnlinkIdentityInput struct { _ struct{} `type:"structure"` // A unique identifier in the format REGION:GUID. + // + // IdentityId is a required field IdentityId *string `min:"1" type:"string" required:"true"` // A set of optional name-value pairs that map provider names to provider tokens. + // + // Logins is a required field Logins map[string]*string `type:"map" required:"true"` // Provider names to unlink from this identity. + // + // LoginsToRemove is a required field LoginsToRemove []*string `type:"list" required:"true"` } @@ -2274,8 +2338,9 @@ func (s UnprocessedIdentityId) GoString() string { } const ( - // @enum ErrorCode + // ErrorCodeAccessDenied is a ErrorCode enum value ErrorCodeAccessDenied = "AccessDenied" - // @enum ErrorCode + + // ErrorCodeInternalServerError is a ErrorCode enum value ErrorCodeInternalServerError = "InternalServerError" ) diff --git a/service/cognitoidentityprovider/api.go b/service/cognitoidentityprovider/api.go index c33ca14561f..f6bcd58b58f 100644 --- a/service/cognitoidentityprovider/api.go +++ b/service/cognitoidentityprovider/api.go @@ -2765,9 +2765,13 @@ type AddCustomAttributesInput struct { _ struct{} `type:"structure"` // An array of custom attributes, such as Mutable and Name. + // + // CustomAttributes is a required field CustomAttributes []*SchemaAttributeType `min:"1" type:"list" required:"true"` // The user pool ID for the user pool where you want to add custom attributes. + // + // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` } @@ -2833,9 +2837,13 @@ type AdminConfirmSignUpInput struct { _ struct{} `type:"structure"` // The user pool ID for which you want to confirm user registration. + // + // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` // The user name for which you want to confirm user registration. + // + // Username is a required field Username *string `min:"1" type:"string" required:"true"` } @@ -2999,11 +3007,15 @@ type AdminCreateUserInput struct { UserAttributes []*AttributeType `type:"list"` // The user pool ID for the user pool where the user will be created. + // + // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` // The username for the user. Must be unique within the user pool. Must be a // UTF-8 string between 1 and 128 characters. After the user is created, the // username cannot be changed. + // + // Username is a required field Username *string `min:"1" type:"string" required:"true"` // The user's validation data. This is an array of name-value pairs that contain @@ -3099,12 +3111,18 @@ type AdminDeleteUserAttributesInput struct { _ struct{} `type:"structure"` // An array of strings representing the user attribute names you wish to delete. + // + // UserAttributeNames is a required field UserAttributeNames []*string `type:"list" required:"true"` // The user pool ID for the user pool where you want to delete user attributes. + // + // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` // The user name of the user from which you would like to delete attributes. + // + // Username is a required field Username *string `min:"1" type:"string" required:"true"` } @@ -3164,9 +3182,13 @@ type AdminDeleteUserInput struct { _ struct{} `type:"structure"` // The user pool ID for the user pool where you want to delete the user. + // + // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` // The user name of the user you wish to delete. + // + // Username is a required field Username *string `min:"1" type:"string" required:"true"` } @@ -3221,9 +3243,13 @@ type AdminDisableUserInput struct { _ struct{} `type:"structure"` // The user pool ID for the user pool where you want to disable the user. + // + // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` // The user name of the user you wish to disable. + // + // Username is a required field Username *string `min:"1" type:"string" required:"true"` } @@ -3280,9 +3306,13 @@ type AdminEnableUserInput struct { _ struct{} `type:"structure"` // The user pool ID for the user pool where you want to enable the user. + // + // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` // The user name of the user you wish to ebable. + // + // Username is a required field Username *string `min:"1" type:"string" required:"true"` } @@ -3339,12 +3369,18 @@ type AdminForgetDeviceInput struct { _ struct{} `type:"structure"` // The device key. + // + // DeviceKey is a required field DeviceKey *string `min:"1" type:"string" required:"true"` // The user pool ID. + // + // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` // The user name. + // + // Username is a required field Username *string `min:"1" type:"string" required:"true"` } @@ -3405,12 +3441,18 @@ type AdminGetDeviceInput struct { _ struct{} `type:"structure"` // The device key. + // + // DeviceKey is a required field DeviceKey *string `min:"1" type:"string" required:"true"` // The user pool ID. + // + // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` // The user name. + // + // Username is a required field Username *string `min:"1" type:"string" required:"true"` } @@ -3457,6 +3499,8 @@ type AdminGetDeviceOutput struct { _ struct{} `type:"structure"` // The device. + // + // Device is a required field Device *DeviceType `type:"structure" required:"true"` } @@ -3476,9 +3520,13 @@ type AdminGetUserInput struct { // The user pool ID for the user pool where you want to get information about // the user. + // + // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` // The user name of the user you wish to retrieve. + // + // Username is a required field Username *string `min:"1" type:"string" required:"true"` } @@ -3548,6 +3596,8 @@ type AdminGetUserOutput struct { UserStatus *string `type:"string" enum:"UserStatusType"` // The user name of the user about whom you are receiving information. + // + // Username is a required field Username *string `min:"1" type:"string" required:"true"` } @@ -3566,18 +3616,24 @@ type AdminInitiateAuthInput struct { _ struct{} `type:"structure"` // The authentication flow. + // + // AuthFlow is a required field AuthFlow *string `type:"string" required:"true" enum:"AuthFlowType"` // The authentication parameters. AuthParameters map[string]*string `type:"map"` // The client app ID. + // + // ClientId is a required field ClientId *string `min:"1" type:"string" required:"true"` // The client app metadata. ClientMetadata map[string]*string `type:"map"` // The ID of the Amazon Cognito user pool. + // + // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` } @@ -3654,9 +3710,13 @@ type AdminListDevicesInput struct { PaginationToken *string `min:"1" type:"string"` // The user pool ID. + // + // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` // The user name. + // + // Username is a required field Username *string `min:"1" type:"string" required:"true"` } @@ -3721,9 +3781,13 @@ type AdminResetUserPasswordInput struct { _ struct{} `type:"structure"` // The user pool ID for the user pool where you want to reset the user's password. + // + // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` // The user name of the user whose password you wish to reset. + // + // Username is a required field Username *string `min:"1" type:"string" required:"true"` } @@ -3779,18 +3843,24 @@ type AdminRespondToAuthChallengeInput struct { _ struct{} `type:"structure"` // The name of the challenge. + // + // ChallengeName is a required field ChallengeName *string `type:"string" required:"true" enum:"ChallengeNameType"` // The challenge response. ChallengeResponses map[string]*string `type:"map"` // The client ID. + // + // ClientId is a required field ClientId *string `min:"1" type:"string" required:"true"` // The session. Session *string `min:"20" type:"string"` // The ID of the Amazon Cognito user pool. + // + // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` } @@ -3864,13 +3934,19 @@ type AdminSetUserSettingsInput struct { _ struct{} `type:"structure"` // Specifies the options for MFA (e.g., email or phone number). + // + // MFAOptions is a required field MFAOptions []*MFAOptionType `type:"list" required:"true"` // The user pool ID for the user pool where you want to set the user's settings, // such as MFA options. + // + // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` // The user name of the user for whom you wish to set user settings. + // + // Username is a required field Username *string `min:"1" type:"string" required:"true"` } @@ -3939,15 +4015,21 @@ type AdminUpdateDeviceStatusInput struct { _ struct{} `type:"structure"` // The device key. + // + // DeviceKey is a required field DeviceKey *string `min:"1" type:"string" required:"true"` // The status indicating whether a device has been remembered or not. DeviceRememberedStatus *string `type:"string" enum:"DeviceRememberedStatusType"` // The user pool ID> + // + // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` // The user name. + // + // Username is a required field Username *string `min:"1" type:"string" required:"true"` } @@ -4009,12 +4091,18 @@ type AdminUpdateUserAttributesInput struct { _ struct{} `type:"structure"` // An array of name-value pairs representing user attributes. + // + // UserAttributes is a required field UserAttributes []*AttributeType `type:"list" required:"true"` // The user pool ID for the user pool where you want to update user attributes. + // + // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` // The user name of the user for whom you want to update user attributes. + // + // Username is a required field Username *string `min:"1" type:"string" required:"true"` } @@ -4084,9 +4172,13 @@ type AdminUserGlobalSignOutInput struct { _ struct{} `type:"structure"` // The user pool ID. + // + // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` // The user name. + // + // Username is a required field Username *string `min:"1" type:"string" required:"true"` } @@ -4142,6 +4234,8 @@ type AttributeType struct { _ struct{} `type:"structure"` // The name of the attribute. + // + // Name is a required field Name *string `min:"1" type:"string" required:"true"` // The value of the attribute. @@ -4215,9 +4309,13 @@ type ChangePasswordInput struct { AccessToken *string `type:"string"` // The old password in the change password request. + // + // PreviousPassword is a required field PreviousPassword *string `min:"6" type:"string" required:"true"` // The new password in the change password request. + // + // ProposedPassword is a required field ProposedPassword *string `min:"6" type:"string" required:"true"` } @@ -4297,9 +4395,13 @@ type ConfirmDeviceInput struct { _ struct{} `type:"structure"` // The access token. + // + // AccessToken is a required field AccessToken *string `type:"string" required:"true"` // The device key. + // + // DeviceKey is a required field DeviceKey *string `min:"1" type:"string" required:"true"` // The device name. @@ -4365,12 +4467,18 @@ type ConfirmForgotPasswordInput struct { _ struct{} `type:"structure"` // The ID of the client associated with the user pool. + // + // ClientId is a required field ClientId *string `min:"1" type:"string" required:"true"` // The confirmation code sent by a user's request to retrieve a forgotten password. + // + // ConfirmationCode is a required field ConfirmationCode *string `min:"1" type:"string" required:"true"` // The password sent by sent by a user's request to retrieve a forgotten password. + // + // Password is a required field Password *string `min:"6" type:"string" required:"true"` // A keyed-hash message authentication code (HMAC) calculated using the secret @@ -4379,6 +4487,8 @@ type ConfirmForgotPasswordInput struct { // The user name of the user for whom you want to enter a code to retrieve a // forgotten password. + // + // Username is a required field Username *string `min:"1" type:"string" required:"true"` } @@ -4450,9 +4560,13 @@ type ConfirmSignUpInput struct { _ struct{} `type:"structure"` // The ID of the client associated with the user pool. + // + // ClientId is a required field ClientId *string `min:"1" type:"string" required:"true"` // The confirmation code sent by a user's request to confirm registration. + // + // ConfirmationCode is a required field ConfirmationCode *string `min:"1" type:"string" required:"true"` // Boolean to be specified to force user confirmation irrespective of existing @@ -4468,6 +4582,8 @@ type ConfirmSignUpInput struct { SecretHash *string `min:"1" type:"string"` // The user name of the user whose registration you wish to confirm. + // + // Username is a required field Username *string `min:"1" type:"string" required:"true"` } @@ -4532,12 +4648,18 @@ type CreateUserImportJobInput struct { _ struct{} `type:"structure"` // The role ARN for the Amazon CloudWatch Logging role for the user import job. + // + // CloudWatchLogsRoleArn is a required field CloudWatchLogsRoleArn *string `min:"20" type:"string" required:"true"` // The job name for the user import job. + // + // JobName is a required field JobName *string `min:"1" type:"string" required:"true"` // The user pool ID for the user pool that the users are being imported into. + // + // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` } @@ -4603,6 +4725,8 @@ type CreateUserPoolClientInput struct { _ struct{} `type:"structure"` // The client name for the user pool client you would like to create. + // + // ClientName is a required field ClientName *string `min:"1" type:"string" required:"true"` // The explicit authentication flows. @@ -4619,6 +4743,8 @@ type CreateUserPoolClientInput struct { RefreshTokenValidity *int64 `type:"integer"` // The user pool ID for the user pool where you want to create a user pool client. + // + // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` // The write attributes. @@ -4711,6 +4837,8 @@ type CreateUserPoolInput struct { Policies *UserPoolPolicyType `type:"structure"` // A string used to name the user pool. + // + // PoolName is a required field PoolName *string `min:"1" type:"string" required:"true"` // A string representing the SMS authentication message. @@ -4813,6 +4941,8 @@ type DeleteUserAttributesInput struct { AccessToken *string `type:"string"` // An array of strings representing the user attribute names you wish to delete. + // + // UserAttributeNames is a required field UserAttributeNames []*string `type:"list" required:"true"` } @@ -4891,9 +5021,13 @@ type DeleteUserPoolClientInput struct { _ struct{} `type:"structure"` // The ID of the client associated with the user pool. + // + // ClientId is a required field ClientId *string `min:"1" type:"string" required:"true"` // The user pool ID for the user pool where you want to delete the client. + // + // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` } @@ -4948,6 +5082,8 @@ type DeleteUserPoolInput struct { _ struct{} `type:"structure"` // The user pool ID for the user pool you want to delete. + // + // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` } @@ -4996,9 +5132,13 @@ type DescribeUserImportJobInput struct { _ struct{} `type:"structure"` // The job ID for the user import job. + // + // JobId is a required field JobId *string `min:"1" type:"string" required:"true"` // The user pool ID for the user pool that the users are being imported into. + // + // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` } @@ -5058,9 +5198,13 @@ type DescribeUserPoolClientInput struct { _ struct{} `type:"structure"` // The ID of the client associated with the user pool. + // + // ClientId is a required field ClientId *string `min:"1" type:"string" required:"true"` // The user pool ID for the user pool you want to describe. + // + // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` } @@ -5120,6 +5264,8 @@ type DescribeUserPoolInput struct { _ struct{} `type:"structure"` // The user pool ID for the user pool you want to describe. + // + // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` } @@ -5282,6 +5428,8 @@ type ForgetDeviceInput struct { AccessToken *string `type:"string"` // The device key. + // + // DeviceKey is a required field DeviceKey *string `min:"1" type:"string" required:"true"` } @@ -5330,6 +5478,8 @@ type ForgotPasswordInput struct { _ struct{} `type:"structure"` // The ID of the client associated with the user pool. + // + // ClientId is a required field ClientId *string `min:"1" type:"string" required:"true"` // A keyed-hash message authentication code (HMAC) calculated using the secret @@ -5338,6 +5488,8 @@ type ForgotPasswordInput struct { // The user name of the user for whom you want to enter a code to retrieve a // forgotten password. + // + // Username is a required field Username *string `min:"1" type:"string" required:"true"` } @@ -5401,6 +5553,8 @@ type GetCSVHeaderInput struct { _ struct{} `type:"structure"` // The user pool ID for the user pool that the users are to be imported into. + // + // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` } @@ -5460,6 +5614,8 @@ type GetDeviceInput struct { AccessToken *string `type:"string"` // The device key. + // + // DeviceKey is a required field DeviceKey *string `min:"1" type:"string" required:"true"` } @@ -5494,6 +5650,8 @@ type GetDeviceOutput struct { _ struct{} `type:"structure"` // The device. + // + // Device is a required field Device *DeviceType `type:"structure" required:"true"` } @@ -5517,6 +5675,8 @@ type GetUserAttributeVerificationCodeInput struct { // The attribute name returned by the server response to get the user attribute // verification code. + // + // AttributeName is a required field AttributeName *string `min:"1" type:"string" required:"true"` } @@ -5594,9 +5754,13 @@ type GetUserOutput struct { MFAOptions []*MFAOptionType `type:"list"` // An array of name-value pairs representing user attributes. + // + // UserAttributes is a required field UserAttributes []*AttributeType `type:"list" required:"true"` // The user name of the user you wish to retrieve from the get user request. + // + // Username is a required field Username *string `min:"1" type:"string" required:"true"` } @@ -5648,12 +5812,16 @@ type InitiateAuthInput struct { _ struct{} `type:"structure"` // The authentication flow. + // + // AuthFlow is a required field AuthFlow *string `type:"string" required:"true" enum:"AuthFlowType"` // The authentication parameters. AuthParameters map[string]*string `type:"map"` // The client ID. + // + // ClientId is a required field ClientId *string `min:"1" type:"string" required:"true"` // The client app's metadata. @@ -5794,6 +5962,8 @@ type ListDevicesInput struct { _ struct{} `type:"structure"` // The access tokens for the request to list devices. + // + // AccessToken is a required field AccessToken *string `type:"string" required:"true"` // The limit of the device request. @@ -5855,6 +6025,8 @@ type ListUserImportJobsInput struct { _ struct{} `type:"structure"` // The maximum number of import jobs you want the request to return. + // + // MaxResults is a required field MaxResults *int64 `min:"1" type:"integer" required:"true"` // An identifier that was returned from the previous call to ListUserImportJobs, @@ -5862,6 +6034,8 @@ type ListUserImportJobsInput struct { PaginationToken *string `min:"1" type:"string"` // The user pool ID for the user pool that the users are being imported into. + // + // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` } @@ -5936,6 +6110,8 @@ type ListUserPoolClientsInput struct { NextToken *string `min:"1" type:"string"` // The user pool ID for the user pool where you want to list user pool clients. + // + // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` } @@ -5999,6 +6175,8 @@ type ListUserPoolsInput struct { // The maximum number of results you want the request to return when listing // the user pools. + // + // MaxResults is a required field MaxResults *int64 `min:"1" type:"integer" required:"true"` // An identifier that was returned from the previous call to this operation, @@ -6075,6 +6253,8 @@ type ListUsersInput struct { PaginationToken *string `min:"1" type:"string"` // The user pool ID for which you want to list users. + // + // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` } @@ -6302,6 +6482,8 @@ type ResendConfirmationCodeInput struct { _ struct{} `type:"structure"` // The ID of the client associated with the user pool. + // + // ClientId is a required field ClientId *string `min:"1" type:"string" required:"true"` // A keyed-hash message authentication code (HMAC) calculated using the secret @@ -6309,6 +6491,8 @@ type ResendConfirmationCodeInput struct { SecretHash *string `min:"1" type:"string"` // The user name of the user to whom you wish to resend a confirmation code. + // + // Username is a required field Username *string `min:"1" type:"string" required:"true"` } @@ -6371,12 +6555,16 @@ type RespondToAuthChallengeInput struct { _ struct{} `type:"structure"` // The name of the challenge. + // + // ChallengeName is a required field ChallengeName *string `type:"string" required:"true" enum:"ChallengeNameType"` // The responses to the authentication challenge. ChallengeResponses map[string]*string `type:"map"` // The client ID. + // + // ClientId is a required field ClientId *string `min:"1" type:"string" required:"true"` // The session. @@ -6498,9 +6686,13 @@ type SetUserSettingsInput struct { _ struct{} `type:"structure"` // The access token for the set user settings request. + // + // AccessToken is a required field AccessToken *string `type:"string" required:"true"` // Specifies the options for MFA (e.g., email or phone number). + // + // MFAOptions is a required field MFAOptions []*MFAOptionType `type:"list" required:"true"` } @@ -6560,9 +6752,13 @@ type SignUpInput struct { _ struct{} `type:"structure"` // The ID of the client associated with the user pool. + // + // ClientId is a required field ClientId *string `min:"1" type:"string" required:"true"` // The password of the user you wish to register. + // + // Password is a required field Password *string `min:"6" type:"string" required:"true"` // A keyed-hash message authentication code (HMAC) calculated using the secret @@ -6573,6 +6769,8 @@ type SignUpInput struct { UserAttributes []*AttributeType `type:"list"` // The user name of the user you wish to register. + // + // Username is a required field Username *string `min:"1" type:"string" required:"true"` // The validation data in the request to register a user. @@ -6701,9 +6899,13 @@ type StartUserImportJobInput struct { _ struct{} `type:"structure"` // The job ID for the user import job. + // + // JobId is a required field JobId *string `min:"1" type:"string" required:"true"` // The user pool ID for the user pool that the users are being imported into. + // + // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` } @@ -6763,9 +6965,13 @@ type StopUserImportJobInput struct { _ struct{} `type:"structure"` // The job ID for the user import job. + // + // JobId is a required field JobId *string `min:"1" type:"string" required:"true"` // The user pool ID for the user pool that the users are being imported into. + // + // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` } @@ -6846,9 +7052,13 @@ type UpdateDeviceStatusInput struct { _ struct{} `type:"structure"` // The access token. + // + // AccessToken is a required field AccessToken *string `type:"string" required:"true"` // The device key. + // + // DeviceKey is a required field DeviceKey *string `min:"1" type:"string" required:"true"` // The status of whether a device is remembered. @@ -6907,6 +7117,8 @@ type UpdateUserAttributesInput struct { AccessToken *string `type:"string"` // An array of name-value pairs representing user attributes. + // + // UserAttributes is a required field UserAttributes []*AttributeType `type:"list" required:"true"` } @@ -6967,6 +7179,8 @@ type UpdateUserPoolClientInput struct { _ struct{} `type:"structure"` // The ID of the client associated with the user pool. + // + // ClientId is a required field ClientId *string `min:"1" type:"string" required:"true"` // The client name from the update user pool client request. @@ -6983,6 +7197,8 @@ type UpdateUserPoolClientInput struct { // The user pool ID for the user pool where you want to update the user pool // client. + // + // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` // The writeable attributes of the user pool. @@ -7095,6 +7311,8 @@ type UpdateUserPoolInput struct { SmsVerificationMessage *string `min:"6" type:"string"` // The user pool ID for the user pool you want to update. + // + // UserPoolId is a required field UserPoolId *string `min:"1" type:"string" required:"true"` } @@ -7532,9 +7750,13 @@ type VerifyUserAttributeInput struct { AccessToken *string `type:"string"` // The attribute name in the request to verify user attributes. + // + // AttributeName is a required field AttributeName *string `min:"1" type:"string" required:"true"` // The verification code in the request to verify user attributes. + // + // Code is a required field Code *string `min:"1" type:"string" required:"true"` } @@ -7587,138 +7809,174 @@ func (s VerifyUserAttributeOutput) GoString() string { } const ( - // @enum AliasAttributeType + // AliasAttributeTypePhoneNumber is a AliasAttributeType enum value AliasAttributeTypePhoneNumber = "phone_number" - // @enum AliasAttributeType + + // AliasAttributeTypeEmail is a AliasAttributeType enum value AliasAttributeTypeEmail = "email" - // @enum AliasAttributeType + + // AliasAttributeTypePreferredUsername is a AliasAttributeType enum value AliasAttributeTypePreferredUsername = "preferred_username" ) const ( - // @enum AttributeDataType + // AttributeDataTypeString is a AttributeDataType enum value AttributeDataTypeString = "String" - // @enum AttributeDataType + + // AttributeDataTypeNumber is a AttributeDataType enum value AttributeDataTypeNumber = "Number" - // @enum AttributeDataType + + // AttributeDataTypeDateTime is a AttributeDataType enum value AttributeDataTypeDateTime = "DateTime" - // @enum AttributeDataType + + // AttributeDataTypeBoolean is a AttributeDataType enum value AttributeDataTypeBoolean = "Boolean" ) const ( - // @enum AuthFlowType + // AuthFlowTypeUserSrpAuth is a AuthFlowType enum value AuthFlowTypeUserSrpAuth = "USER_SRP_AUTH" - // @enum AuthFlowType + + // AuthFlowTypeRefreshTokenAuth is a AuthFlowType enum value AuthFlowTypeRefreshTokenAuth = "REFRESH_TOKEN_AUTH" - // @enum AuthFlowType + + // AuthFlowTypeRefreshToken is a AuthFlowType enum value AuthFlowTypeRefreshToken = "REFRESH_TOKEN" - // @enum AuthFlowType + + // AuthFlowTypeCustomAuth is a AuthFlowType enum value AuthFlowTypeCustomAuth = "CUSTOM_AUTH" - // @enum AuthFlowType + + // AuthFlowTypeAdminNoSrpAuth is a AuthFlowType enum value AuthFlowTypeAdminNoSrpAuth = "ADMIN_NO_SRP_AUTH" ) const ( - // @enum ChallengeNameType + // ChallengeNameTypeSmsMfa is a ChallengeNameType enum value ChallengeNameTypeSmsMfa = "SMS_MFA" - // @enum ChallengeNameType + + // ChallengeNameTypePasswordVerifier is a ChallengeNameType enum value ChallengeNameTypePasswordVerifier = "PASSWORD_VERIFIER" - // @enum ChallengeNameType + + // ChallengeNameTypeCustomChallenge is a ChallengeNameType enum value ChallengeNameTypeCustomChallenge = "CUSTOM_CHALLENGE" - // @enum ChallengeNameType + + // ChallengeNameTypeDeviceSrpAuth is a ChallengeNameType enum value ChallengeNameTypeDeviceSrpAuth = "DEVICE_SRP_AUTH" - // @enum ChallengeNameType + + // ChallengeNameTypeDevicePasswordVerifier is a ChallengeNameType enum value ChallengeNameTypeDevicePasswordVerifier = "DEVICE_PASSWORD_VERIFIER" - // @enum ChallengeNameType + + // ChallengeNameTypeAdminNoSrpAuth is a ChallengeNameType enum value ChallengeNameTypeAdminNoSrpAuth = "ADMIN_NO_SRP_AUTH" - // @enum ChallengeNameType + + // ChallengeNameTypeNewPasswordRequired is a ChallengeNameType enum value ChallengeNameTypeNewPasswordRequired = "NEW_PASSWORD_REQUIRED" ) const ( - // @enum DeliveryMediumType + // DeliveryMediumTypeSms is a DeliveryMediumType enum value DeliveryMediumTypeSms = "SMS" - // @enum DeliveryMediumType + + // DeliveryMediumTypeEmail is a DeliveryMediumType enum value DeliveryMediumTypeEmail = "EMAIL" ) const ( - // @enum DeviceRememberedStatusType + // DeviceRememberedStatusTypeRemembered is a DeviceRememberedStatusType enum value DeviceRememberedStatusTypeRemembered = "remembered" - // @enum DeviceRememberedStatusType + + // DeviceRememberedStatusTypeNotRemembered is a DeviceRememberedStatusType enum value DeviceRememberedStatusTypeNotRemembered = "not_remembered" ) const ( - // @enum ExplicitAuthFlowsType + // ExplicitAuthFlowsTypeAdminNoSrpAuth is a ExplicitAuthFlowsType enum value ExplicitAuthFlowsTypeAdminNoSrpAuth = "ADMIN_NO_SRP_AUTH" - // @enum ExplicitAuthFlowsType + + // ExplicitAuthFlowsTypeCustomAuthFlowOnly is a ExplicitAuthFlowsType enum value ExplicitAuthFlowsTypeCustomAuthFlowOnly = "CUSTOM_AUTH_FLOW_ONLY" ) const ( - // @enum MessageActionType + // MessageActionTypeResend is a MessageActionType enum value MessageActionTypeResend = "RESEND" - // @enum MessageActionType + + // MessageActionTypeSuppress is a MessageActionType enum value MessageActionTypeSuppress = "SUPPRESS" ) const ( - // @enum StatusType + // StatusTypeEnabled is a StatusType enum value StatusTypeEnabled = "Enabled" - // @enum StatusType + + // StatusTypeDisabled is a StatusType enum value StatusTypeDisabled = "Disabled" ) const ( - // @enum UserImportJobStatusType + // UserImportJobStatusTypeCreated is a UserImportJobStatusType enum value UserImportJobStatusTypeCreated = "Created" - // @enum UserImportJobStatusType + + // UserImportJobStatusTypePending is a UserImportJobStatusType enum value UserImportJobStatusTypePending = "Pending" - // @enum UserImportJobStatusType + + // UserImportJobStatusTypeInProgress is a UserImportJobStatusType enum value UserImportJobStatusTypeInProgress = "InProgress" - // @enum UserImportJobStatusType + + // UserImportJobStatusTypeStopping is a UserImportJobStatusType enum value UserImportJobStatusTypeStopping = "Stopping" - // @enum UserImportJobStatusType + + // UserImportJobStatusTypeExpired is a UserImportJobStatusType enum value UserImportJobStatusTypeExpired = "Expired" - // @enum UserImportJobStatusType + + // UserImportJobStatusTypeStopped is a UserImportJobStatusType enum value UserImportJobStatusTypeStopped = "Stopped" - // @enum UserImportJobStatusType + + // UserImportJobStatusTypeFailed is a UserImportJobStatusType enum value UserImportJobStatusTypeFailed = "Failed" - // @enum UserImportJobStatusType + + // UserImportJobStatusTypeSucceeded is a UserImportJobStatusType enum value UserImportJobStatusTypeSucceeded = "Succeeded" ) const ( - // @enum UserPoolMfaType + // UserPoolMfaTypeOff is a UserPoolMfaType enum value UserPoolMfaTypeOff = "OFF" - // @enum UserPoolMfaType + + // UserPoolMfaTypeOn is a UserPoolMfaType enum value UserPoolMfaTypeOn = "ON" - // @enum UserPoolMfaType + + // UserPoolMfaTypeOptional is a UserPoolMfaType enum value UserPoolMfaTypeOptional = "OPTIONAL" ) const ( - // @enum UserStatusType + // UserStatusTypeUnconfirmed is a UserStatusType enum value UserStatusTypeUnconfirmed = "UNCONFIRMED" - // @enum UserStatusType + + // UserStatusTypeConfirmed is a UserStatusType enum value UserStatusTypeConfirmed = "CONFIRMED" - // @enum UserStatusType + + // UserStatusTypeArchived is a UserStatusType enum value UserStatusTypeArchived = "ARCHIVED" - // @enum UserStatusType + + // UserStatusTypeCompromised is a UserStatusType enum value UserStatusTypeCompromised = "COMPROMISED" - // @enum UserStatusType + + // UserStatusTypeUnknown is a UserStatusType enum value UserStatusTypeUnknown = "UNKNOWN" - // @enum UserStatusType + + // UserStatusTypeResetRequired is a UserStatusType enum value UserStatusTypeResetRequired = "RESET_REQUIRED" - // @enum UserStatusType + + // UserStatusTypeForceChangePassword is a UserStatusType enum value UserStatusTypeForceChangePassword = "FORCE_CHANGE_PASSWORD" ) const ( - // @enum VerifiedAttributeType + // VerifiedAttributeTypePhoneNumber is a VerifiedAttributeType enum value VerifiedAttributeTypePhoneNumber = "phone_number" - // @enum VerifiedAttributeType + + // VerifiedAttributeTypeEmail is a VerifiedAttributeType enum value VerifiedAttributeTypeEmail = "email" ) diff --git a/service/cognitosync/api.go b/service/cognitosync/api.go index 2fd459f9c0c..6ed5b5ce71e 100644 --- a/service/cognitosync/api.go +++ b/service/cognitosync/api.go @@ -925,6 +925,8 @@ type BulkPublishInput struct { // A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) // created by Amazon Cognito. GUID generation is unique within a region. + // + // IdentityPoolId is a required field IdentityPoolId *string `location:"uri" locationName:"IdentityPoolId" min:"1" type:"string" required:"true"` } @@ -1068,14 +1070,20 @@ type DeleteDatasetInput struct { // A string of up to 128 characters. Allowed characters are a-z, A-Z, 0-9, '_' // (underscore), '-' (dash), and '.' (dot). + // + // DatasetName is a required field DatasetName *string `location:"uri" locationName:"DatasetName" min:"1" type:"string" required:"true"` // A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) // created by Amazon Cognito. GUID generation is unique within a region. + // + // IdentityId is a required field IdentityId *string `location:"uri" locationName:"IdentityId" min:"1" type:"string" required:"true"` // A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) // created by Amazon Cognito. GUID generation is unique within a region. + // + // IdentityPoolId is a required field IdentityPoolId *string `location:"uri" locationName:"IdentityPoolId" min:"1" type:"string" required:"true"` } @@ -1146,14 +1154,20 @@ type DescribeDatasetInput struct { // A string of up to 128 characters. Allowed characters are a-z, A-Z, 0-9, '_' // (underscore), '-' (dash), and '.' (dot). + // + // DatasetName is a required field DatasetName *string `location:"uri" locationName:"DatasetName" min:"1" type:"string" required:"true"` // A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) // created by Amazon Cognito. GUID generation is unique within a region. + // + // IdentityId is a required field IdentityId *string `location:"uri" locationName:"IdentityId" min:"1" type:"string" required:"true"` // A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) // created by Amazon Cognito. GUID generation is unique within a region. + // + // IdentityPoolId is a required field IdentityPoolId *string `location:"uri" locationName:"IdentityPoolId" min:"1" type:"string" required:"true"` } @@ -1223,6 +1237,8 @@ type DescribeIdentityPoolUsageInput struct { // A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) // created by Amazon Cognito. GUID generation is unique within a region. + // + // IdentityPoolId is a required field IdentityPoolId *string `location:"uri" locationName:"IdentityPoolId" min:"1" type:"string" required:"true"` } @@ -1276,10 +1292,14 @@ type DescribeIdentityUsageInput struct { // A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) // created by Amazon Cognito. GUID generation is unique within a region. + // + // IdentityId is a required field IdentityId *string `location:"uri" locationName:"IdentityId" min:"1" type:"string" required:"true"` // A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) // created by Amazon Cognito. GUID generation is unique within a region. + // + // IdentityPoolId is a required field IdentityPoolId *string `location:"uri" locationName:"IdentityPoolId" min:"1" type:"string" required:"true"` } @@ -1339,6 +1359,8 @@ type GetBulkPublishDetailsInput struct { // A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) // created by Amazon Cognito. GUID generation is unique within a region. + // + // IdentityPoolId is a required field IdentityPoolId *string `location:"uri" locationName:"IdentityPoolId" min:"1" type:"string" required:"true"` } @@ -1415,6 +1437,8 @@ type GetCognitoEventsInput struct { _ struct{} `type:"structure"` // The Cognito Identity Pool ID for the request + // + // IdentityPoolId is a required field IdentityPoolId *string `location:"uri" locationName:"IdentityPoolId" min:"1" type:"string" required:"true"` } @@ -1469,6 +1493,8 @@ type GetIdentityPoolConfigurationInput struct { // A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) // created by Amazon Cognito. This is the ID of the pool for which to return // a configuration. + // + // IdentityPoolId is a required field IdentityPoolId *string `location:"uri" locationName:"IdentityPoolId" min:"1" type:"string" required:"true"` } @@ -1589,10 +1615,14 @@ type ListDatasetsInput struct { // A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) // created by Amazon Cognito. GUID generation is unique within a region. + // + // IdentityId is a required field IdentityId *string `location:"uri" locationName:"IdentityId" min:"1" type:"string" required:"true"` // A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) // created by Amazon Cognito. GUID generation is unique within a region. + // + // IdentityPoolId is a required field IdentityPoolId *string `location:"uri" locationName:"IdentityPoolId" min:"1" type:"string" required:"true"` // The maximum number of results to be returned. @@ -1712,14 +1742,20 @@ type ListRecordsInput struct { // A string of up to 128 characters. Allowed characters are a-z, A-Z, 0-9, '_' // (underscore), '-' (dash), and '.' (dot). + // + // DatasetName is a required field DatasetName *string `location:"uri" locationName:"DatasetName" min:"1" type:"string" required:"true"` // A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) // created by Amazon Cognito. GUID generation is unique within a region. + // + // IdentityId is a required field IdentityId *string `location:"uri" locationName:"IdentityId" min:"1" type:"string" required:"true"` // A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) // created by Amazon Cognito. GUID generation is unique within a region. + // + // IdentityPoolId is a required field IdentityPoolId *string `location:"uri" locationName:"IdentityPoolId" min:"1" type:"string" required:"true"` // The last server sync count for this record. @@ -1890,12 +1926,18 @@ type RecordPatch struct { DeviceLastModifiedDate *time.Time `type:"timestamp" timestampFormat:"unix"` // The key associated with the record patch. + // + // Key is a required field Key *string `min:"1" type:"string" required:"true"` // An operation, either replace or remove. + // + // Op is a required field Op *string `type:"string" required:"true" enum:"Operation"` // Last known server sync count for this record. Set to 0 if unknown. + // + // SyncCount is a required field SyncCount *int64 `type:"long" required:"true"` // The value associated with the record patch. @@ -1939,17 +1981,25 @@ type RegisterDeviceInput struct { _ struct{} `type:"structure"` // The unique ID for this identity. + // + // IdentityId is a required field IdentityId *string `location:"uri" locationName:"IdentityId" min:"1" type:"string" required:"true"` // A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) // created by Amazon Cognito. Here, the ID of the pool that the identity belongs // to. + // + // IdentityPoolId is a required field IdentityPoolId *string `location:"uri" locationName:"IdentityPoolId" min:"1" type:"string" required:"true"` // The SNS platform type (e.g. GCM, SDM, APNS, APNS_SANDBOX). + // + // Platform is a required field Platform *string `type:"string" required:"true" enum:"Platform"` // The push token. + // + // Token is a required field Token *string `type:"string" required:"true"` } @@ -2016,9 +2066,13 @@ type SetCognitoEventsInput struct { _ struct{} `type:"structure"` // The events to configure + // + // Events is a required field Events map[string]*string `type:"map" required:"true"` // The Cognito Identity Pool to use when configuring Cognito Events + // + // IdentityPoolId is a required field IdentityPoolId *string `location:"uri" locationName:"IdentityPoolId" min:"1" type:"string" required:"true"` } @@ -2074,6 +2128,8 @@ type SetIdentityPoolConfigurationInput struct { // A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) // created by Amazon Cognito. This is the ID of the pool to modify. + // + // IdentityPoolId is a required field IdentityPoolId *string `location:"uri" locationName:"IdentityPoolId" min:"1" type:"string" required:"true"` // Options to apply to this identity pool for push synchronization. @@ -2146,16 +2202,24 @@ type SubscribeToDatasetInput struct { _ struct{} `type:"structure"` // The name of the dataset to subcribe to. + // + // DatasetName is a required field DatasetName *string `location:"uri" locationName:"DatasetName" min:"1" type:"string" required:"true"` // The unique ID generated for this device by Cognito. + // + // DeviceId is a required field DeviceId *string `location:"uri" locationName:"DeviceId" min:"1" type:"string" required:"true"` // Unique ID for this identity. + // + // IdentityId is a required field IdentityId *string `location:"uri" locationName:"IdentityId" min:"1" type:"string" required:"true"` // A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) // created by Amazon Cognito. The ID of the pool to which the identity belongs. + // + // IdentityPoolId is a required field IdentityPoolId *string `location:"uri" locationName:"IdentityPoolId" min:"1" type:"string" required:"true"` } @@ -2223,16 +2287,24 @@ type UnsubscribeFromDatasetInput struct { _ struct{} `type:"structure"` // The name of the dataset from which to unsubcribe. + // + // DatasetName is a required field DatasetName *string `location:"uri" locationName:"DatasetName" min:"1" type:"string" required:"true"` // The unique ID generated for this device by Cognito. + // + // DeviceId is a required field DeviceId *string `location:"uri" locationName:"DeviceId" min:"1" type:"string" required:"true"` // Unique ID for this identity. + // + // IdentityId is a required field IdentityId *string `location:"uri" locationName:"IdentityId" min:"1" type:"string" required:"true"` // A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) // created by Amazon Cognito. The ID of the pool to which this identity belongs. + // + // IdentityPoolId is a required field IdentityPoolId *string `location:"uri" locationName:"IdentityPoolId" min:"1" type:"string" required:"true"` } @@ -2306,6 +2378,8 @@ type UpdateRecordsInput struct { // A string of up to 128 characters. Allowed characters are a-z, A-Z, 0-9, '_' // (underscore), '-' (dash), and '.' (dot). + // + // DatasetName is a required field DatasetName *string `location:"uri" locationName:"DatasetName" min:"1" type:"string" required:"true"` // The unique ID generated for this device by Cognito. @@ -2313,10 +2387,14 @@ type UpdateRecordsInput struct { // A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) // created by Amazon Cognito. GUID generation is unique within a region. + // + // IdentityId is a required field IdentityId *string `location:"uri" locationName:"IdentityId" min:"1" type:"string" required:"true"` // A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) // created by Amazon Cognito. GUID generation is unique within a region. + // + // IdentityPoolId is a required field IdentityPoolId *string `location:"uri" locationName:"IdentityPoolId" min:"1" type:"string" required:"true"` // A list of patch operations. @@ -2324,6 +2402,8 @@ type UpdateRecordsInput struct { // The SyncSessionToken returned by a previous call to ListRecords for this // dataset and identity. + // + // SyncSessionToken is a required field SyncSessionToken *string `type:"string" required:"true"` } @@ -2400,37 +2480,45 @@ func (s UpdateRecordsOutput) GoString() string { } const ( - // @enum BulkPublishStatus + // BulkPublishStatusNotStarted is a BulkPublishStatus enum value BulkPublishStatusNotStarted = "NOT_STARTED" - // @enum BulkPublishStatus + + // BulkPublishStatusInProgress is a BulkPublishStatus enum value BulkPublishStatusInProgress = "IN_PROGRESS" - // @enum BulkPublishStatus + + // BulkPublishStatusFailed is a BulkPublishStatus enum value BulkPublishStatusFailed = "FAILED" - // @enum BulkPublishStatus + + // BulkPublishStatusSucceeded is a BulkPublishStatus enum value BulkPublishStatusSucceeded = "SUCCEEDED" ) const ( - // @enum Operation + // OperationReplace is a Operation enum value OperationReplace = "replace" - // @enum Operation + + // OperationRemove is a Operation enum value OperationRemove = "remove" ) const ( - // @enum Platform + // PlatformApns is a Platform enum value PlatformApns = "APNS" - // @enum Platform + + // PlatformApnsSandbox is a Platform enum value PlatformApnsSandbox = "APNS_SANDBOX" - // @enum Platform + + // PlatformGcm is a Platform enum value PlatformGcm = "GCM" - // @enum Platform + + // PlatformAdm is a Platform enum value PlatformAdm = "ADM" ) const ( - // @enum StreamingStatus + // StreamingStatusEnabled is a StreamingStatus enum value StreamingStatusEnabled = "ENABLED" - // @enum StreamingStatus + + // StreamingStatusDisabled is a StreamingStatus enum value StreamingStatusDisabled = "DISABLED" ) diff --git a/service/configservice/api.go b/service/configservice/api.go index 469409df54e..5034d6ecc55 100644 --- a/service/configservice/api.go +++ b/service/configservice/api.go @@ -1774,6 +1774,8 @@ type ConfigRule struct { // Provides the rule owner (AWS or customer), the rule identifier, and the notifications // that cause the function to evaluate your AWS resources. + // + // Source is a required field Source *Source `type:"structure" required:"true"` } @@ -2134,6 +2136,8 @@ type DeleteConfigRuleInput struct { _ struct{} `type:"structure"` // The name of the AWS Config rule that you want to delete. + // + // ConfigRuleName is a required field ConfigRuleName *string `min:"1" type:"string" required:"true"` } @@ -2184,6 +2188,8 @@ type DeleteConfigurationRecorderInput struct { // The name of the configuration recorder to be deleted. You can retrieve the // name of your configuration recorder by using the DescribeConfigurationRecorders // action. + // + // ConfigurationRecorderName is a required field ConfigurationRecorderName *string `min:"1" type:"string" required:"true"` } @@ -2233,6 +2239,8 @@ type DeleteDeliveryChannelInput struct { _ struct{} `type:"structure"` // The name of the delivery channel to delete. + // + // DeliveryChannelName is a required field DeliveryChannelName *string `min:"1" type:"string" required:"true"` } @@ -2280,6 +2288,8 @@ type DeleteEvaluationResultsInput struct { _ struct{} `type:"structure"` // The name of the Config rule for which you want to delete the evaluation results. + // + // ConfigRuleName is a required field ConfigRuleName *string `min:"1" type:"string" required:"true"` } @@ -2330,6 +2340,8 @@ type DeliverConfigSnapshotInput struct { _ struct{} `type:"structure"` // The name of the delivery channel through which the snapshot is delivered. + // + // DeliveryChannelName is a required field DeliveryChannelName *string `locationName:"deliveryChannelName" min:"1" type:"string" required:"true"` } @@ -2864,9 +2876,13 @@ type Evaluation struct { Annotation *string `min:"1" type:"string"` // The ID of the AWS resource that was evaluated. + // + // ComplianceResourceId is a required field ComplianceResourceId *string `min:"1" type:"string" required:"true"` // The type of AWS resource that was evaluated. + // + // ComplianceResourceType is a required field ComplianceResourceType *string `min:"1" type:"string" required:"true"` // Indicates whether the AWS resource complies with the AWS Config rule that @@ -2880,12 +2896,16 @@ type Evaluation struct { // ComplianceType from a PutEvaluations request. For example, an AWS Lambda // function for a custom Config rule cannot pass an INSUFFICIENT_DATA value // to AWS Config. + // + // ComplianceType is a required field ComplianceType *string `type:"string" required:"true" enum:"ComplianceType"` // The time of the event in AWS Config that triggered the evaluation. For event-based // evaluations, the time indicates when AWS Config created the configuration // item that triggered the evaluation. For periodic evaluations, the time indicates // when AWS Config delivered the configuration snapshot that triggered the evaluation. + // + // OrderingTimestamp is a required field OrderingTimestamp *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"` } @@ -3031,6 +3051,8 @@ type GetComplianceDetailsByConfigRuleInput struct { ComplianceTypes []*string `type:"list"` // The name of the AWS Config rule for which you want compliance information. + // + // ConfigRuleName is a required field ConfigRuleName *string `min:"1" type:"string" required:"true"` // The maximum number of evaluation results returned on each page. The default @@ -3104,9 +3126,13 @@ type GetComplianceDetailsByResourceInput struct { NextToken *string `type:"string"` // The ID of the AWS resource for which you want compliance information. + // + // ResourceId is a required field ResourceId *string `min:"1" type:"string" required:"true"` // The type of the AWS resource for which you want compliance information. + // + // ResourceType is a required field ResourceType *string `min:"1" type:"string" required:"true"` } @@ -3263,9 +3289,13 @@ type GetResourceConfigHistoryInput struct { NextToken *string `locationName:"nextToken" type:"string"` // The ID of the resource (for example., sg-xxxxxx). + // + // ResourceId is a required field ResourceId *string `locationName:"resourceId" type:"string" required:"true"` // The resource type. + // + // ResourceType is a required field ResourceType *string `locationName:"resourceType" type:"string" required:"true" enum:"ResourceType"` } @@ -3344,6 +3374,8 @@ type ListDiscoveredResourcesInput struct { ResourceName *string `locationName:"resourceName" type:"string"` // The type of resources that you want AWS Config to list in the response. + // + // ResourceType is a required field ResourceType *string `locationName:"resourceType" type:"string" required:"true" enum:"ResourceType"` } @@ -3409,6 +3441,8 @@ type PutConfigRuleInput struct { // For more information about developing and using AWS Config rules, see Evaluating // AWS Resource Configurations with AWS Config (http://docs.aws.amazon.com/config/latest/developerguide/evaluate-config.html) // in the AWS Config Developer Guide. + // + // ConfigRule is a required field ConfigRule *ConfigRule `type:"structure" required:"true"` } @@ -3460,6 +3494,8 @@ type PutConfigurationRecorderInput struct { // The configuration recorder object that records each configuration change // made to the resources. + // + // ConfigurationRecorder is a required field ConfigurationRecorder *ConfigurationRecorder `type:"structure" required:"true"` } @@ -3511,6 +3547,8 @@ type PutDeliveryChannelInput struct { // The configuration delivery channel object that delivers the configuration // information to an Amazon S3 bucket, and to an Amazon SNS topic. + // + // DeliveryChannel is a required field DeliveryChannel *DeliveryChannel `type:"structure" required:"true"` } @@ -3566,6 +3604,8 @@ type PutEvaluationsInput struct { // An encrypted token that associates an evaluation with an AWS Config rule. // Identifies the rule and the event that triggered the evaluation + // + // ResultToken is a required field ResultToken *string `type:"string" required:"true"` } @@ -3950,6 +3990,8 @@ type StartConfigurationRecorderInput struct { // The name of the recorder object that records each configuration change made // to the resources. + // + // ConfigurationRecorderName is a required field ConfigurationRecorderName *string `min:"1" type:"string" required:"true"` } @@ -3999,6 +4041,8 @@ type StopConfigurationRecorderInput struct { // The name of the recorder object that records each configuration change made // to the resources. + // + // ConfigurationRecorderName is a required field ConfigurationRecorderName *string `min:"1" type:"string" required:"true"` } @@ -4043,148 +4087,194 @@ func (s StopConfigurationRecorderOutput) GoString() string { } const ( - // @enum ChronologicalOrder + // ChronologicalOrderReverse is a ChronologicalOrder enum value ChronologicalOrderReverse = "Reverse" - // @enum ChronologicalOrder + + // ChronologicalOrderForward is a ChronologicalOrder enum value ChronologicalOrderForward = "Forward" ) const ( - // @enum ComplianceType + // ComplianceTypeCompliant is a ComplianceType enum value ComplianceTypeCompliant = "COMPLIANT" - // @enum ComplianceType + + // ComplianceTypeNonCompliant is a ComplianceType enum value ComplianceTypeNonCompliant = "NON_COMPLIANT" - // @enum ComplianceType + + // ComplianceTypeNotApplicable is a ComplianceType enum value ComplianceTypeNotApplicable = "NOT_APPLICABLE" - // @enum ComplianceType + + // ComplianceTypeInsufficientData is a ComplianceType enum value ComplianceTypeInsufficientData = "INSUFFICIENT_DATA" ) const ( - // @enum ConfigRuleState + // ConfigRuleStateActive is a ConfigRuleState enum value ConfigRuleStateActive = "ACTIVE" - // @enum ConfigRuleState + + // ConfigRuleStateDeleting is a ConfigRuleState enum value ConfigRuleStateDeleting = "DELETING" - // @enum ConfigRuleState + + // ConfigRuleStateDeletingResults is a ConfigRuleState enum value ConfigRuleStateDeletingResults = "DELETING_RESULTS" - // @enum ConfigRuleState + + // ConfigRuleStateEvaluating is a ConfigRuleState enum value ConfigRuleStateEvaluating = "EVALUATING" ) const ( - // @enum ConfigurationItemStatus + // ConfigurationItemStatusOk is a ConfigurationItemStatus enum value ConfigurationItemStatusOk = "Ok" - // @enum ConfigurationItemStatus + + // ConfigurationItemStatusFailed is a ConfigurationItemStatus enum value ConfigurationItemStatusFailed = "Failed" - // @enum ConfigurationItemStatus + + // ConfigurationItemStatusDiscovered is a ConfigurationItemStatus enum value ConfigurationItemStatusDiscovered = "Discovered" - // @enum ConfigurationItemStatus + + // ConfigurationItemStatusDeleted is a ConfigurationItemStatus enum value ConfigurationItemStatusDeleted = "Deleted" ) const ( - // @enum DeliveryStatus + // DeliveryStatusSuccess is a DeliveryStatus enum value DeliveryStatusSuccess = "Success" - // @enum DeliveryStatus + + // DeliveryStatusFailure is a DeliveryStatus enum value DeliveryStatusFailure = "Failure" - // @enum DeliveryStatus + + // DeliveryStatusNotApplicable is a DeliveryStatus enum value DeliveryStatusNotApplicable = "Not_Applicable" ) const ( - // @enum EventSource + // EventSourceAwsConfig is a EventSource enum value EventSourceAwsConfig = "aws.config" ) const ( - // @enum MaximumExecutionFrequency + // MaximumExecutionFrequencyOneHour is a MaximumExecutionFrequency enum value MaximumExecutionFrequencyOneHour = "One_Hour" - // @enum MaximumExecutionFrequency + + // MaximumExecutionFrequencyThreeHours is a MaximumExecutionFrequency enum value MaximumExecutionFrequencyThreeHours = "Three_Hours" - // @enum MaximumExecutionFrequency + + // MaximumExecutionFrequencySixHours is a MaximumExecutionFrequency enum value MaximumExecutionFrequencySixHours = "Six_Hours" - // @enum MaximumExecutionFrequency + + // MaximumExecutionFrequencyTwelveHours is a MaximumExecutionFrequency enum value MaximumExecutionFrequencyTwelveHours = "Twelve_Hours" - // @enum MaximumExecutionFrequency + + // MaximumExecutionFrequencyTwentyFourHours is a MaximumExecutionFrequency enum value MaximumExecutionFrequencyTwentyFourHours = "TwentyFour_Hours" ) const ( - // @enum MessageType + // MessageTypeConfigurationItemChangeNotification is a MessageType enum value MessageTypeConfigurationItemChangeNotification = "ConfigurationItemChangeNotification" - // @enum MessageType + + // MessageTypeConfigurationSnapshotDeliveryCompleted is a MessageType enum value MessageTypeConfigurationSnapshotDeliveryCompleted = "ConfigurationSnapshotDeliveryCompleted" - // @enum MessageType + + // MessageTypeScheduledNotification is a MessageType enum value MessageTypeScheduledNotification = "ScheduledNotification" ) const ( - // @enum Owner + // OwnerCustomLambda is a Owner enum value OwnerCustomLambda = "CUSTOM_LAMBDA" - // @enum Owner + + // OwnerAws is a Owner enum value OwnerAws = "AWS" ) const ( - // @enum RecorderStatus + // RecorderStatusPending is a RecorderStatus enum value RecorderStatusPending = "Pending" - // @enum RecorderStatus + + // RecorderStatusSuccess is a RecorderStatus enum value RecorderStatusSuccess = "Success" - // @enum RecorderStatus + + // RecorderStatusFailure is a RecorderStatus enum value RecorderStatusFailure = "Failure" ) const ( - // @enum ResourceType + // ResourceTypeAwsEc2CustomerGateway is a ResourceType enum value ResourceTypeAwsEc2CustomerGateway = "AWS::EC2::CustomerGateway" - // @enum ResourceType + + // ResourceTypeAwsEc2Eip is a ResourceType enum value ResourceTypeAwsEc2Eip = "AWS::EC2::EIP" - // @enum ResourceType + + // ResourceTypeAwsEc2Host is a ResourceType enum value ResourceTypeAwsEc2Host = "AWS::EC2::Host" - // @enum ResourceType + + // ResourceTypeAwsEc2Instance is a ResourceType enum value ResourceTypeAwsEc2Instance = "AWS::EC2::Instance" - // @enum ResourceType + + // ResourceTypeAwsEc2InternetGateway is a ResourceType enum value ResourceTypeAwsEc2InternetGateway = "AWS::EC2::InternetGateway" - // @enum ResourceType + + // ResourceTypeAwsEc2NetworkAcl is a ResourceType enum value ResourceTypeAwsEc2NetworkAcl = "AWS::EC2::NetworkAcl" - // @enum ResourceType + + // ResourceTypeAwsEc2NetworkInterface is a ResourceType enum value ResourceTypeAwsEc2NetworkInterface = "AWS::EC2::NetworkInterface" - // @enum ResourceType + + // ResourceTypeAwsEc2RouteTable is a ResourceType enum value ResourceTypeAwsEc2RouteTable = "AWS::EC2::RouteTable" - // @enum ResourceType + + // ResourceTypeAwsEc2SecurityGroup is a ResourceType enum value ResourceTypeAwsEc2SecurityGroup = "AWS::EC2::SecurityGroup" - // @enum ResourceType + + // ResourceTypeAwsEc2Subnet is a ResourceType enum value ResourceTypeAwsEc2Subnet = "AWS::EC2::Subnet" - // @enum ResourceType + + // ResourceTypeAwsCloudTrailTrail is a ResourceType enum value ResourceTypeAwsCloudTrailTrail = "AWS::CloudTrail::Trail" - // @enum ResourceType + + // ResourceTypeAwsEc2Volume is a ResourceType enum value ResourceTypeAwsEc2Volume = "AWS::EC2::Volume" - // @enum ResourceType + + // ResourceTypeAwsEc2Vpc is a ResourceType enum value ResourceTypeAwsEc2Vpc = "AWS::EC2::VPC" - // @enum ResourceType + + // ResourceTypeAwsEc2Vpnconnection is a ResourceType enum value ResourceTypeAwsEc2Vpnconnection = "AWS::EC2::VPNConnection" - // @enum ResourceType + + // ResourceTypeAwsEc2Vpngateway is a ResourceType enum value ResourceTypeAwsEc2Vpngateway = "AWS::EC2::VPNGateway" - // @enum ResourceType + + // ResourceTypeAwsIamGroup is a ResourceType enum value ResourceTypeAwsIamGroup = "AWS::IAM::Group" - // @enum ResourceType + + // ResourceTypeAwsIamPolicy is a ResourceType enum value ResourceTypeAwsIamPolicy = "AWS::IAM::Policy" - // @enum ResourceType + + // ResourceTypeAwsIamRole is a ResourceType enum value ResourceTypeAwsIamRole = "AWS::IAM::Role" - // @enum ResourceType + + // ResourceTypeAwsIamUser is a ResourceType enum value ResourceTypeAwsIamUser = "AWS::IAM::User" - // @enum ResourceType + + // ResourceTypeAwsAcmCertificate is a ResourceType enum value ResourceTypeAwsAcmCertificate = "AWS::ACM::Certificate" - // @enum ResourceType + + // ResourceTypeAwsRdsDbinstance is a ResourceType enum value ResourceTypeAwsRdsDbinstance = "AWS::RDS::DBInstance" - // @enum ResourceType + + // ResourceTypeAwsRdsDbsubnetGroup is a ResourceType enum value ResourceTypeAwsRdsDbsubnetGroup = "AWS::RDS::DBSubnetGroup" - // @enum ResourceType + + // ResourceTypeAwsRdsDbsecurityGroup is a ResourceType enum value ResourceTypeAwsRdsDbsecurityGroup = "AWS::RDS::DBSecurityGroup" - // @enum ResourceType + + // ResourceTypeAwsRdsDbsnapshot is a ResourceType enum value ResourceTypeAwsRdsDbsnapshot = "AWS::RDS::DBSnapshot" - // @enum ResourceType + + // ResourceTypeAwsRdsEventSubscription is a ResourceType enum value ResourceTypeAwsRdsEventSubscription = "AWS::RDS::EventSubscription" - // @enum ResourceType + + // ResourceTypeAwsElasticLoadBalancingV2LoadBalancer is a ResourceType enum value ResourceTypeAwsElasticLoadBalancingV2LoadBalancer = "AWS::ElasticLoadBalancingV2::LoadBalancer" ) diff --git a/service/databasemigrationservice/api.go b/service/databasemigrationservice/api.go index 6f8467c15c9..d4a1367d302 100644 --- a/service/databasemigrationservice/api.go +++ b/service/databasemigrationservice/api.go @@ -1603,9 +1603,13 @@ type AddTagsToResourceInput struct { // The Amazon Resource Name (ARN) of the AWS DMS resource the tag is to be added // to. AWS DMS resources include a replication instance, endpoint, and a replication // task. + // + // ResourceArn is a required field ResourceArn *string `type:"string" required:"true"` // The tag to be assigned to the DMS resource. + // + // Tags is a required field Tags []*Tag `locationNameList:"Tag" type:"list" required:"true"` } @@ -1756,13 +1760,19 @@ type CreateEndpointInput struct { // The database endpoint identifier. Identifiers must begin with a letter; must // contain only ASCII letters, digits, and hyphens; and must not end with a // hyphen or contain two consecutive hyphens. + // + // EndpointIdentifier is a required field EndpointIdentifier *string `type:"string" required:"true"` // The type of endpoint. + // + // EndpointType is a required field EndpointType *string `type:"string" required:"true" enum:"ReplicationEndpointTypeValue"` // The type of engine for the endpoint. Valid values include MYSQL, ORACLE, // POSTGRES, MARIADB, AURORA, REDSHIFT, and SQLSERVER. + // + // EngineName is a required field EngineName *string `type:"string" required:"true"` // Additional attributes associated with the connection. @@ -1776,12 +1786,18 @@ type CreateEndpointInput struct { KmsKeyId *string `type:"string"` // The password to be used to login to the endpoint database. + // + // Password is a required field Password *string `type:"string" required:"true"` // The port used by the endpoint database. + // + // Port is a required field Port *int64 `type:"integer" required:"true"` // The name of the server where the endpoint database resides. + // + // ServerName is a required field ServerName *string `type:"string" required:"true"` // The SSL mode to use for the SSL connection. @@ -1795,6 +1811,8 @@ type CreateEndpointInput struct { Tags []*Tag `locationNameList:"Tag" type:"list"` // The user name to be used to login to the endpoint database. + // + // Username is a required field Username *string `type:"string" required:"true"` } @@ -1913,6 +1931,8 @@ type CreateReplicationInstanceInput struct { // // Valid Values: dms.t2.micro | dms.t2.small | dms.t2.medium | dms.t2.large // | dms.c4.large | dms.c4.xlarge | dms.c4.2xlarge | dms.c4.4xlarge + // + // ReplicationInstanceClass is a required field ReplicationInstanceClass *string `type:"string" required:"true"` // The replication instance identifier. This parameter is stored as a lowercase @@ -1927,6 +1947,8 @@ type CreateReplicationInstanceInput struct { // Cannot end with a hyphen or contain two consecutive hyphens. // // Example: myrepinstance + // + // ReplicationInstanceIdentifier is a required field ReplicationInstanceIdentifier *string `type:"string" required:"true"` // A subnet group to associate with the replication instance. @@ -1988,6 +2010,8 @@ type CreateReplicationSubnetGroupInput struct { _ struct{} `type:"structure"` // The description for the subnet group. + // + // ReplicationSubnetGroupDescription is a required field ReplicationSubnetGroupDescription *string `type:"string" required:"true"` // The name for the replication subnet group. This value is stored as a lowercase @@ -1997,9 +2021,13 @@ type CreateReplicationSubnetGroupInput struct { // spaces, underscores, or hyphens. Must not be "default". // // Example: mySubnetgroup + // + // ReplicationSubnetGroupIdentifier is a required field ReplicationSubnetGroupIdentifier *string `type:"string" required:"true"` // The EC2 subnet IDs for the subnet group. + // + // SubnetIds is a required field SubnetIds []*string `locationNameList:"SubnetIdentifier" type:"list" required:"true"` // The tag to be assigned to the subnet group. @@ -2059,9 +2087,13 @@ type CreateReplicationTaskInput struct { CdcStartTime *time.Time `type:"timestamp" timestampFormat:"unix"` // The migration type. + // + // MigrationType is a required field MigrationType *string `type:"string" required:"true" enum:"MigrationTypeValue"` // The Amazon Resource Name (ARN) of the replication instance. + // + // ReplicationInstanceArn is a required field ReplicationInstanceArn *string `type:"string" required:"true"` // The replication task identifier. @@ -2073,24 +2105,32 @@ type CreateReplicationTaskInput struct { // First character must be a letter. // // Cannot end with a hyphen or contain two consecutive hyphens. + // + // ReplicationTaskIdentifier is a required field ReplicationTaskIdentifier *string `type:"string" required:"true"` // Settings for the task, such as target metadata settings. ReplicationTaskSettings *string `type:"string"` // The Amazon Resource Name (ARN) string that uniquely identifies the endpoint. + // + // SourceEndpointArn is a required field SourceEndpointArn *string `type:"string" required:"true"` // The path of the JSON file that contains the table mappings. Preceed the path // with "file://". // // For example, --table-mappings file://mappingfile.json + // + // TableMappings is a required field TableMappings *string `type:"string" required:"true"` // Tags to be added to the replication instance. Tags []*Tag `locationNameList:"Tag" type:"list"` // The Amazon Resource Name (ARN) string that uniquely identifies the endpoint. + // + // TargetEndpointArn is a required field TargetEndpointArn *string `type:"string" required:"true"` } @@ -2153,6 +2193,8 @@ type DeleteCertificateInput struct { _ struct{} `type:"structure"` // the Amazon Resource Name (ARN) of the deleted certificate. + // + // CertificateArn is a required field CertificateArn *string `type:"string" required:"true"` } @@ -2200,6 +2242,8 @@ type DeleteEndpointInput struct { _ struct{} `type:"structure"` // The Amazon Resource Name (ARN) string that uniquely identifies the endpoint. + // + // EndpointArn is a required field EndpointArn *string `type:"string" required:"true"` } @@ -2247,6 +2291,8 @@ type DeleteReplicationInstanceInput struct { _ struct{} `type:"structure"` // The Amazon Resource Name (ARN) of the replication instance to be deleted. + // + // ReplicationInstanceArn is a required field ReplicationInstanceArn *string `type:"string" required:"true"` } @@ -2294,6 +2340,8 @@ type DeleteReplicationSubnetGroupInput struct { _ struct{} `type:"structure"` // The subnet group name of the replication instance. + // + // ReplicationSubnetGroupIdentifier is a required field ReplicationSubnetGroupIdentifier *string `type:"string" required:"true"` } @@ -2338,6 +2386,8 @@ type DeleteReplicationTaskInput struct { _ struct{} `type:"structure"` // The Amazon Resource Name (ARN) of the replication task to be deleted. + // + // ReplicationTaskArn is a required field ReplicationTaskArn *string `type:"string" required:"true"` } @@ -2760,6 +2810,8 @@ type DescribeRefreshSchemasStatusInput struct { _ struct{} `type:"structure"` // The Amazon Resource Name (ARN) string that uniquely identifies the endpoint. + // + // EndpointArn is a required field EndpointArn *string `type:"string" required:"true"` } @@ -3032,6 +3084,8 @@ type DescribeSchemasInput struct { _ struct{} `type:"structure"` // The Amazon Resource Name (ARN) string that uniquely identifies the endpoint. + // + // EndpointArn is a required field EndpointArn *string `type:"string" required:"true"` // An optional pagination token provided by a previous request. If this parameter @@ -3112,6 +3166,8 @@ type DescribeTableStatisticsInput struct { MaxRecords *int64 `type:"integer"` // The Amazon Resource Name (ARN) of the replication task. + // + // ReplicationTaskArn is a required field ReplicationTaskArn *string `type:"string" required:"true"` } @@ -3230,9 +3286,13 @@ type Filter struct { _ struct{} `type:"structure"` // The name of the filter. + // + // Name is a required field Name *string `type:"string" required:"true"` // The filter value. + // + // Values is a required field Values []*string `locationNameList:"Value" type:"list" required:"true"` } @@ -3266,6 +3326,8 @@ type ImportCertificateInput struct { _ struct{} `type:"structure"` // The customer-assigned name of the certificate. Valid characters are [A-z_0-9]. + // + // CertificateIdentifier is a required field CertificateIdentifier *string `type:"string" required:"true"` // The contents of the .pem X.509 certificate file. @@ -3317,6 +3379,8 @@ type ListTagsForResourceInput struct { // The Amazon Resource Name (ARN) string that uniquely identifies the AWS DMS // resource. + // + // ResourceArn is a required field ResourceArn *string `type:"string" required:"true"` } @@ -3370,6 +3434,8 @@ type ModifyEndpointInput struct { DatabaseName *string `type:"string"` // The Amazon Resource Name (ARN) string that uniquely identifies the endpoint. + // + // EndpointArn is a required field EndpointArn *string `type:"string" required:"true"` // The database endpoint identifier. Identifiers must begin with a letter; must @@ -3500,6 +3566,8 @@ type ModifyReplicationInstanceInput struct { PreferredMaintenanceWindow *string `type:"string"` // The Amazon Resource Name (ARN) of the replication instance. + // + // ReplicationInstanceArn is a required field ReplicationInstanceArn *string `type:"string" required:"true"` // The compute and memory capacity of the replication instance. @@ -3565,9 +3633,13 @@ type ModifyReplicationSubnetGroupInput struct { ReplicationSubnetGroupDescription *string `type:"string"` // The name of the replication instance subnet group. + // + // ReplicationSubnetGroupIdentifier is a required field ReplicationSubnetGroupIdentifier *string `type:"string" required:"true"` // A list of subnet IDs. + // + // SubnetIds is a required field SubnetIds []*string `locationNameList:"SubnetIdentifier" type:"list" required:"true"` } @@ -3660,9 +3732,13 @@ type RefreshSchemasInput struct { _ struct{} `type:"structure"` // The Amazon Resource Name (ARN) string that uniquely identifies the endpoint. + // + // EndpointArn is a required field EndpointArn *string `type:"string" required:"true"` // The Amazon Resource Name (ARN) of the replication instance. + // + // ReplicationInstanceArn is a required field ReplicationInstanceArn *string `type:"string" required:"true"` } @@ -3743,9 +3819,13 @@ type RemoveTagsFromResourceInput struct { // >The Amazon Resource Name (ARN) of the AWS DMS resource the tag is to be // removed from. + // + // ResourceArn is a required field ResourceArn *string `type:"string" required:"true"` // The tag key (name) of the tag to be removed. + // + // TagKeys is a required field TagKeys []*string `type:"list" required:"true"` } @@ -4047,9 +4127,13 @@ type StartReplicationTaskInput struct { CdcStartTime *time.Time `type:"timestamp" timestampFormat:"unix"` // The Amazon Resource Number (ARN) of the replication task to be started. + // + // ReplicationTaskArn is a required field ReplicationTaskArn *string `type:"string" required:"true"` // The type of replication task. + // + // StartReplicationTaskType is a required field StartReplicationTaskType *string `type:"string" required:"true" enum:"StartReplicationTaskTypeValue"` } @@ -4100,6 +4184,8 @@ type StopReplicationTaskInput struct { _ struct{} `type:"structure"` // The Amazon Resource Number(ARN) of the replication task to be stopped. + // + // ReplicationTaskArn is a required field ReplicationTaskArn *string `type:"string" required:"true"` } @@ -4261,9 +4347,13 @@ type TestConnectionInput struct { _ struct{} `type:"structure"` // The Amazon Resource Name (ARN) string that uniquely identifies the endpoint. + // + // EndpointArn is a required field EndpointArn *string `type:"string" required:"true"` // The Amazon Resource Name (ARN) of the replication instance. + // + // ReplicationInstanceArn is a required field ReplicationInstanceArn *string `type:"string" required:"true"` } @@ -4331,46 +4421,56 @@ func (s VpcSecurityGroupMembership) GoString() string { } const ( - // @enum DmsSslModeValue + // DmsSslModeValueNone is a DmsSslModeValue enum value DmsSslModeValueNone = "none" - // @enum DmsSslModeValue + + // DmsSslModeValueRequire is a DmsSslModeValue enum value DmsSslModeValueRequire = "require" - // @enum DmsSslModeValue + + // DmsSslModeValueVerifyCa is a DmsSslModeValue enum value DmsSslModeValueVerifyCa = "verify-ca" - // @enum DmsSslModeValue + + // DmsSslModeValueVerifyFull is a DmsSslModeValue enum value DmsSslModeValueVerifyFull = "verify-full" ) const ( - // @enum MigrationTypeValue + // MigrationTypeValueFullLoad is a MigrationTypeValue enum value MigrationTypeValueFullLoad = "full-load" - // @enum MigrationTypeValue + + // MigrationTypeValueCdc is a MigrationTypeValue enum value MigrationTypeValueCdc = "cdc" - // @enum MigrationTypeValue + + // MigrationTypeValueFullLoadAndCdc is a MigrationTypeValue enum value MigrationTypeValueFullLoadAndCdc = "full-load-and-cdc" ) const ( - // @enum RefreshSchemasStatusTypeValue + // RefreshSchemasStatusTypeValueSuccessful is a RefreshSchemasStatusTypeValue enum value RefreshSchemasStatusTypeValueSuccessful = "successful" - // @enum RefreshSchemasStatusTypeValue + + // RefreshSchemasStatusTypeValueFailed is a RefreshSchemasStatusTypeValue enum value RefreshSchemasStatusTypeValueFailed = "failed" - // @enum RefreshSchemasStatusTypeValue + + // RefreshSchemasStatusTypeValueRefreshing is a RefreshSchemasStatusTypeValue enum value RefreshSchemasStatusTypeValueRefreshing = "refreshing" ) const ( - // @enum ReplicationEndpointTypeValue + // ReplicationEndpointTypeValueSource is a ReplicationEndpointTypeValue enum value ReplicationEndpointTypeValueSource = "source" - // @enum ReplicationEndpointTypeValue + + // ReplicationEndpointTypeValueTarget is a ReplicationEndpointTypeValue enum value ReplicationEndpointTypeValueTarget = "target" ) const ( - // @enum StartReplicationTaskTypeValue + // StartReplicationTaskTypeValueStartReplication is a StartReplicationTaskTypeValue enum value StartReplicationTaskTypeValueStartReplication = "start-replication" - // @enum StartReplicationTaskTypeValue + + // StartReplicationTaskTypeValueResumeProcessing is a StartReplicationTaskTypeValue enum value StartReplicationTaskTypeValueResumeProcessing = "resume-processing" - // @enum StartReplicationTaskTypeValue + + // StartReplicationTaskTypeValueReloadTarget is a StartReplicationTaskTypeValue enum value StartReplicationTaskTypeValueReloadTarget = "reload-target" ) diff --git a/service/datapipeline/api.go b/service/datapipeline/api.go index 4593b87a017..93e8b1499b2 100644 --- a/service/datapipeline/api.go +++ b/service/datapipeline/api.go @@ -1113,6 +1113,8 @@ type ActivatePipelineInput struct { ParameterValues []*ParameterValue `locationName:"parameterValues" type:"list"` // The ID of the pipeline. + // + // PipelineId is a required field PipelineId *string `locationName:"pipelineId" min:"1" type:"string" required:"true"` // The date and time to resume the pipeline. By default, the pipeline resumes @@ -1176,9 +1178,13 @@ type AddTagsInput struct { _ struct{} `type:"structure"` // The ID of the pipeline. + // + // PipelineId is a required field PipelineId *string `locationName:"pipelineId" min:"1" type:"string" required:"true"` // The tags to add, as key/value pairs. + // + // Tags is a required field Tags []*Tag `locationName:"tags" type:"list" required:"true"` } @@ -1246,6 +1252,8 @@ type CreatePipelineInput struct { // The name for the pipeline. You can use the same name for multiple pipelines // associated with your AWS account, because AWS Data Pipeline assigns each // pipeline a unique pipeline identifier. + // + // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // A list of tags to associate with the pipeline at creation. Tags let you control @@ -1265,6 +1273,8 @@ type CreatePipelineInput struct { // Instead, you'll receive the pipeline identifier from the previous attempt. // The uniqueness of the name and unique identifier combination is scoped to // the AWS account or IAM user credentials. + // + // UniqueId is a required field UniqueId *string `locationName:"uniqueId" min:"1" type:"string" required:"true"` } @@ -1316,6 +1326,8 @@ type CreatePipelineOutput struct { // The ID that AWS Data Pipeline assigns the newly created pipeline. For example, // df-06372391ZG65EXAMPLE. + // + // PipelineId is a required field PipelineId *string `locationName:"pipelineId" min:"1" type:"string" required:"true"` } @@ -1339,6 +1351,8 @@ type DeactivatePipelineInput struct { CancelActive *bool `locationName:"cancelActive" type:"boolean"` // The ID of the pipeline. + // + // PipelineId is a required field PipelineId *string `locationName:"pipelineId" min:"1" type:"string" required:"true"` } @@ -1388,6 +1402,8 @@ type DeletePipelineInput struct { _ struct{} `type:"structure"` // The ID of the pipeline. + // + // PipelineId is a required field PipelineId *string `locationName:"pipelineId" min:"1" type:"string" required:"true"` } @@ -1447,9 +1463,13 @@ type DescribeObjectsInput struct { // The IDs of the pipeline objects that contain the definitions to be described. // You can pass as many as 25 identifiers in a single call to DescribeObjects. + // + // ObjectIds is a required field ObjectIds []*string `locationName:"objectIds" type:"list" required:"true"` // The ID of the pipeline that contains the object definitions. + // + // PipelineId is a required field PipelineId *string `locationName:"pipelineId" min:"1" type:"string" required:"true"` } @@ -1495,6 +1515,8 @@ type DescribeObjectsOutput struct { Marker *string `locationName:"marker" type:"string"` // An array of object definitions. + // + // PipelineObjects is a required field PipelineObjects []*PipelineObject `locationName:"pipelineObjects" type:"list" required:"true"` } @@ -1514,6 +1536,8 @@ type DescribePipelinesInput struct { // The IDs of the pipelines to describe. You can pass as many as 25 identifiers // in a single call. To obtain pipeline IDs, call ListPipelines. + // + // PipelineIds is a required field PipelineIds []*string `locationName:"pipelineIds" type:"list" required:"true"` } @@ -1545,6 +1569,8 @@ type DescribePipelinesOutput struct { _ struct{} `type:"structure"` // An array of descriptions for the specified pipelines. + // + // PipelineDescriptionList is a required field PipelineDescriptionList []*PipelineDescription `locationName:"pipelineDescriptionList" type:"list" required:"true"` } @@ -1563,12 +1589,18 @@ type EvaluateExpressionInput struct { _ struct{} `type:"structure"` // The expression to evaluate. + // + // Expression is a required field Expression *string `locationName:"expression" type:"string" required:"true"` // The ID of the object. + // + // ObjectId is a required field ObjectId *string `locationName:"objectId" min:"1" type:"string" required:"true"` // The ID of the pipeline. + // + // PipelineId is a required field PipelineId *string `locationName:"pipelineId" min:"1" type:"string" required:"true"` } @@ -1612,6 +1644,8 @@ type EvaluateExpressionOutput struct { _ struct{} `type:"structure"` // The evaluated expression. + // + // EvaluatedExpression is a required field EvaluatedExpression *string `locationName:"evaluatedExpression" type:"string" required:"true"` } @@ -1632,6 +1666,8 @@ type Field struct { _ struct{} `type:"structure"` // The field identifier. + // + // Key is a required field Key *string `locationName:"key" min:"1" type:"string" required:"true"` // The field value, expressed as the identifier of another object. @@ -1675,6 +1711,8 @@ type GetPipelineDefinitionInput struct { _ struct{} `type:"structure"` // The ID of the pipeline. + // + // PipelineId is a required field PipelineId *string `locationName:"pipelineId" min:"1" type:"string" required:"true"` // The version of the pipeline definition to retrieve. Set this parameter to @@ -1798,6 +1836,8 @@ type ListPipelinesOutput struct { // The pipeline identifiers. If you require additional information about the // pipelines, you can use these identifiers to call DescribePipelines and GetPipelineDefinition. + // + // PipelineIdList is a required field PipelineIdList []*PipelineIdName `locationName:"pipelineIdList" type:"list" required:"true"` } @@ -1855,9 +1895,13 @@ type ParameterAttribute struct { _ struct{} `type:"structure"` // The field identifier. + // + // Key is a required field Key *string `locationName:"key" min:"1" type:"string" required:"true"` // The field value, expressed as a String. + // + // StringValue is a required field StringValue *string `locationName:"stringValue" type:"string" required:"true"` } @@ -1895,9 +1939,13 @@ type ParameterObject struct { _ struct{} `type:"structure"` // The attributes of the parameter object. + // + // Attributes is a required field Attributes []*ParameterAttribute `locationName:"attributes" type:"list" required:"true"` // The ID of the parameter object. + // + // Id is a required field Id *string `locationName:"id" min:"1" type:"string" required:"true"` } @@ -1945,9 +1993,13 @@ type ParameterValue struct { _ struct{} `type:"structure"` // The ID of the parameter value. + // + // Id is a required field Id *string `locationName:"id" min:"1" type:"string" required:"true"` // The field value, expressed as a String. + // + // StringValue is a required field StringValue *string `locationName:"stringValue" type:"string" required:"true"` } @@ -1989,13 +2041,19 @@ type PipelineDescription struct { // A list of read-only fields that contain metadata about the pipeline: @userId, // @accountId, and @pipelineState. + // + // Fields is a required field Fields []*Field `locationName:"fields" type:"list" required:"true"` // The name of the pipeline. + // + // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // The pipeline identifier that was assigned by AWS Data Pipeline. This is a // string of the form df-297EG78HU43EEXAMPLE. + // + // PipelineId is a required field PipelineId *string `locationName:"pipelineId" min:"1" type:"string" required:"true"` // A list of tags to associated with a pipeline. Tags let you control access @@ -2044,12 +2102,18 @@ type PipelineObject struct { _ struct{} `type:"structure"` // Key-value pairs that define the properties of the object. + // + // Fields is a required field Fields []*Field `locationName:"fields" type:"list" required:"true"` // The ID of the object. + // + // Id is a required field Id *string `locationName:"id" min:"1" type:"string" required:"true"` // The name of the object. + // + // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` } @@ -2118,6 +2182,8 @@ type PollForTaskInput struct { // You can only specify a single value for workerGroup in the call to PollForTask. // There are no wildcard values permitted in workerGroup; the string must be // an exact, case-sensitive, match. + // + // WorkerGroup is a required field WorkerGroup *string `locationName:"workerGroup" type:"string" required:"true"` } @@ -2179,10 +2245,14 @@ type PutPipelineDefinitionInput struct { ParameterValues []*ParameterValue `locationName:"parameterValues" type:"list"` // The ID of the pipeline. + // + // PipelineId is a required field PipelineId *string `locationName:"pipelineId" min:"1" type:"string" required:"true"` // The objects that define the pipeline. These objects overwrite the existing // pipeline definition. + // + // PipelineObjects is a required field PipelineObjects []*PipelineObject `locationName:"pipelineObjects" type:"list" required:"true"` } @@ -2252,6 +2322,8 @@ type PutPipelineDefinitionOutput struct { // Indicates whether there were validation errors, and the pipeline definition // is stored but cannot be activated until you correct the pipeline and call // PutPipelineDefinition to commit the corrected pipeline. + // + // Errored is a required field Errored *bool `locationName:"errored" type:"boolean" required:"true"` // The validation errors that are associated with the objects defined in pipelineObjects. @@ -2305,6 +2377,8 @@ type QueryObjectsInput struct { Marker *string `locationName:"marker" type:"string"` // The ID of the pipeline. + // + // PipelineId is a required field PipelineId *string `locationName:"pipelineId" min:"1" type:"string" required:"true"` // The query that defines the objects to be returned. The Query object can contain @@ -2315,6 +2389,8 @@ type QueryObjectsInput struct { // Indicates whether the query applies to components or instances. The possible // values are: COMPONENT, INSTANCE, and ATTEMPT. + // + // Sphere is a required field Sphere *string `locationName:"sphere" type:"string" required:"true"` } @@ -2379,9 +2455,13 @@ type RemoveTagsInput struct { _ struct{} `type:"structure"` // The ID of the pipeline. + // + // PipelineId is a required field PipelineId *string `locationName:"pipelineId" min:"1" type:"string" required:"true"` // The keys of the tags to remove. + // + // TagKeys is a required field TagKeys []*string `locationName:"tagKeys" type:"list" required:"true"` } @@ -2439,6 +2519,8 @@ type ReportTaskProgressInput struct { // The ID of the task assigned to the task runner. This value is provided in // the response for PollForTask. + // + // TaskId is a required field TaskId *string `locationName:"taskId" min:"1" type:"string" required:"true"` } @@ -2484,6 +2566,8 @@ type ReportTaskProgressOutput struct { // If true, the calling task runner should cancel processing of the task. The // task runner does not need to call SetTaskStatus for canceled tasks. + // + // Canceled is a required field Canceled *bool `locationName:"canceled" type:"boolean" required:"true"` } @@ -2509,6 +2593,8 @@ type ReportTaskRunnerHeartbeatInput struct { // by AWS Data Pipeline, the web service provides a unique identifier when it // launches the application. If you have written a custom task runner, you should // assign a unique identifier for the task runner. + // + // TaskrunnerId is a required field TaskrunnerId *string `locationName:"taskrunnerId" min:"1" type:"string" required:"true"` // The type of task the task runner is configured to accept and process. The @@ -2553,6 +2639,8 @@ type ReportTaskRunnerHeartbeatOutput struct { _ struct{} `type:"structure"` // Indicates whether the calling task runner should terminate. + // + // Terminate is a required field Terminate *bool `locationName:"terminate" type:"boolean" required:"true"` } @@ -2598,13 +2686,19 @@ type SetStatusInput struct { // The IDs of the objects. The corresponding objects can be either physical // or components, but not a mix of both types. + // + // ObjectIds is a required field ObjectIds []*string `locationName:"objectIds" type:"list" required:"true"` // The ID of the pipeline that contains the objects. + // + // PipelineId is a required field PipelineId *string `locationName:"pipelineId" min:"1" type:"string" required:"true"` // The status to be set on all the objects specified in objectIds. For components, // use PAUSE or RESUME. For instances, use TRY_CANCEL, RERUN, or MARK_FINISHED. + // + // Status is a required field Status *string `locationName:"status" type:"string" required:"true"` } @@ -2678,10 +2772,14 @@ type SetTaskStatusInput struct { // The ID of the task assigned to the task runner. This value is provided in // the response for PollForTask. + // + // TaskId is a required field TaskId *string `locationName:"taskId" min:"1" type:"string" required:"true"` // If FINISHED, the task successfully completed. If FAILED, the task ended unsuccessfully. // Preconditions use false. + // + // TaskStatus is a required field TaskStatus *string `locationName:"taskStatus" type:"string" required:"true" enum:"TaskStatus"` } @@ -2740,11 +2838,15 @@ type Tag struct { // The key name of a tag defined by a user. For more information, see Controlling // User Access to Pipelines (http://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-control-access.html) // in the AWS Data Pipeline Developer Guide. + // + // Key is a required field Key *string `locationName:"key" min:"1" type:"string" required:"true"` // The optional value portion of a tag defined by a user. For more information, // see Controlling User Access to Pipelines (http://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-control-access.html) // in the AWS Data Pipeline Developer Guide. + // + // Value is a required field Value *string `locationName:"value" type:"string" required:"true"` } @@ -2818,9 +2920,13 @@ type ValidatePipelineDefinitionInput struct { ParameterValues []*ParameterValue `locationName:"parameterValues" type:"list"` // The ID of the pipeline. + // + // PipelineId is a required field PipelineId *string `locationName:"pipelineId" min:"1" type:"string" required:"true"` // The objects that define the pipeline changes to validate against the pipeline. + // + // PipelineObjects is a required field PipelineObjects []*PipelineObject `locationName:"pipelineObjects" type:"list" required:"true"` } @@ -2888,6 +2994,8 @@ type ValidatePipelineDefinitionOutput struct { _ struct{} `type:"structure"` // Indicates whether there were validation errors. + // + // Errored is a required field Errored *bool `locationName:"errored" type:"boolean" required:"true"` // Any validation errors that were found. @@ -2954,23 +3062,29 @@ func (s ValidationWarning) GoString() string { } const ( - // @enum OperatorType + // OperatorTypeEq is a OperatorType enum value OperatorTypeEq = "EQ" - // @enum OperatorType + + // OperatorTypeRefEq is a OperatorType enum value OperatorTypeRefEq = "REF_EQ" - // @enum OperatorType + + // OperatorTypeLe is a OperatorType enum value OperatorTypeLe = "LE" - // @enum OperatorType + + // OperatorTypeGe is a OperatorType enum value OperatorTypeGe = "GE" - // @enum OperatorType + + // OperatorTypeBetween is a OperatorType enum value OperatorTypeBetween = "BETWEEN" ) const ( - // @enum TaskStatus + // TaskStatusFinished is a TaskStatus enum value TaskStatusFinished = "FINISHED" - // @enum TaskStatus + + // TaskStatusFailed is a TaskStatus enum value TaskStatusFailed = "FAILED" - // @enum TaskStatus + + // TaskStatusFalse is a TaskStatus enum value TaskStatusFalse = "FALSE" ) diff --git a/service/devicefarm/api.go b/service/devicefarm/api.go index 5c97ed833e6..6347a670217 100644 --- a/service/devicefarm/api.go +++ b/service/devicefarm/api.go @@ -2723,12 +2723,18 @@ type CreateDevicePoolInput struct { Description *string `locationName:"description" type:"string"` // The device pool's name. + // + // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` // The ARN of the project for the device pool. + // + // ProjectArn is a required field ProjectArn *string `locationName:"projectArn" min:"32" type:"string" required:"true"` // The device pool's rules. + // + // Rules is a required field Rules []*Rule `locationName:"rules" type:"list" required:"true"` } @@ -2787,6 +2793,8 @@ type CreateProjectInput struct { _ struct{} `type:"structure"` // The project's name. + // + // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` } @@ -2859,6 +2867,8 @@ type CreateRemoteAccessSessionInput struct { // The Amazon Resource Name (ARN) of the device for which you want to create // a remote access session. + // + // DeviceArn is a required field DeviceArn *string `locationName:"deviceArn" min:"32" type:"string" required:"true"` // The name of the remote access session that you wish to create. @@ -2866,6 +2876,8 @@ type CreateRemoteAccessSessionInput struct { // The Amazon Resource Name (ARN) of the project for which you want to create // a remote access session. + // + // ProjectArn is a required field ProjectArn *string `locationName:"projectArn" min:"32" type:"string" required:"true"` } @@ -2931,9 +2943,13 @@ type CreateUploadInput struct { // uploading an iOS app, the file name needs to end with the .ipa extension. // If uploading an Android app, the file name needs to end with the .apk extension. // For all others, the file name must end with the .zip file extension. + // + // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` // The ARN of the project for the upload. + // + // ProjectArn is a required field ProjectArn *string `locationName:"projectArn" min:"32" type:"string" required:"true"` // The upload's upload type. @@ -2976,6 +2992,8 @@ type CreateUploadInput struct { // // Note If you call CreateUpload with WEB_APP specified, AWS Device Farm // throws an ArgumentException error. + // + // Type is a required field Type *string `locationName:"type" type:"string" required:"true" enum:"UploadType"` } @@ -3035,6 +3053,8 @@ type DeleteDevicePoolInput struct { // Represents the Amazon Resource Name (ARN) of the Device Farm device pool // you wish to delete. + // + // Arn is a required field Arn *string `locationName:"arn" min:"32" type:"string" required:"true"` } @@ -3085,6 +3105,8 @@ type DeleteProjectInput struct { // Represents the Amazon Resource Name (ARN) of the Device Farm project you // wish to delete. + // + // Arn is a required field Arn *string `locationName:"arn" min:"32" type:"string" required:"true"` } @@ -3135,6 +3157,8 @@ type DeleteRemoteAccessSessionInput struct { // The Amazon Resource Name (ARN) of the sesssion for which you want to delete // remote access. + // + // Arn is a required field Arn *string `locationName:"arn" min:"32" type:"string" required:"true"` } @@ -3185,6 +3209,8 @@ type DeleteRunInput struct { _ struct{} `type:"structure"` // The Amazon Resource Name (ARN) for the run you wish to delete. + // + // Arn is a required field Arn *string `locationName:"arn" min:"32" type:"string" required:"true"` } @@ -3235,6 +3261,8 @@ type DeleteUploadInput struct { // Represents the Amazon Resource Name (ARN) of the Device Farm upload you wish // to delete. + // + // Arn is a required field Arn *string `locationName:"arn" min:"32" type:"string" required:"true"` } @@ -3487,6 +3515,8 @@ type GetDeviceInput struct { _ struct{} `type:"structure"` // The device type's ARN. + // + // Arn is a required field Arn *string `locationName:"arn" min:"32" type:"string" required:"true"` } @@ -3542,6 +3572,8 @@ type GetDevicePoolCompatibilityInput struct { AppArn *string `locationName:"appArn" min:"32" type:"string"` // The device pool's ARN. + // + // DevicePoolArn is a required field DevicePoolArn *string `locationName:"devicePoolArn" min:"32" type:"string" required:"true"` // The test type for the specified device pool. @@ -3634,6 +3666,8 @@ type GetDevicePoolInput struct { _ struct{} `type:"structure"` // The device pool's ARN. + // + // Arn is a required field Arn *string `locationName:"arn" min:"32" type:"string" required:"true"` } @@ -3686,6 +3720,8 @@ type GetJobInput struct { _ struct{} `type:"structure"` // The job's ARN. + // + // Arn is a required field Arn *string `locationName:"arn" min:"32" type:"string" required:"true"` } @@ -3796,6 +3832,8 @@ type GetProjectInput struct { _ struct{} `type:"structure"` // The project's ARN. + // + // Arn is a required field Arn *string `locationName:"arn" min:"32" type:"string" required:"true"` } @@ -3851,6 +3889,8 @@ type GetRemoteAccessSessionInput struct { // The Amazon Resource Name (ARN) of the remote access session about which you // want to get session information. + // + // Arn is a required field Arn *string `locationName:"arn" min:"32" type:"string" required:"true"` } @@ -3904,6 +3944,8 @@ type GetRunInput struct { _ struct{} `type:"structure"` // The run's ARN. + // + // Arn is a required field Arn *string `locationName:"arn" min:"32" type:"string" required:"true"` } @@ -3956,6 +3998,8 @@ type GetSuiteInput struct { _ struct{} `type:"structure"` // The suite's ARN. + // + // Arn is a required field Arn *string `locationName:"arn" min:"32" type:"string" required:"true"` } @@ -4008,6 +4052,8 @@ type GetTestInput struct { _ struct{} `type:"structure"` // The test's ARN. + // + // Arn is a required field Arn *string `locationName:"arn" min:"32" type:"string" required:"true"` } @@ -4060,6 +4106,8 @@ type GetUploadInput struct { _ struct{} `type:"structure"` // The upload's ARN. + // + // Arn is a required field Arn *string `locationName:"arn" min:"32" type:"string" required:"true"` } @@ -4145,10 +4193,14 @@ type InstallToRemoteAccessSessionInput struct { // The Amazon Resource Name (ARN) of the app about which you are requesting // information. + // + // AppArn is a required field AppArn *string `locationName:"appArn" min:"32" type:"string" required:"true"` // The Amazon Resource Name (ARN) of the remote access session about which you // are requesting information. + // + // RemoteAccessSessionArn is a required field RemoteAccessSessionArn *string `locationName:"remoteAccessSessionArn" min:"32" type:"string" required:"true"` } @@ -4326,6 +4378,8 @@ type ListArtifactsInput struct { _ struct{} `type:"structure"` // The Run, Job, Suite, or Test ARN. + // + // Arn is a required field Arn *string `locationName:"arn" min:"32" type:"string" required:"true"` // An identifier that was returned from the previous call to this operation, @@ -4341,6 +4395,8 @@ type ListArtifactsInput struct { // LOG: The artifacts are logs. // // SCREENSHOT: The artifacts are screenshots. + // + // Type is a required field Type *string `locationName:"type" type:"string" required:"true" enum:"ArtifactCategory"` } @@ -4404,6 +4460,8 @@ type ListDevicePoolsInput struct { _ struct{} `type:"structure"` // The project ARN. + // + // Arn is a required field Arn *string `locationName:"arn" min:"32" type:"string" required:"true"` // An identifier that was returned from the previous call to this operation, @@ -4539,6 +4597,8 @@ type ListJobsInput struct { _ struct{} `type:"structure"` // The jobs' ARNs. + // + // Arn is a required field Arn *string `locationName:"arn" min:"32" type:"string" required:"true"` // An identifier that was returned from the previous call to this operation, @@ -4776,6 +4836,8 @@ type ListRemoteAccessSessionsInput struct { // The Amazon Resource Name (ARN) of the remote access session about which you // are requesting information. + // + // Arn is a required field Arn *string `locationName:"arn" min:"32" type:"string" required:"true"` // An identifier that was returned from the previous call to this operation, @@ -4842,6 +4904,8 @@ type ListRunsInput struct { // The Amazon Resource Name (ARN) of the project for which you want to list // runs. + // + // Arn is a required field Arn *string `locationName:"arn" min:"32" type:"string" required:"true"` // An identifier that was returned from the previous call to this operation, @@ -4907,6 +4971,8 @@ type ListSamplesInput struct { // The Amazon Resource Name (ARN) of the project for which you want to list // samples. + // + // Arn is a required field Arn *string `locationName:"arn" min:"32" type:"string" required:"true"` // An identifier that was returned from the previous call to this operation, @@ -4971,6 +5037,8 @@ type ListSuitesInput struct { _ struct{} `type:"structure"` // The suites' ARNs. + // + // Arn is a required field Arn *string `locationName:"arn" min:"32" type:"string" required:"true"` // An identifier that was returned from the previous call to this operation, @@ -5035,6 +5103,8 @@ type ListTestsInput struct { _ struct{} `type:"structure"` // The tests' ARNs. + // + // Arn is a required field Arn *string `locationName:"arn" min:"32" type:"string" required:"true"` // An identifier that was returned from the previous call to this operation, @@ -5099,6 +5169,8 @@ type ListUniqueProblemsInput struct { _ struct{} `type:"structure"` // The unique problems' ARNs. + // + // Arn is a required field Arn *string `locationName:"arn" min:"32" type:"string" required:"true"` // An identifier that was returned from the previous call to this operation, @@ -5180,6 +5252,8 @@ type ListUploadsInput struct { // The Amazon Resource Name (ARN) of the project for which you want to list // uploads. + // + // Arn is a required field Arn *string `locationName:"arn" min:"32" type:"string" required:"true"` // An identifier that was returned from the previous call to this operation, @@ -5247,9 +5321,13 @@ type Location struct { _ struct{} `type:"structure"` // The latitude. + // + // Latitude is a required field Latitude *float64 `locationName:"latitude" type:"double" required:"true"` // The longitude. + // + // Longitude is a required field Longitude *float64 `locationName:"longitude" type:"double" required:"true"` } @@ -6059,15 +6137,21 @@ type ScheduleRunInput struct { Configuration *ScheduleRunConfiguration `locationName:"configuration" type:"structure"` // The ARN of the device pool for the run to be scheduled. + // + // DevicePoolArn is a required field DevicePoolArn *string `locationName:"devicePoolArn" min:"32" type:"string" required:"true"` // The name for the run to be scheduled. Name *string `locationName:"name" type:"string"` // The ARN of the project for the run to be scheduled. + // + // ProjectArn is a required field ProjectArn *string `locationName:"projectArn" min:"32" type:"string" required:"true"` // Information about the test for the run to be scheduled. + // + // Test is a required field Test *ScheduleRunTest `locationName:"test" type:"structure" required:"true"` } @@ -6182,6 +6266,8 @@ type ScheduleRunTest struct { // XCTEST: The XCode test type. // // XCTEST_UI: The XCode UI test type. + // + // Type is a required field Type *string `locationName:"type" type:"string" required:"true" enum:"TestType"` } @@ -6216,6 +6302,8 @@ type StopRemoteAccessSessionInput struct { _ struct{} `type:"structure"` // The Amazon Resource Name (ARN) of the remote access session you wish to stop. + // + // Arn is a required field Arn *string `locationName:"arn" min:"32" type:"string" required:"true"` } @@ -6271,6 +6359,8 @@ type StopRunInput struct { // Represents the Amazon Resource Name (ARN) of the Device Farm run you wish // to stop. + // + // Arn is a required field Arn *string `locationName:"arn" min:"32" type:"string" required:"true"` } @@ -6575,6 +6665,8 @@ type UpdateDevicePoolInput struct { // The Amazon Resourc Name (ARN) of the Device Farm device pool you wish to // update. + // + // Arn is a required field Arn *string `locationName:"arn" min:"32" type:"string" required:"true"` // A description of the device pool you wish to update. @@ -6638,6 +6730,8 @@ type UpdateProjectInput struct { _ struct{} `type:"structure"` // The Amazon Resource Name (ARN) of the project whose name you wish to update. + // + // Arn is a required field Arn *string `locationName:"arn" min:"32" type:"string" required:"true"` // A string representing the new name of the project that you are updating. @@ -6781,293 +6875,394 @@ func (s Upload) GoString() string { } const ( - // @enum ArtifactCategory + // ArtifactCategoryScreenshot is a ArtifactCategory enum value ArtifactCategoryScreenshot = "SCREENSHOT" - // @enum ArtifactCategory + + // ArtifactCategoryFile is a ArtifactCategory enum value ArtifactCategoryFile = "FILE" - // @enum ArtifactCategory + + // ArtifactCategoryLog is a ArtifactCategory enum value ArtifactCategoryLog = "LOG" ) const ( - // @enum ArtifactType + // ArtifactTypeUnknown is a ArtifactType enum value ArtifactTypeUnknown = "UNKNOWN" - // @enum ArtifactType + + // ArtifactTypeScreenshot is a ArtifactType enum value ArtifactTypeScreenshot = "SCREENSHOT" - // @enum ArtifactType + + // ArtifactTypeDeviceLog is a ArtifactType enum value ArtifactTypeDeviceLog = "DEVICE_LOG" - // @enum ArtifactType + + // ArtifactTypeMessageLog is a ArtifactType enum value ArtifactTypeMessageLog = "MESSAGE_LOG" - // @enum ArtifactType + + // ArtifactTypeVideoLog is a ArtifactType enum value ArtifactTypeVideoLog = "VIDEO_LOG" - // @enum ArtifactType + + // ArtifactTypeResultLog is a ArtifactType enum value ArtifactTypeResultLog = "RESULT_LOG" - // @enum ArtifactType + + // ArtifactTypeServiceLog is a ArtifactType enum value ArtifactTypeServiceLog = "SERVICE_LOG" - // @enum ArtifactType + + // ArtifactTypeWebkitLog is a ArtifactType enum value ArtifactTypeWebkitLog = "WEBKIT_LOG" - // @enum ArtifactType + + // ArtifactTypeInstrumentationOutput is a ArtifactType enum value ArtifactTypeInstrumentationOutput = "INSTRUMENTATION_OUTPUT" - // @enum ArtifactType + + // ArtifactTypeExerciserMonkeyOutput is a ArtifactType enum value ArtifactTypeExerciserMonkeyOutput = "EXERCISER_MONKEY_OUTPUT" - // @enum ArtifactType + + // ArtifactTypeCalabashJsonOutput is a ArtifactType enum value ArtifactTypeCalabashJsonOutput = "CALABASH_JSON_OUTPUT" - // @enum ArtifactType + + // ArtifactTypeCalabashPrettyOutput is a ArtifactType enum value ArtifactTypeCalabashPrettyOutput = "CALABASH_PRETTY_OUTPUT" - // @enum ArtifactType + + // ArtifactTypeCalabashStandardOutput is a ArtifactType enum value ArtifactTypeCalabashStandardOutput = "CALABASH_STANDARD_OUTPUT" - // @enum ArtifactType + + // ArtifactTypeCalabashJavaXmlOutput is a ArtifactType enum value ArtifactTypeCalabashJavaXmlOutput = "CALABASH_JAVA_XML_OUTPUT" - // @enum ArtifactType + + // ArtifactTypeAutomationOutput is a ArtifactType enum value ArtifactTypeAutomationOutput = "AUTOMATION_OUTPUT" - // @enum ArtifactType + + // ArtifactTypeAppiumServerOutput is a ArtifactType enum value ArtifactTypeAppiumServerOutput = "APPIUM_SERVER_OUTPUT" - // @enum ArtifactType + + // ArtifactTypeAppiumJavaOutput is a ArtifactType enum value ArtifactTypeAppiumJavaOutput = "APPIUM_JAVA_OUTPUT" - // @enum ArtifactType + + // ArtifactTypeAppiumJavaXmlOutput is a ArtifactType enum value ArtifactTypeAppiumJavaXmlOutput = "APPIUM_JAVA_XML_OUTPUT" - // @enum ArtifactType + + // ArtifactTypeAppiumPythonOutput is a ArtifactType enum value ArtifactTypeAppiumPythonOutput = "APPIUM_PYTHON_OUTPUT" - // @enum ArtifactType + + // ArtifactTypeAppiumPythonXmlOutput is a ArtifactType enum value ArtifactTypeAppiumPythonXmlOutput = "APPIUM_PYTHON_XML_OUTPUT" - // @enum ArtifactType + + // ArtifactTypeExplorerEventLog is a ArtifactType enum value ArtifactTypeExplorerEventLog = "EXPLORER_EVENT_LOG" - // @enum ArtifactType + + // ArtifactTypeExplorerSummaryLog is a ArtifactType enum value ArtifactTypeExplorerSummaryLog = "EXPLORER_SUMMARY_LOG" - // @enum ArtifactType + + // ArtifactTypeApplicationCrashReport is a ArtifactType enum value ArtifactTypeApplicationCrashReport = "APPLICATION_CRASH_REPORT" - // @enum ArtifactType + + // ArtifactTypeXctestLog is a ArtifactType enum value ArtifactTypeXctestLog = "XCTEST_LOG" - // @enum ArtifactType + + // ArtifactTypeVideo is a ArtifactType enum value ArtifactTypeVideo = "VIDEO" ) const ( - // @enum BillingMethod + // BillingMethodMetered is a BillingMethod enum value BillingMethodMetered = "METERED" - // @enum BillingMethod + + // BillingMethodUnmetered is a BillingMethod enum value BillingMethodUnmetered = "UNMETERED" ) const ( - // @enum CurrencyCode + // CurrencyCodeUsd is a CurrencyCode enum value CurrencyCodeUsd = "USD" ) const ( - // @enum DeviceAttribute + // DeviceAttributeArn is a DeviceAttribute enum value DeviceAttributeArn = "ARN" - // @enum DeviceAttribute + + // DeviceAttributePlatform is a DeviceAttribute enum value DeviceAttributePlatform = "PLATFORM" - // @enum DeviceAttribute + + // DeviceAttributeFormFactor is a DeviceAttribute enum value DeviceAttributeFormFactor = "FORM_FACTOR" - // @enum DeviceAttribute + + // DeviceAttributeManufacturer is a DeviceAttribute enum value DeviceAttributeManufacturer = "MANUFACTURER" - // @enum DeviceAttribute + + // DeviceAttributeRemoteAccessEnabled is a DeviceAttribute enum value DeviceAttributeRemoteAccessEnabled = "REMOTE_ACCESS_ENABLED" ) const ( - // @enum DeviceFormFactor + // DeviceFormFactorPhone is a DeviceFormFactor enum value DeviceFormFactorPhone = "PHONE" - // @enum DeviceFormFactor + + // DeviceFormFactorTablet is a DeviceFormFactor enum value DeviceFormFactorTablet = "TABLET" ) const ( - // @enum DevicePlatform + // DevicePlatformAndroid is a DevicePlatform enum value DevicePlatformAndroid = "ANDROID" - // @enum DevicePlatform + + // DevicePlatformIos is a DevicePlatform enum value DevicePlatformIos = "IOS" ) const ( - // @enum DevicePoolType + // DevicePoolTypeCurated is a DevicePoolType enum value DevicePoolTypeCurated = "CURATED" - // @enum DevicePoolType + + // DevicePoolTypePrivate is a DevicePoolType enum value DevicePoolTypePrivate = "PRIVATE" ) const ( - // @enum ExecutionResult + // ExecutionResultPending is a ExecutionResult enum value ExecutionResultPending = "PENDING" - // @enum ExecutionResult + + // ExecutionResultPassed is a ExecutionResult enum value ExecutionResultPassed = "PASSED" - // @enum ExecutionResult + + // ExecutionResultWarned is a ExecutionResult enum value ExecutionResultWarned = "WARNED" - // @enum ExecutionResult + + // ExecutionResultFailed is a ExecutionResult enum value ExecutionResultFailed = "FAILED" - // @enum ExecutionResult + + // ExecutionResultSkipped is a ExecutionResult enum value ExecutionResultSkipped = "SKIPPED" - // @enum ExecutionResult + + // ExecutionResultErrored is a ExecutionResult enum value ExecutionResultErrored = "ERRORED" - // @enum ExecutionResult + + // ExecutionResultStopped is a ExecutionResult enum value ExecutionResultStopped = "STOPPED" ) const ( - // @enum ExecutionStatus + // ExecutionStatusPending is a ExecutionStatus enum value ExecutionStatusPending = "PENDING" - // @enum ExecutionStatus + + // ExecutionStatusPendingConcurrency is a ExecutionStatus enum value ExecutionStatusPendingConcurrency = "PENDING_CONCURRENCY" - // @enum ExecutionStatus + + // ExecutionStatusPendingDevice is a ExecutionStatus enum value ExecutionStatusPendingDevice = "PENDING_DEVICE" - // @enum ExecutionStatus + + // ExecutionStatusProcessing is a ExecutionStatus enum value ExecutionStatusProcessing = "PROCESSING" - // @enum ExecutionStatus + + // ExecutionStatusScheduling is a ExecutionStatus enum value ExecutionStatusScheduling = "SCHEDULING" - // @enum ExecutionStatus + + // ExecutionStatusPreparing is a ExecutionStatus enum value ExecutionStatusPreparing = "PREPARING" - // @enum ExecutionStatus + + // ExecutionStatusRunning is a ExecutionStatus enum value ExecutionStatusRunning = "RUNNING" - // @enum ExecutionStatus + + // ExecutionStatusCompleted is a ExecutionStatus enum value ExecutionStatusCompleted = "COMPLETED" - // @enum ExecutionStatus + + // ExecutionStatusStopping is a ExecutionStatus enum value ExecutionStatusStopping = "STOPPING" ) const ( - // @enum OfferingTransactionType + // OfferingTransactionTypePurchase is a OfferingTransactionType enum value OfferingTransactionTypePurchase = "PURCHASE" - // @enum OfferingTransactionType + + // OfferingTransactionTypeRenew is a OfferingTransactionType enum value OfferingTransactionTypeRenew = "RENEW" - // @enum OfferingTransactionType + + // OfferingTransactionTypeSystem is a OfferingTransactionType enum value OfferingTransactionTypeSystem = "SYSTEM" ) const ( - // @enum OfferingType + // OfferingTypeRecurring is a OfferingType enum value OfferingTypeRecurring = "RECURRING" ) const ( - // @enum RecurringChargeFrequency + // RecurringChargeFrequencyMonthly is a RecurringChargeFrequency enum value RecurringChargeFrequencyMonthly = "MONTHLY" ) const ( - // @enum RuleOperator + // RuleOperatorEquals is a RuleOperator enum value RuleOperatorEquals = "EQUALS" - // @enum RuleOperator + + // RuleOperatorLessThan is a RuleOperator enum value RuleOperatorLessThan = "LESS_THAN" - // @enum RuleOperator + + // RuleOperatorGreaterThan is a RuleOperator enum value RuleOperatorGreaterThan = "GREATER_THAN" - // @enum RuleOperator + + // RuleOperatorIn is a RuleOperator enum value RuleOperatorIn = "IN" - // @enum RuleOperator + + // RuleOperatorNotIn is a RuleOperator enum value RuleOperatorNotIn = "NOT_IN" ) const ( - // @enum SampleType + // SampleTypeCpu is a SampleType enum value SampleTypeCpu = "CPU" - // @enum SampleType + + // SampleTypeMemory is a SampleType enum value SampleTypeMemory = "MEMORY" - // @enum SampleType + + // SampleTypeThreads is a SampleType enum value SampleTypeThreads = "THREADS" - // @enum SampleType + + // SampleTypeRxRate is a SampleType enum value SampleTypeRxRate = "RX_RATE" - // @enum SampleType + + // SampleTypeTxRate is a SampleType enum value SampleTypeTxRate = "TX_RATE" - // @enum SampleType + + // SampleTypeRx is a SampleType enum value SampleTypeRx = "RX" - // @enum SampleType + + // SampleTypeTx is a SampleType enum value SampleTypeTx = "TX" - // @enum SampleType + + // SampleTypeNativeFrames is a SampleType enum value SampleTypeNativeFrames = "NATIVE_FRAMES" - // @enum SampleType + + // SampleTypeNativeFps is a SampleType enum value SampleTypeNativeFps = "NATIVE_FPS" - // @enum SampleType + + // SampleTypeNativeMinDrawtime is a SampleType enum value SampleTypeNativeMinDrawtime = "NATIVE_MIN_DRAWTIME" - // @enum SampleType + + // SampleTypeNativeAvgDrawtime is a SampleType enum value SampleTypeNativeAvgDrawtime = "NATIVE_AVG_DRAWTIME" - // @enum SampleType + + // SampleTypeNativeMaxDrawtime is a SampleType enum value SampleTypeNativeMaxDrawtime = "NATIVE_MAX_DRAWTIME" - // @enum SampleType + + // SampleTypeOpenglFrames is a SampleType enum value SampleTypeOpenglFrames = "OPENGL_FRAMES" - // @enum SampleType + + // SampleTypeOpenglFps is a SampleType enum value SampleTypeOpenglFps = "OPENGL_FPS" - // @enum SampleType + + // SampleTypeOpenglMinDrawtime is a SampleType enum value SampleTypeOpenglMinDrawtime = "OPENGL_MIN_DRAWTIME" - // @enum SampleType + + // SampleTypeOpenglAvgDrawtime is a SampleType enum value SampleTypeOpenglAvgDrawtime = "OPENGL_AVG_DRAWTIME" - // @enum SampleType + + // SampleTypeOpenglMaxDrawtime is a SampleType enum value SampleTypeOpenglMaxDrawtime = "OPENGL_MAX_DRAWTIME" ) const ( - // @enum TestType + // TestTypeBuiltinFuzz is a TestType enum value TestTypeBuiltinFuzz = "BUILTIN_FUZZ" - // @enum TestType + + // TestTypeBuiltinExplorer is a TestType enum value TestTypeBuiltinExplorer = "BUILTIN_EXPLORER" - // @enum TestType + + // TestTypeAppiumJavaJunit is a TestType enum value TestTypeAppiumJavaJunit = "APPIUM_JAVA_JUNIT" - // @enum TestType + + // TestTypeAppiumJavaTestng is a TestType enum value TestTypeAppiumJavaTestng = "APPIUM_JAVA_TESTNG" - // @enum TestType + + // TestTypeAppiumPython is a TestType enum value TestTypeAppiumPython = "APPIUM_PYTHON" - // @enum TestType + + // TestTypeAppiumWebJavaJunit is a TestType enum value TestTypeAppiumWebJavaJunit = "APPIUM_WEB_JAVA_JUNIT" - // @enum TestType + + // TestTypeAppiumWebJavaTestng is a TestType enum value TestTypeAppiumWebJavaTestng = "APPIUM_WEB_JAVA_TESTNG" - // @enum TestType + + // TestTypeAppiumWebPython is a TestType enum value TestTypeAppiumWebPython = "APPIUM_WEB_PYTHON" - // @enum TestType + + // TestTypeCalabash is a TestType enum value TestTypeCalabash = "CALABASH" - // @enum TestType + + // TestTypeInstrumentation is a TestType enum value TestTypeInstrumentation = "INSTRUMENTATION" - // @enum TestType + + // TestTypeUiautomation is a TestType enum value TestTypeUiautomation = "UIAUTOMATION" - // @enum TestType + + // TestTypeUiautomator is a TestType enum value TestTypeUiautomator = "UIAUTOMATOR" - // @enum TestType + + // TestTypeXctest is a TestType enum value TestTypeXctest = "XCTEST" - // @enum TestType + + // TestTypeXctestUi is a TestType enum value TestTypeXctestUi = "XCTEST_UI" ) const ( - // @enum UploadStatus + // UploadStatusInitialized is a UploadStatus enum value UploadStatusInitialized = "INITIALIZED" - // @enum UploadStatus + + // UploadStatusProcessing is a UploadStatus enum value UploadStatusProcessing = "PROCESSING" - // @enum UploadStatus + + // UploadStatusSucceeded is a UploadStatus enum value UploadStatusSucceeded = "SUCCEEDED" - // @enum UploadStatus + + // UploadStatusFailed is a UploadStatus enum value UploadStatusFailed = "FAILED" ) const ( - // @enum UploadType + // UploadTypeAndroidApp is a UploadType enum value UploadTypeAndroidApp = "ANDROID_APP" - // @enum UploadType + + // UploadTypeIosApp is a UploadType enum value UploadTypeIosApp = "IOS_APP" - // @enum UploadType + + // UploadTypeWebApp is a UploadType enum value UploadTypeWebApp = "WEB_APP" - // @enum UploadType + + // UploadTypeExternalData is a UploadType enum value UploadTypeExternalData = "EXTERNAL_DATA" - // @enum UploadType + + // UploadTypeAppiumJavaJunitTestPackage is a UploadType enum value UploadTypeAppiumJavaJunitTestPackage = "APPIUM_JAVA_JUNIT_TEST_PACKAGE" - // @enum UploadType + + // UploadTypeAppiumJavaTestngTestPackage is a UploadType enum value UploadTypeAppiumJavaTestngTestPackage = "APPIUM_JAVA_TESTNG_TEST_PACKAGE" - // @enum UploadType + + // UploadTypeAppiumPythonTestPackage is a UploadType enum value UploadTypeAppiumPythonTestPackage = "APPIUM_PYTHON_TEST_PACKAGE" - // @enum UploadType + + // UploadTypeAppiumWebJavaJunitTestPackage is a UploadType enum value UploadTypeAppiumWebJavaJunitTestPackage = "APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE" - // @enum UploadType + + // UploadTypeAppiumWebJavaTestngTestPackage is a UploadType enum value UploadTypeAppiumWebJavaTestngTestPackage = "APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE" - // @enum UploadType + + // UploadTypeAppiumWebPythonTestPackage is a UploadType enum value UploadTypeAppiumWebPythonTestPackage = "APPIUM_WEB_PYTHON_TEST_PACKAGE" - // @enum UploadType + + // UploadTypeCalabashTestPackage is a UploadType enum value UploadTypeCalabashTestPackage = "CALABASH_TEST_PACKAGE" - // @enum UploadType + + // UploadTypeInstrumentationTestPackage is a UploadType enum value UploadTypeInstrumentationTestPackage = "INSTRUMENTATION_TEST_PACKAGE" - // @enum UploadType + + // UploadTypeUiautomationTestPackage is a UploadType enum value UploadTypeUiautomationTestPackage = "UIAUTOMATION_TEST_PACKAGE" - // @enum UploadType + + // UploadTypeUiautomatorTestPackage is a UploadType enum value UploadTypeUiautomatorTestPackage = "UIAUTOMATOR_TEST_PACKAGE" - // @enum UploadType + + // UploadTypeXctestTestPackage is a UploadType enum value UploadTypeXctestTestPackage = "XCTEST_TEST_PACKAGE" - // @enum UploadType + + // UploadTypeXctestUiTestPackage is a UploadType enum value UploadTypeXctestUiTestPackage = "XCTEST_UI_TEST_PACKAGE" ) diff --git a/service/directconnect/api.go b/service/directconnect/api.go index 942ac91182f..68be9538d08 100644 --- a/service/directconnect/api.go +++ b/service/directconnect/api.go @@ -1136,6 +1136,8 @@ type AllocateConnectionOnInterconnectInput struct { // Default: None // // Values: 50M, 100M, 200M, 300M, 400M, or 500M + // + // Bandwidth is a required field Bandwidth *string `locationName:"bandwidth" type:"string" required:"true"` // Name of the provisioned connection. @@ -1143,6 +1145,8 @@ type AllocateConnectionOnInterconnectInput struct { // Example: "500M Connection to AWS" // // Default: None + // + // ConnectionName is a required field ConnectionName *string `locationName:"connectionName" type:"string" required:"true"` // ID of the interconnect on which the connection will be provisioned. @@ -1150,6 +1154,8 @@ type AllocateConnectionOnInterconnectInput struct { // Example: dxcon-456abc78 // // Default: None + // + // InterconnectId is a required field InterconnectId *string `locationName:"interconnectId" type:"string" required:"true"` // Numeric account Id of the customer for whom the connection will be provisioned. @@ -1157,6 +1163,8 @@ type AllocateConnectionOnInterconnectInput struct { // Example: 123443215678 // // Default: None + // + // OwnerAccount is a required field OwnerAccount *string `locationName:"ownerAccount" type:"string" required:"true"` // The dedicated VLAN provisioned to the connection. @@ -1164,6 +1172,8 @@ type AllocateConnectionOnInterconnectInput struct { // Example: 101 // // Default: None + // + // Vlan is a required field Vlan *int64 `locationName:"vlan" type:"integer" required:"true"` } @@ -1209,16 +1219,22 @@ type AllocatePrivateVirtualInterfaceInput struct { // The connection ID on which the private virtual interface is provisioned. // // Default: None + // + // ConnectionId is a required field ConnectionId *string `locationName:"connectionId" type:"string" required:"true"` // Detailed information for the private virtual interface to be provisioned. // // Default: None + // + // NewPrivateVirtualInterfaceAllocation is a required field NewPrivateVirtualInterfaceAllocation *NewPrivateVirtualInterfaceAllocation `locationName:"newPrivateVirtualInterfaceAllocation" type:"structure" required:"true"` // The AWS account that will own the new private virtual interface. // // Default: None + // + // OwnerAccount is a required field OwnerAccount *string `locationName:"ownerAccount" type:"string" required:"true"` } @@ -1263,16 +1279,22 @@ type AllocatePublicVirtualInterfaceInput struct { // The connection ID on which the public virtual interface is provisioned. // // Default: None + // + // ConnectionId is a required field ConnectionId *string `locationName:"connectionId" type:"string" required:"true"` // Detailed information for the public virtual interface to be provisioned. // // Default: None + // + // NewPublicVirtualInterfaceAllocation is a required field NewPublicVirtualInterfaceAllocation *NewPublicVirtualInterfaceAllocation `locationName:"newPublicVirtualInterfaceAllocation" type:"structure" required:"true"` // The AWS account that will own the new public virtual interface. // // Default: None + // + // OwnerAccount is a required field OwnerAccount *string `locationName:"ownerAccount" type:"string" required:"true"` } @@ -1319,6 +1341,8 @@ type ConfirmConnectionInput struct { // Example: dxcon-fg5678gh // // Default: None + // + // ConnectionId is a required field ConnectionId *string `locationName:"connectionId" type:"string" required:"true"` } @@ -1395,6 +1419,8 @@ type ConfirmPrivateVirtualInterfaceInput struct { // action. // // Default: None + // + // VirtualGatewayId is a required field VirtualGatewayId *string `locationName:"virtualGatewayId" type:"string" required:"true"` // ID of the virtual interface. @@ -1402,6 +1428,8 @@ type ConfirmPrivateVirtualInterfaceInput struct { // Example: dxvif-123dfg56 // // Default: None + // + // VirtualInterfaceId is a required field VirtualInterfaceId *string `locationName:"virtualInterfaceId" type:"string" required:"true"` } @@ -1485,6 +1513,8 @@ type ConfirmPublicVirtualInterfaceInput struct { // Example: dxvif-123dfg56 // // Default: None + // + // VirtualInterfaceId is a required field VirtualInterfaceId *string `locationName:"virtualInterfaceId" type:"string" required:"true"` } @@ -1672,6 +1702,8 @@ type CreateConnectionInput struct { // Example: 1Gbps // // Default: None + // + // Bandwidth is a required field Bandwidth *string `locationName:"bandwidth" type:"string" required:"true"` // The name of the connection. @@ -1679,6 +1711,8 @@ type CreateConnectionInput struct { // Example: "My Connection to AWS" // // Default: None + // + // ConnectionName is a required field ConnectionName *string `locationName:"connectionName" type:"string" required:"true"` // Where the connection is located. @@ -1686,6 +1720,8 @@ type CreateConnectionInput struct { // Example: EqSV5 // // Default: None + // + // Location is a required field Location *string `locationName:"location" type:"string" required:"true"` } @@ -1729,6 +1765,8 @@ type CreateInterconnectInput struct { // Default: None // // Available values: 1Gbps,10Gbps + // + // Bandwidth is a required field Bandwidth *string `locationName:"bandwidth" type:"string" required:"true"` // The name of the interconnect. @@ -1736,6 +1774,8 @@ type CreateInterconnectInput struct { // Example: "1G Interconnect to AWS" // // Default: None + // + // InterconnectName is a required field InterconnectName *string `locationName:"interconnectName" type:"string" required:"true"` // Where the interconnect is located @@ -1743,6 +1783,8 @@ type CreateInterconnectInput struct { // Example: EqSV5 // // Default: None + // + // Location is a required field Location *string `locationName:"location" type:"string" required:"true"` } @@ -1784,11 +1826,15 @@ type CreatePrivateVirtualInterfaceInput struct { // Example: dxcon-fg5678gh // // Default: None + // + // ConnectionId is a required field ConnectionId *string `locationName:"connectionId" type:"string" required:"true"` // Detailed information for the private virtual interface to be created. // // Default: None + // + // NewPrivateVirtualInterface is a required field NewPrivateVirtualInterface *NewPrivateVirtualInterface `locationName:"newPrivateVirtualInterface" type:"structure" required:"true"` } @@ -1832,11 +1878,15 @@ type CreatePublicVirtualInterfaceInput struct { // Example: dxcon-fg5678gh // // Default: None + // + // ConnectionId is a required field ConnectionId *string `locationName:"connectionId" type:"string" required:"true"` // Detailed information for the public virtual interface to be created. // // Default: None + // + // NewPublicVirtualInterface is a required field NewPublicVirtualInterface *NewPublicVirtualInterface `locationName:"newPublicVirtualInterface" type:"structure" required:"true"` } @@ -1880,6 +1930,8 @@ type DeleteConnectionInput struct { // Example: dxcon-fg5678gh // // Default: None + // + // ConnectionId is a required field ConnectionId *string `locationName:"connectionId" type:"string" required:"true"` } @@ -1913,6 +1965,8 @@ type DeleteInterconnectInput struct { // The ID of the interconnect. // // Example: dxcon-abc123 + // + // InterconnectId is a required field InterconnectId *string `locationName:"interconnectId" type:"string" required:"true"` } @@ -1981,6 +2035,8 @@ type DeleteVirtualInterfaceInput struct { // Example: dxvif-123dfg56 // // Default: None + // + // VirtualInterfaceId is a required field VirtualInterfaceId *string `locationName:"virtualInterfaceId" type:"string" required:"true"` } @@ -2061,6 +2117,8 @@ type DescribeConnectionLoaInput struct { // Example: dxcon-fg5678gh // // Default: None + // + // ConnectionId is a required field ConnectionId *string `locationName:"connectionId" type:"string" required:"true"` // A standard media type indicating the content type of the LOA-CFA document. @@ -2150,6 +2208,8 @@ type DescribeConnectionsOnInterconnectInput struct { // Example: dxcon-abc123 // // Default: None + // + // InterconnectId is a required field InterconnectId *string `locationName:"interconnectId" type:"string" required:"true"` } @@ -2183,6 +2243,8 @@ type DescribeInterconnectLoaInput struct { // The ID of the interconnect. // // Example: dxcon-abc123 + // + // InterconnectId is a required field InterconnectId *string `locationName:"interconnectId" type:"string" required:"true"` // A standard media type indicating the content type of the LOA-CFA document. @@ -2534,6 +2596,8 @@ type NewPrivateVirtualInterface struct { // Autonomous system (AS) number for Border Gateway Protocol (BGP) configuration. // // Example: 65000 + // + // Asn is a required field Asn *int64 `locationName:"asn" type:"integer" required:"true"` // Authentication key for BGP configuration. @@ -2550,16 +2614,22 @@ type NewPrivateVirtualInterface struct { // virtual interfaces. // // Example: vgw-123er56 + // + // VirtualGatewayId is a required field VirtualGatewayId *string `locationName:"virtualGatewayId" type:"string" required:"true"` // The name of the virtual interface assigned by the customer. // // Example: "My VPC" + // + // VirtualInterfaceName is a required field VirtualInterfaceName *string `locationName:"virtualInterfaceName" type:"string" required:"true"` // The VLAN ID. // // Example: 101 + // + // Vlan is a required field Vlan *int64 `locationName:"vlan" type:"integer" required:"true"` } @@ -2608,6 +2678,8 @@ type NewPrivateVirtualInterfaceAllocation struct { // Autonomous system (AS) number for Border Gateway Protocol (BGP) configuration. // // Example: 65000 + // + // Asn is a required field Asn *int64 `locationName:"asn" type:"integer" required:"true"` // Authentication key for BGP configuration. @@ -2623,11 +2695,15 @@ type NewPrivateVirtualInterfaceAllocation struct { // The name of the virtual interface assigned by the customer. // // Example: "My VPC" + // + // VirtualInterfaceName is a required field VirtualInterfaceName *string `locationName:"virtualInterfaceName" type:"string" required:"true"` // The VLAN ID. // // Example: 101 + // + // Vlan is a required field Vlan *int64 `locationName:"vlan" type:"integer" required:"true"` } @@ -2667,11 +2743,15 @@ type NewPublicVirtualInterface struct { // IP address assigned to the Amazon interface. // // Example: 192.168.1.1/30 + // + // AmazonAddress is a required field AmazonAddress *string `locationName:"amazonAddress" type:"string" required:"true"` // Autonomous system (AS) number for Border Gateway Protocol (BGP) configuration. // // Example: 65000 + // + // Asn is a required field Asn *int64 `locationName:"asn" type:"integer" required:"true"` // Authentication key for BGP configuration. @@ -2682,20 +2762,28 @@ type NewPublicVirtualInterface struct { // IP address assigned to the customer interface. // // Example: 192.168.1.2/30 + // + // CustomerAddress is a required field CustomerAddress *string `locationName:"customerAddress" type:"string" required:"true"` // A list of routes to be advertised to the AWS network in this region (public // virtual interface). + // + // RouteFilterPrefixes is a required field RouteFilterPrefixes []*RouteFilterPrefix `locationName:"routeFilterPrefixes" type:"list" required:"true"` // The name of the virtual interface assigned by the customer. // // Example: "My VPC" + // + // VirtualInterfaceName is a required field VirtualInterfaceName *string `locationName:"virtualInterfaceName" type:"string" required:"true"` // The VLAN ID. // // Example: 101 + // + // Vlan is a required field Vlan *int64 `locationName:"vlan" type:"integer" required:"true"` } @@ -2745,11 +2833,15 @@ type NewPublicVirtualInterfaceAllocation struct { // IP address assigned to the Amazon interface. // // Example: 192.168.1.1/30 + // + // AmazonAddress is a required field AmazonAddress *string `locationName:"amazonAddress" type:"string" required:"true"` // Autonomous system (AS) number for Border Gateway Protocol (BGP) configuration. // // Example: 65000 + // + // Asn is a required field Asn *int64 `locationName:"asn" type:"integer" required:"true"` // Authentication key for BGP configuration. @@ -2760,20 +2852,28 @@ type NewPublicVirtualInterfaceAllocation struct { // IP address assigned to the customer interface. // // Example: 192.168.1.2/30 + // + // CustomerAddress is a required field CustomerAddress *string `locationName:"customerAddress" type:"string" required:"true"` // A list of routes to be advertised to the AWS network in this region (public // virtual interface). + // + // RouteFilterPrefixes is a required field RouteFilterPrefixes []*RouteFilterPrefix `locationName:"routeFilterPrefixes" type:"list" required:"true"` // The name of the virtual interface assigned by the customer. // // Example: "My VPC" + // + // VirtualInterfaceName is a required field VirtualInterfaceName *string `locationName:"virtualInterfaceName" type:"string" required:"true"` // The VLAN ID. // // Example: 101 + // + // Vlan is a required field Vlan *int64 `locationName:"vlan" type:"integer" required:"true"` } @@ -3016,21 +3116,28 @@ func (s VirtualInterface) GoString() string { // Rejected: A hosted connection in the 'Ordering' state will enter the // 'Rejected' state if it is deleted by the end customer. const ( - // @enum ConnectionState + // ConnectionStateOrdering is a ConnectionState enum value ConnectionStateOrdering = "ordering" - // @enum ConnectionState + + // ConnectionStateRequested is a ConnectionState enum value ConnectionStateRequested = "requested" - // @enum ConnectionState + + // ConnectionStatePending is a ConnectionState enum value ConnectionStatePending = "pending" - // @enum ConnectionState + + // ConnectionStateAvailable is a ConnectionState enum value ConnectionStateAvailable = "available" - // @enum ConnectionState + + // ConnectionStateDown is a ConnectionState enum value ConnectionStateDown = "down" - // @enum ConnectionState + + // ConnectionStateDeleting is a ConnectionState enum value ConnectionStateDeleting = "deleting" - // @enum ConnectionState + + // ConnectionStateDeleted is a ConnectionState enum value ConnectionStateDeleted = "deleted" - // @enum ConnectionState + + // ConnectionStateRejected is a ConnectionState enum value ConnectionStateRejected = "rejected" ) @@ -3051,17 +3158,22 @@ const ( // // Deleted: The interconnect has been deleted. const ( - // @enum InterconnectState + // InterconnectStateRequested is a InterconnectState enum value InterconnectStateRequested = "requested" - // @enum InterconnectState + + // InterconnectStatePending is a InterconnectState enum value InterconnectStatePending = "pending" - // @enum InterconnectState + + // InterconnectStateAvailable is a InterconnectState enum value InterconnectStateAvailable = "available" - // @enum InterconnectState + + // InterconnectStateDown is a InterconnectState enum value InterconnectStateDown = "down" - // @enum InterconnectState + + // InterconnectStateDeleting is a InterconnectState enum value InterconnectStateDeleting = "deleting" - // @enum InterconnectState + + // InterconnectStateDeleted is a InterconnectState enum value InterconnectStateDeleted = "deleted" ) @@ -3070,7 +3182,7 @@ const ( // // Default: application/pdf const ( - // @enum LoaContentType + // LoaContentTypeApplicationPdf is a LoaContentType enum value LoaContentTypeApplicationPdf = "application/pdf" ) @@ -3103,20 +3215,27 @@ const ( // the virtual interface owner, the virtual interface will enter the 'Rejected' // state. const ( - // @enum VirtualInterfaceState + // VirtualInterfaceStateConfirming is a VirtualInterfaceState enum value VirtualInterfaceStateConfirming = "confirming" - // @enum VirtualInterfaceState + + // VirtualInterfaceStateVerifying is a VirtualInterfaceState enum value VirtualInterfaceStateVerifying = "verifying" - // @enum VirtualInterfaceState + + // VirtualInterfaceStatePending is a VirtualInterfaceState enum value VirtualInterfaceStatePending = "pending" - // @enum VirtualInterfaceState + + // VirtualInterfaceStateAvailable is a VirtualInterfaceState enum value VirtualInterfaceStateAvailable = "available" - // @enum VirtualInterfaceState + + // VirtualInterfaceStateDown is a VirtualInterfaceState enum value VirtualInterfaceStateDown = "down" - // @enum VirtualInterfaceState + + // VirtualInterfaceStateDeleting is a VirtualInterfaceState enum value VirtualInterfaceStateDeleting = "deleting" - // @enum VirtualInterfaceState + + // VirtualInterfaceStateDeleted is a VirtualInterfaceState enum value VirtualInterfaceStateDeleted = "deleted" - // @enum VirtualInterfaceState + + // VirtualInterfaceStateRejected is a VirtualInterfaceState enum value VirtualInterfaceStateRejected = "rejected" ) diff --git a/service/directoryservice/api.go b/service/directoryservice/api.go index 8289531fa96..ef30acb2a61 100644 --- a/service/directoryservice/api.go +++ b/service/directoryservice/api.go @@ -1767,10 +1767,14 @@ type AddIpRoutesInput struct { _ struct{} `type:"structure"` // Identifier (ID) of the directory to which to add the address block. + // + // DirectoryId is a required field DirectoryId *string `type:"string" required:"true"` // IP address blocks, using CIDR format, of the traffic to route. This is often // the IP address block of the DNS server used for your on-premises domain. + // + // IpRoutes is a required field IpRoutes []*IpRoute `type:"list" required:"true"` // If set to true, updates the inbound and outbound rules of the security group @@ -1866,9 +1870,13 @@ type AddTagsToResourceInput struct { _ struct{} `type:"structure"` // Identifier (ID) for the directory to which to add the tag. + // + // ResourceId is a required field ResourceId *string `type:"string" required:"true"` // The tags to be assigned to the Amazon Directory Services directory. + // + // Tags is a required field Tags []*Tag `type:"list" required:"true"` } @@ -2018,21 +2026,29 @@ type ConnectDirectoryInput struct { // A DirectoryConnectSettings object that contains additional information for // the operation. + // + // ConnectSettings is a required field ConnectSettings *DirectoryConnectSettings `type:"structure" required:"true"` // A textual description for the directory. Description *string `type:"string"` // The fully-qualified name of the on-premises directory, such as corp.example.com. + // + // Name is a required field Name *string `type:"string" required:"true"` // The password for the on-premises user account. + // + // Password is a required field Password *string `min:"1" type:"string" required:"true"` // The NetBIOS name of the on-premises directory, such as CORP. ShortName *string `type:"string"` // The size of the directory. + // + // Size is a required field Size *string `type:"string" required:"true" enum:"DirectorySize"` } @@ -2102,9 +2118,13 @@ type CreateAliasInput struct { // // The alias must be unique amongst all aliases in AWS. This operation throws // an EntityAlreadyExistsException error if the alias already exists. + // + // Alias is a required field Alias *string `min:"1" type:"string" required:"true"` // The identifier of the directory for which to create the alias. + // + // DirectoryId is a required field DirectoryId *string `type:"string" required:"true"` } @@ -2167,9 +2187,13 @@ type CreateComputerInput struct { ComputerAttributes []*Attribute `type:"list"` // The name of the computer account. + // + // ComputerName is a required field ComputerName *string `min:"1" type:"string" required:"true"` // The identifier of the directory in which to create the computer account. + // + // DirectoryId is a required field DirectoryId *string `type:"string" required:"true"` // The fully-qualified distinguished name of the organizational unit to place @@ -2178,6 +2202,8 @@ type CreateComputerInput struct { // A one-time password that is used to join the computer to the directory. You // should generate a random, strong password to use for this parameter. + // + // Password is a required field Password *string `min:"8" type:"string" required:"true"` } @@ -2255,13 +2281,19 @@ type CreateConditionalForwarderInput struct { // The directory ID of the AWS directory for which you are creating the conditional // forwarder. + // + // DirectoryId is a required field DirectoryId *string `type:"string" required:"true"` // The IP addresses of the remote DNS server associated with RemoteDomainName. + // + // DnsIpAddrs is a required field DnsIpAddrs []*string `type:"list" required:"true"` // The fully qualified domain name (FQDN) of the remote domain with which you // will set up a trust relationship. + // + // RemoteDomainName is a required field RemoteDomainName *string `type:"string" required:"true"` } @@ -2317,17 +2349,23 @@ type CreateDirectoryInput struct { Description *string `type:"string"` // The fully qualified name for the directory, such as corp.example.com. + // + // Name is a required field Name *string `type:"string" required:"true"` // The password for the directory administrator. The directory creation process // creates a directory administrator account with the username Administrator // and this password. + // + // Password is a required field Password *string `type:"string" required:"true"` // The short name of the directory, such as CORP. ShortName *string `type:"string"` // The size of the directory. + // + // Size is a required field Size *string `type:"string" required:"true" enum:"DirectorySize"` // A DirectoryVpcSettings object that contains additional information for the @@ -2398,9 +2436,13 @@ type CreateMicrosoftADInput struct { // The fully qualified domain name for the directory, such as corp.example.com. // This name will resolve inside your VPC only. It does not need to be publicly // resolvable. + // + // Name is a required field Name *string `type:"string" required:"true"` // The password for the default administrative user named Admin. + // + // Password is a required field Password *string `type:"string" required:"true"` // The NetBIOS name for your domain. A short identifier for your domain, such @@ -2409,6 +2451,8 @@ type CreateMicrosoftADInput struct { ShortName *string `type:"string"` // Contains VPC information for the CreateDirectory or CreateMicrosoftAD operation. + // + // VpcSettings is a required field VpcSettings *DirectoryVpcSettings `type:"structure" required:"true"` } @@ -2469,6 +2513,8 @@ type CreateSnapshotInput struct { _ struct{} `type:"structure"` // The identifier of the directory of which to take a snapshot. + // + // DirectoryId is a required field DirectoryId *string `type:"string" required:"true"` // The descriptive name to apply to the snapshot. @@ -2532,17 +2578,25 @@ type CreateTrustInput struct { // The Directory ID of the Microsoft AD in the AWS cloud for which to establish // the trust relationship. + // + // DirectoryId is a required field DirectoryId *string `type:"string" required:"true"` // The Fully Qualified Domain Name (FQDN) of the external domain for which to // create the trust relationship. + // + // RemoteDomainName is a required field RemoteDomainName *string `type:"string" required:"true"` // The direction of the trust relationship. + // + // TrustDirection is a required field TrustDirection *string `type:"string" required:"true" enum:"TrustDirection"` // The trust password. The must be the same password that was used when creating // the trust relationship on the external domain. + // + // TrustPassword is a required field TrustPassword *string `min:"1" type:"string" required:"true"` // The trust relationship type. @@ -2607,10 +2661,14 @@ type DeleteConditionalForwarderInput struct { _ struct{} `type:"structure"` // The directory ID for which you are deleting the conditional forwarder. + // + // DirectoryId is a required field DirectoryId *string `type:"string" required:"true"` // The fully qualified domain name (FQDN) of the remote domain with which you // are deleting the conditional forwarder. + // + // RemoteDomainName is a required field RemoteDomainName *string `type:"string" required:"true"` } @@ -2660,6 +2718,8 @@ type DeleteDirectoryInput struct { _ struct{} `type:"structure"` // The identifier of the directory to delete. + // + // DirectoryId is a required field DirectoryId *string `type:"string" required:"true"` } @@ -2709,6 +2769,8 @@ type DeleteSnapshotInput struct { _ struct{} `type:"structure"` // The identifier of the directory snapshot to be deleted. + // + // SnapshotId is a required field SnapshotId *string `type:"string" required:"true"` } @@ -2762,6 +2824,8 @@ type DeleteTrustInput struct { DeleteAssociatedConditionalForwarder *bool `type:"boolean"` // The Trust ID of the trust relationship to be deleted. + // + // TrustId is a required field TrustId *string `type:"string" required:"true"` } @@ -2812,9 +2876,13 @@ type DeregisterEventTopicInput struct { // The Directory ID to remove as a publisher. This directory will no longer // send messages to the specified SNS topic. + // + // DirectoryId is a required field DirectoryId *string `type:"string" required:"true"` // The name of the SNS topic from which to remove the directory as a publisher. + // + // TopicName is a required field TopicName *string `min:"1" type:"string" required:"true"` } @@ -2867,6 +2935,8 @@ type DescribeConditionalForwardersInput struct { _ struct{} `type:"structure"` // The directory ID for which to get the list of associated conditional forwarders. + // + // DirectoryId is a required field DirectoryId *string `type:"string" required:"true"` // The fully qualified domain names (FQDN) of the remote domains for which to @@ -3145,6 +3215,8 @@ type DirectoryConnectSettings struct { // A list of one or more IP addresses of DNS servers or domain controllers in // the on-premises directory. + // + // CustomerDnsIps is a required field CustomerDnsIps []*string `type:"list" required:"true"` // The username of an account in the on-premises directory that is used to connect @@ -3155,12 +3227,18 @@ type DirectoryConnectSettings struct { // Create computer objects // // Join computers to the domain + // + // CustomerUserName is a required field CustomerUserName *string `min:"1" type:"string" required:"true"` // A list of subnet identifiers in the VPC in which the AD Connector is created. + // + // SubnetIds is a required field SubnetIds []*string `type:"list" required:"true"` // The identifier of the VPC in which the AD Connector is created. + // + // VpcId is a required field VpcId *string `type:"string" required:"true"` } @@ -3363,9 +3441,13 @@ type DirectoryVpcSettings struct { // The identifiers of the subnets for the directory servers. The two subnets // must be in different Availability Zones. AWS Directory Service creates a // directory server and a DNS server in each of these subnets. + // + // SubnetIds is a required field SubnetIds []*string `type:"list" required:"true"` // The identifier of the VPC in which to create the directory. + // + // VpcId is a required field VpcId *string `type:"string" required:"true"` } @@ -3430,6 +3512,8 @@ type DisableRadiusInput struct { _ struct{} `type:"structure"` // The identifier of the directory for which to disable MFA. + // + // DirectoryId is a required field DirectoryId *string `type:"string" required:"true"` } @@ -3476,6 +3560,8 @@ type DisableSsoInput struct { _ struct{} `type:"structure"` // The identifier of the directory for which to disable single-sign on. + // + // DirectoryId is a required field DirectoryId *string `type:"string" required:"true"` // The password of an alternate account to use to disable single-sign on. This @@ -3544,9 +3630,13 @@ type EnableRadiusInput struct { _ struct{} `type:"structure"` // The identifier of the directory for which to enable MFA. + // + // DirectoryId is a required field DirectoryId *string `type:"string" required:"true"` // A RadiusSettings object that contains information about the RADIUS server. + // + // RadiusSettings is a required field RadiusSettings *RadiusSettings `type:"structure" required:"true"` } @@ -3601,6 +3691,8 @@ type EnableSsoInput struct { _ struct{} `type:"structure"` // The identifier of the directory for which to enable single-sign on. + // + // DirectoryId is a required field DirectoryId *string `type:"string" required:"true"` // The password of an alternate account to use to enable single-sign on. This @@ -3734,6 +3826,8 @@ type GetSnapshotLimitsInput struct { _ struct{} `type:"structure"` // Contains the identifier of the directory to obtain the limits for. + // + // DirectoryId is a required field DirectoryId *string `type:"string" required:"true"` } @@ -3840,6 +3934,8 @@ type ListIpRoutesInput struct { _ struct{} `type:"structure"` // Identifier (ID) of the directory for which you want to retrieve the IP addresses. + // + // DirectoryId is a required field DirectoryId *string `type:"string" required:"true"` // Maximum number of items to return. If this value is zero, the maximum number @@ -3906,6 +4002,8 @@ type ListTagsForResourceInput struct { NextToken *string `type:"string"` // Identifier (ID) of the directory for which you want to retrieve tags. + // + // ResourceId is a required field ResourceId *string `type:"string" required:"true"` } @@ -4023,10 +4121,14 @@ type RegisterEventTopicInput struct { _ struct{} `type:"structure"` // The Directory ID that will publish status messages to the SNS topic. + // + // DirectoryId is a required field DirectoryId *string `type:"string" required:"true"` // The SNS topic name to which the directory will publish status messages. This // SNS topic must be in the same region as the specified Directory ID. + // + // TopicName is a required field TopicName *string `min:"1" type:"string" required:"true"` } @@ -4078,9 +4180,13 @@ type RemoveIpRoutesInput struct { _ struct{} `type:"structure"` // IP address blocks that you want to remove. + // + // CidrIps is a required field CidrIps []*string `type:"list" required:"true"` // Identifier (ID) of the directory from which you want to remove the IP addresses. + // + // DirectoryId is a required field DirectoryId *string `type:"string" required:"true"` } @@ -4128,9 +4234,13 @@ type RemoveTagsFromResourceInput struct { _ struct{} `type:"structure"` // Identifier (ID) of the directory from which to remove the tag. + // + // ResourceId is a required field ResourceId *string `type:"string" required:"true"` // The tag key (name) of the tag to be removed. + // + // TagKeys is a required field TagKeys []*string `type:"list" required:"true"` } @@ -4179,6 +4289,8 @@ type RestoreFromSnapshotInput struct { _ struct{} `type:"structure"` // The identifier of the snapshot to restore from. + // + // SnapshotId is a required field SnapshotId *string `type:"string" required:"true"` } @@ -4285,11 +4397,15 @@ type Tag struct { // Required name of the tag. The string value can be Unicode characters and // cannot be prefixed with "aws:". The string can contain only the set of Unicode // letters, digits, white-space, '_', '.', '/', '=', '+', '-' (Java regex: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-]*)$"). + // + // Key is a required field Key *string `min:"1" type:"string" required:"true"` // The optional value of the tag. The string value can be Unicode characters. // The string can contain only the set of Unicode letters, digits, white-space, // '_', '.', '/', '=', '+', '-' (Java regex: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-]*)$"). + // + // Value is a required field Value *string `type:"string" required:"true"` } @@ -4375,14 +4491,20 @@ type UpdateConditionalForwarderInput struct { // The directory ID of the AWS directory for which to update the conditional // forwarder. + // + // DirectoryId is a required field DirectoryId *string `type:"string" required:"true"` // The updated IP addresses of the remote DNS server associated with the conditional // forwarder. + // + // DnsIpAddrs is a required field DnsIpAddrs []*string `type:"list" required:"true"` // The fully qualified domain name (FQDN) of the remote domain with which you // will set up a trust relationship. + // + // RemoteDomainName is a required field RemoteDomainName *string `type:"string" required:"true"` } @@ -4435,9 +4557,13 @@ type UpdateRadiusInput struct { _ struct{} `type:"structure"` // The identifier of the directory for which to update the RADIUS server information. + // + // DirectoryId is a required field DirectoryId *string `type:"string" required:"true"` // A RadiusSettings object that contains information about the RADIUS server. + // + // RadiusSettings is a required field RadiusSettings *RadiusSettings `type:"structure" required:"true"` } @@ -4493,6 +4619,8 @@ type VerifyTrustInput struct { _ struct{} `type:"structure"` // The unique Trust ID of the trust relationship to verify. + // + // TrustId is a required field TrustId *string `type:"string" required:"true"` } @@ -4538,142 +4666,180 @@ func (s VerifyTrustOutput) GoString() string { } const ( - // @enum DirectorySize + // DirectorySizeSmall is a DirectorySize enum value DirectorySizeSmall = "Small" - // @enum DirectorySize + + // DirectorySizeLarge is a DirectorySize enum value DirectorySizeLarge = "Large" ) const ( - // @enum DirectoryStage + // DirectoryStageRequested is a DirectoryStage enum value DirectoryStageRequested = "Requested" - // @enum DirectoryStage + + // DirectoryStageCreating is a DirectoryStage enum value DirectoryStageCreating = "Creating" - // @enum DirectoryStage + + // DirectoryStageCreated is a DirectoryStage enum value DirectoryStageCreated = "Created" - // @enum DirectoryStage + + // DirectoryStageActive is a DirectoryStage enum value DirectoryStageActive = "Active" - // @enum DirectoryStage + + // DirectoryStageInoperable is a DirectoryStage enum value DirectoryStageInoperable = "Inoperable" - // @enum DirectoryStage + + // DirectoryStageImpaired is a DirectoryStage enum value DirectoryStageImpaired = "Impaired" - // @enum DirectoryStage + + // DirectoryStageRestoring is a DirectoryStage enum value DirectoryStageRestoring = "Restoring" - // @enum DirectoryStage + + // DirectoryStageRestoreFailed is a DirectoryStage enum value DirectoryStageRestoreFailed = "RestoreFailed" - // @enum DirectoryStage + + // DirectoryStageDeleting is a DirectoryStage enum value DirectoryStageDeleting = "Deleting" - // @enum DirectoryStage + + // DirectoryStageDeleted is a DirectoryStage enum value DirectoryStageDeleted = "Deleted" - // @enum DirectoryStage + + // DirectoryStageFailed is a DirectoryStage enum value DirectoryStageFailed = "Failed" ) const ( - // @enum DirectoryType + // DirectoryTypeSimpleAd is a DirectoryType enum value DirectoryTypeSimpleAd = "SimpleAD" - // @enum DirectoryType + + // DirectoryTypeAdconnector is a DirectoryType enum value DirectoryTypeAdconnector = "ADConnector" - // @enum DirectoryType + + // DirectoryTypeMicrosoftAd is a DirectoryType enum value DirectoryTypeMicrosoftAd = "MicrosoftAD" ) const ( - // @enum IpRouteStatusMsg + // IpRouteStatusMsgAdding is a IpRouteStatusMsg enum value IpRouteStatusMsgAdding = "Adding" - // @enum IpRouteStatusMsg + + // IpRouteStatusMsgAdded is a IpRouteStatusMsg enum value IpRouteStatusMsgAdded = "Added" - // @enum IpRouteStatusMsg + + // IpRouteStatusMsgRemoving is a IpRouteStatusMsg enum value IpRouteStatusMsgRemoving = "Removing" - // @enum IpRouteStatusMsg + + // IpRouteStatusMsgRemoved is a IpRouteStatusMsg enum value IpRouteStatusMsgRemoved = "Removed" - // @enum IpRouteStatusMsg + + // IpRouteStatusMsgAddFailed is a IpRouteStatusMsg enum value IpRouteStatusMsgAddFailed = "AddFailed" - // @enum IpRouteStatusMsg + + // IpRouteStatusMsgRemoveFailed is a IpRouteStatusMsg enum value IpRouteStatusMsgRemoveFailed = "RemoveFailed" ) const ( - // @enum RadiusAuthenticationProtocol + // RadiusAuthenticationProtocolPap is a RadiusAuthenticationProtocol enum value RadiusAuthenticationProtocolPap = "PAP" - // @enum RadiusAuthenticationProtocol + + // RadiusAuthenticationProtocolChap is a RadiusAuthenticationProtocol enum value RadiusAuthenticationProtocolChap = "CHAP" - // @enum RadiusAuthenticationProtocol + + // RadiusAuthenticationProtocolMsChapv1 is a RadiusAuthenticationProtocol enum value RadiusAuthenticationProtocolMsChapv1 = "MS-CHAPv1" - // @enum RadiusAuthenticationProtocol + + // RadiusAuthenticationProtocolMsChapv2 is a RadiusAuthenticationProtocol enum value RadiusAuthenticationProtocolMsChapv2 = "MS-CHAPv2" ) const ( - // @enum RadiusStatus + // RadiusStatusCreating is a RadiusStatus enum value RadiusStatusCreating = "Creating" - // @enum RadiusStatus + + // RadiusStatusCompleted is a RadiusStatus enum value RadiusStatusCompleted = "Completed" - // @enum RadiusStatus + + // RadiusStatusFailed is a RadiusStatus enum value RadiusStatusFailed = "Failed" ) const ( - // @enum ReplicationScope + // ReplicationScopeDomain is a ReplicationScope enum value ReplicationScopeDomain = "Domain" ) const ( - // @enum SnapshotStatus + // SnapshotStatusCreating is a SnapshotStatus enum value SnapshotStatusCreating = "Creating" - // @enum SnapshotStatus + + // SnapshotStatusCompleted is a SnapshotStatus enum value SnapshotStatusCompleted = "Completed" - // @enum SnapshotStatus + + // SnapshotStatusFailed is a SnapshotStatus enum value SnapshotStatusFailed = "Failed" ) const ( - // @enum SnapshotType + // SnapshotTypeAuto is a SnapshotType enum value SnapshotTypeAuto = "Auto" - // @enum SnapshotType + + // SnapshotTypeManual is a SnapshotType enum value SnapshotTypeManual = "Manual" ) const ( - // @enum TopicStatus + // TopicStatusRegistered is a TopicStatus enum value TopicStatusRegistered = "Registered" - // @enum TopicStatus + + // TopicStatusTopicnotfound is a TopicStatus enum value TopicStatusTopicnotfound = "Topic not found" - // @enum TopicStatus + + // TopicStatusFailed is a TopicStatus enum value TopicStatusFailed = "Failed" - // @enum TopicStatus + + // TopicStatusDeleted is a TopicStatus enum value TopicStatusDeleted = "Deleted" ) const ( - // @enum TrustDirection + // TrustDirectionOneWayOutgoing is a TrustDirection enum value TrustDirectionOneWayOutgoing = "One-Way: Outgoing" - // @enum TrustDirection + + // TrustDirectionOneWayIncoming is a TrustDirection enum value TrustDirectionOneWayIncoming = "One-Way: Incoming" - // @enum TrustDirection + + // TrustDirectionTwoWay is a TrustDirection enum value TrustDirectionTwoWay = "Two-Way" ) const ( - // @enum TrustState + // TrustStateCreating is a TrustState enum value TrustStateCreating = "Creating" - // @enum TrustState + + // TrustStateCreated is a TrustState enum value TrustStateCreated = "Created" - // @enum TrustState + + // TrustStateVerifying is a TrustState enum value TrustStateVerifying = "Verifying" - // @enum TrustState + + // TrustStateVerifyFailed is a TrustState enum value TrustStateVerifyFailed = "VerifyFailed" - // @enum TrustState + + // TrustStateVerified is a TrustState enum value TrustStateVerified = "Verified" - // @enum TrustState + + // TrustStateDeleting is a TrustState enum value TrustStateDeleting = "Deleting" - // @enum TrustState + + // TrustStateDeleted is a TrustState enum value TrustStateDeleted = "Deleted" - // @enum TrustState + + // TrustStateFailed is a TrustState enum value TrustStateFailed = "Failed" ) const ( - // @enum TrustType + // TrustTypeForest is a TrustType enum value TrustTypeForest = "Forest" ) diff --git a/service/dynamodb/api.go b/service/dynamodb/api.go index 3e9d97cbc6f..5cee63019b8 100644 --- a/service/dynamodb/api.go +++ b/service/dynamodb/api.go @@ -1140,6 +1140,8 @@ type AttributeDefinition struct { _ struct{} `type:"structure"` // A name for the attribute. + // + // AttributeName is a required field AttributeName *string `min:"1" type:"string" required:"true"` // The data type for the attribute, where: @@ -1149,6 +1151,8 @@ type AttributeDefinition struct { // N - the attribute is of type Number // // B - the attribute is of type Binary + // + // AttributeType is a required field AttributeType *string `type:"string" required:"true" enum:"ScalarAttributeType"` } @@ -1415,6 +1419,8 @@ type BatchGetItemInput struct { // Note that AttributesToGet has no effect on provisioned throughput consumption. // DynamoDB determines capacity units consumed based on item size, not on the // amount of data that is returned to an application. + // + // RequestItems is a required field RequestItems map[string]*KeysAndAttributes `min:"1" type:"map" required:"true"` // Determines the level of detail about provisioned throughput consumption that @@ -1552,6 +1558,8 @@ type BatchWriteItemInput struct { // If you specify any attributes that are part of an index key, then the data // types for those attributes must match those of the schema in the table's // attribute definition. + // + // RequestItems is a required field RequestItems map[string][]*WriteRequest `min:"1" type:"map" required:"true"` // Determines the level of detail about provisioned throughput consumption that @@ -1860,6 +1868,8 @@ type Condition struct { // For usage examples of AttributeValueList and ComparisonOperator, see Legacy // Conditional Parameters (http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.html) // in the Amazon DynamoDB Developer Guide. + // + // ComparisonOperator is a required field ComparisonOperator *string `type:"string" required:"true" enum:"ComparisonOperator"` } @@ -1926,14 +1936,20 @@ type CreateGlobalSecondaryIndexAction struct { _ struct{} `type:"structure"` // The name of the global secondary index to be created. + // + // IndexName is a required field IndexName *string `min:"3" type:"string" required:"true"` // The key schema for the global secondary index. + // + // KeySchema is a required field KeySchema []*KeySchemaElement `min:"1" type:"list" required:"true"` // Represents attributes that are copied (projected) from the table into an // index. These are in addition to the primary key attributes and index key // attributes, which are automatically projected. + // + // Projection is a required field Projection *Projection `type:"structure" required:"true"` // Represents the provisioned throughput settings for a specified table or index. @@ -1942,6 +1958,8 @@ type CreateGlobalSecondaryIndexAction struct { // For current minimum and maximum provisioned throughput values, see Limits // (http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html) // in the Amazon DynamoDB Developer Guide. + // + // ProvisionedThroughput is a required field ProvisionedThroughput *ProvisionedThroughput `type:"structure" required:"true"` } @@ -2008,6 +2026,8 @@ type CreateTableInput struct { _ struct{} `type:"structure"` // An array of attributes that describe the key schema for the table and indexes. + // + // AttributeDefinitions is a required field AttributeDefinitions []*AttributeDefinition `type:"list" required:"true"` // One or more global secondary indexes (the maximum is five) to be created @@ -2075,6 +2095,8 @@ type CreateTableInput struct { // // For more information, see Specifying the Primary Key (http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithTables.html#WorkingWithTables.primary.key) // in the Amazon DynamoDB Developer Guide. + // + // KeySchema is a required field KeySchema []*KeySchemaElement `min:"1" type:"list" required:"true"` // One or more local secondary indexes (the maximum is five) to be created on @@ -2117,6 +2139,8 @@ type CreateTableInput struct { // For current minimum and maximum provisioned throughput values, see Limits // (http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html) // in the Amazon DynamoDB Developer Guide. + // + // ProvisionedThroughput is a required field ProvisionedThroughput *ProvisionedThroughput `type:"structure" required:"true"` // The settings for DynamoDB Streams on the table. These settings consist of: @@ -2142,6 +2166,8 @@ type CreateTableInput struct { StreamSpecification *StreamSpecification `type:"structure"` // The name of the table to create. + // + // TableName is a required field TableName *string `min:"3" type:"string" required:"true"` } @@ -2251,6 +2277,8 @@ type DeleteGlobalSecondaryIndexAction struct { _ struct{} `type:"structure"` // The name of the global secondary index to be deleted. + // + // IndexName is a required field IndexName *string `min:"3" type:"string" required:"true"` } @@ -2588,6 +2616,8 @@ type DeleteItemInput struct { // with a simple primary key, you only need to provide a value for the partition // key. For a composite primary key, you must provide values for both the partition // key and the sort key. + // + // Key is a required field Key map[string]*AttributeValue `type:"map" required:"true"` // Determines the level of detail about provisioned throughput consumption that @@ -2626,6 +2656,8 @@ type DeleteItemInput struct { ReturnValues *string `type:"string" enum:"ReturnValue"` // The name of the table from which to delete the item. + // + // TableName is a required field TableName *string `min:"3" type:"string" required:"true"` } @@ -2714,6 +2746,8 @@ type DeleteRequest struct { // A map of attribute name to attribute values, representing the primary key // of the item to delete. All of the table's primary key attributes must be // specified, and their data types must match those of the table's key schema. + // + // Key is a required field Key map[string]*AttributeValue `type:"map" required:"true"` } @@ -2732,6 +2766,8 @@ type DeleteTableInput struct { _ struct{} `type:"structure"` // The name of the table to delete. + // + // TableName is a required field TableName *string `min:"3" type:"string" required:"true"` } @@ -2832,6 +2868,8 @@ type DescribeTableInput struct { _ struct{} `type:"structure"` // The name of the table to describe. + // + // TableName is a required field TableName *string `min:"3" type:"string" required:"true"` } @@ -3161,6 +3199,8 @@ type GetItemInput struct { // with a simple primary key, you only need to provide a value for the partition // key. For a composite primary key, you must provide values for both the partition // key and the sort key. + // + // Key is a required field Key map[string]*AttributeValue `type:"map" required:"true"` // A string that identifies one or more attributes to retrieve from the table. @@ -3195,6 +3235,8 @@ type GetItemInput struct { ReturnConsumedCapacity *string `type:"string" enum:"ReturnConsumedCapacity"` // The name of the table containing the requested item. + // + // TableName is a required field TableName *string `min:"3" type:"string" required:"true"` } @@ -3262,6 +3304,8 @@ type GlobalSecondaryIndex struct { // The name of the global secondary index. The name must be unique among all // other indexes on this table. + // + // IndexName is a required field IndexName *string `min:"3" type:"string" required:"true"` // The complete key schema for a global secondary index, which consists of one @@ -3279,11 +3323,15 @@ type GlobalSecondaryIndex struct { // The sort key of an item is also known as its range attribute. The term "range // attribute" derives from the way DynamoDB stores items with the same partition // key physically close together, in sorted order by the sort key value. + // + // KeySchema is a required field KeySchema []*KeySchemaElement `min:"1" type:"list" required:"true"` // Represents attributes that are copied (projected) from the table into an // index. These are in addition to the primary key attributes and index key // attributes, which are automatically projected. + // + // Projection is a required field Projection *Projection `type:"structure" required:"true"` // Represents the provisioned throughput settings for a specified table or index. @@ -3292,6 +3340,8 @@ type GlobalSecondaryIndex struct { // For current minimum and maximum provisioned throughput values, see Limits // (http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html) // in the Amazon DynamoDB Developer Guide. + // + // ProvisionedThroughput is a required field ProvisionedThroughput *ProvisionedThroughput `type:"structure" required:"true"` } @@ -3547,6 +3597,8 @@ type KeySchemaElement struct { _ struct{} `type:"structure"` // The name of a key attribute. + // + // AttributeName is a required field AttributeName *string `min:"1" type:"string" required:"true"` // The role that this key attribute will assume: @@ -3563,6 +3615,8 @@ type KeySchemaElement struct { // The sort key of an item is also known as its range attribute. The term "range // attribute" derives from the way DynamoDB stores items with the same partition // key physically close together, in sorted order by the sort key value. + // + // KeyType is a required field KeyType *string `type:"string" required:"true" enum:"KeyType"` } @@ -3652,6 +3706,8 @@ type KeysAndAttributes struct { // The primary key attribute values that define the items and the attributes // associated with the items. + // + // Keys is a required field Keys []map[string]*AttributeValue `min:"1" type:"list" required:"true"` // A string that identifies one or more attributes to retrieve from the table. @@ -3775,6 +3831,8 @@ type LocalSecondaryIndex struct { // The name of the local secondary index. The name must be unique among all // other indexes on this table. + // + // IndexName is a required field IndexName *string `min:"3" type:"string" required:"true"` // The complete key schema for the local secondary index, consisting of one @@ -3792,11 +3850,15 @@ type LocalSecondaryIndex struct { // The sort key of an item is also known as its range attribute. The term "range // attribute" derives from the way DynamoDB stores items with the same partition // key physically close together, in sorted order by the sort key value. + // + // KeySchema is a required field KeySchema []*KeySchemaElement `min:"1" type:"list" required:"true"` // Represents attributes that are copied (projected) from the table into an // index. These are in addition to the primary key attributes and index key // attributes, which are automatically projected. + // + // Projection is a required field Projection *Projection `type:"structure" required:"true"` } @@ -3963,12 +4025,16 @@ type ProvisionedThroughput struct { // DynamoDB returns a ThrottlingException. For more information, see Specifying // Read and Write Requirements (http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithTables.html#ProvisionedThroughput) // in the Amazon DynamoDB Developer Guide. + // + // ReadCapacityUnits is a required field ReadCapacityUnits *int64 `min:"1" type:"long" required:"true"` // The maximum number of writes consumed per second before DynamoDB returns // a ThrottlingException. For more information, see Specifying Read and Write // Requirements (http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithTables.html#ProvisionedThroughput) // in the Amazon DynamoDB Developer Guide. + // + // WriteCapacityUnits is a required field WriteCapacityUnits *int64 `min:"1" type:"long" required:"true"` } @@ -4360,6 +4426,8 @@ type PutItemInput struct { // in the Amazon DynamoDB Developer Guide. // // Each element in the Item map is an AttributeValue object. + // + // Item is a required field Item map[string]*AttributeValue `type:"map" required:"true"` // Determines the level of detail about provisioned throughput consumption that @@ -4400,6 +4468,8 @@ type PutItemInput struct { ReturnValues *string `type:"string" enum:"ReturnValue"` // The name of the table to contain the item. + // + // TableName is a required field TableName *string `min:"3" type:"string" required:"true"` } @@ -4490,6 +4560,8 @@ type PutRequest struct { // must be specified, and their data types must match those of the table's key // schema. If any attributes are present in the item which are part of an index // key schema for the table, their types must match the index key schema. + // + // Item is a required field Item map[string]*AttributeValue `type:"map" required:"true"` } @@ -4988,6 +5060,8 @@ type QueryInput struct { Select *string `type:"string" enum:"Select"` // The name of the table containing the requested items. + // + // TableName is a required field TableName *string `min:"3" type:"string" required:"true"` } @@ -5383,6 +5457,8 @@ type ScanInput struct { // The name of the table containing the requested items; or, if you provide // IndexName, the name of the table to which that index belongs. + // + // TableName is a required field TableName *string `min:"3" type:"string" required:"true"` // For a parallel Scan request, TotalSegments represents the total number of @@ -5759,6 +5835,8 @@ type UpdateGlobalSecondaryIndexAction struct { _ struct{} `type:"structure"` // The name of the global secondary index to be updated. + // + // IndexName is a required field IndexName *string `min:"3" type:"string" required:"true"` // Represents the provisioned throughput settings for a specified table or index. @@ -5767,6 +5845,8 @@ type UpdateGlobalSecondaryIndexAction struct { // For current minimum and maximum provisioned throughput values, see Limits // (http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html) // in the Amazon DynamoDB Developer Guide. + // + // ProvisionedThroughput is a required field ProvisionedThroughput *ProvisionedThroughput `type:"structure" required:"true"` } @@ -6201,6 +6281,8 @@ type UpdateItemInput struct { // with a simple primary key, you only need to provide a value for the partition // key. For a composite primary key, you must provide values for both the partition // key and the sort key. + // + // Key is a required field Key map[string]*AttributeValue `type:"map" required:"true"` // Determines the level of detail about provisioned throughput consumption that @@ -6250,6 +6332,8 @@ type UpdateItemInput struct { ReturnValues *string `type:"string" enum:"ReturnValue"` // The name of the table containing the item to update. + // + // TableName is a required field TableName *string `min:"3" type:"string" required:"true"` // An expression that defines one or more attributes to be updated, the action @@ -6431,6 +6515,8 @@ type UpdateTableInput struct { StreamSpecification *StreamSpecification `type:"structure"` // The name of the table to be updated. + // + // TableName is a required field TableName *string `min:"3" type:"string" required:"true"` } @@ -6528,74 +6614,95 @@ func (s WriteRequest) GoString() string { } const ( - // @enum AttributeAction + // AttributeActionAdd is a AttributeAction enum value AttributeActionAdd = "ADD" - // @enum AttributeAction + + // AttributeActionPut is a AttributeAction enum value AttributeActionPut = "PUT" - // @enum AttributeAction + + // AttributeActionDelete is a AttributeAction enum value AttributeActionDelete = "DELETE" ) const ( - // @enum ComparisonOperator + // ComparisonOperatorEq is a ComparisonOperator enum value ComparisonOperatorEq = "EQ" - // @enum ComparisonOperator + + // ComparisonOperatorNe is a ComparisonOperator enum value ComparisonOperatorNe = "NE" - // @enum ComparisonOperator + + // ComparisonOperatorIn is a ComparisonOperator enum value ComparisonOperatorIn = "IN" - // @enum ComparisonOperator + + // ComparisonOperatorLe is a ComparisonOperator enum value ComparisonOperatorLe = "LE" - // @enum ComparisonOperator + + // ComparisonOperatorLt is a ComparisonOperator enum value ComparisonOperatorLt = "LT" - // @enum ComparisonOperator + + // ComparisonOperatorGe is a ComparisonOperator enum value ComparisonOperatorGe = "GE" - // @enum ComparisonOperator + + // ComparisonOperatorGt is a ComparisonOperator enum value ComparisonOperatorGt = "GT" - // @enum ComparisonOperator + + // ComparisonOperatorBetween is a ComparisonOperator enum value ComparisonOperatorBetween = "BETWEEN" - // @enum ComparisonOperator + + // ComparisonOperatorNotNull is a ComparisonOperator enum value ComparisonOperatorNotNull = "NOT_NULL" - // @enum ComparisonOperator + + // ComparisonOperatorNull is a ComparisonOperator enum value ComparisonOperatorNull = "NULL" - // @enum ComparisonOperator + + // ComparisonOperatorContains is a ComparisonOperator enum value ComparisonOperatorContains = "CONTAINS" - // @enum ComparisonOperator + + // ComparisonOperatorNotContains is a ComparisonOperator enum value ComparisonOperatorNotContains = "NOT_CONTAINS" - // @enum ComparisonOperator + + // ComparisonOperatorBeginsWith is a ComparisonOperator enum value ComparisonOperatorBeginsWith = "BEGINS_WITH" ) const ( - // @enum ConditionalOperator + // ConditionalOperatorAnd is a ConditionalOperator enum value ConditionalOperatorAnd = "AND" - // @enum ConditionalOperator + + // ConditionalOperatorOr is a ConditionalOperator enum value ConditionalOperatorOr = "OR" ) const ( - // @enum IndexStatus + // IndexStatusCreating is a IndexStatus enum value IndexStatusCreating = "CREATING" - // @enum IndexStatus + + // IndexStatusUpdating is a IndexStatus enum value IndexStatusUpdating = "UPDATING" - // @enum IndexStatus + + // IndexStatusDeleting is a IndexStatus enum value IndexStatusDeleting = "DELETING" - // @enum IndexStatus + + // IndexStatusActive is a IndexStatus enum value IndexStatusActive = "ACTIVE" ) const ( - // @enum KeyType + // KeyTypeHash is a KeyType enum value KeyTypeHash = "HASH" - // @enum KeyType + + // KeyTypeRange is a KeyType enum value KeyTypeRange = "RANGE" ) const ( - // @enum ProjectionType + // ProjectionTypeAll is a ProjectionType enum value ProjectionTypeAll = "ALL" - // @enum ProjectionType + + // ProjectionTypeKeysOnly is a ProjectionType enum value ProjectionTypeKeysOnly = "KEYS_ONLY" - // @enum ProjectionType + + // ProjectionTypeInclude is a ProjectionType enum value ProjectionTypeInclude = "INCLUDE" ) @@ -6615,72 +6722,90 @@ const ( // // NONE - No ConsumedCapacity details are included in the response. const ( - // @enum ReturnConsumedCapacity + // ReturnConsumedCapacityIndexes is a ReturnConsumedCapacity enum value ReturnConsumedCapacityIndexes = "INDEXES" - // @enum ReturnConsumedCapacity + + // ReturnConsumedCapacityTotal is a ReturnConsumedCapacity enum value ReturnConsumedCapacityTotal = "TOTAL" - // @enum ReturnConsumedCapacity + + // ReturnConsumedCapacityNone is a ReturnConsumedCapacity enum value ReturnConsumedCapacityNone = "NONE" ) const ( - // @enum ReturnItemCollectionMetrics + // ReturnItemCollectionMetricsSize is a ReturnItemCollectionMetrics enum value ReturnItemCollectionMetricsSize = "SIZE" - // @enum ReturnItemCollectionMetrics + + // ReturnItemCollectionMetricsNone is a ReturnItemCollectionMetrics enum value ReturnItemCollectionMetricsNone = "NONE" ) const ( - // @enum ReturnValue + // ReturnValueNone is a ReturnValue enum value ReturnValueNone = "NONE" - // @enum ReturnValue + + // ReturnValueAllOld is a ReturnValue enum value ReturnValueAllOld = "ALL_OLD" - // @enum ReturnValue + + // ReturnValueUpdatedOld is a ReturnValue enum value ReturnValueUpdatedOld = "UPDATED_OLD" - // @enum ReturnValue + + // ReturnValueAllNew is a ReturnValue enum value ReturnValueAllNew = "ALL_NEW" - // @enum ReturnValue + + // ReturnValueUpdatedNew is a ReturnValue enum value ReturnValueUpdatedNew = "UPDATED_NEW" ) const ( - // @enum ScalarAttributeType + // ScalarAttributeTypeS is a ScalarAttributeType enum value ScalarAttributeTypeS = "S" - // @enum ScalarAttributeType + + // ScalarAttributeTypeN is a ScalarAttributeType enum value ScalarAttributeTypeN = "N" - // @enum ScalarAttributeType + + // ScalarAttributeTypeB is a ScalarAttributeType enum value ScalarAttributeTypeB = "B" ) const ( - // @enum Select + // SelectAllAttributes is a Select enum value SelectAllAttributes = "ALL_ATTRIBUTES" - // @enum Select + + // SelectAllProjectedAttributes is a Select enum value SelectAllProjectedAttributes = "ALL_PROJECTED_ATTRIBUTES" - // @enum Select + + // SelectSpecificAttributes is a Select enum value SelectSpecificAttributes = "SPECIFIC_ATTRIBUTES" - // @enum Select + + // SelectCount is a Select enum value SelectCount = "COUNT" ) const ( - // @enum StreamViewType + // StreamViewTypeNewImage is a StreamViewType enum value StreamViewTypeNewImage = "NEW_IMAGE" - // @enum StreamViewType + + // StreamViewTypeOldImage is a StreamViewType enum value StreamViewTypeOldImage = "OLD_IMAGE" - // @enum StreamViewType + + // StreamViewTypeNewAndOldImages is a StreamViewType enum value StreamViewTypeNewAndOldImages = "NEW_AND_OLD_IMAGES" - // @enum StreamViewType + + // StreamViewTypeKeysOnly is a StreamViewType enum value StreamViewTypeKeysOnly = "KEYS_ONLY" ) const ( - // @enum TableStatus + // TableStatusCreating is a TableStatus enum value TableStatusCreating = "CREATING" - // @enum TableStatus + + // TableStatusUpdating is a TableStatus enum value TableStatusUpdating = "UPDATING" - // @enum TableStatus + + // TableStatusDeleting is a TableStatus enum value TableStatusDeleting = "DELETING" - // @enum TableStatus + + // TableStatusActive is a TableStatus enum value TableStatusActive = "ACTIVE" ) diff --git a/service/dynamodb/waiters.go b/service/dynamodb/waiters.go index 4deeed7a545..57e1264b710 100644 --- a/service/dynamodb/waiters.go +++ b/service/dynamodb/waiters.go @@ -6,6 +6,10 @@ import ( "github.com/aws/aws-sdk-go/private/waiter" ) +// WaitUntilTableExists uses the DynamoDB API operation +// DescribeTable to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *DynamoDB) WaitUntilTableExists(input *DescribeTableInput) error { waiterCfg := waiter.Config{ Operation: "DescribeTable", @@ -35,6 +39,10 @@ func (c *DynamoDB) WaitUntilTableExists(input *DescribeTableInput) error { return w.Wait() } +// WaitUntilTableNotExists uses the DynamoDB API operation +// DescribeTable to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *DynamoDB) WaitUntilTableNotExists(input *DescribeTableInput) error { waiterCfg := waiter.Config{ Operation: "DescribeTable", diff --git a/service/dynamodbstreams/api.go b/service/dynamodbstreams/api.go index 3219905d53a..b66d7eb4736 100644 --- a/service/dynamodbstreams/api.go +++ b/service/dynamodbstreams/api.go @@ -243,6 +243,8 @@ type DescribeStreamInput struct { Limit *int64 `min:"1" type:"integer"` // The Amazon Resource Name (ARN) for the stream. + // + // StreamArn is a required field StreamArn *string `min:"37" type:"string" required:"true"` } @@ -309,6 +311,8 @@ type GetRecordsInput struct { // A shard iterator that was retrieved from a previous GetShardIterator operation. // This iterator can be used to access the stream records in this shard. + // + // ShardIterator is a required field ShardIterator *string `min:"1" type:"string" required:"true"` } @@ -373,6 +377,8 @@ type GetShardIteratorInput struct { // The identifier of the shard. The iterator will be returned for this shard // ID. + // + // ShardId is a required field ShardId *string `min:"28" type:"string" required:"true"` // Determines how the shard iterator is used to start reading stream records @@ -391,9 +397,13 @@ type GetShardIteratorInput struct { // // LATEST - Start reading just after the most recent stream record in the // shard, so that you always read the most recent data in the shard. + // + // ShardIteratorType is a required field ShardIteratorType *string `type:"string" required:"true" enum:"ShardIteratorType"` // The Amazon Resource Name (ARN) for the stream. + // + // StreamArn is a required field StreamArn *string `min:"37" type:"string" required:"true"` } @@ -789,50 +799,62 @@ func (s StreamRecord) GoString() string { } const ( - // @enum KeyType + // KeyTypeHash is a KeyType enum value KeyTypeHash = "HASH" - // @enum KeyType + + // KeyTypeRange is a KeyType enum value KeyTypeRange = "RANGE" ) const ( - // @enum OperationType + // OperationTypeInsert is a OperationType enum value OperationTypeInsert = "INSERT" - // @enum OperationType + + // OperationTypeModify is a OperationType enum value OperationTypeModify = "MODIFY" - // @enum OperationType + + // OperationTypeRemove is a OperationType enum value OperationTypeRemove = "REMOVE" ) const ( - // @enum ShardIteratorType + // ShardIteratorTypeTrimHorizon is a ShardIteratorType enum value ShardIteratorTypeTrimHorizon = "TRIM_HORIZON" - // @enum ShardIteratorType + + // ShardIteratorTypeLatest is a ShardIteratorType enum value ShardIteratorTypeLatest = "LATEST" - // @enum ShardIteratorType + + // ShardIteratorTypeAtSequenceNumber is a ShardIteratorType enum value ShardIteratorTypeAtSequenceNumber = "AT_SEQUENCE_NUMBER" - // @enum ShardIteratorType + + // ShardIteratorTypeAfterSequenceNumber is a ShardIteratorType enum value ShardIteratorTypeAfterSequenceNumber = "AFTER_SEQUENCE_NUMBER" ) const ( - // @enum StreamStatus + // StreamStatusEnabling is a StreamStatus enum value StreamStatusEnabling = "ENABLING" - // @enum StreamStatus + + // StreamStatusEnabled is a StreamStatus enum value StreamStatusEnabled = "ENABLED" - // @enum StreamStatus + + // StreamStatusDisabling is a StreamStatus enum value StreamStatusDisabling = "DISABLING" - // @enum StreamStatus + + // StreamStatusDisabled is a StreamStatus enum value StreamStatusDisabled = "DISABLED" ) const ( - // @enum StreamViewType + // StreamViewTypeNewImage is a StreamViewType enum value StreamViewTypeNewImage = "NEW_IMAGE" - // @enum StreamViewType + + // StreamViewTypeOldImage is a StreamViewType enum value StreamViewTypeOldImage = "OLD_IMAGE" - // @enum StreamViewType + + // StreamViewTypeNewAndOldImages is a StreamViewType enum value StreamViewTypeNewAndOldImages = "NEW_AND_OLD_IMAGES" - // @enum StreamViewType + + // StreamViewTypeKeysOnly is a StreamViewType enum value StreamViewTypeKeysOnly = "KEYS_ONLY" ) diff --git a/service/ec2/api.go b/service/ec2/api.go index 43d88fcadfc..11df08c249e 100644 --- a/service/ec2/api.go +++ b/service/ec2/api.go @@ -12184,6 +12184,8 @@ type AcceptReservedInstancesExchangeQuoteInput struct { // The IDs of the Convertible Reserved Instances that you want to exchange for // other Convertible Reserved Instances of the same or higher value. + // + // ReservedInstanceIds is a required field ReservedInstanceIds []*string `locationName:"ReservedInstanceId" locationNameList:"ReservedInstanceId" type:"list" required:"true"` // The configurations of the Convertible Reserved Instance offerings you are @@ -12452,6 +12454,8 @@ type AllocateHostsInput struct { AutoPlacement *string `locationName:"autoPlacement" type:"string" enum:"AutoPlacement"` // The Availability Zone for the Dedicated Hosts. + // + // AvailabilityZone is a required field AvailabilityZone *string `locationName:"availabilityZone" type:"string" required:"true"` // Unique, case-sensitive identifier you provide to ensure idempotency of the @@ -12462,10 +12466,14 @@ type AllocateHostsInput struct { // Specify the instance type that you want your Dedicated Hosts to be configured // for. When you specify the instance type, that is the only instance type that // you can launch onto that host. + // + // InstanceType is a required field InstanceType *string `locationName:"instanceType" type:"string" required:"true"` // The number of Dedicated Hosts you want to allocate to your account with these // parameters. + // + // Quantity is a required field Quantity *int64 `locationName:"quantity" type:"integer" required:"true"` } @@ -12526,6 +12534,8 @@ type AssignPrivateIpAddressesInput struct { AllowReassignment *bool `locationName:"allowReassignment" type:"boolean"` // The ID of the network interface. + // + // NetworkInterfaceId is a required field NetworkInterfaceId *string `locationName:"networkInterfaceId" type:"string" required:"true"` // One or more IP addresses to be assigned as a secondary private IP address @@ -12653,6 +12663,8 @@ type AssociateDhcpOptionsInput struct { // The ID of the DHCP options set, or default to associate no DHCP options with // the VPC. + // + // DhcpOptionsId is a required field DhcpOptionsId *string `type:"string" required:"true"` // Checks whether you have the required permissions for the action, without @@ -12662,6 +12674,8 @@ type AssociateDhcpOptionsInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // The ID of the VPC. + // + // VpcId is a required field VpcId *string `type:"string" required:"true"` } @@ -12716,9 +12730,13 @@ type AssociateRouteTableInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // The ID of the route table. + // + // RouteTableId is a required field RouteTableId *string `locationName:"routeTableId" type:"string" required:"true"` // The ID of the subnet. + // + // SubnetId is a required field SubnetId *string `locationName:"subnetId" type:"string" required:"true"` } @@ -12778,12 +12796,18 @@ type AttachClassicLinkVpcInput struct { // The ID of one or more of the VPC's security groups. You cannot specify security // groups from a different VPC. + // + // Groups is a required field Groups []*string `locationName:"SecurityGroupId" locationNameList:"groupId" type:"list" required:"true"` // The ID of an EC2-Classic instance to link to the ClassicLink-enabled VPC. + // + // InstanceId is a required field InstanceId *string `locationName:"instanceId" type:"string" required:"true"` // The ID of a ClassicLink-enabled VPC. + // + // VpcId is a required field VpcId *string `locationName:"vpcId" type:"string" required:"true"` } @@ -12845,9 +12869,13 @@ type AttachInternetGatewayInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // The ID of the Internet gateway. + // + // InternetGatewayId is a required field InternetGatewayId *string `locationName:"internetGatewayId" type:"string" required:"true"` // The ID of the VPC. + // + // VpcId is a required field VpcId *string `locationName:"vpcId" type:"string" required:"true"` } @@ -12896,6 +12924,8 @@ type AttachNetworkInterfaceInput struct { _ struct{} `type:"structure"` // The index of the device for the network interface attachment. + // + // DeviceIndex is a required field DeviceIndex *int64 `locationName:"deviceIndex" type:"integer" required:"true"` // Checks whether you have the required permissions for the action, without @@ -12905,9 +12935,13 @@ type AttachNetworkInterfaceInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // The ID of the instance. + // + // InstanceId is a required field InstanceId *string `locationName:"instanceId" type:"string" required:"true"` // The ID of the network interface. + // + // NetworkInterfaceId is a required field NetworkInterfaceId *string `locationName:"networkInterfaceId" type:"string" required:"true"` } @@ -12963,6 +12997,8 @@ type AttachVolumeInput struct { _ struct{} `type:"structure"` // The device name to expose to the instance (for example, /dev/sdh or xvdh). + // + // Device is a required field Device *string `type:"string" required:"true"` // Checks whether you have the required permissions for the action, without @@ -12972,10 +13008,14 @@ type AttachVolumeInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // The ID of the instance. + // + // InstanceId is a required field InstanceId *string `type:"string" required:"true"` // The ID of the EBS volume. The volume and instance must be within the same // Availability Zone. + // + // VolumeId is a required field VolumeId *string `type:"string" required:"true"` } @@ -13019,9 +13059,13 @@ type AttachVpnGatewayInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // The ID of the VPC. + // + // VpcId is a required field VpcId *string `type:"string" required:"true"` // The ID of the virtual private gateway. + // + // VpnGatewayId is a required field VpnGatewayId *string `type:"string" required:"true"` } @@ -13124,6 +13168,8 @@ type AuthorizeSecurityGroupEgressInput struct { FromPort *int64 `locationName:"fromPort" type:"integer"` // The ID of the security group. + // + // GroupId is a required field GroupId *string `locationName:"groupId" type:"string" required:"true"` // A set of IP permissions. You can't specify a destination security group and @@ -13403,11 +13449,15 @@ type BundleInstanceInput struct { // Default: None // // Required: Yes + // + // InstanceId is a required field InstanceId *string `type:"string" required:"true"` // The bucket in which to store the AMI. You can specify a bucket that you already // own or a new bucket that Amazon EC2 creates on your behalf. If you specify // a bucket that belongs to someone else, Amazon EC2 returns an error. + // + // Storage is a required field Storage *Storage `type:"structure" required:"true"` } @@ -13520,6 +13570,8 @@ type CancelBundleTaskInput struct { _ struct{} `type:"structure"` // The ID of the bundle task. + // + // BundleId is a required field BundleId *string `type:"string" required:"true"` // Checks whether you have the required permissions for the action, without @@ -13575,6 +13627,8 @@ type CancelConversionTaskInput struct { _ struct{} `type:"structure"` // The ID of the conversion task. + // + // ConversionTaskId is a required field ConversionTaskId *string `locationName:"conversionTaskId" type:"string" required:"true"` // Checks whether you have the required permissions for the action, without @@ -13629,6 +13683,8 @@ type CancelExportTaskInput struct { _ struct{} `type:"structure"` // The ID of the export task. This is the ID returned by CreateInstanceExportTask. + // + // ExportTaskId is a required field ExportTaskId *string `locationName:"exportTaskId" type:"string" required:"true"` } @@ -13725,6 +13781,8 @@ type CancelReservedInstancesListingInput struct { _ struct{} `type:"structure"` // The ID of the Reserved Instance listing. + // + // ReservedInstancesListingId is a required field ReservedInstancesListingId *string `locationName:"reservedInstancesListingId" type:"string" required:"true"` } @@ -13774,9 +13832,13 @@ type CancelSpotFleetRequestsError struct { _ struct{} `type:"structure"` // The error code. + // + // Code is a required field Code *string `locationName:"code" type:"string" required:"true" enum:"CancelBatchErrorCode"` // The description for the error code. + // + // Message is a required field Message *string `locationName:"message" type:"string" required:"true"` } @@ -13795,9 +13857,13 @@ type CancelSpotFleetRequestsErrorItem struct { _ struct{} `type:"structure"` // The error. + // + // Error is a required field Error *CancelSpotFleetRequestsError `locationName:"error" type:"structure" required:"true"` // The ID of the Spot fleet request. + // + // SpotFleetRequestId is a required field SpotFleetRequestId *string `locationName:"spotFleetRequestId" type:"string" required:"true"` } @@ -13822,10 +13888,14 @@ type CancelSpotFleetRequestsInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // The IDs of the Spot fleet requests. + // + // SpotFleetRequestIds is a required field SpotFleetRequestIds []*string `locationName:"spotFleetRequestId" locationNameList:"item" type:"list" required:"true"` // Indicates whether to terminate instances for a Spot fleet request if it is // canceled successfully. + // + // TerminateInstances is a required field TerminateInstances *bool `locationName:"terminateInstances" type:"boolean" required:"true"` } @@ -13881,12 +13951,18 @@ type CancelSpotFleetRequestsSuccessItem struct { _ struct{} `type:"structure"` // The current state of the Spot fleet request. + // + // CurrentSpotFleetRequestState is a required field CurrentSpotFleetRequestState *string `locationName:"currentSpotFleetRequestState" type:"string" required:"true" enum:"BatchState"` // The previous state of the Spot fleet request. + // + // PreviousSpotFleetRequestState is a required field PreviousSpotFleetRequestState *string `locationName:"previousSpotFleetRequestState" type:"string" required:"true" enum:"BatchState"` // The ID of the Spot fleet request. + // + // SpotFleetRequestId is a required field SpotFleetRequestId *string `locationName:"spotFleetRequestId" type:"string" required:"true"` } @@ -13911,6 +13987,8 @@ type CancelSpotInstanceRequestsInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // One or more Spot instance request IDs. + // + // SpotInstanceRequestIds is a required field SpotInstanceRequestIds []*string `locationName:"SpotInstanceRequestId" locationNameList:"SpotInstanceRequestId" type:"list" required:"true"` } @@ -14062,9 +14140,13 @@ type ConfirmProductInstanceInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // The ID of the instance. + // + // InstanceId is a required field InstanceId *string `type:"string" required:"true"` // The product code. This must be a product code that you own. + // + // ProductCode is a required field ProductCode *string `type:"string" required:"true"` } @@ -14122,6 +14204,8 @@ type ConversionTask struct { _ struct{} `type:"structure"` // The ID of the conversion task. + // + // ConversionTaskId is a required field ConversionTaskId *string `locationName:"conversionTaskId" type:"string" required:"true"` // The time when the task expires. If the upload isn't complete before the expiration @@ -14137,6 +14221,8 @@ type ConversionTask struct { ImportVolume *ImportVolumeTaskDetails `locationName:"importVolume" type:"structure"` // The state of the conversion task. + // + // State is a required field State *string `locationName:"state" type:"string" required:"true" enum:"ConversionTaskState"` // The status message related to the conversion task. @@ -14192,12 +14278,18 @@ type CopyImageInput struct { KmsKeyId *string `locationName:"kmsKeyId" type:"string"` // The name of the new AMI in the destination region. + // + // Name is a required field Name *string `type:"string" required:"true"` // The ID of the AMI to copy. + // + // SourceImageId is a required field SourceImageId *string `type:"string" required:"true"` // The name of the region that contains the AMI to copy. + // + // SourceRegion is a required field SourceRegion *string `type:"string" required:"true"` } @@ -14305,9 +14397,13 @@ type CopySnapshotInput struct { PresignedUrl *string `locationName:"presignedUrl" type:"string"` // The ID of the region that contains the snapshot to be copied. + // + // SourceRegion is a required field SourceRegion *string `type:"string" required:"true"` // The ID of the EBS snapshot to copy. + // + // SourceSnapshotId is a required field SourceSnapshotId *string `type:"string" required:"true"` } @@ -14362,6 +14458,8 @@ type CreateCustomerGatewayInput struct { // For devices that support BGP, the customer gateway's BGP ASN. // // Default: 65000 + // + // BgpAsn is a required field BgpAsn *int64 `type:"integer" required:"true"` // Checks whether you have the required permissions for the action, without @@ -14372,9 +14470,13 @@ type CreateCustomerGatewayInput struct { // The Internet-routable IP address for the customer gateway's outside interface. // The address must be static. + // + // PublicIp is a required field PublicIp *string `locationName:"IpAddress" type:"string" required:"true"` // The type of VPN connection that this customer gateway supports (ipsec.1). + // + // Type is a required field Type *string `type:"string" required:"true" enum:"GatewayType"` } @@ -14430,6 +14532,8 @@ type CreateDhcpOptionsInput struct { _ struct{} `type:"structure"` // A DHCP configuration option. + // + // DhcpConfigurations is a required field DhcpConfigurations []*NewDhcpConfiguration `locationName:"dhcpConfiguration" locationNameList:"item" type:"list" required:"true"` // Checks whether you have the required permissions for the action, without @@ -14490,20 +14594,30 @@ type CreateFlowLogsInput struct { // The ARN for the IAM role that's used to post flow logs to a CloudWatch Logs // log group. + // + // DeliverLogsPermissionArn is a required field DeliverLogsPermissionArn *string `type:"string" required:"true"` // The name of the CloudWatch log group. + // + // LogGroupName is a required field LogGroupName *string `type:"string" required:"true"` // One or more subnet, network interface, or VPC IDs. // // Constraints: Maximum of 1000 resources + // + // ResourceIds is a required field ResourceIds []*string `locationName:"ResourceId" locationNameList:"item" type:"list" required:"true"` // The type of resource on which to create the flow log. + // + // ResourceType is a required field ResourceType *string `type:"string" required:"true" enum:"FlowLogsResourceType"` // The type of traffic to log. + // + // TrafficType is a required field TrafficType *string `type:"string" required:"true" enum:"TrafficType"` } @@ -14584,6 +14698,8 @@ type CreateImageInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // The ID of the instance. + // + // InstanceId is a required field InstanceId *string `locationName:"instanceId" type:"string" required:"true"` // A name for the new image. @@ -14591,6 +14707,8 @@ type CreateImageInput struct { // Constraints: 3-128 alphanumeric characters, parentheses (()), square brackets // ([]), spaces ( ), periods (.), slashes (/), dashes (-), single quotes ('), // at-signs (@), or underscores(_) + // + // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` // By default, Amazon EC2 attempts to shut down and reboot the instance before @@ -14656,6 +14774,8 @@ type CreateInstanceExportTaskInput struct { ExportToS3Task *ExportToS3TaskSpecification `locationName:"exportToS3" type:"structure"` // The ID of the instance. + // + // InstanceId is a required field InstanceId *string `locationName:"instanceId" type:"string" required:"true"` // The target virtualization environment. @@ -14755,6 +14875,8 @@ type CreateKeyPairInput struct { // A unique name for the key pair. // // Constraints: Up to 255 ASCII characters + // + // KeyName is a required field KeyName *string `type:"string" required:"true"` } @@ -14812,6 +14934,8 @@ type CreateNatGatewayInput struct { // The allocation ID of an Elastic IP address to associate with the NAT gateway. // If the Elastic IP address is associated with another resource, you must first // disassociate it. + // + // AllocationId is a required field AllocationId *string `type:"string" required:"true"` // Unique, case-sensitive identifier you provide to ensure the idempotency of @@ -14821,6 +14945,8 @@ type CreateNatGatewayInput struct { ClientToken *string `type:"string"` // The subnet in which to create the NAT gateway. + // + // SubnetId is a required field SubnetId *string `type:"string" required:"true"` } @@ -14877,6 +15003,8 @@ type CreateNetworkAclEntryInput struct { _ struct{} `type:"structure"` // The network range to allow or deny, in CIDR notation (for example 172.16.0.0/24). + // + // CidrBlock is a required field CidrBlock *string `locationName:"cidrBlock" type:"string" required:"true"` // Checks whether you have the required permissions for the action, without @@ -14887,6 +15015,8 @@ type CreateNetworkAclEntryInput struct { // Indicates whether this is an egress rule (rule is applied to traffic leaving // the subnet). + // + // Egress is a required field Egress *bool `locationName:"egress" type:"boolean" required:"true"` // ICMP protocol: The ICMP type and code. Required if specifying ICMP for the @@ -14894,15 +15024,21 @@ type CreateNetworkAclEntryInput struct { IcmpTypeCode *IcmpTypeCode `locationName:"Icmp" type:"structure"` // The ID of the network ACL. + // + // NetworkAclId is a required field NetworkAclId *string `locationName:"networkAclId" type:"string" required:"true"` // TCP or UDP protocols: The range of ports the rule applies to. PortRange *PortRange `locationName:"portRange" type:"structure"` // The protocol. A value of -1 means all protocols. + // + // Protocol is a required field Protocol *string `locationName:"protocol" type:"string" required:"true"` // Indicates whether to allow or deny the traffic that matches the rule. + // + // RuleAction is a required field RuleAction *string `locationName:"ruleAction" type:"string" required:"true" enum:"RuleAction"` // The rule number for the entry (for example, 100). ACL entries are processed @@ -14910,6 +15046,8 @@ type CreateNetworkAclEntryInput struct { // // Constraints: Positive integer from 1 to 32766. The range 32767 to 65535 // is reserved for internal use. + // + // RuleNumber is a required field RuleNumber *int64 `locationName:"ruleNumber" type:"integer" required:"true"` } @@ -14976,6 +15114,8 @@ type CreateNetworkAclInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // The ID of the VPC. + // + // VpcId is a required field VpcId *string `locationName:"vpcId" type:"string" required:"true"` } @@ -15057,6 +15197,8 @@ type CreateNetworkInterfaceInput struct { SecondaryPrivateIpAddressCount *int64 `locationName:"secondaryPrivateIpAddressCount" type:"integer"` // The ID of the subnet to associate with the network interface. + // + // SubnetId is a required field SubnetId *string `locationName:"subnetId" type:"string" required:"true"` } @@ -15124,9 +15266,13 @@ type CreatePlacementGroupInput struct { // A name for the placement group. // // Constraints: Up to 255 ASCII characters + // + // GroupName is a required field GroupName *string `locationName:"groupName" type:"string" required:"true"` // The placement strategy. + // + // Strategy is a required field Strategy *string `locationName:"strategy" type:"string" required:"true" enum:"PlacementStrategy"` } @@ -15177,19 +15323,27 @@ type CreateReservedInstancesListingInput struct { // Unique, case-sensitive identifier you provide to ensure idempotency of your // listings. This helps avoid duplicate listings. For more information, see // Ensuring Idempotency (http://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + // + // ClientToken is a required field ClientToken *string `locationName:"clientToken" type:"string" required:"true"` // The number of instances that are a part of a Reserved Instance account to // be listed in the Reserved Instance Marketplace. This number should be less // than or equal to the instance count associated with the Reserved Instance // ID specified in this call. + // + // InstanceCount is a required field InstanceCount *int64 `locationName:"instanceCount" type:"integer" required:"true"` // A list specifying the price of the Standard Reserved Instance for each month // remaining in the Reserved Instance term. + // + // PriceSchedules is a required field PriceSchedules []*PriceScheduleSpecification `locationName:"priceSchedules" locationNameList:"item" type:"list" required:"true"` // The ID of the active Standard Reserved Instance. + // + // ReservedInstancesId is a required field ReservedInstancesId *string `locationName:"reservedInstancesId" type:"string" required:"true"` } @@ -15249,6 +15403,8 @@ type CreateRouteInput struct { // The CIDR address block used for the destination match. Routing decisions // are based on the most specific match. + // + // DestinationCidrBlock is a required field DestinationCidrBlock *string `locationName:"destinationCidrBlock" type:"string" required:"true"` // Checks whether you have the required permissions for the action, without @@ -15272,6 +15428,8 @@ type CreateRouteInput struct { NetworkInterfaceId *string `locationName:"networkInterfaceId" type:"string"` // The ID of the route table for the route. + // + // RouteTableId is a required field RouteTableId *string `locationName:"routeTableId" type:"string" required:"true"` // The ID of a VPC peering connection. @@ -15333,6 +15491,8 @@ type CreateRouteTableInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // The ID of the VPC. + // + // VpcId is a required field VpcId *string `locationName:"vpcId" type:"string" required:"true"` } @@ -15388,6 +15548,8 @@ type CreateSecurityGroupInput struct { // Constraints for EC2-Classic: ASCII characters // // Constraints for EC2-VPC: a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$* + // + // Description is a required field Description *string `locationName:"GroupDescription" type:"string" required:"true"` // Checks whether you have the required permissions for the action, without @@ -15403,6 +15565,8 @@ type CreateSecurityGroupInput struct { // Constraints for EC2-Classic: ASCII characters // // Constraints for EC2-VPC: a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$* + // + // GroupName is a required field GroupName *string `type:"string" required:"true"` // [EC2-VPC] The ID of the VPC. Required for EC2-VPC. @@ -15467,6 +15631,8 @@ type CreateSnapshotInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // The ID of the EBS volume. + // + // VolumeId is a required field VolumeId *string `type:"string" required:"true"` } @@ -15498,6 +15664,8 @@ type CreateSpotDatafeedSubscriptionInput struct { _ struct{} `type:"structure"` // The Amazon S3 bucket in which to store the Spot instance data feed. + // + // Bucket is a required field Bucket *string `locationName:"bucket" type:"string" required:"true"` // Checks whether you have the required permissions for the action, without @@ -15562,6 +15730,8 @@ type CreateSubnetInput struct { AvailabilityZone *string `type:"string"` // The network range for the subnet, in CIDR notation. For example, 10.0.0.0/24. + // + // CidrBlock is a required field CidrBlock *string `type:"string" required:"true"` // Checks whether you have the required permissions for the action, without @@ -15571,6 +15741,8 @@ type CreateSubnetInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // The ID of the VPC. + // + // VpcId is a required field VpcId *string `type:"string" required:"true"` } @@ -15629,11 +15801,15 @@ type CreateTagsInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // The IDs of one or more resources to tag. For example, ami-1a2b3c4d. + // + // Resources is a required field Resources []*string `locationName:"ResourceId" type:"list" required:"true"` // One or more tags. The value parameter is required, but if you don't want // the tag to have a value, specify the parameter with no value, and we set // the value to an empty string. + // + // Tags is a required field Tags []*Tag `locationName:"Tag" locationNameList:"item" type:"list" required:"true"` } @@ -15683,6 +15859,8 @@ type CreateVolumeInput struct { // The Availability Zone in which to create the volume. Use DescribeAvailabilityZones // to list the Availability Zones that are currently available to you. + // + // AvailabilityZone is a required field AvailabilityZone *string `type:"string" required:"true"` // Checks whether you have the required permissions for the action, without @@ -15831,9 +16009,13 @@ type CreateVpcEndpointInput struct { // The AWS service name, in the form com.amazonaws.region.service . To get a // list of available services, use the DescribeVpcEndpointServices request. + // + // ServiceName is a required field ServiceName *string `type:"string" required:"true"` // The ID of the VPC in which the endpoint will be used. + // + // VpcId is a required field VpcId *string `type:"string" required:"true"` } @@ -15890,6 +16072,8 @@ type CreateVpcInput struct { _ struct{} `type:"structure"` // The network range for the VPC, in CIDR notation. For example, 10.0.0.0/16. + // + // CidrBlock is a required field CidrBlock *string `type:"string" required:"true"` // Checks whether you have the required permissions for the action, without @@ -16007,6 +16191,8 @@ type CreateVpnConnectionInput struct { _ struct{} `type:"structure"` // The ID of the customer gateway. + // + // CustomerGatewayId is a required field CustomerGatewayId *string `type:"string" required:"true"` // Checks whether you have the required permissions for the action, without @@ -16023,9 +16209,13 @@ type CreateVpnConnectionInput struct { Options *VpnConnectionOptionsSpecification `locationName:"options" type:"structure"` // The type of VPN connection (ipsec.1). + // + // Type is a required field Type *string `type:"string" required:"true"` // The ID of the virtual private gateway. + // + // VpnGatewayId is a required field VpnGatewayId *string `type:"string" required:"true"` } @@ -16081,9 +16271,13 @@ type CreateVpnConnectionRouteInput struct { _ struct{} `type:"structure"` // The CIDR block associated with the local subnet of the customer network. + // + // DestinationCidrBlock is a required field DestinationCidrBlock *string `type:"string" required:"true"` // The ID of the VPN connection. + // + // VpnConnectionId is a required field VpnConnectionId *string `type:"string" required:"true"` } @@ -16141,6 +16335,8 @@ type CreateVpnGatewayInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // The type of VPN connection this virtual private gateway supports. + // + // Type is a required field Type *string `type:"string" required:"true" enum:"GatewayType"` } @@ -16225,6 +16421,8 @@ type DeleteCustomerGatewayInput struct { _ struct{} `type:"structure"` // The ID of the customer gateway. + // + // CustomerGatewayId is a required field CustomerGatewayId *string `type:"string" required:"true"` // Checks whether you have the required permissions for the action, without @@ -16276,6 +16474,8 @@ type DeleteDhcpOptionsInput struct { _ struct{} `type:"structure"` // The ID of the DHCP options set. + // + // DhcpOptionsId is a required field DhcpOptionsId *string `type:"string" required:"true"` // Checks whether you have the required permissions for the action, without @@ -16327,6 +16527,8 @@ type DeleteFlowLogsInput struct { _ struct{} `type:"structure"` // One or more flow log IDs. + // + // FlowLogIds is a required field FlowLogIds []*string `locationName:"FlowLogId" locationNameList:"item" type:"list" required:"true"` } @@ -16382,6 +16584,8 @@ type DeleteInternetGatewayInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // The ID of the Internet gateway. + // + // InternetGatewayId is a required field InternetGatewayId *string `locationName:"internetGatewayId" type:"string" required:"true"` } @@ -16433,6 +16637,8 @@ type DeleteKeyPairInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // The name of the key pair. + // + // KeyName is a required field KeyName *string `type:"string" required:"true"` } @@ -16478,6 +16684,8 @@ type DeleteNatGatewayInput struct { _ struct{} `type:"structure"` // The ID of the NAT gateway. + // + // NatGatewayId is a required field NatGatewayId *string `type:"string" required:"true"` } @@ -16533,12 +16741,18 @@ type DeleteNetworkAclEntryInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // Indicates whether the rule is an egress rule. + // + // Egress is a required field Egress *bool `locationName:"egress" type:"boolean" required:"true"` // The ID of the network ACL. + // + // NetworkAclId is a required field NetworkAclId *string `locationName:"networkAclId" type:"string" required:"true"` // The rule number of the entry to delete. + // + // RuleNumber is a required field RuleNumber *int64 `locationName:"ruleNumber" type:"integer" required:"true"` } @@ -16596,6 +16810,8 @@ type DeleteNetworkAclInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // The ID of the network ACL. + // + // NetworkAclId is a required field NetworkAclId *string `locationName:"networkAclId" type:"string" required:"true"` } @@ -16647,6 +16863,8 @@ type DeleteNetworkInterfaceInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // The ID of the network interface. + // + // NetworkInterfaceId is a required field NetworkInterfaceId *string `locationName:"networkInterfaceId" type:"string" required:"true"` } @@ -16698,6 +16916,8 @@ type DeletePlacementGroupInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // The name of the placement group. + // + // GroupName is a required field GroupName *string `locationName:"groupName" type:"string" required:"true"` } @@ -16744,6 +16964,8 @@ type DeleteRouteInput struct { // The CIDR range for the route. The value you specify must match the CIDR for // the route exactly. + // + // DestinationCidrBlock is a required field DestinationCidrBlock *string `locationName:"destinationCidrBlock" type:"string" required:"true"` // Checks whether you have the required permissions for the action, without @@ -16753,6 +16975,8 @@ type DeleteRouteInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // The ID of the route table. + // + // RouteTableId is a required field RouteTableId *string `locationName:"routeTableId" type:"string" required:"true"` } @@ -16807,6 +17031,8 @@ type DeleteRouteTableInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // The ID of the route table. + // + // RouteTableId is a required field RouteTableId *string `locationName:"routeTableId" type:"string" required:"true"` } @@ -16900,6 +17126,8 @@ type DeleteSnapshotInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // The ID of the EBS snapshot. + // + // SnapshotId is a required field SnapshotId *string `type:"string" required:"true"` } @@ -16986,6 +17214,8 @@ type DeleteSubnetInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // The ID of the subnet. + // + // SubnetId is a required field SubnetId *string `type:"string" required:"true"` } @@ -17038,6 +17268,8 @@ type DeleteTagsInput struct { // The ID of the resource. For example, ami-1a2b3c4d. You can specify more than // one resource ID. + // + // Resources is a required field Resources []*string `locationName:"resourceId" type:"list" required:"true"` // One or more tags to delete. If you omit the value parameter, we delete the @@ -17094,6 +17326,8 @@ type DeleteVolumeInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // The ID of the volume. + // + // VolumeId is a required field VolumeId *string `type:"string" required:"true"` } @@ -17145,6 +17379,8 @@ type DeleteVpcEndpointsInput struct { DryRun *bool `type:"boolean"` // One or more endpoint IDs. + // + // VpcEndpointIds is a required field VpcEndpointIds []*string `locationName:"VpcEndpointId" locationNameList:"item" type:"list" required:"true"` } @@ -17200,6 +17436,8 @@ type DeleteVpcInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // The ID of the VPC. + // + // VpcId is a required field VpcId *string `type:"string" required:"true"` } @@ -17251,6 +17489,8 @@ type DeleteVpcPeeringConnectionInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // The ID of the VPC peering connection. + // + // VpcPeeringConnectionId is a required field VpcPeeringConnectionId *string `locationName:"vpcPeeringConnectionId" type:"string" required:"true"` } @@ -17306,6 +17546,8 @@ type DeleteVpnConnectionInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // The ID of the VPN connection. + // + // VpnConnectionId is a required field VpnConnectionId *string `type:"string" required:"true"` } @@ -17351,9 +17593,13 @@ type DeleteVpnConnectionRouteInput struct { _ struct{} `type:"structure"` // The CIDR block associated with the local subnet of the customer network. + // + // DestinationCidrBlock is a required field DestinationCidrBlock *string `type:"string" required:"true"` // The ID of the VPN connection. + // + // VpnConnectionId is a required field VpnConnectionId *string `type:"string" required:"true"` } @@ -17408,6 +17654,8 @@ type DeleteVpnGatewayInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // The ID of the virtual private gateway. + // + // VpnGatewayId is a required field VpnGatewayId *string `type:"string" required:"true"` } @@ -17459,6 +17707,8 @@ type DeregisterImageInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // The ID of the AMI. + // + // ImageId is a required field ImageId *string `type:"string" required:"true"` } @@ -18335,6 +18585,8 @@ type DescribeIdentityIdFormatInput struct { // The ARN of the principal, which can be an IAM role, IAM user, or the root // user. + // + // PrincipalArn is a required field PrincipalArn *string `locationName:"principalArn" type:"string" required:"true"` // The type of resource: instance | reservation | snapshot | volume @@ -18391,6 +18643,8 @@ type DescribeImageAttributeInput struct { // Note: Depending on your account privileges, the blockDeviceMapping attribute // may return a Client.AuthFailure error. If this happens, use DescribeImages // to get information about the block device mapping for the AMI. + // + // Attribute is a required field Attribute *string `type:"string" required:"true" enum:"ImageAttributeName"` // Checks whether you have the required permissions for the action, without @@ -18400,6 +18654,8 @@ type DescribeImageAttributeInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // The ID of the AMI. + // + // ImageId is a required field ImageId *string `type:"string" required:"true"` } @@ -18719,6 +18975,8 @@ type DescribeInstanceAttributeInput struct { // The instance attribute. // // Note: The enaSupport attribute is not supported at this time. + // + // Attribute is a required field Attribute *string `locationName:"attribute" type:"string" required:"true" enum:"InstanceAttributeName"` // Checks whether you have the required permissions for the action, without @@ -18728,6 +18986,8 @@ type DescribeInstanceAttributeInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // The ID of the instance. + // + // InstanceId is a required field InstanceId *string `locationName:"instanceId" type:"string" required:"true"` } @@ -19564,6 +19824,8 @@ type DescribeNetworkInterfaceAttributeInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // The ID of the network interface. + // + // NetworkInterfaceId is a required field NetworkInterfaceId *string `locationName:"networkInterfaceId" type:"string" required:"true"` } @@ -20429,6 +20691,8 @@ type DescribeScheduledInstanceAvailabilityInput struct { Filters []*Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // The time period for the first schedule to start. + // + // FirstSlotStartTimeRange is a required field FirstSlotStartTimeRange *SlotDateTimeRangeRequest `type:"structure" required:"true"` // The maximum number of results to return in a single call. This value can @@ -20450,6 +20714,8 @@ type DescribeScheduledInstanceAvailabilityInput struct { NextToken *string `type:"string"` // The schedule recurrence. + // + // Recurrence is a required field Recurrence *ScheduledInstanceRecurrenceRequest `type:"structure" required:"true"` } @@ -20584,6 +20850,8 @@ type DescribeSecurityGroupReferencesInput struct { DryRun *bool `type:"boolean"` // One or more security group IDs in your account. + // + // GroupId is a required field GroupId []*string `locationNameList:"item" type:"list" required:"true"` } @@ -20727,6 +20995,8 @@ type DescribeSnapshotAttributeInput struct { _ struct{} `type:"structure"` // The snapshot attribute you would like to view. + // + // Attribute is a required field Attribute *string `type:"string" required:"true" enum:"SnapshotAttributeName"` // Checks whether you have the required permissions for the action, without @@ -20736,6 +21006,8 @@ type DescribeSnapshotAttributeInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // The ID of the EBS snapshot. + // + // SnapshotId is a required field SnapshotId *string `type:"string" required:"true"` } @@ -20958,6 +21230,8 @@ type DescribeSpotFleetInstancesInput struct { NextToken *string `locationName:"nextToken" type:"string"` // The ID of the Spot fleet request. + // + // SpotFleetRequestId is a required field SpotFleetRequestId *string `locationName:"spotFleetRequestId" type:"string" required:"true"` } @@ -20990,6 +21264,8 @@ type DescribeSpotFleetInstancesOutput struct { // The running instances. Note that this list is refreshed periodically and // might be out of date. + // + // ActiveInstances is a required field ActiveInstances []*ActiveInstance `locationName:"activeInstanceSet" locationNameList:"item" type:"list" required:"true"` // The token required to retrieve the next set of results. This value is null @@ -20997,6 +21273,8 @@ type DescribeSpotFleetInstancesOutput struct { NextToken *string `locationName:"nextToken" type:"string"` // The ID of the Spot fleet request. + // + // SpotFleetRequestId is a required field SpotFleetRequestId *string `locationName:"spotFleetRequestId" type:"string" required:"true"` } @@ -21032,9 +21310,13 @@ type DescribeSpotFleetRequestHistoryInput struct { NextToken *string `locationName:"nextToken" type:"string"` // The ID of the Spot fleet request. + // + // SpotFleetRequestId is a required field SpotFleetRequestId *string `locationName:"spotFleetRequestId" type:"string" required:"true"` // The starting date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). + // + // StartTime is a required field StartTime *time.Time `locationName:"startTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` } @@ -21069,12 +21351,16 @@ type DescribeSpotFleetRequestHistoryOutput struct { _ struct{} `type:"structure"` // Information about the events in the history of the Spot fleet request. + // + // HistoryRecords is a required field HistoryRecords []*HistoryRecord `locationName:"historyRecordSet" locationNameList:"item" type:"list" required:"true"` // The last date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). // All records up to this time were retrieved. // // If nextToken indicates that there are more results, this value is not present. + // + // LastEvaluatedTime is a required field LastEvaluatedTime *time.Time `locationName:"lastEvaluatedTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` // The token required to retrieve the next set of results. This value is null @@ -21082,9 +21368,13 @@ type DescribeSpotFleetRequestHistoryOutput struct { NextToken *string `locationName:"nextToken" type:"string"` // The ID of the Spot fleet request. + // + // SpotFleetRequestId is a required field SpotFleetRequestId *string `locationName:"spotFleetRequestId" type:"string" required:"true"` // The starting date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). + // + // StartTime is a required field StartTime *time.Time `locationName:"startTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` } @@ -21139,6 +21429,8 @@ type DescribeSpotFleetRequestsOutput struct { NextToken *string `locationName:"nextToken" type:"string"` // Information about the configuration of your Spot fleet. + // + // SpotFleetRequestConfigs is a required field SpotFleetRequestConfigs []*SpotFleetRequestConfig `locationName:"spotFleetRequestConfigSet" locationNameList:"item" type:"list" required:"true"` } @@ -21411,6 +21703,8 @@ type DescribeStaleSecurityGroupsInput struct { NextToken *string `min:"1" type:"string"` // The ID of the VPC. + // + // VpcId is a required field VpcId *string `type:"string" required:"true"` } @@ -21621,6 +21915,8 @@ type DescribeVolumeAttributeInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // The ID of the volume. + // + // VolumeId is a required field VolumeId *string `type:"string" required:"true"` } @@ -21886,6 +22182,8 @@ type DescribeVpcAttributeInput struct { _ struct{} `type:"structure"` // The VPC attribute. + // + // Attribute is a required field Attribute *string `type:"string" required:"true" enum:"VpcAttributeName"` // Checks whether you have the required permissions for the action, without @@ -21895,6 +22193,8 @@ type DescribeVpcAttributeInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // The ID of the VPC. + // + // VpcId is a required field VpcId *string `type:"string" required:"true"` } @@ -22525,9 +22825,13 @@ type DetachClassicLinkVpcInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // The ID of the instance to unlink from the VPC. + // + // InstanceId is a required field InstanceId *string `locationName:"instanceId" type:"string" required:"true"` // The ID of the VPC to which the instance is linked. + // + // VpcId is a required field VpcId *string `locationName:"vpcId" type:"string" required:"true"` } @@ -22586,9 +22890,13 @@ type DetachInternetGatewayInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // The ID of the Internet gateway. + // + // InternetGatewayId is a required field InternetGatewayId *string `locationName:"internetGatewayId" type:"string" required:"true"` // The ID of the VPC. + // + // VpcId is a required field VpcId *string `locationName:"vpcId" type:"string" required:"true"` } @@ -22637,6 +22945,8 @@ type DetachNetworkInterfaceInput struct { _ struct{} `type:"structure"` // The ID of the attachment. + // + // AttachmentId is a required field AttachmentId *string `locationName:"attachmentId" type:"string" required:"true"` // Checks whether you have the required permissions for the action, without @@ -22712,6 +23022,8 @@ type DetachVolumeInput struct { InstanceId *string `type:"string"` // The ID of the volume. + // + // VolumeId is a required field VolumeId *string `type:"string" required:"true"` } @@ -22749,9 +23061,13 @@ type DetachVpnGatewayInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // The ID of the VPC. + // + // VpcId is a required field VpcId *string `type:"string" required:"true"` // The ID of the virtual private gateway. + // + // VpnGatewayId is a required field VpnGatewayId *string `type:"string" required:"true"` } @@ -22845,9 +23161,13 @@ type DisableVgwRoutePropagationInput struct { _ struct{} `type:"structure"` // The ID of the virtual private gateway. + // + // GatewayId is a required field GatewayId *string `type:"string" required:"true"` // The ID of the route table. + // + // RouteTableId is a required field RouteTableId *string `type:"string" required:"true"` } @@ -22938,6 +23258,8 @@ type DisableVpcClassicLinkInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // The ID of the VPC. + // + // VpcId is a required field VpcId *string `locationName:"vpcId" type:"string" required:"true"` } @@ -23029,6 +23351,8 @@ type DisassociateRouteTableInput struct { // The association ID representing the current association between the route // table and subnet. + // + // AssociationId is a required field AssociationId *string `locationName:"associationId" type:"string" required:"true"` // Checks whether you have the required permissions for the action, without @@ -23127,6 +23451,8 @@ type DiskImageDescription struct { Checksum *string `locationName:"checksum" type:"string"` // The disk image format. + // + // Format is a required field Format *string `locationName:"format" type:"string" required:"true" enum:"DiskImageFormat"` // A presigned URL for the import manifest stored in Amazon S3. For information @@ -23137,9 +23463,13 @@ type DiskImageDescription struct { // // For information about the import manifest referenced by this API action, // see VM Import Manifest (http://docs.aws.amazon.com/AWSEC2/latest/APIReference/manifest.html). + // + // ImportManifestUrl is a required field ImportManifestUrl *string `locationName:"importManifestUrl" type:"string" required:"true"` // The size of the disk image, in GiB. + // + // Size is a required field Size *int64 `locationName:"size" type:"long" required:"true"` } @@ -23158,9 +23488,13 @@ type DiskImageDetail struct { _ struct{} `type:"structure"` // The size of the disk image, in GiB. + // + // Bytes is a required field Bytes *int64 `locationName:"bytes" type:"long" required:"true"` // The disk image format. + // + // Format is a required field Format *string `locationName:"format" type:"string" required:"true" enum:"DiskImageFormat"` // A presigned URL for the import manifest stored in Amazon S3 and presented @@ -23171,6 +23505,8 @@ type DiskImageDetail struct { // // For information about the import manifest referenced by this API action, // see VM Import Manifest (http://docs.aws.amazon.com/AWSEC2/latest/APIReference/manifest.html). + // + // ImportManifestUrl is a required field ImportManifestUrl *string `locationName:"importManifestUrl" type:"string" required:"true"` } @@ -23208,6 +23544,8 @@ type DiskImageVolumeDescription struct { _ struct{} `type:"structure"` // The volume identifier. + // + // Id is a required field Id *string `locationName:"id" type:"string" required:"true"` // The size of the volume, in GiB. @@ -23335,9 +23673,13 @@ type EnableVgwRoutePropagationInput struct { _ struct{} `type:"structure"` // The ID of the virtual private gateway. + // + // GatewayId is a required field GatewayId *string `type:"string" required:"true"` // The ID of the route table. + // + // RouteTableId is a required field RouteTableId *string `type:"string" required:"true"` } @@ -23392,6 +23734,8 @@ type EnableVolumeIOInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // The ID of the volume. + // + // VolumeId is a required field VolumeId *string `locationName:"volumeId" type:"string" required:"true"` } @@ -23479,6 +23823,8 @@ type EnableVpcClassicLinkInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // The ID of the VPC. + // + // VpcId is a required field VpcId *string `locationName:"vpcId" type:"string" required:"true"` } @@ -23772,6 +24118,8 @@ type GetConsoleOutputInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // The ID of the instance. + // + // InstanceId is a required field InstanceId *string `type:"string" required:"true"` } @@ -23834,6 +24182,8 @@ type GetConsoleScreenshotInput struct { DryRun *bool `type:"boolean"` // The ID of the instance. + // + // InstanceId is a required field InstanceId *string `type:"string" required:"true"` // When set to true, acts as keystroke input and wakes up an instance that's @@ -23890,9 +24240,13 @@ type GetHostReservationPurchasePreviewInput struct { // The ID/s of the Dedicated Host/s that the reservation will be associated // with. + // + // HostIdSet is a required field HostIdSet []*string `locationNameList:"item" type:"list" required:"true"` // The offering ID of the reservation. + // + // OfferingId is a required field OfferingId *string `type:"string" required:"true"` } @@ -23961,6 +24315,8 @@ type GetPasswordDataInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // The ID of the Windows instance. + // + // InstanceId is a required field InstanceId *string `type:"string" required:"true"` } @@ -24022,6 +24378,8 @@ type GetReservedInstancesExchangeQuoteInput struct { DryRun *bool `type:"boolean"` // The ID/s of the Convertible Reserved Instances you want to exchange. + // + // ReservedInstanceIds is a required field ReservedInstanceIds []*string `locationName:"ReservedInstanceId" locationNameList:"ReservedInstanceId" type:"list" required:"true"` // The configuration requirements of the Convertible Reserved Instances you @@ -24130,6 +24488,8 @@ type HistoryRecord struct { _ struct{} `type:"structure"` // Information about the event. + // + // EventInformation is a required field EventInformation *EventInformation `locationName:"eventInformation" type:"structure" required:"true"` // The event type. @@ -24140,9 +24500,13 @@ type HistoryRecord struct { // of the Spot fleet request. // // instanceChange - Indicates that an instance was launched or terminated. + // + // EventType is a required field EventType *string `locationName:"eventType" type:"string" required:"true" enum:"EventType"` // The date and time of the event, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). + // + // Timestamp is a required field Timestamp *time.Time `locationName:"timestamp" type:"timestamp" timestampFormat:"iso8601" required:"true"` } @@ -24745,6 +25109,8 @@ type ImportInstanceInput struct { LaunchSpecification *ImportInstanceLaunchSpecification `locationName:"launchSpecification" type:"structure"` // The instance operating system. + // + // Platform is a required field Platform *string `locationName:"platform" type:"string" required:"true" enum:"PlatformValues"` } @@ -24866,6 +25232,8 @@ type ImportInstanceTaskDetails struct { Platform *string `locationName:"platform" type:"string" enum:"PlatformValues"` // One or more volumes. + // + // Volumes is a required field Volumes []*ImportInstanceVolumeDetailItem `locationName:"volumes" locationNameList:"item" type:"list" required:"true"` } @@ -24884,24 +25252,34 @@ type ImportInstanceVolumeDetailItem struct { _ struct{} `type:"structure"` // The Availability Zone where the resulting instance will reside. + // + // AvailabilityZone is a required field AvailabilityZone *string `locationName:"availabilityZone" type:"string" required:"true"` // The number of bytes converted so far. + // + // BytesConverted is a required field BytesConverted *int64 `locationName:"bytesConverted" type:"long" required:"true"` // A description of the task. Description *string `locationName:"description" type:"string"` // The image. + // + // Image is a required field Image *DiskImageDescription `locationName:"image" type:"structure" required:"true"` // The status of the import of this particular disk image. + // + // Status is a required field Status *string `locationName:"status" type:"string" required:"true"` // The status information or errors related to the disk image. StatusMessage *string `locationName:"statusMessage" type:"string"` // The volume. + // + // Volume is a required field Volume *DiskImageVolumeDescription `locationName:"volume" type:"structure" required:"true"` } @@ -24926,12 +25304,16 @@ type ImportKeyPairInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // A unique name for the key pair. + // + // KeyName is a required field KeyName *string `locationName:"keyName" type:"string" required:"true"` // The public key. For API calls, the text must be base64-encoded. For command // line tools, base64 encoding is performed for you. // // PublicKeyMaterial is automatically base64 encoded/decoded by the SDK. + // + // PublicKeyMaterial is a required field PublicKeyMaterial []byte `locationName:"publicKeyMaterial" type:"blob" required:"true"` } @@ -25071,6 +25453,8 @@ type ImportVolumeInput struct { _ struct{} `type:"structure"` // The Availability Zone for the resulting EBS volume. + // + // AvailabilityZone is a required field AvailabilityZone *string `locationName:"availabilityZone" type:"string" required:"true"` // A description of the volume. @@ -25083,9 +25467,13 @@ type ImportVolumeInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // The disk image. + // + // Image is a required field Image *DiskImageDetail `locationName:"image" type:"structure" required:"true"` // The volume size. + // + // Volume is a required field Volume *VolumeDetail `locationName:"volume" type:"structure" required:"true"` } @@ -25151,18 +25539,26 @@ type ImportVolumeTaskDetails struct { _ struct{} `type:"structure"` // The Availability Zone where the resulting volume will reside. + // + // AvailabilityZone is a required field AvailabilityZone *string `locationName:"availabilityZone" type:"string" required:"true"` // The number of bytes converted so far. + // + // BytesConverted is a required field BytesConverted *int64 `locationName:"bytesConverted" type:"long" required:"true"` // The description you provided when starting the import volume task. Description *string `locationName:"description" type:"string"` // The image. + // + // Image is a required field Image *DiskImageDescription `locationName:"image" type:"structure" required:"true"` // The volume. + // + // Volume is a required field Volume *DiskImageVolumeDescription `locationName:"volume" type:"structure" required:"true"` } @@ -26106,9 +26502,13 @@ type ModifyHostsInput struct { _ struct{} `type:"structure"` // Specify whether to enable or disable auto-placement. + // + // AutoPlacement is a required field AutoPlacement *string `locationName:"autoPlacement" type:"string" required:"true" enum:"AutoPlacement"` // The host IDs of the Dedicated Hosts you want to modify. + // + // HostIds is a required field HostIds []*string `locationName:"hostId" locationNameList:"item" type:"list" required:"true"` } @@ -26165,9 +26565,13 @@ type ModifyIdFormatInput struct { _ struct{} `type:"structure"` // The type of resource: instance | reservation | snapshot | volume + // + // Resource is a required field Resource *string `type:"string" required:"true"` // Indicate whether the resource should use longer IDs (17-character IDs). + // + // UseLongIds is a required field UseLongIds *bool `type:"boolean" required:"true"` } @@ -26218,12 +26622,18 @@ type ModifyIdentityIdFormatInput struct { // The ARN of the principal, which can be an IAM user, IAM role, or the root // user. Specify all to modify the ID format for all IAM users, IAM roles, and // the root user of the account. + // + // PrincipalArn is a required field PrincipalArn *string `locationName:"principalArn" type:"string" required:"true"` // The type of resource: instance | reservation | snapshot | volume + // + // Resource is a required field Resource *string `locationName:"resource" type:"string" required:"true"` // Indicates whether the resource should use longer IDs (17-character IDs) + // + // UseLongIds is a required field UseLongIds *bool `locationName:"useLongIds" type:"boolean" required:"true"` } @@ -26287,6 +26697,8 @@ type ModifyImageAttributeInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // The ID of the AMI. + // + // ImageId is a required field ImageId *string `type:"string" required:"true"` // A launch permission modification. @@ -26397,6 +26809,8 @@ type ModifyInstanceAttributeInput struct { Groups []*string `locationName:"GroupId" locationNameList:"groupId" type:"list"` // The ID of the instance. + // + // InstanceId is a required field InstanceId *string `locationName:"instanceId" type:"string" required:"true"` // Specifies whether an instance stops or terminates when you initiate shutdown @@ -26492,6 +26906,8 @@ type ModifyInstancePlacementInput struct { HostId *string `locationName:"hostId" type:"string"` // The ID of the instance that you are modifying. + // + // InstanceId is a required field InstanceId *string `locationName:"instanceId" type:"string" required:"true"` // The tenancy of the instance that you are modifying. @@ -26563,6 +26979,8 @@ type ModifyNetworkInterfaceAttributeInput struct { Groups []*string `locationName:"SecurityGroupId" locationNameList:"SecurityGroupId" type:"list"` // The ID of the network interface. + // + // NetworkInterfaceId is a required field NetworkInterfaceId *string `locationName:"networkInterfaceId" type:"string" required:"true"` // Indicates whether source/destination checking is enabled. A value of true @@ -26619,9 +27037,13 @@ type ModifyReservedInstancesInput struct { ClientToken *string `locationName:"clientToken" type:"string"` // The IDs of the Reserved Instances to modify. + // + // ReservedInstancesIds is a required field ReservedInstancesIds []*string `locationName:"ReservedInstancesId" locationNameList:"ReservedInstancesId" type:"list" required:"true"` // The configuration settings for the Reserved Instances to modify. + // + // TargetConfigurations is a required field TargetConfigurations []*ReservedInstancesConfiguration `locationName:"ReservedInstancesConfigurationSetItemType" locationNameList:"item" type:"list" required:"true"` } @@ -26694,6 +27116,8 @@ type ModifySnapshotAttributeInput struct { OperationType *string `type:"string" enum:"OperationType"` // The ID of the snapshot. + // + // SnapshotId is a required field SnapshotId *string `type:"string" required:"true"` // The account ID to modify for the snapshot. @@ -26747,6 +27171,8 @@ type ModifySpotFleetRequestInput struct { ExcessCapacityTerminationPolicy *string `locationName:"excessCapacityTerminationPolicy" type:"string" enum:"ExcessCapacityTerminationPolicy"` // The ID of the Spot fleet request. + // + // SpotFleetRequestId is a required field SpotFleetRequestId *string `locationName:"spotFleetRequestId" type:"string" required:"true"` // The size of the fleet. @@ -26803,6 +27229,8 @@ type ModifySubnetAttributeInput struct { MapPublicIpOnLaunch *AttributeBooleanValue `type:"structure"` // The ID of the subnet. + // + // SubnetId is a required field SubnetId *string `locationName:"subnetId" type:"string" required:"true"` } @@ -26857,6 +27285,8 @@ type ModifyVolumeAttributeInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // The ID of the volume. + // + // VolumeId is a required field VolumeId *string `type:"string" required:"true"` } @@ -26920,6 +27350,8 @@ type ModifyVpcAttributeInput struct { EnableDnsSupport *AttributeBooleanValue `type:"structure"` // The ID of the VPC. + // + // VpcId is a required field VpcId *string `locationName:"vpcId" type:"string" required:"true"` } @@ -26985,6 +27417,8 @@ type ModifyVpcEndpointInput struct { ResetPolicy *bool `type:"boolean"` // The ID of the endpoint. + // + // VpcEndpointId is a required field VpcEndpointId *string `type:"string" required:"true"` } @@ -27045,6 +27479,8 @@ type ModifyVpcPeeringConnectionOptionsInput struct { RequesterPeeringConnectionOptions *PeeringConnectionOptionsRequest `type:"structure"` // The ID of the VPC peering connection. + // + // VpcPeeringConnectionId is a required field VpcPeeringConnectionId *string `type:"string" required:"true"` } @@ -27102,6 +27538,8 @@ type MonitorInstancesInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // One or more instance IDs. + // + // InstanceIds is a required field InstanceIds []*string `locationName:"InstanceId" locationNameList:"InstanceId" type:"list" required:"true"` } @@ -27175,6 +27613,8 @@ type MoveAddressToVpcInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // The Elastic IP address. + // + // PublicIp is a required field PublicIp *string `locationName:"publicIp" type:"string" required:"true"` } @@ -27929,6 +28369,8 @@ type PrivateIpAddressSpecification struct { Primary *bool `locationName:"primary" type:"boolean"` // The private IP addresses. + // + // PrivateIpAddress is a required field PrivateIpAddress *string `locationName:"privateIpAddress" type:"string" required:"true"` } @@ -28091,6 +28533,8 @@ type PurchaseHostReservationInput struct { // The ID/s of the Dedicated Host/s that the reservation will be associated // with. + // + // HostIdSet is a required field HostIdSet []*string `locationNameList:"item" type:"list" required:"true"` // The specified limit is checked against the total upfront cost of the reservation @@ -28103,6 +28547,8 @@ type PurchaseHostReservationInput struct { LimitPrice *string `type:"string"` // The ID of the offering. + // + // OfferingId is a required field OfferingId *string `type:"string" required:"true"` } @@ -28170,9 +28616,13 @@ type PurchaseRequest struct { _ struct{} `type:"structure"` // The number of instances. + // + // InstanceCount is a required field InstanceCount *int64 `type:"integer" required:"true"` // The purchase token. + // + // PurchaseToken is a required field PurchaseToken *string `type:"string" required:"true"` } @@ -28213,6 +28663,8 @@ type PurchaseReservedInstancesOfferingInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // The number of Reserved Instances to purchase. + // + // InstanceCount is a required field InstanceCount *int64 `type:"integer" required:"true"` // Specified for Reserved Instance Marketplace offerings to limit the total @@ -28221,6 +28673,8 @@ type PurchaseReservedInstancesOfferingInput struct { LimitPrice *ReservedInstanceLimitPrice `locationName:"limitPrice" type:"structure"` // The ID of the Reserved Instance offering to purchase. + // + // ReservedInstancesOfferingId is a required field ReservedInstancesOfferingId *string `type:"string" required:"true"` } @@ -28283,6 +28737,8 @@ type PurchaseScheduledInstancesInput struct { DryRun *bool `type:"boolean"` // One or more purchase requests. + // + // PurchaseRequests is a required field PurchaseRequests []*PurchaseRequest `locationName:"PurchaseRequest" locationNameList:"PurchaseRequest" min:"1" type:"list" required:"true"` } @@ -28351,6 +28807,8 @@ type RebootInstancesInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // One or more instance IDs. + // + // InstanceIds is a required field InstanceIds []*string `locationName:"InstanceId" locationNameList:"InstanceId" type:"list" required:"true"` } @@ -28473,6 +28931,8 @@ type RegisterImageInput struct { // Constraints: 3-128 alphanumeric characters, parentheses (()), square brackets // ([]), spaces ( ), periods (.), slashes (/), dashes (-), single quotes ('), // at-signs (@), or underscores(_) + // + // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` // The ID of the RAM disk. @@ -28549,6 +29009,8 @@ type RejectVpcPeeringConnectionInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // The ID of the VPC peering connection. + // + // VpcPeeringConnectionId is a required field VpcPeeringConnectionId *string `locationName:"vpcPeeringConnectionId" type:"string" required:"true"` } @@ -28639,6 +29101,8 @@ type ReleaseHostsInput struct { _ struct{} `type:"structure"` // The IDs of the Dedicated Hosts you want to release. + // + // HostIds is a required field HostIds []*string `locationName:"hostId" locationNameList:"item" type:"list" required:"true"` } @@ -28693,6 +29157,8 @@ type ReplaceNetworkAclAssociationInput struct { // The ID of the current association between the original network ACL and the // subnet. + // + // AssociationId is a required field AssociationId *string `locationName:"associationId" type:"string" required:"true"` // Checks whether you have the required permissions for the action, without @@ -28702,6 +29168,8 @@ type ReplaceNetworkAclAssociationInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // The ID of the new network ACL to associate with the subnet. + // + // NetworkAclId is a required field NetworkAclId *string `locationName:"networkAclId" type:"string" required:"true"` } @@ -28754,6 +29222,8 @@ type ReplaceNetworkAclEntryInput struct { _ struct{} `type:"structure"` // The network range to allow or deny, in CIDR notation. + // + // CidrBlock is a required field CidrBlock *string `locationName:"cidrBlock" type:"string" required:"true"` // Checks whether you have the required permissions for the action, without @@ -28765,6 +29235,8 @@ type ReplaceNetworkAclEntryInput struct { // Indicates whether to replace the egress rule. // // Default: If no value is specified, we replace the ingress rule. + // + // Egress is a required field Egress *bool `locationName:"egress" type:"boolean" required:"true"` // ICMP protocol: The ICMP type and code. Required if specifying 1 (ICMP) for @@ -28772,6 +29244,8 @@ type ReplaceNetworkAclEntryInput struct { IcmpTypeCode *IcmpTypeCode `locationName:"Icmp" type:"structure"` // The ID of the ACL. + // + // NetworkAclId is a required field NetworkAclId *string `locationName:"networkAclId" type:"string" required:"true"` // TCP or UDP protocols: The range of ports the rule applies to. Required if @@ -28779,12 +29253,18 @@ type ReplaceNetworkAclEntryInput struct { PortRange *PortRange `locationName:"portRange" type:"structure"` // The IP protocol. You can specify all or -1 to mean all protocols. + // + // Protocol is a required field Protocol *string `locationName:"protocol" type:"string" required:"true"` // Indicates whether to allow or deny the traffic that matches the rule. + // + // RuleAction is a required field RuleAction *string `locationName:"ruleAction" type:"string" required:"true" enum:"RuleAction"` // The rule number of the entry to replace. + // + // RuleNumber is a required field RuleNumber *int64 `locationName:"ruleNumber" type:"integer" required:"true"` } @@ -28846,6 +29326,8 @@ type ReplaceRouteInput struct { // The CIDR address block used for the destination match. The value you provide // must match the CIDR of an existing route in the table. + // + // DestinationCidrBlock is a required field DestinationCidrBlock *string `locationName:"destinationCidrBlock" type:"string" required:"true"` // Checks whether you have the required permissions for the action, without @@ -28867,6 +29349,8 @@ type ReplaceRouteInput struct { NetworkInterfaceId *string `locationName:"networkInterfaceId" type:"string"` // The ID of the route table. + // + // RouteTableId is a required field RouteTableId *string `locationName:"routeTableId" type:"string" required:"true"` // The ID of a VPC peering connection. @@ -28918,6 +29402,8 @@ type ReplaceRouteTableAssociationInput struct { _ struct{} `type:"structure"` // The association ID. + // + // AssociationId is a required field AssociationId *string `locationName:"associationId" type:"string" required:"true"` // Checks whether you have the required permissions for the action, without @@ -28927,6 +29413,8 @@ type ReplaceRouteTableAssociationInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // The ID of the new route table to associate with the subnet. + // + // RouteTableId is a required field RouteTableId *string `locationName:"routeTableId" type:"string" required:"true"` } @@ -28991,6 +29479,8 @@ type ReportInstanceStatusInput struct { EndTime *time.Time `locationName:"endTime" type:"timestamp" timestampFormat:"iso8601"` // One or more instances. + // + // Instances is a required field Instances []*string `locationName:"instanceId" locationNameList:"InstanceId" type:"list" required:"true"` // One or more reason codes that describes the health state of your instance. @@ -29015,12 +29505,16 @@ type ReportInstanceStatusInput struct { // performance-other: My instance is experiencing performance problems. // // other: [explain using the description parameter] + // + // ReasonCodes is a required field ReasonCodes []*string `locationName:"reasonCode" locationNameList:"item" type:"list" required:"true"` // The time at which the reported instance health state began. StartTime *time.Time `locationName:"startTime" type:"timestamp" timestampFormat:"iso8601"` // The status of all instances listed. + // + // Status is a required field Status *string `locationName:"status" type:"string" required:"true" enum:"ReportStatusType"` } @@ -29078,6 +29572,8 @@ type RequestSpotFleetInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // The configuration for the Spot fleet request. + // + // SpotFleetRequestConfig is a required field SpotFleetRequestConfig *SpotFleetRequestConfigData `locationName:"spotFleetRequestConfig" type:"structure" required:"true"` } @@ -29114,6 +29610,8 @@ type RequestSpotFleetOutput struct { _ struct{} `type:"structure"` // The ID of the Spot fleet request. + // + // SpotFleetRequestId is a required field SpotFleetRequestId *string `locationName:"spotFleetRequestId" type:"string" required:"true"` } @@ -29192,6 +29690,8 @@ type RequestSpotInstancesInput struct { // The maximum hourly price (bid) for any Spot instance launched to fulfill // the request. + // + // SpotPrice is a required field SpotPrice *string `locationName:"spotPrice" type:"string" required:"true"` // The Spot instance request type. @@ -29767,6 +30267,8 @@ type ResetImageAttributeInput struct { // The attribute to reset (currently you can only reset the launch permission // attribute). + // + // Attribute is a required field Attribute *string `type:"string" required:"true" enum:"ResetImageAttributeName"` // Checks whether you have the required permissions for the action, without @@ -29776,6 +30278,8 @@ type ResetImageAttributeInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // The ID of the AMI. + // + // ImageId is a required field ImageId *string `type:"string" required:"true"` } @@ -29827,6 +30331,8 @@ type ResetInstanceAttributeInput struct { // // You can only reset the following attributes: kernel | ramdisk | sourceDestCheck. // To change an instance attribute, use ModifyInstanceAttribute. + // + // Attribute is a required field Attribute *string `locationName:"attribute" type:"string" required:"true" enum:"InstanceAttributeName"` // Checks whether you have the required permissions for the action, without @@ -29836,6 +30342,8 @@ type ResetInstanceAttributeInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // The ID of the instance. + // + // InstanceId is a required field InstanceId *string `locationName:"instanceId" type:"string" required:"true"` } @@ -29890,6 +30398,8 @@ type ResetNetworkInterfaceAttributeInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // The ID of the network interface. + // + // NetworkInterfaceId is a required field NetworkInterfaceId *string `locationName:"networkInterfaceId" type:"string" required:"true"` // The source/destination checking attribute. Resets the value to true. @@ -29939,6 +30449,8 @@ type ResetSnapshotAttributeInput struct { // The attribute to reset. Currently, only the attribute for permission to create // volumes can be reset. + // + // Attribute is a required field Attribute *string `type:"string" required:"true" enum:"SnapshotAttributeName"` // Checks whether you have the required permissions for the action, without @@ -29948,6 +30460,8 @@ type ResetSnapshotAttributeInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // The ID of the snapshot. + // + // SnapshotId is a required field SnapshotId *string `type:"string" required:"true"` } @@ -30002,6 +30516,8 @@ type RestoreAddressToClassicInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // The Elastic IP address. + // + // PublicIp is a required field PublicIp *string `locationName:"publicIp" type:"string" required:"true"` } @@ -30068,6 +30584,8 @@ type RevokeSecurityGroupEgressInput struct { FromPort *int64 `locationName:"fromPort" type:"integer"` // The ID of the security group. + // + // GroupId is a required field GroupId *string `locationName:"groupId" type:"string" required:"true"` // A set of IP permissions. You can't specify a destination security group and @@ -30374,6 +30892,8 @@ type RunInstancesInput struct { IamInstanceProfile *IamInstanceProfileSpecification `locationName:"iamInstanceProfile" type:"structure"` // The ID of the AMI, which you can get by calling DescribeImages. + // + // ImageId is a required field ImageId *string `type:"string" required:"true"` // Indicates whether an instance stops or terminates when you initiate shutdown @@ -30410,6 +30930,8 @@ type RunInstancesInput struct { // instance type. For more information about the default limits, and how to // request an increase, see How many instances can I run in Amazon EC2 (http://aws.amazon.com/ec2/faqs/#How_many_instances_can_I_run_in_Amazon_EC2) // in the Amazon EC2 FAQ. + // + // MaxCount is a required field MaxCount *int64 `type:"integer" required:"true"` // The minimum number of instances to launch. If you specify a minimum that @@ -30420,6 +30942,8 @@ type RunInstancesInput struct { // instance type. For more information about the default limits, and how to // request an increase, see How many instances can I run in Amazon EC2 (http://aws.amazon.com/ec2/faqs/#How_many_instances_can_I_run_in_Amazon_EC2) // in the Amazon EC2 General FAQ. + // + // MinCount is a required field MinCount *int64 `type:"integer" required:"true"` // The monitoring for the instance. @@ -30523,6 +31047,8 @@ type RunInstancesMonitoringEnabled struct { _ struct{} `type:"structure"` // Indicates whether monitoring is enabled for the instance. + // + // Enabled is a required field Enabled *bool `locationName:"enabled" type:"boolean" required:"true"` } @@ -30570,9 +31096,13 @@ type RunScheduledInstancesInput struct { // The launch specification. You must match the instance type, Availability // Zone, network, and platform of the schedule that you purchased. + // + // LaunchSpecification is a required field LaunchSpecification *ScheduledInstancesLaunchSpecification `type:"structure" required:"true"` // The Scheduled Instance ID. + // + // ScheduledInstanceId is a required field ScheduledInstanceId *string `type:"string" required:"true"` } @@ -30984,6 +31514,8 @@ type ScheduledInstancesLaunchSpecification struct { IamInstanceProfile *ScheduledInstancesIamInstanceProfile `type:"structure"` // The ID of the Amazon Machine Image (AMI). + // + // ImageId is a required field ImageId *string `type:"string" required:"true"` // The instance type. @@ -31194,9 +31726,13 @@ type SecurityGroupReference struct { _ struct{} `type:"structure"` // The ID of your security group. + // + // GroupId is a required field GroupId *string `locationName:"groupId" type:"string" required:"true"` // The ID of the VPC with the referencing security group. + // + // ReferencingVpcId is a required field ReferencingVpcId *string `locationName:"referencingVpcId" type:"string" required:"true"` // The ID of the VPC peering connection. @@ -31219,11 +31755,15 @@ type SlotDateTimeRangeRequest struct { _ struct{} `type:"structure"` // The earliest date and time, in UTC, for the Scheduled Instance to start. + // + // EarliestTime is a required field EarliestTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"` // The latest date and time, in UTC, for the Scheduled Instance to start. This // value must be later than or equal to the earliest date and at most three // months in the future. + // + // LatestTime is a required field LatestTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"` } @@ -31632,15 +32172,23 @@ type SpotFleetRequestConfig struct { ActivityStatus *string `locationName:"activityStatus" type:"string" enum:"ActivityStatus"` // The creation date and time of the request. + // + // CreateTime is a required field CreateTime *time.Time `locationName:"createTime" type:"timestamp" timestampFormat:"iso8601" required:"true"` // Information about the configuration of the Spot fleet request. + // + // SpotFleetRequestConfig is a required field SpotFleetRequestConfig *SpotFleetRequestConfigData `locationName:"spotFleetRequestConfig" type:"structure" required:"true"` // The ID of the Spot fleet request. + // + // SpotFleetRequestId is a required field SpotFleetRequestId *string `locationName:"spotFleetRequestId" type:"string" required:"true"` // The state of the Spot fleet request. + // + // SpotFleetRequestState is a required field SpotFleetRequestState *string `locationName:"spotFleetRequestState" type:"string" required:"true" enum:"BatchState"` } @@ -31679,17 +32227,25 @@ type SpotFleetRequestConfigData struct { // Grants the Spot fleet permission to terminate Spot instances on your behalf // when you cancel its Spot fleet request using CancelSpotFleetRequests or when // the Spot fleet request expires, if you set terminateInstancesWithExpiration. + // + // IamFleetRole is a required field IamFleetRole *string `locationName:"iamFleetRole" type:"string" required:"true"` // Information about the launch specifications for the Spot fleet request. + // + // LaunchSpecifications is a required field LaunchSpecifications []*SpotFleetLaunchSpecification `locationName:"launchSpecifications" locationNameList:"item" min:"1" type:"list" required:"true"` // The bid price per unit hour. + // + // SpotPrice is a required field SpotPrice *string `locationName:"spotPrice" type:"string" required:"true"` // The number of units to request. You can choose to set the target capacity // in terms of instances or a performance characteristic that is important to // your application workload, such as vCPUs, memory, or I/O. + // + // TargetCapacity is a required field TargetCapacity *int64 `locationName:"targetCapacity" type:"integer" required:"true"` // Indicates whether running Spot instances should be terminated when the Spot @@ -31992,6 +32548,8 @@ type StaleSecurityGroup struct { Description *string `locationName:"description" type:"string"` // The ID of the security group. + // + // GroupId is a required field GroupId *string `locationName:"groupId" type:"string" required:"true"` // The name of the security group. @@ -32031,6 +32589,8 @@ type StartInstancesInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // One or more instance IDs. + // + // InstanceIds is a required field InstanceIds []*string `locationName:"InstanceId" locationNameList:"InstanceId" type:"list" required:"true"` } @@ -32139,6 +32699,8 @@ type StopInstancesInput struct { Force *bool `locationName:"force" type:"boolean"` // One or more instance IDs. + // + // InstanceIds is a required field InstanceIds []*string `locationName:"InstanceId" locationNameList:"InstanceId" type:"list" required:"true"` } @@ -32331,6 +32893,8 @@ type TargetConfigurationRequest struct { // The Convertible Reserved Instance offering ID. If this isn't included in // the request, the response lists your current Convertible Reserved Instance/s // and their value/s. + // + // OfferingId is a required field OfferingId *string `type:"string" required:"true"` } @@ -32395,6 +32959,8 @@ type TerminateInstancesInput struct { // // Constraints: Up to 1000 instance IDs. We recommend breaking up this request // into smaller batches. + // + // InstanceIds is a required field InstanceIds []*string `locationName:"InstanceId" locationNameList:"InstanceId" type:"list" required:"true"` } @@ -32444,10 +33010,14 @@ type UnassignPrivateIpAddressesInput struct { _ struct{} `type:"structure"` // The ID of the network interface. + // + // NetworkInterfaceId is a required field NetworkInterfaceId *string `locationName:"networkInterfaceId" type:"string" required:"true"` // The secondary private IP addresses to unassign from the network interface. // You can specify this option multiple times to unassign more than one IP address. + // + // PrivateIpAddresses is a required field PrivateIpAddresses []*string `locationName:"privateIpAddress" locationNameList:"PrivateIpAddress" type:"list" required:"true"` } @@ -32502,6 +33072,8 @@ type UnmonitorInstancesInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // One or more instance IDs. + // + // InstanceIds is a required field InstanceIds []*string `locationName:"InstanceId" locationNameList:"InstanceId" type:"list" required:"true"` } @@ -32551,6 +33123,8 @@ type UnsuccessfulItem struct { _ struct{} `type:"structure"` // Information about the error. + // + // Error is a required field Error *UnsuccessfulItemError `locationName:"error" type:"structure" required:"true"` // The ID of the resource. @@ -32573,9 +33147,13 @@ type UnsuccessfulItemError struct { _ struct{} `type:"structure"` // The error code. + // + // Code is a required field Code *string `locationName:"code" type:"string" required:"true"` // The error message accompanying the error code. + // + // Message is a required field Message *string `locationName:"message" type:"string" required:"true"` } @@ -32825,6 +33403,8 @@ type VolumeDetail struct { _ struct{} `type:"structure"` // The size of the volume, in GiB. + // + // Size is a required field Size *int64 `locationName:"size" type:"long" required:"true"` } @@ -33354,1031 +33934,1316 @@ func (s VpnStaticRoute) GoString() string { } const ( - // @enum AccountAttributeName + // AccountAttributeNameSupportedPlatforms is a AccountAttributeName enum value AccountAttributeNameSupportedPlatforms = "supported-platforms" - // @enum AccountAttributeName + + // AccountAttributeNameDefaultVpc is a AccountAttributeName enum value AccountAttributeNameDefaultVpc = "default-vpc" ) const ( - // @enum ActivityStatus + // ActivityStatusError is a ActivityStatus enum value ActivityStatusError = "error" - // @enum ActivityStatus + + // ActivityStatusPendingFulfillment is a ActivityStatus enum value ActivityStatusPendingFulfillment = "pending_fulfillment" - // @enum ActivityStatus + + // ActivityStatusPendingTermination is a ActivityStatus enum value ActivityStatusPendingTermination = "pending_termination" - // @enum ActivityStatus + + // ActivityStatusFulfilled is a ActivityStatus enum value ActivityStatusFulfilled = "fulfilled" ) const ( - // @enum Affinity + // AffinityDefault is a Affinity enum value AffinityDefault = "default" - // @enum Affinity + + // AffinityHost is a Affinity enum value AffinityHost = "host" ) const ( - // @enum AllocationState + // AllocationStateAvailable is a AllocationState enum value AllocationStateAvailable = "available" - // @enum AllocationState + + // AllocationStateUnderAssessment is a AllocationState enum value AllocationStateUnderAssessment = "under-assessment" - // @enum AllocationState + + // AllocationStatePermanentFailure is a AllocationState enum value AllocationStatePermanentFailure = "permanent-failure" - // @enum AllocationState + + // AllocationStateReleased is a AllocationState enum value AllocationStateReleased = "released" - // @enum AllocationState + + // AllocationStateReleasedPermanentFailure is a AllocationState enum value AllocationStateReleasedPermanentFailure = "released-permanent-failure" ) const ( - // @enum AllocationStrategy + // AllocationStrategyLowestPrice is a AllocationStrategy enum value AllocationStrategyLowestPrice = "lowestPrice" - // @enum AllocationStrategy + + // AllocationStrategyDiversified is a AllocationStrategy enum value AllocationStrategyDiversified = "diversified" ) const ( - // @enum ArchitectureValues + // ArchitectureValuesI386 is a ArchitectureValues enum value ArchitectureValuesI386 = "i386" - // @enum ArchitectureValues + + // ArchitectureValuesX8664 is a ArchitectureValues enum value ArchitectureValuesX8664 = "x86_64" ) const ( - // @enum AttachmentStatus + // AttachmentStatusAttaching is a AttachmentStatus enum value AttachmentStatusAttaching = "attaching" - // @enum AttachmentStatus + + // AttachmentStatusAttached is a AttachmentStatus enum value AttachmentStatusAttached = "attached" - // @enum AttachmentStatus + + // AttachmentStatusDetaching is a AttachmentStatus enum value AttachmentStatusDetaching = "detaching" - // @enum AttachmentStatus + + // AttachmentStatusDetached is a AttachmentStatus enum value AttachmentStatusDetached = "detached" ) const ( - // @enum AutoPlacement + // AutoPlacementOn is a AutoPlacement enum value AutoPlacementOn = "on" - // @enum AutoPlacement + + // AutoPlacementOff is a AutoPlacement enum value AutoPlacementOff = "off" ) const ( - // @enum AvailabilityZoneState + // AvailabilityZoneStateAvailable is a AvailabilityZoneState enum value AvailabilityZoneStateAvailable = "available" - // @enum AvailabilityZoneState + + // AvailabilityZoneStateInformation is a AvailabilityZoneState enum value AvailabilityZoneStateInformation = "information" - // @enum AvailabilityZoneState + + // AvailabilityZoneStateImpaired is a AvailabilityZoneState enum value AvailabilityZoneStateImpaired = "impaired" - // @enum AvailabilityZoneState + + // AvailabilityZoneStateUnavailable is a AvailabilityZoneState enum value AvailabilityZoneStateUnavailable = "unavailable" ) const ( - // @enum BatchState + // BatchStateSubmitted is a BatchState enum value BatchStateSubmitted = "submitted" - // @enum BatchState + + // BatchStateActive is a BatchState enum value BatchStateActive = "active" - // @enum BatchState + + // BatchStateCancelled is a BatchState enum value BatchStateCancelled = "cancelled" - // @enum BatchState + + // BatchStateFailed is a BatchState enum value BatchStateFailed = "failed" - // @enum BatchState + + // BatchStateCancelledRunning is a BatchState enum value BatchStateCancelledRunning = "cancelled_running" - // @enum BatchState + + // BatchStateCancelledTerminating is a BatchState enum value BatchStateCancelledTerminating = "cancelled_terminating" - // @enum BatchState + + // BatchStateModifying is a BatchState enum value BatchStateModifying = "modifying" ) const ( - // @enum BundleTaskState + // BundleTaskStatePending is a BundleTaskState enum value BundleTaskStatePending = "pending" - // @enum BundleTaskState + + // BundleTaskStateWaitingForShutdown is a BundleTaskState enum value BundleTaskStateWaitingForShutdown = "waiting-for-shutdown" - // @enum BundleTaskState + + // BundleTaskStateBundling is a BundleTaskState enum value BundleTaskStateBundling = "bundling" - // @enum BundleTaskState + + // BundleTaskStateStoring is a BundleTaskState enum value BundleTaskStateStoring = "storing" - // @enum BundleTaskState + + // BundleTaskStateCancelling is a BundleTaskState enum value BundleTaskStateCancelling = "cancelling" - // @enum BundleTaskState + + // BundleTaskStateComplete is a BundleTaskState enum value BundleTaskStateComplete = "complete" - // @enum BundleTaskState + + // BundleTaskStateFailed is a BundleTaskState enum value BundleTaskStateFailed = "failed" ) const ( - // @enum CancelBatchErrorCode + // CancelBatchErrorCodeFleetRequestIdDoesNotExist is a CancelBatchErrorCode enum value CancelBatchErrorCodeFleetRequestIdDoesNotExist = "fleetRequestIdDoesNotExist" - // @enum CancelBatchErrorCode + + // CancelBatchErrorCodeFleetRequestIdMalformed is a CancelBatchErrorCode enum value CancelBatchErrorCodeFleetRequestIdMalformed = "fleetRequestIdMalformed" - // @enum CancelBatchErrorCode + + // CancelBatchErrorCodeFleetRequestNotInCancellableState is a CancelBatchErrorCode enum value CancelBatchErrorCodeFleetRequestNotInCancellableState = "fleetRequestNotInCancellableState" - // @enum CancelBatchErrorCode + + // CancelBatchErrorCodeUnexpectedError is a CancelBatchErrorCode enum value CancelBatchErrorCodeUnexpectedError = "unexpectedError" ) const ( - // @enum CancelSpotInstanceRequestState + // CancelSpotInstanceRequestStateActive is a CancelSpotInstanceRequestState enum value CancelSpotInstanceRequestStateActive = "active" - // @enum CancelSpotInstanceRequestState + + // CancelSpotInstanceRequestStateOpen is a CancelSpotInstanceRequestState enum value CancelSpotInstanceRequestStateOpen = "open" - // @enum CancelSpotInstanceRequestState + + // CancelSpotInstanceRequestStateClosed is a CancelSpotInstanceRequestState enum value CancelSpotInstanceRequestStateClosed = "closed" - // @enum CancelSpotInstanceRequestState + + // CancelSpotInstanceRequestStateCancelled is a CancelSpotInstanceRequestState enum value CancelSpotInstanceRequestStateCancelled = "cancelled" - // @enum CancelSpotInstanceRequestState + + // CancelSpotInstanceRequestStateCompleted is a CancelSpotInstanceRequestState enum value CancelSpotInstanceRequestStateCompleted = "completed" ) const ( - // @enum ContainerFormat + // ContainerFormatOva is a ContainerFormat enum value ContainerFormatOva = "ova" ) const ( - // @enum ConversionTaskState + // ConversionTaskStateActive is a ConversionTaskState enum value ConversionTaskStateActive = "active" - // @enum ConversionTaskState + + // ConversionTaskStateCancelling is a ConversionTaskState enum value ConversionTaskStateCancelling = "cancelling" - // @enum ConversionTaskState + + // ConversionTaskStateCancelled is a ConversionTaskState enum value ConversionTaskStateCancelled = "cancelled" - // @enum ConversionTaskState + + // ConversionTaskStateCompleted is a ConversionTaskState enum value ConversionTaskStateCompleted = "completed" ) const ( - // @enum CurrencyCodeValues + // CurrencyCodeValuesUsd is a CurrencyCodeValues enum value CurrencyCodeValuesUsd = "USD" ) const ( - // @enum DatafeedSubscriptionState + // DatafeedSubscriptionStateActive is a DatafeedSubscriptionState enum value DatafeedSubscriptionStateActive = "Active" - // @enum DatafeedSubscriptionState + + // DatafeedSubscriptionStateInactive is a DatafeedSubscriptionState enum value DatafeedSubscriptionStateInactive = "Inactive" ) const ( - // @enum DeviceType + // DeviceTypeEbs is a DeviceType enum value DeviceTypeEbs = "ebs" - // @enum DeviceType + + // DeviceTypeInstanceStore is a DeviceType enum value DeviceTypeInstanceStore = "instance-store" ) const ( - // @enum DiskImageFormat + // DiskImageFormatVmdk is a DiskImageFormat enum value DiskImageFormatVmdk = "VMDK" - // @enum DiskImageFormat + + // DiskImageFormatRaw is a DiskImageFormat enum value DiskImageFormatRaw = "RAW" - // @enum DiskImageFormat + + // DiskImageFormatVhd is a DiskImageFormat enum value DiskImageFormatVhd = "VHD" ) const ( - // @enum DomainType + // DomainTypeVpc is a DomainType enum value DomainTypeVpc = "vpc" - // @enum DomainType + + // DomainTypeStandard is a DomainType enum value DomainTypeStandard = "standard" ) const ( - // @enum EventCode + // EventCodeInstanceReboot is a EventCode enum value EventCodeInstanceReboot = "instance-reboot" - // @enum EventCode + + // EventCodeSystemReboot is a EventCode enum value EventCodeSystemReboot = "system-reboot" - // @enum EventCode + + // EventCodeSystemMaintenance is a EventCode enum value EventCodeSystemMaintenance = "system-maintenance" - // @enum EventCode + + // EventCodeInstanceRetirement is a EventCode enum value EventCodeInstanceRetirement = "instance-retirement" - // @enum EventCode + + // EventCodeInstanceStop is a EventCode enum value EventCodeInstanceStop = "instance-stop" ) const ( - // @enum EventType + // EventTypeInstanceChange is a EventType enum value EventTypeInstanceChange = "instanceChange" - // @enum EventType + + // EventTypeFleetRequestChange is a EventType enum value EventTypeFleetRequestChange = "fleetRequestChange" - // @enum EventType + + // EventTypeError is a EventType enum value EventTypeError = "error" ) const ( - // @enum ExcessCapacityTerminationPolicy + // ExcessCapacityTerminationPolicyNoTermination is a ExcessCapacityTerminationPolicy enum value ExcessCapacityTerminationPolicyNoTermination = "noTermination" - // @enum ExcessCapacityTerminationPolicy + + // ExcessCapacityTerminationPolicyDefault is a ExcessCapacityTerminationPolicy enum value ExcessCapacityTerminationPolicyDefault = "default" ) const ( - // @enum ExportEnvironment + // ExportEnvironmentCitrix is a ExportEnvironment enum value ExportEnvironmentCitrix = "citrix" - // @enum ExportEnvironment + + // ExportEnvironmentVmware is a ExportEnvironment enum value ExportEnvironmentVmware = "vmware" - // @enum ExportEnvironment + + // ExportEnvironmentMicrosoft is a ExportEnvironment enum value ExportEnvironmentMicrosoft = "microsoft" ) const ( - // @enum ExportTaskState + // ExportTaskStateActive is a ExportTaskState enum value ExportTaskStateActive = "active" - // @enum ExportTaskState + + // ExportTaskStateCancelling is a ExportTaskState enum value ExportTaskStateCancelling = "cancelling" - // @enum ExportTaskState + + // ExportTaskStateCancelled is a ExportTaskState enum value ExportTaskStateCancelled = "cancelled" - // @enum ExportTaskState + + // ExportTaskStateCompleted is a ExportTaskState enum value ExportTaskStateCompleted = "completed" ) const ( - // @enum FleetType + // FleetTypeRequest is a FleetType enum value FleetTypeRequest = "request" - // @enum FleetType + + // FleetTypeMaintain is a FleetType enum value FleetTypeMaintain = "maintain" ) const ( - // @enum FlowLogsResourceType + // FlowLogsResourceTypeVpc is a FlowLogsResourceType enum value FlowLogsResourceTypeVpc = "VPC" - // @enum FlowLogsResourceType + + // FlowLogsResourceTypeSubnet is a FlowLogsResourceType enum value FlowLogsResourceTypeSubnet = "Subnet" - // @enum FlowLogsResourceType + + // FlowLogsResourceTypeNetworkInterface is a FlowLogsResourceType enum value FlowLogsResourceTypeNetworkInterface = "NetworkInterface" ) const ( - // @enum GatewayType + // GatewayTypeIpsec1 is a GatewayType enum value GatewayTypeIpsec1 = "ipsec.1" ) const ( - // @enum HostTenancy + // HostTenancyDedicated is a HostTenancy enum value HostTenancyDedicated = "dedicated" - // @enum HostTenancy + + // HostTenancyHost is a HostTenancy enum value HostTenancyHost = "host" ) const ( - // @enum HypervisorType + // HypervisorTypeOvm is a HypervisorType enum value HypervisorTypeOvm = "ovm" - // @enum HypervisorType + + // HypervisorTypeXen is a HypervisorType enum value HypervisorTypeXen = "xen" ) const ( - // @enum ImageAttributeName + // ImageAttributeNameDescription is a ImageAttributeName enum value ImageAttributeNameDescription = "description" - // @enum ImageAttributeName + + // ImageAttributeNameKernel is a ImageAttributeName enum value ImageAttributeNameKernel = "kernel" - // @enum ImageAttributeName + + // ImageAttributeNameRamdisk is a ImageAttributeName enum value ImageAttributeNameRamdisk = "ramdisk" - // @enum ImageAttributeName + + // ImageAttributeNameLaunchPermission is a ImageAttributeName enum value ImageAttributeNameLaunchPermission = "launchPermission" - // @enum ImageAttributeName + + // ImageAttributeNameProductCodes is a ImageAttributeName enum value ImageAttributeNameProductCodes = "productCodes" - // @enum ImageAttributeName + + // ImageAttributeNameBlockDeviceMapping is a ImageAttributeName enum value ImageAttributeNameBlockDeviceMapping = "blockDeviceMapping" - // @enum ImageAttributeName + + // ImageAttributeNameSriovNetSupport is a ImageAttributeName enum value ImageAttributeNameSriovNetSupport = "sriovNetSupport" ) const ( - // @enum ImageState + // ImageStatePending is a ImageState enum value ImageStatePending = "pending" - // @enum ImageState + + // ImageStateAvailable is a ImageState enum value ImageStateAvailable = "available" - // @enum ImageState + + // ImageStateInvalid is a ImageState enum value ImageStateInvalid = "invalid" - // @enum ImageState + + // ImageStateDeregistered is a ImageState enum value ImageStateDeregistered = "deregistered" - // @enum ImageState + + // ImageStateTransient is a ImageState enum value ImageStateTransient = "transient" - // @enum ImageState + + // ImageStateFailed is a ImageState enum value ImageStateFailed = "failed" - // @enum ImageState + + // ImageStateError is a ImageState enum value ImageStateError = "error" ) const ( - // @enum ImageTypeValues + // ImageTypeValuesMachine is a ImageTypeValues enum value ImageTypeValuesMachine = "machine" - // @enum ImageTypeValues + + // ImageTypeValuesKernel is a ImageTypeValues enum value ImageTypeValuesKernel = "kernel" - // @enum ImageTypeValues + + // ImageTypeValuesRamdisk is a ImageTypeValues enum value ImageTypeValuesRamdisk = "ramdisk" ) const ( - // @enum InstanceAttributeName + // InstanceAttributeNameInstanceType is a InstanceAttributeName enum value InstanceAttributeNameInstanceType = "instanceType" - // @enum InstanceAttributeName + + // InstanceAttributeNameKernel is a InstanceAttributeName enum value InstanceAttributeNameKernel = "kernel" - // @enum InstanceAttributeName + + // InstanceAttributeNameRamdisk is a InstanceAttributeName enum value InstanceAttributeNameRamdisk = "ramdisk" - // @enum InstanceAttributeName + + // InstanceAttributeNameUserData is a InstanceAttributeName enum value InstanceAttributeNameUserData = "userData" - // @enum InstanceAttributeName + + // InstanceAttributeNameDisableApiTermination is a InstanceAttributeName enum value InstanceAttributeNameDisableApiTermination = "disableApiTermination" - // @enum InstanceAttributeName + + // InstanceAttributeNameInstanceInitiatedShutdownBehavior is a InstanceAttributeName enum value InstanceAttributeNameInstanceInitiatedShutdownBehavior = "instanceInitiatedShutdownBehavior" - // @enum InstanceAttributeName + + // InstanceAttributeNameRootDeviceName is a InstanceAttributeName enum value InstanceAttributeNameRootDeviceName = "rootDeviceName" - // @enum InstanceAttributeName + + // InstanceAttributeNameBlockDeviceMapping is a InstanceAttributeName enum value InstanceAttributeNameBlockDeviceMapping = "blockDeviceMapping" - // @enum InstanceAttributeName + + // InstanceAttributeNameProductCodes is a InstanceAttributeName enum value InstanceAttributeNameProductCodes = "productCodes" - // @enum InstanceAttributeName + + // InstanceAttributeNameSourceDestCheck is a InstanceAttributeName enum value InstanceAttributeNameSourceDestCheck = "sourceDestCheck" - // @enum InstanceAttributeName + + // InstanceAttributeNameGroupSet is a InstanceAttributeName enum value InstanceAttributeNameGroupSet = "groupSet" - // @enum InstanceAttributeName + + // InstanceAttributeNameEbsOptimized is a InstanceAttributeName enum value InstanceAttributeNameEbsOptimized = "ebsOptimized" - // @enum InstanceAttributeName + + // InstanceAttributeNameSriovNetSupport is a InstanceAttributeName enum value InstanceAttributeNameSriovNetSupport = "sriovNetSupport" - // @enum InstanceAttributeName + + // InstanceAttributeNameEnaSupport is a InstanceAttributeName enum value InstanceAttributeNameEnaSupport = "enaSupport" ) const ( - // @enum InstanceLifecycleType + // InstanceLifecycleTypeSpot is a InstanceLifecycleType enum value InstanceLifecycleTypeSpot = "spot" - // @enum InstanceLifecycleType + + // InstanceLifecycleTypeScheduled is a InstanceLifecycleType enum value InstanceLifecycleTypeScheduled = "scheduled" ) const ( - // @enum InstanceStateName + // InstanceStateNamePending is a InstanceStateName enum value InstanceStateNamePending = "pending" - // @enum InstanceStateName + + // InstanceStateNameRunning is a InstanceStateName enum value InstanceStateNameRunning = "running" - // @enum InstanceStateName + + // InstanceStateNameShuttingDown is a InstanceStateName enum value InstanceStateNameShuttingDown = "shutting-down" - // @enum InstanceStateName + + // InstanceStateNameTerminated is a InstanceStateName enum value InstanceStateNameTerminated = "terminated" - // @enum InstanceStateName + + // InstanceStateNameStopping is a InstanceStateName enum value InstanceStateNameStopping = "stopping" - // @enum InstanceStateName + + // InstanceStateNameStopped is a InstanceStateName enum value InstanceStateNameStopped = "stopped" ) const ( - // @enum InstanceType + // InstanceTypeT1Micro is a InstanceType enum value InstanceTypeT1Micro = "t1.micro" - // @enum InstanceType + + // InstanceTypeT2Nano is a InstanceType enum value InstanceTypeT2Nano = "t2.nano" - // @enum InstanceType + + // InstanceTypeT2Micro is a InstanceType enum value InstanceTypeT2Micro = "t2.micro" - // @enum InstanceType + + // InstanceTypeT2Small is a InstanceType enum value InstanceTypeT2Small = "t2.small" - // @enum InstanceType + + // InstanceTypeT2Medium is a InstanceType enum value InstanceTypeT2Medium = "t2.medium" - // @enum InstanceType + + // InstanceTypeT2Large is a InstanceType enum value InstanceTypeT2Large = "t2.large" - // @enum InstanceType + + // InstanceTypeM1Small is a InstanceType enum value InstanceTypeM1Small = "m1.small" - // @enum InstanceType + + // InstanceTypeM1Medium is a InstanceType enum value InstanceTypeM1Medium = "m1.medium" - // @enum InstanceType + + // InstanceTypeM1Large is a InstanceType enum value InstanceTypeM1Large = "m1.large" - // @enum InstanceType + + // InstanceTypeM1Xlarge is a InstanceType enum value InstanceTypeM1Xlarge = "m1.xlarge" - // @enum InstanceType + + // InstanceTypeM3Medium is a InstanceType enum value InstanceTypeM3Medium = "m3.medium" - // @enum InstanceType + + // InstanceTypeM3Large is a InstanceType enum value InstanceTypeM3Large = "m3.large" - // @enum InstanceType + + // InstanceTypeM3Xlarge is a InstanceType enum value InstanceTypeM3Xlarge = "m3.xlarge" - // @enum InstanceType + + // InstanceTypeM32xlarge is a InstanceType enum value InstanceTypeM32xlarge = "m3.2xlarge" - // @enum InstanceType + + // InstanceTypeM4Large is a InstanceType enum value InstanceTypeM4Large = "m4.large" - // @enum InstanceType + + // InstanceTypeM4Xlarge is a InstanceType enum value InstanceTypeM4Xlarge = "m4.xlarge" - // @enum InstanceType + + // InstanceTypeM42xlarge is a InstanceType enum value InstanceTypeM42xlarge = "m4.2xlarge" - // @enum InstanceType + + // InstanceTypeM44xlarge is a InstanceType enum value InstanceTypeM44xlarge = "m4.4xlarge" - // @enum InstanceType + + // InstanceTypeM410xlarge is a InstanceType enum value InstanceTypeM410xlarge = "m4.10xlarge" - // @enum InstanceType + + // InstanceTypeM416xlarge is a InstanceType enum value InstanceTypeM416xlarge = "m4.16xlarge" - // @enum InstanceType + + // InstanceTypeM2Xlarge is a InstanceType enum value InstanceTypeM2Xlarge = "m2.xlarge" - // @enum InstanceType + + // InstanceTypeM22xlarge is a InstanceType enum value InstanceTypeM22xlarge = "m2.2xlarge" - // @enum InstanceType + + // InstanceTypeM24xlarge is a InstanceType enum value InstanceTypeM24xlarge = "m2.4xlarge" - // @enum InstanceType + + // InstanceTypeCr18xlarge is a InstanceType enum value InstanceTypeCr18xlarge = "cr1.8xlarge" - // @enum InstanceType + + // InstanceTypeR3Large is a InstanceType enum value InstanceTypeR3Large = "r3.large" - // @enum InstanceType + + // InstanceTypeR3Xlarge is a InstanceType enum value InstanceTypeR3Xlarge = "r3.xlarge" - // @enum InstanceType + + // InstanceTypeR32xlarge is a InstanceType enum value InstanceTypeR32xlarge = "r3.2xlarge" - // @enum InstanceType + + // InstanceTypeR34xlarge is a InstanceType enum value InstanceTypeR34xlarge = "r3.4xlarge" - // @enum InstanceType + + // InstanceTypeR38xlarge is a InstanceType enum value InstanceTypeR38xlarge = "r3.8xlarge" - // @enum InstanceType + + // InstanceTypeX116xlarge is a InstanceType enum value InstanceTypeX116xlarge = "x1.16xlarge" - // @enum InstanceType + + // InstanceTypeX132xlarge is a InstanceType enum value InstanceTypeX132xlarge = "x1.32xlarge" - // @enum InstanceType + + // InstanceTypeI2Xlarge is a InstanceType enum value InstanceTypeI2Xlarge = "i2.xlarge" - // @enum InstanceType + + // InstanceTypeI22xlarge is a InstanceType enum value InstanceTypeI22xlarge = "i2.2xlarge" - // @enum InstanceType + + // InstanceTypeI24xlarge is a InstanceType enum value InstanceTypeI24xlarge = "i2.4xlarge" - // @enum InstanceType + + // InstanceTypeI28xlarge is a InstanceType enum value InstanceTypeI28xlarge = "i2.8xlarge" - // @enum InstanceType + + // InstanceTypeHi14xlarge is a InstanceType enum value InstanceTypeHi14xlarge = "hi1.4xlarge" - // @enum InstanceType + + // InstanceTypeHs18xlarge is a InstanceType enum value InstanceTypeHs18xlarge = "hs1.8xlarge" - // @enum InstanceType + + // InstanceTypeC1Medium is a InstanceType enum value InstanceTypeC1Medium = "c1.medium" - // @enum InstanceType + + // InstanceTypeC1Xlarge is a InstanceType enum value InstanceTypeC1Xlarge = "c1.xlarge" - // @enum InstanceType + + // InstanceTypeC3Large is a InstanceType enum value InstanceTypeC3Large = "c3.large" - // @enum InstanceType + + // InstanceTypeC3Xlarge is a InstanceType enum value InstanceTypeC3Xlarge = "c3.xlarge" - // @enum InstanceType + + // InstanceTypeC32xlarge is a InstanceType enum value InstanceTypeC32xlarge = "c3.2xlarge" - // @enum InstanceType + + // InstanceTypeC34xlarge is a InstanceType enum value InstanceTypeC34xlarge = "c3.4xlarge" - // @enum InstanceType + + // InstanceTypeC38xlarge is a InstanceType enum value InstanceTypeC38xlarge = "c3.8xlarge" - // @enum InstanceType + + // InstanceTypeC4Large is a InstanceType enum value InstanceTypeC4Large = "c4.large" - // @enum InstanceType + + // InstanceTypeC4Xlarge is a InstanceType enum value InstanceTypeC4Xlarge = "c4.xlarge" - // @enum InstanceType + + // InstanceTypeC42xlarge is a InstanceType enum value InstanceTypeC42xlarge = "c4.2xlarge" - // @enum InstanceType + + // InstanceTypeC44xlarge is a InstanceType enum value InstanceTypeC44xlarge = "c4.4xlarge" - // @enum InstanceType + + // InstanceTypeC48xlarge is a InstanceType enum value InstanceTypeC48xlarge = "c4.8xlarge" - // @enum InstanceType + + // InstanceTypeCc14xlarge is a InstanceType enum value InstanceTypeCc14xlarge = "cc1.4xlarge" - // @enum InstanceType + + // InstanceTypeCc28xlarge is a InstanceType enum value InstanceTypeCc28xlarge = "cc2.8xlarge" - // @enum InstanceType + + // InstanceTypeG22xlarge is a InstanceType enum value InstanceTypeG22xlarge = "g2.2xlarge" - // @enum InstanceType + + // InstanceTypeG28xlarge is a InstanceType enum value InstanceTypeG28xlarge = "g2.8xlarge" - // @enum InstanceType + + // InstanceTypeCg14xlarge is a InstanceType enum value InstanceTypeCg14xlarge = "cg1.4xlarge" - // @enum InstanceType + + // InstanceTypeP2Xlarge is a InstanceType enum value InstanceTypeP2Xlarge = "p2.xlarge" - // @enum InstanceType + + // InstanceTypeP28xlarge is a InstanceType enum value InstanceTypeP28xlarge = "p2.8xlarge" - // @enum InstanceType + + // InstanceTypeP216xlarge is a InstanceType enum value InstanceTypeP216xlarge = "p2.16xlarge" - // @enum InstanceType + + // InstanceTypeD2Xlarge is a InstanceType enum value InstanceTypeD2Xlarge = "d2.xlarge" - // @enum InstanceType + + // InstanceTypeD22xlarge is a InstanceType enum value InstanceTypeD22xlarge = "d2.2xlarge" - // @enum InstanceType + + // InstanceTypeD24xlarge is a InstanceType enum value InstanceTypeD24xlarge = "d2.4xlarge" - // @enum InstanceType + + // InstanceTypeD28xlarge is a InstanceType enum value InstanceTypeD28xlarge = "d2.8xlarge" ) const ( - // @enum ListingState + // ListingStateAvailable is a ListingState enum value ListingStateAvailable = "available" - // @enum ListingState + + // ListingStateSold is a ListingState enum value ListingStateSold = "sold" - // @enum ListingState + + // ListingStateCancelled is a ListingState enum value ListingStateCancelled = "cancelled" - // @enum ListingState + + // ListingStatePending is a ListingState enum value ListingStatePending = "pending" ) const ( - // @enum ListingStatus + // ListingStatusActive is a ListingStatus enum value ListingStatusActive = "active" - // @enum ListingStatus + + // ListingStatusPending is a ListingStatus enum value ListingStatusPending = "pending" - // @enum ListingStatus + + // ListingStatusCancelled is a ListingStatus enum value ListingStatusCancelled = "cancelled" - // @enum ListingStatus + + // ListingStatusClosed is a ListingStatus enum value ListingStatusClosed = "closed" ) const ( - // @enum MonitoringState + // MonitoringStateDisabled is a MonitoringState enum value MonitoringStateDisabled = "disabled" - // @enum MonitoringState + + // MonitoringStateDisabling is a MonitoringState enum value MonitoringStateDisabling = "disabling" - // @enum MonitoringState + + // MonitoringStateEnabled is a MonitoringState enum value MonitoringStateEnabled = "enabled" - // @enum MonitoringState + + // MonitoringStatePending is a MonitoringState enum value MonitoringStatePending = "pending" ) const ( - // @enum MoveStatus + // MoveStatusMovingToVpc is a MoveStatus enum value MoveStatusMovingToVpc = "movingToVpc" - // @enum MoveStatus + + // MoveStatusRestoringToClassic is a MoveStatus enum value MoveStatusRestoringToClassic = "restoringToClassic" ) const ( - // @enum NatGatewayState + // NatGatewayStatePending is a NatGatewayState enum value NatGatewayStatePending = "pending" - // @enum NatGatewayState + + // NatGatewayStateFailed is a NatGatewayState enum value NatGatewayStateFailed = "failed" - // @enum NatGatewayState + + // NatGatewayStateAvailable is a NatGatewayState enum value NatGatewayStateAvailable = "available" - // @enum NatGatewayState + + // NatGatewayStateDeleting is a NatGatewayState enum value NatGatewayStateDeleting = "deleting" - // @enum NatGatewayState + + // NatGatewayStateDeleted is a NatGatewayState enum value NatGatewayStateDeleted = "deleted" ) const ( - // @enum NetworkInterfaceAttribute + // NetworkInterfaceAttributeDescription is a NetworkInterfaceAttribute enum value NetworkInterfaceAttributeDescription = "description" - // @enum NetworkInterfaceAttribute + + // NetworkInterfaceAttributeGroupSet is a NetworkInterfaceAttribute enum value NetworkInterfaceAttributeGroupSet = "groupSet" - // @enum NetworkInterfaceAttribute + + // NetworkInterfaceAttributeSourceDestCheck is a NetworkInterfaceAttribute enum value NetworkInterfaceAttributeSourceDestCheck = "sourceDestCheck" - // @enum NetworkInterfaceAttribute + + // NetworkInterfaceAttributeAttachment is a NetworkInterfaceAttribute enum value NetworkInterfaceAttributeAttachment = "attachment" ) const ( - // @enum NetworkInterfaceStatus + // NetworkInterfaceStatusAvailable is a NetworkInterfaceStatus enum value NetworkInterfaceStatusAvailable = "available" - // @enum NetworkInterfaceStatus + + // NetworkInterfaceStatusAttaching is a NetworkInterfaceStatus enum value NetworkInterfaceStatusAttaching = "attaching" - // @enum NetworkInterfaceStatus + + // NetworkInterfaceStatusInUse is a NetworkInterfaceStatus enum value NetworkInterfaceStatusInUse = "in-use" - // @enum NetworkInterfaceStatus + + // NetworkInterfaceStatusDetaching is a NetworkInterfaceStatus enum value NetworkInterfaceStatusDetaching = "detaching" ) const ( - // @enum NetworkInterfaceType + // NetworkInterfaceTypeInterface is a NetworkInterfaceType enum value NetworkInterfaceTypeInterface = "interface" - // @enum NetworkInterfaceType + + // NetworkInterfaceTypeNatGateway is a NetworkInterfaceType enum value NetworkInterfaceTypeNatGateway = "natGateway" ) const ( - // @enum OfferingClassType + // OfferingClassTypeStandard is a OfferingClassType enum value OfferingClassTypeStandard = "standard" - // @enum OfferingClassType + + // OfferingClassTypeConvertible is a OfferingClassType enum value OfferingClassTypeConvertible = "convertible" ) const ( - // @enum OfferingTypeValues + // OfferingTypeValuesHeavyUtilization is a OfferingTypeValues enum value OfferingTypeValuesHeavyUtilization = "Heavy Utilization" - // @enum OfferingTypeValues + + // OfferingTypeValuesMediumUtilization is a OfferingTypeValues enum value OfferingTypeValuesMediumUtilization = "Medium Utilization" - // @enum OfferingTypeValues + + // OfferingTypeValuesLightUtilization is a OfferingTypeValues enum value OfferingTypeValuesLightUtilization = "Light Utilization" - // @enum OfferingTypeValues + + // OfferingTypeValuesNoUpfront is a OfferingTypeValues enum value OfferingTypeValuesNoUpfront = "No Upfront" - // @enum OfferingTypeValues + + // OfferingTypeValuesPartialUpfront is a OfferingTypeValues enum value OfferingTypeValuesPartialUpfront = "Partial Upfront" - // @enum OfferingTypeValues + + // OfferingTypeValuesAllUpfront is a OfferingTypeValues enum value OfferingTypeValuesAllUpfront = "All Upfront" ) const ( - // @enum OperationType + // OperationTypeAdd is a OperationType enum value OperationTypeAdd = "add" - // @enum OperationType + + // OperationTypeRemove is a OperationType enum value OperationTypeRemove = "remove" ) const ( - // @enum PaymentOption + // PaymentOptionAllUpfront is a PaymentOption enum value PaymentOptionAllUpfront = "AllUpfront" - // @enum PaymentOption + + // PaymentOptionPartialUpfront is a PaymentOption enum value PaymentOptionPartialUpfront = "PartialUpfront" - // @enum PaymentOption + + // PaymentOptionNoUpfront is a PaymentOption enum value PaymentOptionNoUpfront = "NoUpfront" ) const ( - // @enum PermissionGroup + // PermissionGroupAll is a PermissionGroup enum value PermissionGroupAll = "all" ) const ( - // @enum PlacementGroupState + // PlacementGroupStatePending is a PlacementGroupState enum value PlacementGroupStatePending = "pending" - // @enum PlacementGroupState + + // PlacementGroupStateAvailable is a PlacementGroupState enum value PlacementGroupStateAvailable = "available" - // @enum PlacementGroupState + + // PlacementGroupStateDeleting is a PlacementGroupState enum value PlacementGroupStateDeleting = "deleting" - // @enum PlacementGroupState + + // PlacementGroupStateDeleted is a PlacementGroupState enum value PlacementGroupStateDeleted = "deleted" ) const ( - // @enum PlacementStrategy + // PlacementStrategyCluster is a PlacementStrategy enum value PlacementStrategyCluster = "cluster" ) const ( - // @enum PlatformValues + // PlatformValuesWindows is a PlatformValues enum value PlatformValuesWindows = "Windows" ) const ( - // @enum ProductCodeValues + // ProductCodeValuesDevpay is a ProductCodeValues enum value ProductCodeValuesDevpay = "devpay" - // @enum ProductCodeValues + + // ProductCodeValuesMarketplace is a ProductCodeValues enum value ProductCodeValuesMarketplace = "marketplace" ) const ( - // @enum RIProductDescription + // RIProductDescriptionLinuxUnix is a RIProductDescription enum value RIProductDescriptionLinuxUnix = "Linux/UNIX" - // @enum RIProductDescription + + // RIProductDescriptionLinuxUnixamazonVpc is a RIProductDescription enum value RIProductDescriptionLinuxUnixamazonVpc = "Linux/UNIX (Amazon VPC)" - // @enum RIProductDescription + + // RIProductDescriptionWindows is a RIProductDescription enum value RIProductDescriptionWindows = "Windows" - // @enum RIProductDescription + + // RIProductDescriptionWindowsAmazonVpc is a RIProductDescription enum value RIProductDescriptionWindowsAmazonVpc = "Windows (Amazon VPC)" ) const ( - // @enum RecurringChargeFrequency + // RecurringChargeFrequencyHourly is a RecurringChargeFrequency enum value RecurringChargeFrequencyHourly = "Hourly" ) const ( - // @enum ReportInstanceReasonCodes + // ReportInstanceReasonCodesInstanceStuckInState is a ReportInstanceReasonCodes enum value ReportInstanceReasonCodesInstanceStuckInState = "instance-stuck-in-state" - // @enum ReportInstanceReasonCodes + + // ReportInstanceReasonCodesUnresponsive is a ReportInstanceReasonCodes enum value ReportInstanceReasonCodesUnresponsive = "unresponsive" - // @enum ReportInstanceReasonCodes + + // ReportInstanceReasonCodesNotAcceptingCredentials is a ReportInstanceReasonCodes enum value ReportInstanceReasonCodesNotAcceptingCredentials = "not-accepting-credentials" - // @enum ReportInstanceReasonCodes + + // ReportInstanceReasonCodesPasswordNotAvailable is a ReportInstanceReasonCodes enum value ReportInstanceReasonCodesPasswordNotAvailable = "password-not-available" - // @enum ReportInstanceReasonCodes + + // ReportInstanceReasonCodesPerformanceNetwork is a ReportInstanceReasonCodes enum value ReportInstanceReasonCodesPerformanceNetwork = "performance-network" - // @enum ReportInstanceReasonCodes + + // ReportInstanceReasonCodesPerformanceInstanceStore is a ReportInstanceReasonCodes enum value ReportInstanceReasonCodesPerformanceInstanceStore = "performance-instance-store" - // @enum ReportInstanceReasonCodes + + // ReportInstanceReasonCodesPerformanceEbsVolume is a ReportInstanceReasonCodes enum value ReportInstanceReasonCodesPerformanceEbsVolume = "performance-ebs-volume" - // @enum ReportInstanceReasonCodes + + // ReportInstanceReasonCodesPerformanceOther is a ReportInstanceReasonCodes enum value ReportInstanceReasonCodesPerformanceOther = "performance-other" - // @enum ReportInstanceReasonCodes + + // ReportInstanceReasonCodesOther is a ReportInstanceReasonCodes enum value ReportInstanceReasonCodesOther = "other" ) const ( - // @enum ReportStatusType + // ReportStatusTypeOk is a ReportStatusType enum value ReportStatusTypeOk = "ok" - // @enum ReportStatusType + + // ReportStatusTypeImpaired is a ReportStatusType enum value ReportStatusTypeImpaired = "impaired" ) const ( - // @enum ReservationState + // ReservationStatePaymentPending is a ReservationState enum value ReservationStatePaymentPending = "payment-pending" - // @enum ReservationState + + // ReservationStatePaymentFailed is a ReservationState enum value ReservationStatePaymentFailed = "payment-failed" - // @enum ReservationState + + // ReservationStateActive is a ReservationState enum value ReservationStateActive = "active" - // @enum ReservationState + + // ReservationStateRetired is a ReservationState enum value ReservationStateRetired = "retired" ) const ( - // @enum ReservedInstanceState + // ReservedInstanceStatePaymentPending is a ReservedInstanceState enum value ReservedInstanceStatePaymentPending = "payment-pending" - // @enum ReservedInstanceState + + // ReservedInstanceStateActive is a ReservedInstanceState enum value ReservedInstanceStateActive = "active" - // @enum ReservedInstanceState + + // ReservedInstanceStatePaymentFailed is a ReservedInstanceState enum value ReservedInstanceStatePaymentFailed = "payment-failed" - // @enum ReservedInstanceState + + // ReservedInstanceStateRetired is a ReservedInstanceState enum value ReservedInstanceStateRetired = "retired" ) const ( - // @enum ResetImageAttributeName + // ResetImageAttributeNameLaunchPermission is a ResetImageAttributeName enum value ResetImageAttributeNameLaunchPermission = "launchPermission" ) const ( - // @enum ResourceType + // ResourceTypeCustomerGateway is a ResourceType enum value ResourceTypeCustomerGateway = "customer-gateway" - // @enum ResourceType + + // ResourceTypeDhcpOptions is a ResourceType enum value ResourceTypeDhcpOptions = "dhcp-options" - // @enum ResourceType + + // ResourceTypeImage is a ResourceType enum value ResourceTypeImage = "image" - // @enum ResourceType + + // ResourceTypeInstance is a ResourceType enum value ResourceTypeInstance = "instance" - // @enum ResourceType + + // ResourceTypeInternetGateway is a ResourceType enum value ResourceTypeInternetGateway = "internet-gateway" - // @enum ResourceType + + // ResourceTypeNetworkAcl is a ResourceType enum value ResourceTypeNetworkAcl = "network-acl" - // @enum ResourceType + + // ResourceTypeNetworkInterface is a ResourceType enum value ResourceTypeNetworkInterface = "network-interface" - // @enum ResourceType + + // ResourceTypeReservedInstances is a ResourceType enum value ResourceTypeReservedInstances = "reserved-instances" - // @enum ResourceType + + // ResourceTypeRouteTable is a ResourceType enum value ResourceTypeRouteTable = "route-table" - // @enum ResourceType + + // ResourceTypeSnapshot is a ResourceType enum value ResourceTypeSnapshot = "snapshot" - // @enum ResourceType + + // ResourceTypeSpotInstancesRequest is a ResourceType enum value ResourceTypeSpotInstancesRequest = "spot-instances-request" - // @enum ResourceType + + // ResourceTypeSubnet is a ResourceType enum value ResourceTypeSubnet = "subnet" - // @enum ResourceType + + // ResourceTypeSecurityGroup is a ResourceType enum value ResourceTypeSecurityGroup = "security-group" - // @enum ResourceType + + // ResourceTypeVolume is a ResourceType enum value ResourceTypeVolume = "volume" - // @enum ResourceType + + // ResourceTypeVpc is a ResourceType enum value ResourceTypeVpc = "vpc" - // @enum ResourceType + + // ResourceTypeVpnConnection is a ResourceType enum value ResourceTypeVpnConnection = "vpn-connection" - // @enum ResourceType + + // ResourceTypeVpnGateway is a ResourceType enum value ResourceTypeVpnGateway = "vpn-gateway" ) const ( - // @enum RouteOrigin + // RouteOriginCreateRouteTable is a RouteOrigin enum value RouteOriginCreateRouteTable = "CreateRouteTable" - // @enum RouteOrigin + + // RouteOriginCreateRoute is a RouteOrigin enum value RouteOriginCreateRoute = "CreateRoute" - // @enum RouteOrigin + + // RouteOriginEnableVgwRoutePropagation is a RouteOrigin enum value RouteOriginEnableVgwRoutePropagation = "EnableVgwRoutePropagation" ) const ( - // @enum RouteState + // RouteStateActive is a RouteState enum value RouteStateActive = "active" - // @enum RouteState + + // RouteStateBlackhole is a RouteState enum value RouteStateBlackhole = "blackhole" ) const ( - // @enum RuleAction + // RuleActionAllow is a RuleAction enum value RuleActionAllow = "allow" - // @enum RuleAction + + // RuleActionDeny is a RuleAction enum value RuleActionDeny = "deny" ) const ( - // @enum ShutdownBehavior + // ShutdownBehaviorStop is a ShutdownBehavior enum value ShutdownBehaviorStop = "stop" - // @enum ShutdownBehavior + + // ShutdownBehaviorTerminate is a ShutdownBehavior enum value ShutdownBehaviorTerminate = "terminate" ) const ( - // @enum SnapshotAttributeName + // SnapshotAttributeNameProductCodes is a SnapshotAttributeName enum value SnapshotAttributeNameProductCodes = "productCodes" - // @enum SnapshotAttributeName + + // SnapshotAttributeNameCreateVolumePermission is a SnapshotAttributeName enum value SnapshotAttributeNameCreateVolumePermission = "createVolumePermission" ) const ( - // @enum SnapshotState + // SnapshotStatePending is a SnapshotState enum value SnapshotStatePending = "pending" - // @enum SnapshotState + + // SnapshotStateCompleted is a SnapshotState enum value SnapshotStateCompleted = "completed" - // @enum SnapshotState + + // SnapshotStateError is a SnapshotState enum value SnapshotStateError = "error" ) const ( - // @enum SpotInstanceState + // SpotInstanceStateOpen is a SpotInstanceState enum value SpotInstanceStateOpen = "open" - // @enum SpotInstanceState + + // SpotInstanceStateActive is a SpotInstanceState enum value SpotInstanceStateActive = "active" - // @enum SpotInstanceState + + // SpotInstanceStateClosed is a SpotInstanceState enum value SpotInstanceStateClosed = "closed" - // @enum SpotInstanceState + + // SpotInstanceStateCancelled is a SpotInstanceState enum value SpotInstanceStateCancelled = "cancelled" - // @enum SpotInstanceState + + // SpotInstanceStateFailed is a SpotInstanceState enum value SpotInstanceStateFailed = "failed" ) const ( - // @enum SpotInstanceType + // SpotInstanceTypeOneTime is a SpotInstanceType enum value SpotInstanceTypeOneTime = "one-time" - // @enum SpotInstanceType + + // SpotInstanceTypePersistent is a SpotInstanceType enum value SpotInstanceTypePersistent = "persistent" ) const ( - // @enum State + // StatePending is a State enum value StatePending = "Pending" - // @enum State + + // StateAvailable is a State enum value StateAvailable = "Available" - // @enum State + + // StateDeleting is a State enum value StateDeleting = "Deleting" - // @enum State + + // StateDeleted is a State enum value StateDeleted = "Deleted" ) const ( - // @enum Status + // StatusMoveInProgress is a Status enum value StatusMoveInProgress = "MoveInProgress" - // @enum Status + + // StatusInVpc is a Status enum value StatusInVpc = "InVpc" - // @enum Status + + // StatusInClassic is a Status enum value StatusInClassic = "InClassic" ) const ( - // @enum StatusName + // StatusNameReachability is a StatusName enum value StatusNameReachability = "reachability" ) const ( - // @enum StatusType + // StatusTypePassed is a StatusType enum value StatusTypePassed = "passed" - // @enum StatusType + + // StatusTypeFailed is a StatusType enum value StatusTypeFailed = "failed" - // @enum StatusType + + // StatusTypeInsufficientData is a StatusType enum value StatusTypeInsufficientData = "insufficient-data" - // @enum StatusType + + // StatusTypeInitializing is a StatusType enum value StatusTypeInitializing = "initializing" ) const ( - // @enum SubnetState + // SubnetStatePending is a SubnetState enum value SubnetStatePending = "pending" - // @enum SubnetState + + // SubnetStateAvailable is a SubnetState enum value SubnetStateAvailable = "available" ) const ( - // @enum SummaryStatus + // SummaryStatusOk is a SummaryStatus enum value SummaryStatusOk = "ok" - // @enum SummaryStatus + + // SummaryStatusImpaired is a SummaryStatus enum value SummaryStatusImpaired = "impaired" - // @enum SummaryStatus + + // SummaryStatusInsufficientData is a SummaryStatus enum value SummaryStatusInsufficientData = "insufficient-data" - // @enum SummaryStatus + + // SummaryStatusNotApplicable is a SummaryStatus enum value SummaryStatusNotApplicable = "not-applicable" - // @enum SummaryStatus + + // SummaryStatusInitializing is a SummaryStatus enum value SummaryStatusInitializing = "initializing" ) const ( - // @enum TelemetryStatus + // TelemetryStatusUp is a TelemetryStatus enum value TelemetryStatusUp = "UP" - // @enum TelemetryStatus + + // TelemetryStatusDown is a TelemetryStatus enum value TelemetryStatusDown = "DOWN" ) const ( - // @enum Tenancy + // TenancyDefault is a Tenancy enum value TenancyDefault = "default" - // @enum Tenancy + + // TenancyDedicated is a Tenancy enum value TenancyDedicated = "dedicated" - // @enum Tenancy + + // TenancyHost is a Tenancy enum value TenancyHost = "host" ) const ( - // @enum TrafficType + // TrafficTypeAccept is a TrafficType enum value TrafficTypeAccept = "ACCEPT" - // @enum TrafficType + + // TrafficTypeReject is a TrafficType enum value TrafficTypeReject = "REJECT" - // @enum TrafficType + + // TrafficTypeAll is a TrafficType enum value TrafficTypeAll = "ALL" ) const ( - // @enum VirtualizationType + // VirtualizationTypeHvm is a VirtualizationType enum value VirtualizationTypeHvm = "hvm" - // @enum VirtualizationType + + // VirtualizationTypeParavirtual is a VirtualizationType enum value VirtualizationTypeParavirtual = "paravirtual" ) const ( - // @enum VolumeAttachmentState + // VolumeAttachmentStateAttaching is a VolumeAttachmentState enum value VolumeAttachmentStateAttaching = "attaching" - // @enum VolumeAttachmentState + + // VolumeAttachmentStateAttached is a VolumeAttachmentState enum value VolumeAttachmentStateAttached = "attached" - // @enum VolumeAttachmentState + + // VolumeAttachmentStateDetaching is a VolumeAttachmentState enum value VolumeAttachmentStateDetaching = "detaching" - // @enum VolumeAttachmentState + + // VolumeAttachmentStateDetached is a VolumeAttachmentState enum value VolumeAttachmentStateDetached = "detached" ) const ( - // @enum VolumeAttributeName + // VolumeAttributeNameAutoEnableIo is a VolumeAttributeName enum value VolumeAttributeNameAutoEnableIo = "autoEnableIO" - // @enum VolumeAttributeName + + // VolumeAttributeNameProductCodes is a VolumeAttributeName enum value VolumeAttributeNameProductCodes = "productCodes" ) const ( - // @enum VolumeState + // VolumeStateCreating is a VolumeState enum value VolumeStateCreating = "creating" - // @enum VolumeState + + // VolumeStateAvailable is a VolumeState enum value VolumeStateAvailable = "available" - // @enum VolumeState + + // VolumeStateInUse is a VolumeState enum value VolumeStateInUse = "in-use" - // @enum VolumeState + + // VolumeStateDeleting is a VolumeState enum value VolumeStateDeleting = "deleting" - // @enum VolumeState + + // VolumeStateDeleted is a VolumeState enum value VolumeStateDeleted = "deleted" - // @enum VolumeState + + // VolumeStateError is a VolumeState enum value VolumeStateError = "error" ) const ( - // @enum VolumeStatusInfoStatus + // VolumeStatusInfoStatusOk is a VolumeStatusInfoStatus enum value VolumeStatusInfoStatusOk = "ok" - // @enum VolumeStatusInfoStatus + + // VolumeStatusInfoStatusImpaired is a VolumeStatusInfoStatus enum value VolumeStatusInfoStatusImpaired = "impaired" - // @enum VolumeStatusInfoStatus + + // VolumeStatusInfoStatusInsufficientData is a VolumeStatusInfoStatus enum value VolumeStatusInfoStatusInsufficientData = "insufficient-data" ) const ( - // @enum VolumeStatusName + // VolumeStatusNameIoEnabled is a VolumeStatusName enum value VolumeStatusNameIoEnabled = "io-enabled" - // @enum VolumeStatusName + + // VolumeStatusNameIoPerformance is a VolumeStatusName enum value VolumeStatusNameIoPerformance = "io-performance" ) const ( - // @enum VolumeType + // VolumeTypeStandard is a VolumeType enum value VolumeTypeStandard = "standard" - // @enum VolumeType + + // VolumeTypeIo1 is a VolumeType enum value VolumeTypeIo1 = "io1" - // @enum VolumeType + + // VolumeTypeGp2 is a VolumeType enum value VolumeTypeGp2 = "gp2" - // @enum VolumeType + + // VolumeTypeSc1 is a VolumeType enum value VolumeTypeSc1 = "sc1" - // @enum VolumeType + + // VolumeTypeSt1 is a VolumeType enum value VolumeTypeSt1 = "st1" ) const ( - // @enum VpcAttributeName + // VpcAttributeNameEnableDnsSupport is a VpcAttributeName enum value VpcAttributeNameEnableDnsSupport = "enableDnsSupport" - // @enum VpcAttributeName + + // VpcAttributeNameEnableDnsHostnames is a VpcAttributeName enum value VpcAttributeNameEnableDnsHostnames = "enableDnsHostnames" ) const ( - // @enum VpcPeeringConnectionStateReasonCode + // VpcPeeringConnectionStateReasonCodeInitiatingRequest is a VpcPeeringConnectionStateReasonCode enum value VpcPeeringConnectionStateReasonCodeInitiatingRequest = "initiating-request" - // @enum VpcPeeringConnectionStateReasonCode + + // VpcPeeringConnectionStateReasonCodePendingAcceptance is a VpcPeeringConnectionStateReasonCode enum value VpcPeeringConnectionStateReasonCodePendingAcceptance = "pending-acceptance" - // @enum VpcPeeringConnectionStateReasonCode + + // VpcPeeringConnectionStateReasonCodeActive is a VpcPeeringConnectionStateReasonCode enum value VpcPeeringConnectionStateReasonCodeActive = "active" - // @enum VpcPeeringConnectionStateReasonCode + + // VpcPeeringConnectionStateReasonCodeDeleted is a VpcPeeringConnectionStateReasonCode enum value VpcPeeringConnectionStateReasonCodeDeleted = "deleted" - // @enum VpcPeeringConnectionStateReasonCode + + // VpcPeeringConnectionStateReasonCodeRejected is a VpcPeeringConnectionStateReasonCode enum value VpcPeeringConnectionStateReasonCodeRejected = "rejected" - // @enum VpcPeeringConnectionStateReasonCode + + // VpcPeeringConnectionStateReasonCodeFailed is a VpcPeeringConnectionStateReasonCode enum value VpcPeeringConnectionStateReasonCodeFailed = "failed" - // @enum VpcPeeringConnectionStateReasonCode + + // VpcPeeringConnectionStateReasonCodeExpired is a VpcPeeringConnectionStateReasonCode enum value VpcPeeringConnectionStateReasonCodeExpired = "expired" - // @enum VpcPeeringConnectionStateReasonCode + + // VpcPeeringConnectionStateReasonCodeProvisioning is a VpcPeeringConnectionStateReasonCode enum value VpcPeeringConnectionStateReasonCodeProvisioning = "provisioning" - // @enum VpcPeeringConnectionStateReasonCode + + // VpcPeeringConnectionStateReasonCodeDeleting is a VpcPeeringConnectionStateReasonCode enum value VpcPeeringConnectionStateReasonCodeDeleting = "deleting" ) const ( - // @enum VpcState + // VpcStatePending is a VpcState enum value VpcStatePending = "pending" - // @enum VpcState + + // VpcStateAvailable is a VpcState enum value VpcStateAvailable = "available" ) const ( - // @enum VpnState + // VpnStatePending is a VpnState enum value VpnStatePending = "pending" - // @enum VpnState + + // VpnStateAvailable is a VpnState enum value VpnStateAvailable = "available" - // @enum VpnState + + // VpnStateDeleting is a VpnState enum value VpnStateDeleting = "deleting" - // @enum VpnState + + // VpnStateDeleted is a VpnState enum value VpnStateDeleted = "deleted" ) const ( - // @enum VpnStaticRouteSource + // VpnStaticRouteSourceStatic is a VpnStaticRouteSource enum value VpnStaticRouteSourceStatic = "Static" ) const ( - // @enum scope + // ScopeAvailabilityZone is a scope enum value ScopeAvailabilityZone = "Availability Zone" - // @enum scope + + // ScopeRegion is a scope enum value ScopeRegion = "Region" ) diff --git a/service/ec2/waiters.go b/service/ec2/waiters.go index bee4a057fff..94fab6d847b 100644 --- a/service/ec2/waiters.go +++ b/service/ec2/waiters.go @@ -6,6 +6,10 @@ import ( "github.com/aws/aws-sdk-go/private/waiter" ) +// WaitUntilBundleTaskComplete uses the Amazon EC2 API operation +// DescribeBundleTasks to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *EC2) WaitUntilBundleTaskComplete(input *DescribeBundleTasksInput) error { waiterCfg := waiter.Config{ Operation: "DescribeBundleTasks", @@ -35,6 +39,10 @@ func (c *EC2) WaitUntilBundleTaskComplete(input *DescribeBundleTasksInput) error return w.Wait() } +// WaitUntilConversionTaskCancelled uses the Amazon EC2 API operation +// DescribeConversionTasks to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *EC2) WaitUntilConversionTaskCancelled(input *DescribeConversionTasksInput) error { waiterCfg := waiter.Config{ Operation: "DescribeConversionTasks", @@ -58,6 +66,10 @@ func (c *EC2) WaitUntilConversionTaskCancelled(input *DescribeConversionTasksInp return w.Wait() } +// WaitUntilConversionTaskCompleted uses the Amazon EC2 API operation +// DescribeConversionTasks to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *EC2) WaitUntilConversionTaskCompleted(input *DescribeConversionTasksInput) error { waiterCfg := waiter.Config{ Operation: "DescribeConversionTasks", @@ -93,6 +105,10 @@ func (c *EC2) WaitUntilConversionTaskCompleted(input *DescribeConversionTasksInp return w.Wait() } +// WaitUntilConversionTaskDeleted uses the Amazon EC2 API operation +// DescribeConversionTasks to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *EC2) WaitUntilConversionTaskDeleted(input *DescribeConversionTasksInput) error { waiterCfg := waiter.Config{ Operation: "DescribeConversionTasks", @@ -116,6 +132,10 @@ func (c *EC2) WaitUntilConversionTaskDeleted(input *DescribeConversionTasksInput return w.Wait() } +// WaitUntilCustomerGatewayAvailable uses the Amazon EC2 API operation +// DescribeCustomerGateways to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *EC2) WaitUntilCustomerGatewayAvailable(input *DescribeCustomerGatewaysInput) error { waiterCfg := waiter.Config{ Operation: "DescribeCustomerGateways", @@ -151,6 +171,10 @@ func (c *EC2) WaitUntilCustomerGatewayAvailable(input *DescribeCustomerGatewaysI return w.Wait() } +// WaitUntilExportTaskCancelled uses the Amazon EC2 API operation +// DescribeExportTasks to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *EC2) WaitUntilExportTaskCancelled(input *DescribeExportTasksInput) error { waiterCfg := waiter.Config{ Operation: "DescribeExportTasks", @@ -174,6 +198,10 @@ func (c *EC2) WaitUntilExportTaskCancelled(input *DescribeExportTasksInput) erro return w.Wait() } +// WaitUntilExportTaskCompleted uses the Amazon EC2 API operation +// DescribeExportTasks to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *EC2) WaitUntilExportTaskCompleted(input *DescribeExportTasksInput) error { waiterCfg := waiter.Config{ Operation: "DescribeExportTasks", @@ -197,6 +225,10 @@ func (c *EC2) WaitUntilExportTaskCompleted(input *DescribeExportTasksInput) erro return w.Wait() } +// WaitUntilImageAvailable uses the Amazon EC2 API operation +// DescribeImages to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *EC2) WaitUntilImageAvailable(input *DescribeImagesInput) error { waiterCfg := waiter.Config{ Operation: "DescribeImages", @@ -226,6 +258,10 @@ func (c *EC2) WaitUntilImageAvailable(input *DescribeImagesInput) error { return w.Wait() } +// WaitUntilImageExists uses the Amazon EC2 API operation +// DescribeImages to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *EC2) WaitUntilImageExists(input *DescribeImagesInput) error { waiterCfg := waiter.Config{ Operation: "DescribeImages", @@ -255,6 +291,10 @@ func (c *EC2) WaitUntilImageExists(input *DescribeImagesInput) error { return w.Wait() } +// WaitUntilInstanceExists uses the Amazon EC2 API operation +// DescribeInstances to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *EC2) WaitUntilInstanceExists(input *DescribeInstancesInput) error { waiterCfg := waiter.Config{ Operation: "DescribeInstances", @@ -284,6 +324,10 @@ func (c *EC2) WaitUntilInstanceExists(input *DescribeInstancesInput) error { return w.Wait() } +// WaitUntilInstanceRunning uses the Amazon EC2 API operation +// DescribeInstances to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *EC2) WaitUntilInstanceRunning(input *DescribeInstancesInput) error { waiterCfg := waiter.Config{ Operation: "DescribeInstances", @@ -331,6 +375,10 @@ func (c *EC2) WaitUntilInstanceRunning(input *DescribeInstancesInput) error { return w.Wait() } +// WaitUntilInstanceStatusOk uses the Amazon EC2 API operation +// DescribeInstanceStatus to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *EC2) WaitUntilInstanceStatusOk(input *DescribeInstanceStatusInput) error { waiterCfg := waiter.Config{ Operation: "DescribeInstanceStatus", @@ -360,6 +408,10 @@ func (c *EC2) WaitUntilInstanceStatusOk(input *DescribeInstanceStatusInput) erro return w.Wait() } +// WaitUntilInstanceStopped uses the Amazon EC2 API operation +// DescribeInstances to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *EC2) WaitUntilInstanceStopped(input *DescribeInstancesInput) error { waiterCfg := waiter.Config{ Operation: "DescribeInstances", @@ -395,6 +447,10 @@ func (c *EC2) WaitUntilInstanceStopped(input *DescribeInstancesInput) error { return w.Wait() } +// WaitUntilInstanceTerminated uses the Amazon EC2 API operation +// DescribeInstances to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *EC2) WaitUntilInstanceTerminated(input *DescribeInstancesInput) error { waiterCfg := waiter.Config{ Operation: "DescribeInstances", @@ -430,6 +486,10 @@ func (c *EC2) WaitUntilInstanceTerminated(input *DescribeInstancesInput) error { return w.Wait() } +// WaitUntilKeyPairExists uses the Amazon EC2 API operation +// DescribeKeyPairs to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *EC2) WaitUntilKeyPairExists(input *DescribeKeyPairsInput) error { waiterCfg := waiter.Config{ Operation: "DescribeKeyPairs", @@ -459,6 +519,10 @@ func (c *EC2) WaitUntilKeyPairExists(input *DescribeKeyPairsInput) error { return w.Wait() } +// WaitUntilNatGatewayAvailable uses the Amazon EC2 API operation +// DescribeNatGateways to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *EC2) WaitUntilNatGatewayAvailable(input *DescribeNatGatewaysInput) error { waiterCfg := waiter.Config{ Operation: "DescribeNatGateways", @@ -506,6 +570,10 @@ func (c *EC2) WaitUntilNatGatewayAvailable(input *DescribeNatGatewaysInput) erro return w.Wait() } +// WaitUntilNetworkInterfaceAvailable uses the Amazon EC2 API operation +// DescribeNetworkInterfaces to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *EC2) WaitUntilNetworkInterfaceAvailable(input *DescribeNetworkInterfacesInput) error { waiterCfg := waiter.Config{ Operation: "DescribeNetworkInterfaces", @@ -535,6 +603,10 @@ func (c *EC2) WaitUntilNetworkInterfaceAvailable(input *DescribeNetworkInterface return w.Wait() } +// WaitUntilPasswordDataAvailable uses the Amazon EC2 API operation +// GetPasswordData to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *EC2) WaitUntilPasswordDataAvailable(input *GetPasswordDataInput) error { waiterCfg := waiter.Config{ Operation: "GetPasswordData", @@ -558,6 +630,10 @@ func (c *EC2) WaitUntilPasswordDataAvailable(input *GetPasswordDataInput) error return w.Wait() } +// WaitUntilSnapshotCompleted uses the Amazon EC2 API operation +// DescribeSnapshots to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *EC2) WaitUntilSnapshotCompleted(input *DescribeSnapshotsInput) error { waiterCfg := waiter.Config{ Operation: "DescribeSnapshots", @@ -581,6 +657,10 @@ func (c *EC2) WaitUntilSnapshotCompleted(input *DescribeSnapshotsInput) error { return w.Wait() } +// WaitUntilSpotInstanceRequestFulfilled uses the Amazon EC2 API operation +// DescribeSpotInstanceRequests to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *EC2) WaitUntilSpotInstanceRequestFulfilled(input *DescribeSpotInstanceRequestsInput) error { waiterCfg := waiter.Config{ Operation: "DescribeSpotInstanceRequests", @@ -628,6 +708,10 @@ func (c *EC2) WaitUntilSpotInstanceRequestFulfilled(input *DescribeSpotInstanceR return w.Wait() } +// WaitUntilSubnetAvailable uses the Amazon EC2 API operation +// DescribeSubnets to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *EC2) WaitUntilSubnetAvailable(input *DescribeSubnetsInput) error { waiterCfg := waiter.Config{ Operation: "DescribeSubnets", @@ -651,6 +735,10 @@ func (c *EC2) WaitUntilSubnetAvailable(input *DescribeSubnetsInput) error { return w.Wait() } +// WaitUntilSystemStatusOk uses the Amazon EC2 API operation +// DescribeInstanceStatus to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *EC2) WaitUntilSystemStatusOk(input *DescribeInstanceStatusInput) error { waiterCfg := waiter.Config{ Operation: "DescribeInstanceStatus", @@ -674,6 +762,10 @@ func (c *EC2) WaitUntilSystemStatusOk(input *DescribeInstanceStatusInput) error return w.Wait() } +// WaitUntilVolumeAvailable uses the Amazon EC2 API operation +// DescribeVolumes to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *EC2) WaitUntilVolumeAvailable(input *DescribeVolumesInput) error { waiterCfg := waiter.Config{ Operation: "DescribeVolumes", @@ -703,6 +795,10 @@ func (c *EC2) WaitUntilVolumeAvailable(input *DescribeVolumesInput) error { return w.Wait() } +// WaitUntilVolumeDeleted uses the Amazon EC2 API operation +// DescribeVolumes to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *EC2) WaitUntilVolumeDeleted(input *DescribeVolumesInput) error { waiterCfg := waiter.Config{ Operation: "DescribeVolumes", @@ -732,6 +828,10 @@ func (c *EC2) WaitUntilVolumeDeleted(input *DescribeVolumesInput) error { return w.Wait() } +// WaitUntilVolumeInUse uses the Amazon EC2 API operation +// DescribeVolumes to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *EC2) WaitUntilVolumeInUse(input *DescribeVolumesInput) error { waiterCfg := waiter.Config{ Operation: "DescribeVolumes", @@ -761,6 +861,10 @@ func (c *EC2) WaitUntilVolumeInUse(input *DescribeVolumesInput) error { return w.Wait() } +// WaitUntilVpcAvailable uses the Amazon EC2 API operation +// DescribeVpcs to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *EC2) WaitUntilVpcAvailable(input *DescribeVpcsInput) error { waiterCfg := waiter.Config{ Operation: "DescribeVpcs", @@ -784,6 +888,10 @@ func (c *EC2) WaitUntilVpcAvailable(input *DescribeVpcsInput) error { return w.Wait() } +// WaitUntilVpcExists uses the Amazon EC2 API operation +// DescribeVpcs to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *EC2) WaitUntilVpcExists(input *DescribeVpcsInput) error { waiterCfg := waiter.Config{ Operation: "DescribeVpcs", @@ -813,6 +921,10 @@ func (c *EC2) WaitUntilVpcExists(input *DescribeVpcsInput) error { return w.Wait() } +// WaitUntilVpcPeeringConnectionExists uses the Amazon EC2 API operation +// DescribeVpcPeeringConnections to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *EC2) WaitUntilVpcPeeringConnectionExists(input *DescribeVpcPeeringConnectionsInput) error { waiterCfg := waiter.Config{ Operation: "DescribeVpcPeeringConnections", @@ -842,6 +954,10 @@ func (c *EC2) WaitUntilVpcPeeringConnectionExists(input *DescribeVpcPeeringConne return w.Wait() } +// WaitUntilVpnConnectionAvailable uses the Amazon EC2 API operation +// DescribeVpnConnections to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *EC2) WaitUntilVpnConnectionAvailable(input *DescribeVpnConnectionsInput) error { waiterCfg := waiter.Config{ Operation: "DescribeVpnConnections", @@ -877,6 +993,10 @@ func (c *EC2) WaitUntilVpnConnectionAvailable(input *DescribeVpnConnectionsInput return w.Wait() } +// WaitUntilVpnConnectionDeleted uses the Amazon EC2 API operation +// DescribeVpnConnections to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *EC2) WaitUntilVpnConnectionDeleted(input *DescribeVpnConnectionsInput) error { waiterCfg := waiter.Config{ Operation: "DescribeVpnConnections", diff --git a/service/ecr/api.go b/service/ecr/api.go index 41d66af4fc2..34a728fb2a1 100644 --- a/service/ecr/api.go +++ b/service/ecr/api.go @@ -849,6 +849,8 @@ type BatchCheckLayerAvailabilityInput struct { _ struct{} `type:"structure"` // The digests of the image layers to check. + // + // LayerDigests is a required field LayerDigests []*string `locationName:"layerDigests" min:"1" type:"list" required:"true"` // The AWS account ID associated with the registry that contains the image layers @@ -856,6 +858,8 @@ type BatchCheckLayerAvailabilityInput struct { RegistryId *string `locationName:"registryId" type:"string"` // The name of the repository that is associated with the image layers to check. + // + // RepositoryName is a required field RepositoryName *string `locationName:"repositoryName" min:"2" type:"string" required:"true"` } @@ -919,6 +923,8 @@ type BatchDeleteImageInput struct { // A list of image ID references that correspond to images to delete. The format // of the imageIds reference is imageTag=tag or imageDigest=digest. + // + // ImageIds is a required field ImageIds []*ImageIdentifier `locationName:"imageIds" min:"1" type:"list" required:"true"` // The AWS account ID associated with the registry that contains the image to @@ -926,6 +932,8 @@ type BatchDeleteImageInput struct { RegistryId *string `locationName:"registryId" type:"string"` // The repository that contains the image to delete. + // + // RepositoryName is a required field RepositoryName *string `locationName:"repositoryName" min:"2" type:"string" required:"true"` } @@ -986,6 +994,8 @@ type BatchGetImageInput struct { // A list of image ID references that correspond to images to describe. The // format of the imageIds reference is imageTag=tag or imageDigest=digest. + // + // ImageIds is a required field ImageIds []*ImageIdentifier `locationName:"imageIds" min:"1" type:"list" required:"true"` // The AWS account ID associated with the registry that contains the images @@ -993,6 +1003,8 @@ type BatchGetImageInput struct { RegistryId *string `locationName:"registryId" type:"string"` // The repository that contains the images to describe. + // + // RepositoryName is a required field RepositoryName *string `locationName:"repositoryName" min:"2" type:"string" required:"true"` } @@ -1052,6 +1064,8 @@ type CompleteLayerUploadInput struct { _ struct{} `type:"structure"` // The sha256 digest of the image layer. + // + // LayerDigests is a required field LayerDigests []*string `locationName:"layerDigests" min:"1" type:"list" required:"true"` // The AWS account ID associated with the registry to which to upload layers. @@ -1059,10 +1073,14 @@ type CompleteLayerUploadInput struct { RegistryId *string `locationName:"registryId" type:"string"` // The name of the repository to associate with the image layer. + // + // RepositoryName is a required field RepositoryName *string `locationName:"repositoryName" min:"2" type:"string" required:"true"` // The upload ID from a previous InitiateLayerUpload operation to associate // with the image layer. + // + // UploadId is a required field UploadId *string `locationName:"uploadId" type:"string" required:"true"` } @@ -1133,6 +1151,8 @@ type CreateRepositoryInput struct { // The name to use for the repository. The repository name may be specified // on its own (such as nginx-web-app) or it can be prepended with a namespace // to group the repository into a category (such as project-a/nginx-web-app). + // + // RepositoryName is a required field RepositoryName *string `locationName:"repositoryName" min:"2" type:"string" required:"true"` } @@ -1190,6 +1210,8 @@ type DeleteRepositoryInput struct { RegistryId *string `locationName:"registryId" type:"string"` // The name of the repository to delete. + // + // RepositoryName is a required field RepositoryName *string `locationName:"repositoryName" min:"2" type:"string" required:"true"` } @@ -1246,6 +1268,8 @@ type DeleteRepositoryPolicyInput struct { // The name of the repository that is associated with the repository policy // to delete. + // + // RepositoryName is a required field RepositoryName *string `locationName:"repositoryName" min:"2" type:"string" required:"true"` } @@ -1433,6 +1457,8 @@ type GetDownloadUrlForLayerInput struct { _ struct{} `type:"structure"` // The digest of the image layer to download. + // + // LayerDigest is a required field LayerDigest *string `locationName:"layerDigest" type:"string" required:"true"` // The AWS account ID associated with the registry that contains the image layer @@ -1440,6 +1466,8 @@ type GetDownloadUrlForLayerInput struct { RegistryId *string `locationName:"registryId" type:"string"` // The name of the repository that is associated with the image layer to download. + // + // RepositoryName is a required field RepositoryName *string `locationName:"repositoryName" min:"2" type:"string" required:"true"` } @@ -1500,6 +1528,8 @@ type GetRepositoryPolicyInput struct { RegistryId *string `locationName:"registryId" type:"string"` // The name of the repository whose policy you want to retrieve. + // + // RepositoryName is a required field RepositoryName *string `locationName:"repositoryName" min:"2" type:"string" required:"true"` } @@ -1632,6 +1662,8 @@ type InitiateLayerUploadInput struct { RegistryId *string `locationName:"registryId" type:"string"` // The name of the repository that you intend to upload layers to. + // + // RepositoryName is a required field RepositoryName *string `locationName:"repositoryName" min:"2" type:"string" required:"true"` } @@ -1781,6 +1813,8 @@ type ListImagesInput struct { RegistryId *string `locationName:"registryId" type:"string"` // The repository whose image IDs are to be listed. + // + // RepositoryName is a required field RepositoryName *string `locationName:"repositoryName" min:"2" type:"string" required:"true"` } @@ -1840,6 +1874,8 @@ type PutImageInput struct { _ struct{} `type:"structure"` // The image manifest corresponding to the image to be uploaded. + // + // ImageManifest is a required field ImageManifest *string `locationName:"imageManifest" type:"string" required:"true"` // The AWS account ID associated with the registry that contains the repository @@ -1848,6 +1884,8 @@ type PutImageInput struct { RegistryId *string `locationName:"registryId" type:"string"` // The name of the repository in which to put the image. + // + // RepositoryName is a required field RepositoryName *string `locationName:"repositoryName" min:"2" type:"string" required:"true"` } @@ -1937,6 +1975,8 @@ type SetRepositoryPolicyInput struct { Force *bool `locationName:"force" type:"boolean"` // The JSON repository policy text to apply to the repository. + // + // PolicyText is a required field PolicyText *string `locationName:"policyText" type:"string" required:"true"` // The AWS account ID associated with the registry that contains the repository. @@ -1944,6 +1984,8 @@ type SetRepositoryPolicyInput struct { RegistryId *string `locationName:"registryId" type:"string"` // The name of the repository to receive the policy. + // + // RepositoryName is a required field RepositoryName *string `locationName:"repositoryName" min:"2" type:"string" required:"true"` } @@ -2005,12 +2047,18 @@ type UploadLayerPartInput struct { // The base64-encoded layer part payload. // // LayerPartBlob is automatically base64 encoded/decoded by the SDK. + // + // LayerPartBlob is a required field LayerPartBlob []byte `locationName:"layerPartBlob" type:"blob" required:"true"` // The integer value of the first byte of the layer part. + // + // PartFirstByte is a required field PartFirstByte *int64 `locationName:"partFirstByte" type:"long" required:"true"` // The integer value of the last byte of the layer part. + // + // PartLastByte is a required field PartLastByte *int64 `locationName:"partLastByte" type:"long" required:"true"` // The AWS account ID associated with the registry that you are uploading layer @@ -2018,10 +2066,14 @@ type UploadLayerPartInput struct { RegistryId *string `locationName:"registryId" type:"string"` // The name of the repository that you are uploading layer parts to. + // + // RepositoryName is a required field RepositoryName *string `locationName:"repositoryName" min:"2" type:"string" required:"true"` // The upload ID from a previous InitiateLayerUpload operation to associate // with the layer part upload. + // + // UploadId is a required field UploadId *string `locationName:"uploadId" type:"string" required:"true"` } @@ -2090,35 +2142,42 @@ func (s UploadLayerPartOutput) GoString() string { } const ( - // @enum ImageFailureCode + // ImageFailureCodeInvalidImageDigest is a ImageFailureCode enum value ImageFailureCodeInvalidImageDigest = "InvalidImageDigest" - // @enum ImageFailureCode + + // ImageFailureCodeInvalidImageTag is a ImageFailureCode enum value ImageFailureCodeInvalidImageTag = "InvalidImageTag" - // @enum ImageFailureCode + + // ImageFailureCodeImageTagDoesNotMatchDigest is a ImageFailureCode enum value ImageFailureCodeImageTagDoesNotMatchDigest = "ImageTagDoesNotMatchDigest" - // @enum ImageFailureCode + + // ImageFailureCodeImageNotFound is a ImageFailureCode enum value ImageFailureCodeImageNotFound = "ImageNotFound" - // @enum ImageFailureCode + + // ImageFailureCodeMissingDigestAndTag is a ImageFailureCode enum value ImageFailureCodeMissingDigestAndTag = "MissingDigestAndTag" ) const ( - // @enum LayerAvailability + // LayerAvailabilityAvailable is a LayerAvailability enum value LayerAvailabilityAvailable = "AVAILABLE" - // @enum LayerAvailability + + // LayerAvailabilityUnavailable is a LayerAvailability enum value LayerAvailabilityUnavailable = "UNAVAILABLE" ) const ( - // @enum LayerFailureCode + // LayerFailureCodeInvalidLayerDigest is a LayerFailureCode enum value LayerFailureCodeInvalidLayerDigest = "InvalidLayerDigest" - // @enum LayerFailureCode + + // LayerFailureCodeMissingLayerDigest is a LayerFailureCode enum value LayerFailureCodeMissingLayerDigest = "MissingLayerDigest" ) const ( - // @enum TagStatus + // TagStatusTagged is a TagStatus enum value TagStatusTagged = "TAGGED" - // @enum TagStatus + + // TagStatusUntagged is a TagStatus enum value TagStatusUntagged = "UNTAGGED" ) diff --git a/service/ecs/api.go b/service/ecs/api.go index 8b1fd81857e..b057ac3be3b 100644 --- a/service/ecs/api.go +++ b/service/ecs/api.go @@ -1714,6 +1714,8 @@ type Attribute struct { _ struct{} `type:"structure"` // The name of the container instance attribute. + // + // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` // The value of the container instance attribute (at this time, the value here @@ -2338,6 +2340,8 @@ type CreateServiceInput struct { // The number of instantiations of the specified task definition to place and // keep running on your cluster. + // + // DesiredCount is a required field DesiredCount *int64 `locationName:"desiredCount" type:"integer" required:"true"` // A load balancer object representing the load balancer to use with your service. @@ -2377,11 +2381,15 @@ type CreateServiceInput struct { // hyphens, and underscores are allowed. Service names must be unique within // a cluster, but you can have similarly named services in multiple clusters // within a region or across multiple regions. + // + // ServiceName is a required field ServiceName *string `locationName:"serviceName" type:"string" required:"true"` // The family and revision (family:revision) or full Amazon Resource Name (ARN) // of the task definition to run in your service. If a revision is not specified, // the latest ACTIVE revision is used. + // + // TaskDefinition is a required field TaskDefinition *string `locationName:"taskDefinition" type:"string" required:"true"` } @@ -2435,6 +2443,8 @@ type DeleteClusterInput struct { _ struct{} `type:"structure"` // The short name or full Amazon Resource Name (ARN) of the cluster to delete. + // + // Cluster is a required field Cluster *string `locationName:"cluster" type:"string" required:"true"` } @@ -2486,6 +2496,8 @@ type DeleteServiceInput struct { Cluster *string `locationName:"cluster" type:"string"` // The name of the service to delete. + // + // Service is a required field Service *string `locationName:"service" type:"string" required:"true"` } @@ -2615,6 +2627,8 @@ type DeregisterContainerInstanceInput struct { // instance owner, the container-instance namespace, and then the container // instance ID. For example, arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID // . + // + // ContainerInstance is a required field ContainerInstance *string `locationName:"containerInstance" type:"string" required:"true"` // Forces the deregistration of the container instance. If you have tasks running @@ -2674,6 +2688,8 @@ type DeregisterTaskDefinitionInput struct { // The family and revision (family:revision) or full Amazon Resource Name (ARN) // of the task definition to deregister. You must specify a revision. + // + // TaskDefinition is a required field TaskDefinition *string `locationName:"taskDefinition" type:"string" required:"true"` } @@ -2766,6 +2782,8 @@ type DescribeContainerInstancesInput struct { // A space-separated list of container instance IDs or full Amazon Resource // Name (ARN) entries. + // + // ContainerInstances is a required field ContainerInstances []*string `locationName:"containerInstances" type:"list" required:"true"` } @@ -2820,6 +2838,8 @@ type DescribeServicesInput struct { Cluster *string `locationName:"cluster" type:"string"` // A list of services to describe. + // + // Services is a required field Services []*string `locationName:"services" type:"list" required:"true"` } @@ -2872,6 +2892,8 @@ type DescribeTaskDefinitionInput struct { // The family for the latest ACTIVE revision, family and revision (family:revision) // for a specific revision in the family, or full Amazon Resource Name (ARN) // of the task definition to describe. + // + // TaskDefinition is a required field TaskDefinition *string `locationName:"taskDefinition" type:"string" required:"true"` } @@ -2924,6 +2946,8 @@ type DescribeTasksInput struct { Cluster *string `locationName:"cluster" type:"string"` // A space-separated list of task IDs or full Amazon Resource Name (ARN) entries. + // + // Tasks is a required field Tasks []*string `locationName:"tasks" type:"list" required:"true"` } @@ -3042,9 +3066,13 @@ type HostEntry struct { _ struct{} `type:"structure"` // The hostname to use in the /etc/hosts entry. + // + // Hostname is a required field Hostname *string `locationName:"hostname" type:"string" required:"true"` // The IP address to use in the /etc/hosts entry. + // + // IpAddress is a required field IpAddress *string `locationName:"ipAddress" type:"string" required:"true"` } @@ -3590,6 +3618,8 @@ type LogConfiguration struct { // on your container instance. To check the Docker Remote API version on your // container instance, log into your container instance and run the following // command: sudo docker version | grep "Server API version" + // + // LogDriver is a required field LogDriver *string `locationName:"logDriver" type:"string" required:"true" enum:"LogDriver"` // The configuration options to send to the log driver. This parameter requires @@ -3819,12 +3849,16 @@ type RegisterTaskDefinitionInput struct { // A list of container definitions in JSON format that describe the different // containers that make up your task. + // + // ContainerDefinitions is a required field ContainerDefinitions []*ContainerDefinition `locationName:"containerDefinitions" type:"list" required:"true"` // You must specify a family for a task definition, which allows you to track // multiple versions of the same task definition. The family is used as a name // for your task definition. Up to 255 letters (uppercase and lowercase), numbers, // hyphens, and underscores are allowed. + // + // Family is a required field Family *string `locationName:"family" type:"string" required:"true"` // The Docker networking mode to use for the containers in the task. The valid @@ -3982,6 +4016,8 @@ type RunTaskInput struct { // The family and revision (family:revision) or full Amazon Resource Name (ARN) // of the task definition to run. If a revision is not specified, the latest // ACTIVE revision is used. + // + // TaskDefinition is a required field TaskDefinition *string `locationName:"taskDefinition" type:"string" required:"true"` } @@ -4138,6 +4174,8 @@ type StartTaskInput struct { // the container instances on which you would like to place your task. // // The list of container instances to start tasks on is limited to 10. + // + // ContainerInstances is a required field ContainerInstances []*string `locationName:"containerInstances" type:"list" required:"true"` // A list of container overrides in JSON format that specify the name of a container @@ -4166,6 +4204,8 @@ type StartTaskInput struct { // The family and revision (family:revision) or full Amazon Resource Name (ARN) // of the task definition to start. If a revision is not specified, the latest // ACTIVE revision is used. + // + // TaskDefinition is a required field TaskDefinition *string `locationName:"taskDefinition" type:"string" required:"true"` } @@ -4231,6 +4271,8 @@ type StopTaskInput struct { Reason *string `locationName:"reason" type:"string"` // The task ID or full Amazon Resource Name (ARN) entry of the task to stop. + // + // Task is a required field Task *string `locationName:"task" type:"string" required:"true"` } @@ -4522,12 +4564,18 @@ type Ulimit struct { _ struct{} `type:"structure"` // The hard limit for the ulimit type. + // + // HardLimit is a required field HardLimit *int64 `locationName:"hardLimit" type:"integer" required:"true"` // The type of the ulimit. + // + // Name is a required field Name *string `locationName:"name" type:"string" required:"true" enum:"UlimitName"` // The soft limit for the ulimit type. + // + // SoftLimit is a required field SoftLimit *int64 `locationName:"softLimit" type:"integer" required:"true"` } @@ -4571,6 +4619,8 @@ type UpdateContainerAgentInput struct { // The container instance ID or full Amazon Resource Name (ARN) entries for // the container instance on which you would like to update the Amazon ECS container // agent. + // + // ContainerInstance is a required field ContainerInstance *string `locationName:"containerInstance" type:"string" required:"true"` } @@ -4632,6 +4682,8 @@ type UpdateServiceInput struct { DesiredCount *int64 `locationName:"desiredCount" type:"integer"` // The name of the service to update. + // + // Service is a required field Service *string `locationName:"service" type:"string" required:"true"` // The family and revision (family:revision) or full Amazon Resource Name (ARN) @@ -4759,114 +4811,148 @@ func (s VolumeFrom) GoString() string { } const ( - // @enum AgentUpdateStatus + // AgentUpdateStatusPending is a AgentUpdateStatus enum value AgentUpdateStatusPending = "PENDING" - // @enum AgentUpdateStatus + + // AgentUpdateStatusStaging is a AgentUpdateStatus enum value AgentUpdateStatusStaging = "STAGING" - // @enum AgentUpdateStatus + + // AgentUpdateStatusStaged is a AgentUpdateStatus enum value AgentUpdateStatusStaged = "STAGED" - // @enum AgentUpdateStatus + + // AgentUpdateStatusUpdating is a AgentUpdateStatus enum value AgentUpdateStatusUpdating = "UPDATING" - // @enum AgentUpdateStatus + + // AgentUpdateStatusUpdated is a AgentUpdateStatus enum value AgentUpdateStatusUpdated = "UPDATED" - // @enum AgentUpdateStatus + + // AgentUpdateStatusFailed is a AgentUpdateStatus enum value AgentUpdateStatusFailed = "FAILED" ) const ( - // @enum DesiredStatus + // DesiredStatusRunning is a DesiredStatus enum value DesiredStatusRunning = "RUNNING" - // @enum DesiredStatus + + // DesiredStatusPending is a DesiredStatus enum value DesiredStatusPending = "PENDING" - // @enum DesiredStatus + + // DesiredStatusStopped is a DesiredStatus enum value DesiredStatusStopped = "STOPPED" ) const ( - // @enum LogDriver + // LogDriverJsonFile is a LogDriver enum value LogDriverJsonFile = "json-file" - // @enum LogDriver + + // LogDriverSyslog is a LogDriver enum value LogDriverSyslog = "syslog" - // @enum LogDriver + + // LogDriverJournald is a LogDriver enum value LogDriverJournald = "journald" - // @enum LogDriver + + // LogDriverGelf is a LogDriver enum value LogDriverGelf = "gelf" - // @enum LogDriver + + // LogDriverFluentd is a LogDriver enum value LogDriverFluentd = "fluentd" - // @enum LogDriver + + // LogDriverAwslogs is a LogDriver enum value LogDriverAwslogs = "awslogs" - // @enum LogDriver + + // LogDriverSplunk is a LogDriver enum value LogDriverSplunk = "splunk" ) const ( - // @enum NetworkMode + // NetworkModeBridge is a NetworkMode enum value NetworkModeBridge = "bridge" - // @enum NetworkMode + + // NetworkModeHost is a NetworkMode enum value NetworkModeHost = "host" - // @enum NetworkMode + + // NetworkModeNone is a NetworkMode enum value NetworkModeNone = "none" ) const ( - // @enum SortOrder + // SortOrderAsc is a SortOrder enum value SortOrderAsc = "ASC" - // @enum SortOrder + + // SortOrderDesc is a SortOrder enum value SortOrderDesc = "DESC" ) const ( - // @enum TaskDefinitionFamilyStatus + // TaskDefinitionFamilyStatusActive is a TaskDefinitionFamilyStatus enum value TaskDefinitionFamilyStatusActive = "ACTIVE" - // @enum TaskDefinitionFamilyStatus + + // TaskDefinitionFamilyStatusInactive is a TaskDefinitionFamilyStatus enum value TaskDefinitionFamilyStatusInactive = "INACTIVE" - // @enum TaskDefinitionFamilyStatus + + // TaskDefinitionFamilyStatusAll is a TaskDefinitionFamilyStatus enum value TaskDefinitionFamilyStatusAll = "ALL" ) const ( - // @enum TaskDefinitionStatus + // TaskDefinitionStatusActive is a TaskDefinitionStatus enum value TaskDefinitionStatusActive = "ACTIVE" - // @enum TaskDefinitionStatus + + // TaskDefinitionStatusInactive is a TaskDefinitionStatus enum value TaskDefinitionStatusInactive = "INACTIVE" ) const ( - // @enum TransportProtocol + // TransportProtocolTcp is a TransportProtocol enum value TransportProtocolTcp = "tcp" - // @enum TransportProtocol + + // TransportProtocolUdp is a TransportProtocol enum value TransportProtocolUdp = "udp" ) const ( - // @enum UlimitName + // UlimitNameCore is a UlimitName enum value UlimitNameCore = "core" - // @enum UlimitName + + // UlimitNameCpu is a UlimitName enum value UlimitNameCpu = "cpu" - // @enum UlimitName + + // UlimitNameData is a UlimitName enum value UlimitNameData = "data" - // @enum UlimitName + + // UlimitNameFsize is a UlimitName enum value UlimitNameFsize = "fsize" - // @enum UlimitName + + // UlimitNameLocks is a UlimitName enum value UlimitNameLocks = "locks" - // @enum UlimitName + + // UlimitNameMemlock is a UlimitName enum value UlimitNameMemlock = "memlock" - // @enum UlimitName + + // UlimitNameMsgqueue is a UlimitName enum value UlimitNameMsgqueue = "msgqueue" - // @enum UlimitName + + // UlimitNameNice is a UlimitName enum value UlimitNameNice = "nice" - // @enum UlimitName + + // UlimitNameNofile is a UlimitName enum value UlimitNameNofile = "nofile" - // @enum UlimitName + + // UlimitNameNproc is a UlimitName enum value UlimitNameNproc = "nproc" - // @enum UlimitName + + // UlimitNameRss is a UlimitName enum value UlimitNameRss = "rss" - // @enum UlimitName + + // UlimitNameRtprio is a UlimitName enum value UlimitNameRtprio = "rtprio" - // @enum UlimitName + + // UlimitNameRttime is a UlimitName enum value UlimitNameRttime = "rttime" - // @enum UlimitName + + // UlimitNameSigpending is a UlimitName enum value UlimitNameSigpending = "sigpending" - // @enum UlimitName + + // UlimitNameStack is a UlimitName enum value UlimitNameStack = "stack" ) diff --git a/service/ecs/waiters.go b/service/ecs/waiters.go index c571afd18ae..cbc6f76e1ea 100644 --- a/service/ecs/waiters.go +++ b/service/ecs/waiters.go @@ -6,6 +6,10 @@ import ( "github.com/aws/aws-sdk-go/private/waiter" ) +// WaitUntilServicesInactive uses the Amazon ECS API operation +// DescribeServices to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *ECS) WaitUntilServicesInactive(input *DescribeServicesInput) error { waiterCfg := waiter.Config{ Operation: "DescribeServices", @@ -35,6 +39,10 @@ func (c *ECS) WaitUntilServicesInactive(input *DescribeServicesInput) error { return w.Wait() } +// WaitUntilServicesStable uses the Amazon ECS API operation +// DescribeServices to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *ECS) WaitUntilServicesStable(input *DescribeServicesInput) error { waiterCfg := waiter.Config{ Operation: "DescribeServices", @@ -76,6 +84,10 @@ func (c *ECS) WaitUntilServicesStable(input *DescribeServicesInput) error { return w.Wait() } +// WaitUntilTasksRunning uses the Amazon ECS API operation +// DescribeTasks to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *ECS) WaitUntilTasksRunning(input *DescribeTasksInput) error { waiterCfg := waiter.Config{ Operation: "DescribeTasks", @@ -111,6 +123,10 @@ func (c *ECS) WaitUntilTasksRunning(input *DescribeTasksInput) error { return w.Wait() } +// WaitUntilTasksStopped uses the Amazon ECS API operation +// DescribeTasks to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *ECS) WaitUntilTasksStopped(input *DescribeTasksInput) error { waiterCfg := waiter.Config{ Operation: "DescribeTasks", diff --git a/service/efs/api.go b/service/efs/api.go index 1245ef45d66..52eadf0c112 100644 --- a/service/efs/api.go +++ b/service/efs/api.go @@ -810,6 +810,8 @@ type CreateFileSystemInput struct { // String of up to 64 ASCII characters. Amazon EFS uses this to ensure idempotent // creation. + // + // CreationToken is a required field CreationToken *string `min:"1" type:"string" required:"true"` // The PerformanceMode of the file system. We recommend generalPurpose performance @@ -850,6 +852,8 @@ type CreateMountTargetInput struct { _ struct{} `type:"structure"` // ID of the file system for which to create the mount target. + // + // FileSystemId is a required field FileSystemId *string `type:"string" required:"true"` // Valid IPv4 address within the address range of the specified subnet. @@ -860,6 +864,8 @@ type CreateMountTargetInput struct { SecurityGroups []*string `type:"list"` // ID of the subnet to add the mount target in. + // + // SubnetId is a required field SubnetId *string `type:"string" required:"true"` } @@ -894,9 +900,13 @@ type CreateTagsInput struct { // ID of the file system whose tags you want to modify (String). This operation // modifies the tags only, not the file system. + // + // FileSystemId is a required field FileSystemId *string `location:"uri" locationName:"FileSystemId" type:"string" required:"true"` // Array of Tag objects to add. Each Tag object is a key-value pair. + // + // Tags is a required field Tags []*Tag `type:"list" required:"true"` } @@ -954,6 +964,8 @@ type DeleteFileSystemInput struct { _ struct{} `type:"structure"` // ID of the file system you want to delete. + // + // FileSystemId is a required field FileSystemId *string `location:"uri" locationName:"FileSystemId" type:"string" required:"true"` } @@ -998,6 +1010,8 @@ type DeleteMountTargetInput struct { _ struct{} `type:"structure"` // ID of the mount target to delete (String). + // + // MountTargetId is a required field MountTargetId *string `location:"uri" locationName:"MountTargetId" type:"string" required:"true"` } @@ -1042,9 +1056,13 @@ type DeleteTagsInput struct { _ struct{} `type:"structure"` // ID of the file system whose tags you want to delete (String). + // + // FileSystemId is a required field FileSystemId *string `location:"uri" locationName:"FileSystemId" type:"string" required:"true"` // List of tag keys to delete. + // + // TagKeys is a required field TagKeys []*string `type:"list" required:"true"` } @@ -1166,6 +1184,8 @@ type DescribeMountTargetSecurityGroupsInput struct { _ struct{} `type:"structure"` // ID of the mount target whose security groups you want to retrieve. + // + // MountTargetId is a required field MountTargetId *string `location:"uri" locationName:"MountTargetId" type:"string" required:"true"` } @@ -1196,6 +1216,8 @@ type DescribeMountTargetSecurityGroupsOutput struct { _ struct{} `type:"structure"` // Array of security groups. + // + // SecurityGroups is a required field SecurityGroups []*string `type:"list" required:"true"` } @@ -1284,6 +1306,8 @@ type DescribeTagsInput struct { _ struct{} `type:"structure"` // ID of the file system whose tag set you want to retrieve. + // + // FileSystemId is a required field FileSystemId *string `location:"uri" locationName:"FileSystemId" type:"string" required:"true"` // (Optional) Opaque pagination token returned from a previous DescribeTags @@ -1335,6 +1359,8 @@ type DescribeTagsOutput struct { NextMarker *string `type:"string"` // Returns tags associated with the file system as an array of Tag objects. + // + // Tags is a required field Tags []*Tag `type:"list" required:"true"` } @@ -1353,15 +1379,23 @@ type FileSystemDescription struct { _ struct{} `type:"structure"` // Time that the file system was created, in seconds (since 1970-01-01T00:00:00Z). + // + // CreationTime is a required field CreationTime *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"` // Opaque string specified in the request. + // + // CreationToken is a required field CreationToken *string `min:"1" type:"string" required:"true"` // ID of the file system, assigned by Amazon EFS. + // + // FileSystemId is a required field FileSystemId *string `type:"string" required:"true"` // Lifecycle phase of the file system. + // + // LifeCycleState is a required field LifeCycleState *string `type:"string" required:"true" enum:"LifeCycleState"` // You can add tags to a file system, including a Name tag. For more information, @@ -1371,13 +1405,19 @@ type FileSystemDescription struct { // Current number of mount targets that the file system has. For more information, // see CreateMountTarget. + // + // NumberOfMountTargets is a required field NumberOfMountTargets *int64 `type:"integer" required:"true"` // AWS account that created the file system. If the file system was created // by an IAM user, the parent account to which the user belongs is the owner. + // + // OwnerId is a required field OwnerId *string `type:"string" required:"true"` // The PerformanceMode of the file system. + // + // PerformanceMode is a required field PerformanceMode *string `type:"string" required:"true" enum:"PerformanceMode"` // Latest known metered size (in bytes) of data stored in the file system, in @@ -1389,6 +1429,8 @@ type FileSystemDescription struct { // actual size only if the file system is not modified for a period longer than // a couple of hours. Otherwise, the value is not the exact size the file system // was at any instant in time. + // + // SizeInBytes is a required field SizeInBytes *FileSystemSize `type:"structure" required:"true"` } @@ -1418,6 +1460,8 @@ type FileSystemSize struct { Timestamp *time.Time `type:"timestamp" timestampFormat:"unix"` // Latest known metered size (in bytes) of data stored in the file system. + // + // Value is a required field Value *int64 `type:"long" required:"true"` } @@ -1435,6 +1479,8 @@ type ModifyMountTargetSecurityGroupsInput struct { _ struct{} `type:"structure"` // ID of the mount target whose security groups you want to modify. + // + // MountTargetId is a required field MountTargetId *string `location:"uri" locationName:"MountTargetId" type:"string" required:"true"` // Array of up to five VPC security group IDs. @@ -1483,15 +1529,21 @@ type MountTargetDescription struct { _ struct{} `type:"structure"` // ID of the file system for which the mount target is intended. + // + // FileSystemId is a required field FileSystemId *string `type:"string" required:"true"` // Address at which the file system may be mounted via the mount target. IpAddress *string `type:"string"` // Lifecycle state of the mount target. + // + // LifeCycleState is a required field LifeCycleState *string `type:"string" required:"true" enum:"LifeCycleState"` // System-assigned mount target ID. + // + // MountTargetId is a required field MountTargetId *string `type:"string" required:"true"` // ID of the network interface that Amazon EFS created when it created the mount @@ -1502,6 +1554,8 @@ type MountTargetDescription struct { OwnerId *string `type:"string"` // ID of the mount target's subnet. + // + // SubnetId is a required field SubnetId *string `type:"string" required:"true"` } @@ -1521,9 +1575,13 @@ type Tag struct { _ struct{} `type:"structure"` // Tag key (String). The key can't start with aws:. + // + // Key is a required field Key *string `min:"1" type:"string" required:"true"` // Value of the tag key. + // + // Value is a required field Value *string `type:"string" required:"true"` } @@ -1557,19 +1615,23 @@ func (s *Tag) Validate() error { } const ( - // @enum LifeCycleState + // LifeCycleStateCreating is a LifeCycleState enum value LifeCycleStateCreating = "creating" - // @enum LifeCycleState + + // LifeCycleStateAvailable is a LifeCycleState enum value LifeCycleStateAvailable = "available" - // @enum LifeCycleState + + // LifeCycleStateDeleting is a LifeCycleState enum value LifeCycleStateDeleting = "deleting" - // @enum LifeCycleState + + // LifeCycleStateDeleted is a LifeCycleState enum value LifeCycleStateDeleted = "deleted" ) const ( - // @enum PerformanceMode + // PerformanceModeGeneralPurpose is a PerformanceMode enum value PerformanceModeGeneralPurpose = "generalPurpose" - // @enum PerformanceMode + + // PerformanceModeMaxIo is a PerformanceMode enum value PerformanceModeMaxIo = "maxIO" ) diff --git a/service/elasticache/api.go b/service/elasticache/api.go index f1d9a70f1c6..19bd3a25ad6 100644 --- a/service/elasticache/api.go +++ b/service/elasticache/api.go @@ -2377,10 +2377,14 @@ type AddTagsToResourceInput struct { // // For more information on ARNs, go to Amazon Resource Names (ARNs) and AWS // Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html). + // + // ResourceName is a required field ResourceName *string `type:"string" required:"true"` // A list of cost allocation tags to be added to this resource. A tag is a key-value // pair. A tag key must be accompanied by a tag value. + // + // Tags is a required field Tags []*Tag `locationNameList:"Tag" type:"list" required:"true"` } @@ -2415,15 +2419,21 @@ type AuthorizeCacheSecurityGroupIngressInput struct { _ struct{} `type:"structure"` // The cache security group which will allow network ingress. + // + // CacheSecurityGroupName is a required field CacheSecurityGroupName *string `type:"string" required:"true"` // The Amazon EC2 security group to be authorized for ingress to the cache security // group. + // + // EC2SecurityGroupName is a required field EC2SecurityGroupName *string `type:"string" required:"true"` // The AWS account number of the Amazon EC2 security group owner. Note that // this is not the same thing as an AWS access key ID - you must provide a valid // AWS account number for this parameter. + // + // EC2SecurityGroupOwnerId is a required field EC2SecurityGroupOwnerId *string `type:"string" required:"true"` } @@ -2994,6 +3004,8 @@ type CopySnapshotInput struct { _ struct{} `type:"structure"` // The name of an existing snapshot from which to make a copy. + // + // SourceSnapshotName is a required field SourceSnapshotName *string `type:"string" required:"true"` // The Amazon S3 bucket to which the snapshot will be exported. This parameter @@ -3058,6 +3070,8 @@ type CopySnapshotInput struct { // Solution: Give the TargetSnapshotName a new and unique value. If exporting // a snapshot, you could alternatively create a new Amazon S3 bucket and use // this same value for TargetSnapshotName. + // + // TargetSnapshotName is a required field TargetSnapshotName *string `type:"string" required:"true"` } @@ -3131,6 +3145,8 @@ type CreateCacheClusterInput struct { // The first character must be a letter. // // A name cannot end with a hyphen or contain two consecutive hyphens. + // + // CacheClusterId is a required field CacheClusterId *string `type:"string" required:"true"` // The compute and memory capacity of the nodes in the node group. @@ -3385,12 +3401,18 @@ type CreateCacheParameterGroupInput struct { // be used with. // // Valid values are: memcached1.4 | redis2.6 | redis2.8 + // + // CacheParameterGroupFamily is a required field CacheParameterGroupFamily *string `type:"string" required:"true"` // A user-specified name for the cache parameter group. + // + // CacheParameterGroupName is a required field CacheParameterGroupName *string `type:"string" required:"true"` // A user-specified description for the cache parameter group. + // + // Description is a required field Description *string `type:"string" required:"true"` } @@ -3451,9 +3473,13 @@ type CreateCacheSecurityGroupInput struct { // be the word "Default". // // Example: mysecuritygroup + // + // CacheSecurityGroupName is a required field CacheSecurityGroupName *string `type:"string" required:"true"` // A description for the cache security group. + // + // Description is a required field Description *string `type:"string" required:"true"` } @@ -3511,6 +3537,8 @@ type CreateCacheSubnetGroupInput struct { _ struct{} `type:"structure"` // A description for the cache subnet group. + // + // CacheSubnetGroupDescription is a required field CacheSubnetGroupDescription *string `type:"string" required:"true"` // A name for the cache subnet group. This value is stored as a lowercase string. @@ -3518,9 +3546,13 @@ type CreateCacheSubnetGroupInput struct { // Constraints: Must contain no more than 255 alphanumeric characters or hyphens. // // Example: mysubnetgroup + // + // CacheSubnetGroupName is a required field CacheSubnetGroupName *string `type:"string" required:"true"` // A list of VPC subnet IDs for the cache subnet group. + // + // SubnetIds is a required field SubnetIds []*string `locationNameList:"SubnetIdentifier" type:"list" required:"true"` } @@ -3728,6 +3760,8 @@ type CreateReplicationGroupInput struct { PrimaryClusterId *string `type:"string"` // A user-created description for the replication group. + // + // ReplicationGroupDescription is a required field ReplicationGroupDescription *string `type:"string" required:"true"` // The replication group identifier. This parameter is stored as a lowercase @@ -3740,6 +3774,8 @@ type CreateReplicationGroupInput struct { // The first character must be a letter. // // A name cannot end with a hyphen or contain two consecutive hyphens. + // + // ReplicationGroupId is a required field ReplicationGroupId *string `type:"string" required:"true"` // One or more Amazon VPC security groups associated with this replication group. @@ -3840,9 +3876,13 @@ type CreateSnapshotInput struct { // The identifier of an existing cache cluster. The snapshot will be created // from this cache cluster. + // + // CacheClusterId is a required field CacheClusterId *string `type:"string" required:"true"` // A name for the snapshot being created. + // + // SnapshotName is a required field SnapshotName *string `type:"string" required:"true"` } @@ -3896,6 +3936,8 @@ type DeleteCacheClusterInput struct { // The cache cluster identifier for the cluster to be deleted. This parameter // is not case sensitive. + // + // CacheClusterId is a required field CacheClusterId *string `type:"string" required:"true"` // The user-supplied name of a final cache cluster snapshot. This is the unique @@ -3952,6 +3994,8 @@ type DeleteCacheParameterGroupInput struct { // // The specified cache security group must not be associated with any cache // clusters. + // + // CacheParameterGroupName is a required field CacheParameterGroupName *string `type:"string" required:"true"` } @@ -3999,6 +4043,8 @@ type DeleteCacheSecurityGroupInput struct { // The name of the cache security group to delete. // // You cannot delete the default security group. + // + // CacheSecurityGroupName is a required field CacheSecurityGroupName *string `type:"string" required:"true"` } @@ -4046,6 +4092,8 @@ type DeleteCacheSubnetGroupInput struct { // The name of the cache subnet group to delete. // // Constraints: Must contain no more than 255 alphanumeric characters or hyphens. + // + // CacheSubnetGroupName is a required field CacheSubnetGroupName *string `type:"string" required:"true"` } @@ -4098,6 +4146,8 @@ type DeleteReplicationGroupInput struct { // The identifier for the cluster to be deleted. This parameter is not case // sensitive. + // + // ReplicationGroupId is a required field ReplicationGroupId *string `type:"string" required:"true"` // If set to true, all of the read replicas will be deleted, but the primary @@ -4150,6 +4200,8 @@ type DeleteSnapshotInput struct { _ struct{} `type:"structure"` // The name of the snapshot to be deleted. + // + // SnapshotName is a required field SnapshotName *string `type:"string" required:"true"` } @@ -4387,6 +4439,8 @@ type DescribeCacheParametersInput struct { _ struct{} `type:"structure"` // The name of a specific cache parameter group to return details for. + // + // CacheParameterGroupName is a required field CacheParameterGroupName *string `type:"string" required:"true"` // An optional marker returned from a prior request. Use this marker for pagination @@ -4571,6 +4625,8 @@ type DescribeEngineDefaultParametersInput struct { // The name of the cache parameter group family. Valid values are: memcached1.4 // | redis2.6 | redis2.8 + // + // CacheParameterGroupFamily is a required field CacheParameterGroupFamily *string `type:"string" required:"true"` // An optional marker returned from a prior request. Use this marker for pagination @@ -5220,6 +5276,8 @@ type ListTagsForResourceInput struct { // // For more information on ARNs, go to Amazon Resource Names (ARNs) and AWS // Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html). + // + // ResourceName is a required field ResourceName *string `type:"string" required:"true"` } @@ -5286,6 +5344,8 @@ type ModifyCacheClusterInput struct { AutoMinorVersionUpgrade *bool `type:"boolean"` // The cache cluster identifier. This value is stored as a lowercase string. + // + // CacheClusterId is a required field CacheClusterId *string `type:"string" required:"true"` // A list of cache node IDs to be removed. A node ID is a numeric identifier @@ -5537,11 +5597,15 @@ type ModifyCacheParameterGroupInput struct { _ struct{} `type:"structure"` // The name of the cache parameter group to modify. + // + // CacheParameterGroupName is a required field CacheParameterGroupName *string `type:"string" required:"true"` // An array of parameter names and values for the parameter update. You must // supply at least one parameter name and value; subsequent arguments are optional. // A maximum of 20 parameters may be modified per request. + // + // ParameterNameValues is a required field ParameterNameValues []*ParameterNameValue `locationNameList:"ParameterNameValue" type:"list" required:"true"` } @@ -5584,6 +5648,8 @@ type ModifyCacheSubnetGroupInput struct { // Constraints: Must contain no more than 255 alphanumeric characters or hyphens. // // Example: mysubnetgroup + // + // CacheSubnetGroupName is a required field CacheSubnetGroupName *string `type:"string" required:"true"` // The EC2 subnet IDs for the cache subnet group. @@ -5741,6 +5807,8 @@ type ModifyReplicationGroupInput struct { ReplicationGroupDescription *string `type:"string"` // The identifier of the replication group to modify. + // + // ReplicationGroupId is a required field ReplicationGroupId *string `type:"string" required:"true"` // Specifies the VPC Security Groups associated with the cache clusters in the @@ -6048,6 +6116,8 @@ type PurchaseReservedCacheNodesOfferingInput struct { // The ID of the reserved cache node offering to purchase. // // Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706 + // + // ReservedCacheNodesOfferingId is a required field ReservedCacheNodesOfferingId *string `type:"string" required:"true"` } @@ -6096,11 +6166,15 @@ type RebootCacheClusterInput struct { _ struct{} `type:"structure"` // The cache cluster identifier. This parameter is stored as a lowercase string. + // + // CacheClusterId is a required field CacheClusterId *string `type:"string" required:"true"` // A list of cache node IDs to reboot. A node ID is a numeric identifier (0001, // 0002, etc.). To reboot an entire cache cluster, specify all of the cache // node IDs. + // + // CacheNodeIdsToReboot is a required field CacheNodeIdsToReboot []*string `locationNameList:"CacheNodeId" type:"list" required:"true"` } @@ -6179,11 +6253,15 @@ type RemoveTagsFromResourceInput struct { // // For more information on ARNs, go to Amazon Resource Names (ARNs) and AWS // Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html). + // + // ResourceName is a required field ResourceName *string `type:"string" required:"true"` // A list of TagKeys identifying the tags you want removed from the named resource. // For example, TagKeys.member.1=Region removes the cost allocation tag with // the key name Region from the resource named by the ResourceName parameter. + // + // TagKeys is a required field TagKeys []*string `type:"list" required:"true"` } @@ -6451,6 +6529,8 @@ type ResetCacheParameterGroupInput struct { _ struct{} `type:"structure"` // The name of the cache parameter group to reset. + // + // CacheParameterGroupName is a required field CacheParameterGroupName *string `type:"string" required:"true"` // An array of parameter names to reset to their default values. If ResetAllParameters @@ -6493,14 +6573,20 @@ type RevokeCacheSecurityGroupIngressInput struct { _ struct{} `type:"structure"` // The name of the cache security group to revoke ingress from. + // + // CacheSecurityGroupName is a required field CacheSecurityGroupName *string `type:"string" required:"true"` // The name of the Amazon EC2 security group to revoke access from. + // + // EC2SecurityGroupName is a required field EC2SecurityGroupName *string `type:"string" required:"true"` // The AWS account number of the Amazon EC2 security group owner. Note that // this is not the same thing as an AWS access key ID - you must provide a valid // AWS account number for this parameter. + // + // EC2SecurityGroupOwnerId is a required field EC2SecurityGroupOwnerId *string `type:"string" required:"true"` } @@ -6794,44 +6880,53 @@ func (s TagListMessage) GoString() string { } const ( - // @enum AZMode + // AZModeSingleAz is a AZMode enum value AZModeSingleAz = "single-az" - // @enum AZMode + + // AZModeCrossAz is a AZMode enum value AZModeCrossAz = "cross-az" ) const ( - // @enum AutomaticFailoverStatus + // AutomaticFailoverStatusEnabled is a AutomaticFailoverStatus enum value AutomaticFailoverStatusEnabled = "enabled" - // @enum AutomaticFailoverStatus + + // AutomaticFailoverStatusDisabled is a AutomaticFailoverStatus enum value AutomaticFailoverStatusDisabled = "disabled" - // @enum AutomaticFailoverStatus + + // AutomaticFailoverStatusEnabling is a AutomaticFailoverStatus enum value AutomaticFailoverStatusEnabling = "enabling" - // @enum AutomaticFailoverStatus + + // AutomaticFailoverStatusDisabling is a AutomaticFailoverStatus enum value AutomaticFailoverStatusDisabling = "disabling" ) const ( - // @enum ChangeType + // ChangeTypeImmediate is a ChangeType enum value ChangeTypeImmediate = "immediate" - // @enum ChangeType + + // ChangeTypeRequiresReboot is a ChangeType enum value ChangeTypeRequiresReboot = "requires-reboot" ) const ( - // @enum PendingAutomaticFailoverStatus + // PendingAutomaticFailoverStatusEnabled is a PendingAutomaticFailoverStatus enum value PendingAutomaticFailoverStatusEnabled = "enabled" - // @enum PendingAutomaticFailoverStatus + + // PendingAutomaticFailoverStatusDisabled is a PendingAutomaticFailoverStatus enum value PendingAutomaticFailoverStatusDisabled = "disabled" ) const ( - // @enum SourceType + // SourceTypeCacheCluster is a SourceType enum value SourceTypeCacheCluster = "cache-cluster" - // @enum SourceType + + // SourceTypeCacheParameterGroup is a SourceType enum value SourceTypeCacheParameterGroup = "cache-parameter-group" - // @enum SourceType + + // SourceTypeCacheSecurityGroup is a SourceType enum value SourceTypeCacheSecurityGroup = "cache-security-group" - // @enum SourceType + + // SourceTypeCacheSubnetGroup is a SourceType enum value SourceTypeCacheSubnetGroup = "cache-subnet-group" ) diff --git a/service/elasticache/waiters.go b/service/elasticache/waiters.go index 0f594a65f1d..2e25f84d600 100644 --- a/service/elasticache/waiters.go +++ b/service/elasticache/waiters.go @@ -6,6 +6,10 @@ import ( "github.com/aws/aws-sdk-go/private/waiter" ) +// WaitUntilCacheClusterAvailable uses the Amazon ElastiCache API operation +// DescribeCacheClusters to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *ElastiCache) WaitUntilCacheClusterAvailable(input *DescribeCacheClustersInput) error { waiterCfg := waiter.Config{ Operation: "DescribeCacheClusters", @@ -53,6 +57,10 @@ func (c *ElastiCache) WaitUntilCacheClusterAvailable(input *DescribeCacheCluster return w.Wait() } +// WaitUntilCacheClusterDeleted uses the Amazon ElastiCache API operation +// DescribeCacheClusters to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *ElastiCache) WaitUntilCacheClusterDeleted(input *DescribeCacheClustersInput) error { waiterCfg := waiter.Config{ Operation: "DescribeCacheClusters", @@ -118,6 +126,10 @@ func (c *ElastiCache) WaitUntilCacheClusterDeleted(input *DescribeCacheClustersI return w.Wait() } +// WaitUntilReplicationGroupAvailable uses the Amazon ElastiCache API operation +// DescribeReplicationGroups to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *ElastiCache) WaitUntilReplicationGroupAvailable(input *DescribeReplicationGroupsInput) error { waiterCfg := waiter.Config{ Operation: "DescribeReplicationGroups", @@ -147,6 +159,10 @@ func (c *ElastiCache) WaitUntilReplicationGroupAvailable(input *DescribeReplicat return w.Wait() } +// WaitUntilReplicationGroupDeleted uses the Amazon ElastiCache API operation +// DescribeReplicationGroups to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *ElastiCache) WaitUntilReplicationGroupDeleted(input *DescribeReplicationGroupsInput) error { waiterCfg := waiter.Config{ Operation: "DescribeReplicationGroups", diff --git a/service/elasticbeanstalk/api.go b/service/elasticbeanstalk/api.go index 4f2deb7c20b..46354026e5f 100644 --- a/service/elasticbeanstalk/api.go +++ b/service/elasticbeanstalk/api.go @@ -2093,6 +2093,8 @@ type ApplyEnvironmentManagedActionInput struct { _ struct{} `type:"structure"` // The action ID of the scheduled managed action to execute. + // + // ActionId is a required field ActionId *string `type:"string" required:"true"` // The environment ID of the target environment. @@ -2220,6 +2222,8 @@ type CheckDNSAvailabilityInput struct { _ struct{} `type:"structure"` // The prefix used when this CNAME is reserved. + // + // CNAMEPrefix is a required field CNAMEPrefix *string `min:"4" type:"string" required:"true"` } @@ -2500,6 +2504,8 @@ type CreateApplicationInput struct { // // Constraint: This name must be unique within your account. If the specified // name already exists, the action returns an InvalidParameterValue error. + // + // ApplicationName is a required field ApplicationName *string `min:"1" type:"string" required:"true"` // Describes the application. @@ -2537,6 +2543,8 @@ type CreateApplicationVersionInput struct { // The name of the application. If no application is found with this name, and // AutoCreateApplication is false, returns an InvalidParameterValue error. + // + // ApplicationName is a required field ApplicationName *string `min:"1" type:"string" required:"true"` // Determines how the system behaves if the specified application for this version @@ -2576,6 +2584,8 @@ type CreateApplicationVersionInput struct { // Constraint: Must be unique per application. If an application version already // exists with this label for the specified application, AWS Elastic Beanstalk // returns an InvalidParameterValue error. + // + // VersionLabel is a required field VersionLabel *string `min:"1" type:"string" required:"true"` } @@ -2618,6 +2628,8 @@ type CreateConfigurationTemplateInput struct { // The name of the application to associate with this configuration template. // If no application is found with this name, AWS Elastic Beanstalk returns // an InvalidParameterValue error. + // + // ApplicationName is a required field ApplicationName *string `min:"1" type:"string" required:"true"` // Describes this configuration. @@ -2668,6 +2680,8 @@ type CreateConfigurationTemplateInput struct { // // Default: If a configuration template already exists with this name, AWS // Elastic Beanstalk returns an InvalidParameterValue error. + // + // TemplateName is a required field TemplateName *string `min:"1" type:"string" required:"true"` } @@ -2725,6 +2739,8 @@ type CreateEnvironmentInput struct { // // If no application is found with this name, CreateEnvironment returns an // InvalidParameterValue error. + // + // ApplicationName is a required field ApplicationName *string `min:"1" type:"string" required:"true"` // If specified, the environment attempts to use this value as the prefix for @@ -2907,6 +2923,8 @@ type DeleteApplicationInput struct { _ struct{} `type:"structure"` // The name of the application to delete. + // + // ApplicationName is a required field ApplicationName *string `min:"1" type:"string" required:"true"` // When set to true, running environments will be terminated before deleting @@ -2959,6 +2977,8 @@ type DeleteApplicationVersionInput struct { _ struct{} `type:"structure"` // The name of the application to delete releases from. + // + // ApplicationName is a required field ApplicationName *string `min:"1" type:"string" required:"true"` // Indicates whether to delete the associated source bundle from Amazon S3: @@ -2969,6 +2989,8 @@ type DeleteApplicationVersionInput struct { DeleteSourceBundle *bool `type:"boolean"` // The label of the version to delete. + // + // VersionLabel is a required field VersionLabel *string `min:"1" type:"string" required:"true"` } @@ -3023,9 +3045,13 @@ type DeleteConfigurationTemplateInput struct { _ struct{} `type:"structure"` // The name of the application to delete the configuration template from. + // + // ApplicationName is a required field ApplicationName *string `min:"1" type:"string" required:"true"` // The name of the configuration template to delete. + // + // TemplateName is a required field TemplateName *string `min:"1" type:"string" required:"true"` } @@ -3080,9 +3106,13 @@ type DeleteEnvironmentConfigurationInput struct { _ struct{} `type:"structure"` // The name of the application the environment is associated with. + // + // ApplicationName is a required field ApplicationName *string `min:"1" type:"string" required:"true"` // The name of the environment to delete the draft configuration from. + // + // EnvironmentName is a required field EnvironmentName *string `min:"4" type:"string" required:"true"` } @@ -3345,6 +3375,8 @@ type DescribeConfigurationSettingsInput struct { _ struct{} `type:"structure"` // The application for the environment or configuration template. + // + // ApplicationName is a required field ApplicationName *string `min:"1" type:"string" required:"true"` // The name of the environment to describe. @@ -4638,6 +4670,8 @@ type RequestEnvironmentInfoInput struct { EnvironmentName *string `min:"4" type:"string"` // The type of information to request. + // + // InfoType is a required field InfoType *string `type:"string" required:"true" enum:"EnvironmentInfoType"` } @@ -4759,6 +4793,8 @@ type RetrieveEnvironmentInfoInput struct { EnvironmentName *string `min:"4" type:"string"` // The type of information to retrieve. + // + // InfoType is a required field InfoType *string `type:"string" required:"true" enum:"EnvironmentInfoType"` } @@ -5189,6 +5225,8 @@ type UpdateApplicationInput struct { // The name of the application to update. If no such application is found, UpdateApplication // returns an InvalidParameterValue error. + // + // ApplicationName is a required field ApplicationName *string `min:"1" type:"string" required:"true"` // A new description for the application. @@ -5230,6 +5268,8 @@ type UpdateApplicationVersionInput struct { // // If no application is found with this name, UpdateApplication returns an // InvalidParameterValue error. + // + // ApplicationName is a required field ApplicationName *string `min:"1" type:"string" required:"true"` // A new description for this release. @@ -5239,6 +5279,8 @@ type UpdateApplicationVersionInput struct { // // If no application version is found with this label, UpdateApplication returns // an InvalidParameterValue error. + // + // VersionLabel is a required field VersionLabel *string `min:"1" type:"string" required:"true"` } @@ -5283,6 +5325,8 @@ type UpdateConfigurationTemplateInput struct { // // If no application is found with this name, UpdateConfigurationTemplate // returns an InvalidParameterValue error. + // + // ApplicationName is a required field ApplicationName *string `min:"1" type:"string" required:"true"` // A new description for the configuration. @@ -5301,6 +5345,8 @@ type UpdateConfigurationTemplateInput struct { // // If no configuration template is found with this name, UpdateConfigurationTemplate // returns an InvalidParameterValue error. + // + // TemplateName is a required field TemplateName *string `min:"1" type:"string" required:"true"` } @@ -5483,6 +5529,8 @@ type ValidateConfigurationSettingsInput struct { // The name of the application that the configuration template or environment // belongs to. + // + // ApplicationName is a required field ApplicationName *string `min:"1" type:"string" required:"true"` // The name of the environment to validate the settings against. @@ -5491,6 +5539,8 @@ type ValidateConfigurationSettingsInput struct { EnvironmentName *string `min:"4" type:"string"` // A list of the options and desired values to evaluate. + // + // OptionSettings is a required field OptionSettings []*ConfigurationOptionSetting `type:"list" required:"true"` // The name of the configuration template to validate the settings against. @@ -5592,190 +5642,247 @@ func (s ValidationMessage) GoString() string { } const ( - // @enum ActionHistoryStatus + // ActionHistoryStatusCompleted is a ActionHistoryStatus enum value ActionHistoryStatusCompleted = "Completed" - // @enum ActionHistoryStatus + + // ActionHistoryStatusFailed is a ActionHistoryStatus enum value ActionHistoryStatusFailed = "Failed" - // @enum ActionHistoryStatus + + // ActionHistoryStatusUnknown is a ActionHistoryStatus enum value ActionHistoryStatusUnknown = "Unknown" ) const ( - // @enum ActionStatus + // ActionStatusScheduled is a ActionStatus enum value ActionStatusScheduled = "Scheduled" - // @enum ActionStatus + + // ActionStatusPending is a ActionStatus enum value ActionStatusPending = "Pending" - // @enum ActionStatus + + // ActionStatusRunning is a ActionStatus enum value ActionStatusRunning = "Running" - // @enum ActionStatus + + // ActionStatusUnknown is a ActionStatus enum value ActionStatusUnknown = "Unknown" ) const ( - // @enum ActionType + // ActionTypeInstanceRefresh is a ActionType enum value ActionTypeInstanceRefresh = "InstanceRefresh" - // @enum ActionType + + // ActionTypePlatformUpdate is a ActionType enum value ActionTypePlatformUpdate = "PlatformUpdate" - // @enum ActionType + + // ActionTypeUnknown is a ActionType enum value ActionTypeUnknown = "Unknown" ) const ( - // @enum ApplicationVersionStatus + // ApplicationVersionStatusProcessed is a ApplicationVersionStatus enum value ApplicationVersionStatusProcessed = "Processed" - // @enum ApplicationVersionStatus + + // ApplicationVersionStatusUnprocessed is a ApplicationVersionStatus enum value ApplicationVersionStatusUnprocessed = "Unprocessed" - // @enum ApplicationVersionStatus + + // ApplicationVersionStatusFailed is a ApplicationVersionStatus enum value ApplicationVersionStatusFailed = "Failed" - // @enum ApplicationVersionStatus + + // ApplicationVersionStatusProcessing is a ApplicationVersionStatus enum value ApplicationVersionStatusProcessing = "Processing" ) const ( - // @enum ConfigurationDeploymentStatus + // ConfigurationDeploymentStatusDeployed is a ConfigurationDeploymentStatus enum value ConfigurationDeploymentStatusDeployed = "deployed" - // @enum ConfigurationDeploymentStatus + + // ConfigurationDeploymentStatusPending is a ConfigurationDeploymentStatus enum value ConfigurationDeploymentStatusPending = "pending" - // @enum ConfigurationDeploymentStatus + + // ConfigurationDeploymentStatusFailed is a ConfigurationDeploymentStatus enum value ConfigurationDeploymentStatusFailed = "failed" ) const ( - // @enum ConfigurationOptionValueType + // ConfigurationOptionValueTypeScalar is a ConfigurationOptionValueType enum value ConfigurationOptionValueTypeScalar = "Scalar" - // @enum ConfigurationOptionValueType + + // ConfigurationOptionValueTypeList is a ConfigurationOptionValueType enum value ConfigurationOptionValueTypeList = "List" ) const ( - // @enum EnvironmentHealth + // EnvironmentHealthGreen is a EnvironmentHealth enum value EnvironmentHealthGreen = "Green" - // @enum EnvironmentHealth + + // EnvironmentHealthYellow is a EnvironmentHealth enum value EnvironmentHealthYellow = "Yellow" - // @enum EnvironmentHealth + + // EnvironmentHealthRed is a EnvironmentHealth enum value EnvironmentHealthRed = "Red" - // @enum EnvironmentHealth + + // EnvironmentHealthGrey is a EnvironmentHealth enum value EnvironmentHealthGrey = "Grey" ) const ( - // @enum EnvironmentHealthAttribute + // EnvironmentHealthAttributeStatus is a EnvironmentHealthAttribute enum value EnvironmentHealthAttributeStatus = "Status" - // @enum EnvironmentHealthAttribute + + // EnvironmentHealthAttributeColor is a EnvironmentHealthAttribute enum value EnvironmentHealthAttributeColor = "Color" - // @enum EnvironmentHealthAttribute + + // EnvironmentHealthAttributeCauses is a EnvironmentHealthAttribute enum value EnvironmentHealthAttributeCauses = "Causes" - // @enum EnvironmentHealthAttribute + + // EnvironmentHealthAttributeApplicationMetrics is a EnvironmentHealthAttribute enum value EnvironmentHealthAttributeApplicationMetrics = "ApplicationMetrics" - // @enum EnvironmentHealthAttribute + + // EnvironmentHealthAttributeInstancesHealth is a EnvironmentHealthAttribute enum value EnvironmentHealthAttributeInstancesHealth = "InstancesHealth" - // @enum EnvironmentHealthAttribute + + // EnvironmentHealthAttributeAll is a EnvironmentHealthAttribute enum value EnvironmentHealthAttributeAll = "All" - // @enum EnvironmentHealthAttribute + + // EnvironmentHealthAttributeHealthStatus is a EnvironmentHealthAttribute enum value EnvironmentHealthAttributeHealthStatus = "HealthStatus" - // @enum EnvironmentHealthAttribute + + // EnvironmentHealthAttributeRefreshedAt is a EnvironmentHealthAttribute enum value EnvironmentHealthAttributeRefreshedAt = "RefreshedAt" ) const ( - // @enum EnvironmentHealthStatus + // EnvironmentHealthStatusNoData is a EnvironmentHealthStatus enum value EnvironmentHealthStatusNoData = "NoData" - // @enum EnvironmentHealthStatus + + // EnvironmentHealthStatusUnknown is a EnvironmentHealthStatus enum value EnvironmentHealthStatusUnknown = "Unknown" - // @enum EnvironmentHealthStatus + + // EnvironmentHealthStatusPending is a EnvironmentHealthStatus enum value EnvironmentHealthStatusPending = "Pending" - // @enum EnvironmentHealthStatus + + // EnvironmentHealthStatusOk is a EnvironmentHealthStatus enum value EnvironmentHealthStatusOk = "Ok" - // @enum EnvironmentHealthStatus + + // EnvironmentHealthStatusInfo is a EnvironmentHealthStatus enum value EnvironmentHealthStatusInfo = "Info" - // @enum EnvironmentHealthStatus + + // EnvironmentHealthStatusWarning is a EnvironmentHealthStatus enum value EnvironmentHealthStatusWarning = "Warning" - // @enum EnvironmentHealthStatus + + // EnvironmentHealthStatusDegraded is a EnvironmentHealthStatus enum value EnvironmentHealthStatusDegraded = "Degraded" - // @enum EnvironmentHealthStatus + + // EnvironmentHealthStatusSevere is a EnvironmentHealthStatus enum value EnvironmentHealthStatusSevere = "Severe" ) const ( - // @enum EnvironmentInfoType + // EnvironmentInfoTypeTail is a EnvironmentInfoType enum value EnvironmentInfoTypeTail = "tail" - // @enum EnvironmentInfoType + + // EnvironmentInfoTypeBundle is a EnvironmentInfoType enum value EnvironmentInfoTypeBundle = "bundle" ) const ( - // @enum EnvironmentStatus + // EnvironmentStatusLaunching is a EnvironmentStatus enum value EnvironmentStatusLaunching = "Launching" - // @enum EnvironmentStatus + + // EnvironmentStatusUpdating is a EnvironmentStatus enum value EnvironmentStatusUpdating = "Updating" - // @enum EnvironmentStatus + + // EnvironmentStatusReady is a EnvironmentStatus enum value EnvironmentStatusReady = "Ready" - // @enum EnvironmentStatus + + // EnvironmentStatusTerminating is a EnvironmentStatus enum value EnvironmentStatusTerminating = "Terminating" - // @enum EnvironmentStatus + + // EnvironmentStatusTerminated is a EnvironmentStatus enum value EnvironmentStatusTerminated = "Terminated" ) const ( - // @enum EventSeverity + // EventSeverityTrace is a EventSeverity enum value EventSeverityTrace = "TRACE" - // @enum EventSeverity + + // EventSeverityDebug is a EventSeverity enum value EventSeverityDebug = "DEBUG" - // @enum EventSeverity + + // EventSeverityInfo is a EventSeverity enum value EventSeverityInfo = "INFO" - // @enum EventSeverity + + // EventSeverityWarn is a EventSeverity enum value EventSeverityWarn = "WARN" - // @enum EventSeverity + + // EventSeverityError is a EventSeverity enum value EventSeverityError = "ERROR" - // @enum EventSeverity + + // EventSeverityFatal is a EventSeverity enum value EventSeverityFatal = "FATAL" ) const ( - // @enum FailureType + // FailureTypeUpdateCancelled is a FailureType enum value FailureTypeUpdateCancelled = "UpdateCancelled" - // @enum FailureType + + // FailureTypeCancellationFailed is a FailureType enum value FailureTypeCancellationFailed = "CancellationFailed" - // @enum FailureType + + // FailureTypeRollbackFailed is a FailureType enum value FailureTypeRollbackFailed = "RollbackFailed" - // @enum FailureType + + // FailureTypeRollbackSuccessful is a FailureType enum value FailureTypeRollbackSuccessful = "RollbackSuccessful" - // @enum FailureType + + // FailureTypeInternalFailure is a FailureType enum value FailureTypeInternalFailure = "InternalFailure" - // @enum FailureType + + // FailureTypeInvalidEnvironmentState is a FailureType enum value FailureTypeInvalidEnvironmentState = "InvalidEnvironmentState" - // @enum FailureType + + // FailureTypePermissionsError is a FailureType enum value FailureTypePermissionsError = "PermissionsError" ) const ( - // @enum InstancesHealthAttribute + // InstancesHealthAttributeHealthStatus is a InstancesHealthAttribute enum value InstancesHealthAttributeHealthStatus = "HealthStatus" - // @enum InstancesHealthAttribute + + // InstancesHealthAttributeColor is a InstancesHealthAttribute enum value InstancesHealthAttributeColor = "Color" - // @enum InstancesHealthAttribute + + // InstancesHealthAttributeCauses is a InstancesHealthAttribute enum value InstancesHealthAttributeCauses = "Causes" - // @enum InstancesHealthAttribute + + // InstancesHealthAttributeApplicationMetrics is a InstancesHealthAttribute enum value InstancesHealthAttributeApplicationMetrics = "ApplicationMetrics" - // @enum InstancesHealthAttribute + + // InstancesHealthAttributeRefreshedAt is a InstancesHealthAttribute enum value InstancesHealthAttributeRefreshedAt = "RefreshedAt" - // @enum InstancesHealthAttribute + + // InstancesHealthAttributeLaunchedAt is a InstancesHealthAttribute enum value InstancesHealthAttributeLaunchedAt = "LaunchedAt" - // @enum InstancesHealthAttribute + + // InstancesHealthAttributeSystem is a InstancesHealthAttribute enum value InstancesHealthAttributeSystem = "System" - // @enum InstancesHealthAttribute + + // InstancesHealthAttributeDeployment is a InstancesHealthAttribute enum value InstancesHealthAttributeDeployment = "Deployment" - // @enum InstancesHealthAttribute + + // InstancesHealthAttributeAvailabilityZone is a InstancesHealthAttribute enum value InstancesHealthAttributeAvailabilityZone = "AvailabilityZone" - // @enum InstancesHealthAttribute + + // InstancesHealthAttributeInstanceType is a InstancesHealthAttribute enum value InstancesHealthAttributeInstanceType = "InstanceType" - // @enum InstancesHealthAttribute + + // InstancesHealthAttributeAll is a InstancesHealthAttribute enum value InstancesHealthAttributeAll = "All" ) const ( - // @enum ValidationSeverity + // ValidationSeverityError is a ValidationSeverity enum value ValidationSeverityError = "error" - // @enum ValidationSeverity + + // ValidationSeverityWarning is a ValidationSeverity enum value ValidationSeverityWarning = "warning" ) diff --git a/service/elasticsearchservice/api.go b/service/elasticsearchservice/api.go index bb46f2a4e9b..a0b96c009bc 100644 --- a/service/elasticsearchservice/api.go +++ b/service/elasticsearchservice/api.go @@ -518,10 +518,14 @@ type AccessPoliciesStatus struct { // may be resource-based, IP-based, or IAM-based. See Configuring Access Policies // (http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-createdomain-configure-access-policies" // target="_blank)for more information. + // + // Options is a required field Options *string `type:"string" required:"true"` // The status of the access policy for the Elasticsearch domain. See OptionStatus // for the status information that's included. + // + // Status is a required field Status *OptionStatus `type:"structure" required:"true"` } @@ -541,9 +545,13 @@ type AddTagsInput struct { _ struct{} `type:"structure"` // Specify the ARN for which you want to add the tags. + // + // ARN is a required field ARN *string `type:"string" required:"true"` // List of Tag that need to be added for the Elasticsearch domain. + // + // TagList is a required field TagList []*Tag `type:"list" required:"true"` } @@ -611,10 +619,14 @@ type AdvancedOptionsStatus struct { // Specifies the status of advanced options for the specified Elasticsearch // domain. + // + // Options is a required field Options map[string]*string `type:"map" required:"true"` // Specifies the status of OptionStatus for advanced options for the specified // Elasticsearch domain. + // + // Status is a required field Status *OptionStatus `type:"structure" required:"true"` } @@ -644,6 +656,8 @@ type CreateElasticsearchDomainInput struct { // are unique across the domains owned by an account within an AWS region. Domain // names must start with a letter or number and can contain the following characters: // a-z (lowercase), 0-9, and - (hyphen). + // + // DomainName is a required field DomainName *string `min:"3" type:"string" required:"true"` // Options to enable, disable and specify the type and size of EBS storage volumes. @@ -715,6 +729,8 @@ type DeleteElasticsearchDomainInput struct { _ struct{} `type:"structure"` // The name of the Elasticsearch domain that you want to permanently delete. + // + // DomainName is a required field DomainName *string `location:"uri" locationName:"DomainName" min:"3" type:"string" required:"true"` } @@ -770,6 +786,8 @@ type DescribeElasticsearchDomainConfigInput struct { _ struct{} `type:"structure"` // The Elasticsearch domain that you want to get information about. + // + // DomainName is a required field DomainName *string `location:"uri" locationName:"DomainName" min:"3" type:"string" required:"true"` } @@ -806,6 +824,8 @@ type DescribeElasticsearchDomainConfigOutput struct { // The configuration information of the domain requested in the DescribeElasticsearchDomainConfig // request. + // + // DomainConfig is a required field DomainConfig *ElasticsearchDomainConfig `type:"structure" required:"true"` } @@ -824,6 +844,8 @@ type DescribeElasticsearchDomainInput struct { _ struct{} `type:"structure"` // The name of the Elasticsearch domain for which you want information. + // + // DomainName is a required field DomainName *string `location:"uri" locationName:"DomainName" min:"3" type:"string" required:"true"` } @@ -859,6 +881,8 @@ type DescribeElasticsearchDomainOutput struct { _ struct{} `type:"structure"` // The current status of the Elasticsearch domain. + // + // DomainStatus is a required field DomainStatus *ElasticsearchDomainStatus `type:"structure" required:"true"` } @@ -878,6 +902,8 @@ type DescribeElasticsearchDomainsInput struct { _ struct{} `type:"structure"` // The Elasticsearch domains for which you want information. + // + // DomainNames is a required field DomainNames []*string `type:"list" required:"true"` } @@ -910,6 +936,8 @@ type DescribeElasticsearchDomainsOutput struct { _ struct{} `type:"structure"` // The status of the domains requested in the DescribeElasticsearchDomains request. + // + // DomainStatusList is a required field DomainStatusList []*ElasticsearchDomainStatus `type:"list" required:"true"` } @@ -974,9 +1002,13 @@ type EBSOptionsStatus struct { _ struct{} `type:"structure"` // Specifies the EBS options for the specified Elasticsearch domain. + // + // Options is a required field Options *EBSOptions `type:"structure" required:"true"` // Specifies the status of the EBS options for the specified Elasticsearch domain. + // + // Status is a required field Status *OptionStatus `type:"structure" required:"true"` } @@ -1033,10 +1065,14 @@ type ElasticsearchClusterConfigStatus struct { _ struct{} `type:"structure"` // Specifies the cluster configuration for the specified Elasticsearch domain. + // + // Options is a required field Options *ElasticsearchClusterConfig `type:"structure" required:"true"` // Specifies the status of the configuration for the specified Elasticsearch // domain. + // + // Status is a required field Status *OptionStatus `type:"structure" required:"true"` } @@ -1092,6 +1128,8 @@ type ElasticsearchDomainStatus struct { // The Amazon resource name (ARN) of an Elasticsearch domain. See Identifiers // for IAM Entities (http://docs.aws.amazon.com/IAM/latest/UserGuide/index.html?Using_Identifiers.html" // target="_blank) in Using AWS Identity and Access Management for more information. + // + // ARN is a required field ARN *string `type:"string" required:"true"` // IAM access policy as a JSON-formatted string. @@ -1111,12 +1149,16 @@ type ElasticsearchDomainStatus struct { Deleted *bool `type:"boolean"` // The unique identifier for the specified Elasticsearch domain. + // + // DomainId is a required field DomainId *string `min:"1" type:"string" required:"true"` // The name of an Elasticsearch domain. Domain names are unique across the domains // owned by an account within an AWS region. Domain names start with a letter // or number and can contain the following characters: a-z (lowercase), 0-9, // and - (hyphen). + // + // DomainName is a required field DomainName *string `min:"3" type:"string" required:"true"` // The EBSOptions for the specified domain. See Configuring EBS-based Storage @@ -1125,6 +1167,8 @@ type ElasticsearchDomainStatus struct { EBSOptions *EBSOptions `type:"structure"` // The type and number of instances in the domain cluster. + // + // ElasticsearchClusterConfig is a required field ElasticsearchClusterConfig *ElasticsearchClusterConfig `type:"structure" required:"true"` ElasticsearchVersion *string `type:"string"` @@ -1158,10 +1202,14 @@ type ElasticsearchVersionStatus struct { _ struct{} `type:"structure"` // Specifies the Elasticsearch version for the specified Elasticsearch domain. + // + // Options is a required field Options *string `type:"string" required:"true"` // Specifies the status of the Elasticsearch version options for the specified // Elasticsearch domain. + // + // Status is a required field Status *OptionStatus `type:"structure" required:"true"` } @@ -1216,6 +1264,8 @@ type ListTagsInput struct { // Specify the ARN for the Elasticsearch domain to which the tags are attached // that you want to view. + // + // ARN is a required field ARN *string `location:"querystring" locationName:"arn" type:"string" required:"true"` } @@ -1266,15 +1316,21 @@ type OptionStatus struct { _ struct{} `type:"structure"` // Timestamp which tells the creation date for the entity. + // + // CreationDate is a required field CreationDate *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"` // Indicates whether the Elasticsearch domain is being deleted. PendingDeletion *bool `type:"boolean"` // Provides the OptionState for the Elasticsearch domain. + // + // State is a required field State *string `type:"string" required:"true" enum:"OptionState"` // Timestamp which tells the last updated time for the entity. + // + // UpdateDate is a required field UpdateDate *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"` // Specifies the latest version for the entity. @@ -1299,10 +1355,14 @@ type RemoveTagsInput struct { // Specifies the ARN for the Elasticsearch domain from which you want to delete // the specified tags. + // + // ARN is a required field ARN *string `type:"string" required:"true"` // Specifies the TagKey list which you want to remove from the Elasticsearch // domain. + // + // TagKeys is a required field TagKeys []*string `type:"list" required:"true"` } @@ -1371,9 +1431,13 @@ type SnapshotOptionsStatus struct { _ struct{} `type:"structure"` // Specifies the daily snapshot options specified for the Elasticsearch domain. + // + // Options is a required field Options *SnapshotOptions `type:"structure" required:"true"` // Specifies the status of a daily automated snapshot. + // + // Status is a required field Status *OptionStatus `type:"structure" required:"true"` } @@ -1393,12 +1457,16 @@ type Tag struct { // Specifies the TagKey, the name of the tag. Tag keys must be unique for the // Elasticsearch domain to which they are attached. + // + // Key is a required field Key *string `min:"1" type:"string" required:"true"` // Specifies the TagValue, the value assigned to the corresponding tag key. // Tag values can be null and do not have to be unique in a tag set. For example, // you can have a key value pair in a tag set of project : Trinity and cost-center // : Trinity + // + // Value is a required field Value *string `type:"string" required:"true"` } @@ -1446,6 +1514,8 @@ type UpdateElasticsearchDomainConfigInput struct { AdvancedOptions map[string]*string `type:"map"` // The name of the Elasticsearch domain that you are updating. + // + // DomainName is a required field DomainName *string `location:"uri" locationName:"DomainName" min:"3" type:"string" required:"true"` // Specify the type and size of the EBS volume that you want to use. @@ -1491,6 +1561,8 @@ type UpdateElasticsearchDomainConfigOutput struct { _ struct{} `type:"structure"` // The status of the updated Elasticsearch domain. + // + // DomainConfig is a required field DomainConfig *ElasticsearchDomainConfig `type:"structure" required:"true"` } @@ -1505,43 +1577,61 @@ func (s UpdateElasticsearchDomainConfigOutput) GoString() string { } const ( - // @enum ESPartitionInstanceType + // ESPartitionInstanceTypeM3MediumElasticsearch is a ESPartitionInstanceType enum value ESPartitionInstanceTypeM3MediumElasticsearch = "m3.medium.elasticsearch" - // @enum ESPartitionInstanceType + + // ESPartitionInstanceTypeM3LargeElasticsearch is a ESPartitionInstanceType enum value ESPartitionInstanceTypeM3LargeElasticsearch = "m3.large.elasticsearch" - // @enum ESPartitionInstanceType + + // ESPartitionInstanceTypeM3XlargeElasticsearch is a ESPartitionInstanceType enum value ESPartitionInstanceTypeM3XlargeElasticsearch = "m3.xlarge.elasticsearch" - // @enum ESPartitionInstanceType + + // ESPartitionInstanceTypeM32xlargeElasticsearch is a ESPartitionInstanceType enum value ESPartitionInstanceTypeM32xlargeElasticsearch = "m3.2xlarge.elasticsearch" - // @enum ESPartitionInstanceType + + // ESPartitionInstanceTypeM4LargeElasticsearch is a ESPartitionInstanceType enum value ESPartitionInstanceTypeM4LargeElasticsearch = "m4.large.elasticsearch" - // @enum ESPartitionInstanceType + + // ESPartitionInstanceTypeM4XlargeElasticsearch is a ESPartitionInstanceType enum value ESPartitionInstanceTypeM4XlargeElasticsearch = "m4.xlarge.elasticsearch" - // @enum ESPartitionInstanceType + + // ESPartitionInstanceTypeM42xlargeElasticsearch is a ESPartitionInstanceType enum value ESPartitionInstanceTypeM42xlargeElasticsearch = "m4.2xlarge.elasticsearch" - // @enum ESPartitionInstanceType + + // ESPartitionInstanceTypeM44xlargeElasticsearch is a ESPartitionInstanceType enum value ESPartitionInstanceTypeM44xlargeElasticsearch = "m4.4xlarge.elasticsearch" - // @enum ESPartitionInstanceType + + // ESPartitionInstanceTypeM410xlargeElasticsearch is a ESPartitionInstanceType enum value ESPartitionInstanceTypeM410xlargeElasticsearch = "m4.10xlarge.elasticsearch" - // @enum ESPartitionInstanceType + + // ESPartitionInstanceTypeT2MicroElasticsearch is a ESPartitionInstanceType enum value ESPartitionInstanceTypeT2MicroElasticsearch = "t2.micro.elasticsearch" - // @enum ESPartitionInstanceType + + // ESPartitionInstanceTypeT2SmallElasticsearch is a ESPartitionInstanceType enum value ESPartitionInstanceTypeT2SmallElasticsearch = "t2.small.elasticsearch" - // @enum ESPartitionInstanceType + + // ESPartitionInstanceTypeT2MediumElasticsearch is a ESPartitionInstanceType enum value ESPartitionInstanceTypeT2MediumElasticsearch = "t2.medium.elasticsearch" - // @enum ESPartitionInstanceType + + // ESPartitionInstanceTypeR3LargeElasticsearch is a ESPartitionInstanceType enum value ESPartitionInstanceTypeR3LargeElasticsearch = "r3.large.elasticsearch" - // @enum ESPartitionInstanceType + + // ESPartitionInstanceTypeR3XlargeElasticsearch is a ESPartitionInstanceType enum value ESPartitionInstanceTypeR3XlargeElasticsearch = "r3.xlarge.elasticsearch" - // @enum ESPartitionInstanceType + + // ESPartitionInstanceTypeR32xlargeElasticsearch is a ESPartitionInstanceType enum value ESPartitionInstanceTypeR32xlargeElasticsearch = "r3.2xlarge.elasticsearch" - // @enum ESPartitionInstanceType + + // ESPartitionInstanceTypeR34xlargeElasticsearch is a ESPartitionInstanceType enum value ESPartitionInstanceTypeR34xlargeElasticsearch = "r3.4xlarge.elasticsearch" - // @enum ESPartitionInstanceType + + // ESPartitionInstanceTypeR38xlargeElasticsearch is a ESPartitionInstanceType enum value ESPartitionInstanceTypeR38xlargeElasticsearch = "r3.8xlarge.elasticsearch" - // @enum ESPartitionInstanceType + + // ESPartitionInstanceTypeI2XlargeElasticsearch is a ESPartitionInstanceType enum value ESPartitionInstanceTypeI2XlargeElasticsearch = "i2.xlarge.elasticsearch" - // @enum ESPartitionInstanceType + + // ESPartitionInstanceTypeI22xlargeElasticsearch is a ESPartitionInstanceType enum value ESPartitionInstanceTypeI22xlargeElasticsearch = "i2.2xlarge.elasticsearch" ) @@ -1550,11 +1640,13 @@ const ( // Processing: The request change is still in-process. Active: The request // change is processed and deployed to the Elasticsearch domain. const ( - // @enum OptionState + // OptionStateRequiresIndexDocuments is a OptionState enum value OptionStateRequiresIndexDocuments = "RequiresIndexDocuments" - // @enum OptionState + + // OptionStateProcessing is a OptionState enum value OptionStateProcessing = "Processing" - // @enum OptionState + + // OptionStateActive is a OptionState enum value OptionStateActive = "Active" ) @@ -1562,10 +1654,12 @@ const ( // Storage (http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-createdomain-configure-ebs" // target="_blank)for more information. const ( - // @enum VolumeType + // VolumeTypeStandard is a VolumeType enum value VolumeTypeStandard = "standard" - // @enum VolumeType + + // VolumeTypeGp2 is a VolumeType enum value VolumeTypeGp2 = "gp2" - // @enum VolumeType + + // VolumeTypeIo1 is a VolumeType enum value VolumeTypeIo1 = "io1" ) diff --git a/service/elastictranscoder/api.go b/service/elastictranscoder/api.go index 2d0685ddf67..11e1f75dbf9 100644 --- a/service/elastictranscoder/api.go +++ b/service/elastictranscoder/api.go @@ -1299,6 +1299,8 @@ type CancelJobInput struct { // // To get a list of the jobs (including their jobId) that have a status of // Submitted, use the ListJobsByStatus API action. + // + // Id is a required field Id *string `location:"uri" locationName:"Id" type:"string" required:"true"` } @@ -1557,6 +1559,8 @@ type CreateJobInput struct { // A section of the request body that provides information about the file that // is being transcoded. + // + // Input is a required field Input *JobInput `type:"structure" required:"true"` // The CreateJobOutput structure. @@ -1576,6 +1580,8 @@ type CreateJobInput struct { // The pipeline determines several settings, including the Amazon S3 bucket // from which Elastic Transcoder gets the files to transcode and the bucket // into which Elastic Transcoder puts the transcoded files. + // + // PipelineId is a required field PipelineId *string `type:"string" required:"true"` // If you specify a preset in PresetId for which the value of Container is fmp4 @@ -2015,12 +2021,16 @@ type CreatePipelineInput struct { // The Amazon S3 bucket in which you saved the media files that you want to // transcode. + // + // InputBucket is a required field InputBucket *string `type:"string" required:"true"` // The name of the pipeline. We recommend that the name be unique within the // AWS account, but uniqueness is not enforced. // // Constraints: Maximum 40 characters. + // + // Name is a required field Name *string `min:"1" type:"string" required:"true"` // The Amazon Simple Notification Service (Amazon SNS) topic that you want to @@ -2064,6 +2074,8 @@ type CreatePipelineInput struct { // The IAM Amazon Resource Name (ARN) for the role that you want Elastic Transcoder // to use to create the pipeline. + // + // Role is a required field Role *string `type:"string" required:"true"` // The ThumbnailConfig object specifies several values, including the Amazon @@ -2187,6 +2199,8 @@ type CreatePresetInput struct { // The container type for the output file. Valid values include flac, flv, fmp4, // gif, mp3, mp4, mpg, mxf, oga, ogg, ts, and webm. + // + // Container is a required field Container *string `type:"string" required:"true"` // A description of the preset. @@ -2194,6 +2208,8 @@ type CreatePresetInput struct { // The name of the preset. We recommend that the name be unique within the AWS // account, but uniqueness is not enforced. + // + // Name is a required field Name *string `min:"1" type:"string" required:"true"` // A section of the request body that specifies the thumbnail parameters, if @@ -2268,6 +2284,8 @@ type DeletePipelineInput struct { _ struct{} `type:"structure"` // The identifier of the pipeline that you want to delete. + // + // Id is a required field Id *string `location:"uri" locationName:"Id" type:"string" required:"true"` } @@ -2314,6 +2332,8 @@ type DeletePresetInput struct { _ struct{} `type:"structure"` // The identifier of the preset for which you want to get detailed information. + // + // Id is a required field Id *string `location:"uri" locationName:"Id" type:"string" required:"true"` } @@ -3033,6 +3053,8 @@ type ListJobsByPipelineInput struct { PageToken *string `location:"querystring" locationName:"PageToken" type:"string"` // The ID of the pipeline for which you want to get job information. + // + // PipelineId is a required field PipelineId *string `location:"uri" locationName:"PipelineId" type:"string" required:"true"` } @@ -3097,6 +3119,8 @@ type ListJobsByStatusInput struct { // To get information about all of the jobs associated with the current AWS // account that have a given status, specify the following status: Submitted, // Progressing, Complete, Canceled, or Error. + // + // Status is a required field Status *string `location:"uri" locationName:"Status" type:"string" required:"true"` } @@ -3894,6 +3918,8 @@ type ReadJobInput struct { _ struct{} `type:"structure"` // The identifier of the job for which you want to get detailed information. + // + // Id is a required field Id *string `location:"uri" locationName:"Id" type:"string" required:"true"` } @@ -3943,6 +3969,8 @@ type ReadPipelineInput struct { _ struct{} `type:"structure"` // The identifier of the pipeline to read. + // + // Id is a required field Id *string `location:"uri" locationName:"Id" type:"string" required:"true"` } @@ -4000,6 +4028,8 @@ type ReadPresetInput struct { _ struct{} `type:"structure"` // The identifier of the preset for which you want to get detailed information. + // + // Id is a required field Id *string `location:"uri" locationName:"Id" type:"string" required:"true"` } @@ -4050,18 +4080,26 @@ type TestRoleInput struct { // The Amazon S3 bucket that contains media files to be transcoded. The action // attempts to read from this bucket. + // + // InputBucket is a required field InputBucket *string `type:"string" required:"true"` // The Amazon S3 bucket that Elastic Transcoder will write transcoded media // files to. The action attempts to read from this bucket. + // + // OutputBucket is a required field OutputBucket *string `type:"string" required:"true"` // The IAM Amazon Resource Name (ARN) for the role that you want Elastic Transcoder // to test. + // + // Role is a required field Role *string `type:"string" required:"true"` // The ARNs of one or more Amazon Simple Notification Service (Amazon SNS) topics // that you want the action to send a test notification to. + // + // Topics is a required field Topics []*string `type:"list" required:"true"` } @@ -4324,6 +4362,8 @@ type UpdatePipelineInput struct { ContentConfig *PipelineOutputConfig `type:"structure"` // The ID of the pipeline that you want to update. + // + // Id is a required field Id *string `location:"uri" locationName:"Id" type:"string" required:"true"` // The Amazon S3 bucket in which you saved the media files that you want to @@ -4431,6 +4471,8 @@ type UpdatePipelineNotificationsInput struct { // The identifier of the pipeline for which you want to change notification // settings. + // + // Id is a required field Id *string `location:"uri" locationName:"Id" type:"string" required:"true"` // The topic ARN for the Amazon Simple Notification Service (Amazon SNS) topic @@ -4449,6 +4491,8 @@ type UpdatePipelineNotificationsInput struct { // The topic ARN for the Amazon SNS topic that you want to notify when Elastic // Transcoder encounters an error condition. This is the ARN that Amazon SNS // returned when you created the topic. + // + // Notifications is a required field Notifications *Notifications `type:"structure" required:"true"` } @@ -4528,12 +4572,16 @@ type UpdatePipelineStatusInput struct { _ struct{} `type:"structure"` // The identifier of the pipeline to update. + // + // Id is a required field Id *string `location:"uri" locationName:"Id" type:"string" required:"true"` // The desired status of the pipeline: // // Active: The pipeline is processing jobs. Paused: The pipeline is not // currently processing jobs. + // + // Status is a required field Status *string `type:"string" required:"true"` } diff --git a/service/elastictranscoder/waiters.go b/service/elastictranscoder/waiters.go index 8f5fcff0365..76746204152 100644 --- a/service/elastictranscoder/waiters.go +++ b/service/elastictranscoder/waiters.go @@ -6,6 +6,10 @@ import ( "github.com/aws/aws-sdk-go/private/waiter" ) +// WaitUntilJobComplete uses the Amazon Elastic Transcoder API operation +// ReadJob to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *ElasticTranscoder) WaitUntilJobComplete(input *ReadJobInput) error { waiterCfg := waiter.Config{ Operation: "ReadJob", diff --git a/service/elb/api.go b/service/elb/api.go index 7c0f327d880..786e3d289e1 100644 --- a/service/elb/api.go +++ b/service/elb/api.go @@ -1604,6 +1604,8 @@ type AccessLog struct { EmitInterval *int64 `type:"integer"` // Specifies whether access logs are enabled for the load balancer. + // + // Enabled is a required field Enabled *bool `type:"boolean" required:"true"` // The name of the Amazon S3 bucket where the access logs are stored. @@ -1643,9 +1645,13 @@ type AddTagsInput struct { _ struct{} `type:"structure"` // The name of the load balancer. You can specify one load balancer only. + // + // LoadBalancerNames is a required field LoadBalancerNames []*string `type:"list" required:"true"` // The tags. + // + // Tags is a required field Tags []*Tag `min:"1" type:"list" required:"true"` } @@ -1751,10 +1757,14 @@ type ApplySecurityGroupsToLoadBalancerInput struct { _ struct{} `type:"structure"` // The name of the load balancer. + // + // LoadBalancerName is a required field LoadBalancerName *string `type:"string" required:"true"` // The IDs of the security groups to associate with the load balancer. Note // that you cannot specify the name of the security group. + // + // SecurityGroups is a required field SecurityGroups []*string `type:"list" required:"true"` } @@ -1807,10 +1817,14 @@ type AttachLoadBalancerToSubnetsInput struct { _ struct{} `type:"structure"` // The name of the load balancer. + // + // LoadBalancerName is a required field LoadBalancerName *string `type:"string" required:"true"` // The IDs of the subnets to add. You can add only one subnet per Availability // Zone. + // + // Subnets is a required field Subnets []*string `type:"list" required:"true"` } @@ -1884,9 +1898,13 @@ type ConfigureHealthCheckInput struct { _ struct{} `type:"structure"` // The configuration information. + // + // HealthCheck is a required field HealthCheck *HealthCheck `type:"structure" required:"true"` // The name of the load balancer. + // + // LoadBalancerName is a required field LoadBalancerName *string `type:"string" required:"true"` } @@ -1944,6 +1962,8 @@ type ConnectionDraining struct { _ struct{} `type:"structure"` // Specifies whether connection draining is enabled for the load balancer. + // + // Enabled is a required field Enabled *bool `type:"boolean" required:"true"` // The maximum time, in seconds, to keep the existing connections open before @@ -1980,6 +2000,8 @@ type ConnectionSettings struct { // The time, in seconds, that the connection is allowed to be idle (no data // has been sent over the connection) before it is closed by the load balancer. + // + // IdleTimeout is a required field IdleTimeout *int64 `min:"1" type:"integer" required:"true"` } @@ -2014,14 +2036,20 @@ type CreateAppCookieStickinessPolicyInput struct { _ struct{} `type:"structure"` // The name of the application cookie used for stickiness. + // + // CookieName is a required field CookieName *string `type:"string" required:"true"` // The name of the load balancer. + // + // LoadBalancerName is a required field LoadBalancerName *string `type:"string" required:"true"` // The name of the policy being created. Policy names must consist of alphanumeric // characters and dashes (-). This name must be unique within the set of policies // for this load balancer. + // + // PolicyName is a required field PolicyName *string `type:"string" required:"true"` } @@ -2080,11 +2108,15 @@ type CreateLBCookieStickinessPolicyInput struct { CookieExpirationPeriod *int64 `type:"long"` // The name of the load balancer. + // + // LoadBalancerName is a required field LoadBalancerName *string `type:"string" required:"true"` // The name of the policy being created. Policy names must consist of alphanumeric // characters and dashes (-). This name must be unique within the set of policies // for this load balancer. + // + // PolicyName is a required field PolicyName *string `type:"string" required:"true"` } @@ -2145,6 +2177,8 @@ type CreateLoadBalancerInput struct { // // For more information, see Listeners for Your Classic Load Balancer (http://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-listener-config.html) // in the Classic Load Balancers Guide. + // + // Listeners is a required field Listeners []*Listener `type:"list" required:"true"` // The name of the load balancer. @@ -2152,6 +2186,8 @@ type CreateLoadBalancerInput struct { // This name must be unique within your set of load balancers for the region, // must have a maximum of 32 characters, must contain only alphanumeric characters // or hyphens, and cannot begin or end with a hyphen. + // + // LoadBalancerName is a required field LoadBalancerName *string `type:"string" required:"true"` // The type of a load balancer. Valid only for load balancers in a VPC. @@ -2235,9 +2271,13 @@ type CreateLoadBalancerListenersInput struct { _ struct{} `type:"structure"` // The listeners. + // + // Listeners is a required field Listeners []*Listener `type:"list" required:"true"` // The name of the load balancer. + // + // LoadBalancerName is a required field LoadBalancerName *string `type:"string" required:"true"` } @@ -2315,6 +2355,8 @@ type CreateLoadBalancerPolicyInput struct { _ struct{} `type:"structure"` // The name of the load balancer. + // + // LoadBalancerName is a required field LoadBalancerName *string `type:"string" required:"true"` // The policy attributes. @@ -2322,9 +2364,13 @@ type CreateLoadBalancerPolicyInput struct { // The name of the load balancer policy to be created. This name must be unique // within the set of policies for this load balancer. + // + // PolicyName is a required field PolicyName *string `type:"string" required:"true"` // The name of the base policy type. To get the list of policy types, use DescribeLoadBalancerPolicyTypes. + // + // PolicyTypeName is a required field PolicyTypeName *string `type:"string" required:"true"` } @@ -2377,6 +2423,8 @@ type CrossZoneLoadBalancing struct { _ struct{} `type:"structure"` // Specifies whether cross-zone load balancing is enabled for the load balancer. + // + // Enabled is a required field Enabled *bool `type:"boolean" required:"true"` } @@ -2408,6 +2456,8 @@ type DeleteLoadBalancerInput struct { _ struct{} `type:"structure"` // The name of the load balancer. + // + // LoadBalancerName is a required field LoadBalancerName *string `type:"string" required:"true"` } @@ -2439,9 +2489,13 @@ type DeleteLoadBalancerListenersInput struct { _ struct{} `type:"structure"` // The name of the load balancer. + // + // LoadBalancerName is a required field LoadBalancerName *string `type:"string" required:"true"` // The client port numbers of the listeners. + // + // LoadBalancerPorts is a required field LoadBalancerPorts []*int64 `type:"list" required:"true"` } @@ -2506,9 +2560,13 @@ type DeleteLoadBalancerPolicyInput struct { _ struct{} `type:"structure"` // The name of the load balancer. + // + // LoadBalancerName is a required field LoadBalancerName *string `type:"string" required:"true"` // The name of the policy. + // + // PolicyName is a required field PolicyName *string `type:"string" required:"true"` } @@ -2558,9 +2616,13 @@ type DeregisterInstancesFromLoadBalancerInput struct { _ struct{} `type:"structure"` // The IDs of the instances. + // + // Instances is a required field Instances []*Instance `type:"list" required:"true"` // The name of the load balancer. + // + // LoadBalancerName is a required field LoadBalancerName *string `type:"string" required:"true"` } @@ -2616,6 +2678,8 @@ type DescribeInstanceHealthInput struct { Instances []*Instance `type:"list"` // The name of the load balancer. + // + // LoadBalancerName is a required field LoadBalancerName *string `type:"string" required:"true"` } @@ -2665,6 +2729,8 @@ type DescribeLoadBalancerAttributesInput struct { _ struct{} `type:"structure"` // The name of the load balancer. + // + // LoadBalancerName is a required field LoadBalancerName *string `type:"string" required:"true"` } @@ -2851,6 +2917,8 @@ type DescribeTagsInput struct { _ struct{} `type:"structure"` // The names of the load balancers. + // + // LoadBalancerNames is a required field LoadBalancerNames []*string `min:"1" type:"list" required:"true"` } @@ -2903,9 +2971,13 @@ type DetachLoadBalancerFromSubnetsInput struct { _ struct{} `type:"structure"` // The name of the load balancer. + // + // LoadBalancerName is a required field LoadBalancerName *string `type:"string" required:"true"` // The IDs of the subnets. + // + // Subnets is a required field Subnets []*string `type:"list" required:"true"` } @@ -2958,9 +3030,13 @@ type DisableAvailabilityZonesForLoadBalancerInput struct { _ struct{} `type:"structure"` // The Availability Zones. + // + // AvailabilityZones is a required field AvailabilityZones []*string `type:"list" required:"true"` // The name of the load balancer. + // + // LoadBalancerName is a required field LoadBalancerName *string `type:"string" required:"true"` } @@ -3013,9 +3089,13 @@ type EnableAvailabilityZonesForLoadBalancerInput struct { _ struct{} `type:"structure"` // The Availability Zones. These must be in the same region as the load balancer. + // + // AvailabilityZones is a required field AvailabilityZones []*string `type:"list" required:"true"` // The name of the load balancer. + // + // LoadBalancerName is a required field LoadBalancerName *string `type:"string" required:"true"` } @@ -3069,10 +3149,14 @@ type HealthCheck struct { // The number of consecutive health checks successes required before moving // the instance to the Healthy state. + // + // HealthyThreshold is a required field HealthyThreshold *int64 `min:"2" type:"integer" required:"true"` // The approximate interval, in seconds, between health checks of an individual // instance. + // + // Interval is a required field Interval *int64 `min:"5" type:"integer" required:"true"` // The instance being checked. The protocol is either TCP, HTTP, HTTPS, or SSL. @@ -3093,16 +3177,22 @@ type HealthCheck struct { // // The total length of the HTTP ping target must be 1024 16-bit Unicode characters // or less. + // + // Target is a required field Target *string `type:"string" required:"true"` // The amount of time, in seconds, during which no response means a failed health // check. // // This value must be less than the Interval value. + // + // Timeout is a required field Timeout *int64 `min:"2" type:"integer" required:"true"` // The number of consecutive health check failures required before moving the // instance to the Unhealthy state. + // + // UnhealthyThreshold is a required field UnhealthyThreshold *int64 `min:"2" type:"integer" required:"true"` } @@ -3264,6 +3354,8 @@ type Listener struct { _ struct{} `type:"structure"` // The port on which the instance is listening. + // + // InstancePort is a required field InstancePort *int64 `min:"1" type:"integer" required:"true"` // The protocol to use for routing traffic to instances: HTTP, HTTPS, TCP, or @@ -3282,10 +3374,14 @@ type Listener struct { // The port on which the load balancer is listening. On EC2-VPC, you can specify // any port from the range 1-65535. On EC2-Classic, you can specify any port // from the following list: 25, 80, 443, 465, 587, 1024-65535. + // + // LoadBalancerPort is a required field LoadBalancerPort *int64 `type:"integer" required:"true"` // The load balancer transport protocol to use for routing: HTTP, HTTPS, TCP, // or SSL. + // + // Protocol is a required field Protocol *string `type:"string" required:"true"` // The Amazon Resource Name (ARN) of the server certificate. @@ -3508,9 +3604,13 @@ type ModifyLoadBalancerAttributesInput struct { _ struct{} `type:"structure"` // The attributes of the load balancer. + // + // LoadBalancerAttributes is a required field LoadBalancerAttributes *LoadBalancerAttributes `type:"structure" required:"true"` // The name of the load balancer. + // + // LoadBalancerName is a required field LoadBalancerName *string `type:"string" required:"true"` } @@ -3726,9 +3826,13 @@ type RegisterInstancesWithLoadBalancerInput struct { _ struct{} `type:"structure"` // The IDs of the instances. + // + // Instances is a required field Instances []*Instance `type:"list" required:"true"` // The name of the load balancer. + // + // LoadBalancerName is a required field LoadBalancerName *string `type:"string" required:"true"` } @@ -3782,9 +3886,13 @@ type RemoveTagsInput struct { // The name of the load balancer. You can specify a maximum of one load balancer // name. + // + // LoadBalancerNames is a required field LoadBalancerNames []*string `type:"list" required:"true"` // The list of tag keys to remove. + // + // Tags is a required field Tags []*TagKeyOnly `min:"1" type:"list" required:"true"` } @@ -3847,12 +3955,18 @@ type SetLoadBalancerListenerSSLCertificateInput struct { _ struct{} `type:"structure"` // The name of the load balancer. + // + // LoadBalancerName is a required field LoadBalancerName *string `type:"string" required:"true"` // The port that uses the specified SSL certificate. + // + // LoadBalancerPort is a required field LoadBalancerPort *int64 `type:"integer" required:"true"` // The Amazon Resource Name (ARN) of the SSL certificate. + // + // SSLCertificateId is a required field SSLCertificateId *string `type:"string" required:"true"` } @@ -3905,13 +4019,19 @@ type SetLoadBalancerPoliciesForBackendServerInput struct { _ struct{} `type:"structure"` // The port number associated with the EC2 instance. + // + // InstancePort is a required field InstancePort *int64 `type:"integer" required:"true"` // The name of the load balancer. + // + // LoadBalancerName is a required field LoadBalancerName *string `type:"string" required:"true"` // The names of the policies. If the list is empty, then all current polices // are removed from the EC2 instance. + // + // PolicyNames is a required field PolicyNames []*string `type:"list" required:"true"` } @@ -3964,14 +4084,20 @@ type SetLoadBalancerPoliciesOfListenerInput struct { _ struct{} `type:"structure"` // The name of the load balancer. + // + // LoadBalancerName is a required field LoadBalancerName *string `type:"string" required:"true"` // The external port of the load balancer. + // + // LoadBalancerPort is a required field LoadBalancerPort *int64 `type:"integer" required:"true"` // The names of the policies. This list must include all policies to be enabled. // If you omit a policy that is currently enabled, it is disabled. If the list // is empty, all current policies are disabled. + // + // PolicyNames is a required field PolicyNames []*string `type:"list" required:"true"` } @@ -4045,6 +4171,8 @@ type Tag struct { _ struct{} `type:"structure"` // The key of the tag. + // + // Key is a required field Key *string `min:"1" type:"string" required:"true"` // The value of the tag. diff --git a/service/elb/waiters.go b/service/elb/waiters.go index b1c9a526aae..89fc1d85b65 100644 --- a/service/elb/waiters.go +++ b/service/elb/waiters.go @@ -6,6 +6,10 @@ import ( "github.com/aws/aws-sdk-go/private/waiter" ) +// WaitUntilAnyInstanceInService uses the Elastic Load Balancing API operation +// DescribeInstanceHealth to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *ELB) WaitUntilAnyInstanceInService(input *DescribeInstanceHealthInput) error { waiterCfg := waiter.Config{ Operation: "DescribeInstanceHealth", @@ -29,6 +33,10 @@ func (c *ELB) WaitUntilAnyInstanceInService(input *DescribeInstanceHealthInput) return w.Wait() } +// WaitUntilInstanceDeregistered uses the Elastic Load Balancing API operation +// DescribeInstanceHealth to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *ELB) WaitUntilInstanceDeregistered(input *DescribeInstanceHealthInput) error { waiterCfg := waiter.Config{ Operation: "DescribeInstanceHealth", @@ -58,6 +66,10 @@ func (c *ELB) WaitUntilInstanceDeregistered(input *DescribeInstanceHealthInput) return w.Wait() } +// WaitUntilInstanceInService uses the Elastic Load Balancing API operation +// DescribeInstanceHealth to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *ELB) WaitUntilInstanceInService(input *DescribeInstanceHealthInput) error { waiterCfg := waiter.Config{ Operation: "DescribeInstanceHealth", diff --git a/service/elbv2/api.go b/service/elbv2/api.go index 77cd413fa29..81aa7150eba 100644 --- a/service/elbv2/api.go +++ b/service/elbv2/api.go @@ -1610,9 +1610,13 @@ type Action struct { _ struct{} `type:"structure"` // The Amazon Resource Name (ARN) of the target group. + // + // TargetGroupArn is a required field TargetGroupArn *string `type:"string" required:"true"` // The type of action. + // + // Type is a required field Type *string `type:"string" required:"true" enum:"ActionTypeEnum"` } @@ -1647,9 +1651,13 @@ type AddTagsInput struct { _ struct{} `type:"structure"` // The Amazon Resource Name (ARN) of the resource. + // + // ResourceArns is a required field ResourceArns []*string `type:"list" required:"true"` // The tags. Each resource can have a maximum of 10 tags. + // + // Tags is a required field Tags []*Tag `min:"1" type:"list" required:"true"` } @@ -1776,15 +1784,23 @@ type CreateListenerInput struct { Certificates []*Certificate `type:"list"` // The default actions for the listener. + // + // DefaultActions is a required field DefaultActions []*Action `type:"list" required:"true"` // The Amazon Resource Name (ARN) of the load balancer. + // + // LoadBalancerArn is a required field LoadBalancerArn *string `type:"string" required:"true"` // The port on which the load balancer is listening. + // + // Port is a required field Port *int64 `min:"1" type:"integer" required:"true"` // The protocol for connections from clients to the load balancer. + // + // Protocol is a required field Protocol *string `type:"string" required:"true" enum:"ProtocolEnum"` // The security policy that defines which ciphers and protocols are supported. @@ -1864,6 +1880,8 @@ type CreateLoadBalancerInput struct { // This name must be unique within your AWS account, can have a maximum of // 32 characters, must contain only alphanumeric characters or hyphens, and // must not begin or end with a hyphen. + // + // Name is a required field Name *string `type:"string" required:"true"` // The nodes of an Internet-facing load balancer have public IP addresses. The @@ -1885,6 +1903,8 @@ type CreateLoadBalancerInput struct { // The IDs of the subnets to attach to the load balancer. You can specify only // one subnet per Availability Zone. You must specify subnets from at least // two Availability Zones. + // + // Subnets is a required field Subnets []*string `type:"list" required:"true"` // One or more tags to assign to the load balancer. @@ -1953,16 +1973,24 @@ type CreateRuleInput struct { _ struct{} `type:"structure"` // The actions for the rule. + // + // Actions is a required field Actions []*Action `type:"list" required:"true"` // The conditions. + // + // Conditions is a required field Conditions []*RuleCondition `type:"list" required:"true"` // The Amazon Resource Name (ARN) of the listener. + // + // ListenerArn is a required field ListenerArn *string `type:"string" required:"true"` // The priority for the rule. A listener can't have multiple rules with the // same priority. + // + // Priority is a required field Priority *int64 `min:"1" type:"integer" required:"true"` } @@ -2063,13 +2091,19 @@ type CreateTargetGroupInput struct { Matcher *Matcher `type:"structure"` // The name of the target group. + // + // Name is a required field Name *string `type:"string" required:"true"` // The port on which the targets receive traffic. This port is used unless you // specify a port override when registering the target. + // + // Port is a required field Port *int64 `min:"1" type:"integer" required:"true"` // The protocol to use for routing traffic to the targets. + // + // Protocol is a required field Protocol *string `type:"string" required:"true" enum:"ProtocolEnum"` // The number of consecutive health check failures required before considering @@ -2077,6 +2111,8 @@ type CreateTargetGroupInput struct { UnhealthyThresholdCount *int64 `min:"2" type:"integer"` // The identifier of the virtual private cloud (VPC). + // + // VpcId is a required field VpcId *string `type:"string" required:"true"` } @@ -2158,6 +2194,8 @@ type DeleteListenerInput struct { _ struct{} `type:"structure"` // The Amazon Resource Name (ARN) of the listener. + // + // ListenerArn is a required field ListenerArn *string `type:"string" required:"true"` } @@ -2204,6 +2242,8 @@ type DeleteLoadBalancerInput struct { _ struct{} `type:"structure"` // The Amazon Resource Name (ARN) of the load balancer. + // + // LoadBalancerArn is a required field LoadBalancerArn *string `type:"string" required:"true"` } @@ -2250,6 +2290,8 @@ type DeleteRuleInput struct { _ struct{} `type:"structure"` // The Amazon Resource Name (ARN) of the rule. + // + // RuleArn is a required field RuleArn *string `type:"string" required:"true"` } @@ -2296,6 +2338,8 @@ type DeleteTargetGroupInput struct { _ struct{} `type:"structure"` // The Amazon Resource Name (ARN) of the target group. + // + // TargetGroupArn is a required field TargetGroupArn *string `type:"string" required:"true"` } @@ -2342,9 +2386,13 @@ type DeregisterTargetsInput struct { _ struct{} `type:"structure"` // The Amazon Resource Name (ARN) of the target group. + // + // TargetGroupArn is a required field TargetGroupArn *string `type:"string" required:"true"` // The targets. + // + // Targets is a required field Targets []*TargetDescription `type:"list" required:"true"` } @@ -2467,6 +2515,8 @@ type DescribeLoadBalancerAttributesInput struct { _ struct{} `type:"structure"` // The Amazon Resource Name (ARN) of the load balancer. + // + // LoadBalancerArn is a required field LoadBalancerArn *string `type:"string" required:"true"` } @@ -2678,6 +2728,8 @@ type DescribeTagsInput struct { _ struct{} `type:"structure"` // The Amazon Resource Names (ARN) of the resources. + // + // ResourceArns is a required field ResourceArns []*string `type:"list" required:"true"` } @@ -2727,6 +2779,8 @@ type DescribeTargetGroupAttributesInput struct { _ struct{} `type:"structure"` // The Amazon Resource Name (ARN) of the target group. + // + // TargetGroupArn is a required field TargetGroupArn *string `type:"string" required:"true"` } @@ -2842,6 +2896,8 @@ type DescribeTargetHealthInput struct { _ struct{} `type:"structure"` // The Amazon Resource Name (ARN) of the target group. + // + // TargetGroupArn is a required field TargetGroupArn *string `type:"string" required:"true"` // The targets. @@ -3061,6 +3117,8 @@ type Matcher struct { // The HTTP codes. The default value is 200. You can specify multiple values // (for example, "200,202") or a range of values (for example, "200-299"). + // + // HttpCode is a required field HttpCode *string `type:"string" required:"true"` } @@ -3098,6 +3156,8 @@ type ModifyListenerInput struct { DefaultActions []*Action `type:"list"` // The Amazon Resource Name (ARN) of the listener. + // + // ListenerArn is a required field ListenerArn *string `type:"string" required:"true"` // The port for connections from clients to the load balancer. @@ -3169,9 +3229,13 @@ type ModifyLoadBalancerAttributesInput struct { _ struct{} `type:"structure"` // The load balancer attributes. + // + // Attributes is a required field Attributes []*LoadBalancerAttribute `type:"list" required:"true"` // The Amazon Resource Name (ARN) of the load balancer. + // + // LoadBalancerArn is a required field LoadBalancerArn *string `type:"string" required:"true"` } @@ -3230,6 +3294,8 @@ type ModifyRuleInput struct { Conditions []*RuleCondition `type:"list"` // The Amazon Resource Name (ARN) of the rule. + // + // RuleArn is a required field RuleArn *string `type:"string" required:"true"` } @@ -3289,9 +3355,13 @@ type ModifyTargetGroupAttributesInput struct { _ struct{} `type:"structure"` // The attributes. + // + // Attributes is a required field Attributes []*TargetGroupAttribute `type:"list" required:"true"` // The Amazon Resource Name (ARN) of the target group. + // + // TargetGroupArn is a required field TargetGroupArn *string `type:"string" required:"true"` } @@ -3368,6 +3438,8 @@ type ModifyTargetGroupInput struct { Matcher *Matcher `type:"structure"` // The Amazon Resource Name (ARN) of the target group. + // + // TargetGroupArn is a required field TargetGroupArn *string `type:"string" required:"true"` // The number of consecutive health check failures required before considering @@ -3441,9 +3513,13 @@ type RegisterTargetsInput struct { _ struct{} `type:"structure"` // The Amazon Resource Name (ARN) of the target group. + // + // TargetGroupArn is a required field TargetGroupArn *string `type:"string" required:"true"` // The targets. + // + // Targets is a required field Targets []*TargetDescription `type:"list" required:"true"` } @@ -3503,9 +3579,13 @@ type RemoveTagsInput struct { _ struct{} `type:"structure"` // The Amazon Resource Name (ARN) of the resource. + // + // ResourceArns is a required field ResourceArns []*string `type:"list" required:"true"` // The tag keys for the tags to remove. + // + // TagKeys is a required field TagKeys []*string `type:"list" required:"true"` } @@ -3653,6 +3733,8 @@ type SetRulePrioritiesInput struct { _ struct{} `type:"structure"` // The rule priorities. + // + // RulePriorities is a required field RulePriorities []*RulePriorityPair `type:"list" required:"true"` } @@ -3712,9 +3794,13 @@ type SetSecurityGroupsInput struct { _ struct{} `type:"structure"` // The Amazon Resource Name (ARN) of the load balancer. + // + // LoadBalancerArn is a required field LoadBalancerArn *string `type:"string" required:"true"` // The IDs of the security groups. + // + // SecurityGroups is a required field SecurityGroups []*string `type:"list" required:"true"` } @@ -3767,10 +3853,14 @@ type SetSubnetsInput struct { _ struct{} `type:"structure"` // The Amazon Resource Name (ARN) of the load balancer. + // + // LoadBalancerArn is a required field LoadBalancerArn *string `type:"string" required:"true"` // The IDs of the subnets. You must specify at least two subnets. You can add // only one subnet per Availability Zone. + // + // Subnets is a required field Subnets []*string `type:"list" required:"true"` } @@ -3847,6 +3937,8 @@ type Tag struct { _ struct{} `type:"structure"` // The key of the tag. + // + // Key is a required field Key *string `min:"1" type:"string" required:"true"` // The value of the tag. @@ -3905,6 +3997,8 @@ type TargetDescription struct { _ struct{} `type:"structure"` // The ID of the target. + // + // Id is a required field Id *string `type:"string" required:"true"` // The port on which the target is listening. @@ -4125,70 +4219,87 @@ func (s TargetHealthDescription) GoString() string { } const ( - // @enum ActionTypeEnum + // ActionTypeEnumForward is a ActionTypeEnum enum value ActionTypeEnumForward = "forward" ) const ( - // @enum LoadBalancerSchemeEnum + // LoadBalancerSchemeEnumInternetFacing is a LoadBalancerSchemeEnum enum value LoadBalancerSchemeEnumInternetFacing = "internet-facing" - // @enum LoadBalancerSchemeEnum + + // LoadBalancerSchemeEnumInternal is a LoadBalancerSchemeEnum enum value LoadBalancerSchemeEnumInternal = "internal" ) const ( - // @enum LoadBalancerStateEnum + // LoadBalancerStateEnumActive is a LoadBalancerStateEnum enum value LoadBalancerStateEnumActive = "active" - // @enum LoadBalancerStateEnum + + // LoadBalancerStateEnumProvisioning is a LoadBalancerStateEnum enum value LoadBalancerStateEnumProvisioning = "provisioning" - // @enum LoadBalancerStateEnum + + // LoadBalancerStateEnumFailed is a LoadBalancerStateEnum enum value LoadBalancerStateEnumFailed = "failed" ) const ( - // @enum LoadBalancerTypeEnum + // LoadBalancerTypeEnumApplication is a LoadBalancerTypeEnum enum value LoadBalancerTypeEnumApplication = "application" ) const ( - // @enum ProtocolEnum + // ProtocolEnumHttp is a ProtocolEnum enum value ProtocolEnumHttp = "HTTP" - // @enum ProtocolEnum + + // ProtocolEnumHttps is a ProtocolEnum enum value ProtocolEnumHttps = "HTTPS" ) const ( - // @enum TargetHealthReasonEnum + // TargetHealthReasonEnumElbRegistrationInProgress is a TargetHealthReasonEnum enum value TargetHealthReasonEnumElbRegistrationInProgress = "Elb.RegistrationInProgress" - // @enum TargetHealthReasonEnum + + // TargetHealthReasonEnumElbInitialHealthChecking is a TargetHealthReasonEnum enum value TargetHealthReasonEnumElbInitialHealthChecking = "Elb.InitialHealthChecking" - // @enum TargetHealthReasonEnum + + // TargetHealthReasonEnumTargetResponseCodeMismatch is a TargetHealthReasonEnum enum value TargetHealthReasonEnumTargetResponseCodeMismatch = "Target.ResponseCodeMismatch" - // @enum TargetHealthReasonEnum + + // TargetHealthReasonEnumTargetTimeout is a TargetHealthReasonEnum enum value TargetHealthReasonEnumTargetTimeout = "Target.Timeout" - // @enum TargetHealthReasonEnum + + // TargetHealthReasonEnumTargetFailedHealthChecks is a TargetHealthReasonEnum enum value TargetHealthReasonEnumTargetFailedHealthChecks = "Target.FailedHealthChecks" - // @enum TargetHealthReasonEnum + + // TargetHealthReasonEnumTargetNotRegistered is a TargetHealthReasonEnum enum value TargetHealthReasonEnumTargetNotRegistered = "Target.NotRegistered" - // @enum TargetHealthReasonEnum + + // TargetHealthReasonEnumTargetNotInUse is a TargetHealthReasonEnum enum value TargetHealthReasonEnumTargetNotInUse = "Target.NotInUse" - // @enum TargetHealthReasonEnum + + // TargetHealthReasonEnumTargetDeregistrationInProgress is a TargetHealthReasonEnum enum value TargetHealthReasonEnumTargetDeregistrationInProgress = "Target.DeregistrationInProgress" - // @enum TargetHealthReasonEnum + + // TargetHealthReasonEnumTargetInvalidState is a TargetHealthReasonEnum enum value TargetHealthReasonEnumTargetInvalidState = "Target.InvalidState" - // @enum TargetHealthReasonEnum + + // TargetHealthReasonEnumElbInternalError is a TargetHealthReasonEnum enum value TargetHealthReasonEnumElbInternalError = "Elb.InternalError" ) const ( - // @enum TargetHealthStateEnum + // TargetHealthStateEnumInitial is a TargetHealthStateEnum enum value TargetHealthStateEnumInitial = "initial" - // @enum TargetHealthStateEnum + + // TargetHealthStateEnumHealthy is a TargetHealthStateEnum enum value TargetHealthStateEnumHealthy = "healthy" - // @enum TargetHealthStateEnum + + // TargetHealthStateEnumUnhealthy is a TargetHealthStateEnum enum value TargetHealthStateEnumUnhealthy = "unhealthy" - // @enum TargetHealthStateEnum + + // TargetHealthStateEnumUnused is a TargetHealthStateEnum enum value TargetHealthStateEnumUnused = "unused" - // @enum TargetHealthStateEnum + + // TargetHealthStateEnumDraining is a TargetHealthStateEnum enum value TargetHealthStateEnumDraining = "draining" ) diff --git a/service/emr/api.go b/service/emr/api.go index 071c8125917..fcf4f5985a7 100644 --- a/service/emr/api.go +++ b/service/emr/api.go @@ -1311,9 +1311,13 @@ type AddInstanceGroupsInput struct { _ struct{} `type:"structure"` // Instance Groups to add. + // + // InstanceGroups is a required field InstanceGroups []*InstanceGroupConfig `type:"list" required:"true"` // Job flow in which to add the instance groups. + // + // JobFlowId is a required field JobFlowId *string `type:"string" required:"true"` } @@ -1380,9 +1384,13 @@ type AddJobFlowStepsInput struct { // A string that uniquely identifies the job flow. This identifier is returned // by RunJobFlow and can also be obtained from ListClusters. + // + // JobFlowId is a required field JobFlowId *string `type:"string" required:"true"` // A list of StepConfig to be executed by the job flow. + // + // Steps is a required field Steps []*StepConfig `type:"list" required:"true"` } @@ -1446,12 +1454,16 @@ type AddTagsInput struct { // The Amazon EMR resource identifier to which tags will be added. This value // must be a cluster identifier. + // + // ResourceId is a required field ResourceId *string `type:"string" required:"true"` // A list of tags to associate with a cluster and propagate to Amazon EC2 instances. // Tags are user-defined key/value pairs that consist of a required key string // with a maximum of 128 characters, and an optional value string with a maximum // of 256 characters. + // + // Tags is a required field Tags []*Tag `type:"list" required:"true"` } @@ -1544,8 +1556,10 @@ func (s Application) GoString() string { type BootstrapActionConfig struct { _ struct{} `type:"structure"` + // Name is a required field Name *string `type:"string" required:"true"` + // ScriptBootstrapAction is a required field ScriptBootstrapAction *ScriptBootstrapActionConfig `type:"structure" required:"true"` } @@ -1845,9 +1859,13 @@ type CreateSecurityConfigurationInput struct { _ struct{} `type:"structure"` // The name of the security configuration. + // + // Name is a required field Name *string `type:"string" required:"true"` // The security configuration details in JSON format. + // + // SecurityConfiguration is a required field SecurityConfiguration *string `type:"string" required:"true"` } @@ -1881,9 +1899,13 @@ type CreateSecurityConfigurationOutput struct { _ struct{} `type:"structure"` // The date and time the security configuration was created. + // + // CreationDateTime is a required field CreationDateTime *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"` // The name of the security configuration. + // + // Name is a required field Name *string `type:"string" required:"true"` } @@ -1901,6 +1923,8 @@ type DeleteSecurityConfigurationInput struct { _ struct{} `type:"structure"` // The name of the security configuration. + // + // Name is a required field Name *string `type:"string" required:"true"` } @@ -1946,6 +1970,8 @@ type DescribeClusterInput struct { _ struct{} `type:"structure"` // The identifier of the cluster to describe. + // + // ClusterId is a required field ClusterId *string `type:"string" required:"true"` } @@ -2039,6 +2065,8 @@ type DescribeSecurityConfigurationInput struct { _ struct{} `type:"structure"` // The name of the security configuration. + // + // Name is a required field Name *string `type:"string" required:"true"` } @@ -2093,9 +2121,13 @@ type DescribeStepInput struct { _ struct{} `type:"structure"` // The identifier of the cluster with steps to describe. + // + // ClusterId is a required field ClusterId *string `type:"string" required:"true"` // The identifier of the step to describe. + // + // StepId is a required field StepId *string `type:"string" required:"true"` } @@ -2173,6 +2205,8 @@ type EbsBlockDeviceConfig struct { // EBS volume specifications such as volume type, IOPS, and size(GiB) that will // be requested for the EBS volume attached to an EC2 instance in the cluster. + // + // VolumeSpecification is a required field VolumeSpecification *VolumeSpecification `type:"structure" required:"true"` // Number of EBS volumes with specific volume configuration, that will be associated @@ -2361,6 +2395,8 @@ type HadoopJarStepConfig struct { Args []*string `type:"list"` // A path to a JAR file run during the step. + // + // Jar is a required field Jar *string `type:"string" required:"true"` // The name of the main class in the specified Java file. If not specified, @@ -2552,12 +2588,18 @@ type InstanceGroupConfig struct { EbsConfiguration *EbsConfiguration `type:"structure"` // Target number of instances for the instance group. + // + // InstanceCount is a required field InstanceCount *int64 `type:"integer" required:"true"` // The role of the instance group in the cluster. + // + // InstanceRole is a required field InstanceRole *string `type:"string" required:"true" enum:"InstanceRoleType"` // The Amazon EC2 instance type for all instances in the instance group. + // + // InstanceType is a required field InstanceType *string `min:"1" type:"string" required:"true"` // Market type of the Amazon EC2 instances used to create a cluster node. @@ -2613,6 +2655,8 @@ type InstanceGroupDetail struct { BidPrice *string `type:"string"` // The date/time the instance group was created. + // + // CreationDateTime is a required field CreationDateTime *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"` // The date/time the instance group was terminated. @@ -2622,21 +2666,31 @@ type InstanceGroupDetail struct { InstanceGroupId *string `type:"string"` // Target number of instances to run in the instance group. + // + // InstanceRequestCount is a required field InstanceRequestCount *int64 `type:"integer" required:"true"` // Instance group role in the cluster + // + // InstanceRole is a required field InstanceRole *string `type:"string" required:"true" enum:"InstanceRoleType"` // Actual count of running instances. + // + // InstanceRunningCount is a required field InstanceRunningCount *int64 `type:"integer" required:"true"` // Amazon EC2 Instance type. + // + // InstanceType is a required field InstanceType *string `min:"1" type:"string" required:"true"` // Details regarding the state of the instance group. LastStateChangeReason *string `type:"string"` // Market type of the Amazon EC2 instances used to create a cluster node. + // + // Market is a required field Market *string `type:"string" required:"true" enum:"MarketType"` // Friendly name for the instance group. @@ -2650,6 +2704,8 @@ type InstanceGroupDetail struct { // State of instance group. The following values are deprecated: STARTING, TERMINATED, // and FAILED. + // + // State is a required field State *string `type:"string" required:"true" enum:"InstanceGroupState"` } @@ -2675,6 +2731,8 @@ type InstanceGroupModifyConfig struct { InstanceCount *int64 `type:"integer"` // Unique ID of the instance group to expand or shrink. + // + // InstanceGroupId is a required field InstanceGroupId *string `type:"string" required:"true"` // Policy for customizing shrink operations. @@ -2882,12 +2940,18 @@ type JobFlowDetail struct { BootstrapActions []*BootstrapActionDetail `type:"list"` // Describes the execution status of the job flow. + // + // ExecutionStatusDetail is a required field ExecutionStatusDetail *JobFlowExecutionStatusDetail `type:"structure" required:"true"` // Describes the Amazon EC2 instances of the job flow. + // + // Instances is a required field Instances *JobFlowInstancesDetail `type:"structure" required:"true"` // The job flow identifier. + // + // JobFlowId is a required field JobFlowId *string `type:"string" required:"true"` // The IAM role that was specified when the job flow was launched. The EC2 instances @@ -2898,6 +2962,8 @@ type JobFlowDetail struct { LogUri *string `type:"string"` // The name of the job flow. + // + // Name is a required field Name *string `type:"string" required:"true"` // The IAM role that will be assumed by the Amazon EMR service to access AWS @@ -2936,6 +3002,8 @@ type JobFlowExecutionStatusDetail struct { _ struct{} `type:"structure"` // The creation date and time of the job flow. + // + // CreationDateTime is a required field CreationDateTime *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"` // The completion date and time of the job flow. @@ -2952,6 +3020,8 @@ type JobFlowExecutionStatusDetail struct { StartDateTime *time.Time `type:"timestamp" timestampFormat:"unix"` // The state of the job flow. + // + // State is a required field State *string `type:"string" required:"true" enum:"JobFlowExecutionState"` } @@ -3093,6 +3163,8 @@ type JobFlowInstancesDetail struct { // The number of Amazon EC2 instances in the cluster. If the value is 1, the // same instance serves as both the master and slave node. If the value is greater // than 1, one instance is the master node and all others are slave nodes. + // + // InstanceCount is a required field InstanceCount *int64 `type:"integer" required:"true"` // Details about the job flow's instance groups. @@ -3105,6 +3177,8 @@ type JobFlowInstancesDetail struct { MasterInstanceId *string `type:"string"` // The Amazon EC2 master node instance type. + // + // MasterInstanceType is a required field MasterInstanceType *string `min:"1" type:"string" required:"true"` // The DNS name of the master node. @@ -3122,6 +3196,8 @@ type JobFlowInstancesDetail struct { Placement *PlacementType `type:"structure"` // The Amazon EC2 slave node instance type. + // + // SlaveInstanceType is a required field SlaveInstanceType *string `min:"1" type:"string" required:"true"` // Specifies whether the Amazon EC2 instances in the cluster are protected from @@ -3166,6 +3242,8 @@ type ListBootstrapActionsInput struct { _ struct{} `type:"structure"` // The cluster identifier for the bootstrap actions to list . + // + // ClusterId is a required field ClusterId *string `type:"string" required:"true"` // The pagination token that indicates the next set of results to retrieve. @@ -3271,6 +3349,8 @@ type ListInstanceGroupsInput struct { _ struct{} `type:"structure"` // The identifier of the cluster for which to list the instance groups. + // + // ClusterId is a required field ClusterId *string `type:"string" required:"true"` // The pagination token that indicates the next set of results to retrieve. @@ -3326,6 +3406,8 @@ type ListInstancesInput struct { _ struct{} `type:"structure"` // The identifier of the cluster for which to list the instances. + // + // ClusterId is a required field ClusterId *string `type:"string" required:"true"` // The identifier of the instance group for which to list the instances. @@ -3430,6 +3512,8 @@ type ListStepsInput struct { _ struct{} `type:"structure"` // The identifier of the cluster for which to list the steps. + // + // ClusterId is a required field ClusterId *string `type:"string" required:"true"` // The pagination token that indicates the next set of results to retrieve. @@ -3544,6 +3628,8 @@ type PlacementType struct { _ struct{} `type:"structure"` // The Amazon EC2 Availability Zone for the job flow. + // + // AvailabilityZone is a required field AvailabilityZone *string `type:"string" required:"true"` } @@ -3576,9 +3662,13 @@ type RemoveTagsInput struct { // The Amazon EMR resource identifier from which tags will be removed. This // value must be a cluster identifier. + // + // ResourceId is a required field ResourceId *string `type:"string" required:"true"` // A list of tag keys to remove from a resource. + // + // TagKeys is a required field TagKeys []*string `type:"list" required:"true"` } @@ -3665,6 +3755,8 @@ type RunJobFlowInput struct { // A specification of the number and type of Amazon EC2 instances on which to // run the job flow. + // + // Instances is a required field Instances *JobFlowInstancesConfig `type:"structure" required:"true"` // Also called instance profile and EC2 role. An IAM role for an EMR cluster. @@ -3678,6 +3770,8 @@ type RunJobFlowInput struct { LogUri *string `type:"string"` // The name of the job flow. + // + // Name is a required field Name *string `type:"string" required:"true"` // For Amazon EMR releases 3.x and 2.x. For Amazon EMR releases 4.x and greater, @@ -3822,6 +3916,7 @@ type ScriptBootstrapActionConfig struct { Args []*string `type:"list"` + // Path is a required field Path *string `type:"string" required:"true"` } @@ -3876,11 +3971,15 @@ type SetTerminationProtectionInput struct { // A list of strings that uniquely identify the job flows to protect. This identifier // is returned by RunJobFlow and can also be obtained from DescribeJobFlows // . + // + // JobFlowIds is a required field JobFlowIds []*string `type:"list" required:"true"` // A Boolean that indicates whether to protect the job flow and prevent the // Amazon EC2 instances in the cluster from shutting down due to API calls, // user intervention, or job-flow error. + // + // TerminationProtected is a required field TerminationProtected *bool `type:"boolean" required:"true"` } @@ -3929,6 +4028,8 @@ type SetVisibleToAllUsersInput struct { _ struct{} `type:"structure"` // Identifiers of the job flows to receive the new visibility setting. + // + // JobFlowIds is a required field JobFlowIds []*string `type:"list" required:"true"` // Whether the specified job flows are visible to all IAM users of the AWS account @@ -3936,6 +4037,8 @@ type SetVisibleToAllUsersInput struct { // of that AWS account can view and, if they have the proper IAM policy permissions // set, manage the job flows. If it is set to False, only the IAM user that // created a job flow can view and manage it. + // + // VisibleToAllUsers is a required field VisibleToAllUsers *bool `type:"boolean" required:"true"` } @@ -4042,9 +4145,13 @@ type StepConfig struct { ActionOnFailure *string `type:"string" enum:"ActionOnFailure"` // The JAR file used for the job flow step. + // + // HadoopJarStep is a required field HadoopJarStep *HadoopJarStepConfig `type:"structure" required:"true"` // The name of the job flow step. + // + // Name is a required field Name *string `type:"string" required:"true"` } @@ -4084,9 +4191,13 @@ type StepDetail struct { _ struct{} `type:"structure"` // The description of the step status. + // + // ExecutionStatusDetail is a required field ExecutionStatusDetail *StepExecutionStatusDetail `type:"structure" required:"true"` // The step configuration. + // + // StepConfig is a required field StepConfig *StepConfig `type:"structure" required:"true"` } @@ -4105,6 +4216,8 @@ type StepExecutionStatusDetail struct { _ struct{} `type:"structure"` // The creation date and time of the step. + // + // CreationDateTime is a required field CreationDateTime *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"` // The completion date and time of the step. @@ -4117,6 +4230,8 @@ type StepExecutionStatusDetail struct { StartDateTime *time.Time `type:"timestamp" timestampFormat:"unix"` // The state of the job flow step. + // + // State is a required field State *string `type:"string" required:"true" enum:"StepExecutionState"` } @@ -4290,6 +4405,8 @@ type TerminateJobFlowsInput struct { _ struct{} `type:"structure"` // A list of job flows to be shutdown. + // + // JobFlowIds is a required field JobFlowIds []*string `type:"list" required:"true"` } @@ -4340,9 +4457,13 @@ type VolumeSpecification struct { // The volume size, in gibibytes (GiB). This can be a number from 1 - 1024. // If the volume type is EBS-optimized, the minimum value is 10. + // + // SizeInGB is a required field SizeInGB *int64 `type:"integer" required:"true"` // The volume type. Volume types supported are gp2, io1, standard. + // + // VolumeType is a required field VolumeType *string `type:"string" required:"true"` } @@ -4373,188 +4494,246 @@ func (s *VolumeSpecification) Validate() error { } const ( - // @enum ActionOnFailure + // ActionOnFailureTerminateJobFlow is a ActionOnFailure enum value ActionOnFailureTerminateJobFlow = "TERMINATE_JOB_FLOW" - // @enum ActionOnFailure + + // ActionOnFailureTerminateCluster is a ActionOnFailure enum value ActionOnFailureTerminateCluster = "TERMINATE_CLUSTER" - // @enum ActionOnFailure + + // ActionOnFailureCancelAndWait is a ActionOnFailure enum value ActionOnFailureCancelAndWait = "CANCEL_AND_WAIT" - // @enum ActionOnFailure + + // ActionOnFailureContinue is a ActionOnFailure enum value ActionOnFailureContinue = "CONTINUE" ) const ( - // @enum ClusterState + // ClusterStateStarting is a ClusterState enum value ClusterStateStarting = "STARTING" - // @enum ClusterState + + // ClusterStateBootstrapping is a ClusterState enum value ClusterStateBootstrapping = "BOOTSTRAPPING" - // @enum ClusterState + + // ClusterStateRunning is a ClusterState enum value ClusterStateRunning = "RUNNING" - // @enum ClusterState + + // ClusterStateWaiting is a ClusterState enum value ClusterStateWaiting = "WAITING" - // @enum ClusterState + + // ClusterStateTerminating is a ClusterState enum value ClusterStateTerminating = "TERMINATING" - // @enum ClusterState + + // ClusterStateTerminated is a ClusterState enum value ClusterStateTerminated = "TERMINATED" - // @enum ClusterState + + // ClusterStateTerminatedWithErrors is a ClusterState enum value ClusterStateTerminatedWithErrors = "TERMINATED_WITH_ERRORS" ) const ( - // @enum ClusterStateChangeReasonCode + // ClusterStateChangeReasonCodeInternalError is a ClusterStateChangeReasonCode enum value ClusterStateChangeReasonCodeInternalError = "INTERNAL_ERROR" - // @enum ClusterStateChangeReasonCode + + // ClusterStateChangeReasonCodeValidationError is a ClusterStateChangeReasonCode enum value ClusterStateChangeReasonCodeValidationError = "VALIDATION_ERROR" - // @enum ClusterStateChangeReasonCode + + // ClusterStateChangeReasonCodeInstanceFailure is a ClusterStateChangeReasonCode enum value ClusterStateChangeReasonCodeInstanceFailure = "INSTANCE_FAILURE" - // @enum ClusterStateChangeReasonCode + + // ClusterStateChangeReasonCodeBootstrapFailure is a ClusterStateChangeReasonCode enum value ClusterStateChangeReasonCodeBootstrapFailure = "BOOTSTRAP_FAILURE" - // @enum ClusterStateChangeReasonCode + + // ClusterStateChangeReasonCodeUserRequest is a ClusterStateChangeReasonCode enum value ClusterStateChangeReasonCodeUserRequest = "USER_REQUEST" - // @enum ClusterStateChangeReasonCode + + // ClusterStateChangeReasonCodeStepFailure is a ClusterStateChangeReasonCode enum value ClusterStateChangeReasonCodeStepFailure = "STEP_FAILURE" - // @enum ClusterStateChangeReasonCode + + // ClusterStateChangeReasonCodeAllStepsCompleted is a ClusterStateChangeReasonCode enum value ClusterStateChangeReasonCodeAllStepsCompleted = "ALL_STEPS_COMPLETED" ) const ( - // @enum InstanceGroupState + // InstanceGroupStateProvisioning is a InstanceGroupState enum value InstanceGroupStateProvisioning = "PROVISIONING" - // @enum InstanceGroupState + + // InstanceGroupStateBootstrapping is a InstanceGroupState enum value InstanceGroupStateBootstrapping = "BOOTSTRAPPING" - // @enum InstanceGroupState + + // InstanceGroupStateRunning is a InstanceGroupState enum value InstanceGroupStateRunning = "RUNNING" - // @enum InstanceGroupState + + // InstanceGroupStateResizing is a InstanceGroupState enum value InstanceGroupStateResizing = "RESIZING" - // @enum InstanceGroupState + + // InstanceGroupStateSuspended is a InstanceGroupState enum value InstanceGroupStateSuspended = "SUSPENDED" - // @enum InstanceGroupState + + // InstanceGroupStateTerminating is a InstanceGroupState enum value InstanceGroupStateTerminating = "TERMINATING" - // @enum InstanceGroupState + + // InstanceGroupStateTerminated is a InstanceGroupState enum value InstanceGroupStateTerminated = "TERMINATED" - // @enum InstanceGroupState + + // InstanceGroupStateArrested is a InstanceGroupState enum value InstanceGroupStateArrested = "ARRESTED" - // @enum InstanceGroupState + + // InstanceGroupStateShuttingDown is a InstanceGroupState enum value InstanceGroupStateShuttingDown = "SHUTTING_DOWN" - // @enum InstanceGroupState + + // InstanceGroupStateEnded is a InstanceGroupState enum value InstanceGroupStateEnded = "ENDED" ) const ( - // @enum InstanceGroupStateChangeReasonCode + // InstanceGroupStateChangeReasonCodeInternalError is a InstanceGroupStateChangeReasonCode enum value InstanceGroupStateChangeReasonCodeInternalError = "INTERNAL_ERROR" - // @enum InstanceGroupStateChangeReasonCode + + // InstanceGroupStateChangeReasonCodeValidationError is a InstanceGroupStateChangeReasonCode enum value InstanceGroupStateChangeReasonCodeValidationError = "VALIDATION_ERROR" - // @enum InstanceGroupStateChangeReasonCode + + // InstanceGroupStateChangeReasonCodeInstanceFailure is a InstanceGroupStateChangeReasonCode enum value InstanceGroupStateChangeReasonCodeInstanceFailure = "INSTANCE_FAILURE" - // @enum InstanceGroupStateChangeReasonCode + + // InstanceGroupStateChangeReasonCodeClusterTerminated is a InstanceGroupStateChangeReasonCode enum value InstanceGroupStateChangeReasonCodeClusterTerminated = "CLUSTER_TERMINATED" ) const ( - // @enum InstanceGroupType + // InstanceGroupTypeMaster is a InstanceGroupType enum value InstanceGroupTypeMaster = "MASTER" - // @enum InstanceGroupType + + // InstanceGroupTypeCore is a InstanceGroupType enum value InstanceGroupTypeCore = "CORE" - // @enum InstanceGroupType + + // InstanceGroupTypeTask is a InstanceGroupType enum value InstanceGroupTypeTask = "TASK" ) const ( - // @enum InstanceRoleType + // InstanceRoleTypeMaster is a InstanceRoleType enum value InstanceRoleTypeMaster = "MASTER" - // @enum InstanceRoleType + + // InstanceRoleTypeCore is a InstanceRoleType enum value InstanceRoleTypeCore = "CORE" - // @enum InstanceRoleType + + // InstanceRoleTypeTask is a InstanceRoleType enum value InstanceRoleTypeTask = "TASK" ) const ( - // @enum InstanceState + // InstanceStateAwaitingFulfillment is a InstanceState enum value InstanceStateAwaitingFulfillment = "AWAITING_FULFILLMENT" - // @enum InstanceState + + // InstanceStateProvisioning is a InstanceState enum value InstanceStateProvisioning = "PROVISIONING" - // @enum InstanceState + + // InstanceStateBootstrapping is a InstanceState enum value InstanceStateBootstrapping = "BOOTSTRAPPING" - // @enum InstanceState + + // InstanceStateRunning is a InstanceState enum value InstanceStateRunning = "RUNNING" - // @enum InstanceState + + // InstanceStateTerminated is a InstanceState enum value InstanceStateTerminated = "TERMINATED" ) const ( - // @enum InstanceStateChangeReasonCode + // InstanceStateChangeReasonCodeInternalError is a InstanceStateChangeReasonCode enum value InstanceStateChangeReasonCodeInternalError = "INTERNAL_ERROR" - // @enum InstanceStateChangeReasonCode + + // InstanceStateChangeReasonCodeValidationError is a InstanceStateChangeReasonCode enum value InstanceStateChangeReasonCodeValidationError = "VALIDATION_ERROR" - // @enum InstanceStateChangeReasonCode + + // InstanceStateChangeReasonCodeInstanceFailure is a InstanceStateChangeReasonCode enum value InstanceStateChangeReasonCodeInstanceFailure = "INSTANCE_FAILURE" - // @enum InstanceStateChangeReasonCode + + // InstanceStateChangeReasonCodeBootstrapFailure is a InstanceStateChangeReasonCode enum value InstanceStateChangeReasonCodeBootstrapFailure = "BOOTSTRAP_FAILURE" - // @enum InstanceStateChangeReasonCode + + // InstanceStateChangeReasonCodeClusterTerminated is a InstanceStateChangeReasonCode enum value InstanceStateChangeReasonCodeClusterTerminated = "CLUSTER_TERMINATED" ) // The type of instance. const ( - // @enum JobFlowExecutionState + // JobFlowExecutionStateStarting is a JobFlowExecutionState enum value JobFlowExecutionStateStarting = "STARTING" - // @enum JobFlowExecutionState + + // JobFlowExecutionStateBootstrapping is a JobFlowExecutionState enum value JobFlowExecutionStateBootstrapping = "BOOTSTRAPPING" - // @enum JobFlowExecutionState + + // JobFlowExecutionStateRunning is a JobFlowExecutionState enum value JobFlowExecutionStateRunning = "RUNNING" - // @enum JobFlowExecutionState + + // JobFlowExecutionStateWaiting is a JobFlowExecutionState enum value JobFlowExecutionStateWaiting = "WAITING" - // @enum JobFlowExecutionState + + // JobFlowExecutionStateShuttingDown is a JobFlowExecutionState enum value JobFlowExecutionStateShuttingDown = "SHUTTING_DOWN" - // @enum JobFlowExecutionState + + // JobFlowExecutionStateTerminated is a JobFlowExecutionState enum value JobFlowExecutionStateTerminated = "TERMINATED" - // @enum JobFlowExecutionState + + // JobFlowExecutionStateCompleted is a JobFlowExecutionState enum value JobFlowExecutionStateCompleted = "COMPLETED" - // @enum JobFlowExecutionState + + // JobFlowExecutionStateFailed is a JobFlowExecutionState enum value JobFlowExecutionStateFailed = "FAILED" ) const ( - // @enum MarketType + // MarketTypeOnDemand is a MarketType enum value MarketTypeOnDemand = "ON_DEMAND" - // @enum MarketType + + // MarketTypeSpot is a MarketType enum value MarketTypeSpot = "SPOT" ) const ( - // @enum StepExecutionState + // StepExecutionStatePending is a StepExecutionState enum value StepExecutionStatePending = "PENDING" - // @enum StepExecutionState + + // StepExecutionStateRunning is a StepExecutionState enum value StepExecutionStateRunning = "RUNNING" - // @enum StepExecutionState + + // StepExecutionStateContinue is a StepExecutionState enum value StepExecutionStateContinue = "CONTINUE" - // @enum StepExecutionState + + // StepExecutionStateCompleted is a StepExecutionState enum value StepExecutionStateCompleted = "COMPLETED" - // @enum StepExecutionState + + // StepExecutionStateCancelled is a StepExecutionState enum value StepExecutionStateCancelled = "CANCELLED" - // @enum StepExecutionState + + // StepExecutionStateFailed is a StepExecutionState enum value StepExecutionStateFailed = "FAILED" - // @enum StepExecutionState + + // StepExecutionStateInterrupted is a StepExecutionState enum value StepExecutionStateInterrupted = "INTERRUPTED" ) const ( - // @enum StepState + // StepStatePending is a StepState enum value StepStatePending = "PENDING" - // @enum StepState + + // StepStateRunning is a StepState enum value StepStateRunning = "RUNNING" - // @enum StepState + + // StepStateCompleted is a StepState enum value StepStateCompleted = "COMPLETED" - // @enum StepState + + // StepStateCancelled is a StepState enum value StepStateCancelled = "CANCELLED" - // @enum StepState + + // StepStateFailed is a StepState enum value StepStateFailed = "FAILED" - // @enum StepState + + // StepStateInterrupted is a StepState enum value StepStateInterrupted = "INTERRUPTED" ) const ( - // @enum StepStateChangeReasonCode + // StepStateChangeReasonCodeNone is a StepStateChangeReasonCode enum value StepStateChangeReasonCodeNone = "NONE" ) diff --git a/service/emr/waiters.go b/service/emr/waiters.go index 07c30c5ccb3..ccf17eb9633 100644 --- a/service/emr/waiters.go +++ b/service/emr/waiters.go @@ -6,6 +6,10 @@ import ( "github.com/aws/aws-sdk-go/private/waiter" ) +// WaitUntilClusterRunning uses the Amazon EMR API operation +// DescribeCluster to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *EMR) WaitUntilClusterRunning(input *DescribeClusterInput) error { waiterCfg := waiter.Config{ Operation: "DescribeCluster", @@ -53,6 +57,10 @@ func (c *EMR) WaitUntilClusterRunning(input *DescribeClusterInput) error { return w.Wait() } +// WaitUntilStepComplete uses the Amazon EMR API operation +// DescribeStep to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *EMR) WaitUntilStepComplete(input *DescribeStepInput) error { waiterCfg := waiter.Config{ Operation: "DescribeStep", diff --git a/service/firehose/api.go b/service/firehose/api.go index e9eb2fdeebe..f549378a9fd 100644 --- a/service/firehose/api.go +++ b/service/firehose/api.go @@ -637,6 +637,8 @@ type CopyCommand struct { DataTableColumns *string `type:"string"` // The name of the target table. The table must already exist in the database. + // + // DataTableName is a required field DataTableName *string `min:"1" type:"string" required:"true"` } @@ -671,6 +673,8 @@ type CreateDeliveryStreamInput struct { _ struct{} `type:"structure"` // The name of the delivery stream. + // + // DeliveryStreamName is a required field DeliveryStreamName *string `min:"1" type:"string" required:"true"` // The destination in Amazon ES. This value cannot be specified if Amazon S3 @@ -752,6 +756,8 @@ type DeleteDeliveryStreamInput struct { _ struct{} `type:"structure"` // The name of the delivery stream. + // + // DeliveryStreamName is a required field DeliveryStreamName *string `min:"1" type:"string" required:"true"` } @@ -804,18 +810,28 @@ type DeliveryStreamDescription struct { CreateTimestamp *time.Time `type:"timestamp" timestampFormat:"unix"` // The Amazon Resource Name (ARN) of the delivery stream. + // + // DeliveryStreamARN is a required field DeliveryStreamARN *string `type:"string" required:"true"` // The name of the delivery stream. + // + // DeliveryStreamName is a required field DeliveryStreamName *string `min:"1" type:"string" required:"true"` // The status of the delivery stream. + // + // DeliveryStreamStatus is a required field DeliveryStreamStatus *string `type:"string" required:"true" enum:"DeliveryStreamStatus"` // The destinations. + // + // Destinations is a required field Destinations []*DestinationDescription `type:"list" required:"true"` // Indicates whether there are more destinations available to list. + // + // HasMoreDestinations is a required field HasMoreDestinations *bool `type:"boolean" required:"true"` // The date and time that the delivery stream was last updated. @@ -826,6 +842,8 @@ type DeliveryStreamDescription struct { // VersionId is required when updating the destination. This is so that the // service knows it is applying the changes to the correct version of the delivery // stream. + // + // VersionId is a required field VersionId *string `min:"1" type:"string" required:"true"` } @@ -844,6 +862,8 @@ type DescribeDeliveryStreamInput struct { _ struct{} `type:"structure"` // The name of the delivery stream. + // + // DeliveryStreamName is a required field DeliveryStreamName *string `min:"1" type:"string" required:"true"` // Specifies the destination ID to start returning the destination information. @@ -892,6 +912,8 @@ type DescribeDeliveryStreamOutput struct { _ struct{} `type:"structure"` // Information about the delivery stream. + // + // DeliveryStreamDescription is a required field DeliveryStreamDescription *DeliveryStreamDescription `type:"structure" required:"true"` } @@ -910,6 +932,8 @@ type DestinationDescription struct { _ struct{} `type:"structure"` // The ID of the destination. + // + // DestinationId is a required field DestinationId *string `min:"1" type:"string" required:"true"` // The destination in Amazon ES. @@ -990,9 +1014,13 @@ type ElasticsearchDestinationConfiguration struct { // The ARN of the Amazon ES domain. The IAM role must have permission for DescribeElasticsearchDomain, // DescribeElasticsearchDomains , and DescribeElasticsearchDomainConfig after // assuming RoleARN. + // + // DomainARN is a required field DomainARN *string `min:"1" type:"string" required:"true"` // The Elasticsearch index name. + // + // IndexName is a required field IndexName *string `min:"1" type:"string" required:"true"` // The Elasticsearch index rotation period. Index rotation appends a timestamp @@ -1008,6 +1036,8 @@ type ElasticsearchDestinationConfiguration struct { // The ARN of the IAM role to be assumed by Firehose for calling the Amazon // ES Configuration API and for indexing documents. For more information, see // Amazon S3 Bucket Access (http://docs.aws.amazon.com/firehose/latest/dev/controlling-access.html#using-iam-s3). + // + // RoleARN is a required field RoleARN *string `min:"1" type:"string" required:"true"` // Defines how documents should be delivered to Amazon S3. When set to FailedDocumentsOnly, @@ -1021,9 +1051,13 @@ type ElasticsearchDestinationConfiguration struct { S3BackupMode *string `type:"string" enum:"ElasticsearchS3BackupMode"` // Describes the configuration of a destination in Amazon S3. + // + // S3Configuration is a required field S3Configuration *S3DestinationConfiguration `type:"structure" required:"true"` // The Elasticsearch type name. + // + // TypeName is a required field TypeName *string `min:"1" type:"string" required:"true"` } @@ -1278,6 +1312,8 @@ type KMSEncryptionConfig struct { // The ARN of the encryption key. Must belong to the same region as the destination // Amazon S3 bucket. + // + // AWSKMSKeyARN is a required field AWSKMSKeyARN *string `min:"1" type:"string" required:"true"` } @@ -1349,9 +1385,13 @@ type ListDeliveryStreamsOutput struct { _ struct{} `type:"structure"` // The names of the delivery streams. + // + // DeliveryStreamNames is a required field DeliveryStreamNames []*string `type:"list" required:"true"` // Indicates whether there are more delivery streams available to list. + // + // HasMoreDeliveryStreams is a required field HasMoreDeliveryStreams *bool `type:"boolean" required:"true"` } @@ -1370,9 +1410,13 @@ type PutRecordBatchInput struct { _ struct{} `type:"structure"` // The name of the delivery stream. + // + // DeliveryStreamName is a required field DeliveryStreamName *string `min:"1" type:"string" required:"true"` // One or more records. + // + // Records is a required field Records []*Record `min:"1" type:"list" required:"true"` } @@ -1423,10 +1467,14 @@ type PutRecordBatchOutput struct { _ struct{} `type:"structure"` // The number of unsuccessfully written records. + // + // FailedPutCount is a required field FailedPutCount *int64 `type:"integer" required:"true"` // The results for the individual records. The index of each element matches // the same index in which records were sent. + // + // RequestResponses is a required field RequestResponses []*PutRecordBatchResponseEntry `min:"1" type:"list" required:"true"` } @@ -1472,9 +1520,13 @@ type PutRecordInput struct { _ struct{} `type:"structure"` // The name of the delivery stream. + // + // DeliveryStreamName is a required field DeliveryStreamName *string `min:"1" type:"string" required:"true"` // The record. + // + // Record is a required field Record *Record `type:"structure" required:"true"` } @@ -1517,6 +1569,8 @@ type PutRecordOutput struct { _ struct{} `type:"structure"` // The ID of the record. + // + // RecordId is a required field RecordId *string `min:"1" type:"string" required:"true"` } @@ -1538,6 +1592,8 @@ type Record struct { // size of the data blob, before base64-encoding, is 1,000 KB. // // Data is automatically base64 encoded/decoded by the SDK. + // + // Data is a required field Data []byte `type:"blob" required:"true"` } @@ -1572,12 +1628,18 @@ type RedshiftDestinationConfiguration struct { CloudWatchLoggingOptions *CloudWatchLoggingOptions `type:"structure"` // The database connection string. + // + // ClusterJDBCURL is a required field ClusterJDBCURL *string `min:"1" type:"string" required:"true"` // The COPY command. + // + // CopyCommand is a required field CopyCommand *CopyCommand `type:"structure" required:"true"` // The user password. + // + // Password is a required field Password *string `min:"6" type:"string" required:"true"` // Configures retry behavior in the event that Firehose is unable to deliver @@ -1585,6 +1647,8 @@ type RedshiftDestinationConfiguration struct { RetryOptions *RedshiftRetryOptions `type:"structure"` // The ARN of the AWS credentials. + // + // RoleARN is a required field RoleARN *string `min:"1" type:"string" required:"true"` // The S3 configuration for the intermediate location from which Amazon Redshift @@ -1593,9 +1657,13 @@ type RedshiftDestinationConfiguration struct { // The compression formats SNAPPY or ZIP cannot be specified in RedshiftDestinationConfiguration.S3Configuration // because the Amazon Redshift COPY operation that reads from the S3 bucket // doesn't support these compression formats. + // + // S3Configuration is a required field S3Configuration *S3DestinationConfiguration `type:"structure" required:"true"` // The name of the user. + // + // Username is a required field Username *string `min:"1" type:"string" required:"true"` } @@ -1667,9 +1735,13 @@ type RedshiftDestinationDescription struct { CloudWatchLoggingOptions *CloudWatchLoggingOptions `type:"structure"` // The database connection string. + // + // ClusterJDBCURL is a required field ClusterJDBCURL *string `min:"1" type:"string" required:"true"` // The COPY command. + // + // CopyCommand is a required field CopyCommand *CopyCommand `type:"structure" required:"true"` // Configures retry behavior in the event that Firehose is unable to deliver @@ -1677,12 +1749,18 @@ type RedshiftDestinationDescription struct { RetryOptions *RedshiftRetryOptions `type:"structure"` // The ARN of the AWS credentials. + // + // RoleARN is a required field RoleARN *string `min:"1" type:"string" required:"true"` // The Amazon S3 destination. + // + // S3DestinationDescription is a required field S3DestinationDescription *S3DestinationDescription `type:"structure" required:"true"` // The name of the user. + // + // Username is a required field Username *string `min:"1" type:"string" required:"true"` } @@ -1800,6 +1878,8 @@ type S3DestinationConfiguration struct { _ struct{} `type:"structure"` // The ARN of the S3 bucket. + // + // BucketARN is a required field BucketARN *string `min:"1" type:"string" required:"true"` // The buffering option. If no value is specified, BufferingHints object default @@ -1829,6 +1909,8 @@ type S3DestinationConfiguration struct { Prefix *string `type:"string"` // The ARN of the AWS credentials. + // + // RoleARN is a required field RoleARN *string `min:"1" type:"string" required:"true"` } @@ -1879,20 +1961,28 @@ type S3DestinationDescription struct { _ struct{} `type:"structure"` // The ARN of the S3 bucket. + // + // BucketARN is a required field BucketARN *string `min:"1" type:"string" required:"true"` // The buffering option. If no value is specified, BufferingHints object default // values are used. + // + // BufferingHints is a required field BufferingHints *BufferingHints `type:"structure" required:"true"` // Describes CloudWatch logging options for your delivery stream. CloudWatchLoggingOptions *CloudWatchLoggingOptions `type:"structure"` // The compression format. If no value is specified, the default is NOCOMPRESSION. + // + // CompressionFormat is a required field CompressionFormat *string `type:"string" required:"true" enum:"CompressionFormat"` // The encryption configuration. If no value is specified, the default is no // encryption. + // + // EncryptionConfiguration is a required field EncryptionConfiguration *EncryptionConfiguration `type:"structure" required:"true"` // The "YYYY/MM/DD/HH" time format prefix is automatically used for delivered @@ -1904,6 +1994,8 @@ type S3DestinationDescription struct { Prefix *string `type:"string"` // The ARN of the AWS credentials. + // + // RoleARN is a required field RoleARN *string `min:"1" type:"string" required:"true"` } @@ -2000,12 +2092,18 @@ type UpdateDestinationInput struct { // is null, then the update destination fails. After the update is successful, // the VersionId value is updated. The service then performs a merge of the // old configuration with the new configuration. + // + // CurrentDeliveryStreamVersionId is a required field CurrentDeliveryStreamVersionId *string `min:"1" type:"string" required:"true"` // The name of the delivery stream. + // + // DeliveryStreamName is a required field DeliveryStreamName *string `min:"1" type:"string" required:"true"` // The ID of the destination. + // + // DestinationId is a required field DestinationId *string `min:"1" type:"string" required:"true"` // Describes an update for a destination in Amazon ES. @@ -2087,46 +2185,56 @@ func (s UpdateDestinationOutput) GoString() string { } const ( - // @enum CompressionFormat + // CompressionFormatUncompressed is a CompressionFormat enum value CompressionFormatUncompressed = "UNCOMPRESSED" - // @enum CompressionFormat + + // CompressionFormatGzip is a CompressionFormat enum value CompressionFormatGzip = "GZIP" - // @enum CompressionFormat + + // CompressionFormatZip is a CompressionFormat enum value CompressionFormatZip = "ZIP" - // @enum CompressionFormat + + // CompressionFormatSnappy is a CompressionFormat enum value CompressionFormatSnappy = "Snappy" ) const ( - // @enum DeliveryStreamStatus + // DeliveryStreamStatusCreating is a DeliveryStreamStatus enum value DeliveryStreamStatusCreating = "CREATING" - // @enum DeliveryStreamStatus + + // DeliveryStreamStatusDeleting is a DeliveryStreamStatus enum value DeliveryStreamStatusDeleting = "DELETING" - // @enum DeliveryStreamStatus + + // DeliveryStreamStatusActive is a DeliveryStreamStatus enum value DeliveryStreamStatusActive = "ACTIVE" ) const ( - // @enum ElasticsearchIndexRotationPeriod + // ElasticsearchIndexRotationPeriodNoRotation is a ElasticsearchIndexRotationPeriod enum value ElasticsearchIndexRotationPeriodNoRotation = "NoRotation" - // @enum ElasticsearchIndexRotationPeriod + + // ElasticsearchIndexRotationPeriodOneHour is a ElasticsearchIndexRotationPeriod enum value ElasticsearchIndexRotationPeriodOneHour = "OneHour" - // @enum ElasticsearchIndexRotationPeriod + + // ElasticsearchIndexRotationPeriodOneDay is a ElasticsearchIndexRotationPeriod enum value ElasticsearchIndexRotationPeriodOneDay = "OneDay" - // @enum ElasticsearchIndexRotationPeriod + + // ElasticsearchIndexRotationPeriodOneWeek is a ElasticsearchIndexRotationPeriod enum value ElasticsearchIndexRotationPeriodOneWeek = "OneWeek" - // @enum ElasticsearchIndexRotationPeriod + + // ElasticsearchIndexRotationPeriodOneMonth is a ElasticsearchIndexRotationPeriod enum value ElasticsearchIndexRotationPeriodOneMonth = "OneMonth" ) const ( - // @enum ElasticsearchS3BackupMode + // ElasticsearchS3BackupModeFailedDocumentsOnly is a ElasticsearchS3BackupMode enum value ElasticsearchS3BackupModeFailedDocumentsOnly = "FailedDocumentsOnly" - // @enum ElasticsearchS3BackupMode + + // ElasticsearchS3BackupModeAllDocuments is a ElasticsearchS3BackupMode enum value ElasticsearchS3BackupModeAllDocuments = "AllDocuments" ) const ( - // @enum NoEncryptionConfig + // NoEncryptionConfigNoEncryption is a NoEncryptionConfig enum value NoEncryptionConfigNoEncryption = "NoEncryption" ) diff --git a/service/gamelift/api.go b/service/gamelift/api.go index b479cb8f8bd..a0e7fa5b5ea 100644 --- a/service/gamelift/api.go +++ b/service/gamelift/api.go @@ -2281,9 +2281,13 @@ type CreateAliasInput struct { // Descriptive label associated with an alias. Alias names do not need to be // unique. + // + // Name is a required field Name *string `min:"1" type:"string" required:"true"` // Object specifying the fleet and routing type to use for the alias. + // + // RoutingStrategy is a required field RoutingStrategy *RoutingStrategy `type:"structure" required:"true"` } @@ -2424,6 +2428,8 @@ type CreateFleetInput struct { // Unique identifier of the build to be deployed on the new fleet. The build // must have been successfully uploaded to GameLift and be in a READY status. // This fleet setting cannot be changed once the fleet is created. + // + // BuildId is a required field BuildId *string `type:"string" required:"true"` // Human-readable description of a fleet. @@ -2441,6 +2447,8 @@ type CreateFleetInput struct { // fleet, including CPU, memory, storage, and networking capacity. GameLift // supports the following EC2 instance types. See Amazon EC2 Instance Types // (https://aws.amazon.com/ec2/instance-types/) for detailed descriptions. + // + // EC2InstanceType is a required field EC2InstanceType *string `type:"string" required:"true" enum:"EC2InstanceType"` // Location of default log files. When a server process is shut down, Amazon @@ -2454,6 +2462,8 @@ type CreateFleetInput struct { // Descriptive label associated with a fleet. Fleet names do not need to be // unique. + // + // Name is a required field Name *string `min:"1" type:"string" required:"true"` // Game session protection policy to apply to all instances in this fleet. If @@ -2585,6 +2595,8 @@ type CreateGameSessionInput struct { // Maximum number of players that can be connected simultaneously to the game // session. + // + // MaximumPlayerSessionCount is a required field MaximumPlayerSessionCount *int64 `type:"integer" required:"true"` // Descriptive label associated with a game session. Session names do not need @@ -2652,9 +2664,13 @@ type CreatePlayerSessionInput struct { // Unique identifier for a game session. Specify the game session you want to // add a player to. + // + // GameSessionId is a required field GameSessionId *string `type:"string" required:"true"` // Unique identifier for the player to be added. + // + // PlayerId is a required field PlayerId *string `min:"1" type:"string" required:"true"` } @@ -2710,9 +2726,13 @@ type CreatePlayerSessionsInput struct { _ struct{} `type:"structure"` // Unique identifier for a game session. + // + // GameSessionId is a required field GameSessionId *string `type:"string" required:"true"` // List of unique identifiers for the players to be added. + // + // PlayerIds is a required field PlayerIds []*string `min:"1" type:"list" required:"true"` } @@ -2768,6 +2788,8 @@ type DeleteAliasInput struct { _ struct{} `type:"structure"` // Unique identifier for a fleet alias. Specify the alias you want to delete. + // + // AliasId is a required field AliasId *string `type:"string" required:"true"` } @@ -2813,6 +2835,8 @@ type DeleteBuildInput struct { _ struct{} `type:"structure"` // Unique identifier for the build you want to delete. + // + // BuildId is a required field BuildId *string `type:"string" required:"true"` } @@ -2858,6 +2882,8 @@ type DeleteFleetInput struct { _ struct{} `type:"structure"` // Unique identifier for the fleet you want to delete. + // + // FleetId is a required field FleetId *string `type:"string" required:"true"` } @@ -2903,10 +2929,14 @@ type DeleteScalingPolicyInput struct { _ struct{} `type:"structure"` // Unique identifier for a fleet. + // + // FleetId is a required field FleetId *string `type:"string" required:"true"` // Descriptive label associated with a scaling policy. Policy names do not need // to be unique. + // + // Name is a required field Name *string `min:"1" type:"string" required:"true"` } @@ -2958,6 +2988,8 @@ type DescribeAliasInput struct { _ struct{} `type:"structure"` // Unique identifier for a fleet alias. Specify the alias you want to retrieve. + // + // AliasId is a required field AliasId *string `type:"string" required:"true"` } @@ -3007,6 +3039,8 @@ type DescribeBuildInput struct { _ struct{} `type:"structure"` // Unique identifier of the build that you want to retrieve properties for. + // + // BuildId is a required field BuildId *string `type:"string" required:"true"` } @@ -3255,6 +3289,8 @@ type DescribeFleetEventsInput struct { EndTime *time.Time `type:"timestamp" timestampFormat:"unix"` // Unique identifier for the fleet to get event logs for. + // + // FleetId is a required field FleetId *string `type:"string" required:"true"` // Maximum number of results to return. Use this parameter with NextToken to @@ -3332,6 +3368,8 @@ type DescribeFleetPortSettingsInput struct { _ struct{} `type:"structure"` // Unique identifier for the fleet you want to retrieve port settings for. + // + // FleetId is a required field FleetId *string `type:"string" required:"true"` } @@ -3723,6 +3761,8 @@ type DescribeRuntimeConfigurationInput struct { _ struct{} `type:"structure"` // Unique identifier of the fleet to get the runtime configuration for. + // + // FleetId is a required field FleetId *string `type:"string" required:"true"` } @@ -3774,6 +3814,8 @@ type DescribeScalingPoliciesInput struct { // Unique identifier for a fleet. Specify the fleet to retrieve scaling policies // for. + // + // FleetId is a required field FleetId *string `type:"string" required:"true"` // Maximum number of results to return. Use this parameter with NextToken to @@ -4108,8 +4150,10 @@ func (s FleetUtilization) GoString() string { type GameProperty struct { _ struct{} `type:"structure"` + // Key is a required field Key *string `type:"string" required:"true"` + // Value is a required field Value *string `type:"string" required:"true"` } @@ -4227,6 +4271,8 @@ type GetGameSessionLogUrlInput struct { // Unique identifier for a game session. Specify the game session you want to // get logs for. + // + // GameSessionId is a required field GameSessionId *string `type:"string" required:"true"` } @@ -4280,18 +4326,26 @@ type IpPermission struct { _ struct{} `type:"structure"` // Starting value for a range of allowed port numbers. + // + // FromPort is a required field FromPort *int64 `min:"1025" type:"integer" required:"true"` // Range of allowed IP addresses. This value must be expressed in CIDR notation // (https://tools.ietf.org/id/cidr). Example: "000.000.000.000/[subnet mask]" // or optionally the shortened version "0.0.0.0/[subnet mask]". + // + // IpRange is a required field IpRange *string `type:"string" required:"true"` // Network communication protocol used by the fleet. + // + // Protocol is a required field Protocol *string `type:"string" required:"true" enum:"IpProtocol"` // Ending value for a range of allowed port numbers. Port numbers are end-inclusive. // This value must be higher than FromPort. + // + // ToPort is a required field ToPort *int64 `min:"1025" type:"integer" required:"true"` } @@ -4627,13 +4681,19 @@ type PutScalingPolicyInput struct { // Comparison operator to use when measuring the metric against the threshold // value. + // + // ComparisonOperator is a required field ComparisonOperator *string `type:"string" required:"true" enum:"ComparisonOperatorType"` // Length of time (in minutes) the metric must be at or beyond the threshold // before a scaling event is triggered. + // + // EvaluationPeriods is a required field EvaluationPeriods *int64 `min:"1" type:"integer" required:"true"` // Unique identity for the fleet to scale with this policy. + // + // FleetId is a required field FleetId *string `type:"string" required:"true"` // Name of the Amazon GameLift-defined metric that is used to trigger an adjustment. @@ -4649,13 +4709,19 @@ type PutScalingPolicyInput struct { // accepting players (game session PlayerSessionCreationPolicy = DENY_ALL). // ActiveInstances – number of instances currently running a game session. // IdleInstances – number of instances not currently running a game session. + // + // MetricName is a required field MetricName *string `type:"string" required:"true" enum:"MetricName"` // Descriptive label associated with a scaling policy. Policy names do not need // to be unique. A fleet can have only one scaling policy with the same name. + // + // Name is a required field Name *string `min:"1" type:"string" required:"true"` // Amount of adjustment to make, based on the scaling adjustment type. + // + // ScalingAdjustment is a required field ScalingAdjustment *int64 `type:"integer" required:"true"` // Type of adjustment to make to a fleet's instance count (see FleetCapacity): @@ -4667,9 +4733,13 @@ type PutScalingPolicyInput struct { // count by the scaling adjustment, read as a percentage. Positive values scale // up while negative values scale down; for example, a value of "-10" scales // the fleet down by 10%. + // + // ScalingAdjustmentType is a required field ScalingAdjustmentType *string `type:"string" required:"true" enum:"ScalingAdjustmentType"` // Metric value used to trigger a scaling event. + // + // Threshold is a required field Threshold *float64 `type:"double" required:"true"` } @@ -4747,6 +4817,8 @@ type RequestUploadCredentialsInput struct { _ struct{} `type:"structure"` // Unique identifier for the build you want to get credentials for. + // + // BuildId is a required field BuildId *string `type:"string" required:"true"` } @@ -4801,6 +4873,8 @@ type ResolveAliasInput struct { _ struct{} `type:"structure"` // Unique identifier for the alias you want to resolve. + // + // AliasId is a required field AliasId *string `type:"string" required:"true"` } @@ -5185,11 +5259,15 @@ type ServerProcess struct { // Number of server processes using this configuration to run concurrently on // an instance. + // + // ConcurrentExecutions is a required field ConcurrentExecutions *int64 `min:"1" type:"integer" required:"true"` // Location in the game build of the server executable. All game builds are // installed on instances at the root C:\game\..., so an executable file located // at MyGame\latest\server.exe has a launch path of "C:\game\MyGame\latest\server.exe". + // + // LaunchPath is a required field LaunchPath *string `min:"1" type:"string" required:"true"` // Optional list of parameters to pass to the server executable on launch. @@ -5236,6 +5314,8 @@ type UpdateAliasInput struct { _ struct{} `type:"structure"` // Unique identifier for a fleet alias. Specify the alias you want to update. + // + // AliasId is a required field AliasId *string `type:"string" required:"true"` // Human-readable description of an alias. @@ -5301,6 +5381,8 @@ type UpdateBuildInput struct { _ struct{} `type:"structure"` // Unique identifier of the build you want to update. + // + // BuildId is a required field BuildId *string `type:"string" required:"true"` // Descriptive label associated with a build. Build names do not need to be @@ -5367,6 +5449,8 @@ type UpdateFleetAttributesInput struct { Description *string `min:"1" type:"string"` // Unique identifier for the fleet you want to update attribute metadata for. + // + // FleetId is a required field FleetId *string `type:"string" required:"true"` // Descriptive label associated with a fleet. Fleet names do not need to be @@ -5438,6 +5522,8 @@ type UpdateFleetCapacityInput struct { DesiredInstances *int64 `type:"integer"` // Unique identifier for the fleet you want to update capacity for. + // + // FleetId is a required field FleetId *string `type:"string" required:"true"` // Maximum value allowed for the fleet's instance count. Default if not set @@ -5495,6 +5581,8 @@ type UpdateFleetPortSettingsInput struct { _ struct{} `type:"structure"` // Unique identifier for the fleet you want to update port settings for. + // + // FleetId is a required field FleetId *string `type:"string" required:"true"` // Collection of port settings to be added to the fleet record. @@ -5571,6 +5659,8 @@ type UpdateGameSessionInput struct { // Unique identifier for a game session. Specify the game session you want to // update. + // + // GameSessionId is a required field GameSessionId *string `type:"string" required:"true"` // Maximum number of players that can be simultaneously connected to the game @@ -5641,6 +5731,8 @@ type UpdateRuntimeConfigurationInput struct { _ struct{} `type:"structure"` // Unique identifier of the fleet to update runtime configuration for. + // + // FleetId is a required field FleetId *string `type:"string" required:"true"` // Instructions for launching server processes on each instance in the fleet. @@ -5649,6 +5741,8 @@ type UpdateRuntimeConfigurationInput struct { // A server process configuration specifies the location of the server executable, // launch parameters, and the number of concurrent processes with that configuration // to maintain on each instance. + // + // RuntimeConfiguration is a required field RuntimeConfiguration *RuntimeConfiguration `type:"structure" required:"true"` } @@ -5703,238 +5797,319 @@ func (s UpdateRuntimeConfigurationOutput) GoString() string { } const ( - // @enum BuildStatus + // BuildStatusInitialized is a BuildStatus enum value BuildStatusInitialized = "INITIALIZED" - // @enum BuildStatus + + // BuildStatusReady is a BuildStatus enum value BuildStatusReady = "READY" - // @enum BuildStatus + + // BuildStatusFailed is a BuildStatus enum value BuildStatusFailed = "FAILED" ) const ( - // @enum ComparisonOperatorType + // ComparisonOperatorTypeGreaterThanOrEqualToThreshold is a ComparisonOperatorType enum value ComparisonOperatorTypeGreaterThanOrEqualToThreshold = "GreaterThanOrEqualToThreshold" - // @enum ComparisonOperatorType + + // ComparisonOperatorTypeGreaterThanThreshold is a ComparisonOperatorType enum value ComparisonOperatorTypeGreaterThanThreshold = "GreaterThanThreshold" - // @enum ComparisonOperatorType + + // ComparisonOperatorTypeLessThanThreshold is a ComparisonOperatorType enum value ComparisonOperatorTypeLessThanThreshold = "LessThanThreshold" - // @enum ComparisonOperatorType + + // ComparisonOperatorTypeLessThanOrEqualToThreshold is a ComparisonOperatorType enum value ComparisonOperatorTypeLessThanOrEqualToThreshold = "LessThanOrEqualToThreshold" ) const ( - // @enum EC2InstanceType + // EC2InstanceTypeT2Micro is a EC2InstanceType enum value EC2InstanceTypeT2Micro = "t2.micro" - // @enum EC2InstanceType + + // EC2InstanceTypeT2Small is a EC2InstanceType enum value EC2InstanceTypeT2Small = "t2.small" - // @enum EC2InstanceType + + // EC2InstanceTypeT2Medium is a EC2InstanceType enum value EC2InstanceTypeT2Medium = "t2.medium" - // @enum EC2InstanceType + + // EC2InstanceTypeT2Large is a EC2InstanceType enum value EC2InstanceTypeT2Large = "t2.large" - // @enum EC2InstanceType + + // EC2InstanceTypeC3Large is a EC2InstanceType enum value EC2InstanceTypeC3Large = "c3.large" - // @enum EC2InstanceType + + // EC2InstanceTypeC3Xlarge is a EC2InstanceType enum value EC2InstanceTypeC3Xlarge = "c3.xlarge" - // @enum EC2InstanceType + + // EC2InstanceTypeC32xlarge is a EC2InstanceType enum value EC2InstanceTypeC32xlarge = "c3.2xlarge" - // @enum EC2InstanceType + + // EC2InstanceTypeC34xlarge is a EC2InstanceType enum value EC2InstanceTypeC34xlarge = "c3.4xlarge" - // @enum EC2InstanceType + + // EC2InstanceTypeC38xlarge is a EC2InstanceType enum value EC2InstanceTypeC38xlarge = "c3.8xlarge" - // @enum EC2InstanceType + + // EC2InstanceTypeC4Large is a EC2InstanceType enum value EC2InstanceTypeC4Large = "c4.large" - // @enum EC2InstanceType + + // EC2InstanceTypeC4Xlarge is a EC2InstanceType enum value EC2InstanceTypeC4Xlarge = "c4.xlarge" - // @enum EC2InstanceType + + // EC2InstanceTypeC42xlarge is a EC2InstanceType enum value EC2InstanceTypeC42xlarge = "c4.2xlarge" - // @enum EC2InstanceType + + // EC2InstanceTypeC44xlarge is a EC2InstanceType enum value EC2InstanceTypeC44xlarge = "c4.4xlarge" - // @enum EC2InstanceType + + // EC2InstanceTypeC48xlarge is a EC2InstanceType enum value EC2InstanceTypeC48xlarge = "c4.8xlarge" - // @enum EC2InstanceType + + // EC2InstanceTypeR3Large is a EC2InstanceType enum value EC2InstanceTypeR3Large = "r3.large" - // @enum EC2InstanceType + + // EC2InstanceTypeR3Xlarge is a EC2InstanceType enum value EC2InstanceTypeR3Xlarge = "r3.xlarge" - // @enum EC2InstanceType + + // EC2InstanceTypeR32xlarge is a EC2InstanceType enum value EC2InstanceTypeR32xlarge = "r3.2xlarge" - // @enum EC2InstanceType + + // EC2InstanceTypeR34xlarge is a EC2InstanceType enum value EC2InstanceTypeR34xlarge = "r3.4xlarge" - // @enum EC2InstanceType + + // EC2InstanceTypeR38xlarge is a EC2InstanceType enum value EC2InstanceTypeR38xlarge = "r3.8xlarge" - // @enum EC2InstanceType + + // EC2InstanceTypeM3Medium is a EC2InstanceType enum value EC2InstanceTypeM3Medium = "m3.medium" - // @enum EC2InstanceType + + // EC2InstanceTypeM3Large is a EC2InstanceType enum value EC2InstanceTypeM3Large = "m3.large" - // @enum EC2InstanceType + + // EC2InstanceTypeM3Xlarge is a EC2InstanceType enum value EC2InstanceTypeM3Xlarge = "m3.xlarge" - // @enum EC2InstanceType + + // EC2InstanceTypeM32xlarge is a EC2InstanceType enum value EC2InstanceTypeM32xlarge = "m3.2xlarge" - // @enum EC2InstanceType + + // EC2InstanceTypeM4Large is a EC2InstanceType enum value EC2InstanceTypeM4Large = "m4.large" - // @enum EC2InstanceType + + // EC2InstanceTypeM4Xlarge is a EC2InstanceType enum value EC2InstanceTypeM4Xlarge = "m4.xlarge" - // @enum EC2InstanceType + + // EC2InstanceTypeM42xlarge is a EC2InstanceType enum value EC2InstanceTypeM42xlarge = "m4.2xlarge" - // @enum EC2InstanceType + + // EC2InstanceTypeM44xlarge is a EC2InstanceType enum value EC2InstanceTypeM44xlarge = "m4.4xlarge" - // @enum EC2InstanceType + + // EC2InstanceTypeM410xlarge is a EC2InstanceType enum value EC2InstanceTypeM410xlarge = "m4.10xlarge" ) const ( - // @enum EventCode + // EventCodeGenericEvent is a EventCode enum value EventCodeGenericEvent = "GENERIC_EVENT" - // @enum EventCode + + // EventCodeFleetCreated is a EventCode enum value EventCodeFleetCreated = "FLEET_CREATED" - // @enum EventCode + + // EventCodeFleetDeleted is a EventCode enum value EventCodeFleetDeleted = "FLEET_DELETED" - // @enum EventCode + + // EventCodeFleetScalingEvent is a EventCode enum value EventCodeFleetScalingEvent = "FLEET_SCALING_EVENT" - // @enum EventCode + + // EventCodeFleetStateDownloading is a EventCode enum value EventCodeFleetStateDownloading = "FLEET_STATE_DOWNLOADING" - // @enum EventCode + + // EventCodeFleetStateValidating is a EventCode enum value EventCodeFleetStateValidating = "FLEET_STATE_VALIDATING" - // @enum EventCode + + // EventCodeFleetStateBuilding is a EventCode enum value EventCodeFleetStateBuilding = "FLEET_STATE_BUILDING" - // @enum EventCode + + // EventCodeFleetStateActivating is a EventCode enum value EventCodeFleetStateActivating = "FLEET_STATE_ACTIVATING" - // @enum EventCode + + // EventCodeFleetStateActive is a EventCode enum value EventCodeFleetStateActive = "FLEET_STATE_ACTIVE" - // @enum EventCode + + // EventCodeFleetStateError is a EventCode enum value EventCodeFleetStateError = "FLEET_STATE_ERROR" - // @enum EventCode + + // EventCodeFleetInitializationFailed is a EventCode enum value EventCodeFleetInitializationFailed = "FLEET_INITIALIZATION_FAILED" - // @enum EventCode + + // EventCodeFleetBinaryDownloadFailed is a EventCode enum value EventCodeFleetBinaryDownloadFailed = "FLEET_BINARY_DOWNLOAD_FAILED" - // @enum EventCode + + // EventCodeFleetValidationLaunchPathNotFound is a EventCode enum value EventCodeFleetValidationLaunchPathNotFound = "FLEET_VALIDATION_LAUNCH_PATH_NOT_FOUND" - // @enum EventCode + + // EventCodeFleetValidationExecutableRuntimeFailure is a EventCode enum value EventCodeFleetValidationExecutableRuntimeFailure = "FLEET_VALIDATION_EXECUTABLE_RUNTIME_FAILURE" - // @enum EventCode + + // EventCodeFleetValidationTimedOut is a EventCode enum value EventCodeFleetValidationTimedOut = "FLEET_VALIDATION_TIMED_OUT" - // @enum EventCode + + // EventCodeFleetActivationFailed is a EventCode enum value EventCodeFleetActivationFailed = "FLEET_ACTIVATION_FAILED" - // @enum EventCode + + // EventCodeFleetActivationFailedNoInstances is a EventCode enum value EventCodeFleetActivationFailedNoInstances = "FLEET_ACTIVATION_FAILED_NO_INSTANCES" - // @enum EventCode + + // EventCodeFleetNewGameSessionProtectionPolicyUpdated is a EventCode enum value EventCodeFleetNewGameSessionProtectionPolicyUpdated = "FLEET_NEW_GAME_SESSION_PROTECTION_POLICY_UPDATED" ) const ( - // @enum FleetStatus + // FleetStatusNew is a FleetStatus enum value FleetStatusNew = "NEW" - // @enum FleetStatus + + // FleetStatusDownloading is a FleetStatus enum value FleetStatusDownloading = "DOWNLOADING" - // @enum FleetStatus + + // FleetStatusValidating is a FleetStatus enum value FleetStatusValidating = "VALIDATING" - // @enum FleetStatus + + // FleetStatusBuilding is a FleetStatus enum value FleetStatusBuilding = "BUILDING" - // @enum FleetStatus + + // FleetStatusActivating is a FleetStatus enum value FleetStatusActivating = "ACTIVATING" - // @enum FleetStatus + + // FleetStatusActive is a FleetStatus enum value FleetStatusActive = "ACTIVE" - // @enum FleetStatus + + // FleetStatusDeleting is a FleetStatus enum value FleetStatusDeleting = "DELETING" - // @enum FleetStatus + + // FleetStatusError is a FleetStatus enum value FleetStatusError = "ERROR" - // @enum FleetStatus + + // FleetStatusTerminated is a FleetStatus enum value FleetStatusTerminated = "TERMINATED" ) const ( - // @enum GameSessionStatus + // GameSessionStatusActive is a GameSessionStatus enum value GameSessionStatusActive = "ACTIVE" - // @enum GameSessionStatus + + // GameSessionStatusActivating is a GameSessionStatus enum value GameSessionStatusActivating = "ACTIVATING" - // @enum GameSessionStatus + + // GameSessionStatusTerminated is a GameSessionStatus enum value GameSessionStatusTerminated = "TERMINATED" - // @enum GameSessionStatus + + // GameSessionStatusTerminating is a GameSessionStatus enum value GameSessionStatusTerminating = "TERMINATING" ) const ( - // @enum IpProtocol + // IpProtocolTcp is a IpProtocol enum value IpProtocolTcp = "TCP" - // @enum IpProtocol + + // IpProtocolUdp is a IpProtocol enum value IpProtocolUdp = "UDP" ) const ( - // @enum MetricName + // MetricNameActivatingGameSessions is a MetricName enum value MetricNameActivatingGameSessions = "ActivatingGameSessions" - // @enum MetricName + + // MetricNameActiveGameSessions is a MetricName enum value MetricNameActiveGameSessions = "ActiveGameSessions" - // @enum MetricName + + // MetricNameActiveInstances is a MetricName enum value MetricNameActiveInstances = "ActiveInstances" - // @enum MetricName + + // MetricNameAvailablePlayerSessions is a MetricName enum value MetricNameAvailablePlayerSessions = "AvailablePlayerSessions" - // @enum MetricName + + // MetricNameCurrentPlayerSessions is a MetricName enum value MetricNameCurrentPlayerSessions = "CurrentPlayerSessions" - // @enum MetricName + + // MetricNameIdleInstances is a MetricName enum value MetricNameIdleInstances = "IdleInstances" ) const ( - // @enum OperatingSystem + // OperatingSystemWindows2012 is a OperatingSystem enum value OperatingSystemWindows2012 = "WINDOWS_2012" - // @enum OperatingSystem + + // OperatingSystemAmazonLinux is a OperatingSystem enum value OperatingSystemAmazonLinux = "AMAZON_LINUX" ) const ( - // @enum PlayerSessionCreationPolicy + // PlayerSessionCreationPolicyAcceptAll is a PlayerSessionCreationPolicy enum value PlayerSessionCreationPolicyAcceptAll = "ACCEPT_ALL" - // @enum PlayerSessionCreationPolicy + + // PlayerSessionCreationPolicyDenyAll is a PlayerSessionCreationPolicy enum value PlayerSessionCreationPolicyDenyAll = "DENY_ALL" ) const ( - // @enum PlayerSessionStatus + // PlayerSessionStatusReserved is a PlayerSessionStatus enum value PlayerSessionStatusReserved = "RESERVED" - // @enum PlayerSessionStatus + + // PlayerSessionStatusActive is a PlayerSessionStatus enum value PlayerSessionStatusActive = "ACTIVE" - // @enum PlayerSessionStatus + + // PlayerSessionStatusCompleted is a PlayerSessionStatus enum value PlayerSessionStatusCompleted = "COMPLETED" - // @enum PlayerSessionStatus + + // PlayerSessionStatusTimedout is a PlayerSessionStatus enum value PlayerSessionStatusTimedout = "TIMEDOUT" ) const ( - // @enum ProtectionPolicy + // ProtectionPolicyNoProtection is a ProtectionPolicy enum value ProtectionPolicyNoProtection = "NoProtection" - // @enum ProtectionPolicy + + // ProtectionPolicyFullProtection is a ProtectionPolicy enum value ProtectionPolicyFullProtection = "FullProtection" ) const ( - // @enum RoutingStrategyType + // RoutingStrategyTypeSimple is a RoutingStrategyType enum value RoutingStrategyTypeSimple = "SIMPLE" - // @enum RoutingStrategyType + + // RoutingStrategyTypeTerminal is a RoutingStrategyType enum value RoutingStrategyTypeTerminal = "TERMINAL" ) const ( - // @enum ScalingAdjustmentType + // ScalingAdjustmentTypeChangeInCapacity is a ScalingAdjustmentType enum value ScalingAdjustmentTypeChangeInCapacity = "ChangeInCapacity" - // @enum ScalingAdjustmentType + + // ScalingAdjustmentTypeExactCapacity is a ScalingAdjustmentType enum value ScalingAdjustmentTypeExactCapacity = "ExactCapacity" - // @enum ScalingAdjustmentType + + // ScalingAdjustmentTypePercentChangeInCapacity is a ScalingAdjustmentType enum value ScalingAdjustmentTypePercentChangeInCapacity = "PercentChangeInCapacity" ) const ( - // @enum ScalingStatusType + // ScalingStatusTypeActive is a ScalingStatusType enum value ScalingStatusTypeActive = "ACTIVE" - // @enum ScalingStatusType + + // ScalingStatusTypeUpdateRequested is a ScalingStatusType enum value ScalingStatusTypeUpdateRequested = "UPDATE_REQUESTED" - // @enum ScalingStatusType + + // ScalingStatusTypeUpdating is a ScalingStatusType enum value ScalingStatusTypeUpdating = "UPDATING" - // @enum ScalingStatusType + + // ScalingStatusTypeDeleteRequested is a ScalingStatusType enum value ScalingStatusTypeDeleteRequested = "DELETE_REQUESTED" - // @enum ScalingStatusType + + // ScalingStatusTypeDeleting is a ScalingStatusType enum value ScalingStatusTypeDeleting = "DELETING" - // @enum ScalingStatusType + + // ScalingStatusTypeDeleted is a ScalingStatusType enum value ScalingStatusTypeDeleted = "DELETED" - // @enum ScalingStatusType + + // ScalingStatusTypeError is a ScalingStatusType enum value ScalingStatusTypeError = "ERROR" ) diff --git a/service/glacier/api.go b/service/glacier/api.go index 5ef73b11598..6e575ec72a1 100644 --- a/service/glacier/api.go +++ b/service/glacier/api.go @@ -2382,12 +2382,18 @@ type AbortMultipartUploadInput struct { // (hyphen), in which case Amazon Glacier uses the AWS account ID associated // with the credentials used to sign the request. If you use an account ID, // do not include any hyphens (apos-apos) in the ID. + // + // AccountId is a required field AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"` // The upload ID of the multipart upload to delete. + // + // UploadId is a required field UploadId *string `location:"uri" locationName:"uploadId" type:"string" required:"true"` // The name of the vault. + // + // VaultName is a required field VaultName *string `location:"uri" locationName:"vaultName" type:"string" required:"true"` } @@ -2444,9 +2450,13 @@ type AbortVaultLockInput struct { // in which case Amazon Glacier uses the AWS account ID associated with the // credentials used to sign the request. If you specify your account ID, do // not include any hyphens (apos-apos) in the ID. + // + // AccountId is a required field AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"` // The name of the vault. + // + // VaultName is a required field VaultName *string `location:"uri" locationName:"vaultName" type:"string" required:"true"` } @@ -2499,6 +2509,8 @@ type AddTagsToVaultInput struct { // (hyphen), in which case Amazon Glacier uses the AWS account ID associated // with the credentials used to sign the request. If you use an account ID, // do not include any hyphens (apos-apos) in the ID. + // + // AccountId is a required field AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"` // The tags to add to the vault. Each tag is composed of a key and a value. @@ -2506,6 +2518,8 @@ type AddTagsToVaultInput struct { Tags map[string]*string `type:"map"` // The name of the vault. + // + // VaultName is a required field VaultName *string `location:"uri" locationName:"vaultName" type:"string" required:"true"` } @@ -2590,6 +2604,8 @@ type CompleteMultipartUploadInput struct { // (hyphen), in which case Amazon Glacier uses the AWS account ID associated // with the credentials used to sign the request. If you use an account ID, // do not include any hyphens (apos-apos) in the ID. + // + // AccountId is a required field AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"` // The total size, in bytes, of the entire archive. This value should be the @@ -2603,9 +2619,13 @@ type CompleteMultipartUploadInput struct { Checksum *string `location:"header" locationName:"x-amz-sha256-tree-hash" type:"string"` // The upload ID of the multipart upload. + // + // UploadId is a required field UploadId *string `location:"uri" locationName:"uploadId" type:"string" required:"true"` // The name of the vault. + // + // VaultName is a required field VaultName *string `location:"uri" locationName:"vaultName" type:"string" required:"true"` } @@ -2648,12 +2668,18 @@ type CompleteVaultLockInput struct { // in which case Amazon Glacier uses the AWS account ID associated with the // credentials used to sign the request. If you specify your account ID, do // not include any hyphens (apos-apos) in the ID. + // + // AccountId is a required field AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"` // The lockId value is the lock ID obtained from a InitiateVaultLock request. + // + // LockId is a required field LockId *string `location:"uri" locationName:"lockId" type:"string" required:"true"` // The name of the vault. + // + // VaultName is a required field VaultName *string `location:"uri" locationName:"vaultName" type:"string" required:"true"` } @@ -2710,9 +2736,13 @@ type CreateVaultInput struct { // in which case Amazon Glacier uses the AWS account ID associated with the // credentials used to sign the request. If you specify your account ID, do // not include any hyphens (apos-apos) in the ID. + // + // AccountId is a required field AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"` // The name of the vault. + // + // VaultName is a required field VaultName *string `location:"uri" locationName:"vaultName" type:"string" required:"true"` } @@ -2815,12 +2845,18 @@ type DeleteArchiveInput struct { // (hyphen), in which case Amazon Glacier uses the AWS account ID associated // with the credentials used to sign the request. If you use an account ID, // do not include any hyphens (apos-apos) in the ID. + // + // AccountId is a required field AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"` // The ID of the archive to delete. + // + // ArchiveId is a required field ArchiveId *string `location:"uri" locationName:"archiveId" type:"string" required:"true"` // The name of the vault. + // + // VaultName is a required field VaultName *string `location:"uri" locationName:"vaultName" type:"string" required:"true"` } @@ -2876,9 +2912,13 @@ type DeleteVaultAccessPolicyInput struct { // (hyphen), in which case Amazon Glacier uses the AWS account ID associated // with the credentials used to sign the request. If you use an account ID, // do not include any hyphens (apos-apos) in the ID. + // + // AccountId is a required field AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"` // The name of the vault. + // + // VaultName is a required field VaultName *string `location:"uri" locationName:"vaultName" type:"string" required:"true"` } @@ -2931,9 +2971,13 @@ type DeleteVaultInput struct { // (hyphen), in which case Amazon Glacier uses the AWS account ID associated // with the credentials used to sign the request. If you use an account ID, // do not include any hyphens (apos-apos) in the ID. + // + // AccountId is a required field AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"` // The name of the vault. + // + // VaultName is a required field VaultName *string `location:"uri" locationName:"vaultName" type:"string" required:"true"` } @@ -2973,9 +3017,13 @@ type DeleteVaultNotificationsInput struct { // (hyphen), in which case Amazon Glacier uses the AWS account ID associated // with the credentials used to sign the request. If you use an account ID, // do not include any hyphens (apos-apos) in the ID. + // + // AccountId is a required field AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"` // The name of the vault. + // + // VaultName is a required field VaultName *string `location:"uri" locationName:"vaultName" type:"string" required:"true"` } @@ -3042,12 +3090,18 @@ type DescribeJobInput struct { // (hyphen), in which case Amazon Glacier uses the AWS account ID associated // with the credentials used to sign the request. If you use an account ID, // do not include any hyphens (apos-apos) in the ID. + // + // AccountId is a required field AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"` // The ID of the job to describe. + // + // JobId is a required field JobId *string `location:"uri" locationName:"jobId" type:"string" required:"true"` // The name of the vault. + // + // VaultName is a required field VaultName *string `location:"uri" locationName:"vaultName" type:"string" required:"true"` } @@ -3089,9 +3143,13 @@ type DescribeVaultInput struct { // (hyphen), in which case Amazon Glacier uses the AWS account ID associated // with the credentials used to sign the request. If you use an account ID, // do not include any hyphens (apos-apos) in the ID. + // + // AccountId is a required field AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"` // The name of the vault. + // + // VaultName is a required field VaultName *string `location:"uri" locationName:"vaultName" type:"string" required:"true"` } @@ -3170,6 +3228,8 @@ type GetDataRetrievalPolicyInput struct { // in which case Amazon Glacier uses the AWS account ID associated with the // credentials used to sign the request. If you specify your account ID, do // not include any hyphens (apos-apos) in the ID. + // + // AccountId is a required field AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"` } @@ -3223,9 +3283,13 @@ type GetJobOutputInput struct { // (hyphen), in which case Amazon Glacier uses the AWS account ID associated // with the credentials used to sign the request. If you use an account ID, // do not include any hyphens (apos-apos) in the ID. + // + // AccountId is a required field AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"` // The job ID whose data is downloaded. + // + // JobId is a required field JobId *string `location:"uri" locationName:"jobId" type:"string" required:"true"` // The range of bytes to retrieve from the output. For example, if you want @@ -3234,6 +3298,8 @@ type GetJobOutputInput struct { Range *string `location:"header" locationName:"Range" type:"string"` // The name of the vault. + // + // VaultName is a required field VaultName *string `location:"uri" locationName:"vaultName" type:"string" required:"true"` } @@ -3328,9 +3394,13 @@ type GetVaultAccessPolicyInput struct { // (hyphen), in which case Amazon Glacier uses the AWS account ID associated // with the credentials used to sign the request. If you use an account ID, // do not include any hyphens (apos-apos) in the ID. + // + // AccountId is a required field AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"` // The name of the vault. + // + // VaultName is a required field VaultName *string `location:"uri" locationName:"vaultName" type:"string" required:"true"` } @@ -3387,9 +3457,13 @@ type GetVaultLockInput struct { // (hyphen), in which case Amazon Glacier uses the AWS account ID associated // with the credentials used to sign the request. If you use an account ID, // do not include any hyphens (apos-apos) in the ID. + // + // AccountId is a required field AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"` // The name of the vault. + // + // VaultName is a required field VaultName *string `location:"uri" locationName:"vaultName" type:"string" required:"true"` } @@ -3458,9 +3532,13 @@ type GetVaultNotificationsInput struct { // (hyphen), in which case Amazon Glacier uses the AWS account ID associated // with the credentials used to sign the request. If you use an account ID, // do not include any hyphens (apos-apos) in the ID. + // + // AccountId is a required field AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"` // The name of the vault. + // + // VaultName is a required field VaultName *string `location:"uri" locationName:"vaultName" type:"string" required:"true"` } @@ -3517,12 +3595,16 @@ type InitiateJobInput struct { // (hyphen), in which case Amazon Glacier uses the AWS account ID associated // with the credentials used to sign the request. If you use an account ID, // do not include any hyphens (apos-apos) in the ID. + // + // AccountId is a required field AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"` // Provides options for specifying job information. JobParameters *JobParameters `locationName:"jobParameters" type:"structure"` // The name of the vault. + // + // VaultName is a required field VaultName *string `location:"uri" locationName:"vaultName" type:"string" required:"true"` } @@ -3582,6 +3664,8 @@ type InitiateMultipartUploadInput struct { // (hyphen), in which case Amazon Glacier uses the AWS account ID associated // with the credentials used to sign the request. If you use an account ID, // do not include any hyphens (apos-apos) in the ID. + // + // AccountId is a required field AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"` // The archive description that you are uploading in parts. @@ -3597,6 +3681,8 @@ type InitiateMultipartUploadInput struct { PartSize *string `location:"header" locationName:"x-amz-part-size" type:"string"` // The name of the vault. + // + // VaultName is a required field VaultName *string `location:"uri" locationName:"vaultName" type:"string" required:"true"` } @@ -3658,12 +3744,16 @@ type InitiateVaultLockInput struct { // in which case Amazon Glacier uses the AWS account ID associated with the // credentials used to sign the request. If you specify your account ID, do // not include any hyphens (apos-apos) in the ID. + // + // AccountId is a required field AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"` // The vault lock policy as a JSON string, which uses "\" as an escape character. Policy *VaultLockPolicy `locationName:"policy" type:"structure"` // The name of the vault. + // + // VaultName is a required field VaultName *string `location:"uri" locationName:"vaultName" type:"string" required:"true"` } @@ -3945,6 +4035,8 @@ type ListJobsInput struct { // (hyphen), in which case Amazon Glacier uses the AWS account ID associated // with the credentials used to sign the request. If you use an account ID, // do not include any hyphens (apos-apos) in the ID. + // + // AccountId is a required field AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"` // Specifies the state of the jobs to return. You can specify true or false. @@ -3965,6 +4057,8 @@ type ListJobsInput struct { Statuscode *string `location:"querystring" locationName:"statuscode" type:"string"` // The name of the vault. + // + // VaultName is a required field VaultName *string `location:"uri" locationName:"vaultName" type:"string" required:"true"` } @@ -4027,6 +4121,8 @@ type ListMultipartUploadsInput struct { // (hyphen), in which case Amazon Glacier uses the AWS account ID associated // with the credentials used to sign the request. If you use an account ID, // do not include any hyphens (apos-apos) in the ID. + // + // AccountId is a required field AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"` // Specifies the maximum number of uploads returned in the response body. If @@ -4041,6 +4137,8 @@ type ListMultipartUploadsInput struct { Marker *string `location:"querystring" locationName:"marker" type:"string"` // The name of the vault. + // + // VaultName is a required field VaultName *string `location:"uri" locationName:"vaultName" type:"string" required:"true"` } @@ -4103,6 +4201,8 @@ type ListPartsInput struct { // (hyphen), in which case Amazon Glacier uses the AWS account ID associated // with the credentials used to sign the request. If you use an account ID, // do not include any hyphens (apos-apos) in the ID. + // + // AccountId is a required field AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"` // Specifies the maximum number of parts returned in the response body. If this @@ -4117,9 +4217,13 @@ type ListPartsInput struct { Marker *string `location:"querystring" locationName:"marker" type:"string"` // The upload ID of the multipart upload. + // + // UploadId is a required field UploadId *string `location:"uri" locationName:"uploadId" type:"string" required:"true"` // The name of the vault. + // + // VaultName is a required field VaultName *string `location:"uri" locationName:"vaultName" type:"string" required:"true"` } @@ -4201,9 +4305,13 @@ type ListTagsForVaultInput struct { // (hyphen), in which case Amazon Glacier uses the AWS account ID associated // with the credentials used to sign the request. If you use an account ID, // do not include any hyphens (apos-apos) in the ID. + // + // AccountId is a required field AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"` // The name of the vault. + // + // VaultName is a required field VaultName *string `location:"uri" locationName:"vaultName" type:"string" required:"true"` } @@ -4262,6 +4370,8 @@ type ListVaultsInput struct { // in which case Amazon Glacier uses the AWS account ID associated with the // credentials used to sign the request. If you specify your account ID, do // not include any hyphens (apos-apos) in the ID. + // + // AccountId is a required field AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"` // The maximum number of items returned in the response. If you don't specify @@ -4349,12 +4459,16 @@ type RemoveTagsFromVaultInput struct { // (hyphen), in which case Amazon Glacier uses the AWS account ID associated // with the credentials used to sign the request. If you use an account ID, // do not include any hyphens (apos-apos) in the ID. + // + // AccountId is a required field AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"` // A list of tag keys. Each corresponding tag is removed from the vault. TagKeys []*string `type:"list"` // The name of the vault. + // + // VaultName is a required field VaultName *string `location:"uri" locationName:"vaultName" type:"string" required:"true"` } @@ -4408,6 +4522,8 @@ type SetDataRetrievalPolicyInput struct { // in which case Amazon Glacier uses the AWS account ID associated with the // credentials used to sign the request. If you specify your account ID, do // not include any hyphens (apos-apos) in the ID. + // + // AccountId is a required field AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"` // The data retrieval policy in JSON format. @@ -4460,12 +4576,16 @@ type SetVaultAccessPolicyInput struct { // (hyphen), in which case Amazon Glacier uses the AWS account ID associated // with the credentials used to sign the request. If you use an account ID, // do not include any hyphens (apos-apos) in the ID. + // + // AccountId is a required field AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"` // The vault access policy as a JSON string. Policy *VaultAccessPolicy `locationName:"policy" type:"structure"` // The name of the vault. + // + // VaultName is a required field VaultName *string `location:"uri" locationName:"vaultName" type:"string" required:"true"` } @@ -4519,9 +4639,13 @@ type SetVaultNotificationsInput struct { // (hyphen), in which case Amazon Glacier uses the AWS account ID associated // with the credentials used to sign the request. If you use an account ID, // do not include any hyphens (apos-apos) in the ID. + // + // AccountId is a required field AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"` // The name of the vault. + // + // VaultName is a required field VaultName *string `location:"uri" locationName:"vaultName" type:"string" required:"true"` // Provides options for specifying notification configuration. @@ -4577,6 +4701,8 @@ type UploadArchiveInput struct { // (hyphen), in which case Amazon Glacier uses the AWS account ID associated // with the credentials used to sign the request. If you use an account ID, // do not include any hyphens (apos-apos) in the ID. + // + // AccountId is a required field AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"` // The optional description of the archive you are uploading. @@ -4589,6 +4715,8 @@ type UploadArchiveInput struct { Checksum *string `location:"header" locationName:"x-amz-sha256-tree-hash" type:"string"` // The name of the vault. + // + // VaultName is a required field VaultName *string `location:"uri" locationName:"vaultName" type:"string" required:"true"` } @@ -4660,6 +4788,8 @@ type UploadMultipartPartInput struct { // (hyphen), in which case Amazon Glacier uses the AWS account ID associated // with the credentials used to sign the request. If you use an account ID, // do not include any hyphens (apos-apos) in the ID. + // + // AccountId is a required field AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"` // The data to upload. @@ -4675,9 +4805,13 @@ type UploadMultipartPartInput struct { Range *string `location:"header" locationName:"Content-Range" type:"string"` // The upload ID of the multipart upload. + // + // UploadId is a required field UploadId *string `location:"uri" locationName:"uploadId" type:"string" required:"true"` // The name of the vault. + // + // VaultName is a required field VaultName *string `location:"uri" locationName:"vaultName" type:"string" required:"true"` } @@ -4788,17 +4922,20 @@ func (s VaultNotificationConfig) GoString() string { } const ( - // @enum ActionCode + // ActionCodeArchiveRetrieval is a ActionCode enum value ActionCodeArchiveRetrieval = "ArchiveRetrieval" - // @enum ActionCode + + // ActionCodeInventoryRetrieval is a ActionCode enum value ActionCodeInventoryRetrieval = "InventoryRetrieval" ) const ( - // @enum StatusCode + // StatusCodeInProgress is a StatusCode enum value StatusCodeInProgress = "InProgress" - // @enum StatusCode + + // StatusCodeSucceeded is a StatusCode enum value StatusCodeSucceeded = "Succeeded" - // @enum StatusCode + + // StatusCodeFailed is a StatusCode enum value StatusCodeFailed = "Failed" ) diff --git a/service/glacier/waiters.go b/service/glacier/waiters.go index e6fbedfa15b..fd33dc977f7 100644 --- a/service/glacier/waiters.go +++ b/service/glacier/waiters.go @@ -6,6 +6,10 @@ import ( "github.com/aws/aws-sdk-go/private/waiter" ) +// WaitUntilVaultExists uses the Amazon Glacier API operation +// DescribeVault to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *Glacier) WaitUntilVaultExists(input *DescribeVaultInput) error { waiterCfg := waiter.Config{ Operation: "DescribeVault", @@ -35,6 +39,10 @@ func (c *Glacier) WaitUntilVaultExists(input *DescribeVaultInput) error { return w.Wait() } +// WaitUntilVaultNotExists uses the Amazon Glacier API operation +// DescribeVault to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *Glacier) WaitUntilVaultNotExists(input *DescribeVaultInput) error { waiterCfg := waiter.Config{ Operation: "DescribeVault", diff --git a/service/iam/api.go b/service/iam/api.go index 08f8bcc0cbe..d04f4049cc8 100644 --- a/service/iam/api.go +++ b/service/iam/api.go @@ -7238,19 +7238,27 @@ type AccessKey struct { _ struct{} `type:"structure"` // The ID for this access key. + // + // AccessKeyId is a required field AccessKeyId *string `min:"16" type:"string" required:"true"` // The date when the access key was created. CreateDate *time.Time `type:"timestamp" timestampFormat:"iso8601"` // The secret key used to sign requests. + // + // SecretAccessKey is a required field SecretAccessKey *string `type:"string" required:"true"` // The status of the access key. Active means the key is valid for API calls, // while Inactive means it is not. + // + // Status is a required field Status *string `type:"string" required:"true" enum:"statusType"` // The name of the IAM user that the access key is associated with. + // + // UserName is a required field UserName *string `min:"1" type:"string" required:"true"` } @@ -7280,6 +7288,8 @@ type AccessKeyLastUsed struct { // tracking this information on April 22nd, 2015. // // There is no sign-in data associated with the user + // + // LastUsedDate is a required field LastUsedDate *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"` // The AWS region where this access key was most recently used. This field is @@ -7294,6 +7304,8 @@ type AccessKeyLastUsed struct { // // For more information about AWS regions, see Regions and Endpoints (http://docs.aws.amazon.com/general/latest/gr/rande.html) // in the Amazon Web Services General Reference. + // + // Region is a required field Region *string `type:"string" required:"true"` // The name of the AWS service with which this access key was most recently @@ -7305,6 +7317,8 @@ type AccessKeyLastUsed struct { // tracking this information on April 22nd, 2015. // // There is no sign-in data associated with the user + // + // ServiceName is a required field ServiceName *string `type:"string" required:"true"` } @@ -7353,11 +7367,15 @@ type AddClientIDToOpenIDConnectProviderInput struct { // The client ID (also known as audience) to add to the IAM OpenID Connect provider // resource. + // + // ClientID is a required field ClientID *string `min:"1" type:"string" required:"true"` // The Amazon Resource Name (ARN) of the IAM OpenID Connect (OIDC) provider // resource to add the client ID to. You can get a list of OIDC provider ARNs // by using the ListOpenIDConnectProviders action. + // + // OpenIDConnectProviderArn is a required field OpenIDConnectProviderArn *string `min:"20" type:"string" required:"true"` } @@ -7415,6 +7433,8 @@ type AddRoleToInstanceProfileInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // InstanceProfileName is a required field InstanceProfileName *string `min:"1" type:"string" required:"true"` // The name of the role to add. @@ -7422,6 +7442,8 @@ type AddRoleToInstanceProfileInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // RoleName is a required field RoleName *string `min:"1" type:"string" required:"true"` } @@ -7479,6 +7501,8 @@ type AddUserToGroupInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // GroupName is a required field GroupName *string `min:"1" type:"string" required:"true"` // The name of the user to add. @@ -7486,6 +7510,8 @@ type AddUserToGroupInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // UserName is a required field UserName *string `min:"1" type:"string" required:"true"` } @@ -7543,6 +7569,8 @@ type AttachGroupPolicyInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // GroupName is a required field GroupName *string `min:"1" type:"string" required:"true"` // The Amazon Resource Name (ARN) of the IAM policy you want to attach. @@ -7550,6 +7578,8 @@ type AttachGroupPolicyInput struct { // For more information about ARNs, see Amazon Resource Names (ARNs) and AWS // Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) // in the AWS General Reference. + // + // PolicyArn is a required field PolicyArn *string `min:"20" type:"string" required:"true"` } @@ -7607,6 +7637,8 @@ type AttachRolePolicyInput struct { // For more information about ARNs, see Amazon Resource Names (ARNs) and AWS // Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) // in the AWS General Reference. + // + // PolicyArn is a required field PolicyArn *string `min:"20" type:"string" required:"true"` // The name (friendly name, not ARN) of the role to attach the policy to. @@ -7614,6 +7646,8 @@ type AttachRolePolicyInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // RoleName is a required field RoleName *string `min:"1" type:"string" required:"true"` } @@ -7671,6 +7705,8 @@ type AttachUserPolicyInput struct { // For more information about ARNs, see Amazon Resource Names (ARNs) and AWS // Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) // in the AWS General Reference. + // + // PolicyArn is a required field PolicyArn *string `min:"20" type:"string" required:"true"` // The name (friendly name, not ARN) of the IAM user to attach the policy to. @@ -7678,6 +7714,8 @@ type AttachUserPolicyInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // UserName is a required field UserName *string `min:"1" type:"string" required:"true"` } @@ -7775,9 +7813,13 @@ type ChangePasswordInput struct { // note that many tools, such as the AWS Management Console, might restrict // the ability to enter certain characters because they have special meaning // within that tool. + // + // NewPassword is a required field NewPassword *string `min:"1" type:"string" required:"true"` // The IAM user's current password. + // + // OldPassword is a required field OldPassword *string `min:"1" type:"string" required:"true"` } @@ -7913,6 +7955,8 @@ type CreateAccessKeyOutput struct { _ struct{} `type:"structure"` // A structure with details about the access key. + // + // AccessKey is a required field AccessKey *AccessKey `type:"structure" required:"true"` } @@ -7935,6 +7979,8 @@ type CreateAccountAliasInput struct { // a string of characters consisting of lowercase letters, digits, and dashes. // You cannot start or finish with a dash, nor can you have two dashes in a // row. + // + // AccountAlias is a required field AccountAlias *string `min:"3" type:"string" required:"true"` } @@ -7988,6 +8034,8 @@ type CreateGroupInput struct { // with no spaces. You can also include any of the following characters: =,.@-. // The group name must be unique within the account. Group names are not distinguished // by case. For example, you cannot create groups named both "ADMINS" and "admins". + // + // GroupName is a required field GroupName *string `min:"1" type:"string" required:"true"` // The path to the group. For more information about paths, see IAM Identifiers @@ -8039,6 +8087,8 @@ type CreateGroupOutput struct { _ struct{} `type:"structure"` // A structure containing details about the new group. + // + // Group is a required field Group *Group `type:"structure" required:"true"` } @@ -8060,6 +8110,8 @@ type CreateInstanceProfileInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // InstanceProfileName is a required field InstanceProfileName *string `min:"1" type:"string" required:"true"` // The path to the instance profile. For more information about paths, see IAM @@ -8111,6 +8163,8 @@ type CreateInstanceProfileOutput struct { _ struct{} `type:"structure"` // A structure containing details about the new instance profile. + // + // InstanceProfile is a required field InstanceProfile *InstanceProfile `type:"structure" required:"true"` } @@ -8137,6 +8191,8 @@ type CreateLoginProfileInput struct { // note that many tools, such as the AWS Management Console, might restrict // the ability to enter certain characters because they have special meaning // within that tool. + // + // Password is a required field Password *string `min:"1" type:"string" required:"true"` // Specifies whether the user is required to set a new password on next sign-in. @@ -8148,6 +8204,8 @@ type CreateLoginProfileInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // UserName is a required field UserName *string `min:"1" type:"string" required:"true"` } @@ -8188,6 +8246,8 @@ type CreateLoginProfileOutput struct { _ struct{} `type:"structure"` // A structure containing the user name and password create date. + // + // LoginProfile is a required field LoginProfile *LoginProfile `type:"structure" required:"true"` } @@ -8236,6 +8296,8 @@ type CreateOpenIDConnectProviderInput struct { // For more information about obtaining the OIDC provider's thumbprint, see // Obtaining the Thumbprint for an OpenID Connect Provider (http://docs.aws.amazon.com/IAM/latest/UserGuide/identity-providers-oidc-obtain-thumbprint.html) // in the IAM User Guide. + // + // ThumbprintList is a required field ThumbprintList []*string `type:"list" required:"true"` // The URL of the identity provider. The URL must begin with "https://" and @@ -8247,6 +8309,8 @@ type CreateOpenIDConnectProviderInput struct { // You cannot register the same provider multiple times in a single AWS account. // If you try to submit a URL that has already been used for an OpenID Connect // provider in the AWS account, you will get an error. + // + // Url is a required field Url *string `min:"1" type:"string" required:"true"` } @@ -8333,6 +8397,8 @@ type CreatePolicyInput struct { // from the space character (\u0020) through end of the ASCII character range // (\u00FF). It also includes the special characters tab (\u0009), line feed // (\u000A), and carriage return (\u000D). + // + // PolicyDocument is a required field PolicyDocument *string `min:"1" type:"string" required:"true"` // The friendly name of the policy. @@ -8340,6 +8406,8 @@ type CreatePolicyInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // PolicyName is a required field PolicyName *string `min:"1" type:"string" required:"true"` } @@ -8402,6 +8470,8 @@ type CreatePolicyVersionInput struct { // For more information about ARNs, see Amazon Resource Names (ARNs) and AWS // Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) // in the AWS General Reference. + // + // PolicyArn is a required field PolicyArn *string `min:"20" type:"string" required:"true"` // The JSON policy document that you want to use as the content for this new @@ -8412,6 +8482,8 @@ type CreatePolicyVersionInput struct { // from the space character (\u0020) through end of the ASCII character range // (\u00FF). It also includes the special characters tab (\u0009), line feed // (\u000A), and carriage return (\u000D). + // + // PolicyDocument is a required field PolicyDocument *string `min:"1" type:"string" required:"true"` // Specifies whether to set this version as the policy's default version. @@ -8487,6 +8559,8 @@ type CreateRoleInput struct { // from the space character (\u0020) through end of the ASCII character range // (\u00FF). It also includes the special characters tab (\u0009), line feed // (\u000A), and carriage return (\u000D). + // + // AssumeRolePolicyDocument is a required field AssumeRolePolicyDocument *string `min:"1" type:"string" required:"true"` // The path to the role. For more information about paths, see IAM Identifiers @@ -8510,6 +8584,8 @@ type CreateRoleInput struct { // with no spaces. You can also include any of the following characters: =,.@-. // Role names are not distinguished by case. For example, you cannot create // roles named both "PRODROLE" and "prodrole". + // + // RoleName is a required field RoleName *string `min:"1" type:"string" required:"true"` } @@ -8553,6 +8629,8 @@ type CreateRoleOutput struct { _ struct{} `type:"structure"` // A structure containing details about the new role. + // + // Role is a required field Role *Role `type:"structure" required:"true"` } @@ -8574,6 +8652,8 @@ type CreateSAMLProviderInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // Name is a required field Name *string `min:"1" type:"string" required:"true"` // An XML document generated by an identity provider (IdP) that supports SAML @@ -8584,6 +8664,8 @@ type CreateSAMLProviderInput struct { // // For more information, see About SAML 2.0-based Federation (http://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_saml.html) // in the IAM User Guide + // + // SAMLMetadataDocument is a required field SAMLMetadataDocument *string `min:"1000" type:"string" required:"true"` } @@ -8661,6 +8743,8 @@ type CreateUserInput struct { // with no spaces. You can also include any of the following characters: =,.@-. // User names are not distinguished by case. For example, you cannot create // users named both "TESTUSER" and "testuser". + // + // UserName is a required field UserName *string `min:"1" type:"string" required:"true"` } @@ -8734,6 +8818,8 @@ type CreateVirtualMFADeviceInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // VirtualMFADeviceName is a required field VirtualMFADeviceName *string `min:"1" type:"string" required:"true"` } @@ -8771,6 +8857,8 @@ type CreateVirtualMFADeviceOutput struct { _ struct{} `type:"structure"` // A structure containing details about the new virtual MFA device. + // + // VirtualMFADevice is a required field VirtualMFADevice *VirtualMFADevice `type:"structure" required:"true"` } @@ -8793,6 +8881,8 @@ type DeactivateMFADeviceInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =/:,.@- + // + // SerialNumber is a required field SerialNumber *string `min:"9" type:"string" required:"true"` // The name of the user whose MFA device you want to deactivate. @@ -8800,6 +8890,8 @@ type DeactivateMFADeviceInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // UserName is a required field UserName *string `min:"1" type:"string" required:"true"` } @@ -8858,6 +8950,8 @@ type DeleteAccessKeyInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters that can consist of any upper or lowercased letter // or digit. + // + // AccessKeyId is a required field AccessKeyId *string `min:"16" type:"string" required:"true"` // The name of the user whose access key pair you want to delete. @@ -8920,6 +9014,8 @@ type DeleteAccountAliasInput struct { // a string of characters consisting of lowercase letters, digits, and dashes. // You cannot start or finish with a dash, nor can you have two dashes in a // row. + // + // AccountAlias is a required field AccountAlias *string `min:"3" type:"string" required:"true"` } @@ -8999,6 +9095,8 @@ type DeleteGroupInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // GroupName is a required field GroupName *string `min:"1" type:"string" required:"true"` } @@ -9051,6 +9149,8 @@ type DeleteGroupPolicyInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // GroupName is a required field GroupName *string `min:"1" type:"string" required:"true"` // The name identifying the policy document to delete. @@ -9058,6 +9158,8 @@ type DeleteGroupPolicyInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // PolicyName is a required field PolicyName *string `min:"1" type:"string" required:"true"` } @@ -9115,6 +9217,8 @@ type DeleteInstanceProfileInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // InstanceProfileName is a required field InstanceProfileName *string `min:"1" type:"string" required:"true"` } @@ -9166,6 +9270,8 @@ type DeleteLoginProfileInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // UserName is a required field UserName *string `min:"1" type:"string" required:"true"` } @@ -9215,6 +9321,8 @@ type DeleteOpenIDConnectProviderInput struct { // The Amazon Resource Name (ARN) of the IAM OpenID Connect provider resource // object to delete. You can get a list of OpenID Connect provider resource // ARNs by using the ListOpenIDConnectProviders action. + // + // OpenIDConnectProviderArn is a required field OpenIDConnectProviderArn *string `min:"20" type:"string" required:"true"` } @@ -9266,6 +9374,8 @@ type DeletePolicyInput struct { // For more information about ARNs, see Amazon Resource Names (ARNs) and AWS // Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) // in the AWS General Reference. + // + // PolicyArn is a required field PolicyArn *string `min:"20" type:"string" required:"true"` } @@ -9318,6 +9428,8 @@ type DeletePolicyVersionInput struct { // For more information about ARNs, see Amazon Resource Names (ARNs) and AWS // Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) // in the AWS General Reference. + // + // PolicyArn is a required field PolicyArn *string `min:"20" type:"string" required:"true"` // The policy version to delete. @@ -9330,6 +9442,8 @@ type DeletePolicyVersionInput struct { // For more information about managed policy versions, see Versioning for Managed // Policies (http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-versions.html) // in the IAM User Guide. + // + // VersionId is a required field VersionId *string `type:"string" required:"true"` } @@ -9384,6 +9498,8 @@ type DeleteRoleInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // RoleName is a required field RoleName *string `min:"1" type:"string" required:"true"` } @@ -9435,6 +9551,8 @@ type DeleteRolePolicyInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // PolicyName is a required field PolicyName *string `min:"1" type:"string" required:"true"` // The name (friendly name, not ARN) identifying the role that the policy is @@ -9443,6 +9561,8 @@ type DeleteRolePolicyInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // RoleName is a required field RoleName *string `min:"1" type:"string" required:"true"` } @@ -9496,6 +9616,8 @@ type DeleteSAMLProviderInput struct { _ struct{} `type:"structure"` // The Amazon Resource Name (ARN) of the SAML provider to delete. + // + // SAMLProviderArn is a required field SAMLProviderArn *string `min:"20" type:"string" required:"true"` } @@ -9547,6 +9669,8 @@ type DeleteSSHPublicKeyInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters that can consist of any upper or lowercased letter // or digit. + // + // SSHPublicKeyId is a required field SSHPublicKeyId *string `min:"20" type:"string" required:"true"` // The name of the IAM user associated with the SSH public key. @@ -9554,6 +9678,8 @@ type DeleteSSHPublicKeyInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // UserName is a required field UserName *string `min:"1" type:"string" required:"true"` } @@ -9611,6 +9737,8 @@ type DeleteServerCertificateInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // ServerCertificateName is a required field ServerCertificateName *string `min:"1" type:"string" required:"true"` } @@ -9662,6 +9790,8 @@ type DeleteSigningCertificateInput struct { // The format of this parameter, as described by its regex (http://wikipedia.org/wiki/regex) // pattern, is a string of characters that can be upper- or lower-cased letters // or digits. + // + // CertificateId is a required field CertificateId *string `min:"24" type:"string" required:"true"` // The name of the user the signing certificate belongs to. @@ -9723,6 +9853,8 @@ type DeleteUserInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // UserName is a required field UserName *string `min:"1" type:"string" required:"true"` } @@ -9774,6 +9906,8 @@ type DeleteUserPolicyInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // PolicyName is a required field PolicyName *string `min:"1" type:"string" required:"true"` // The name (friendly name, not ARN) identifying the user that the policy is @@ -9782,6 +9916,8 @@ type DeleteUserPolicyInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // UserName is a required field UserName *string `min:"1" type:"string" required:"true"` } @@ -9840,6 +9976,8 @@ type DeleteVirtualMFADeviceInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =/:,.@- + // + // SerialNumber is a required field SerialNumber *string `min:"9" type:"string" required:"true"` } @@ -9891,6 +10029,8 @@ type DetachGroupPolicyInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // GroupName is a required field GroupName *string `min:"1" type:"string" required:"true"` // The Amazon Resource Name (ARN) of the IAM policy you want to detach. @@ -9898,6 +10038,8 @@ type DetachGroupPolicyInput struct { // For more information about ARNs, see Amazon Resource Names (ARNs) and AWS // Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) // in the AWS General Reference. + // + // PolicyArn is a required field PolicyArn *string `min:"20" type:"string" required:"true"` } @@ -9955,6 +10097,8 @@ type DetachRolePolicyInput struct { // For more information about ARNs, see Amazon Resource Names (ARNs) and AWS // Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) // in the AWS General Reference. + // + // PolicyArn is a required field PolicyArn *string `min:"20" type:"string" required:"true"` // The name (friendly name, not ARN) of the IAM role to detach the policy from. @@ -9962,6 +10106,8 @@ type DetachRolePolicyInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // RoleName is a required field RoleName *string `min:"1" type:"string" required:"true"` } @@ -10019,6 +10165,8 @@ type DetachUserPolicyInput struct { // For more information about ARNs, see Amazon Resource Names (ARNs) and AWS // Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) // in the AWS General Reference. + // + // PolicyArn is a required field PolicyArn *string `min:"20" type:"string" required:"true"` // The name (friendly name, not ARN) of the IAM user to detach the policy from. @@ -10026,6 +10174,8 @@ type DetachUserPolicyInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // UserName is a required field UserName *string `min:"1" type:"string" required:"true"` } @@ -10081,11 +10231,15 @@ type EnableMFADeviceInput struct { // An authentication code emitted by the device. // // The format for this parameter is a string of 6 digits. + // + // AuthenticationCode1 is a required field AuthenticationCode1 *string `min:"6" type:"string" required:"true"` // A subsequent authentication code emitted by the device. // // The format for this parameter is a string of 6 digits. + // + // AuthenticationCode2 is a required field AuthenticationCode2 *string `min:"6" type:"string" required:"true"` // The serial number that uniquely identifies the MFA device. For virtual MFA @@ -10094,6 +10248,8 @@ type EnableMFADeviceInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =/:,.@- + // + // SerialNumber is a required field SerialNumber *string `min:"9" type:"string" required:"true"` // The name of the IAM user for whom you want to enable the MFA device. @@ -10101,6 +10257,8 @@ type EnableMFADeviceInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // UserName is a required field UserName *string `min:"1" type:"string" required:"true"` } @@ -10170,9 +10328,13 @@ type EvaluationResult struct { _ struct{} `type:"structure"` // The name of the API action tested on the indicated resource. + // + // EvalActionName is a required field EvalActionName *string `min:"3" type:"string" required:"true"` // The result of the simulation. + // + // EvalDecision is a required field EvalDecision *string `type:"string" required:"true" enum:"PolicyEvaluationDecisionType"` // Additional details about the results of the evaluation decision. When there @@ -10260,6 +10422,8 @@ type GetAccessKeyLastUsedInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters that can consist of any upper or lowercased letter // or digit. + // + // AccessKeyId is a required field AccessKeyId *string `min:"16" type:"string" required:"true"` } @@ -10429,6 +10593,8 @@ type GetAccountPasswordPolicyOutput struct { // // This data type is used as a response element in the GetAccountPasswordPolicy // action. + // + // PasswordPolicy is a required field PasswordPolicy *PasswordPolicy `type:"structure" required:"true"` } @@ -10487,6 +10653,8 @@ type GetContextKeysForCustomPolicyInput struct { // from the space character (\u0020) through end of the ASCII character range // (\u00FF). It also includes the special characters tab (\u0009), line feed // (\u000A), and carriage return (\u000D). + // + // PolicyInputList is a required field PolicyInputList []*string `type:"list" required:"true"` } @@ -10556,6 +10724,8 @@ type GetContextKeysForPrincipalPolicyInput struct { // For more information about ARNs, see Amazon Resource Names (ARNs) and AWS // Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) // in the AWS General Reference. + // + // PolicySourceArn is a required field PolicySourceArn *string `min:"20" type:"string" required:"true"` } @@ -10634,6 +10804,8 @@ type GetGroupInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // GroupName is a required field GroupName *string `min:"1" type:"string" required:"true"` // Use this parameter only when paginating results and only after you receive @@ -10691,6 +10863,8 @@ type GetGroupOutput struct { _ struct{} `type:"structure"` // A structure that contains details about the group. + // + // Group is a required field Group *Group `type:"structure" required:"true"` // A flag that indicates whether there are more items to return. If your results @@ -10706,6 +10880,8 @@ type GetGroupOutput struct { Marker *string `min:"1" type:"string"` // A list of users in the group. + // + // Users is a required field Users []*User `type:"list" required:"true"` } @@ -10727,6 +10903,8 @@ type GetGroupPolicyInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // GroupName is a required field GroupName *string `min:"1" type:"string" required:"true"` // The name of the policy document to get. @@ -10734,6 +10912,8 @@ type GetGroupPolicyInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // PolicyName is a required field PolicyName *string `min:"1" type:"string" required:"true"` } @@ -10774,12 +10954,18 @@ type GetGroupPolicyOutput struct { _ struct{} `type:"structure"` // The group the policy is associated with. + // + // GroupName is a required field GroupName *string `min:"1" type:"string" required:"true"` // The policy document. + // + // PolicyDocument is a required field PolicyDocument *string `min:"1" type:"string" required:"true"` // The name of the policy. + // + // PolicyName is a required field PolicyName *string `min:"1" type:"string" required:"true"` } @@ -10801,6 +10987,8 @@ type GetInstanceProfileInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // InstanceProfileName is a required field InstanceProfileName *string `min:"1" type:"string" required:"true"` } @@ -10835,6 +11023,8 @@ type GetInstanceProfileOutput struct { _ struct{} `type:"structure"` // A structure containing details about the instance profile. + // + // InstanceProfile is a required field InstanceProfile *InstanceProfile `type:"structure" required:"true"` } @@ -10856,6 +11046,8 @@ type GetLoginProfileInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // UserName is a required field UserName *string `min:"1" type:"string" required:"true"` } @@ -10890,6 +11082,8 @@ type GetLoginProfileOutput struct { _ struct{} `type:"structure"` // A structure containing the user name and password create date for the user. + // + // LoginProfile is a required field LoginProfile *LoginProfile `type:"structure" required:"true"` } @@ -10913,6 +11107,8 @@ type GetOpenIDConnectProviderInput struct { // For more information about ARNs, see Amazon Resource Names (ARNs) and AWS // Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) // in the AWS General Reference. + // + // OpenIDConnectProviderArn is a required field OpenIDConnectProviderArn *string `min:"20" type:"string" required:"true"` } @@ -10982,6 +11178,8 @@ type GetPolicyInput struct { // For more information about ARNs, see Amazon Resource Names (ARNs) and AWS // Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) // in the AWS General Reference. + // + // PolicyArn is a required field PolicyArn *string `min:"20" type:"string" required:"true"` } @@ -11038,6 +11236,8 @@ type GetPolicyVersionInput struct { // For more information about ARNs, see Amazon Resource Names (ARNs) and AWS // Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) // in the AWS General Reference. + // + // PolicyArn is a required field PolicyArn *string `min:"20" type:"string" required:"true"` // Identifies the policy version to retrieve. @@ -11046,6 +11246,8 @@ type GetPolicyVersionInput struct { // a string of characters that consists of the lowercase letter 'v' followed // by one or two digits, and optionally followed by a period '.' and a string // of letters and digits. + // + // VersionId is a required field VersionId *string `type:"string" required:"true"` } @@ -11104,6 +11306,8 @@ type GetRoleInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // RoleName is a required field RoleName *string `min:"1" type:"string" required:"true"` } @@ -11138,6 +11342,8 @@ type GetRoleOutput struct { _ struct{} `type:"structure"` // A structure containing details about the IAM role. + // + // Role is a required field Role *Role `type:"structure" required:"true"` } @@ -11159,6 +11365,8 @@ type GetRolePolicyInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // PolicyName is a required field PolicyName *string `min:"1" type:"string" required:"true"` // The name of the role associated with the policy. @@ -11166,6 +11374,8 @@ type GetRolePolicyInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // RoleName is a required field RoleName *string `min:"1" type:"string" required:"true"` } @@ -11206,12 +11416,18 @@ type GetRolePolicyOutput struct { _ struct{} `type:"structure"` // The policy document. + // + // PolicyDocument is a required field PolicyDocument *string `min:"1" type:"string" required:"true"` // The name of the policy. + // + // PolicyName is a required field PolicyName *string `min:"1" type:"string" required:"true"` // The role the policy is associated with. + // + // RoleName is a required field RoleName *string `min:"1" type:"string" required:"true"` } @@ -11234,6 +11450,8 @@ type GetSAMLProviderInput struct { // For more information about ARNs, see Amazon Resource Names (ARNs) and AWS // Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) // in the AWS General Reference. + // + // SAMLProviderArn is a required field SAMLProviderArn *string `min:"20" type:"string" required:"true"` } @@ -11293,6 +11511,8 @@ type GetSSHPublicKeyInput struct { // Specifies the public key encoding format to use in the response. To retrieve // the public key in ssh-rsa format, use SSH. To retrieve the public key in // PEM format, use PEM. + // + // Encoding is a required field Encoding *string `type:"string" required:"true" enum:"encodingType"` // The unique identifier for the SSH public key. @@ -11300,6 +11520,8 @@ type GetSSHPublicKeyInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters that can consist of any upper or lowercased letter // or digit. + // + // SSHPublicKeyId is a required field SSHPublicKeyId *string `min:"20" type:"string" required:"true"` // The name of the IAM user associated with the SSH public key. @@ -11307,6 +11529,8 @@ type GetSSHPublicKeyInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // UserName is a required field UserName *string `min:"1" type:"string" required:"true"` } @@ -11371,6 +11595,8 @@ type GetServerCertificateInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // ServerCertificateName is a required field ServerCertificateName *string `min:"1" type:"string" required:"true"` } @@ -11405,6 +11631,8 @@ type GetServerCertificateOutput struct { _ struct{} `type:"structure"` // A structure containing details about the server certificate. + // + // ServerCertificate is a required field ServerCertificate *ServerCertificate `type:"structure" required:"true"` } @@ -11459,6 +11687,8 @@ type GetUserOutput struct { _ struct{} `type:"structure"` // A structure containing details about the IAM user. + // + // User is a required field User *User `type:"structure" required:"true"` } @@ -11480,6 +11710,8 @@ type GetUserPolicyInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // PolicyName is a required field PolicyName *string `min:"1" type:"string" required:"true"` // The name of the user who the policy is associated with. @@ -11487,6 +11719,8 @@ type GetUserPolicyInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // UserName is a required field UserName *string `min:"1" type:"string" required:"true"` } @@ -11527,12 +11761,18 @@ type GetUserPolicyOutput struct { _ struct{} `type:"structure"` // The policy document. + // + // PolicyDocument is a required field PolicyDocument *string `min:"1" type:"string" required:"true"` // The name of the policy. + // + // PolicyName is a required field PolicyName *string `min:"1" type:"string" required:"true"` // The user the policy is associated with. + // + // UserName is a required field UserName *string `min:"1" type:"string" required:"true"` } @@ -11561,23 +11801,33 @@ type Group struct { // The Amazon Resource Name (ARN) specifying the group. For more information // about ARNs and how to use them in policies, see IAM Identifiers (http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) // in the Using IAM guide. + // + // Arn is a required field Arn *string `min:"20" type:"string" required:"true"` // The date and time, in ISO 8601 date-time format (http://www.iso.org/iso/iso8601), // when the group was created. + // + // CreateDate is a required field CreateDate *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"` // The stable and unique string identifying the group. For more information // about IDs, see IAM Identifiers (http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) // in the Using IAM guide. + // + // GroupId is a required field GroupId *string `min:"16" type:"string" required:"true"` // The friendly name that identifies the group. + // + // GroupName is a required field GroupName *string `min:"1" type:"string" required:"true"` // The path to the group. For more information about paths, see IAM Identifiers // (http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) // in the Using IAM guide. + // + // Path is a required field Path *string `min:"1" type:"string" required:"true"` } @@ -11657,25 +11907,37 @@ type InstanceProfile struct { // information about ARNs and how to use them in policies, see IAM Identifiers // (http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) // in the Using IAM guide. + // + // Arn is a required field Arn *string `min:"20" type:"string" required:"true"` // The date when the instance profile was created. + // + // CreateDate is a required field CreateDate *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"` // The stable and unique string identifying the instance profile. For more information // about IDs, see IAM Identifiers (http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) // in the Using IAM guide. + // + // InstanceProfileId is a required field InstanceProfileId *string `min:"16" type:"string" required:"true"` // The name identifying the instance profile. + // + // InstanceProfileName is a required field InstanceProfileName *string `min:"1" type:"string" required:"true"` // The path to the instance profile. For more information about paths, see IAM // Identifiers (http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) // in the Using IAM guide. + // + // Path is a required field Path *string `min:"1" type:"string" required:"true"` // The role associated with the instance profile. + // + // Roles is a required field Roles []*Role `type:"list" required:"true"` } @@ -11751,6 +12013,8 @@ type ListAccessKeysOutput struct { _ struct{} `type:"structure"` // A list of objects containing metadata about the access keys. + // + // AccessKeyMetadata is a required field AccessKeyMetadata []*AccessKeyMetadata `type:"list" required:"true"` // A flag that indicates whether there are more items to return. If your results @@ -11829,6 +12093,8 @@ type ListAccountAliasesOutput struct { // A list of aliases associated with the account. AWS supports only one alias // per account. + // + // AccountAliases is a required field AccountAliases []*string `type:"list" required:"true"` // A flag that indicates whether there are more items to return. If your results @@ -11863,6 +12129,8 @@ type ListAttachedGroupPoliciesInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // GroupName is a required field GroupName *string `min:"1" type:"string" required:"true"` // Use this parameter only when paginating results and only after you receive @@ -11990,6 +12258,8 @@ type ListAttachedRolePoliciesInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // RoleName is a required field RoleName *string `min:"1" type:"string" required:"true"` } @@ -12090,6 +12360,8 @@ type ListAttachedUserPoliciesInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // UserName is a required field UserName *string `min:"1" type:"string" required:"true"` } @@ -12198,6 +12470,8 @@ type ListEntitiesForPolicyInput struct { // For more information about ARNs, see Amazon Resource Names (ARNs) and AWS // Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) // in the AWS General Reference. + // + // PolicyArn is a required field PolicyArn *string `min:"20" type:"string" required:"true"` } @@ -12280,6 +12554,8 @@ type ListGroupPoliciesInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // GroupName is a required field GroupName *string `min:"1" type:"string" required:"true"` // Use this parameter only when paginating results and only after you receive @@ -12349,6 +12625,8 @@ type ListGroupPoliciesOutput struct { Marker *string `min:"1" type:"string"` // A list of policy names. + // + // PolicyNames is a required field PolicyNames []*string `type:"list" required:"true"` } @@ -12387,6 +12665,8 @@ type ListGroupsForUserInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // UserName is a required field UserName *string `min:"1" type:"string" required:"true"` } @@ -12427,6 +12707,8 @@ type ListGroupsForUserOutput struct { _ struct{} `type:"structure"` // A list of groups. + // + // Groups is a required field Groups []*Group `type:"list" required:"true"` // A flag that indicates whether there are more items to return. If your results @@ -12519,6 +12801,8 @@ type ListGroupsOutput struct { _ struct{} `type:"structure"` // A list of groups. + // + // Groups is a required field Groups []*Group `type:"list" required:"true"` // A flag that indicates whether there are more items to return. If your results @@ -12569,6 +12853,8 @@ type ListInstanceProfilesForRoleInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // RoleName is a required field RoleName *string `min:"1" type:"string" required:"true"` } @@ -12609,6 +12895,8 @@ type ListInstanceProfilesForRoleOutput struct { _ struct{} `type:"structure"` // A list of instance profiles. + // + // InstanceProfiles is a required field InstanceProfiles []*InstanceProfile `type:"list" required:"true"` // A flag that indicates whether there are more items to return. If your results @@ -12701,6 +12989,8 @@ type ListInstanceProfilesOutput struct { _ struct{} `type:"structure"` // A list of instance profiles. + // + // InstanceProfiles is a required field InstanceProfiles []*InstanceProfile `type:"list" required:"true"` // A flag that indicates whether there are more items to return. If your results @@ -12796,6 +13086,8 @@ type ListMFADevicesOutput struct { IsTruncated *bool `type:"boolean"` // A list of MFA devices. + // + // MFADevices is a required field MFADevices []*MFADevice `type:"list" required:"true"` // When IsTruncated is true, this element is present and contains the value @@ -12972,6 +13264,8 @@ type ListPolicyVersionsInput struct { // For more information about ARNs, see Amazon Resource Names (ARNs) and AWS // Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) // in the AWS General Reference. + // + // PolicyArn is a required field PolicyArn *string `min:"20" type:"string" required:"true"` } @@ -13066,6 +13360,8 @@ type ListRolePoliciesInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // RoleName is a required field RoleName *string `min:"1" type:"string" required:"true"` } @@ -13118,6 +13414,8 @@ type ListRolePoliciesOutput struct { Marker *string `min:"1" type:"string"` // A list of policy names. + // + // PolicyNames is a required field PolicyNames []*string `type:"list" required:"true"` } @@ -13210,6 +13508,8 @@ type ListRolesOutput struct { Marker *string `min:"1" type:"string"` // A list of roles. + // + // Roles is a required field Roles []*Role `type:"list" required:"true"` } @@ -13423,6 +13723,8 @@ type ListServerCertificatesOutput struct { Marker *string `min:"1" type:"string"` // A list of server certificates. + // + // ServerCertificateMetadataList is a required field ServerCertificateMetadataList []*ServerCertificateMetadata `type:"list" required:"true"` } @@ -13498,6 +13800,8 @@ type ListSigningCertificatesOutput struct { _ struct{} `type:"structure"` // A list of the user's signing certificate information. + // + // Certificates is a required field Certificates []*SigningCertificate `type:"list" required:"true"` // A flag that indicates whether there are more items to return. If your results @@ -13548,6 +13852,8 @@ type ListUserPoliciesInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // UserName is a required field UserName *string `min:"1" type:"string" required:"true"` } @@ -13600,6 +13906,8 @@ type ListUserPoliciesOutput struct { Marker *string `min:"1" type:"string"` // A list of policy names. + // + // PolicyNames is a required field PolicyNames []*string `type:"list" required:"true"` } @@ -13692,6 +14000,8 @@ type ListUsersOutput struct { Marker *string `min:"1" type:"string"` // A list of users. + // + // Users is a required field Users []*User `type:"list" required:"true"` } @@ -13775,6 +14085,8 @@ type ListVirtualMFADevicesOutput struct { // The list of virtual MFA devices in the current account that match the AssignmentStatus // value that was passed in the request. + // + // VirtualMFADevices is a required field VirtualMFADevices []*VirtualMFADevice `type:"list" required:"true"` } @@ -13796,6 +14108,8 @@ type LoginProfile struct { _ struct{} `type:"structure"` // The date when the password for the user was created. + // + // CreateDate is a required field CreateDate *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"` // Specifies whether the user is required to set a new password on next sign-in. @@ -13803,6 +14117,8 @@ type LoginProfile struct { // The name of the user, which can be used for signing in to the AWS Management // Console. + // + // UserName is a required field UserName *string `min:"1" type:"string" required:"true"` } @@ -13823,13 +14139,19 @@ type MFADevice struct { _ struct{} `type:"structure"` // The date when the MFA device was enabled for the user. + // + // EnableDate is a required field EnableDate *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"` // The serial number that uniquely identifies the MFA device. For virtual MFA // devices, the serial number is the device ARN. + // + // SerialNumber is a required field SerialNumber *string `min:"9" type:"string" required:"true"` // The user with whom the MFA device is associated. + // + // UserName is a required field UserName *string `min:"1" type:"string" required:"true"` } @@ -14259,6 +14581,8 @@ type PutGroupPolicyInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // GroupName is a required field GroupName *string `min:"1" type:"string" required:"true"` // The policy document. @@ -14268,6 +14592,8 @@ type PutGroupPolicyInput struct { // from the space character (\u0020) through end of the ASCII character range // (\u00FF). It also includes the special characters tab (\u0009), line feed // (\u000A), and carriage return (\u000D). + // + // PolicyDocument is a required field PolicyDocument *string `min:"1" type:"string" required:"true"` // The name of the policy document. @@ -14275,6 +14601,8 @@ type PutGroupPolicyInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // PolicyName is a required field PolicyName *string `min:"1" type:"string" required:"true"` } @@ -14340,6 +14668,8 @@ type PutRolePolicyInput struct { // from the space character (\u0020) through end of the ASCII character range // (\u00FF). It also includes the special characters tab (\u0009), line feed // (\u000A), and carriage return (\u000D). + // + // PolicyDocument is a required field PolicyDocument *string `min:"1" type:"string" required:"true"` // The name of the policy document. @@ -14347,6 +14677,8 @@ type PutRolePolicyInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // PolicyName is a required field PolicyName *string `min:"1" type:"string" required:"true"` // The name of the role to associate the policy with. @@ -14354,6 +14686,8 @@ type PutRolePolicyInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // RoleName is a required field RoleName *string `min:"1" type:"string" required:"true"` } @@ -14419,6 +14753,8 @@ type PutUserPolicyInput struct { // from the space character (\u0020) through end of the ASCII character range // (\u00FF). It also includes the special characters tab (\u0009), line feed // (\u000A), and carriage return (\u000D). + // + // PolicyDocument is a required field PolicyDocument *string `min:"1" type:"string" required:"true"` // The name of the policy document. @@ -14426,6 +14762,8 @@ type PutUserPolicyInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // PolicyName is a required field PolicyName *string `min:"1" type:"string" required:"true"` // The name of the user to associate the policy with. @@ -14433,6 +14771,8 @@ type PutUserPolicyInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // UserName is a required field UserName *string `min:"1" type:"string" required:"true"` } @@ -14493,6 +14833,8 @@ type RemoveClientIDFromOpenIDConnectProviderInput struct { // The client ID (also known as audience) to remove from the IAM OIDC provider // resource. For more information about client IDs, see CreateOpenIDConnectProvider. + // + // ClientID is a required field ClientID *string `min:"1" type:"string" required:"true"` // The Amazon Resource Name (ARN) of the IAM OIDC provider resource to remove @@ -14502,6 +14844,8 @@ type RemoveClientIDFromOpenIDConnectProviderInput struct { // For more information about ARNs, see Amazon Resource Names (ARNs) and AWS // Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) // in the AWS General Reference. + // + // OpenIDConnectProviderArn is a required field OpenIDConnectProviderArn *string `min:"20" type:"string" required:"true"` } @@ -14559,6 +14903,8 @@ type RemoveRoleFromInstanceProfileInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // InstanceProfileName is a required field InstanceProfileName *string `min:"1" type:"string" required:"true"` // The name of the role to remove. @@ -14566,6 +14912,8 @@ type RemoveRoleFromInstanceProfileInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // RoleName is a required field RoleName *string `min:"1" type:"string" required:"true"` } @@ -14623,6 +14971,8 @@ type RemoveUserFromGroupInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // GroupName is a required field GroupName *string `min:"1" type:"string" required:"true"` // The name of the user to remove. @@ -14630,6 +14980,8 @@ type RemoveUserFromGroupInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // UserName is a required field UserName *string `min:"1" type:"string" required:"true"` } @@ -14695,9 +15047,13 @@ type ResourceSpecificResult struct { // The result of the simulation of the simulated API action on the resource // specified in EvalResourceName. + // + // EvalResourceDecision is a required field EvalResourceDecision *string `type:"string" required:"true" enum:"PolicyEvaluationDecisionType"` // The name of the simulated resource, in Amazon Resource Name (ARN) format. + // + // EvalResourceName is a required field EvalResourceName *string `min:"1" type:"string" required:"true"` // A list of the statements in the input policies that determine the result @@ -14734,11 +15090,15 @@ type ResyncMFADeviceInput struct { // An authentication code emitted by the device. // // The format for this parameter is a sequence of six digits. + // + // AuthenticationCode1 is a required field AuthenticationCode1 *string `min:"6" type:"string" required:"true"` // A subsequent authentication code emitted by the device. // // The format for this parameter is a sequence of six digits. + // + // AuthenticationCode2 is a required field AuthenticationCode2 *string `min:"6" type:"string" required:"true"` // Serial number that uniquely identifies the MFA device. @@ -14746,6 +15106,8 @@ type ResyncMFADeviceInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // SerialNumber is a required field SerialNumber *string `min:"9" type:"string" required:"true"` // The name of the user whose MFA device you want to resynchronize. @@ -14753,6 +15115,8 @@ type ResyncMFADeviceInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // UserName is a required field UserName *string `min:"1" type:"string" required:"true"` } @@ -14829,6 +15193,8 @@ type Role struct { // The Amazon Resource Name (ARN) specifying the role. For more information // about ARNs and how to use them in policies, see IAM Identifiers (http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) // in the Using IAM guide. + // + // Arn is a required field Arn *string `min:"20" type:"string" required:"true"` // The policy that grants an entity permission to assume the role. @@ -14836,19 +15202,27 @@ type Role struct { // The date and time, in ISO 8601 date-time format (http://www.iso.org/iso/iso8601), // when the role was created. + // + // CreateDate is a required field CreateDate *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"` // The path to the role. For more information about paths, see IAM Identifiers // (http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) // in the Using IAM guide. + // + // Path is a required field Path *string `min:"1" type:"string" required:"true"` // The stable and unique string identifying the role. For more information about // IDs, see IAM Identifiers (http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) // in the Using IAM guide. + // + // RoleId is a required field RoleId *string `min:"16" type:"string" required:"true"` // The friendly name that identifies the role. + // + // RoleName is a required field RoleName *string `min:"1" type:"string" required:"true"` } @@ -14950,16 +15324,24 @@ type SSHPublicKey struct { _ struct{} `type:"structure"` // The MD5 message digest of the SSH public key. + // + // Fingerprint is a required field Fingerprint *string `min:"48" type:"string" required:"true"` // The SSH public key. + // + // SSHPublicKeyBody is a required field SSHPublicKeyBody *string `min:"1" type:"string" required:"true"` // The unique identifier for the SSH public key. + // + // SSHPublicKeyId is a required field SSHPublicKeyId *string `min:"20" type:"string" required:"true"` // The status of the SSH public key. Active means the key can be used for authentication // with an AWS CodeCommit repository. Inactive means the key cannot be used. + // + // Status is a required field Status *string `type:"string" required:"true" enum:"statusType"` // The date and time, in ISO 8601 date-time format (http://www.iso.org/iso/iso8601), @@ -14967,6 +15349,8 @@ type SSHPublicKey struct { UploadDate *time.Time `type:"timestamp" timestampFormat:"iso8601"` // The name of the IAM user associated with the SSH public key. + // + // UserName is a required field UserName *string `min:"1" type:"string" required:"true"` } @@ -14987,17 +15371,25 @@ type SSHPublicKeyMetadata struct { _ struct{} `type:"structure"` // The unique identifier for the SSH public key. + // + // SSHPublicKeyId is a required field SSHPublicKeyId *string `min:"20" type:"string" required:"true"` // The status of the SSH public key. Active means the key can be used for authentication // with an AWS CodeCommit repository. Inactive means the key cannot be used. + // + // Status is a required field Status *string `type:"string" required:"true" enum:"statusType"` // The date and time, in ISO 8601 date-time format (http://www.iso.org/iso/iso8601), // when the SSH public key was uploaded. + // + // UploadDate is a required field UploadDate *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"` // The name of the IAM user associated with the SSH public key. + // + // UserName is a required field UserName *string `min:"1" type:"string" required:"true"` } @@ -15019,6 +15411,8 @@ type ServerCertificate struct { _ struct{} `type:"structure"` // The contents of the public key certificate. + // + // CertificateBody is a required field CertificateBody *string `min:"1" type:"string" required:"true"` // The contents of the public key certificate chain. @@ -15026,6 +15420,8 @@ type ServerCertificate struct { // The meta information of the server certificate, such as its name, path, ID, // and ARN. + // + // ServerCertificateMetadata is a required field ServerCertificateMetadata *ServerCertificateMetadata `type:"structure" required:"true"` } @@ -15051,6 +15447,8 @@ type ServerCertificateMetadata struct { // information about ARNs and how to use them in policies, see IAM Identifiers // (http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) // in the Using IAM guide. + // + // Arn is a required field Arn *string `min:"20" type:"string" required:"true"` // The date on which the certificate is set to expire. @@ -15059,14 +15457,20 @@ type ServerCertificateMetadata struct { // The path to the server certificate. For more information about paths, see // IAM Identifiers (http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) // in the Using IAM guide. + // + // Path is a required field Path *string `min:"1" type:"string" required:"true"` // The stable and unique string identifying the server certificate. For more // information about IDs, see IAM Identifiers (http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) // in the Using IAM guide. + // + // ServerCertificateId is a required field ServerCertificateId *string `min:"16" type:"string" required:"true"` // The name that identifies the server certificate. + // + // ServerCertificateName is a required field ServerCertificateName *string `min:"1" type:"string" required:"true"` // The date when the server certificate was uploaded. @@ -15092,6 +15496,8 @@ type SetDefaultPolicyVersionInput struct { // For more information about ARNs, see Amazon Resource Names (ARNs) and AWS // Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) // in the AWS General Reference. + // + // PolicyArn is a required field PolicyArn *string `min:"20" type:"string" required:"true"` // The version of the policy to set as the default (operative) version. @@ -15099,6 +15505,8 @@ type SetDefaultPolicyVersionInput struct { // For more information about managed policy versions, see Versioning for Managed // Policies (http://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-versions.html) // in the IAM User Guide. + // + // VersionId is a required field VersionId *string `type:"string" required:"true"` } @@ -15153,19 +15561,27 @@ type SigningCertificate struct { _ struct{} `type:"structure"` // The contents of the signing certificate. + // + // CertificateBody is a required field CertificateBody *string `min:"1" type:"string" required:"true"` // The ID for the signing certificate. + // + // CertificateId is a required field CertificateId *string `min:"24" type:"string" required:"true"` // The status of the signing certificate. Active means the key is valid for // API calls, while Inactive means it is not. + // + // Status is a required field Status *string `type:"string" required:"true" enum:"statusType"` // The date when the signing certificate was uploaded. UploadDate *time.Time `type:"timestamp" timestampFormat:"iso8601"` // The name of the user the signing certificate is associated with. + // + // UserName is a required field UserName *string `min:"1" type:"string" required:"true"` } @@ -15185,6 +15601,8 @@ type SimulateCustomPolicyInput struct { // A list of names of API actions to evaluate in the simulation. Each action // is evaluated against each resource. Each action must include the service // identifier, such as iam:CreateUser. + // + // ActionNames is a required field ActionNames []*string `type:"list" required:"true"` // The ARN of the IAM user that you want to use as the simulated caller of the @@ -15231,6 +15649,8 @@ type SimulateCustomPolicyInput struct { // from the space character (\u0020) through end of the ASCII character range // (\u00FF). It also includes the special characters tab (\u0009), line feed // (\u000A), and carriage return (\u000D). + // + // PolicyInputList is a required field PolicyInputList []*string `type:"list" required:"true"` // A list of ARNs of AWS resources to include in the simulation. If this parameter @@ -15406,6 +15826,8 @@ type SimulatePrincipalPolicyInput struct { // A list of names of API actions to evaluate in the simulation. Each action // is evaluated for each resource. Each action must include the service identifier, // such as iam:CreateUser. + // + // ActionNames is a required field ActionNames []*string `type:"list" required:"true"` // The ARN of the IAM user that you want to specify as the simulated caller @@ -15469,6 +15891,8 @@ type SimulatePrincipalPolicyInput struct { // For more information about ARNs, see Amazon Resource Names (ARNs) and AWS // Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) // in the AWS General Reference. + // + // PolicySourceArn is a required field PolicySourceArn *string `min:"20" type:"string" required:"true"` // A list of ARNs of AWS resources to include in the simulation. If this parameter @@ -15646,11 +16070,15 @@ type UpdateAccessKeyInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters that can consist of any upper or lowercased letter // or digit. + // + // AccessKeyId is a required field AccessKeyId *string `min:"16" type:"string" required:"true"` // The status you want to assign to the secret access key. Active means the // key can be used for API calls to AWS, while Inactive means the key cannot // be used. + // + // Status is a required field Status *string `type:"string" required:"true" enum:"statusType"` // The name of the user whose key you want to update. @@ -15821,6 +16249,8 @@ type UpdateAssumeRolePolicyInput struct { // from the space character (\u0020) through end of the ASCII character range // (\u00FF). It also includes the special characters tab (\u0009), line feed // (\u000A), and carriage return (\u000D). + // + // PolicyDocument is a required field PolicyDocument *string `min:"1" type:"string" required:"true"` // The name of the role to update with the new policy. @@ -15828,6 +16258,8 @@ type UpdateAssumeRolePolicyInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // RoleName is a required field RoleName *string `min:"1" type:"string" required:"true"` } @@ -15886,6 +16318,8 @@ type UpdateGroupInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // GroupName is a required field GroupName *string `min:"1" type:"string" required:"true"` // New name for the IAM group. Only include this if changing the group's name. @@ -15974,6 +16408,8 @@ type UpdateLoginProfileInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // UserName is a required field UserName *string `min:"1" type:"string" required:"true"` } @@ -16030,10 +16466,14 @@ type UpdateOpenIDConnectProviderThumbprintInput struct { // For more information about ARNs, see Amazon Resource Names (ARNs) and AWS // Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) // in the AWS General Reference. + // + // OpenIDConnectProviderArn is a required field OpenIDConnectProviderArn *string `min:"20" type:"string" required:"true"` // A list of certificate thumbprints that are associated with the specified // IAM OpenID Connect provider. For more information, see CreateOpenIDConnectProvider. + // + // ThumbprintList is a required field ThumbprintList []*string `type:"list" required:"true"` } @@ -16088,6 +16528,8 @@ type UpdateSAMLProviderInput struct { // keys that can be used to validate the SAML authentication response (assertions) // that are received from the IdP. You must generate the metadata document using // the identity management software that is used as your organization's IdP. + // + // SAMLMetadataDocument is a required field SAMLMetadataDocument *string `min:"1000" type:"string" required:"true"` // The Amazon Resource Name (ARN) of the SAML provider to update. @@ -16095,6 +16537,8 @@ type UpdateSAMLProviderInput struct { // For more information about ARNs, see Amazon Resource Names (ARNs) and AWS // Service Namespaces (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) // in the AWS General Reference. + // + // SAMLProviderArn is a required field SAMLProviderArn *string `min:"20" type:"string" required:"true"` } @@ -16156,11 +16600,15 @@ type UpdateSSHPublicKeyInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters that can consist of any upper or lowercased letter // or digit. + // + // SSHPublicKeyId is a required field SSHPublicKeyId *string `min:"20" type:"string" required:"true"` // The status to assign to the SSH public key. Active means the key can be used // for authentication with an AWS CodeCommit repository. Inactive means the // key cannot be used. + // + // Status is a required field Status *string `type:"string" required:"true" enum:"statusType"` // The name of the IAM user associated with the SSH public key. @@ -16168,6 +16616,8 @@ type UpdateSSHPublicKeyInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // UserName is a required field UserName *string `min:"1" type:"string" required:"true"` } @@ -16247,6 +16697,8 @@ type UpdateServerCertificateInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // ServerCertificateName is a required field ServerCertificateName *string `min:"1" type:"string" required:"true"` } @@ -16304,11 +16756,15 @@ type UpdateSigningCertificateInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters that can consist of any upper or lowercased letter // or digit. + // + // CertificateId is a required field CertificateId *string `min:"24" type:"string" required:"true"` // The status you want to assign to the certificate. Active means the certificate // can be used for API calls to AWS, while Inactive means the certificate cannot // be used. + // + // Status is a required field Status *string `type:"string" required:"true" enum:"statusType"` // The name of the IAM user the signing certificate belongs to. @@ -16392,6 +16848,8 @@ type UpdateUserInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // UserName is a required field UserName *string `min:"1" type:"string" required:"true"` } @@ -16452,6 +16910,8 @@ type UploadSSHPublicKeyInput struct { // from the space character (\u0020) through end of the ASCII character range // (\u00FF). It also includes the special characters tab (\u0009), line feed // (\u000A), and carriage return (\u000D). + // + // SSHPublicKeyBody is a required field SSHPublicKeyBody *string `min:"1" type:"string" required:"true"` // The name of the IAM user to associate the SSH public key with. @@ -16459,6 +16919,8 @@ type UploadSSHPublicKeyInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // UserName is a required field UserName *string `min:"1" type:"string" required:"true"` } @@ -16522,6 +16984,8 @@ type UploadServerCertificateInput struct { // from the space character (\u0020) through end of the ASCII character range // (\u00FF). It also includes the special characters tab (\u0009), line feed // (\u000A), and carriage return (\u000D). + // + // CertificateBody is a required field CertificateBody *string `min:"1" type:"string" required:"true"` // The contents of the certificate chain. This is typically a concatenation @@ -16558,6 +17022,8 @@ type UploadServerCertificateInput struct { // from the space character (\u0020) through end of the ASCII character range // (\u00FF). It also includes the special characters tab (\u0009), line feed // (\u000A), and carriage return (\u000D). + // + // PrivateKey is a required field PrivateKey *string `min:"1" type:"string" required:"true"` // The name for the server certificate. Do not include the path in this value. @@ -16566,6 +17032,8 @@ type UploadServerCertificateInput struct { // The regex pattern (http://wikipedia.org/wiki/regex) for this parameter is // a string of characters consisting of upper and lowercase alphanumeric characters // with no spaces. You can also include any of the following characters: =,.@- + // + // ServerCertificateName is a required field ServerCertificateName *string `min:"1" type:"string" required:"true"` } @@ -16642,6 +17110,8 @@ type UploadSigningCertificateInput struct { // from the space character (\u0020) through end of the ASCII character range // (\u00FF). It also includes the special characters tab (\u0009), line feed // (\u000A), and carriage return (\u000D). + // + // CertificateBody is a required field CertificateBody *string `min:"1" type:"string" required:"true"` // The name of the user the signing certificate is for. @@ -16686,6 +17156,8 @@ type UploadSigningCertificateOutput struct { _ struct{} `type:"structure"` // Information about the certificate. + // + // Certificate is a required field Certificate *SigningCertificate `type:"structure" required:"true"` } @@ -16714,10 +17186,14 @@ type User struct { // The Amazon Resource Name (ARN) that identifies the user. For more information // about ARNs and how to use ARNs in policies, see IAM Identifiers (http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) // in the Using IAM guide. + // + // Arn is a required field Arn *string `min:"20" type:"string" required:"true"` // The date and time, in ISO 8601 date-time format (http://www.iso.org/iso/iso8601), // when the user was created. + // + // CreateDate is a required field CreateDate *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"` // The date and time, in ISO 8601 date-time format (http://www.iso.org/iso/iso8601), @@ -16741,14 +17217,20 @@ type User struct { // The path to the user. For more information about paths, see IAM Identifiers // (http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) // in the Using IAM guide. + // + // Path is a required field Path *string `min:"1" type:"string" required:"true"` // The stable and unique string identifying the user. For more information about // IDs, see IAM Identifiers (http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) // in the Using IAM guide. + // + // UserId is a required field UserId *string `min:"16" type:"string" required:"true"` // The friendly name identifying the user. + // + // UserName is a required field UserName *string `min:"1" type:"string" required:"true"` } @@ -16836,6 +17318,8 @@ type VirtualMFADevice struct { QRCodePNG []byte `type:"blob"` // The serial number associated with VirtualMFADevice. + // + // SerialNumber is a required field SerialNumber *string `min:"9" type:"string" required:"true"` // Contains information about an IAM user entity. @@ -16861,166 +17345,221 @@ func (s VirtualMFADevice) GoString() string { } const ( - // @enum ContextKeyTypeEnum + // ContextKeyTypeEnumString is a ContextKeyTypeEnum enum value ContextKeyTypeEnumString = "string" - // @enum ContextKeyTypeEnum + + // ContextKeyTypeEnumStringList is a ContextKeyTypeEnum enum value ContextKeyTypeEnumStringList = "stringList" - // @enum ContextKeyTypeEnum + + // ContextKeyTypeEnumNumeric is a ContextKeyTypeEnum enum value ContextKeyTypeEnumNumeric = "numeric" - // @enum ContextKeyTypeEnum + + // ContextKeyTypeEnumNumericList is a ContextKeyTypeEnum enum value ContextKeyTypeEnumNumericList = "numericList" - // @enum ContextKeyTypeEnum + + // ContextKeyTypeEnumBoolean is a ContextKeyTypeEnum enum value ContextKeyTypeEnumBoolean = "boolean" - // @enum ContextKeyTypeEnum + + // ContextKeyTypeEnumBooleanList is a ContextKeyTypeEnum enum value ContextKeyTypeEnumBooleanList = "booleanList" - // @enum ContextKeyTypeEnum + + // ContextKeyTypeEnumIp is a ContextKeyTypeEnum enum value ContextKeyTypeEnumIp = "ip" - // @enum ContextKeyTypeEnum + + // ContextKeyTypeEnumIpList is a ContextKeyTypeEnum enum value ContextKeyTypeEnumIpList = "ipList" - // @enum ContextKeyTypeEnum + + // ContextKeyTypeEnumBinary is a ContextKeyTypeEnum enum value ContextKeyTypeEnumBinary = "binary" - // @enum ContextKeyTypeEnum + + // ContextKeyTypeEnumBinaryList is a ContextKeyTypeEnum enum value ContextKeyTypeEnumBinaryList = "binaryList" - // @enum ContextKeyTypeEnum + + // ContextKeyTypeEnumDate is a ContextKeyTypeEnum enum value ContextKeyTypeEnumDate = "date" - // @enum ContextKeyTypeEnum + + // ContextKeyTypeEnumDateList is a ContextKeyTypeEnum enum value ContextKeyTypeEnumDateList = "dateList" ) const ( - // @enum EntityType + // EntityTypeUser is a EntityType enum value EntityTypeUser = "User" - // @enum EntityType + + // EntityTypeRole is a EntityType enum value EntityTypeRole = "Role" - // @enum EntityType + + // EntityTypeGroup is a EntityType enum value EntityTypeGroup = "Group" - // @enum EntityType + + // EntityTypeLocalManagedPolicy is a EntityType enum value EntityTypeLocalManagedPolicy = "LocalManagedPolicy" - // @enum EntityType + + // EntityTypeAwsmanagedPolicy is a EntityType enum value EntityTypeAwsmanagedPolicy = "AWSManagedPolicy" ) const ( - // @enum PolicyEvaluationDecisionType + // PolicyEvaluationDecisionTypeAllowed is a PolicyEvaluationDecisionType enum value PolicyEvaluationDecisionTypeAllowed = "allowed" - // @enum PolicyEvaluationDecisionType + + // PolicyEvaluationDecisionTypeExplicitDeny is a PolicyEvaluationDecisionType enum value PolicyEvaluationDecisionTypeExplicitDeny = "explicitDeny" - // @enum PolicyEvaluationDecisionType + + // PolicyEvaluationDecisionTypeImplicitDeny is a PolicyEvaluationDecisionType enum value PolicyEvaluationDecisionTypeImplicitDeny = "implicitDeny" ) const ( - // @enum PolicySourceType + // PolicySourceTypeUser is a PolicySourceType enum value PolicySourceTypeUser = "user" - // @enum PolicySourceType + + // PolicySourceTypeGroup is a PolicySourceType enum value PolicySourceTypeGroup = "group" - // @enum PolicySourceType + + // PolicySourceTypeRole is a PolicySourceType enum value PolicySourceTypeRole = "role" - // @enum PolicySourceType + + // PolicySourceTypeAwsManaged is a PolicySourceType enum value PolicySourceTypeAwsManaged = "aws-managed" - // @enum PolicySourceType + + // PolicySourceTypeUserManaged is a PolicySourceType enum value PolicySourceTypeUserManaged = "user-managed" - // @enum PolicySourceType + + // PolicySourceTypeResource is a PolicySourceType enum value PolicySourceTypeResource = "resource" - // @enum PolicySourceType + + // PolicySourceTypeNone is a PolicySourceType enum value PolicySourceTypeNone = "none" ) const ( - // @enum ReportFormatType + // ReportFormatTypeTextCsv is a ReportFormatType enum value ReportFormatTypeTextCsv = "text/csv" ) const ( - // @enum ReportStateType + // ReportStateTypeStarted is a ReportStateType enum value ReportStateTypeStarted = "STARTED" - // @enum ReportStateType + + // ReportStateTypeInprogress is a ReportStateType enum value ReportStateTypeInprogress = "INPROGRESS" - // @enum ReportStateType + + // ReportStateTypeComplete is a ReportStateType enum value ReportStateTypeComplete = "COMPLETE" ) const ( - // @enum assignmentStatusType + // AssignmentStatusTypeAssigned is a assignmentStatusType enum value AssignmentStatusTypeAssigned = "Assigned" - // @enum assignmentStatusType + + // AssignmentStatusTypeUnassigned is a assignmentStatusType enum value AssignmentStatusTypeUnassigned = "Unassigned" - // @enum assignmentStatusType + + // AssignmentStatusTypeAny is a assignmentStatusType enum value AssignmentStatusTypeAny = "Any" ) const ( - // @enum encodingType + // EncodingTypeSsh is a encodingType enum value EncodingTypeSsh = "SSH" - // @enum encodingType + + // EncodingTypePem is a encodingType enum value EncodingTypePem = "PEM" ) const ( - // @enum policyScopeType + // PolicyScopeTypeAll is a policyScopeType enum value PolicyScopeTypeAll = "All" - // @enum policyScopeType + + // PolicyScopeTypeAws is a policyScopeType enum value PolicyScopeTypeAws = "AWS" - // @enum policyScopeType + + // PolicyScopeTypeLocal is a policyScopeType enum value PolicyScopeTypeLocal = "Local" ) const ( - // @enum statusType + // StatusTypeActive is a statusType enum value StatusTypeActive = "Active" - // @enum statusType + + // StatusTypeInactive is a statusType enum value StatusTypeInactive = "Inactive" ) const ( - // @enum summaryKeyType + // SummaryKeyTypeUsers is a summaryKeyType enum value SummaryKeyTypeUsers = "Users" - // @enum summaryKeyType + + // SummaryKeyTypeUsersQuota is a summaryKeyType enum value SummaryKeyTypeUsersQuota = "UsersQuota" - // @enum summaryKeyType + + // SummaryKeyTypeGroups is a summaryKeyType enum value SummaryKeyTypeGroups = "Groups" - // @enum summaryKeyType + + // SummaryKeyTypeGroupsQuota is a summaryKeyType enum value SummaryKeyTypeGroupsQuota = "GroupsQuota" - // @enum summaryKeyType + + // SummaryKeyTypeServerCertificates is a summaryKeyType enum value SummaryKeyTypeServerCertificates = "ServerCertificates" - // @enum summaryKeyType + + // SummaryKeyTypeServerCertificatesQuota is a summaryKeyType enum value SummaryKeyTypeServerCertificatesQuota = "ServerCertificatesQuota" - // @enum summaryKeyType + + // SummaryKeyTypeUserPolicySizeQuota is a summaryKeyType enum value SummaryKeyTypeUserPolicySizeQuota = "UserPolicySizeQuota" - // @enum summaryKeyType + + // SummaryKeyTypeGroupPolicySizeQuota is a summaryKeyType enum value SummaryKeyTypeGroupPolicySizeQuota = "GroupPolicySizeQuota" - // @enum summaryKeyType + + // SummaryKeyTypeGroupsPerUserQuota is a summaryKeyType enum value SummaryKeyTypeGroupsPerUserQuota = "GroupsPerUserQuota" - // @enum summaryKeyType + + // SummaryKeyTypeSigningCertificatesPerUserQuota is a summaryKeyType enum value SummaryKeyTypeSigningCertificatesPerUserQuota = "SigningCertificatesPerUserQuota" - // @enum summaryKeyType + + // SummaryKeyTypeAccessKeysPerUserQuota is a summaryKeyType enum value SummaryKeyTypeAccessKeysPerUserQuota = "AccessKeysPerUserQuota" - // @enum summaryKeyType + + // SummaryKeyTypeMfadevices is a summaryKeyType enum value SummaryKeyTypeMfadevices = "MFADevices" - // @enum summaryKeyType + + // SummaryKeyTypeMfadevicesInUse is a summaryKeyType enum value SummaryKeyTypeMfadevicesInUse = "MFADevicesInUse" - // @enum summaryKeyType + + // SummaryKeyTypeAccountMfaenabled is a summaryKeyType enum value SummaryKeyTypeAccountMfaenabled = "AccountMFAEnabled" - // @enum summaryKeyType + + // SummaryKeyTypeAccountAccessKeysPresent is a summaryKeyType enum value SummaryKeyTypeAccountAccessKeysPresent = "AccountAccessKeysPresent" - // @enum summaryKeyType + + // SummaryKeyTypeAccountSigningCertificatesPresent is a summaryKeyType enum value SummaryKeyTypeAccountSigningCertificatesPresent = "AccountSigningCertificatesPresent" - // @enum summaryKeyType + + // SummaryKeyTypeAttachedPoliciesPerGroupQuota is a summaryKeyType enum value SummaryKeyTypeAttachedPoliciesPerGroupQuota = "AttachedPoliciesPerGroupQuota" - // @enum summaryKeyType + + // SummaryKeyTypeAttachedPoliciesPerRoleQuota is a summaryKeyType enum value SummaryKeyTypeAttachedPoliciesPerRoleQuota = "AttachedPoliciesPerRoleQuota" - // @enum summaryKeyType + + // SummaryKeyTypeAttachedPoliciesPerUserQuota is a summaryKeyType enum value SummaryKeyTypeAttachedPoliciesPerUserQuota = "AttachedPoliciesPerUserQuota" - // @enum summaryKeyType + + // SummaryKeyTypePolicies is a summaryKeyType enum value SummaryKeyTypePolicies = "Policies" - // @enum summaryKeyType + + // SummaryKeyTypePoliciesQuota is a summaryKeyType enum value SummaryKeyTypePoliciesQuota = "PoliciesQuota" - // @enum summaryKeyType + + // SummaryKeyTypePolicySizeQuota is a summaryKeyType enum value SummaryKeyTypePolicySizeQuota = "PolicySizeQuota" - // @enum summaryKeyType + + // SummaryKeyTypePolicyVersionsInUse is a summaryKeyType enum value SummaryKeyTypePolicyVersionsInUse = "PolicyVersionsInUse" - // @enum summaryKeyType + + // SummaryKeyTypePolicyVersionsInUseQuota is a summaryKeyType enum value SummaryKeyTypePolicyVersionsInUseQuota = "PolicyVersionsInUseQuota" - // @enum summaryKeyType + + // SummaryKeyTypeVersionsPerPolicyQuota is a summaryKeyType enum value SummaryKeyTypeVersionsPerPolicyQuota = "VersionsPerPolicyQuota" ) diff --git a/service/iam/waiters.go b/service/iam/waiters.go index b27303052f3..9231bf0bdca 100644 --- a/service/iam/waiters.go +++ b/service/iam/waiters.go @@ -6,6 +6,10 @@ import ( "github.com/aws/aws-sdk-go/private/waiter" ) +// WaitUntilInstanceProfileExists uses the IAM API operation +// GetInstanceProfile to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *IAM) WaitUntilInstanceProfileExists(input *GetInstanceProfileInput) error { waiterCfg := waiter.Config{ Operation: "GetInstanceProfile", @@ -35,6 +39,10 @@ func (c *IAM) WaitUntilInstanceProfileExists(input *GetInstanceProfileInput) err return w.Wait() } +// WaitUntilUserExists uses the IAM API operation +// GetUser to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *IAM) WaitUntilUserExists(input *GetUserInput) error { waiterCfg := waiter.Config{ Operation: "GetUser", diff --git a/service/inspector/api.go b/service/inspector/api.go index ea22fe1afbd..6858e43532a 100644 --- a/service/inspector/api.go +++ b/service/inspector/api.go @@ -1606,9 +1606,13 @@ type AddAttributesToFindingsInput struct { _ struct{} `type:"structure"` // The array of attributes that you want to assign to specified findings. + // + // Attributes is a required field Attributes []*Attribute `locationName:"attributes" type:"list" required:"true"` // The ARNs that specify the findings that you want to assign attributes to. + // + // FindingArns is a required field FindingArns []*string `locationName:"findingArns" min:"1" type:"list" required:"true"` } @@ -1656,6 +1660,8 @@ type AddAttributesToFindingsOutput struct { // Attribute details that cannot be described. An error code is provided for // each failed item. + // + // FailedItems is a required field FailedItems map[string]*FailedItemDetails `locationName:"failedItems" type:"map" required:"true"` } @@ -1677,9 +1683,13 @@ type AgentAlreadyRunningAssessment struct { // ID of the agent that is running on an EC2 instance that is already participating // in another started assessment run. + // + // AgentId is a required field AgentId *string `locationName:"agentId" min:"1" type:"string" required:"true"` // The ARN of the assessment run that has already been started. + // + // AssessmentRunArn is a required field AssessmentRunArn *string `locationName:"assessmentRunArn" min:"1" type:"string" required:"true"` } @@ -1700,9 +1710,13 @@ type AgentFilter struct { // The detailed health state of the agent. Values can be set to IDLE, RUNNING, // SHUTDOWN, UNHEALTHY, THROTTLED, and UNKNOWN. + // + // AgentHealthCodes is a required field AgentHealthCodes []*string `locationName:"agentHealthCodes" type:"list" required:"true"` // The current health state of the agent. Values can be set to HEALTHY or UNHEALTHY. + // + // AgentHealths is a required field AgentHealths []*string `locationName:"agentHealths" type:"list" required:"true"` } @@ -1737,6 +1751,8 @@ type AgentPreview struct { _ struct{} `type:"structure"` // The ID of the EC2 instance where the agent is installed. + // + // AgentId is a required field AgentId *string `locationName:"agentId" min:"1" type:"string" required:"true"` // The Auto Scaling group for the EC2 instance where the agent is installed. @@ -1761,10 +1777,14 @@ type AssessmentRun struct { _ struct{} `type:"structure"` // The ARN of the assessment run. + // + // Arn is a required field Arn *string `locationName:"arn" min:"1" type:"string" required:"true"` // The ARN of the assessment template that is associated with the assessment // run. + // + // AssessmentTemplateArn is a required field AssessmentTemplateArn *string `locationName:"assessmentTemplateArn" min:"1" type:"string" required:"true"` // The assessment run completion time that corresponds to the rules packages @@ -1772,38 +1792,58 @@ type AssessmentRun struct { CompletedAt *time.Time `locationName:"completedAt" type:"timestamp" timestampFormat:"unix"` // The time when StartAssessmentRun was called. + // + // CreatedAt is a required field CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix" required:"true"` // A Boolean value (true or false) that specifies whether the process of collecting // data from the agents is completed. + // + // DataCollected is a required field DataCollected *bool `locationName:"dataCollected" type:"boolean" required:"true"` // The duration of the assessment run. + // + // DurationInSeconds is a required field DurationInSeconds *int64 `locationName:"durationInSeconds" min:"180" type:"integer" required:"true"` // The auto-generated name for the assessment run. + // + // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // A list of notifications for the event subscriptions. A notification about // a particular generated finding is added to this list only once. + // + // Notifications is a required field Notifications []*AssessmentRunNotification `locationName:"notifications" type:"list" required:"true"` // The rules packages selected for the assessment run. + // + // RulesPackageArns is a required field RulesPackageArns []*string `locationName:"rulesPackageArns" min:"1" type:"list" required:"true"` // The time when StartAssessmentRun was called. StartedAt *time.Time `locationName:"startedAt" type:"timestamp" timestampFormat:"unix"` // The state of the assessment run. + // + // State is a required field State *string `locationName:"state" type:"string" required:"true" enum:"AssessmentRunState"` // The last time when the assessment run's state changed. + // + // StateChangedAt is a required field StateChangedAt *time.Time `locationName:"stateChangedAt" type:"timestamp" timestampFormat:"unix" required:"true"` // A list of the assessment run state changes. + // + // StateChanges is a required field StateChanges []*AssessmentRunStateChange `locationName:"stateChanges" type:"list" required:"true"` // The user-defined attributes that are assigned to every generated finding. + // + // UserAttributesForFindings is a required field UserAttributesForFindings []*Attribute `locationName:"userAttributesForFindings" type:"list" required:"true"` } @@ -1823,18 +1863,26 @@ type AssessmentRunAgent struct { _ struct{} `type:"structure"` // The current health state of the agent. + // + // AgentHealth is a required field AgentHealth *string `locationName:"agentHealth" type:"string" required:"true" enum:"AgentHealth"` // The detailed health state of the agent. + // + // AgentHealthCode is a required field AgentHealthCode *string `locationName:"agentHealthCode" type:"string" required:"true" enum:"AgentHealthCode"` // The description for the agent health code. AgentHealthDetails *string `locationName:"agentHealthDetails" type:"string"` // The AWS account of the EC2 instance where the agent is installed. + // + // AgentId is a required field AgentId *string `locationName:"agentId" min:"1" type:"string" required:"true"` // The ARN of the assessment run that is associated with the agent. + // + // AssessmentRunArn is a required field AssessmentRunArn *string `locationName:"assessmentRunArn" min:"1" type:"string" required:"true"` // The Auto Scaling group of the EC2 instance that is specified by the agent @@ -1842,6 +1890,8 @@ type AssessmentRunAgent struct { AutoScalingGroup *string `locationName:"autoScalingGroup" min:"1" type:"string"` // The Amazon Inspector application data metrics that are collected by the agent. + // + // TelemetryMetadata is a required field TelemetryMetadata []*TelemetryMetadata `locationName:"telemetryMetadata" type:"list" required:"true"` } @@ -1930,12 +1980,18 @@ type AssessmentRunNotification struct { _ struct{} `type:"structure"` // The date of the notification. + // + // Date is a required field Date *time.Time `locationName:"date" type:"timestamp" timestampFormat:"unix" required:"true"` // The Boolean value that specifies whether the notification represents an error. + // + // Error is a required field Error *bool `locationName:"error" type:"boolean" required:"true"` // The event for which a notification is sent. + // + // Event is a required field Event *string `locationName:"event" type:"string" required:"true" enum:"Event"` Message *string `locationName:"message" type:"string"` @@ -1962,9 +2018,13 @@ type AssessmentRunStateChange struct { _ struct{} `type:"structure"` // The assessment run state. + // + // State is a required field State *string `locationName:"state" type:"string" required:"true" enum:"AssessmentRunState"` // The last time the assessment run state changed. + // + // StateChangedAt is a required field StateChangedAt *time.Time `locationName:"stateChangedAt" type:"timestamp" timestampFormat:"unix" required:"true"` } @@ -1984,19 +2044,29 @@ type AssessmentTarget struct { _ struct{} `type:"structure"` // The ARN that specifies the Amazon Inspector assessment target. + // + // Arn is a required field Arn *string `locationName:"arn" min:"1" type:"string" required:"true"` // The time at which the assessment target is created. + // + // CreatedAt is a required field CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix" required:"true"` // The name of the Amazon Inspector assessment target. + // + // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // The ARN that specifies the resource group that is associated with the assessment // target. + // + // ResourceGroupArn is a required field ResourceGroupArn *string `locationName:"resourceGroupArn" min:"1" type:"string" required:"true"` // The time at which UpdateAssessmentTarget is called. + // + // UpdatedAt is a required field UpdatedAt *time.Time `locationName:"updatedAt" type:"timestamp" timestampFormat:"unix" required:"true"` } @@ -2050,27 +2120,41 @@ type AssessmentTemplate struct { _ struct{} `type:"structure"` // The ARN of the assessment template. + // + // Arn is a required field Arn *string `locationName:"arn" min:"1" type:"string" required:"true"` // The ARN of the assessment target that corresponds to this assessment template. + // + // AssessmentTargetArn is a required field AssessmentTargetArn *string `locationName:"assessmentTargetArn" min:"1" type:"string" required:"true"` // The time at which the assessment template is created. + // + // CreatedAt is a required field CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix" required:"true"` // The duration in seconds specified for this assessment tempate. The default // value is 3600 seconds (one hour). The maximum value is 86400 seconds (one // day). + // + // DurationInSeconds is a required field DurationInSeconds *int64 `locationName:"durationInSeconds" min:"180" type:"integer" required:"true"` // The name of the assessment template. + // + // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // The rules packages that are specified for this assessment template. + // + // RulesPackageArns is a required field RulesPackageArns []*string `locationName:"rulesPackageArns" type:"list" required:"true"` // The user-defined attributes that are assigned to every generated finding // from the assessment run that uses this assessment template. + // + // UserAttributesForFindings is a required field UserAttributesForFindings []*Attribute `locationName:"userAttributesForFindings" type:"list" required:"true"` } @@ -2154,6 +2238,8 @@ type AssetAttributes struct { Ipv4Addresses []*string `locationName:"ipv4Addresses" type:"list"` // The schema version of this data type. + // + // SchemaVersion is a required field SchemaVersion *int64 `locationName:"schemaVersion" type:"integer" required:"true"` } @@ -2173,6 +2259,8 @@ type Attribute struct { _ struct{} `type:"structure"` // The attribute key. + // + // Key is a required field Key *string `locationName:"key" min:"1" type:"string" required:"true"` // The value assigned to the attribute key. @@ -2213,10 +2301,14 @@ type CreateAssessmentTargetInput struct { // The user-defined name that identifies the assessment target that you want // to create. The name must be unique within the AWS account. + // + // AssessmentTargetName is a required field AssessmentTargetName *string `locationName:"assessmentTargetName" min:"1" type:"string" required:"true"` // The ARN that specifies the resource group that is used to create the assessment // target. + // + // ResourceGroupArn is a required field ResourceGroupArn *string `locationName:"resourceGroupArn" min:"1" type:"string" required:"true"` } @@ -2256,6 +2348,8 @@ type CreateAssessmentTargetOutput struct { _ struct{} `type:"structure"` // The ARN that specifies the assessment target that is created. + // + // AssessmentTargetArn is a required field AssessmentTargetArn *string `locationName:"assessmentTargetArn" min:"1" type:"string" required:"true"` } @@ -2274,20 +2368,28 @@ type CreateAssessmentTemplateInput struct { // The ARN that specifies the assessment target for which you want to create // the assessment template. + // + // AssessmentTargetArn is a required field AssessmentTargetArn *string `locationName:"assessmentTargetArn" min:"1" type:"string" required:"true"` // The user-defined name that identifies the assessment template that you want // to create. You can create several assessment templates for an assessment // target. The names of the assessment templates that correspond to a particular // assessment target must be unique. + // + // AssessmentTemplateName is a required field AssessmentTemplateName *string `locationName:"assessmentTemplateName" min:"1" type:"string" required:"true"` // The duration of the assessment run in seconds. The default value is 3600 // seconds (one hour). + // + // DurationInSeconds is a required field DurationInSeconds *int64 `locationName:"durationInSeconds" min:"180" type:"integer" required:"true"` // The ARNs that specify the rules packages that you want to attach to the assessment // template. + // + // RulesPackageArns is a required field RulesPackageArns []*string `locationName:"rulesPackageArns" type:"list" required:"true"` // The user-defined attributes that are assigned to every finding that is generated @@ -2350,6 +2452,8 @@ type CreateAssessmentTemplateOutput struct { _ struct{} `type:"structure"` // The ARN that specifies the assessment template that is created. + // + // AssessmentTemplateArn is a required field AssessmentTemplateArn *string `locationName:"assessmentTemplateArn" min:"1" type:"string" required:"true"` } @@ -2369,6 +2473,8 @@ type CreateResourceGroupInput struct { // A collection of keys and an array of possible values, '[{"key":"key1","values":["Value1","Value2"]},{"key":"Key2","values":["Value3"]}]'. // // For example,'[{"key":"Name","values":["TestEC2Instance"]}]'. + // + // ResourceGroupTags is a required field ResourceGroupTags []*ResourceGroupTag `locationName:"resourceGroupTags" min:"1" type:"list" required:"true"` } @@ -2412,6 +2518,8 @@ type CreateResourceGroupOutput struct { _ struct{} `type:"structure"` // The ARN that specifies the resource group that is created. + // + // ResourceGroupArn is a required field ResourceGroupArn *string `locationName:"resourceGroupArn" min:"1" type:"string" required:"true"` } @@ -2429,6 +2537,8 @@ type DeleteAssessmentRunInput struct { _ struct{} `type:"structure"` // The ARN that specifies the assessment run that you want to delete. + // + // AssessmentRunArn is a required field AssessmentRunArn *string `locationName:"assessmentRunArn" min:"1" type:"string" required:"true"` } @@ -2476,6 +2586,8 @@ type DeleteAssessmentTargetInput struct { _ struct{} `type:"structure"` // The ARN that specifies the assessment target that you want to delete. + // + // AssessmentTargetArn is a required field AssessmentTargetArn *string `locationName:"assessmentTargetArn" min:"1" type:"string" required:"true"` } @@ -2523,6 +2635,8 @@ type DeleteAssessmentTemplateInput struct { _ struct{} `type:"structure"` // The ARN that specifies the assessment template that you want to delete. + // + // AssessmentTemplateArn is a required field AssessmentTemplateArn *string `locationName:"assessmentTemplateArn" min:"1" type:"string" required:"true"` } @@ -2570,6 +2684,8 @@ type DescribeAssessmentRunsInput struct { _ struct{} `type:"structure"` // The ARN that specifies the assessment run that you want to describe. + // + // AssessmentRunArns is a required field AssessmentRunArns []*string `locationName:"assessmentRunArns" min:"1" type:"list" required:"true"` } @@ -2603,10 +2719,14 @@ type DescribeAssessmentRunsOutput struct { _ struct{} `type:"structure"` // Information about the assessment run. + // + // AssessmentRuns is a required field AssessmentRuns []*AssessmentRun `locationName:"assessmentRuns" type:"list" required:"true"` // Assessment run details that cannot be described. An error code is provided // for each failed item. + // + // FailedItems is a required field FailedItems map[string]*FailedItemDetails `locationName:"failedItems" type:"map" required:"true"` } @@ -2624,6 +2744,8 @@ type DescribeAssessmentTargetsInput struct { _ struct{} `type:"structure"` // The ARNs that specifies the assessment targets that you want to describe. + // + // AssessmentTargetArns is a required field AssessmentTargetArns []*string `locationName:"assessmentTargetArns" min:"1" type:"list" required:"true"` } @@ -2657,10 +2779,14 @@ type DescribeAssessmentTargetsOutput struct { _ struct{} `type:"structure"` // Information about the assessment targets. + // + // AssessmentTargets is a required field AssessmentTargets []*AssessmentTarget `locationName:"assessmentTargets" type:"list" required:"true"` // Assessment target details that cannot be described. An error code is provided // for each failed item. + // + // FailedItems is a required field FailedItems map[string]*FailedItemDetails `locationName:"failedItems" type:"map" required:"true"` } @@ -2678,6 +2804,8 @@ type DescribeAssessmentTemplatesInput struct { _ struct{} `type:"structure"` // The ARN that specifiesthe assessment templates that you want to describe. + // + // AssessmentTemplateArns is a required field AssessmentTemplateArns []*string `locationName:"assessmentTemplateArns" min:"1" type:"list" required:"true"` } @@ -2711,10 +2839,14 @@ type DescribeAssessmentTemplatesOutput struct { _ struct{} `type:"structure"` // Information about the assessment templates. + // + // AssessmentTemplates is a required field AssessmentTemplates []*AssessmentTemplate `locationName:"assessmentTemplates" type:"list" required:"true"` // Assessment template details that cannot be described. An error code is provided // for each failed item. + // + // FailedItems is a required field FailedItems map[string]*FailedItemDetails `locationName:"failedItems" type:"map" required:"true"` } @@ -2746,14 +2878,20 @@ type DescribeCrossAccountAccessRoleOutput struct { _ struct{} `type:"structure"` // The date when the cross-account access role was registered. + // + // RegisteredAt is a required field RegisteredAt *time.Time `locationName:"registeredAt" type:"timestamp" timestampFormat:"unix" required:"true"` // The ARN that specifies the IAM role that Amazon Inspector uses to access // your AWS account. + // + // RoleArn is a required field RoleArn *string `locationName:"roleArn" min:"1" type:"string" required:"true"` // A Boolean value that specifies whether the IAM role has the necessary policies // attached to enable Amazon Inspector to access your AWS account. + // + // Valid is a required field Valid *bool `locationName:"valid" type:"boolean" required:"true"` } @@ -2771,6 +2909,8 @@ type DescribeFindingsInput struct { _ struct{} `type:"structure"` // The ARN that specifies the finding that you want to describe. + // + // FindingArns is a required field FindingArns []*string `locationName:"findingArns" min:"1" type:"list" required:"true"` // The locale into which you want to translate a finding description, recommendation, @@ -2809,9 +2949,13 @@ type DescribeFindingsOutput struct { // Finding details that cannot be described. An error code is provided for each // failed item. + // + // FailedItems is a required field FailedItems map[string]*FailedItemDetails `locationName:"failedItems" type:"map" required:"true"` // Information about the finding. + // + // Findings is a required field Findings []*Finding `locationName:"findings" type:"list" required:"true"` } @@ -2829,6 +2973,8 @@ type DescribeResourceGroupsInput struct { _ struct{} `type:"structure"` // The ARN that specifies the resource group that you want to describe. + // + // ResourceGroupArns is a required field ResourceGroupArns []*string `locationName:"resourceGroupArns" min:"1" type:"list" required:"true"` } @@ -2863,9 +3009,13 @@ type DescribeResourceGroupsOutput struct { // Resource group details that cannot be described. An error code is provided // for each failed item. + // + // FailedItems is a required field FailedItems map[string]*FailedItemDetails `locationName:"failedItems" type:"map" required:"true"` // Information about a resource group. + // + // ResourceGroups is a required field ResourceGroups []*ResourceGroup `locationName:"resourceGroups" type:"list" required:"true"` } @@ -2886,6 +3036,8 @@ type DescribeRulesPackagesInput struct { Locale *string `locationName:"locale" type:"string" enum:"Locale"` // The ARN that specifies the rules package that you want to describe. + // + // RulesPackageArns is a required field RulesPackageArns []*string `locationName:"rulesPackageArns" min:"1" type:"list" required:"true"` } @@ -2920,9 +3072,13 @@ type DescribeRulesPackagesOutput struct { // Rules package details that cannot be described. An error code is provided // for each failed item. + // + // FailedItems is a required field FailedItems map[string]*FailedItemDetails `locationName:"failedItems" type:"map" required:"true"` // Information about the rules package. + // + // RulesPackages is a required field RulesPackages []*RulesPackage `locationName:"rulesPackages" type:"list" required:"true"` } @@ -2980,9 +3136,13 @@ type EventSubscription struct { // The event for which Amazon Simple Notification Service (SNS) notifications // are sent. + // + // Event is a required field Event *string `locationName:"event" type:"string" required:"true" enum:"Event"` // The time at which SubscribeToEvent is called. + // + // SubscribedAt is a required field SubscribedAt *time.Time `locationName:"subscribedAt" type:"timestamp" timestampFormat:"unix" required:"true"` } @@ -3001,10 +3161,14 @@ type FailedItemDetails struct { _ struct{} `type:"structure"` // The status code of a failed item. + // + // FailureCode is a required field FailureCode *string `locationName:"failureCode" type:"string" required:"true" enum:"FailedItemErrorCode"` // Indicates whether you can immediately retry a request for this item for a // specified resource. + // + // Retryable is a required field Retryable *bool `locationName:"retryable" type:"boolean" required:"true"` } @@ -3024,6 +3188,8 @@ type Finding struct { _ struct{} `type:"structure"` // The ARN that specifies the finding. + // + // Arn is a required field Arn *string `locationName:"arn" min:"1" type:"string" required:"true"` // A collection of attributes of the host from which the finding is generated. @@ -3033,12 +3199,16 @@ type Finding struct { AssetType *string `locationName:"assetType" type:"string" enum:"AssetType"` // The system-defined attributes for the finding. + // + // Attributes is a required field Attributes []*Attribute `locationName:"attributes" type:"list" required:"true"` // This data element is currently not used. Confidence *int64 `locationName:"confidence" type:"integer"` // The time when the finding was generated. + // + // CreatedAt is a required field CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix" required:"true"` // The description of the finding. @@ -3072,9 +3242,13 @@ type Finding struct { Title *string `locationName:"title" type:"string"` // The time when AddAttributesToFindings is called. + // + // UpdatedAt is a required field UpdatedAt *time.Time `locationName:"updatedAt" type:"timestamp" timestampFormat:"unix" required:"true"` // The user-defined attributes that are assigned to the finding. + // + // UserAttributes is a required field UserAttributes []*Attribute `locationName:"userAttributes" type:"list" required:"true"` } @@ -3176,6 +3350,8 @@ type GetTelemetryMetadataInput struct { // The ARN that specifies the assessment run that has the telemetry data that // you want to obtain. + // + // AssessmentRunArn is a required field AssessmentRunArn *string `locationName:"assessmentRunArn" min:"1" type:"string" required:"true"` } @@ -3209,6 +3385,8 @@ type GetTelemetryMetadataOutput struct { _ struct{} `type:"structure"` // Telemetry details. + // + // TelemetryMetadata is a required field TelemetryMetadata []*TelemetryMetadata `locationName:"telemetryMetadata" type:"list" required:"true"` } @@ -3226,6 +3404,8 @@ type ListAssessmentRunAgentsInput struct { _ struct{} `type:"structure"` // The ARN that specifies the assessment run whose agents you want to list. + // + // AssessmentRunArn is a required field AssessmentRunArn *string `locationName:"assessmentRunArn" min:"1" type:"string" required:"true"` // You can use this parameter to specify a subset of data to be included in @@ -3285,6 +3465,8 @@ type ListAssessmentRunAgentsOutput struct { _ struct{} `type:"structure"` // A list of ARNs that specifies the agents returned by the action. + // + // AssessmentRunAgents is a required field AssessmentRunAgents []*AssessmentRunAgent `locationName:"assessmentRunAgents" type:"list" required:"true"` // When a response is generated, if there is more data to be listed, this parameter @@ -3363,6 +3545,8 @@ type ListAssessmentRunsOutput struct { // A list of ARNs that specifies the assessment runs that are returned by the // action. + // + // AssessmentRunArns is a required field AssessmentRunArns []*string `locationName:"assessmentRunArns" type:"list" required:"true"` // When a response is generated, if there is more data to be listed, this parameter @@ -3437,6 +3621,8 @@ type ListAssessmentTargetsOutput struct { // A list of ARNs that specifies the assessment targets that are returned by // the action. + // + // AssessmentTargetArns is a required field AssessmentTargetArns []*string `locationName:"assessmentTargetArns" type:"list" required:"true"` // When a response is generated, if there is more data to be listed, this parameter @@ -3514,6 +3700,8 @@ type ListAssessmentTemplatesOutput struct { _ struct{} `type:"structure"` // A list of ARNs that specifies the assessment templates returned by the action. + // + // AssessmentTemplateArns is a required field AssessmentTemplateArns []*string `locationName:"assessmentTemplateArns" type:"list" required:"true"` // When a response is generated, if there is more data to be listed, this parameter @@ -3587,6 +3775,8 @@ type ListEventSubscriptionsOutput struct { NextToken *string `locationName:"nextToken" min:"1" type:"string"` // Details of the returned event subscriptions. + // + // Subscriptions is a required field Subscriptions []*Subscription `locationName:"subscriptions" type:"list" required:"true"` } @@ -3658,6 +3848,8 @@ type ListFindingsOutput struct { _ struct{} `type:"structure"` // A list of ARNs that specifies the findings returned by the action. + // + // FindingArns is a required field FindingArns []*string `locationName:"findingArns" type:"list" required:"true"` // When a response is generated, if there is more data to be listed, this parameter @@ -3724,6 +3916,8 @@ type ListRulesPackagesOutput struct { NextToken *string `locationName:"nextToken" min:"1" type:"string"` // The list of ARNs that specifies the rules packages returned by the action. + // + // RulesPackageArns is a required field RulesPackageArns []*string `locationName:"rulesPackageArns" type:"list" required:"true"` } @@ -3741,6 +3935,8 @@ type ListTagsForResourceInput struct { _ struct{} `type:"structure"` // The ARN that specifies the assessment template whose tags you want to list. + // + // ResourceArn is a required field ResourceArn *string `locationName:"resourceArn" min:"1" type:"string" required:"true"` } @@ -3774,6 +3970,8 @@ type ListTagsForResourceOutput struct { _ struct{} `type:"structure"` // A collection of key and value pairs. + // + // Tags is a required field Tags []*Tag `locationName:"tags" type:"list" required:"true"` } @@ -3801,6 +3999,8 @@ type PreviewAgentsInput struct { NextToken *string `locationName:"nextToken" min:"1" type:"string"` // The ARN of the assessment target whose agents you want to preview. + // + // PreviewAgentsArn is a required field PreviewAgentsArn *string `locationName:"previewAgentsArn" min:"1" type:"string" required:"true"` } @@ -3837,6 +4037,8 @@ type PreviewAgentsOutput struct { _ struct{} `type:"structure"` // The resulting list of agents. + // + // AgentPreviews is a required field AgentPreviews []*AgentPreview `locationName:"agentPreviews" type:"list" required:"true"` // When a response is generated, if there is more data to be listed, this parameter @@ -3861,6 +4063,8 @@ type RegisterCrossAccountAccessRoleInput struct { // The ARN of the IAM role that Amazon Inspector uses to list your EC2 instances // during the assessment run or when you call the PreviewAgents action. + // + // RoleArn is a required field RoleArn *string `locationName:"roleArn" min:"1" type:"string" required:"true"` } @@ -3908,9 +4112,13 @@ type RemoveAttributesFromFindingsInput struct { _ struct{} `type:"structure"` // The array of attribute keys that you want to remove from specified findings. + // + // AttributeKeys is a required field AttributeKeys []*string `locationName:"attributeKeys" type:"list" required:"true"` // The ARNs that specify the findings that you want to remove attributes from. + // + // FindingArns is a required field FindingArns []*string `locationName:"findingArns" min:"1" type:"list" required:"true"` } @@ -3948,6 +4156,8 @@ type RemoveAttributesFromFindingsOutput struct { // Attributes details that cannot be described. An error code is provided for // each failed item. + // + // FailedItems is a required field FailedItems map[string]*FailedItemDetails `locationName:"failedItems" type:"map" required:"true"` } @@ -3969,13 +4179,19 @@ type ResourceGroup struct { _ struct{} `type:"structure"` // The ARN of the resource group. + // + // Arn is a required field Arn *string `locationName:"arn" min:"1" type:"string" required:"true"` // The time at which resource group is created. + // + // CreatedAt is a required field CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix" required:"true"` // The tags (key and value pairs) of the resource group. This data type property // is used in the CreateResourceGroup action. + // + // Tags is a required field Tags []*ResourceGroupTag `locationName:"tags" min:"1" type:"list" required:"true"` } @@ -3994,6 +4210,8 @@ type ResourceGroupTag struct { _ struct{} `type:"structure"` // A tag key. + // + // Key is a required field Key *string `locationName:"key" min:"1" type:"string" required:"true"` // The value assigned to a tag key. @@ -4035,18 +4253,26 @@ type RulesPackage struct { _ struct{} `type:"structure"` // The ARN of the rules package. + // + // Arn is a required field Arn *string `locationName:"arn" min:"1" type:"string" required:"true"` // The description of the rules package. Description *string `locationName:"description" type:"string"` // The name of the rules package. + // + // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` // The provider of the rules package. + // + // Provider is a required field Provider *string `locationName:"provider" type:"string" required:"true"` // The version ID of the rules package. + // + // Version is a required field Version *string `locationName:"version" type:"string" required:"true"` } @@ -4071,6 +4297,8 @@ type ServiceAttributes struct { RulesPackageArn *string `locationName:"rulesPackageArn" min:"1" type:"string"` // The schema version of this data type. + // + // SchemaVersion is a required field SchemaVersion *int64 `locationName:"schemaVersion" type:"integer" required:"true"` } @@ -4088,6 +4316,8 @@ type SetTagsForResourceInput struct { _ struct{} `type:"structure"` // The ARN of the assessment template that you want to set tags to. + // + // ResourceArn is a required field ResourceArn *string `locationName:"resourceArn" min:"1" type:"string" required:"true"` // A collection of key and value pairs that you want to set to the assessment @@ -4155,6 +4385,8 @@ type StartAssessmentRunInput struct { // The ARN of the assessment template of the assessment run that you want to // start. + // + // AssessmentTemplateArn is a required field AssessmentTemplateArn *string `locationName:"assessmentTemplateArn" min:"1" type:"string" required:"true"` } @@ -4191,6 +4423,8 @@ type StartAssessmentRunOutput struct { _ struct{} `type:"structure"` // The ARN of the assessment run that has been started. + // + // AssessmentRunArn is a required field AssessmentRunArn *string `locationName:"assessmentRunArn" min:"1" type:"string" required:"true"` } @@ -4208,6 +4442,8 @@ type StopAssessmentRunInput struct { _ struct{} `type:"structure"` // The ARN of the assessment run that you want to stop. + // + // AssessmentRunArn is a required field AssessmentRunArn *string `locationName:"assessmentRunArn" min:"1" type:"string" required:"true"` } @@ -4255,13 +4491,19 @@ type SubscribeToEventInput struct { _ struct{} `type:"structure"` // The event for which you want to receive SNS notifications. + // + // Event is a required field Event *string `locationName:"event" type:"string" required:"true" enum:"Event"` // The ARN of the assessment template that is used during the event for which // you want to receive SNS notifications. + // + // ResourceArn is a required field ResourceArn *string `locationName:"resourceArn" min:"1" type:"string" required:"true"` // The ARN of the SNS topic to which the SNS notifications are sent. + // + // TopicArn is a required field TopicArn *string `locationName:"topicArn" min:"1" type:"string" required:"true"` } @@ -4320,14 +4562,20 @@ type Subscription struct { _ struct{} `type:"structure"` // The list of existing event subscriptions. + // + // EventSubscriptions is a required field EventSubscriptions []*EventSubscription `locationName:"eventSubscriptions" min:"1" type:"list" required:"true"` // The ARN of the assessment template that is used during the event for which // the SNS notification is sent. + // + // ResourceArn is a required field ResourceArn *string `locationName:"resourceArn" min:"1" type:"string" required:"true"` // The ARN of the Amazon Simple Notification Service (SNS) topic to which the // SNS notifications are sent. + // + // TopicArn is a required field TopicArn *string `locationName:"topicArn" min:"1" type:"string" required:"true"` } @@ -4348,6 +4596,8 @@ type Tag struct { _ struct{} `type:"structure"` // A tag key. + // + // Key is a required field Key *string `locationName:"key" min:"1" type:"string" required:"true"` // A value assigned to a tag key. @@ -4390,12 +4640,16 @@ type TelemetryMetadata struct { _ struct{} `type:"structure"` // The count of messages that the agent sends to the Amazon Inspector service. + // + // Count is a required field Count *int64 `locationName:"count" type:"long" required:"true"` // The data size of messages that the agent sends to the Amazon Inspector service. DataSize *int64 `locationName:"dataSize" type:"long"` // A specific type of behavioral data that is collected by the agent. + // + // MessageType is a required field MessageType *string `locationName:"messageType" min:"1" type:"string" required:"true"` } @@ -4434,13 +4688,19 @@ type UnsubscribeFromEventInput struct { _ struct{} `type:"structure"` // The event for which you want to stop receiving SNS notifications. + // + // Event is a required field Event *string `locationName:"event" type:"string" required:"true" enum:"Event"` // The ARN of the assessment template that is used during the event for which // you want to stop receiving SNS notifications. + // + // ResourceArn is a required field ResourceArn *string `locationName:"resourceArn" min:"1" type:"string" required:"true"` // The ARN of the SNS topic to which SNS notifications are sent. + // + // TopicArn is a required field TopicArn *string `locationName:"topicArn" min:"1" type:"string" required:"true"` } @@ -4497,13 +4757,19 @@ type UpdateAssessmentTargetInput struct { _ struct{} `type:"structure"` // The ARN of the assessment target that you want to update. + // + // AssessmentTargetArn is a required field AssessmentTargetArn *string `locationName:"assessmentTargetArn" min:"1" type:"string" required:"true"` // The name of the assessment target that you want to update. + // + // AssessmentTargetName is a required field AssessmentTargetName *string `locationName:"assessmentTargetName" min:"1" type:"string" required:"true"` // The ARN of the resource group that is used to specify the new resource group // to associate with the assessment target. + // + // ResourceGroupArn is a required field ResourceGroupArn *string `locationName:"resourceGroupArn" min:"1" type:"string" required:"true"` } @@ -4560,277 +4826,380 @@ func (s UpdateAssessmentTargetOutput) GoString() string { } const ( - // @enum AccessDeniedErrorCode + // AccessDeniedErrorCodeAccessDeniedToAssessmentTarget is a AccessDeniedErrorCode enum value AccessDeniedErrorCodeAccessDeniedToAssessmentTarget = "ACCESS_DENIED_TO_ASSESSMENT_TARGET" - // @enum AccessDeniedErrorCode + + // AccessDeniedErrorCodeAccessDeniedToAssessmentTemplate is a AccessDeniedErrorCode enum value AccessDeniedErrorCodeAccessDeniedToAssessmentTemplate = "ACCESS_DENIED_TO_ASSESSMENT_TEMPLATE" - // @enum AccessDeniedErrorCode + + // AccessDeniedErrorCodeAccessDeniedToAssessmentRun is a AccessDeniedErrorCode enum value AccessDeniedErrorCodeAccessDeniedToAssessmentRun = "ACCESS_DENIED_TO_ASSESSMENT_RUN" - // @enum AccessDeniedErrorCode + + // AccessDeniedErrorCodeAccessDeniedToFinding is a AccessDeniedErrorCode enum value AccessDeniedErrorCodeAccessDeniedToFinding = "ACCESS_DENIED_TO_FINDING" - // @enum AccessDeniedErrorCode + + // AccessDeniedErrorCodeAccessDeniedToResourceGroup is a AccessDeniedErrorCode enum value AccessDeniedErrorCodeAccessDeniedToResourceGroup = "ACCESS_DENIED_TO_RESOURCE_GROUP" - // @enum AccessDeniedErrorCode + + // AccessDeniedErrorCodeAccessDeniedToRulesPackage is a AccessDeniedErrorCode enum value AccessDeniedErrorCodeAccessDeniedToRulesPackage = "ACCESS_DENIED_TO_RULES_PACKAGE" - // @enum AccessDeniedErrorCode + + // AccessDeniedErrorCodeAccessDeniedToSnsTopic is a AccessDeniedErrorCode enum value AccessDeniedErrorCodeAccessDeniedToSnsTopic = "ACCESS_DENIED_TO_SNS_TOPIC" - // @enum AccessDeniedErrorCode + + // AccessDeniedErrorCodeAccessDeniedToIamRole is a AccessDeniedErrorCode enum value AccessDeniedErrorCodeAccessDeniedToIamRole = "ACCESS_DENIED_TO_IAM_ROLE" ) const ( - // @enum AgentHealth + // AgentHealthHealthy is a AgentHealth enum value AgentHealthHealthy = "HEALTHY" - // @enum AgentHealth + + // AgentHealthUnhealthy is a AgentHealth enum value AgentHealthUnhealthy = "UNHEALTHY" ) const ( - // @enum AgentHealthCode + // AgentHealthCodeIdle is a AgentHealthCode enum value AgentHealthCodeIdle = "IDLE" - // @enum AgentHealthCode + + // AgentHealthCodeRunning is a AgentHealthCode enum value AgentHealthCodeRunning = "RUNNING" - // @enum AgentHealthCode + + // AgentHealthCodeShutdown is a AgentHealthCode enum value AgentHealthCodeShutdown = "SHUTDOWN" - // @enum AgentHealthCode + + // AgentHealthCodeUnhealthy is a AgentHealthCode enum value AgentHealthCodeUnhealthy = "UNHEALTHY" - // @enum AgentHealthCode + + // AgentHealthCodeThrottled is a AgentHealthCode enum value AgentHealthCodeThrottled = "THROTTLED" - // @enum AgentHealthCode + + // AgentHealthCodeUnknown is a AgentHealthCode enum value AgentHealthCodeUnknown = "UNKNOWN" ) const ( - // @enum AssessmentRunNotificationSnsStatusCode + // AssessmentRunNotificationSnsStatusCodeSuccess is a AssessmentRunNotificationSnsStatusCode enum value AssessmentRunNotificationSnsStatusCodeSuccess = "SUCCESS" - // @enum AssessmentRunNotificationSnsStatusCode + + // AssessmentRunNotificationSnsStatusCodeTopicDoesNotExist is a AssessmentRunNotificationSnsStatusCode enum value AssessmentRunNotificationSnsStatusCodeTopicDoesNotExist = "TOPIC_DOES_NOT_EXIST" - // @enum AssessmentRunNotificationSnsStatusCode + + // AssessmentRunNotificationSnsStatusCodeAccessDenied is a AssessmentRunNotificationSnsStatusCode enum value AssessmentRunNotificationSnsStatusCodeAccessDenied = "ACCESS_DENIED" - // @enum AssessmentRunNotificationSnsStatusCode + + // AssessmentRunNotificationSnsStatusCodeInternalError is a AssessmentRunNotificationSnsStatusCode enum value AssessmentRunNotificationSnsStatusCodeInternalError = "INTERNAL_ERROR" ) const ( - // @enum AssessmentRunState + // AssessmentRunStateCreated is a AssessmentRunState enum value AssessmentRunStateCreated = "CREATED" - // @enum AssessmentRunState + + // AssessmentRunStateStartDataCollectionPending is a AssessmentRunState enum value AssessmentRunStateStartDataCollectionPending = "START_DATA_COLLECTION_PENDING" - // @enum AssessmentRunState + + // AssessmentRunStateStartDataCollectionInProgress is a AssessmentRunState enum value AssessmentRunStateStartDataCollectionInProgress = "START_DATA_COLLECTION_IN_PROGRESS" - // @enum AssessmentRunState + + // AssessmentRunStateCollectingData is a AssessmentRunState enum value AssessmentRunStateCollectingData = "COLLECTING_DATA" - // @enum AssessmentRunState + + // AssessmentRunStateStopDataCollectionPending is a AssessmentRunState enum value AssessmentRunStateStopDataCollectionPending = "STOP_DATA_COLLECTION_PENDING" - // @enum AssessmentRunState + + // AssessmentRunStateDataCollected is a AssessmentRunState enum value AssessmentRunStateDataCollected = "DATA_COLLECTED" - // @enum AssessmentRunState + + // AssessmentRunStateEvaluatingRules is a AssessmentRunState enum value AssessmentRunStateEvaluatingRules = "EVALUATING_RULES" - // @enum AssessmentRunState + + // AssessmentRunStateFailed is a AssessmentRunState enum value AssessmentRunStateFailed = "FAILED" - // @enum AssessmentRunState + + // AssessmentRunStateCompleted is a AssessmentRunState enum value AssessmentRunStateCompleted = "COMPLETED" - // @enum AssessmentRunState + + // AssessmentRunStateCompletedWithErrors is a AssessmentRunState enum value AssessmentRunStateCompletedWithErrors = "COMPLETED_WITH_ERRORS" ) const ( - // @enum AssetType + // AssetTypeEc2Instance is a AssetType enum value AssetTypeEc2Instance = "ec2-instance" ) const ( - // @enum Event + // EventAssessmentRunStarted is a Event enum value EventAssessmentRunStarted = "ASSESSMENT_RUN_STARTED" - // @enum Event + + // EventAssessmentRunCompleted is a Event enum value EventAssessmentRunCompleted = "ASSESSMENT_RUN_COMPLETED" - // @enum Event + + // EventAssessmentRunStateChanged is a Event enum value EventAssessmentRunStateChanged = "ASSESSMENT_RUN_STATE_CHANGED" - // @enum Event + + // EventFindingReported is a Event enum value EventFindingReported = "FINDING_REPORTED" - // @enum Event + + // EventOther is a Event enum value EventOther = "OTHER" ) const ( - // @enum FailedItemErrorCode + // FailedItemErrorCodeInvalidArn is a FailedItemErrorCode enum value FailedItemErrorCodeInvalidArn = "INVALID_ARN" - // @enum FailedItemErrorCode + + // FailedItemErrorCodeDuplicateArn is a FailedItemErrorCode enum value FailedItemErrorCodeDuplicateArn = "DUPLICATE_ARN" - // @enum FailedItemErrorCode + + // FailedItemErrorCodeItemDoesNotExist is a FailedItemErrorCode enum value FailedItemErrorCodeItemDoesNotExist = "ITEM_DOES_NOT_EXIST" - // @enum FailedItemErrorCode + + // FailedItemErrorCodeAccessDenied is a FailedItemErrorCode enum value FailedItemErrorCodeAccessDenied = "ACCESS_DENIED" - // @enum FailedItemErrorCode + + // FailedItemErrorCodeLimitExceeded is a FailedItemErrorCode enum value FailedItemErrorCodeLimitExceeded = "LIMIT_EXCEEDED" - // @enum FailedItemErrorCode + + // FailedItemErrorCodeInternalError is a FailedItemErrorCode enum value FailedItemErrorCodeInternalError = "INTERNAL_ERROR" ) const ( - // @enum InvalidCrossAccountRoleErrorCode + // InvalidCrossAccountRoleErrorCodeRoleDoesNotExistOrInvalidTrustRelationship is a InvalidCrossAccountRoleErrorCode enum value InvalidCrossAccountRoleErrorCodeRoleDoesNotExistOrInvalidTrustRelationship = "ROLE_DOES_NOT_EXIST_OR_INVALID_TRUST_RELATIONSHIP" - // @enum InvalidCrossAccountRoleErrorCode + + // InvalidCrossAccountRoleErrorCodeRoleDoesNotHaveCorrectPolicy is a InvalidCrossAccountRoleErrorCode enum value InvalidCrossAccountRoleErrorCodeRoleDoesNotHaveCorrectPolicy = "ROLE_DOES_NOT_HAVE_CORRECT_POLICY" ) const ( - // @enum InvalidInputErrorCode + // InvalidInputErrorCodeInvalidAssessmentTargetArn is a InvalidInputErrorCode enum value InvalidInputErrorCodeInvalidAssessmentTargetArn = "INVALID_ASSESSMENT_TARGET_ARN" - // @enum InvalidInputErrorCode + + // InvalidInputErrorCodeInvalidAssessmentTemplateArn is a InvalidInputErrorCode enum value InvalidInputErrorCodeInvalidAssessmentTemplateArn = "INVALID_ASSESSMENT_TEMPLATE_ARN" - // @enum InvalidInputErrorCode + + // InvalidInputErrorCodeInvalidAssessmentRunArn is a InvalidInputErrorCode enum value InvalidInputErrorCodeInvalidAssessmentRunArn = "INVALID_ASSESSMENT_RUN_ARN" - // @enum InvalidInputErrorCode + + // InvalidInputErrorCodeInvalidFindingArn is a InvalidInputErrorCode enum value InvalidInputErrorCodeInvalidFindingArn = "INVALID_FINDING_ARN" - // @enum InvalidInputErrorCode + + // InvalidInputErrorCodeInvalidResourceGroupArn is a InvalidInputErrorCode enum value InvalidInputErrorCodeInvalidResourceGroupArn = "INVALID_RESOURCE_GROUP_ARN" - // @enum InvalidInputErrorCode + + // InvalidInputErrorCodeInvalidRulesPackageArn is a InvalidInputErrorCode enum value InvalidInputErrorCodeInvalidRulesPackageArn = "INVALID_RULES_PACKAGE_ARN" - // @enum InvalidInputErrorCode + + // InvalidInputErrorCodeInvalidResourceArn is a InvalidInputErrorCode enum value InvalidInputErrorCodeInvalidResourceArn = "INVALID_RESOURCE_ARN" - // @enum InvalidInputErrorCode + + // InvalidInputErrorCodeInvalidSnsTopicArn is a InvalidInputErrorCode enum value InvalidInputErrorCodeInvalidSnsTopicArn = "INVALID_SNS_TOPIC_ARN" - // @enum InvalidInputErrorCode + + // InvalidInputErrorCodeInvalidIamRoleArn is a InvalidInputErrorCode enum value InvalidInputErrorCodeInvalidIamRoleArn = "INVALID_IAM_ROLE_ARN" - // @enum InvalidInputErrorCode + + // InvalidInputErrorCodeInvalidAssessmentTargetName is a InvalidInputErrorCode enum value InvalidInputErrorCodeInvalidAssessmentTargetName = "INVALID_ASSESSMENT_TARGET_NAME" - // @enum InvalidInputErrorCode + + // InvalidInputErrorCodeInvalidAssessmentTargetNamePattern is a InvalidInputErrorCode enum value InvalidInputErrorCodeInvalidAssessmentTargetNamePattern = "INVALID_ASSESSMENT_TARGET_NAME_PATTERN" - // @enum InvalidInputErrorCode + + // InvalidInputErrorCodeInvalidAssessmentTemplateName is a InvalidInputErrorCode enum value InvalidInputErrorCodeInvalidAssessmentTemplateName = "INVALID_ASSESSMENT_TEMPLATE_NAME" - // @enum InvalidInputErrorCode + + // InvalidInputErrorCodeInvalidAssessmentTemplateNamePattern is a InvalidInputErrorCode enum value InvalidInputErrorCodeInvalidAssessmentTemplateNamePattern = "INVALID_ASSESSMENT_TEMPLATE_NAME_PATTERN" - // @enum InvalidInputErrorCode + + // InvalidInputErrorCodeInvalidAssessmentTemplateDuration is a InvalidInputErrorCode enum value InvalidInputErrorCodeInvalidAssessmentTemplateDuration = "INVALID_ASSESSMENT_TEMPLATE_DURATION" - // @enum InvalidInputErrorCode + + // InvalidInputErrorCodeInvalidAssessmentTemplateDurationRange is a InvalidInputErrorCode enum value InvalidInputErrorCodeInvalidAssessmentTemplateDurationRange = "INVALID_ASSESSMENT_TEMPLATE_DURATION_RANGE" - // @enum InvalidInputErrorCode + + // InvalidInputErrorCodeInvalidAssessmentRunDurationRange is a InvalidInputErrorCode enum value InvalidInputErrorCodeInvalidAssessmentRunDurationRange = "INVALID_ASSESSMENT_RUN_DURATION_RANGE" - // @enum InvalidInputErrorCode + + // InvalidInputErrorCodeInvalidAssessmentRunStartTimeRange is a InvalidInputErrorCode enum value InvalidInputErrorCodeInvalidAssessmentRunStartTimeRange = "INVALID_ASSESSMENT_RUN_START_TIME_RANGE" - // @enum InvalidInputErrorCode + + // InvalidInputErrorCodeInvalidAssessmentRunCompletionTimeRange is a InvalidInputErrorCode enum value InvalidInputErrorCodeInvalidAssessmentRunCompletionTimeRange = "INVALID_ASSESSMENT_RUN_COMPLETION_TIME_RANGE" - // @enum InvalidInputErrorCode + + // InvalidInputErrorCodeInvalidAssessmentRunStateChangeTimeRange is a InvalidInputErrorCode enum value InvalidInputErrorCodeInvalidAssessmentRunStateChangeTimeRange = "INVALID_ASSESSMENT_RUN_STATE_CHANGE_TIME_RANGE" - // @enum InvalidInputErrorCode + + // InvalidInputErrorCodeInvalidAssessmentRunState is a InvalidInputErrorCode enum value InvalidInputErrorCodeInvalidAssessmentRunState = "INVALID_ASSESSMENT_RUN_STATE" - // @enum InvalidInputErrorCode + + // InvalidInputErrorCodeInvalidTag is a InvalidInputErrorCode enum value InvalidInputErrorCodeInvalidTag = "INVALID_TAG" - // @enum InvalidInputErrorCode + + // InvalidInputErrorCodeInvalidTagKey is a InvalidInputErrorCode enum value InvalidInputErrorCodeInvalidTagKey = "INVALID_TAG_KEY" - // @enum InvalidInputErrorCode + + // InvalidInputErrorCodeInvalidTagValue is a InvalidInputErrorCode enum value InvalidInputErrorCodeInvalidTagValue = "INVALID_TAG_VALUE" - // @enum InvalidInputErrorCode + + // InvalidInputErrorCodeInvalidResourceGroupTagKey is a InvalidInputErrorCode enum value InvalidInputErrorCodeInvalidResourceGroupTagKey = "INVALID_RESOURCE_GROUP_TAG_KEY" - // @enum InvalidInputErrorCode + + // InvalidInputErrorCodeInvalidResourceGroupTagValue is a InvalidInputErrorCode enum value InvalidInputErrorCodeInvalidResourceGroupTagValue = "INVALID_RESOURCE_GROUP_TAG_VALUE" - // @enum InvalidInputErrorCode + + // InvalidInputErrorCodeInvalidAttribute is a InvalidInputErrorCode enum value InvalidInputErrorCodeInvalidAttribute = "INVALID_ATTRIBUTE" - // @enum InvalidInputErrorCode + + // InvalidInputErrorCodeInvalidUserAttribute is a InvalidInputErrorCode enum value InvalidInputErrorCodeInvalidUserAttribute = "INVALID_USER_ATTRIBUTE" - // @enum InvalidInputErrorCode + + // InvalidInputErrorCodeInvalidUserAttributeKey is a InvalidInputErrorCode enum value InvalidInputErrorCodeInvalidUserAttributeKey = "INVALID_USER_ATTRIBUTE_KEY" - // @enum InvalidInputErrorCode + + // InvalidInputErrorCodeInvalidUserAttributeValue is a InvalidInputErrorCode enum value InvalidInputErrorCodeInvalidUserAttributeValue = "INVALID_USER_ATTRIBUTE_VALUE" - // @enum InvalidInputErrorCode + + // InvalidInputErrorCodeInvalidPaginationToken is a InvalidInputErrorCode enum value InvalidInputErrorCodeInvalidPaginationToken = "INVALID_PAGINATION_TOKEN" - // @enum InvalidInputErrorCode + + // InvalidInputErrorCodeInvalidMaxResults is a InvalidInputErrorCode enum value InvalidInputErrorCodeInvalidMaxResults = "INVALID_MAX_RESULTS" - // @enum InvalidInputErrorCode + + // InvalidInputErrorCodeInvalidAgentId is a InvalidInputErrorCode enum value InvalidInputErrorCodeInvalidAgentId = "INVALID_AGENT_ID" - // @enum InvalidInputErrorCode + + // InvalidInputErrorCodeInvalidAutoScalingGroup is a InvalidInputErrorCode enum value InvalidInputErrorCodeInvalidAutoScalingGroup = "INVALID_AUTO_SCALING_GROUP" - // @enum InvalidInputErrorCode + + // InvalidInputErrorCodeInvalidRuleName is a InvalidInputErrorCode enum value InvalidInputErrorCodeInvalidRuleName = "INVALID_RULE_NAME" - // @enum InvalidInputErrorCode + + // InvalidInputErrorCodeInvalidSeverity is a InvalidInputErrorCode enum value InvalidInputErrorCodeInvalidSeverity = "INVALID_SEVERITY" - // @enum InvalidInputErrorCode + + // InvalidInputErrorCodeInvalidLocale is a InvalidInputErrorCode enum value InvalidInputErrorCodeInvalidLocale = "INVALID_LOCALE" - // @enum InvalidInputErrorCode + + // InvalidInputErrorCodeInvalidEvent is a InvalidInputErrorCode enum value InvalidInputErrorCodeInvalidEvent = "INVALID_EVENT" - // @enum InvalidInputErrorCode + + // InvalidInputErrorCodeAssessmentTargetNameAlreadyTaken is a InvalidInputErrorCode enum value InvalidInputErrorCodeAssessmentTargetNameAlreadyTaken = "ASSESSMENT_TARGET_NAME_ALREADY_TAKEN" - // @enum InvalidInputErrorCode + + // InvalidInputErrorCodeAssessmentTemplateNameAlreadyTaken is a InvalidInputErrorCode enum value InvalidInputErrorCodeAssessmentTemplateNameAlreadyTaken = "ASSESSMENT_TEMPLATE_NAME_ALREADY_TAKEN" - // @enum InvalidInputErrorCode + + // InvalidInputErrorCodeInvalidNumberOfAssessmentTargetArns is a InvalidInputErrorCode enum value InvalidInputErrorCodeInvalidNumberOfAssessmentTargetArns = "INVALID_NUMBER_OF_ASSESSMENT_TARGET_ARNS" - // @enum InvalidInputErrorCode + + // InvalidInputErrorCodeInvalidNumberOfAssessmentTemplateArns is a InvalidInputErrorCode enum value InvalidInputErrorCodeInvalidNumberOfAssessmentTemplateArns = "INVALID_NUMBER_OF_ASSESSMENT_TEMPLATE_ARNS" - // @enum InvalidInputErrorCode + + // InvalidInputErrorCodeInvalidNumberOfAssessmentRunArns is a InvalidInputErrorCode enum value InvalidInputErrorCodeInvalidNumberOfAssessmentRunArns = "INVALID_NUMBER_OF_ASSESSMENT_RUN_ARNS" - // @enum InvalidInputErrorCode + + // InvalidInputErrorCodeInvalidNumberOfFindingArns is a InvalidInputErrorCode enum value InvalidInputErrorCodeInvalidNumberOfFindingArns = "INVALID_NUMBER_OF_FINDING_ARNS" - // @enum InvalidInputErrorCode + + // InvalidInputErrorCodeInvalidNumberOfResourceGroupArns is a InvalidInputErrorCode enum value InvalidInputErrorCodeInvalidNumberOfResourceGroupArns = "INVALID_NUMBER_OF_RESOURCE_GROUP_ARNS" - // @enum InvalidInputErrorCode + + // InvalidInputErrorCodeInvalidNumberOfRulesPackageArns is a InvalidInputErrorCode enum value InvalidInputErrorCodeInvalidNumberOfRulesPackageArns = "INVALID_NUMBER_OF_RULES_PACKAGE_ARNS" - // @enum InvalidInputErrorCode + + // InvalidInputErrorCodeInvalidNumberOfAssessmentRunStates is a InvalidInputErrorCode enum value InvalidInputErrorCodeInvalidNumberOfAssessmentRunStates = "INVALID_NUMBER_OF_ASSESSMENT_RUN_STATES" - // @enum InvalidInputErrorCode + + // InvalidInputErrorCodeInvalidNumberOfTags is a InvalidInputErrorCode enum value InvalidInputErrorCodeInvalidNumberOfTags = "INVALID_NUMBER_OF_TAGS" - // @enum InvalidInputErrorCode + + // InvalidInputErrorCodeInvalidNumberOfResourceGroupTags is a InvalidInputErrorCode enum value InvalidInputErrorCodeInvalidNumberOfResourceGroupTags = "INVALID_NUMBER_OF_RESOURCE_GROUP_TAGS" - // @enum InvalidInputErrorCode + + // InvalidInputErrorCodeInvalidNumberOfAttributes is a InvalidInputErrorCode enum value InvalidInputErrorCodeInvalidNumberOfAttributes = "INVALID_NUMBER_OF_ATTRIBUTES" - // @enum InvalidInputErrorCode + + // InvalidInputErrorCodeInvalidNumberOfUserAttributes is a InvalidInputErrorCode enum value InvalidInputErrorCodeInvalidNumberOfUserAttributes = "INVALID_NUMBER_OF_USER_ATTRIBUTES" - // @enum InvalidInputErrorCode + + // InvalidInputErrorCodeInvalidNumberOfAgentIds is a InvalidInputErrorCode enum value InvalidInputErrorCodeInvalidNumberOfAgentIds = "INVALID_NUMBER_OF_AGENT_IDS" - // @enum InvalidInputErrorCode + + // InvalidInputErrorCodeInvalidNumberOfAutoScalingGroups is a InvalidInputErrorCode enum value InvalidInputErrorCodeInvalidNumberOfAutoScalingGroups = "INVALID_NUMBER_OF_AUTO_SCALING_GROUPS" - // @enum InvalidInputErrorCode + + // InvalidInputErrorCodeInvalidNumberOfRuleNames is a InvalidInputErrorCode enum value InvalidInputErrorCodeInvalidNumberOfRuleNames = "INVALID_NUMBER_OF_RULE_NAMES" - // @enum InvalidInputErrorCode + + // InvalidInputErrorCodeInvalidNumberOfSeverities is a InvalidInputErrorCode enum value InvalidInputErrorCodeInvalidNumberOfSeverities = "INVALID_NUMBER_OF_SEVERITIES" ) const ( - // @enum LimitExceededErrorCode + // LimitExceededErrorCodeAssessmentTargetLimitExceeded is a LimitExceededErrorCode enum value LimitExceededErrorCodeAssessmentTargetLimitExceeded = "ASSESSMENT_TARGET_LIMIT_EXCEEDED" - // @enum LimitExceededErrorCode + + // LimitExceededErrorCodeAssessmentTemplateLimitExceeded is a LimitExceededErrorCode enum value LimitExceededErrorCodeAssessmentTemplateLimitExceeded = "ASSESSMENT_TEMPLATE_LIMIT_EXCEEDED" - // @enum LimitExceededErrorCode + + // LimitExceededErrorCodeAssessmentRunLimitExceeded is a LimitExceededErrorCode enum value LimitExceededErrorCodeAssessmentRunLimitExceeded = "ASSESSMENT_RUN_LIMIT_EXCEEDED" - // @enum LimitExceededErrorCode + + // LimitExceededErrorCodeResourceGroupLimitExceeded is a LimitExceededErrorCode enum value LimitExceededErrorCodeResourceGroupLimitExceeded = "RESOURCE_GROUP_LIMIT_EXCEEDED" - // @enum LimitExceededErrorCode + + // LimitExceededErrorCodeEventSubscriptionLimitExceeded is a LimitExceededErrorCode enum value LimitExceededErrorCodeEventSubscriptionLimitExceeded = "EVENT_SUBSCRIPTION_LIMIT_EXCEEDED" ) const ( - // @enum Locale + // LocaleEnUs is a Locale enum value LocaleEnUs = "EN_US" ) const ( - // @enum NoSuchEntityErrorCode + // NoSuchEntityErrorCodeAssessmentTargetDoesNotExist is a NoSuchEntityErrorCode enum value NoSuchEntityErrorCodeAssessmentTargetDoesNotExist = "ASSESSMENT_TARGET_DOES_NOT_EXIST" - // @enum NoSuchEntityErrorCode + + // NoSuchEntityErrorCodeAssessmentTemplateDoesNotExist is a NoSuchEntityErrorCode enum value NoSuchEntityErrorCodeAssessmentTemplateDoesNotExist = "ASSESSMENT_TEMPLATE_DOES_NOT_EXIST" - // @enum NoSuchEntityErrorCode + + // NoSuchEntityErrorCodeAssessmentRunDoesNotExist is a NoSuchEntityErrorCode enum value NoSuchEntityErrorCodeAssessmentRunDoesNotExist = "ASSESSMENT_RUN_DOES_NOT_EXIST" - // @enum NoSuchEntityErrorCode + + // NoSuchEntityErrorCodeFindingDoesNotExist is a NoSuchEntityErrorCode enum value NoSuchEntityErrorCodeFindingDoesNotExist = "FINDING_DOES_NOT_EXIST" - // @enum NoSuchEntityErrorCode + + // NoSuchEntityErrorCodeResourceGroupDoesNotExist is a NoSuchEntityErrorCode enum value NoSuchEntityErrorCodeResourceGroupDoesNotExist = "RESOURCE_GROUP_DOES_NOT_EXIST" - // @enum NoSuchEntityErrorCode + + // NoSuchEntityErrorCodeRulesPackageDoesNotExist is a NoSuchEntityErrorCode enum value NoSuchEntityErrorCodeRulesPackageDoesNotExist = "RULES_PACKAGE_DOES_NOT_EXIST" - // @enum NoSuchEntityErrorCode + + // NoSuchEntityErrorCodeSnsTopicDoesNotExist is a NoSuchEntityErrorCode enum value NoSuchEntityErrorCodeSnsTopicDoesNotExist = "SNS_TOPIC_DOES_NOT_EXIST" - // @enum NoSuchEntityErrorCode + + // NoSuchEntityErrorCodeIamRoleDoesNotExist is a NoSuchEntityErrorCode enum value NoSuchEntityErrorCodeIamRoleDoesNotExist = "IAM_ROLE_DOES_NOT_EXIST" ) const ( - // @enum Severity + // SeverityLow is a Severity enum value SeverityLow = "Low" - // @enum Severity + + // SeverityMedium is a Severity enum value SeverityMedium = "Medium" - // @enum Severity + + // SeverityHigh is a Severity enum value SeverityHigh = "High" - // @enum Severity + + // SeverityInformational is a Severity enum value SeverityInformational = "Informational" - // @enum Severity + + // SeverityUndefined is a Severity enum value SeverityUndefined = "Undefined" ) diff --git a/service/iot/api.go b/service/iot/api.go index b4bc47f035e..6f75cc419f9 100644 --- a/service/iot/api.go +++ b/service/iot/api.go @@ -2929,6 +2929,8 @@ type AcceptCertificateTransferInput struct { _ struct{} `type:"structure"` // The ID of the certificate. + // + // CertificateId is a required field CertificateId *string `location:"uri" locationName:"certificateId" min:"64" type:"string" required:"true"` // Specifies whether the certificate is active. @@ -3093,10 +3095,14 @@ type AttachPrincipalPolicyInput struct { _ struct{} `type:"structure"` // The policy name. + // + // PolicyName is a required field PolicyName *string `location:"uri" locationName:"policyName" min:"1" type:"string" required:"true"` // The principal, which can be a certificate ARN (as returned from the CreateCertificate // operation) or an Amazon Cognito ID. + // + // Principal is a required field Principal *string `location:"header" locationName:"x-amzn-iot-principal" type:"string" required:"true"` } @@ -3148,9 +3154,13 @@ type AttachThingPrincipalInput struct { _ struct{} `type:"structure"` // The principal, such as a certificate or other credential. + // + // Principal is a required field Principal *string `location:"header" locationName:"x-amzn-principal" type:"string" required:"true"` // The name of the thing. + // + // ThingName is a required field ThingName *string `location:"uri" locationName:"thingName" min:"1" type:"string" required:"true"` } @@ -3298,6 +3308,8 @@ type CancelCertificateTransferInput struct { _ struct{} `type:"structure"` // The ID of the certificate. + // + // CertificateId is a required field CertificateId *string `location:"uri" locationName:"certificateId" min:"64" type:"string" required:"true"` } @@ -3420,15 +3432,23 @@ type CloudwatchAlarmAction struct { _ struct{} `type:"structure"` // The CloudWatch alarm name. + // + // AlarmName is a required field AlarmName *string `locationName:"alarmName" type:"string" required:"true"` // The IAM role that allows access to the CloudWatch alarm. + // + // RoleArn is a required field RoleArn *string `locationName:"roleArn" type:"string" required:"true"` // The reason for the alarm change. + // + // StateReason is a required field StateReason *string `locationName:"stateReason" type:"string" required:"true"` // The value of the alarm state. Acceptable values are: OK, ALARM, INSUFFICIENT_DATA. + // + // StateValue is a required field StateValue *string `locationName:"stateValue" type:"string" required:"true"` } @@ -3469,9 +3489,13 @@ type CloudwatchMetricAction struct { _ struct{} `type:"structure"` // The CloudWatch metric name. + // + // MetricName is a required field MetricName *string `locationName:"metricName" type:"string" required:"true"` // The CloudWatch metric namespace name. + // + // MetricNamespace is a required field MetricNamespace *string `locationName:"metricNamespace" type:"string" required:"true"` // An optional Unix timestamp (http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/cloudwatch_concepts.html#about_timestamp). @@ -3479,12 +3503,18 @@ type CloudwatchMetricAction struct { // The metric unit (http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/cloudwatch_concepts.html#Unit) // supported by CloudWatch. + // + // MetricUnit is a required field MetricUnit *string `locationName:"metricUnit" type:"string" required:"true"` // The CloudWatch metric value. + // + // MetricValue is a required field MetricValue *string `locationName:"metricValue" type:"string" required:"true"` // The IAM role that allows access to the CloudWatch metric. + // + // RoleArn is a required field RoleArn *string `locationName:"roleArn" type:"string" required:"true"` } @@ -3528,6 +3558,8 @@ type CreateCertificateFromCsrInput struct { _ struct{} `type:"structure"` // The certificate signing request (CSR). + // + // CertificateSigningRequest is a required field CertificateSigningRequest *string `locationName:"certificateSigningRequest" min:"1" type:"string" required:"true"` // Specifies whether the certificate is active. @@ -3638,9 +3670,13 @@ type CreatePolicyInput struct { // The JSON document that describes the policy. policyDocument must have a minimum // length of 1, with a maximum length of 2048, excluding whitespace. + // + // PolicyDocument is a required field PolicyDocument *string `locationName:"policyDocument" type:"string" required:"true"` // The policy name. + // + // PolicyName is a required field PolicyName *string `location:"uri" locationName:"policyName" min:"1" type:"string" required:"true"` } @@ -3706,9 +3742,13 @@ type CreatePolicyVersionInput struct { // The JSON document that describes the policy. Minimum length of 1. Maximum // length of 2048, excluding whitespaces + // + // PolicyDocument is a required field PolicyDocument *string `locationName:"policyDocument" type:"string" required:"true"` // The policy name. + // + // PolicyName is a required field PolicyName *string `location:"uri" locationName:"policyName" min:"1" type:"string" required:"true"` // Specifies whether the policy version is set as the default. When this parameter @@ -3784,6 +3824,8 @@ type CreateThingInput struct { AttributePayload *AttributePayload `locationName:"attributePayload" type:"structure"` // The name of the thing to create. + // + // ThingName is a required field ThingName *string `location:"uri" locationName:"thingName" min:"1" type:"string" required:"true"` // The name of the thing type associated with the new thing. @@ -3845,6 +3887,8 @@ type CreateThingTypeInput struct { _ struct{} `type:"structure"` // The name of the thing type. + // + // ThingTypeName is a required field ThingTypeName *string `location:"uri" locationName:"thingTypeName" min:"1" type:"string" required:"true"` // The ThingTypeProperties for the thing type to create. It contains information @@ -3905,9 +3949,13 @@ type CreateTopicRuleInput struct { _ struct{} `type:"structure" payload:"TopicRulePayload"` // The name of the rule. + // + // RuleName is a required field RuleName *string `location:"uri" locationName:"ruleName" min:"1" type:"string" required:"true"` // The rule payload. + // + // TopicRulePayload is a required field TopicRulePayload *TopicRulePayload `locationName:"topicRulePayload" type:"structure" required:"true"` } @@ -3964,6 +4012,8 @@ type DeleteCACertificateInput struct { _ struct{} `type:"structure"` // The ID of the certificate to delete. + // + // CertificateId is a required field CertificateId *string `location:"uri" locationName:"caCertificateId" min:"64" type:"string" required:"true"` } @@ -4013,6 +4063,8 @@ type DeleteCertificateInput struct { _ struct{} `type:"structure"` // The ID of the certificate. + // + // CertificateId is a required field CertificateId *string `location:"uri" locationName:"certificateId" min:"64" type:"string" required:"true"` } @@ -4061,6 +4113,8 @@ type DeletePolicyInput struct { _ struct{} `type:"structure"` // The name of the policy to delete. + // + // PolicyName is a required field PolicyName *string `location:"uri" locationName:"policyName" min:"1" type:"string" required:"true"` } @@ -4109,9 +4163,13 @@ type DeletePolicyVersionInput struct { _ struct{} `type:"structure"` // The name of the policy. + // + // PolicyName is a required field PolicyName *string `location:"uri" locationName:"policyName" min:"1" type:"string" required:"true"` // The policy version ID. + // + // PolicyVersionId is a required field PolicyVersionId *string `location:"uri" locationName:"policyVersionId" type:"string" required:"true"` } @@ -4198,6 +4256,8 @@ type DeleteThingInput struct { ExpectedVersion *int64 `location:"querystring" locationName:"expectedVersion" type:"long"` // The name of the thing to delete. + // + // ThingName is a required field ThingName *string `location:"uri" locationName:"thingName" min:"1" type:"string" required:"true"` } @@ -4247,6 +4307,8 @@ type DeleteThingTypeInput struct { _ struct{} `type:"structure"` // The name of the thing type. + // + // ThingTypeName is a required field ThingTypeName *string `location:"uri" locationName:"thingTypeName" min:"1" type:"string" required:"true"` } @@ -4296,6 +4358,8 @@ type DeleteTopicRuleInput struct { _ struct{} `type:"structure"` // The name of the rule. + // + // RuleName is a required field RuleName *string `location:"uri" locationName:"ruleName" min:"1" type:"string" required:"true"` } @@ -4344,6 +4408,8 @@ type DeprecateThingTypeInput struct { _ struct{} `type:"structure"` // The name of the thing type to deprecate. + // + // ThingTypeName is a required field ThingTypeName *string `location:"uri" locationName:"thingTypeName" min:"1" type:"string" required:"true"` // Whether to undeprecate a deprecated thing type. If true, the thing type will @@ -4397,6 +4463,8 @@ type DescribeCACertificateInput struct { _ struct{} `type:"structure"` // The CA certificate identifier. + // + // CertificateId is a required field CertificateId *string `location:"uri" locationName:"caCertificateId" min:"64" type:"string" required:"true"` } @@ -4449,6 +4517,8 @@ type DescribeCertificateInput struct { _ struct{} `type:"structure"` // The ID of the certificate. + // + // CertificateId is a required field CertificateId *string `location:"uri" locationName:"certificateId" min:"64" type:"string" required:"true"` } @@ -4534,6 +4604,8 @@ type DescribeThingInput struct { _ struct{} `type:"structure"` // The name of the thing. + // + // ThingName is a required field ThingName *string `location:"uri" locationName:"thingName" min:"1" type:"string" required:"true"` } @@ -4602,6 +4674,8 @@ type DescribeThingTypeInput struct { _ struct{} `type:"structure"` // The name of the thing type. + // + // ThingTypeName is a required field ThingTypeName *string `location:"uri" locationName:"thingTypeName" min:"1" type:"string" required:"true"` } @@ -4663,12 +4737,16 @@ type DetachPrincipalPolicyInput struct { _ struct{} `type:"structure"` // The name of the policy to detach. + // + // PolicyName is a required field PolicyName *string `location:"uri" locationName:"policyName" min:"1" type:"string" required:"true"` // The principal. // // If the principal is a certificate, specify the certificate ARN. If the principal // is an Amazon Cognito identity, specify the identity ID. + // + // Principal is a required field Principal *string `location:"header" locationName:"x-amzn-iot-principal" type:"string" required:"true"` } @@ -4722,9 +4800,13 @@ type DetachThingPrincipalInput struct { // If the principal is a certificate, this value must be ARN of the certificate. // If the principal is an Amazon Cognito identity, this value must be the ID // of the Amazon Cognito identity. + // + // Principal is a required field Principal *string `location:"header" locationName:"x-amzn-principal" type:"string" required:"true"` // The name of the thing. + // + // ThingName is a required field ThingName *string `location:"uri" locationName:"thingName" min:"1" type:"string" required:"true"` } @@ -4777,6 +4859,8 @@ type DisableTopicRuleInput struct { _ struct{} `type:"structure"` // The name of the rule to disable. + // + // RuleName is a required field RuleName *string `location:"uri" locationName:"ruleName" min:"1" type:"string" required:"true"` } @@ -4841,12 +4925,16 @@ type DynamoDBAction struct { _ struct{} `type:"structure"` // The hash key name. + // + // HashKeyField is a required field HashKeyField *string `locationName:"hashKeyField" type:"string" required:"true"` // The hash key type. Valid values are "STRING" or "NUMBER" HashKeyType *string `locationName:"hashKeyType" type:"string" enum:"DynamoKeyType"` // The hash key value. + // + // HashKeyValue is a required field HashKeyValue *string `locationName:"hashKeyValue" type:"string" required:"true"` // The type of operation to be performed. This follows the substitution template, @@ -4867,9 +4955,13 @@ type DynamoDBAction struct { RangeKeyValue *string `locationName:"rangeKeyValue" type:"string"` // The ARN of the IAM role that grants access to the DynamoDB table. + // + // RoleArn is a required field RoleArn *string `locationName:"roleArn" type:"string" required:"true"` // The name of the DynamoDB table. + // + // TableName is a required field TableName *string `locationName:"tableName" type:"string" required:"true"` } @@ -4910,18 +5002,28 @@ type ElasticsearchAction struct { _ struct{} `type:"structure"` // The endpoint of your Elasticsearch domain. + // + // Endpoint is a required field Endpoint *string `locationName:"endpoint" type:"string" required:"true"` // The unique identifier for the document you are storing. + // + // Id is a required field Id *string `locationName:"id" type:"string" required:"true"` // The Elasticsearch index where you want to store your data. + // + // Index is a required field Index *string `locationName:"index" type:"string" required:"true"` // The IAM role ARN that has access to Elasticsearch. + // + // RoleArn is a required field RoleArn *string `locationName:"roleArn" type:"string" required:"true"` // The type of document you are storing. + // + // Type is a required field Type *string `locationName:"type" type:"string" required:"true"` } @@ -4965,6 +5067,8 @@ type EnableTopicRuleInput struct { _ struct{} `type:"structure"` // The name of the topic rule to enable. + // + // RuleName is a required field RuleName *string `location:"uri" locationName:"ruleName" min:"1" type:"string" required:"true"` } @@ -5013,9 +5117,13 @@ type FirehoseAction struct { _ struct{} `type:"structure"` // The delivery stream name. + // + // DeliveryStreamName is a required field DeliveryStreamName *string `locationName:"deliveryStreamName" type:"string" required:"true"` // The IAM role that grants access to the Amazon Kinesis Firehost stream. + // + // RoleArn is a required field RoleArn *string `locationName:"roleArn" type:"string" required:"true"` // A character separator that will be used to separate records written to the @@ -5091,6 +5199,8 @@ type GetPolicyInput struct { _ struct{} `type:"structure"` // The name of the policy. + // + // PolicyName is a required field PolicyName *string `location:"uri" locationName:"policyName" min:"1" type:"string" required:"true"` } @@ -5152,9 +5262,13 @@ type GetPolicyVersionInput struct { _ struct{} `type:"structure"` // The name of the policy. + // + // PolicyName is a required field PolicyName *string `location:"uri" locationName:"policyName" min:"1" type:"string" required:"true"` // The policy version ID. + // + // PolicyVersionId is a required field PolicyVersionId *string `location:"uri" locationName:"policyVersionId" type:"string" required:"true"` } @@ -5255,6 +5369,8 @@ type GetTopicRuleInput struct { _ struct{} `type:"structure"` // The name of the rule. + // + // RuleName is a required field RuleName *string `location:"uri" locationName:"ruleName" min:"1" type:"string" required:"true"` } @@ -5334,9 +5450,13 @@ type KinesisAction struct { PartitionKey *string `locationName:"partitionKey" type:"string"` // The ARN of the IAM role that grants access to the Amazon Kinesis stream. + // + // RoleArn is a required field RoleArn *string `locationName:"roleArn" type:"string" required:"true"` // The name of the Amazon Kinesis stream. + // + // StreamName is a required field StreamName *string `locationName:"streamName" type:"string" required:"true"` } @@ -5371,6 +5491,8 @@ type LambdaAction struct { _ struct{} `type:"structure"` // The ARN of the Lambda function. + // + // FunctionArn is a required field FunctionArn *string `locationName:"functionArn" type:"string" required:"true"` } @@ -5465,6 +5587,8 @@ type ListCertificatesByCAInput struct { // The ID of the CA certificate. This operation will list all registered device // certificate that were signed by this CA certificate. + // + // CaCertificateId is a required field CaCertificateId *string `location:"uri" locationName:"caCertificateId" min:"64" type:"string" required:"true"` // The marker for the next set of results. @@ -5719,6 +5843,8 @@ type ListPolicyPrincipalsInput struct { PageSize *int64 `location:"querystring" locationName:"pageSize" min:"1" type:"integer"` // The policy name. + // + // PolicyName is a required field PolicyName *string `location:"header" locationName:"x-amzn-iot-policy" min:"1" type:"string" required:"true"` } @@ -5778,6 +5904,8 @@ type ListPolicyVersionsInput struct { _ struct{} `type:"structure"` // The policy name. + // + // PolicyName is a required field PolicyName *string `location:"uri" locationName:"policyName" min:"1" type:"string" required:"true"` } @@ -5840,6 +5968,8 @@ type ListPrincipalPoliciesInput struct { PageSize *int64 `location:"querystring" locationName:"pageSize" min:"1" type:"integer"` // The principal. + // + // Principal is a required field Principal *string `location:"header" locationName:"x-amzn-iot-principal" type:"string" required:"true"` } @@ -5903,6 +6033,8 @@ type ListPrincipalThingsInput struct { NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // The principal. + // + // Principal is a required field Principal *string `location:"header" locationName:"x-amzn-principal" type:"string" required:"true"` } @@ -5959,6 +6091,8 @@ type ListThingPrincipalsInput struct { _ struct{} `type:"structure"` // The name of the thing. + // + // ThingName is a required field ThingName *string `location:"uri" locationName:"thingName" min:"1" type:"string" required:"true"` } @@ -6207,6 +6341,8 @@ type LoggingOptionsPayload struct { LogLevel *string `locationName:"logLevel" type:"string" enum:"LogLevel"` // The ARN of the IAM role that grants access. + // + // RoleArn is a required field RoleArn *string `locationName:"roleArn" type:"string" required:"true"` } @@ -6319,12 +6455,16 @@ type RegisterCACertificateInput struct { AllowAutoRegistration *bool `location:"querystring" locationName:"allowAutoRegistration" type:"boolean"` // The CA certificate. + // + // CaCertificate is a required field CaCertificate *string `locationName:"caCertificate" min:"1" type:"string" required:"true"` // A boolean value that specifies if the CA certificate is set to active. SetAsActive *bool `location:"querystring" locationName:"setAsActive" type:"boolean"` // The private key verification certificate. + // + // VerificationCertificate is a required field VerificationCertificate *string `locationName:"verificationCertificate" min:"1" type:"string" required:"true"` } @@ -6389,6 +6529,8 @@ type RegisterCertificateInput struct { CaCertificatePem *string `locationName:"caCertificatePem" min:"1" type:"string"` // The certificate data, in PEM format. + // + // CertificatePem is a required field CertificatePem *string `locationName:"certificatePem" min:"1" type:"string" required:"true"` // A boolean value that specifies if the CA certificate is set to active. @@ -6452,6 +6594,8 @@ type RejectCertificateTransferInput struct { _ struct{} `type:"structure"` // The ID of the certificate. + // + // CertificateId is a required field CertificateId *string `location:"uri" locationName:"certificateId" min:"64" type:"string" required:"true"` // The reason the certificate transfer was rejected. @@ -6503,9 +6647,13 @@ type ReplaceTopicRuleInput struct { _ struct{} `type:"structure" payload:"TopicRulePayload"` // The name of the rule. + // + // RuleName is a required field RuleName *string `location:"uri" locationName:"ruleName" min:"1" type:"string" required:"true"` // The rule payload. + // + // TopicRulePayload is a required field TopicRulePayload *TopicRulePayload `locationName:"topicRulePayload" type:"structure" required:"true"` } @@ -6562,9 +6710,13 @@ type RepublishAction struct { _ struct{} `type:"structure"` // The ARN of the IAM role that grants access. + // + // RoleArn is a required field RoleArn *string `locationName:"roleArn" type:"string" required:"true"` // The name of the MQTT topic. + // + // Topic is a required field Topic *string `locationName:"topic" type:"string" required:"true"` } @@ -6599,6 +6751,8 @@ type S3Action struct { _ struct{} `type:"structure"` // The Amazon S3 bucket. + // + // BucketName is a required field BucketName *string `locationName:"bucketName" type:"string" required:"true"` // The Amazon S3 canned ACL that controls access to the object identified by @@ -6606,9 +6760,13 @@ type S3Action struct { CannedAcl *string `locationName:"cannedAcl" type:"string" enum:"CannedAccessControlList"` // The object key. + // + // Key is a required field Key *string `locationName:"key" type:"string" required:"true"` // The ARN of the IAM role that grants access. + // + // RoleArn is a required field RoleArn *string `locationName:"roleArn" type:"string" required:"true"` } @@ -6646,9 +6804,13 @@ type SetDefaultPolicyVersionInput struct { _ struct{} `type:"structure"` // The policy name. + // + // PolicyName is a required field PolicyName *string `location:"uri" locationName:"policyName" min:"1" type:"string" required:"true"` // The policy version ID. + // + // PolicyVersionId is a required field PolicyVersionId *string `location:"uri" locationName:"policyVersionId" type:"string" required:"true"` } @@ -6700,6 +6862,8 @@ type SetLoggingOptionsInput struct { _ struct{} `type:"structure" payload:"LoggingOptionsPayload"` // The logging options payload. + // + // LoggingOptionsPayload is a required field LoggingOptionsPayload *LoggingOptionsPayload `locationName:"loggingOptionsPayload" type:"structure" required:"true"` } @@ -6757,9 +6921,13 @@ type SnsAction struct { MessageFormat *string `locationName:"messageFormat" type:"string" enum:"MessageFormat"` // The ARN of the IAM role that grants access. + // + // RoleArn is a required field RoleArn *string `locationName:"roleArn" type:"string" required:"true"` // The ARN of the SNS topic. + // + // TargetArn is a required field TargetArn *string `locationName:"targetArn" type:"string" required:"true"` } @@ -6794,9 +6962,13 @@ type SqsAction struct { _ struct{} `type:"structure"` // The URL of the Amazon SQS queue. + // + // QueueUrl is a required field QueueUrl *string `locationName:"queueUrl" type:"string" required:"true"` // The ARN of the IAM role that grants access. + // + // RoleArn is a required field RoleArn *string `locationName:"roleArn" type:"string" required:"true"` // Specifies whether to use Base64 encoding. @@ -7004,6 +7176,8 @@ type TopicRulePayload struct { _ struct{} `type:"structure"` // The actions associated with the rule. + // + // Actions is a required field Actions []*Action `locationName:"actions" type:"list" required:"true"` // The version of the SQL rules engine to use when evaluating the rule. @@ -7018,6 +7192,8 @@ type TopicRulePayload struct { // The SQL statement used to query the topic. For more information, see AWS // IoT SQL Reference (http://docs.aws.amazon.com/iot/latest/developerguide/iot-rules.html#aws-iot-sql-reference) // in the AWS IoT Developer Guide. + // + // Sql is a required field Sql *string `locationName:"sql" type:"string" required:"true"` } @@ -7062,9 +7238,13 @@ type TransferCertificateInput struct { _ struct{} `type:"structure"` // The ID of the certificate. + // + // CertificateId is a required field CertificateId *string `location:"uri" locationName:"certificateId" min:"64" type:"string" required:"true"` // The AWS account. + // + // TargetAwsAccount is a required field TargetAwsAccount *string `location:"querystring" locationName:"targetAwsAccount" type:"string" required:"true"` // The transfer message. @@ -7153,6 +7333,8 @@ type UpdateCACertificateInput struct { _ struct{} `type:"structure"` // The CA certificate identifier. + // + // CertificateId is a required field CertificateId *string `location:"uri" locationName:"caCertificateId" min:"64" type:"string" required:"true"` // The new value for the auto registration status. Valid values are: "ENABLE" @@ -7211,6 +7393,8 @@ type UpdateCertificateInput struct { _ struct{} `type:"structure"` // The ID of the certificate. + // + // CertificateId is a required field CertificateId *string `location:"uri" locationName:"certificateId" min:"64" type:"string" required:"true"` // The new status. @@ -7221,6 +7405,8 @@ type UpdateCertificateInput struct { // // Note: The status value REGISTER_INACTIVE is deprecated and should not be // used. + // + // NewStatus is a required field NewStatus *string `location:"querystring" locationName:"newStatus" type:"string" required:"true" enum:"CertificateStatus"` } @@ -7288,6 +7474,8 @@ type UpdateThingInput struct { RemoveThingType *bool `locationName:"removeThingType" type:"boolean"` // The name of the thing to update. + // + // ThingName is a required field ThingName *string `location:"uri" locationName:"thingName" min:"1" type:"string" required:"true"` // The name of the thing type. @@ -7339,76 +7527,96 @@ func (s UpdateThingOutput) GoString() string { } const ( - // @enum AutoRegistrationStatus + // AutoRegistrationStatusEnable is a AutoRegistrationStatus enum value AutoRegistrationStatusEnable = "ENABLE" - // @enum AutoRegistrationStatus + + // AutoRegistrationStatusDisable is a AutoRegistrationStatus enum value AutoRegistrationStatusDisable = "DISABLE" ) const ( - // @enum CACertificateStatus + // CACertificateStatusActive is a CACertificateStatus enum value CACertificateStatusActive = "ACTIVE" - // @enum CACertificateStatus + + // CACertificateStatusInactive is a CACertificateStatus enum value CACertificateStatusInactive = "INACTIVE" ) const ( - // @enum CannedAccessControlList + // CannedAccessControlListPrivate is a CannedAccessControlList enum value CannedAccessControlListPrivate = "private" - // @enum CannedAccessControlList + + // CannedAccessControlListPublicRead is a CannedAccessControlList enum value CannedAccessControlListPublicRead = "public-read" - // @enum CannedAccessControlList + + // CannedAccessControlListPublicReadWrite is a CannedAccessControlList enum value CannedAccessControlListPublicReadWrite = "public-read-write" - // @enum CannedAccessControlList + + // CannedAccessControlListAwsExecRead is a CannedAccessControlList enum value CannedAccessControlListAwsExecRead = "aws-exec-read" - // @enum CannedAccessControlList + + // CannedAccessControlListAuthenticatedRead is a CannedAccessControlList enum value CannedAccessControlListAuthenticatedRead = "authenticated-read" - // @enum CannedAccessControlList + + // CannedAccessControlListBucketOwnerRead is a CannedAccessControlList enum value CannedAccessControlListBucketOwnerRead = "bucket-owner-read" - // @enum CannedAccessControlList + + // CannedAccessControlListBucketOwnerFullControl is a CannedAccessControlList enum value CannedAccessControlListBucketOwnerFullControl = "bucket-owner-full-control" - // @enum CannedAccessControlList + + // CannedAccessControlListLogDeliveryWrite is a CannedAccessControlList enum value CannedAccessControlListLogDeliveryWrite = "log-delivery-write" ) const ( - // @enum CertificateStatus + // CertificateStatusActive is a CertificateStatus enum value CertificateStatusActive = "ACTIVE" - // @enum CertificateStatus + + // CertificateStatusInactive is a CertificateStatus enum value CertificateStatusInactive = "INACTIVE" - // @enum CertificateStatus + + // CertificateStatusRevoked is a CertificateStatus enum value CertificateStatusRevoked = "REVOKED" - // @enum CertificateStatus + + // CertificateStatusPendingTransfer is a CertificateStatus enum value CertificateStatusPendingTransfer = "PENDING_TRANSFER" - // @enum CertificateStatus + + // CertificateStatusRegisterInactive is a CertificateStatus enum value CertificateStatusRegisterInactive = "REGISTER_INACTIVE" - // @enum CertificateStatus + + // CertificateStatusPendingActivation is a CertificateStatus enum value CertificateStatusPendingActivation = "PENDING_ACTIVATION" ) const ( - // @enum DynamoKeyType + // DynamoKeyTypeString is a DynamoKeyType enum value DynamoKeyTypeString = "STRING" - // @enum DynamoKeyType + + // DynamoKeyTypeNumber is a DynamoKeyType enum value DynamoKeyTypeNumber = "NUMBER" ) const ( - // @enum LogLevel + // LogLevelDebug is a LogLevel enum value LogLevelDebug = "DEBUG" - // @enum LogLevel + + // LogLevelInfo is a LogLevel enum value LogLevelInfo = "INFO" - // @enum LogLevel + + // LogLevelError is a LogLevel enum value LogLevelError = "ERROR" - // @enum LogLevel + + // LogLevelWarn is a LogLevel enum value LogLevelWarn = "WARN" - // @enum LogLevel + + // LogLevelDisabled is a LogLevel enum value LogLevelDisabled = "DISABLED" ) const ( - // @enum MessageFormat + // MessageFormatRaw is a MessageFormat enum value MessageFormatRaw = "RAW" - // @enum MessageFormat + + // MessageFormatJson is a MessageFormat enum value MessageFormatJson = "JSON" ) diff --git a/service/iotdataplane/api.go b/service/iotdataplane/api.go index f30fc62bbfe..3c730a33f8b 100644 --- a/service/iotdataplane/api.go +++ b/service/iotdataplane/api.go @@ -221,6 +221,8 @@ type DeleteThingShadowInput struct { _ struct{} `type:"structure"` // The name of the thing. + // + // ThingName is a required field ThingName *string `location:"uri" locationName:"thingName" min:"1" type:"string" required:"true"` } @@ -255,6 +257,8 @@ type DeleteThingShadowOutput struct { _ struct{} `type:"structure" payload:"Payload"` // The state information, in JSON format. + // + // Payload is a required field Payload []byte `locationName:"payload" type:"blob" required:"true"` } @@ -273,6 +277,8 @@ type GetThingShadowInput struct { _ struct{} `type:"structure"` // The name of the thing. + // + // ThingName is a required field ThingName *string `location:"uri" locationName:"thingName" min:"1" type:"string" required:"true"` } @@ -331,6 +337,8 @@ type PublishInput struct { Qos *int64 `location:"querystring" locationName:"qos" type:"integer"` // The name of the MQTT topic. + // + // Topic is a required field Topic *string `location:"uri" locationName:"topic" type:"string" required:"true"` } @@ -376,9 +384,13 @@ type UpdateThingShadowInput struct { _ struct{} `type:"structure" payload:"Payload"` // The state information, in JSON format. + // + // Payload is a required field Payload []byte `locationName:"payload" type:"blob" required:"true"` // The name of the thing. + // + // ThingName is a required field ThingName *string `location:"uri" locationName:"thingName" min:"1" type:"string" required:"true"` } diff --git a/service/kinesis/api.go b/service/kinesis/api.go index aa5d71858e3..fbf14aa3236 100644 --- a/service/kinesis/api.go +++ b/service/kinesis/api.go @@ -1293,9 +1293,13 @@ type AddTagsToStreamInput struct { _ struct{} `type:"structure"` // The name of the stream. + // + // StreamName is a required field StreamName *string `min:"1" type:"string" required:"true"` // The set of key-value pairs to use to create the tags. + // + // Tags is a required field Tags map[string]*string `min:"1" type:"map" required:"true"` } @@ -1354,6 +1358,8 @@ type CreateStreamInput struct { // provisioned throughput. // // DefaultShardLimit; + // + // ShardCount is a required field ShardCount *int64 `min:"1" type:"integer" required:"true"` // A name to identify the stream. The stream name is scoped to the AWS account @@ -1361,6 +1367,8 @@ type CreateStreamInput struct { // That is, two streams in two different AWS accounts can have the same name, // and two streams in the same AWS account but in two different regions can // have the same name. + // + // StreamName is a required field StreamName *string `min:"1" type:"string" required:"true"` } @@ -1416,9 +1424,13 @@ type DecreaseStreamRetentionPeriodInput struct { // The new retention period of the stream, in hours. Must be less than the current // retention period. + // + // RetentionPeriodHours is a required field RetentionPeriodHours *int64 `min:"24" type:"integer" required:"true"` // The name of the stream to modify. + // + // StreamName is a required field StreamName *string `min:"1" type:"string" required:"true"` } @@ -1473,6 +1485,8 @@ type DeleteStreamInput struct { _ struct{} `type:"structure"` // The name of the stream to delete. + // + // StreamName is a required field StreamName *string `min:"1" type:"string" required:"true"` } @@ -1527,6 +1541,8 @@ type DescribeStreamInput struct { Limit *int64 `min:"1" type:"integer"` // The name of the stream to describe. + // + // StreamName is a required field StreamName *string `min:"1" type:"string" required:"true"` } @@ -1568,6 +1584,8 @@ type DescribeStreamOutput struct { // The current status of the stream, the stream ARN, an array of shard objects // that comprise the stream, and states whether there are more shards available. + // + // StreamDescription is a required field StreamDescription *StreamDescription `type:"structure" required:"true"` } @@ -1595,9 +1613,13 @@ type DisableEnhancedMonitoringInput struct { // more information, see Monitoring the Amazon Kinesis Streams Service with // Amazon CloudWatch (http://docs.aws.amazon.com/kinesis/latest/dev/monitoring-with-cloudwatch.html) // in the Amazon Kinesis Streams Developer Guide. + // + // ShardLevelMetrics is a required field ShardLevelMetrics []*string `min:"1" type:"list" required:"true"` // The name of the Amazon Kinesis stream for which to disable enhanced monitoring. + // + // StreamName is a required field StreamName *string `min:"1" type:"string" required:"true"` } @@ -1647,9 +1669,13 @@ type EnableEnhancedMonitoringInput struct { // more information, see Monitoring the Amazon Kinesis Streams Service with // Amazon CloudWatch (http://docs.aws.amazon.com/kinesis/latest/dev/monitoring-with-cloudwatch.html) // in the Amazon Kinesis Streams Developer Guide. + // + // ShardLevelMetrics is a required field ShardLevelMetrics []*string `min:"1" type:"list" required:"true"` // The name of the stream for which to enable enhanced monitoring. + // + // StreamName is a required field StreamName *string `min:"1" type:"string" required:"true"` } @@ -1749,6 +1775,8 @@ type GetRecordsInput struct { // The position in the shard from which you want to start sequentially reading // data records. A shard iterator specifies this position using the sequence // number of a data record in the shard. + // + // ShardIterator is a required field ShardIterator *string `min:"1" type:"string" required:"true"` } @@ -1797,6 +1825,8 @@ type GetRecordsOutput struct { NextShardIterator *string `min:"1" type:"string"` // The data records retrieved from the shard. + // + // Records is a required field Records []*Record `type:"list" required:"true"` } @@ -1815,6 +1845,8 @@ type GetShardIteratorInput struct { _ struct{} `type:"structure"` // The shard ID of the Amazon Kinesis shard to get the iterator for. + // + // ShardId is a required field ShardId *string `min:"1" type:"string" required:"true"` // Determines how the shard iterator is used to start reading data records from @@ -1831,6 +1863,8 @@ type GetShardIteratorInput struct { // shard in the system, which is the oldest data record in the shard. LATEST // - Start reading just after the most recent record in the shard, so that you // always read the most recent data in the shard. + // + // ShardIteratorType is a required field ShardIteratorType *string `type:"string" required:"true" enum:"ShardIteratorType"` // The sequence number of the data record in the shard from which to start reading. @@ -1838,6 +1872,8 @@ type GetShardIteratorInput struct { StartingSequenceNumber *string `type:"string"` // The name of the Amazon Kinesis stream. + // + // StreamName is a required field StreamName *string `min:"1" type:"string" required:"true"` // The timestamp of the data record from which to start reading. Used with shard @@ -1911,9 +1947,13 @@ type HashKeyRange struct { _ struct{} `type:"structure"` // The ending hash key of the hash key range. + // + // EndingHashKey is a required field EndingHashKey *string `type:"string" required:"true"` // The starting hash key of the hash key range. + // + // StartingHashKey is a required field StartingHashKey *string `type:"string" required:"true"` } @@ -1933,9 +1973,13 @@ type IncreaseStreamRetentionPeriodInput struct { // The new retention period of the stream, in hours. Must be more than the current // retention period. + // + // RetentionPeriodHours is a required field RetentionPeriodHours *int64 `min:"24" type:"integer" required:"true"` // The name of the stream to modify. + // + // StreamName is a required field StreamName *string `min:"1" type:"string" required:"true"` } @@ -2027,10 +2071,14 @@ type ListStreamsOutput struct { _ struct{} `type:"structure"` // If set to true, there are more streams available to list. + // + // HasMoreStreams is a required field HasMoreStreams *bool `type:"boolean" required:"true"` // The names of the streams that are associated with the AWS account making // the ListStreams request. + // + // StreamNames is a required field StreamNames []*string `type:"list" required:"true"` } @@ -2058,6 +2106,8 @@ type ListTagsForStreamInput struct { Limit *int64 `min:"1" type:"integer"` // The name of the stream. + // + // StreamName is a required field StreamName *string `min:"1" type:"string" required:"true"` } @@ -2099,10 +2149,14 @@ type ListTagsForStreamOutput struct { // If set to true, more tags are available. To request additional tags, set // ExclusiveStartTagKey to the key of the last tag returned. + // + // HasMoreTags is a required field HasMoreTags *bool `type:"boolean" required:"true"` // A list of tags associated with StreamName, starting with the first tag after // ExclusiveStartTagKey and up to the specified Limit. + // + // Tags is a required field Tags []*Tag `type:"list" required:"true"` } @@ -2121,12 +2175,18 @@ type MergeShardsInput struct { _ struct{} `type:"structure"` // The shard ID of the adjacent shard for the merge. + // + // AdjacentShardToMerge is a required field AdjacentShardToMerge *string `min:"1" type:"string" required:"true"` // The shard ID of the shard to combine with the adjacent shard for the merge. + // + // ShardToMerge is a required field ShardToMerge *string `min:"1" type:"string" required:"true"` // The name of the stream for the merge. + // + // StreamName is a required field StreamName *string `min:"1" type:"string" required:"true"` } @@ -2192,6 +2252,8 @@ type PutRecordInput struct { // record size (1 MB). // // Data is automatically base64 encoded/decoded by the SDK. + // + // Data is a required field Data []byte `type:"blob" required:"true"` // The hash value used to explicitly determine the shard the data record is @@ -2206,6 +2268,8 @@ type PutRecordInput struct { // and to map associated data records to shards. As a result of this hashing // mechanism, all data records with the same partition key map to the same shard // within the stream. + // + // PartitionKey is a required field PartitionKey *string `min:"1" type:"string" required:"true"` // Guarantees strictly increasing sequence numbers, for puts from the same client @@ -2216,6 +2280,8 @@ type PutRecordInput struct { SequenceNumberForOrdering *string `type:"string"` // The name of the stream to put the data record into. + // + // StreamName is a required field StreamName *string `min:"1" type:"string" required:"true"` } @@ -2262,9 +2328,13 @@ type PutRecordOutput struct { // The sequence number for the record is unique across all records in the stream. // A sequence number is the identifier associated with every record put into // the stream. + // + // SequenceNumber is a required field SequenceNumber *string `type:"string" required:"true"` // The shard ID of the shard where the data record was placed. + // + // ShardId is a required field ShardId *string `min:"1" type:"string" required:"true"` } @@ -2283,9 +2353,13 @@ type PutRecordsInput struct { _ struct{} `type:"structure"` // The records associated with the request. + // + // Records is a required field Records []*PutRecordsRequestEntry `min:"1" type:"list" required:"true"` // The stream name associated with the request. + // + // StreamName is a required field StreamName *string `min:"1" type:"string" required:"true"` } @@ -2343,6 +2417,8 @@ type PutRecordsOutput struct { // to a stream includes SequenceNumber and ShardId in the result. A record that // fails to be added to a stream includes ErrorCode and ErrorMessage in the // result. + // + // Records is a required field Records []*PutRecordsResultEntry `min:"1" type:"list" required:"true"` } @@ -2366,6 +2442,8 @@ type PutRecordsRequestEntry struct { // record size (1 MB). // // Data is automatically base64 encoded/decoded by the SDK. + // + // Data is a required field Data []byte `type:"blob" required:"true"` // The hash value used to determine explicitly the shard that the data record @@ -2380,6 +2458,8 @@ type PutRecordsRequestEntry struct { // and to map associated data records to shards. As a result of this hashing // mechanism, all data records with the same partition key map to the same shard // within the stream. + // + // PartitionKey is a required field PartitionKey *string `min:"1" type:"string" required:"true"` } @@ -2461,12 +2541,18 @@ type Record struct { // record size (1 MB). // // Data is automatically base64 encoded/decoded by the SDK. + // + // Data is a required field Data []byte `type:"blob" required:"true"` // Identifies which shard in the stream the data record is assigned to. + // + // PartitionKey is a required field PartitionKey *string `min:"1" type:"string" required:"true"` // The unique identifier of the record in the stream. + // + // SequenceNumber is a required field SequenceNumber *string `type:"string" required:"true"` } @@ -2485,9 +2571,13 @@ type RemoveTagsFromStreamInput struct { _ struct{} `type:"structure"` // The name of the stream. + // + // StreamName is a required field StreamName *string `min:"1" type:"string" required:"true"` // A list of tag keys. Each corresponding tag is removed from the stream. + // + // TagKeys is a required field TagKeys []*string `min:"1" type:"list" required:"true"` } @@ -2546,6 +2636,8 @@ type SequenceNumberRange struct { EndingSequenceNumber *string `type:"string"` // The starting sequence number for the range. + // + // StartingSequenceNumber is a required field StartingSequenceNumber *string `type:"string" required:"true"` } @@ -2568,15 +2660,21 @@ type Shard struct { // The range of possible hash key values for the shard, which is a set of ordered // contiguous positive integers. + // + // HashKeyRange is a required field HashKeyRange *HashKeyRange `type:"structure" required:"true"` // The shard ID of the shard's parent. ParentShardId *string `min:"1" type:"string"` // The range of possible sequence numbers for the shard. + // + // SequenceNumberRange is a required field SequenceNumberRange *SequenceNumberRange `type:"structure" required:"true"` // The unique identifier of the shard within the stream. + // + // ShardId is a required field ShardId *string `min:"1" type:"string" required:"true"` } @@ -2601,12 +2699,18 @@ type SplitShardInput struct { // hash key value and all higher hash key values in hash key range are distributed // to one of the child shards. All the lower hash key values in the range are // distributed to the other child shard. + // + // NewStartingHashKey is a required field NewStartingHashKey *string `type:"string" required:"true"` // The shard ID of the shard to split. + // + // ShardToSplit is a required field ShardToSplit *string `min:"1" type:"string" required:"true"` // The name of the stream for the shard split. + // + // StreamName is a required field StreamName *string `min:"1" type:"string" required:"true"` } @@ -2664,21 +2768,33 @@ type StreamDescription struct { _ struct{} `type:"structure"` // Represents the current enhanced monitoring settings of the stream. + // + // EnhancedMonitoring is a required field EnhancedMonitoring []*EnhancedMetrics `type:"list" required:"true"` // If set to true, more shards in the stream are available to describe. + // + // HasMoreShards is a required field HasMoreShards *bool `type:"boolean" required:"true"` // The current retention period, in hours. + // + // RetentionPeriodHours is a required field RetentionPeriodHours *int64 `min:"24" type:"integer" required:"true"` // The shards that comprise the stream. + // + // Shards is a required field Shards []*Shard `type:"list" required:"true"` // The Amazon Resource Name (ARN) for the stream being described. + // + // StreamARN is a required field StreamARN *string `type:"string" required:"true"` // The name of the stream being described. + // + // StreamName is a required field StreamName *string `min:"1" type:"string" required:"true"` // The current status of the stream being described. The stream status is one @@ -2692,6 +2808,8 @@ type StreamDescription struct { // on an ACTIVE stream. UPDATING - Shards in the stream are being merged or // split. Read and write operations continue to work while the stream is in // the UPDATING state. + // + // StreamStatus is a required field StreamStatus *string `type:"string" required:"true" enum:"StreamStatus"` } @@ -2711,6 +2829,8 @@ type Tag struct { // A unique identifier for the tag. Maximum length: 128 characters. Valid characters: // Unicode letters, digits, white space, _ . / = + - % @ + // + // Key is a required field Key *string `min:"1" type:"string" required:"true"` // An optional string, typically used to describe or define the tag. Maximum @@ -2730,44 +2850,58 @@ func (s Tag) GoString() string { } const ( - // @enum MetricsName + // MetricsNameIncomingBytes is a MetricsName enum value MetricsNameIncomingBytes = "IncomingBytes" - // @enum MetricsName + + // MetricsNameIncomingRecords is a MetricsName enum value MetricsNameIncomingRecords = "IncomingRecords" - // @enum MetricsName + + // MetricsNameOutgoingBytes is a MetricsName enum value MetricsNameOutgoingBytes = "OutgoingBytes" - // @enum MetricsName + + // MetricsNameOutgoingRecords is a MetricsName enum value MetricsNameOutgoingRecords = "OutgoingRecords" - // @enum MetricsName + + // MetricsNameWriteProvisionedThroughputExceeded is a MetricsName enum value MetricsNameWriteProvisionedThroughputExceeded = "WriteProvisionedThroughputExceeded" - // @enum MetricsName + + // MetricsNameReadProvisionedThroughputExceeded is a MetricsName enum value MetricsNameReadProvisionedThroughputExceeded = "ReadProvisionedThroughputExceeded" - // @enum MetricsName + + // MetricsNameIteratorAgeMilliseconds is a MetricsName enum value MetricsNameIteratorAgeMilliseconds = "IteratorAgeMilliseconds" - // @enum MetricsName + + // MetricsNameAll is a MetricsName enum value MetricsNameAll = "ALL" ) const ( - // @enum ShardIteratorType + // ShardIteratorTypeAtSequenceNumber is a ShardIteratorType enum value ShardIteratorTypeAtSequenceNumber = "AT_SEQUENCE_NUMBER" - // @enum ShardIteratorType + + // ShardIteratorTypeAfterSequenceNumber is a ShardIteratorType enum value ShardIteratorTypeAfterSequenceNumber = "AFTER_SEQUENCE_NUMBER" - // @enum ShardIteratorType + + // ShardIteratorTypeTrimHorizon is a ShardIteratorType enum value ShardIteratorTypeTrimHorizon = "TRIM_HORIZON" - // @enum ShardIteratorType + + // ShardIteratorTypeLatest is a ShardIteratorType enum value ShardIteratorTypeLatest = "LATEST" - // @enum ShardIteratorType + + // ShardIteratorTypeAtTimestamp is a ShardIteratorType enum value ShardIteratorTypeAtTimestamp = "AT_TIMESTAMP" ) const ( - // @enum StreamStatus + // StreamStatusCreating is a StreamStatus enum value StreamStatusCreating = "CREATING" - // @enum StreamStatus + + // StreamStatusDeleting is a StreamStatus enum value StreamStatusDeleting = "DELETING" - // @enum StreamStatus + + // StreamStatusActive is a StreamStatus enum value StreamStatusActive = "ACTIVE" - // @enum StreamStatus + + // StreamStatusUpdating is a StreamStatus enum value StreamStatusUpdating = "UPDATING" ) diff --git a/service/kinesis/waiters.go b/service/kinesis/waiters.go index 383a2e0b73d..c1f56d6c16a 100644 --- a/service/kinesis/waiters.go +++ b/service/kinesis/waiters.go @@ -6,6 +6,10 @@ import ( "github.com/aws/aws-sdk-go/private/waiter" ) +// WaitUntilStreamExists uses the Kinesis API operation +// DescribeStream to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *Kinesis) WaitUntilStreamExists(input *DescribeStreamInput) error { waiterCfg := waiter.Config{ Operation: "DescribeStream", diff --git a/service/kinesisanalytics/api.go b/service/kinesisanalytics/api.go index fea1f28dbbe..3a2e1550b29 100644 --- a/service/kinesisanalytics/api.go +++ b/service/kinesisanalytics/api.go @@ -790,15 +790,21 @@ type AddApplicationInputInput struct { // Name of your existing Amazon Kinesis Analytics application to which you want // to add the streaming source. + // + // ApplicationName is a required field ApplicationName *string `min:"1" type:"string" required:"true"` // Current version of your Amazon Kinesis Analytics application. You can use // the DescribeApplication operation to find the current application version. + // + // CurrentApplicationVersionId is a required field CurrentApplicationVersionId *int64 `min:"1" type:"long" required:"true"` // When you configure the application input, you specify the streaming source, // the in-application stream name that is created, and the mapping between the // two. For more information, see Configuring Application Input (http://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-input.html). + // + // Input is a required field Input *Input `type:"structure" required:"true"` } @@ -860,18 +866,24 @@ type AddApplicationOutputInput struct { _ struct{} `type:"structure"` // Name of the application to which you want to add the output configuration. + // + // ApplicationName is a required field ApplicationName *string `min:"1" type:"string" required:"true"` // Version of the application to which you want add the output configuration. // You can use the DescribeApplication operation to get the current application // version. If the version specified is not the current version, the ConcurrentModificationException // is returned. + // + // CurrentApplicationVersionId is a required field CurrentApplicationVersionId *int64 `min:"1" type:"long" required:"true"` // An array of objects, each describing one output configuration. In the output // configuration, you specify the name of an in-application stream, a destination // (that is, an Amazon Kinesis stream or an Amazon Kinesis Firehose delivery // stream), and record the formation to use when writing to the destination. + // + // Output is a required field Output *Output `type:"structure" required:"true"` } @@ -933,12 +945,16 @@ type AddApplicationReferenceDataSourceInput struct { _ struct{} `type:"structure"` // Name of an existing application. + // + // ApplicationName is a required field ApplicationName *string `min:"1" type:"string" required:"true"` // Version of the application for which you are adding the reference data source. // You can use the DescribeApplication operation to get the current application // version. If the version specified is not the current version, the ConcurrentModificationException // is returned. + // + // CurrentApplicationVersionId is a required field CurrentApplicationVersionId *int64 `min:"1" type:"long" required:"true"` // The reference data source can be an object in your Amazon S3 bucket. Amazon @@ -947,6 +963,8 @@ type AddApplicationReferenceDataSourceInput struct { // resulting in-application table that is created. You must also provide an // IAM role with the necessary permissions that Amazon Kinesis Analytics can // assume to read the object from your S3 bucket on your behalf. + // + // ReferenceDataSource is a required field ReferenceDataSource *ReferenceDataSource `type:"structure" required:"true"` } @@ -1010,6 +1028,8 @@ type ApplicationDetail struct { _ struct{} `type:"structure"` // ARN of the application. + // + // ApplicationARN is a required field ApplicationARN *string `min:"1" type:"string" required:"true"` // Returns the application code that you provided to perform data analysis on @@ -1020,12 +1040,18 @@ type ApplicationDetail struct { ApplicationDescription *string `type:"string"` // Name of the application. + // + // ApplicationName is a required field ApplicationName *string `min:"1" type:"string" required:"true"` // Status of the application. + // + // ApplicationStatus is a required field ApplicationStatus *string `type:"string" required:"true" enum:"ApplicationStatus"` // Provides the current application version. + // + // ApplicationVersionId is a required field ApplicationVersionId *int64 `min:"1" type:"long" required:"true"` // Timestamp when the application version was created. @@ -1063,12 +1089,18 @@ type ApplicationSummary struct { _ struct{} `type:"structure"` // ARN of the application. + // + // ApplicationARN is a required field ApplicationARN *string `min:"1" type:"string" required:"true"` // Name of the application. + // + // ApplicationName is a required field ApplicationName *string `min:"1" type:"string" required:"true"` // Status of the application. + // + // ApplicationStatus is a required field ApplicationStatus *string `type:"string" required:"true" enum:"ApplicationStatus"` } @@ -1162,9 +1194,13 @@ type CSVMappingParameters struct { // Column delimiter. For example, in a CSV format, a comma (",") is the typical // column delimiter. + // + // RecordColumnDelimiter is a required field RecordColumnDelimiter *string `type:"string" required:"true"` // Row delimiter. For example, in a CSV format, '\n' is the typical row delimiter. + // + // RecordRowDelimiter is a required field RecordRowDelimiter *string `type:"string" required:"true"` } @@ -1216,6 +1252,8 @@ type CreateApplicationInput struct { ApplicationDescription *string `type:"string"` // Name of your Amazon Kinesis Analytics application (for example, sample-app). + // + // ApplicationName is a required field ApplicationName *string `min:"1" type:"string" required:"true"` // Use this parameter to configure the application input. @@ -1307,6 +1345,8 @@ type CreateApplicationOutput struct { // In response to your CreateApplication request, Amazon Kinesis Analytics returns // a response with a summary of the application it created, including the application // Amazon Resource Name (ARN), name, and status. + // + // ApplicationSummary is a required field ApplicationSummary *ApplicationSummary `type:"structure" required:"true"` } @@ -1324,9 +1364,13 @@ type DeleteApplicationInput struct { _ struct{} `type:"structure"` // Name of the Amazon Kinesis Analytics application to delete. + // + // ApplicationName is a required field ApplicationName *string `min:"1" type:"string" required:"true"` // You can use the DescribeApplication operation to get this value. + // + // CreateTimestamp is a required field CreateTimestamp *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"` } @@ -1377,11 +1421,15 @@ type DeleteApplicationOutputInput struct { _ struct{} `type:"structure"` // Amazon Kinesis Analytics application name. + // + // ApplicationName is a required field ApplicationName *string `min:"1" type:"string" required:"true"` // Amazon Kinesis Analytics application version. You can use the DescribeApplication // operation to get the current application version. If the version specified // is not the current version, the ConcurrentModificationException is returned. + // + // CurrentApplicationVersionId is a required field CurrentApplicationVersionId *int64 `min:"1" type:"long" required:"true"` // The ID of the configuration to delete. Each output configuration that is @@ -1390,6 +1438,8 @@ type DeleteApplicationOutputInput struct { // the ID to uniquely identify the output configuration that you want to delete // from the application configuration. You can use the DescribeApplication operation // to get the specific OutputId. + // + // OutputId is a required field OutputId *string `min:"1" type:"string" required:"true"` } @@ -1449,17 +1499,23 @@ type DeleteApplicationReferenceDataSourceInput struct { _ struct{} `type:"structure"` // Name of an existing application. + // + // ApplicationName is a required field ApplicationName *string `min:"1" type:"string" required:"true"` // Version of the application. You can use the DescribeApplication operation // to get the current application version. If the version specified is not the // current version, the ConcurrentModificationException is returned. + // + // CurrentApplicationVersionId is a required field CurrentApplicationVersionId *int64 `min:"1" type:"long" required:"true"` // ID of the reference data source. When you add a reference data source to // your application using the AddApplicationReferenceDataSource, Amazon Kinesis // Analytics assigns an ID. You can use the DescribeApplication operation to // get the reference ID. + // + // ReferenceId is a required field ReferenceId *string `min:"1" type:"string" required:"true"` } @@ -1519,6 +1575,8 @@ type DescribeApplicationInput struct { _ struct{} `type:"structure"` // Name of the application. + // + // ApplicationName is a required field ApplicationName *string `min:"1" type:"string" required:"true"` } @@ -1554,6 +1612,8 @@ type DescribeApplicationOutput struct { // Provides a description of the application, such as the application Amazon // Resource Name (ARN), status, latest version, and input and output configuration // details. + // + // ApplicationDetail is a required field ApplicationDetail *ApplicationDetail `type:"structure" required:"true"` } @@ -1591,13 +1651,19 @@ type DiscoverInputSchemaInput struct { // Point at which you want Amazon Kinesis Analytics to start reading records // from the specified streaming source discovery purposes. + // + // InputStartingPositionConfiguration is a required field InputStartingPositionConfiguration *InputStartingPositionConfiguration `type:"structure" required:"true"` // Amazon Resource Name (ARN) of the streaming source. + // + // ResourceARN is a required field ResourceARN *string `min:"1" type:"string" required:"true"` // ARN of the IAM role that Amazon Kinesis Analytics can assume to access the // stream on your behalf. + // + // RoleARN is a required field RoleARN *string `min:"1" type:"string" required:"true"` } @@ -1697,6 +1763,8 @@ type Input struct { // or more (as per the InputParallelism count you specified) in-application // streams with names "MyInApplicationStream_001", "MyInApplicationStream_002" // and so on. + // + // NamePrefix is a required field NamePrefix *string `min:"1" type:"string" required:"true"` } @@ -1753,10 +1821,14 @@ type InputConfiguration struct { _ struct{} `type:"structure"` // Input source ID. You can get this ID by calling the DescribeApplication operation. + // + // Id is a required field Id *string `min:"1" type:"string" required:"true"` // Point at which you want the application to start processing records from // the streaming source. + // + // InputStartingPositionConfiguration is a required field InputStartingPositionConfiguration *InputStartingPositionConfiguration `type:"structure" required:"true"` } @@ -1990,6 +2062,8 @@ type InputUpdate struct { _ struct{} `type:"structure"` // Input ID of the application input to be updated. + // + // InputId is a required field InputId *string `min:"1" type:"string" required:"true"` // Describes the parallelism updates (the number in-application streams Kinesis @@ -2075,6 +2149,8 @@ type JSONMappingParameters struct { // // In the RecordRowPath, "$" refers to the root and path "$.vehicle.Model" // refers to the specific "Model" key in the JSON. + // + // RecordRowPath is a required field RecordRowPath *string `type:"string" required:"true"` } @@ -2109,11 +2185,15 @@ type KinesisFirehoseInput struct { _ struct{} `type:"structure"` // ARN of the input Firehose delivery stream. + // + // ResourceARN is a required field ResourceARN *string `min:"1" type:"string" required:"true"` // ARN of the IAM role that Amazon Kinesis Analytics can assume to access the // stream on your behalf. You need to make sure the role has necessary permissions // to access the stream. + // + // RoleARN is a required field RoleARN *string `min:"1" type:"string" required:"true"` } @@ -2219,11 +2299,15 @@ type KinesisFirehoseOutput struct { _ struct{} `type:"structure"` // ARN of the destination Amazon Kinesis Firehose delivery stream to write to. + // + // ResourceARN is a required field ResourceARN *string `min:"1" type:"string" required:"true"` // ARN of the IAM role that Amazon Kinesis Analytics can assume to write to // the destination stream on your behalf. You need to grant the necessary permissions // to this role. + // + // RoleARN is a required field RoleARN *string `min:"1" type:"string" required:"true"` } @@ -2330,11 +2414,15 @@ type KinesisStreamsInput struct { _ struct{} `type:"structure"` // ARN of the input Amazon Kinesis stream to read. + // + // ResourceARN is a required field ResourceARN *string `min:"1" type:"string" required:"true"` // ARN of the IAM role that Amazon Kinesis Analytics can assume to access the // stream on your behalf. You need to grant the necessary permissions to this // role. + // + // RoleARN is a required field RoleARN *string `min:"1" type:"string" required:"true"` } @@ -2441,11 +2529,15 @@ type KinesisStreamsOutput struct { _ struct{} `type:"structure"` // ARN of the destination Amazon Kinesis stream to write to. + // + // ResourceARN is a required field ResourceARN *string `min:"1" type:"string" required:"true"` // ARN of the IAM role that Amazon Kinesis Analytics can assume to write to // the destination stream on your behalf. You need to grant the necessary permissions // to this role. + // + // RoleARN is a required field RoleARN *string `min:"1" type:"string" required:"true"` } @@ -2588,9 +2680,13 @@ type ListApplicationsOutput struct { _ struct{} `type:"structure"` // List of ApplicationSummary objects. + // + // ApplicationSummaries is a required field ApplicationSummaries []*ApplicationSummary `type:"list" required:"true"` // Returns true if there are more applications to retrieve. + // + // HasMoreApplications is a required field HasMoreApplications *bool `type:"boolean" required:"true"` } @@ -2661,6 +2757,8 @@ type Output struct { // Describes the data format when records are written to the destination. For // more information, see Configuring Application Output (http://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-output.html). + // + // DestinationSchema is a required field DestinationSchema *DestinationSchema `type:"structure" required:"true"` // Identifies an Amazon Kinesis Firehose delivery stream as the destination. @@ -2670,6 +2768,8 @@ type Output struct { KinesisStreamsOutput *KinesisStreamsOutput `type:"structure"` // Name of the in-application stream. + // + // Name is a required field Name *string `min:"1" type:"string" required:"true"` } @@ -2766,6 +2866,8 @@ type OutputUpdate struct { NameUpdate *string `min:"1" type:"string"` // Identifies the specific output configuration that you want to update. + // + // OutputId is a required field OutputId *string `min:"1" type:"string" required:"true"` } @@ -2821,9 +2923,13 @@ type RecordColumn struct { // Name of the column created in the in-application input stream or reference // table. + // + // Name is a required field Name *string `type:"string" required:"true"` // Type of column created in the in-application input stream or reference table. + // + // SqlType is a required field SqlType *string `type:"string" required:"true"` } @@ -2865,6 +2971,8 @@ type RecordFormat struct { MappingParameters *MappingParameters `type:"structure"` // The type of record format. + // + // RecordFormatType is a required field RecordFormatType *string `type:"string" required:"true" enum:"RecordFormatType"` } @@ -2905,6 +3013,8 @@ type ReferenceDataSource struct { // Describes the format of the data in the streaming source, and how each data // element maps to corresponding columns created in the in-application stream. + // + // ReferenceSchema is a required field ReferenceSchema *SourceSchema `type:"structure" required:"true"` // Identifies the S3 bucket and object that contains the reference data. Also @@ -2917,6 +3027,8 @@ type ReferenceDataSource struct { S3ReferenceDataSource *S3ReferenceDataSource `type:"structure"` // Name of the in-application table to create. + // + // TableName is a required field TableName *string `min:"1" type:"string" required:"true"` } @@ -2966,6 +3078,8 @@ type ReferenceDataSourceDescription struct { // ID of the reference data source. This is the ID that Amazon Kinesis Analytics // assigns when you add the reference data source to your application using // the AddApplicationReferenceDataSource operation. + // + // ReferenceId is a required field ReferenceId *string `min:"1" type:"string" required:"true"` // Describes the format of the data in the streaming source, and how each data @@ -2976,10 +3090,14 @@ type ReferenceDataSourceDescription struct { // data. It also provides the Amazon Resource Name (ARN) of the IAM role that // Amazon Kinesis Analytics can assume to read the Amazon S3 object and populate // the in-application reference table. + // + // S3ReferenceDataSourceDescription is a required field S3ReferenceDataSourceDescription *S3ReferenceDataSourceDescription `type:"structure" required:"true"` // The in-application table name created by the specific reference data source // configuration. + // + // TableName is a required field TableName *string `min:"1" type:"string" required:"true"` } @@ -3003,6 +3121,8 @@ type ReferenceDataSourceUpdate struct { // ID of the reference data source being updated. You can use the DescribeApplication // operation to get this value. + // + // ReferenceId is a required field ReferenceId *string `min:"1" type:"string" required:"true"` // Describes the format of the data in the streaming source, and how each data @@ -3068,15 +3188,21 @@ type S3ReferenceDataSource struct { _ struct{} `type:"structure"` // Amazon Resource Name (ARN) of the S3 bucket. + // + // BucketARN is a required field BucketARN *string `min:"1" type:"string" required:"true"` // Object key name containing reference data. + // + // FileKey is a required field FileKey *string `type:"string" required:"true"` // ARN of the IAM role that the service can assume to read data on your behalf. // This role must have permission for the s3:GetObject action on the object // and trust policy that allows Amazon Kinesis Analytics service principal to // assume this role. + // + // ReferenceRoleARN is a required field ReferenceRoleARN *string `min:"1" type:"string" required:"true"` } @@ -3120,14 +3246,20 @@ type S3ReferenceDataSourceDescription struct { _ struct{} `type:"structure"` // Amazon Resource Name (ARN) of the S3 bucket. + // + // BucketARN is a required field BucketARN *string `min:"1" type:"string" required:"true"` // Amazon S3 object key name. + // + // FileKey is a required field FileKey *string `type:"string" required:"true"` // ARN of the IAM role that Amazon Kinesis Analytics can assume to read the // Amazon S3 object on your behalf to populate the in-application reference // table. + // + // ReferenceRoleARN is a required field ReferenceRoleARN *string `min:"1" type:"string" required:"true"` } @@ -3190,6 +3322,8 @@ type SourceSchema struct { _ struct{} `type:"structure"` // A list of RecordColumn objects. + // + // RecordColumns is a required field RecordColumns []*RecordColumn `min:"1" type:"list" required:"true"` // Specifies the encoding of the records in the streaming source. For example, @@ -3197,6 +3331,8 @@ type SourceSchema struct { RecordEncoding *string `type:"string"` // Specifies the format of the records on the streaming source. + // + // RecordFormat is a required field RecordFormat *RecordFormat `type:"structure" required:"true"` } @@ -3248,12 +3384,16 @@ type StartApplicationInput struct { _ struct{} `type:"structure"` // Name of the application. + // + // ApplicationName is a required field ApplicationName *string `min:"1" type:"string" required:"true"` // Identifies the specific input, by ID, that the application starts consuming. // Amazon Kinesis Analytics starts reading the streaming source associated with // the input. You can also specify where in the streaming source you want Amazon // Kinesis Analytics to start reading. + // + // InputConfigurations is a required field InputConfigurations []*InputConfiguration `type:"list" required:"true"` } @@ -3314,6 +3454,8 @@ type StopApplicationInput struct { _ struct{} `type:"structure"` // Name of the running application to stop. + // + // ApplicationName is a required field ApplicationName *string `min:"1" type:"string" required:"true"` } @@ -3361,13 +3503,19 @@ type UpdateApplicationInput struct { _ struct{} `type:"structure"` // Name of the Kinesis Analytics application to update. + // + // ApplicationName is a required field ApplicationName *string `min:"1" type:"string" required:"true"` // Describes application updates. + // + // ApplicationUpdate is a required field ApplicationUpdate *ApplicationUpdate `type:"structure" required:"true"` // The current application version ID. You can use the DescribeApplication operation // to get this value. + // + // CurrentApplicationVersionId is a required field CurrentApplicationVersionId *int64 `min:"1" type:"long" required:"true"` } @@ -3426,32 +3574,40 @@ func (s UpdateApplicationOutput) GoString() string { } const ( - // @enum ApplicationStatus + // ApplicationStatusDeleting is a ApplicationStatus enum value ApplicationStatusDeleting = "DELETING" - // @enum ApplicationStatus + + // ApplicationStatusStarting is a ApplicationStatus enum value ApplicationStatusStarting = "STARTING" - // @enum ApplicationStatus + + // ApplicationStatusStopping is a ApplicationStatus enum value ApplicationStatusStopping = "STOPPING" - // @enum ApplicationStatus + + // ApplicationStatusReady is a ApplicationStatus enum value ApplicationStatusReady = "READY" - // @enum ApplicationStatus + + // ApplicationStatusRunning is a ApplicationStatus enum value ApplicationStatusRunning = "RUNNING" - // @enum ApplicationStatus + + // ApplicationStatusUpdating is a ApplicationStatus enum value ApplicationStatusUpdating = "UPDATING" ) const ( - // @enum InputStartingPosition + // InputStartingPositionNow is a InputStartingPosition enum value InputStartingPositionNow = "NOW" - // @enum InputStartingPosition + + // InputStartingPositionTrimHorizon is a InputStartingPosition enum value InputStartingPositionTrimHorizon = "TRIM_HORIZON" - // @enum InputStartingPosition + + // InputStartingPositionLastStoppedPoint is a InputStartingPosition enum value InputStartingPositionLastStoppedPoint = "LAST_STOPPED_POINT" ) const ( - // @enum RecordFormatType + // RecordFormatTypeJson is a RecordFormatType enum value RecordFormatTypeJson = "JSON" - // @enum RecordFormatType + + // RecordFormatTypeCsv is a RecordFormatType enum value RecordFormatTypeCsv = "CSV" ) diff --git a/service/kms/api.go b/service/kms/api.go index 0755202874c..4c0e214c193 100644 --- a/service/kms/api.go +++ b/service/kms/api.go @@ -1967,6 +1967,8 @@ type CancelKeyDeletionInput struct { // // To obtain the unique key ID and key ARN for a given CMK, use ListKeys // or DescribeKey. + // + // KeyId is a required field KeyId *string `min:"1" type:"string" required:"true"` } @@ -2019,6 +2021,8 @@ type CreateAliasInput struct { // String that contains the display name. The name must start with the word // "alias" followed by a forward slash (alias/). Aliases that begin with "alias/AWS" // are reserved. + // + // AliasName is a required field AliasName *string `min:"1" type:"string" required:"true"` // An identifier of the key for which you are creating the alias. This value @@ -2028,6 +2032,8 @@ type CreateAliasInput struct { // Key ARN Example - arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012 // // Globally Unique Key ID Example - 12345678-1234-1234-1234-123456789012 + // + // TargetKeyId is a required field TargetKeyId *string `min:"1" type:"string" required:"true"` } @@ -2103,6 +2109,8 @@ type CreateGrantInput struct { // to use for specifying a principal, see AWS Identity and Access Management // (IAM) (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-iam) // in the Example ARNs section of the AWS General Reference. + // + // GranteePrincipal is a required field GranteePrincipal *string `min:"1" type:"string" required:"true"` // The unique identifier for the customer master key (CMK) that the grant applies @@ -2114,6 +2122,8 @@ type CreateGrantInput struct { // Globally unique key ID: 12345678-1234-1234-1234-123456789012 // // Key ARN: arn:aws:kms:us-west-2:123456789012:key/12345678-1234-1234-1234-123456789012 + // + // KeyId is a required field KeyId *string `min:"1" type:"string" required:"true"` // A friendly name for identifying the grant. Use this value to prevent unintended @@ -2341,6 +2351,8 @@ type DecryptInput struct { // Ciphertext to be decrypted. The blob includes metadata. // // CiphertextBlob is automatically base64 encoded/decoded by the SDK. + // + // CiphertextBlob is a required field CiphertextBlob []byte `min:"1" type:"blob" required:"true"` // The encryption context. If this was specified in the Encrypt function, it @@ -2410,6 +2422,8 @@ type DeleteAliasInput struct { // The alias to be deleted. The name must start with the word "alias" followed // by a forward slash (alias/). Aliases that begin with "alias/AWS" are reserved. + // + // AliasName is a required field AliasName *string `min:"1" type:"string" required:"true"` } @@ -2465,6 +2479,8 @@ type DeleteImportedKeyMaterialInput struct { // Unique key ID: 1234abcd-12ab-34cd-56ef-1234567890ab // // Key ARN: arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab + // + // KeyId is a required field KeyId *string `min:"1" type:"string" required:"true"` } @@ -2528,6 +2544,8 @@ type DescribeKeyInput struct { // Globally Unique Key ID Example - 12345678-1234-1234-1234-123456789012 // // Alias Name Example - alias/MyAliasName + // + // KeyId is a required field KeyId *string `min:"1" type:"string" required:"true"` } @@ -2584,6 +2602,8 @@ type DisableKeyInput struct { // Unique ID: 1234abcd-12ab-34cd-56ef-1234567890ab // // ARN: arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab + // + // KeyId is a required field KeyId *string `min:"1" type:"string" required:"true"` } @@ -2636,6 +2656,8 @@ type DisableKeyRotationInput struct { // Key ARN Example - arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012 // // Globally Unique Key ID Example - 12345678-1234-1234-1234-123456789012 + // + // KeyId is a required field KeyId *string `min:"1" type:"string" required:"true"` } @@ -2688,6 +2710,8 @@ type EnableKeyInput struct { // Key ARN Example - arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012 // // Globally Unique Key ID Example - 12345678-1234-1234-1234-123456789012 + // + // KeyId is a required field KeyId *string `min:"1" type:"string" required:"true"` } @@ -2740,6 +2764,8 @@ type EnableKeyRotationInput struct { // Key ARN Example - arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012 // // Globally Unique Key ID Example - 12345678-1234-1234-1234-123456789012 + // + // KeyId is a required field KeyId *string `min:"1" type:"string" required:"true"` } @@ -2809,11 +2835,15 @@ type EncryptInput struct { // Globally Unique Key ID Example - 12345678-1234-1234-1234-123456789012 // // Alias Name Example - alias/MyAliasName + // + // KeyId is a required field KeyId *string `min:"1" type:"string" required:"true"` // Data to be encrypted. // // Plaintext is automatically base64 encoded/decoded by the SDK. + // + // Plaintext is a required field Plaintext []byte `min:"1" type:"blob" required:"true"` } @@ -2901,6 +2931,8 @@ type GenerateDataKeyInput struct { // Alias name: alias/ExampleAlias // // Alias ARN: arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias + // + // KeyId is a required field KeyId *string `min:"1" type:"string" required:"true"` // The length of the data encryption key. Use AES_128 to generate a 128-bit @@ -3001,6 +3033,8 @@ type GenerateDataKeyWithoutPlaintextInput struct { // Alias name: alias/ExampleAlias // // Alias ARN: arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias + // + // KeyId is a required field KeyId *string `min:"1" type:"string" required:"true"` // The length of the data encryption key. Use AES_128 to generate a 128-bit @@ -3124,10 +3158,14 @@ type GetKeyPolicyInput struct { // Key ARN Example - arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012 // // Globally Unique Key ID Example - 12345678-1234-1234-1234-123456789012 + // + // KeyId is a required field KeyId *string `min:"1" type:"string" required:"true"` // String that contains the name of the policy. Currently, this must be "default". // Policy names can be discovered by calling ListKeyPolicies. + // + // PolicyName is a required field PolicyName *string `min:"1" type:"string" required:"true"` } @@ -3189,6 +3227,8 @@ type GetKeyRotationStatusInput struct { // Key ARN Example - arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012 // // Globally Unique Key ID Example - 12345678-1234-1234-1234-123456789012 + // + // KeyId is a required field KeyId *string `min:"1" type:"string" required:"true"` } @@ -3247,16 +3287,22 @@ type GetParametersForImportInput struct { // Unique key ID: 1234abcd-12ab-34cd-56ef-1234567890ab // // Key ARN: arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab + // + // KeyId is a required field KeyId *string `min:"1" type:"string" required:"true"` // The algorithm you will use to encrypt the key material before importing it // with ImportKeyMaterial. For more information, see Encrypt the Key Material // (http://docs.aws.amazon.com/kms/latest/developerguide/importing-keys-encrypt-key-material.html) // in the AWS Key Management Service Developer Guide. + // + // WrappingAlgorithm is a required field WrappingAlgorithm *string `type:"string" required:"true" enum:"AlgorithmSpec"` // The type of wrapping key (public key) to return in the response. Only 2048-bit // RSA public keys are supported. + // + // WrappingKeySpec is a required field WrappingKeySpec *string `type:"string" required:"true" enum:"WrappingKeySpec"` } @@ -3413,6 +3459,8 @@ type ImportKeyMaterialInput struct { // request, using the wrapping algorithm that you specified in that request. // // EncryptedKeyMaterial is automatically base64 encoded/decoded by the SDK. + // + // EncryptedKeyMaterial is a required field EncryptedKeyMaterial []byte `min:"1" type:"blob" required:"true"` // Specifies whether the key material expires. The default is KEY_MATERIAL_EXPIRES, @@ -3425,6 +3473,8 @@ type ImportKeyMaterialInput struct { // that you used to encrypt the key material. // // ImportToken is automatically base64 encoded/decoded by the SDK. + // + // ImportToken is a required field ImportToken []byte `min:"1" type:"blob" required:"true"` // The identifier of the CMK to import the key material into. The CMK's Origin @@ -3436,6 +3486,8 @@ type ImportKeyMaterialInput struct { // Unique key ID: 1234abcd-12ab-34cd-56ef-1234567890ab // // Key ARN: arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab + // + // KeyId is a required field KeyId *string `min:"1" type:"string" required:"true"` // The time at which the imported key material expires. When the key material @@ -3552,6 +3604,8 @@ type KeyMetadata struct { ExpirationModel *string `type:"string" enum:"ExpirationModelType"` // The globally unique identifier for the CMK. + // + // KeyId is a required field KeyId *string `min:"1" type:"string" required:"true"` // The state of the CMK. @@ -3667,6 +3721,8 @@ type ListGrantsInput struct { // Key ARN Example - arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012 // // Globally Unique Key ID Example - 12345678-1234-1234-1234-123456789012 + // + // KeyId is a required field KeyId *string `min:"1" type:"string" required:"true"` // When paginating results, specify the maximum number of items to return in @@ -3755,6 +3811,8 @@ type ListKeyPoliciesInput struct { // Globally Unique Key ID Example - 12345678-1234-1234-1234-123456789012 // // Alias Name Example - alias/MyAliasName + // + // KeyId is a required field KeyId *string `min:"1" type:"string" required:"true"` // When paginating results, specify the maximum number of items to return in @@ -3925,6 +3983,8 @@ type ListRetirableGrantsInput struct { // for specifying a principal, see AWS Identity and Access Management (IAM) // (http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-iam) // in the Example ARNs section of the Amazon Web Services General Reference. + // + // RetiringPrincipal is a required field RetiringPrincipal *string `min:"1" type:"string" required:"true"` } @@ -3984,6 +4044,8 @@ type PutKeyPolicyInput struct { // Unique ID: 1234abcd-12ab-34cd-56ef-1234567890ab // // ARN: arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab + // + // KeyId is a required field KeyId *string `min:"1" type:"string" required:"true"` // The key policy to attach to the CMK. @@ -4006,11 +4068,15 @@ type PutKeyPolicyInput struct { // in the IAM User Guide. // // The policy size limit is 32 KiB (32768 bytes). + // + // Policy is a required field Policy *string `min:"1" type:"string" required:"true"` // The name of the key policy. // // This value must be default. + // + // PolicyName is a required field PolicyName *string `min:"1" type:"string" required:"true"` } @@ -4072,6 +4138,8 @@ type ReEncryptInput struct { // Ciphertext of the data to re-encrypt. // // CiphertextBlob is automatically base64 encoded/decoded by the SDK. + // + // CiphertextBlob is a required field CiphertextBlob []byte `min:"1" type:"blob" required:"true"` // Encryption context to be used when the data is re-encrypted. @@ -4088,6 +4156,8 @@ type ReEncryptInput struct { // Globally Unique Key ID Example - 12345678-1234-1234-1234-123456789012 // // Alias Name Example - alias/MyAliasName + // + // DestinationKeyId is a required field DestinationKeyId *string `min:"1" type:"string" required:"true"` // A list of grant tokens. @@ -4228,6 +4298,8 @@ type RevokeGrantInput struct { _ struct{} `type:"structure"` // Identifier of the grant to be revoked. + // + // GrantId is a required field GrantId *string `min:"1" type:"string" required:"true"` // A unique identifier for the customer master key associated with the grant. @@ -4237,6 +4309,8 @@ type RevokeGrantInput struct { // Key ARN Example - arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012 // // Globally Unique Key ID Example - 12345678-1234-1234-1234-123456789012 + // + // KeyId is a required field KeyId *string `min:"1" type:"string" required:"true"` } @@ -4300,6 +4374,8 @@ type ScheduleKeyDeletionInput struct { // // To obtain the unique key ID and key ARN for a given CMK, use ListKeys // or DescribeKey. + // + // KeyId is a required field KeyId *string `min:"1" type:"string" required:"true"` // The waiting period, specified in number of days. After the waiting period @@ -4366,6 +4442,8 @@ type UpdateAliasInput struct { // String that contains the name of the alias to be modified. The name must // start with the word "alias" followed by a forward slash (alias/). Aliases // that begin with "alias/aws" are reserved. + // + // AliasName is a required field AliasName *string `min:"1" type:"string" required:"true"` // Unique identifier of the customer master key to be mapped to the alias. This @@ -4378,6 +4456,8 @@ type UpdateAliasInput struct { // // You can call ListAliases to verify that the alias is mapped to the correct // TargetKeyId. + // + // TargetKeyId is a required field TargetKeyId *string `min:"1" type:"string" required:"true"` } @@ -4431,6 +4511,8 @@ type UpdateKeyDescriptionInput struct { _ struct{} `type:"structure"` // New description for the key. + // + // Description is a required field Description *string `type:"string" required:"true"` // A unique identifier for the customer master key. This value can be a globally @@ -4439,6 +4521,8 @@ type UpdateKeyDescriptionInput struct { // Key ARN Example - arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012 // // Globally Unique Key ID Example - 12345678-1234-1234-1234-123456789012 + // + // KeyId is a required field KeyId *string `min:"1" type:"string" required:"true"` } @@ -4486,73 +4570,89 @@ func (s UpdateKeyDescriptionOutput) GoString() string { } const ( - // @enum AlgorithmSpec + // AlgorithmSpecRsaesPkcs1V15 is a AlgorithmSpec enum value AlgorithmSpecRsaesPkcs1V15 = "RSAES_PKCS1_V1_5" - // @enum AlgorithmSpec + + // AlgorithmSpecRsaesOaepSha1 is a AlgorithmSpec enum value AlgorithmSpecRsaesOaepSha1 = "RSAES_OAEP_SHA_1" - // @enum AlgorithmSpec + + // AlgorithmSpecRsaesOaepSha256 is a AlgorithmSpec enum value AlgorithmSpecRsaesOaepSha256 = "RSAES_OAEP_SHA_256" ) const ( - // @enum DataKeySpec + // DataKeySpecAes256 is a DataKeySpec enum value DataKeySpecAes256 = "AES_256" - // @enum DataKeySpec + + // DataKeySpecAes128 is a DataKeySpec enum value DataKeySpecAes128 = "AES_128" ) const ( - // @enum ExpirationModelType + // ExpirationModelTypeKeyMaterialExpires is a ExpirationModelType enum value ExpirationModelTypeKeyMaterialExpires = "KEY_MATERIAL_EXPIRES" - // @enum ExpirationModelType + + // ExpirationModelTypeKeyMaterialDoesNotExpire is a ExpirationModelType enum value ExpirationModelTypeKeyMaterialDoesNotExpire = "KEY_MATERIAL_DOES_NOT_EXPIRE" ) const ( - // @enum GrantOperation + // GrantOperationDecrypt is a GrantOperation enum value GrantOperationDecrypt = "Decrypt" - // @enum GrantOperation + + // GrantOperationEncrypt is a GrantOperation enum value GrantOperationEncrypt = "Encrypt" - // @enum GrantOperation + + // GrantOperationGenerateDataKey is a GrantOperation enum value GrantOperationGenerateDataKey = "GenerateDataKey" - // @enum GrantOperation + + // GrantOperationGenerateDataKeyWithoutPlaintext is a GrantOperation enum value GrantOperationGenerateDataKeyWithoutPlaintext = "GenerateDataKeyWithoutPlaintext" - // @enum GrantOperation + + // GrantOperationReEncryptFrom is a GrantOperation enum value GrantOperationReEncryptFrom = "ReEncryptFrom" - // @enum GrantOperation + + // GrantOperationReEncryptTo is a GrantOperation enum value GrantOperationReEncryptTo = "ReEncryptTo" - // @enum GrantOperation + + // GrantOperationCreateGrant is a GrantOperation enum value GrantOperationCreateGrant = "CreateGrant" - // @enum GrantOperation + + // GrantOperationRetireGrant is a GrantOperation enum value GrantOperationRetireGrant = "RetireGrant" - // @enum GrantOperation + + // GrantOperationDescribeKey is a GrantOperation enum value GrantOperationDescribeKey = "DescribeKey" ) const ( - // @enum KeyState + // KeyStateEnabled is a KeyState enum value KeyStateEnabled = "Enabled" - // @enum KeyState + + // KeyStateDisabled is a KeyState enum value KeyStateDisabled = "Disabled" - // @enum KeyState + + // KeyStatePendingDeletion is a KeyState enum value KeyStatePendingDeletion = "PendingDeletion" - // @enum KeyState + + // KeyStatePendingImport is a KeyState enum value KeyStatePendingImport = "PendingImport" ) const ( - // @enum KeyUsageType + // KeyUsageTypeEncryptDecrypt is a KeyUsageType enum value KeyUsageTypeEncryptDecrypt = "ENCRYPT_DECRYPT" ) const ( - // @enum OriginType + // OriginTypeAwsKms is a OriginType enum value OriginTypeAwsKms = "AWS_KMS" - // @enum OriginType + + // OriginTypeExternal is a OriginType enum value OriginTypeExternal = "EXTERNAL" ) const ( - // @enum WrappingKeySpec + // WrappingKeySpecRsa2048 is a WrappingKeySpec enum value WrappingKeySpecRsa2048 = "RSA_2048" ) diff --git a/service/lambda/api.go b/service/lambda/api.go index 7dda986fb3a..2d3d80c2420 100644 --- a/service/lambda/api.go +++ b/service/lambda/api.go @@ -1450,6 +1450,8 @@ type AddPermissionInput struct { // is a string starting with lambda: followed by the API name . For example, // lambda:CreateFunction. You can use wildcard (lambda:*) to grant permission // for all AWS Lambda actions. + // + // Action is a required field Action *string `type:"string" required:"true"` // A unique token that must be supplied by the principal invoking the function. @@ -1464,6 +1466,8 @@ type AddPermissionInput struct { // AWS Lambda also allows you to specify partial ARN (for example, account-id:Thumbnail). // Note that the length constraint applies only to the ARN. If you specify only // the function name, it is limited to 64 character in length. + // + // FunctionName is a required field FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` // The principal who is getting this permission. It can be Amazon S3 service @@ -1472,6 +1476,8 @@ type AddPermissionInput struct { // AWS service principal such as sns.amazonaws.com. For example, you might want // to allow a custom application in another AWS account to push events to AWS // Lambda by invoking your function. + // + // Principal is a required field Principal *string `type:"string" required:"true"` // You can use this optional query parameter to describe a qualified ARN using @@ -1513,6 +1519,8 @@ type AddPermissionInput struct { SourceArn *string `type:"string"` // A unique statement identifier. + // + // StatementId is a required field StatementId *string `min:"1" type:"string" required:"true"` } @@ -1612,12 +1620,18 @@ type CreateAliasInput struct { Description *string `type:"string"` // Name of the Lambda function for which you want to create an alias. + // + // FunctionName is a required field FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` // Lambda function version for which you are creating the alias. + // + // FunctionVersion is a required field FunctionVersion *string `min:"1" type:"string" required:"true"` // Name for the alias you are creating. + // + // Name is a required field Name *string `min:"1" type:"string" required:"true"` } @@ -1676,6 +1690,8 @@ type CreateEventSourceMappingInput struct { // AWS Lambda to invoke your Lambda function, it depends on the BatchSize. AWS // Lambda POSTs the Amazon Kinesis event, containing records, to your Lambda // function as JSON. + // + // EventSourceArn is a required field EventSourceArn *string `type:"string" required:"true"` // The Lambda function to invoke when AWS Lambda detects an event on the stream. @@ -1693,11 +1709,15 @@ type CreateEventSourceMappingInput struct { // // Note that the length constraint applies only to the ARN. If you specify // only the function name, it is limited to 64 character in length. + // + // FunctionName is a required field FunctionName *string `min:"1" type:"string" required:"true"` // The position in the stream where AWS Lambda should start reading. For more // information, go to ShardIteratorType (http://docs.aws.amazon.com/kinesis/latest/APIReference/API_GetShardIterator.html#Kinesis-GetShardIterator-request-ShardIteratorType) // in the Amazon Kinesis API Reference. + // + // StartingPosition is a required field StartingPosition *string `type:"string" required:"true" enum:"EventSourcePosition"` } @@ -1740,6 +1760,8 @@ type CreateFunctionInput struct { _ struct{} `type:"structure"` // The code for the Lambda function. + // + // Code is a required field Code *FunctionCode `type:"structure" required:"true"` // A short, user-defined function description. Lambda does not use this value. @@ -1749,12 +1771,16 @@ type CreateFunctionInput struct { // The name you want to assign to the function you are uploading. The function // names appear in the console and are returned in the ListFunctions API. Function // names are used to specify functions to other AWS Lambda APIs, such as Invoke. + // + // FunctionName is a required field FunctionName *string `min:"1" type:"string" required:"true"` // The function within your code that Lambda calls to begin execution. For Node.js, // it is the module-name.export value in your function. For Java, it can be // package.class-name::handler or package.class-name. For more information, // see Lambda Function Handler (Java) (http://docs.aws.amazon.com/lambda/latest/dg/java-programming-model-handler-types.html). + // + // Handler is a required field Handler *string `type:"string" required:"true"` // The amount of memory, in MB, your Lambda function is given. Lambda uses this @@ -1772,12 +1798,16 @@ type CreateFunctionInput struct { // The Amazon Resource Name (ARN) of the IAM role that Lambda assumes when it // executes your function to access any other Amazon Web Services (AWS) resources. // For more information, see AWS Lambda: How it Works (http://docs.aws.amazon.com/lambda/latest/dg/lambda-introduction.html). + // + // Role is a required field Role *string `type:"string" required:"true"` // The runtime environment for the Lambda function you are uploading. // // To use the Node.js runtime v4.3, set the value to "nodejs4.3". To use earlier // runtime (v0.10.42), set the value to "nodejs". + // + // Runtime is a required field Runtime *string `type:"string" required:"true" enum:"Runtime"` // The function execution time at which Lambda should terminate the function. @@ -1846,9 +1876,13 @@ type DeleteAliasInput struct { // The Lambda function name for which the alias is created. Deleting an alias // does not delete the function version to which it is pointing. + // + // FunctionName is a required field FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` // Name of the alias to delete. + // + // Name is a required field Name *string `location:"uri" locationName:"Name" min:"1" type:"string" required:"true"` } @@ -1902,6 +1936,8 @@ type DeleteEventSourceMappingInput struct { _ struct{} `type:"structure"` // The event source mapping ID. + // + // UUID is a required field UUID *string `location:"uri" locationName:"UUID" type:"string" required:"true"` } @@ -1941,6 +1977,8 @@ type DeleteFunctionInput struct { // ID qualifier (for example, account-id:Thumbnail). Note that the length constraint // applies only to the ARN. If you specify only the function name, it is limited // to 64 character in length. + // + // FunctionName is a required field FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` // Using this optional parameter you can specify a function version (but not @@ -2190,9 +2228,13 @@ type GetAliasInput struct { // Function name for which the alias is created. An alias is a subresource that // exists only in the context of an existing Lambda function so you must specify // the function name. + // + // FunctionName is a required field FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` // Name of the alias for which you want to retrieve information. + // + // Name is a required field Name *string `location:"uri" locationName:"Name" min:"1" type:"string" required:"true"` } @@ -2232,6 +2274,8 @@ type GetEventSourceMappingInput struct { _ struct{} `type:"structure"` // The AWS Lambda assigned ID of the event source mapping. + // + // UUID is a required field UUID *string `location:"uri" locationName:"UUID" type:"string" required:"true"` } @@ -2269,6 +2313,8 @@ type GetFunctionConfigurationInput struct { // AWS Lambda also allows you to specify a partial ARN (for example, account-id:Thumbnail). // Note that the length constraint applies only to the ARN. If you specify only // the function name, it is limited to 64 character in length. + // + // FunctionName is a required field FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` // Using this optional parameter you can specify a function version or an alias @@ -2321,6 +2367,8 @@ type GetFunctionInput struct { // AWS Lambda also allows you to specify a partial ARN (for example, account-id:Thumbnail). // Note that the length constraint applies only to the ARN. If you specify only // the function name, it is limited to 64 character in length. + // + // FunctionName is a required field FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` // Using this optional parameter to specify a function version or an alias name. @@ -2396,6 +2444,8 @@ type GetPolicyInput struct { // ID qualifier (for example, account-id:Thumbnail). Note that the length constraint // applies only to the ARN. If you specify only the function name, it is limited // to 64 character in length. + // + // FunctionName is a required field FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` // You can specify this optional query parameter to specify a function version @@ -2457,9 +2507,13 @@ type InvokeAsyncInput struct { _ struct{} `deprecated:"true" type:"structure" payload:"InvokeArgs"` // The Lambda function name. + // + // FunctionName is a required field FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` // JSON that you want to provide to your Lambda function as input. + // + // InvokeArgs is a required field InvokeArgs io.ReadSeeker `type:"blob" required:"true"` } @@ -2529,6 +2583,8 @@ type InvokeInput struct { // AWS Lambda also allows you to specify a partial ARN (for example, account-id:Thumbnail). // Note that the length constraint applies only to the ARN. If you specify only // the function name, it is limited to 64 character in length. + // + // FunctionName is a required field FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` // By default, the Invoke API assumes RequestResponse invocation type. You can @@ -2635,6 +2691,8 @@ type ListAliasesInput struct { _ struct{} `type:"structure"` // Lambda function name for which the alias is created. + // + // FunctionName is a required field FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` // If you specify this optional parameter, the API returns only the aliases @@ -2844,6 +2902,8 @@ type ListVersionsByFunctionInput struct { // AWS Lambda also allows you to specify a partial ARN (for example, account-id:Thumbnail). // Note that the length constraint applies only to the ARN. If you specify only // the function name, it is limited to 64 character in length. + // + // FunctionName is a required field FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` // Optional string. An opaque pagination token returned from a previous ListVersionsByFunction @@ -2923,6 +2983,8 @@ type PublishVersionInput struct { // allows you to specify a partial ARN (for example, account-id:Thumbnail). // Note that the length constraint applies only to the ARN. If you specify only // the function name, it is limited to 64 character in length. + // + // FunctionName is a required field FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` } @@ -2962,6 +3024,8 @@ type RemovePermissionInput struct { // AWS Lambda also allows you to specify a partial ARN (for example, account-id:Thumbnail). // Note that the length constraint applies only to the ARN. If you specify only // the function name, it is limited to 64 character in length. + // + // FunctionName is a required field FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` // You can specify this optional parameter to remove permission associated with @@ -2971,6 +3035,8 @@ type RemovePermissionInput struct { Qualifier *string `location:"querystring" locationName:"Qualifier" min:"1" type:"string"` // Statement ID of the permission to remove. + // + // StatementId is a required field StatementId *string `location:"uri" locationName:"StatementId" min:"1" type:"string" required:"true"` } @@ -3030,6 +3096,8 @@ type UpdateAliasInput struct { Description *string `type:"string"` // The function name for which the alias is created. + // + // FunctionName is a required field FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` // Using this parameter you can change the Lambda function version to which @@ -3037,6 +3105,8 @@ type UpdateAliasInput struct { FunctionVersion *string `min:"1" type:"string"` // The alias name. + // + // Name is a required field Name *string `location:"uri" locationName:"Name" min:"1" type:"string" required:"true"` } @@ -3102,6 +3172,8 @@ type UpdateEventSourceMappingInput struct { FunctionName *string `min:"1" type:"string"` // The event source mapping identifier. + // + // UUID is a required field UUID *string `location:"uri" locationName:"UUID" type:"string" required:"true"` } @@ -3144,6 +3216,8 @@ type UpdateFunctionCodeInput struct { // AWS Lambda also allows you to specify a partial ARN (for example, account-id:Thumbnail). // Note that the length constraint applies only to the ARN. If you specify only // the function name, it is limited to 64 character in length. + // + // FunctionName is a required field FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` // This boolean parameter can be used to request AWS Lambda to update the Lambda @@ -3221,6 +3295,8 @@ type UpdateFunctionConfigurationInput struct { // AWS Lambda also allows you to specify a partial ARN (for example, account-id:Thumbnail). // Note that the length constraint applies only to the ARN. If you specify only // the function name, it is limited to 64 character in length. + // + // FunctionName is a required field FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` // The function that Lambda calls to begin executing your function. For Node.js, @@ -3338,44 +3414,53 @@ func (s VpcConfigResponse) GoString() string { } const ( - // @enum EventSourcePosition + // EventSourcePositionTrimHorizon is a EventSourcePosition enum value EventSourcePositionTrimHorizon = "TRIM_HORIZON" - // @enum EventSourcePosition + + // EventSourcePositionLatest is a EventSourcePosition enum value EventSourcePositionLatest = "LATEST" ) const ( - // @enum InvocationType + // InvocationTypeEvent is a InvocationType enum value InvocationTypeEvent = "Event" - // @enum InvocationType + + // InvocationTypeRequestResponse is a InvocationType enum value InvocationTypeRequestResponse = "RequestResponse" - // @enum InvocationType + + // InvocationTypeDryRun is a InvocationType enum value InvocationTypeDryRun = "DryRun" ) const ( - // @enum LogType + // LogTypeNone is a LogType enum value LogTypeNone = "None" - // @enum LogType + + // LogTypeTail is a LogType enum value LogTypeTail = "Tail" ) const ( - // @enum Runtime + // RuntimeNodejs is a Runtime enum value RuntimeNodejs = "nodejs" - // @enum Runtime + + // RuntimeNodejs43 is a Runtime enum value RuntimeNodejs43 = "nodejs4.3" - // @enum Runtime + + // RuntimeJava8 is a Runtime enum value RuntimeJava8 = "java8" - // @enum Runtime + + // RuntimePython27 is a Runtime enum value RuntimePython27 = "python2.7" ) const ( - // @enum ThrottleReason + // ThrottleReasonConcurrentInvocationLimitExceeded is a ThrottleReason enum value ThrottleReasonConcurrentInvocationLimitExceeded = "ConcurrentInvocationLimitExceeded" - // @enum ThrottleReason + + // ThrottleReasonFunctionInvocationRateLimitExceeded is a ThrottleReason enum value ThrottleReasonFunctionInvocationRateLimitExceeded = "FunctionInvocationRateLimitExceeded" - // @enum ThrottleReason + + // ThrottleReasonCallerRateLimitExceeded is a ThrottleReason enum value ThrottleReasonCallerRateLimitExceeded = "CallerRateLimitExceeded" ) diff --git a/service/machinelearning/api.go b/service/machinelearning/api.go index fa97d5b9baa..7048b2952ef 100644 --- a/service/machinelearning/api.go +++ b/service/machinelearning/api.go @@ -1653,13 +1653,19 @@ type AddTagsInput struct { _ struct{} `type:"structure"` // The ID of the ML object to tag. For example, exampleModelId. + // + // ResourceId is a required field ResourceId *string `min:"1" type:"string" required:"true"` // The type of the ML object to tag. + // + // ResourceType is a required field ResourceType *string `type:"string" required:"true" enum:"TaggableResourceType"` // The key-value pairs to use to create tags. If you specify a key without specifying // a value, Amazon ML creates a tag with the specified key and a value of null. + // + // Tags is a required field Tags []*Tag `type:"list" required:"true"` } @@ -1813,9 +1819,13 @@ type CreateBatchPredictionInput struct { _ struct{} `type:"structure"` // The ID of the DataSource that points to the group of observations to predict. + // + // BatchPredictionDataSourceId is a required field BatchPredictionDataSourceId *string `min:"1" type:"string" required:"true"` // A user-supplied ID that uniquely identifies the BatchPrediction. + // + // BatchPredictionId is a required field BatchPredictionId *string `min:"1" type:"string" required:"true"` // A user-supplied name or description of the BatchPrediction. BatchPredictionName @@ -1823,6 +1833,8 @@ type CreateBatchPredictionInput struct { BatchPredictionName *string `type:"string"` // The ID of the MLModel that will generate predictions for the group of observations. + // + // MLModelId is a required field MLModelId *string `min:"1" type:"string" required:"true"` // The location of an Amazon Simple Storage Service (Amazon S3) bucket or directory @@ -1832,6 +1844,8 @@ type CreateBatchPredictionInput struct { // Amazon ML needs permissions to store and retrieve the logs on your behalf. // For information about how to set permissions, see the Amazon Machine Learning // Developer Guide (http://docs.aws.amazon.com/machine-learning/latest/dg). + // + // OutputUri is a required field OutputUri *string `type:"string" required:"true"` } @@ -1911,6 +1925,8 @@ type CreateDataSourceFromRDSInput struct { // A user-supplied ID that uniquely identifies the DataSource. Typically, an // Amazon Resource Number (ARN) becomes the ID for a DataSource. + // + // DataSourceId is a required field DataSourceId *string `min:"1" type:"string" required:"true"` // A user-supplied name or description of the DataSource. @@ -1956,11 +1972,15 @@ type CreateDataSourceFromRDSInput struct { // requirements for the Datasource. // // Sample - "{\"splitting\":{\"percentBegin\":10,\"percentEnd\":60}}" + // + // RDSData is a required field RDSData *RDSDataSpec `type:"structure" required:"true"` // The role that Amazon ML assumes on behalf of the user to create and activate // a data pipeline in the user's account and copy data using the SelectSqlQuery // query from Amazon RDS to Amazon S3. + // + // RoleARN is a required field RoleARN *string `min:"1" type:"string" required:"true"` } @@ -2041,6 +2061,8 @@ type CreateDataSourceFromRedshiftInput struct { ComputeStatistics *bool `type:"boolean"` // A user-supplied ID that uniquely identifies the DataSource. + // + // DataSourceId is a required field DataSourceId *string `min:"1" type:"string" required:"true"` // A user-supplied name or description of the DataSource. @@ -2070,6 +2092,8 @@ type CreateDataSourceFromRedshiftInput struct { // requirements for the DataSource. // // Sample - "{\"splitting\":{\"percentBegin\":10,\"percentEnd\":60}}" + // + // DataSpec is a required field DataSpec *RedshiftDataSpec `type:"structure" required:"true"` // A fully specified role Amazon Resource Name (ARN). Amazon ML assumes the @@ -2080,6 +2104,8 @@ type CreateDataSourceFromRedshiftInput struct { // // An Amazon S3 bucket policy to grant Amazon ML read/write permissions on // the S3StagingLocation + // + // RoleARN is a required field RoleARN *string `min:"1" type:"string" required:"true"` } @@ -2157,6 +2183,8 @@ type CreateDataSourceFromS3Input struct { ComputeStatistics *bool `type:"boolean"` // A user-supplied identifier that uniquely identifies the DataSource. + // + // DataSourceId is a required field DataSourceId *string `min:"1" type:"string" required:"true"` // A user-supplied name or description of the DataSource. @@ -2175,6 +2203,8 @@ type CreateDataSourceFromS3Input struct { // requirements for the Datasource. // // Sample - "{\"splitting\":{\"percentBegin\":10,\"percentEnd\":60}}" + // + // DataSpec is a required field DataSpec *S3DataSpec `type:"structure" required:"true"` } @@ -2240,9 +2270,13 @@ type CreateEvaluationInput struct { // The ID of the DataSource for the evaluation. The schema of the DataSource // must match the schema used to create the MLModel. + // + // EvaluationDataSourceId is a required field EvaluationDataSourceId *string `min:"1" type:"string" required:"true"` // A user-supplied ID that uniquely identifies the Evaluation. + // + // EvaluationId is a required field EvaluationId *string `min:"1" type:"string" required:"true"` // A user-supplied name or description of the Evaluation. @@ -2252,6 +2286,8 @@ type CreateEvaluationInput struct { // // The schema used in creating the MLModel must match the schema of the DataSource // used in the Evaluation. + // + // MLModelId is a required field MLModelId *string `min:"1" type:"string" required:"true"` } @@ -2320,6 +2356,8 @@ type CreateMLModelInput struct { _ struct{} `type:"structure"` // A user-supplied ID that uniquely identifies the MLModel. + // + // MLModelId is a required field MLModelId *string `min:"1" type:"string" required:"true"` // A user-supplied name or description of the MLModel. @@ -2332,6 +2370,8 @@ type CreateMLModelInput struct { // Choose BINARY if the MLModel result has two possible values. Choose MULTICLASS // if the MLModel result has a limited number of values. For more information, // see the Amazon Machine Learning Developer Guide (http://docs.aws.amazon.com/machine-learning/latest/dg). + // + // MLModelType is a required field MLModelType *string `type:"string" required:"true" enum:"MLModelType"` // A list of the training parameters in the MLModel. The list is implemented @@ -2384,6 +2424,8 @@ type CreateMLModelInput struct { RecipeUri *string `type:"string"` // The DataSource that points to the training data. + // + // TrainingDataSourceId is a required field TrainingDataSourceId *string `min:"1" type:"string" required:"true"` } @@ -2449,6 +2491,8 @@ type CreateRealtimeEndpointInput struct { _ struct{} `type:"structure"` // The ID assigned to the MLModel during creation. + // + // MLModelId is a required field MLModelId *string `min:"1" type:"string" required:"true"` } @@ -2597,6 +2641,8 @@ type DeleteBatchPredictionInput struct { _ struct{} `type:"structure"` // A user-supplied ID that uniquely identifies the BatchPrediction. + // + // BatchPredictionId is a required field BatchPredictionId *string `min:"1" type:"string" required:"true"` } @@ -2652,6 +2698,8 @@ type DeleteDataSourceInput struct { _ struct{} `type:"structure"` // A user-supplied ID that uniquely identifies the DataSource. + // + // DataSourceId is a required field DataSourceId *string `min:"1" type:"string" required:"true"` } @@ -2704,6 +2752,8 @@ type DeleteEvaluationInput struct { _ struct{} `type:"structure"` // A user-supplied ID that uniquely identifies the Evaluation to delete. + // + // EvaluationId is a required field EvaluationId *string `min:"1" type:"string" required:"true"` } @@ -2760,6 +2810,8 @@ type DeleteMLModelInput struct { _ struct{} `type:"structure"` // A user-supplied ID that uniquely identifies the MLModel. + // + // MLModelId is a required field MLModelId *string `min:"1" type:"string" required:"true"` } @@ -2815,6 +2867,8 @@ type DeleteRealtimeEndpointInput struct { _ struct{} `type:"structure"` // The ID assigned to the MLModel during creation. + // + // MLModelId is a required field MLModelId *string `min:"1" type:"string" required:"true"` } @@ -2872,12 +2926,18 @@ type DeleteTagsInput struct { _ struct{} `type:"structure"` // The ID of the tagged ML object. For example, exampleModelId. + // + // ResourceId is a required field ResourceId *string `min:"1" type:"string" required:"true"` // The type of the tagged ML object. + // + // ResourceType is a required field ResourceType *string `type:"string" required:"true" enum:"TaggableResourceType"` // One or more tags to delete. + // + // TagKeys is a required field TagKeys []*string `type:"list" required:"true"` } @@ -3394,9 +3454,13 @@ type DescribeTagsInput struct { _ struct{} `type:"structure"` // The ID of the ML object. For example, exampleModelId. + // + // ResourceId is a required field ResourceId *string `min:"1" type:"string" required:"true"` // The type of the ML object. + // + // ResourceType is a required field ResourceType *string `type:"string" required:"true" enum:"TaggableResourceType"` } @@ -3544,6 +3608,8 @@ type GetBatchPredictionInput struct { _ struct{} `type:"structure"` // An ID assigned to the BatchPrediction at creation. + // + // BatchPredictionId is a required field BatchPredictionId *string `min:"1" type:"string" required:"true"` } @@ -3667,6 +3733,8 @@ type GetDataSourceInput struct { _ struct{} `type:"structure"` // The ID assigned to the DataSource at creation. + // + // DataSourceId is a required field DataSourceId *string `min:"1" type:"string" required:"true"` // Specifies whether the GetDataSource operation should return DataSourceSchema. @@ -3808,6 +3876,8 @@ type GetEvaluationInput struct { // The ID of the Evaluation to retrieve. The evaluation of each MLModel is recorded // and cataloged. The ID provides the means to access the information. + // + // EvaluationId is a required field EvaluationId *string `min:"1" type:"string" required:"true"` } @@ -3933,6 +4003,8 @@ type GetMLModelInput struct { _ struct{} `type:"structure"` // The ID assigned to the MLModel at creation. + // + // MLModelId is a required field MLModelId *string `min:"1" type:"string" required:"true"` // Specifies whether the GetMLModel operation should return Recipe. @@ -4282,11 +4354,16 @@ type PredictInput struct { _ struct{} `type:"structure"` // A unique identifier of the MLModel. + // + // MLModelId is a required field MLModelId *string `min:"1" type:"string" required:"true"` + // PredictEndpoint is a required field PredictEndpoint *string `type:"string" required:"true"` // A map of variable name-value pairs that represent an observation. + // + // Record is a required field Record map[string]*string `type:"map" required:"true"` } @@ -4510,39 +4587,55 @@ type RDSDataSpec struct { // The AWS Identity and Access Management (IAM) credentials that are used connect // to the Amazon RDS database. + // + // DatabaseCredentials is a required field DatabaseCredentials *RDSDatabaseCredentials `type:"structure" required:"true"` // Describes the DatabaseName and InstanceIdentifier of an Amazon RDS database. + // + // DatabaseInformation is a required field DatabaseInformation *RDSDatabase `type:"structure" required:"true"` // The role (DataPipelineDefaultResourceRole) assumed by an Amazon Elastic Compute // Cloud (Amazon EC2) instance to carry out the copy operation from Amazon RDS // to an Amazon S3 task. For more information, see Role templates (http://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-iam-roles.html) // for data pipelines. + // + // ResourceRole is a required field ResourceRole *string `min:"1" type:"string" required:"true"` // The Amazon S3 location for staging Amazon RDS data. The data retrieved from // Amazon RDS using SelectSqlQuery is stored in this location. + // + // S3StagingLocation is a required field S3StagingLocation *string `type:"string" required:"true"` // The security group IDs to be used to access a VPC-based RDS DB instance. // Ensure that there are appropriate ingress rules set up to allow access to // the RDS DB instance. This attribute is used by Data Pipeline to carry out // the copy operation from Amazon RDS to an Amazon S3 task. + // + // SecurityGroupIds is a required field SecurityGroupIds []*string `type:"list" required:"true"` // The query that is used to retrieve the observation data for the DataSource. + // + // SelectSqlQuery is a required field SelectSqlQuery *string `min:"1" type:"string" required:"true"` // The role (DataPipelineDefaultRole) assumed by AWS Data Pipeline service to // monitor the progress of the copy task from Amazon RDS to Amazon S3. For more // information, see Role templates (http://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-iam-roles.html) // for data pipelines. + // + // ServiceRole is a required field ServiceRole *string `min:"1" type:"string" required:"true"` // The subnet ID to be used to access a VPC-based RDS DB instance. This attribute // is used by Data Pipeline to carry out the copy task from Amazon RDS to Amazon // S3. + // + // SubnetId is a required field SubnetId *string `min:"1" type:"string" required:"true"` } @@ -4617,9 +4710,13 @@ type RDSDatabase struct { _ struct{} `type:"structure"` // The name of a database hosted on an RDS DB instance. + // + // DatabaseName is a required field DatabaseName *string `min:"1" type:"string" required:"true"` // The ID of an RDS DB instance. + // + // InstanceIdentifier is a required field InstanceIdentifier *string `min:"1" type:"string" required:"true"` } @@ -4662,11 +4759,15 @@ type RDSDatabaseCredentials struct { // The password to be used by Amazon ML to connect to a database on an RDS DB // instance. The password should have sufficient permissions to execute the // RDSSelectQuery query. + // + // Password is a required field Password *string `min:"8" type:"string" required:"true"` // The username to be used by Amazon ML to connect to database on an Amazon // RDS instance. The username should have sufficient permissions to execute // an RDSSelectSqlQuery query. + // + // Username is a required field Username *string `min:"1" type:"string" required:"true"` } @@ -4907,17 +5008,25 @@ type RedshiftDataSpec struct { // Describes AWS Identity and Access Management (IAM) credentials that are used // connect to the Amazon Redshift database. + // + // DatabaseCredentials is a required field DatabaseCredentials *RedshiftDatabaseCredentials `type:"structure" required:"true"` // Describes the DatabaseName and ClusterIdentifier for an Amazon Redshift DataSource. + // + // DatabaseInformation is a required field DatabaseInformation *RedshiftDatabase `type:"structure" required:"true"` // Describes an Amazon S3 location to store the result set of the SelectSqlQuery // query. + // + // S3StagingLocation is a required field S3StagingLocation *string `type:"string" required:"true"` // Describes the SQL Query to execute on an Amazon Redshift database for an // Amazon Redshift DataSource. + // + // SelectSqlQuery is a required field SelectSqlQuery *string `min:"1" type:"string" required:"true"` } @@ -4972,9 +5081,13 @@ type RedshiftDatabase struct { _ struct{} `type:"structure"` // The ID of an Amazon Redshift cluster. + // + // ClusterIdentifier is a required field ClusterIdentifier *string `min:"1" type:"string" required:"true"` // The name of a database hosted on an Amazon Redshift cluster. + // + // DatabaseName is a required field DatabaseName *string `min:"1" type:"string" required:"true"` } @@ -5019,12 +5132,16 @@ type RedshiftDatabaseCredentials struct { // Redshift cluster. The password should have sufficient permissions to execute // a RedshiftSelectSqlQuery query. The password should be valid for an Amazon // Redshift USER (http://docs.aws.amazon.com/redshift/latest/dg/r_CREATE_USER.html). + // + // Password is a required field Password *string `min:"8" type:"string" required:"true"` // A username to be used by Amazon Machine Learning (Amazon ML)to connect to // a database on an Amazon Redshift cluster. The username should have sufficient // permissions to execute the RedshiftSelectSqlQuery query. The username should // be valid for an Amazon Redshift USER (http://docs.aws.amazon.com/redshift/latest/dg/r_CREATE_USER.html). + // + // Username is a required field Username *string `min:"1" type:"string" required:"true"` } @@ -5096,6 +5213,8 @@ type S3DataSpec struct { // The location of the data file(s) used by a DataSource. The URI specifies // a data file or an Amazon Simple Storage Service (Amazon S3) directory or // bucket containing data files. + // + // DataLocationS3 is a required field DataLocationS3 *string `type:"string" required:"true"` // A JSON string that represents the splitting and rearrangement processing @@ -5280,9 +5399,13 @@ type UpdateBatchPredictionInput struct { _ struct{} `type:"structure"` // The ID assigned to the BatchPrediction during creation. + // + // BatchPredictionId is a required field BatchPredictionId *string `min:"1" type:"string" required:"true"` // A new user-supplied name or description of the BatchPrediction. + // + // BatchPredictionName is a required field BatchPredictionName *string `type:"string" required:"true"` } @@ -5340,10 +5463,14 @@ type UpdateDataSourceInput struct { _ struct{} `type:"structure"` // The ID assigned to the DataSource during creation. + // + // DataSourceId is a required field DataSourceId *string `min:"1" type:"string" required:"true"` // A new user-supplied name or description of the DataSource that will replace // the current description. + // + // DataSourceName is a required field DataSourceName *string `type:"string" required:"true"` } @@ -5401,10 +5528,14 @@ type UpdateEvaluationInput struct { _ struct{} `type:"structure"` // The ID assigned to the Evaluation during creation. + // + // EvaluationId is a required field EvaluationId *string `min:"1" type:"string" required:"true"` // A new user-supplied name or description of the Evaluation that will replace // the current content. + // + // EvaluationName is a required field EvaluationName *string `type:"string" required:"true"` } @@ -5462,6 +5593,8 @@ type UpdateMLModelInput struct { _ struct{} `type:"structure"` // The ID assigned to the MLModel during creation. + // + // MLModelId is a required field MLModelId *string `min:"1" type:"string" required:"true"` // A user-supplied name or description of the MLModel. @@ -5529,7 +5662,7 @@ func (s UpdateMLModelOutput) GoString() string { // SGD - Stochastic Gradient Descent. RandomForest - Random forest of decision // trees. const ( - // @enum Algorithm + // AlgorithmSgd is a Algorithm enum value AlgorithmSgd = "sgd" ) @@ -5545,21 +5678,28 @@ const ( // file(s) used in the BatchPrediction. The URL can identify either a file or // an Amazon Simple Storage Service (Amazon S3) bucket or directory. const ( - // @enum BatchPredictionFilterVariable + // BatchPredictionFilterVariableCreatedAt is a BatchPredictionFilterVariable enum value BatchPredictionFilterVariableCreatedAt = "CreatedAt" - // @enum BatchPredictionFilterVariable + + // BatchPredictionFilterVariableLastUpdatedAt is a BatchPredictionFilterVariable enum value BatchPredictionFilterVariableLastUpdatedAt = "LastUpdatedAt" - // @enum BatchPredictionFilterVariable + + // BatchPredictionFilterVariableStatus is a BatchPredictionFilterVariable enum value BatchPredictionFilterVariableStatus = "Status" - // @enum BatchPredictionFilterVariable + + // BatchPredictionFilterVariableName is a BatchPredictionFilterVariable enum value BatchPredictionFilterVariableName = "Name" - // @enum BatchPredictionFilterVariable + + // BatchPredictionFilterVariableIamuser is a BatchPredictionFilterVariable enum value BatchPredictionFilterVariableIamuser = "IAMUser" - // @enum BatchPredictionFilterVariable + + // BatchPredictionFilterVariableMlmodelId is a BatchPredictionFilterVariable enum value BatchPredictionFilterVariableMlmodelId = "MLModelId" - // @enum BatchPredictionFilterVariable + + // BatchPredictionFilterVariableDataSourceId is a BatchPredictionFilterVariable enum value BatchPredictionFilterVariableDataSourceId = "DataSourceId" - // @enum BatchPredictionFilterVariable + + // BatchPredictionFilterVariableDataUri is a BatchPredictionFilterVariable enum value BatchPredictionFilterVariableDataUri = "DataURI" ) @@ -5574,17 +5714,22 @@ const ( // that invoked the DataSource creation. Note The variable names should match // the variable names in the DataSource. const ( - // @enum DataSourceFilterVariable + // DataSourceFilterVariableCreatedAt is a DataSourceFilterVariable enum value DataSourceFilterVariableCreatedAt = "CreatedAt" - // @enum DataSourceFilterVariable + + // DataSourceFilterVariableLastUpdatedAt is a DataSourceFilterVariable enum value DataSourceFilterVariableLastUpdatedAt = "LastUpdatedAt" - // @enum DataSourceFilterVariable + + // DataSourceFilterVariableStatus is a DataSourceFilterVariable enum value DataSourceFilterVariableStatus = "Status" - // @enum DataSourceFilterVariable + + // DataSourceFilterVariableName is a DataSourceFilterVariable enum value DataSourceFilterVariableName = "Name" - // @enum DataSourceFilterVariable + + // DataSourceFilterVariableDataLocationS3 is a DataSourceFilterVariable enum value DataSourceFilterVariableDataLocationS3 = "DataLocationS3" - // @enum DataSourceFilterVariable + + // DataSourceFilterVariableIamuser is a DataSourceFilterVariable enum value DataSourceFilterVariableIamuser = "IAMUser" ) @@ -5592,9 +5737,10 @@ const ( // type of the MLModel. Algorithm - Indicates the algorithm that was used for // the MLModel. const ( - // @enum DetailsAttributes + // DetailsAttributesPredictiveModelType is a DetailsAttributes enum value DetailsAttributesPredictiveModelType = "PredictiveModelType" - // @enum DetailsAttributes + + // DetailsAttributesAlgorithm is a DetailsAttributes enum value DetailsAttributesAlgorithm = "Algorithm" ) @@ -5602,15 +5748,19 @@ const ( // // PENDING INPROGRESS FAILED COMPLETED DELETED const ( - // @enum EntityStatus + // EntityStatusPending is a EntityStatus enum value EntityStatusPending = "PENDING" - // @enum EntityStatus + + // EntityStatusInprogress is a EntityStatus enum value EntityStatusInprogress = "INPROGRESS" - // @enum EntityStatus + + // EntityStatusFailed is a EntityStatus enum value EntityStatusFailed = "FAILED" - // @enum EntityStatus + + // EntityStatusCompleted is a EntityStatus enum value EntityStatusCompleted = "COMPLETED" - // @enum EntityStatus + + // EntityStatusDeleted is a EntityStatus enum value EntityStatusDeleted = "DELETED" ) @@ -5626,64 +5776,85 @@ const ( // can identify either a file or an Amazon Simple Storage Service (Amazon S3) // bucket or directory. const ( - // @enum EvaluationFilterVariable + // EvaluationFilterVariableCreatedAt is a EvaluationFilterVariable enum value EvaluationFilterVariableCreatedAt = "CreatedAt" - // @enum EvaluationFilterVariable + + // EvaluationFilterVariableLastUpdatedAt is a EvaluationFilterVariable enum value EvaluationFilterVariableLastUpdatedAt = "LastUpdatedAt" - // @enum EvaluationFilterVariable + + // EvaluationFilterVariableStatus is a EvaluationFilterVariable enum value EvaluationFilterVariableStatus = "Status" - // @enum EvaluationFilterVariable + + // EvaluationFilterVariableName is a EvaluationFilterVariable enum value EvaluationFilterVariableName = "Name" - // @enum EvaluationFilterVariable + + // EvaluationFilterVariableIamuser is a EvaluationFilterVariable enum value EvaluationFilterVariableIamuser = "IAMUser" - // @enum EvaluationFilterVariable + + // EvaluationFilterVariableMlmodelId is a EvaluationFilterVariable enum value EvaluationFilterVariableMlmodelId = "MLModelId" - // @enum EvaluationFilterVariable + + // EvaluationFilterVariableDataSourceId is a EvaluationFilterVariable enum value EvaluationFilterVariableDataSourceId = "DataSourceId" - // @enum EvaluationFilterVariable + + // EvaluationFilterVariableDataUri is a EvaluationFilterVariable enum value EvaluationFilterVariableDataUri = "DataURI" ) const ( - // @enum MLModelFilterVariable + // MLModelFilterVariableCreatedAt is a MLModelFilterVariable enum value MLModelFilterVariableCreatedAt = "CreatedAt" - // @enum MLModelFilterVariable + + // MLModelFilterVariableLastUpdatedAt is a MLModelFilterVariable enum value MLModelFilterVariableLastUpdatedAt = "LastUpdatedAt" - // @enum MLModelFilterVariable + + // MLModelFilterVariableStatus is a MLModelFilterVariable enum value MLModelFilterVariableStatus = "Status" - // @enum MLModelFilterVariable + + // MLModelFilterVariableName is a MLModelFilterVariable enum value MLModelFilterVariableName = "Name" - // @enum MLModelFilterVariable + + // MLModelFilterVariableIamuser is a MLModelFilterVariable enum value MLModelFilterVariableIamuser = "IAMUser" - // @enum MLModelFilterVariable + + // MLModelFilterVariableTrainingDataSourceId is a MLModelFilterVariable enum value MLModelFilterVariableTrainingDataSourceId = "TrainingDataSourceId" - // @enum MLModelFilterVariable + + // MLModelFilterVariableRealtimeEndpointStatus is a MLModelFilterVariable enum value MLModelFilterVariableRealtimeEndpointStatus = "RealtimeEndpointStatus" - // @enum MLModelFilterVariable + + // MLModelFilterVariableMlmodelType is a MLModelFilterVariable enum value MLModelFilterVariableMlmodelType = "MLModelType" - // @enum MLModelFilterVariable + + // MLModelFilterVariableAlgorithm is a MLModelFilterVariable enum value MLModelFilterVariableAlgorithm = "Algorithm" - // @enum MLModelFilterVariable + + // MLModelFilterVariableTrainingDataUri is a MLModelFilterVariable enum value MLModelFilterVariableTrainingDataUri = "TrainingDataURI" ) const ( - // @enum MLModelType + // MLModelTypeRegression is a MLModelType enum value MLModelTypeRegression = "REGRESSION" - // @enum MLModelType + + // MLModelTypeBinary is a MLModelType enum value MLModelTypeBinary = "BINARY" - // @enum MLModelType + + // MLModelTypeMulticlass is a MLModelType enum value MLModelTypeMulticlass = "MULTICLASS" ) const ( - // @enum RealtimeEndpointStatus + // RealtimeEndpointStatusNone is a RealtimeEndpointStatus enum value RealtimeEndpointStatusNone = "NONE" - // @enum RealtimeEndpointStatus + + // RealtimeEndpointStatusReady is a RealtimeEndpointStatus enum value RealtimeEndpointStatusReady = "READY" - // @enum RealtimeEndpointStatus + + // RealtimeEndpointStatusUpdating is a RealtimeEndpointStatus enum value RealtimeEndpointStatusUpdating = "UPDATING" - // @enum RealtimeEndpointStatus + + // RealtimeEndpointStatusFailed is a RealtimeEndpointStatus enum value RealtimeEndpointStatusFailed = "FAILED" ) @@ -5693,19 +5864,23 @@ const ( // asc - Present the information in ascending order (from A-Z). dsc - Present // the information in descending order (from Z-A). const ( - // @enum SortOrder + // SortOrderAsc is a SortOrder enum value SortOrderAsc = "asc" - // @enum SortOrder + + // SortOrderDsc is a SortOrder enum value SortOrderDsc = "dsc" ) const ( - // @enum TaggableResourceType + // TaggableResourceTypeBatchPrediction is a TaggableResourceType enum value TaggableResourceTypeBatchPrediction = "BatchPrediction" - // @enum TaggableResourceType + + // TaggableResourceTypeDataSource is a TaggableResourceType enum value TaggableResourceTypeDataSource = "DataSource" - // @enum TaggableResourceType + + // TaggableResourceTypeEvaluation is a TaggableResourceType enum value TaggableResourceTypeEvaluation = "Evaluation" - // @enum TaggableResourceType + + // TaggableResourceTypeMlmodel is a TaggableResourceType enum value TaggableResourceTypeMlmodel = "MLModel" ) diff --git a/service/machinelearning/waiters.go b/service/machinelearning/waiters.go index 924767f9e1d..9febefbe6a1 100644 --- a/service/machinelearning/waiters.go +++ b/service/machinelearning/waiters.go @@ -6,6 +6,10 @@ import ( "github.com/aws/aws-sdk-go/private/waiter" ) +// WaitUntilBatchPredictionAvailable uses the Amazon Machine Learning API operation +// DescribeBatchPredictions to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *MachineLearning) WaitUntilBatchPredictionAvailable(input *DescribeBatchPredictionsInput) error { waiterCfg := waiter.Config{ Operation: "DescribeBatchPredictions", @@ -35,6 +39,10 @@ func (c *MachineLearning) WaitUntilBatchPredictionAvailable(input *DescribeBatch return w.Wait() } +// WaitUntilDataSourceAvailable uses the Amazon Machine Learning API operation +// DescribeDataSources to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *MachineLearning) WaitUntilDataSourceAvailable(input *DescribeDataSourcesInput) error { waiterCfg := waiter.Config{ Operation: "DescribeDataSources", @@ -64,6 +72,10 @@ func (c *MachineLearning) WaitUntilDataSourceAvailable(input *DescribeDataSource return w.Wait() } +// WaitUntilEvaluationAvailable uses the Amazon Machine Learning API operation +// DescribeEvaluations to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *MachineLearning) WaitUntilEvaluationAvailable(input *DescribeEvaluationsInput) error { waiterCfg := waiter.Config{ Operation: "DescribeEvaluations", @@ -93,6 +105,10 @@ func (c *MachineLearning) WaitUntilEvaluationAvailable(input *DescribeEvaluation return w.Wait() } +// WaitUntilMLModelAvailable uses the Amazon Machine Learning API operation +// DescribeMLModels to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *MachineLearning) WaitUntilMLModelAvailable(input *DescribeMLModelsInput) error { waiterCfg := waiter.Config{ Operation: "DescribeMLModels", diff --git a/service/marketplacecommerceanalytics/api.go b/service/marketplacecommerceanalytics/api.go index 355b6200cf7..782cda3a154 100644 --- a/service/marketplacecommerceanalytics/api.go +++ b/service/marketplacecommerceanalytics/api.go @@ -140,6 +140,8 @@ type GenerateDataSetInput struct { // a date with day-level granularity within the desired week (the day value // will be ignored). For monthly data sets, provide a date with month-level // granularity for the desired month (the day value will be ignored). + // + // DataSetPublicationDate is a required field DataSetPublicationDate *time.Time `locationName:"dataSetPublicationDate" type:"timestamp" timestampFormat:"unix" required:"true"` // The desired data set type. @@ -167,9 +169,13 @@ type GenerateDataSetInput struct { // - Available daily by 5:00 PM Pacific Time since 2015-10-01. customer_profile_by_revenue // - Available daily by 5:00 PM Pacific Time since 2015-10-01. customer_profile_by_geography // - Available daily by 5:00 PM Pacific Time since 2015-10-01. + // + // DataSetType is a required field DataSetType *string `locationName:"dataSetType" min:"1" type:"string" required:"true" enum:"DataSetType"` // The name (friendly name, not ARN) of the destination S3 bucket. + // + // DestinationS3BucketName is a required field DestinationS3BucketName *string `locationName:"destinationS3BucketName" min:"1" type:"string" required:"true"` // (Optional) The desired S3 prefix for the published data set, similar to a @@ -182,10 +188,14 @@ type GenerateDataSetInput struct { // The Amazon Resource Name (ARN) of the Role with an attached permissions policy // to interact with the provided AWS services. + // + // RoleNameArn is a required field RoleNameArn *string `locationName:"roleNameArn" min:"1" type:"string" required:"true"` // Amazon Resource Name (ARN) for the SNS Topic that will be notified when the // data set has been published or if an error has occurred. + // + // SnsTopicArn is a required field SnsTopicArn *string `locationName:"snsTopicArn" min:"1" type:"string" required:"true"` } @@ -280,9 +290,13 @@ type StartSupportDataExportInput struct { // support contact data from the date specified in the from_date parameter. // test_customer_support_contacts_data An example data set containing static // test data in the same format as customer_support_contacts_data + // + // DataSetType is a required field DataSetType *string `locationName:"dataSetType" min:"1" type:"string" required:"true" enum:"SupportDataSetType"` // The name (friendly name, not ARN) of the destination S3 bucket. + // + // DestinationS3BucketName is a required field DestinationS3BucketName *string `locationName:"destinationS3BucketName" min:"1" type:"string" required:"true"` // (Optional) The desired S3 prefix for the published data set, similar to a @@ -295,14 +309,20 @@ type StartSupportDataExportInput struct { // The start date from which to retrieve the data set. This parameter only affects // the customer_support_contacts_data data set type. + // + // FromDate is a required field FromDate *time.Time `locationName:"fromDate" type:"timestamp" timestampFormat:"unix" required:"true"` // The Amazon Resource Name (ARN) of the Role with an attached permissions policy // to interact with the provided AWS services. + // + // RoleNameArn is a required field RoleNameArn *string `locationName:"roleNameArn" min:"1" type:"string" required:"true"` // Amazon Resource Name (ARN) for the SNS Topic that will be notified when the // data set has been published or if an error has occurred. + // + // SnsTopicArn is a required field SnsTopicArn *string `locationName:"snsTopicArn" min:"1" type:"string" required:"true"` } @@ -377,47 +397,65 @@ func (s StartSupportDataExportOutput) GoString() string { } const ( - // @enum DataSetType + // DataSetTypeCustomerSubscriberHourlyMonthlySubscriptions is a DataSetType enum value DataSetTypeCustomerSubscriberHourlyMonthlySubscriptions = "customer_subscriber_hourly_monthly_subscriptions" - // @enum DataSetType + + // DataSetTypeCustomerSubscriberAnnualSubscriptions is a DataSetType enum value DataSetTypeCustomerSubscriberAnnualSubscriptions = "customer_subscriber_annual_subscriptions" - // @enum DataSetType + + // DataSetTypeDailyBusinessUsageByInstanceType is a DataSetType enum value DataSetTypeDailyBusinessUsageByInstanceType = "daily_business_usage_by_instance_type" - // @enum DataSetType + + // DataSetTypeDailyBusinessFees is a DataSetType enum value DataSetTypeDailyBusinessFees = "daily_business_fees" - // @enum DataSetType + + // DataSetTypeDailyBusinessFreeTrialConversions is a DataSetType enum value DataSetTypeDailyBusinessFreeTrialConversions = "daily_business_free_trial_conversions" - // @enum DataSetType + + // DataSetTypeDailyBusinessNewInstances is a DataSetType enum value DataSetTypeDailyBusinessNewInstances = "daily_business_new_instances" - // @enum DataSetType + + // DataSetTypeDailyBusinessNewProductSubscribers is a DataSetType enum value DataSetTypeDailyBusinessNewProductSubscribers = "daily_business_new_product_subscribers" - // @enum DataSetType + + // DataSetTypeDailyBusinessCanceledProductSubscribers is a DataSetType enum value DataSetTypeDailyBusinessCanceledProductSubscribers = "daily_business_canceled_product_subscribers" - // @enum DataSetType + + // DataSetTypeMonthlyRevenueBillingAndRevenueData is a DataSetType enum value DataSetTypeMonthlyRevenueBillingAndRevenueData = "monthly_revenue_billing_and_revenue_data" - // @enum DataSetType + + // DataSetTypeMonthlyRevenueAnnualSubscriptions is a DataSetType enum value DataSetTypeMonthlyRevenueAnnualSubscriptions = "monthly_revenue_annual_subscriptions" - // @enum DataSetType + + // DataSetTypeDisbursedAmountByProduct is a DataSetType enum value DataSetTypeDisbursedAmountByProduct = "disbursed_amount_by_product" - // @enum DataSetType + + // DataSetTypeDisbursedAmountByProductWithUncollectedFunds is a DataSetType enum value DataSetTypeDisbursedAmountByProductWithUncollectedFunds = "disbursed_amount_by_product_with_uncollected_funds" - // @enum DataSetType + + // DataSetTypeDisbursedAmountByCustomerGeo is a DataSetType enum value DataSetTypeDisbursedAmountByCustomerGeo = "disbursed_amount_by_customer_geo" - // @enum DataSetType + + // DataSetTypeDisbursedAmountByAgeOfUncollectedFunds is a DataSetType enum value DataSetTypeDisbursedAmountByAgeOfUncollectedFunds = "disbursed_amount_by_age_of_uncollected_funds" - // @enum DataSetType + + // DataSetTypeDisbursedAmountByAgeOfDisbursedFunds is a DataSetType enum value DataSetTypeDisbursedAmountByAgeOfDisbursedFunds = "disbursed_amount_by_age_of_disbursed_funds" - // @enum DataSetType + + // DataSetTypeCustomerProfileByIndustry is a DataSetType enum value DataSetTypeCustomerProfileByIndustry = "customer_profile_by_industry" - // @enum DataSetType + + // DataSetTypeCustomerProfileByRevenue is a DataSetType enum value DataSetTypeCustomerProfileByRevenue = "customer_profile_by_revenue" - // @enum DataSetType + + // DataSetTypeCustomerProfileByGeography is a DataSetType enum value DataSetTypeCustomerProfileByGeography = "customer_profile_by_geography" ) const ( - // @enum SupportDataSetType + // SupportDataSetTypeCustomerSupportContactsData is a SupportDataSetType enum value SupportDataSetTypeCustomerSupportContactsData = "customer_support_contacts_data" - // @enum SupportDataSetType + + // SupportDataSetTypeTestCustomerSupportContactsData is a SupportDataSetType enum value SupportDataSetTypeTestCustomerSupportContactsData = "test_customer_support_contacts_data" ) diff --git a/service/marketplacemetering/api.go b/service/marketplacemetering/api.go index 305aa6714a7..b1737cbabc3 100644 --- a/service/marketplacemetering/api.go +++ b/service/marketplacemetering/api.go @@ -65,22 +65,32 @@ type MeterUsageInput struct { // Checks whether you have the permissions required for the action, but does // not make the request. If you have the permissions, the request returns DryRunOperation; // otherwise, it returns UnauthorizedException. + // + // DryRun is a required field DryRun *bool `type:"boolean" required:"true"` // Product code is used to uniquely identify a product in AWS Marketplace. The // product code should be the same as the one used during the publishing of // a new product. + // + // ProductCode is a required field ProductCode *string `min:"1" type:"string" required:"true"` // Timestamp of the hour, recorded in UTC. The seconds and milliseconds portions // of the timestamp will be ignored. + // + // Timestamp is a required field Timestamp *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"` // It will be one of the 'fcp dimension name' provided during the publishing // of the product. + // + // UsageDimension is a required field UsageDimension *string `min:"1" type:"string" required:"true"` // Consumption value for the hour. + // + // UsageQuantity is a required field UsageQuantity *int64 `type:"integer" required:"true"` } diff --git a/service/mobileanalytics/api.go b/service/mobileanalytics/api.go index 48f02880eb4..8388602ed0c 100644 --- a/service/mobileanalytics/api.go +++ b/service/mobileanalytics/api.go @@ -76,6 +76,8 @@ type Event struct { // A name signifying an event that occurred in your app. This is used for grouping // and aggregating like events together for reporting purposes. + // + // EventType is a required field EventType *string `locationName:"eventType" min:"1" type:"string" required:"true"` // A collection of key-value pairs that gives additional, measurable context @@ -89,6 +91,8 @@ type Event struct { // The time the event occurred in ISO 8601 standard date time format. For example, // 2014-06-30T19:07:47.885Z + // + // Timestamp is a required field Timestamp *string `locationName:"timestamp" type:"string" required:"true"` // The version of the event. @@ -138,12 +142,16 @@ type PutEventsInput struct { // The client context including the client ID, app title, app version and package // name. + // + // ClientContext is a required field ClientContext *string `location:"header" locationName:"x-amz-Client-Context" type:"string" required:"true"` // The encoding used for the client context. ClientContextEncoding *string `location:"header" locationName:"x-amz-Client-Context-Encoding" type:"string"` // An array of Event JSON objects + // + // Events is a required field Events []*Event `locationName:"events" type:"list" required:"true"` } diff --git a/service/opsworks/api.go b/service/opsworks/api.go index 578271ad0d0..4d32fe9eac9 100644 --- a/service/opsworks/api.go +++ b/service/opsworks/api.go @@ -4012,10 +4012,14 @@ type AssignInstanceInput struct { _ struct{} `type:"structure"` // The instance ID. + // + // InstanceId is a required field InstanceId *string `type:"string" required:"true"` // The layer ID, which must correspond to a custom layer. You cannot assign // a registered instance to a built-in layer. + // + // LayerIds is a required field LayerIds []*string `type:"list" required:"true"` } @@ -4066,6 +4070,8 @@ type AssignVolumeInput struct { InstanceId *string `type:"string"` // The volume ID. + // + // VolumeId is a required field VolumeId *string `type:"string" required:"true"` } @@ -4110,6 +4116,8 @@ type AssociateElasticIpInput struct { _ struct{} `type:"structure"` // The Elastic IP address. + // + // ElasticIp is a required field ElasticIp *string `type:"string" required:"true"` // The instance ID. @@ -4157,10 +4165,14 @@ type AttachElasticLoadBalancerInput struct { _ struct{} `type:"structure"` // The Elastic Load Balancing instance's name. + // + // ElasticLoadBalancerName is a required field ElasticLoadBalancerName *string `type:"string" required:"true"` // The ID of the layer that the Elastic Load Balancing instance is to be attached // to. + // + // LayerId is a required field LayerId *string `type:"string" required:"true"` } @@ -4494,9 +4506,13 @@ type CloneStackInput struct { // You must set this parameter to a valid service role ARN or the action will // fail; there is no default value. You can specify the source stack's service // role ARN, if you prefer, but you must do so explicitly. + // + // ServiceRoleArn is a required field ServiceRoleArn *string `type:"string" required:"true"` // The source stack ID. + // + // SourceStackId is a required field SourceStackId *string `type:"string" required:"true"` // Whether to use custom cookbooks. @@ -4709,6 +4725,8 @@ type CreateAppInput struct { Environment []*EnvironmentVariable `type:"list"` // The app name. + // + // Name is a required field Name *string `type:"string" required:"true"` // The app's short name. @@ -4718,6 +4736,8 @@ type CreateAppInput struct { SslConfiguration *SslConfiguration `type:"structure"` // The stack ID. + // + // StackId is a required field StackId *string `type:"string" required:"true"` // The app type. Each supported type is associated with a particular layer. @@ -4725,6 +4745,8 @@ type CreateAppInput struct { // deploys an application to those instances that are members of the corresponding // layer. If your app isn't one of the standard types, or you prefer to implement // your own Deploy recipes, specify other. + // + // Type is a required field Type *string `type:"string" required:"true" enum:"AppType"` } @@ -4799,6 +4821,8 @@ type CreateDeploymentInput struct { // A DeploymentCommand object that specifies the deployment command and any // associated arguments. + // + // Command is a required field Command *DeploymentCommand `type:"structure" required:"true"` // A user-defined comment. @@ -4821,6 +4845,8 @@ type CreateDeploymentInput struct { LayerIds []*string `type:"list"` // The stack ID. + // + // StackId is a required field StackId *string `type:"string" required:"true"` } @@ -4939,9 +4965,13 @@ type CreateInstanceInput struct { // Instance Families and Types (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html). // The parameter values that you use to specify the various types are in the // API Name column of the Available Instance Types table. + // + // InstanceType is a required field InstanceType *string `type:"string" required:"true"` // An array that contains the instance's layer IDs. + // + // LayerIds is a required field LayerIds []*string `type:"list" required:"true"` // The instance's operating system, which must be set to one of the following. @@ -4983,6 +5013,8 @@ type CreateInstanceInput struct { SshKeyName *string `type:"string"` // The stack ID. + // + // StackId is a required field StackId *string `type:"string" required:"true"` // The ID of the instance's subnet. If the stack is running in a VPC, you can @@ -5106,6 +5138,8 @@ type CreateLayerInput struct { LifecycleEventConfiguration *LifecycleEventConfiguration `type:"structure"` // The layer name, which is used by the console. + // + // Name is a required field Name *string `type:"string" required:"true"` // An array of Package objects that describes the layer packages. @@ -5119,14 +5153,20 @@ type CreateLayerInput struct { // // The built-in layers' short names are defined by AWS OpsWorks. For more information, // see the Layer Reference (http://docs.aws.amazon.com/opsworks/latest/userguide/layers.html). + // + // Shortname is a required field Shortname *string `type:"string" required:"true"` // The layer stack ID. + // + // StackId is a required field StackId *string `type:"string" required:"true"` // The layer type. A stack cannot have more than one built-in layer of the same // type. It can have any number of custom layers. Built-in layers are not available // in Chef 12 stacks. + // + // Type is a required field Type *string `type:"string" required:"true" enum:"LayerType"` // Whether to use Amazon EBS-optimized instances. @@ -5257,6 +5297,8 @@ type CreateStackInput struct { // The Amazon Resource Name (ARN) of an IAM profile that is the default profile // for all of the stack's EC2 instances. For more information about IAM ARNs, // see Using Identifiers (http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html). + // + // DefaultInstanceProfileArn is a required field DefaultInstanceProfileArn *string `type:"string" required:"true"` // The stack's default operating system, which is installed on every instance @@ -5340,16 +5382,22 @@ type CreateStackInput struct { HostnameTheme *string `type:"string"` // The stack name. + // + // Name is a required field Name *string `type:"string" required:"true"` // The stack's AWS region, such as "ap-south-1". For more information about // Amazon regions, see Regions and Endpoints (http://docs.aws.amazon.com/general/latest/gr/rande.html). + // + // Region is a required field Region *string `type:"string" required:"true"` // The stack's AWS Identity and Access Management (IAM) role, which allows AWS // OpsWorks to work with AWS resources on your behalf. You must set this parameter // to the Amazon Resource Name (ARN) for an existing IAM role. For more information // about IAM ARNs, see Using Identifiers (http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html). + // + // ServiceRoleArn is a required field ServiceRoleArn *string `type:"string" required:"true"` // Whether the stack uses custom cookbooks. @@ -5464,6 +5512,8 @@ type CreateUserProfileInput struct { AllowSelfManagement *bool `type:"boolean"` // The user's IAM ARN; this can also be a federated user's ARN. + // + // IamUserArn is a required field IamUserArn *string `type:"string" required:"true"` // The user's public SSH key. @@ -5547,6 +5597,8 @@ type DeleteAppInput struct { _ struct{} `type:"structure"` // The app ID. + // + // AppId is a required field AppId *string `type:"string" required:"true"` } @@ -5597,6 +5649,8 @@ type DeleteInstanceInput struct { DeleteVolumes *bool `type:"boolean"` // The instance ID. + // + // InstanceId is a required field InstanceId *string `type:"string" required:"true"` } @@ -5641,6 +5695,8 @@ type DeleteLayerInput struct { _ struct{} `type:"structure"` // The layer ID. + // + // LayerId is a required field LayerId *string `type:"string" required:"true"` } @@ -5685,6 +5741,8 @@ type DeleteStackInput struct { _ struct{} `type:"structure"` // The stack ID. + // + // StackId is a required field StackId *string `type:"string" required:"true"` } @@ -5729,6 +5787,8 @@ type DeleteUserProfileInput struct { _ struct{} `type:"structure"` // The user's IAM ARN. This can also be a federated user's ARN. + // + // IamUserArn is a required field IamUserArn *string `type:"string" required:"true"` } @@ -5894,6 +5954,8 @@ type DeploymentCommand struct { // restart: Restart the app's web or application server. // // undeploy: Undeploy the app. + // + // Name is a required field Name *string `type:"string" required:"true" enum:"DeploymentCommandName"` } @@ -5924,6 +5986,8 @@ type DeregisterEcsClusterInput struct { _ struct{} `type:"structure"` // The cluster's ARN. + // + // EcsClusterArn is a required field EcsClusterArn *string `type:"string" required:"true"` } @@ -5968,6 +6032,8 @@ type DeregisterElasticIpInput struct { _ struct{} `type:"structure"` // The Elastic IP address. + // + // ElasticIp is a required field ElasticIp *string `type:"string" required:"true"` } @@ -6012,6 +6078,8 @@ type DeregisterInstanceInput struct { _ struct{} `type:"structure"` // The instance ID. + // + // InstanceId is a required field InstanceId *string `type:"string" required:"true"` } @@ -6056,6 +6124,8 @@ type DeregisterRdsDbInstanceInput struct { _ struct{} `type:"structure"` // The Amazon RDS instance's ARN. + // + // RdsDbInstanceArn is a required field RdsDbInstanceArn *string `type:"string" required:"true"` } @@ -6102,6 +6172,8 @@ type DeregisterVolumeInput struct { // The AWS OpsWorks volume ID, which is the GUID that AWS OpsWorks assigned // to the instance when you registered the volume with the stack, not the Amazon // EC2 volume ID. + // + // VolumeId is a required field VolumeId *string `type:"string" required:"true"` } @@ -6546,6 +6618,8 @@ type DescribeLoadBasedAutoScalingInput struct { _ struct{} `type:"structure"` // An array of layer IDs. + // + // LayerIds is a required field LayerIds []*string `type:"list" required:"true"` } @@ -6724,6 +6798,8 @@ type DescribeRdsDbInstancesInput struct { // The stack ID that the instances are registered with. The operation returns // descriptions of all registered Amazon RDS instances. + // + // StackId is a required field StackId *string `type:"string" required:"true"` } @@ -6817,6 +6893,8 @@ type DescribeStackProvisioningParametersInput struct { _ struct{} `type:"structure"` // The stack ID + // + // StackId is a required field StackId *string `type:"string" required:"true"` } @@ -6868,6 +6946,8 @@ type DescribeStackSummaryInput struct { _ struct{} `type:"structure"` // The stack ID. + // + // StackId is a required field StackId *string `type:"string" required:"true"` } @@ -6952,6 +7032,8 @@ type DescribeTimeBasedAutoScalingInput struct { _ struct{} `type:"structure"` // An array of instance IDs. + // + // InstanceIds is a required field InstanceIds []*string `type:"list" required:"true"` } @@ -7084,10 +7166,14 @@ type DetachElasticLoadBalancerInput struct { _ struct{} `type:"structure"` // The Elastic Load Balancing instance's name. + // + // ElasticLoadBalancerName is a required field ElasticLoadBalancerName *string `type:"string" required:"true"` // The ID of the layer that the Elastic Load Balancing instance is attached // to. + // + // LayerId is a required field LayerId *string `type:"string" required:"true"` } @@ -7135,6 +7221,8 @@ type DisassociateElasticIpInput struct { _ struct{} `type:"structure"` // The Elastic IP address. + // + // ElasticIp is a required field ElasticIp *string `type:"string" required:"true"` } @@ -7317,6 +7405,8 @@ type EnvironmentVariable struct { // characters and must be specified. The name can contain upper- and lowercase // letters, numbers, and underscores (_), but it must start with a letter or // underscore. + // + // Key is a required field Key *string `type:"string" required:"true"` // (Optional) Whether the variable's value will be returned by the DescribeApps @@ -7328,6 +7418,8 @@ type EnvironmentVariable struct { // (Optional) The environment variable's value, which can be left empty. If // you specify a value, it can contain up to 256 characters, which must all // be printable. + // + // Value is a required field Value *string `type:"string" required:"true"` } @@ -7361,6 +7453,8 @@ type GetHostnameSuggestionInput struct { _ struct{} `type:"structure"` // The layer ID. + // + // LayerId is a required field LayerId *string `type:"string" required:"true"` } @@ -7412,6 +7506,8 @@ type GrantAccessInput struct { _ struct{} `type:"structure"` // The instance's AWS OpsWorks ID. + // + // InstanceId is a required field InstanceId *string `type:"string" required:"true"` // The length of time (in minutes) that the grant is valid. When the grant expires @@ -8038,6 +8134,8 @@ type RebootInstanceInput struct { _ struct{} `type:"structure"` // The instance ID. + // + // InstanceId is a required field InstanceId *string `type:"string" required:"true"` } @@ -8122,9 +8220,13 @@ type RegisterEcsClusterInput struct { _ struct{} `type:"structure"` // The cluster's ARN. + // + // EcsClusterArn is a required field EcsClusterArn *string `type:"string" required:"true"` // The stack ID. + // + // StackId is a required field StackId *string `type:"string" required:"true"` } @@ -8176,9 +8278,13 @@ type RegisterElasticIpInput struct { _ struct{} `type:"structure"` // The Elastic IP address. + // + // ElasticIp is a required field ElasticIp *string `type:"string" required:"true"` // The stack ID. + // + // StackId is a required field StackId *string `type:"string" required:"true"` } @@ -8249,6 +8355,8 @@ type RegisterInstanceInput struct { RsaPublicKeyFingerprint *string `type:"string"` // The ID of the stack that the instance is to be registered with. + // + // StackId is a required field StackId *string `type:"string" required:"true"` } @@ -8297,15 +8405,23 @@ type RegisterRdsDbInstanceInput struct { _ struct{} `type:"structure"` // The database password. + // + // DbPassword is a required field DbPassword *string `type:"string" required:"true"` // The database's master user name. + // + // DbUser is a required field DbUser *string `type:"string" required:"true"` // The Amazon RDS instance's ARN. + // + // RdsDbInstanceArn is a required field RdsDbInstanceArn *string `type:"string" required:"true"` // The stack ID. + // + // StackId is a required field StackId *string `type:"string" required:"true"` } @@ -8362,6 +8478,8 @@ type RegisterVolumeInput struct { Ec2VolumeId *string `type:"string"` // The stack ID. + // + // StackId is a required field StackId *string `type:"string" required:"true"` } @@ -8502,6 +8620,8 @@ type SetLoadBasedAutoScalingInput struct { Enable *bool `type:"boolean"` // The layer ID. + // + // LayerId is a required field LayerId *string `type:"string" required:"true"` // An AutoScalingThresholds object with the upscaling threshold configuration. @@ -8567,6 +8687,8 @@ type SetPermissionInput struct { AllowSudo *bool `type:"boolean"` // The user's IAM ARN. This can also be a federated user's ARN. + // + // IamUserArn is a required field IamUserArn *string `type:"string" required:"true"` // The user's permission level, which must be set to one of the following strings. @@ -8587,6 +8709,8 @@ type SetPermissionInput struct { Level *string `type:"string"` // The stack ID. + // + // StackId is a required field StackId *string `type:"string" required:"true"` } @@ -8637,6 +8761,8 @@ type SetTimeBasedAutoScalingInput struct { AutoScalingSchedule *WeeklyAutoScalingSchedule `type:"structure"` // The instance ID. + // + // InstanceId is a required field InstanceId *string `type:"string" required:"true"` } @@ -8763,6 +8889,8 @@ type SslConfiguration struct { _ struct{} `type:"structure"` // The contents of the certificate's domain.crt file. + // + // Certificate is a required field Certificate *string `type:"string" required:"true"` // Optional. Can be used to specify an intermediate certificate authority key @@ -8770,6 +8898,8 @@ type SslConfiguration struct { Chain *string `type:"string"` // The private key; the contents of the certificate's domain.kex file. + // + // PrivateKey is a required field PrivateKey *string `type:"string" required:"true"` } @@ -8960,6 +9090,8 @@ type StartInstanceInput struct { _ struct{} `type:"structure"` // The instance ID. + // + // InstanceId is a required field InstanceId *string `type:"string" required:"true"` } @@ -9004,6 +9136,8 @@ type StartStackInput struct { _ struct{} `type:"structure"` // The stack ID. + // + // StackId is a required field StackId *string `type:"string" required:"true"` } @@ -9048,6 +9182,8 @@ type StopInstanceInput struct { _ struct{} `type:"structure"` // The instance ID. + // + // InstanceId is a required field InstanceId *string `type:"string" required:"true"` } @@ -9092,6 +9228,8 @@ type StopStackInput struct { _ struct{} `type:"structure"` // The stack ID. + // + // StackId is a required field StackId *string `type:"string" required:"true"` } @@ -9188,6 +9326,8 @@ type UnassignInstanceInput struct { _ struct{} `type:"structure"` // The instance ID. + // + // InstanceId is a required field InstanceId *string `type:"string" required:"true"` } @@ -9232,6 +9372,8 @@ type UnassignVolumeInput struct { _ struct{} `type:"structure"` // The volume ID. + // + // VolumeId is a required field VolumeId *string `type:"string" required:"true"` } @@ -9276,6 +9418,8 @@ type UpdateAppInput struct { _ struct{} `type:"structure"` // The app ID. + // + // AppId is a required field AppId *string `type:"string" required:"true"` // A Source object that specifies the app repository. @@ -9379,6 +9523,8 @@ type UpdateElasticIpInput struct { _ struct{} `type:"structure"` // The address. + // + // ElasticIp is a required field ElasticIp *string `type:"string" required:"true"` // The new name. @@ -9471,6 +9617,8 @@ type UpdateInstanceInput struct { InstallUpdatesOnBoot *bool `type:"boolean"` // The instance ID. + // + // InstanceId is a required field InstanceId *string `type:"string" required:"true"` // The instance type, such as t2.micro. For a list of supported instance types, @@ -9601,6 +9749,8 @@ type UpdateLayerInput struct { InstallUpdatesOnBoot *bool `type:"boolean"` // The layer ID. + // + // LayerId is a required field LayerId *string `type:"string" required:"true"` LifecycleEventConfiguration *LifecycleEventConfiguration `type:"structure"` @@ -9716,6 +9866,8 @@ type UpdateRdsDbInstanceInput struct { DbUser *string `type:"string"` // The Amazon RDS instance's ARN. + // + // RdsDbInstanceArn is a required field RdsDbInstanceArn *string `type:"string" required:"true"` } @@ -9903,6 +10055,8 @@ type UpdateStackInput struct { ServiceRoleArn *string `type:"string"` // The stack ID. + // + // StackId is a required field StackId *string `type:"string" required:"true"` // Whether the stack uses custom cookbooks. @@ -9976,6 +10130,8 @@ type UpdateUserProfileInput struct { AllowSelfManagement *bool `type:"boolean"` // The user IAM ARN. This can also be a federated user's ARN. + // + // IamUserArn is a required field IamUserArn *string `type:"string" required:"true"` // The user's new SSH public key. @@ -10036,6 +10192,8 @@ type UpdateVolumeInput struct { Name *string `type:"string"` // The volume ID. + // + // VolumeId is a required field VolumeId *string `type:"string" required:"true"` } @@ -10171,15 +10329,21 @@ type VolumeConfiguration struct { Iops *int64 `type:"integer"` // The volume mount point. For example "/dev/sdh". + // + // MountPoint is a required field MountPoint *string `type:"string" required:"true"` // The number of disks in the volume. + // + // NumberOfDisks is a required field NumberOfDisks *int64 `type:"integer" required:"true"` // The volume RAID level (http://en.wikipedia.org/wiki/Standard_RAID_levels). RaidLevel *int64 `type:"integer"` // The volume size. + // + // Size is a required field Size *int64 `type:"integer" required:"true"` // The volume type: @@ -10275,189 +10439,253 @@ func (s WeeklyAutoScalingSchedule) GoString() string { } const ( - // @enum AppAttributesKeys + // AppAttributesKeysDocumentRoot is a AppAttributesKeys enum value AppAttributesKeysDocumentRoot = "DocumentRoot" - // @enum AppAttributesKeys + + // AppAttributesKeysRailsEnv is a AppAttributesKeys enum value AppAttributesKeysRailsEnv = "RailsEnv" - // @enum AppAttributesKeys + + // AppAttributesKeysAutoBundleOnDeploy is a AppAttributesKeys enum value AppAttributesKeysAutoBundleOnDeploy = "AutoBundleOnDeploy" - // @enum AppAttributesKeys + + // AppAttributesKeysAwsFlowRubySettings is a AppAttributesKeys enum value AppAttributesKeysAwsFlowRubySettings = "AwsFlowRubySettings" ) const ( - // @enum AppType + // AppTypeAwsFlowRuby is a AppType enum value AppTypeAwsFlowRuby = "aws-flow-ruby" - // @enum AppType + + // AppTypeJava is a AppType enum value AppTypeJava = "java" - // @enum AppType + + // AppTypeRails is a AppType enum value AppTypeRails = "rails" - // @enum AppType + + // AppTypePhp is a AppType enum value AppTypePhp = "php" - // @enum AppType + + // AppTypeNodejs is a AppType enum value AppTypeNodejs = "nodejs" - // @enum AppType + + // AppTypeStatic is a AppType enum value AppTypeStatic = "static" - // @enum AppType + + // AppTypeOther is a AppType enum value AppTypeOther = "other" ) const ( - // @enum Architecture + // ArchitectureX8664 is a Architecture enum value ArchitectureX8664 = "x86_64" - // @enum Architecture + + // ArchitectureI386 is a Architecture enum value ArchitectureI386 = "i386" ) const ( - // @enum AutoScalingType + // AutoScalingTypeLoad is a AutoScalingType enum value AutoScalingTypeLoad = "load" - // @enum AutoScalingType + + // AutoScalingTypeTimer is a AutoScalingType enum value AutoScalingTypeTimer = "timer" ) const ( - // @enum DeploymentCommandName + // DeploymentCommandNameInstallDependencies is a DeploymentCommandName enum value DeploymentCommandNameInstallDependencies = "install_dependencies" - // @enum DeploymentCommandName + + // DeploymentCommandNameUpdateDependencies is a DeploymentCommandName enum value DeploymentCommandNameUpdateDependencies = "update_dependencies" - // @enum DeploymentCommandName + + // DeploymentCommandNameUpdateCustomCookbooks is a DeploymentCommandName enum value DeploymentCommandNameUpdateCustomCookbooks = "update_custom_cookbooks" - // @enum DeploymentCommandName + + // DeploymentCommandNameExecuteRecipes is a DeploymentCommandName enum value DeploymentCommandNameExecuteRecipes = "execute_recipes" - // @enum DeploymentCommandName + + // DeploymentCommandNameConfigure is a DeploymentCommandName enum value DeploymentCommandNameConfigure = "configure" - // @enum DeploymentCommandName + + // DeploymentCommandNameSetup is a DeploymentCommandName enum value DeploymentCommandNameSetup = "setup" - // @enum DeploymentCommandName + + // DeploymentCommandNameDeploy is a DeploymentCommandName enum value DeploymentCommandNameDeploy = "deploy" - // @enum DeploymentCommandName + + // DeploymentCommandNameRollback is a DeploymentCommandName enum value DeploymentCommandNameRollback = "rollback" - // @enum DeploymentCommandName + + // DeploymentCommandNameStart is a DeploymentCommandName enum value DeploymentCommandNameStart = "start" - // @enum DeploymentCommandName + + // DeploymentCommandNameStop is a DeploymentCommandName enum value DeploymentCommandNameStop = "stop" - // @enum DeploymentCommandName + + // DeploymentCommandNameRestart is a DeploymentCommandName enum value DeploymentCommandNameRestart = "restart" - // @enum DeploymentCommandName + + // DeploymentCommandNameUndeploy is a DeploymentCommandName enum value DeploymentCommandNameUndeploy = "undeploy" ) const ( - // @enum LayerAttributesKeys + // LayerAttributesKeysEcsClusterArn is a LayerAttributesKeys enum value LayerAttributesKeysEcsClusterArn = "EcsClusterArn" - // @enum LayerAttributesKeys + + // LayerAttributesKeysEnableHaproxyStats is a LayerAttributesKeys enum value LayerAttributesKeysEnableHaproxyStats = "EnableHaproxyStats" - // @enum LayerAttributesKeys + + // LayerAttributesKeysHaproxyStatsUrl is a LayerAttributesKeys enum value LayerAttributesKeysHaproxyStatsUrl = "HaproxyStatsUrl" - // @enum LayerAttributesKeys + + // LayerAttributesKeysHaproxyStatsUser is a LayerAttributesKeys enum value LayerAttributesKeysHaproxyStatsUser = "HaproxyStatsUser" - // @enum LayerAttributesKeys + + // LayerAttributesKeysHaproxyStatsPassword is a LayerAttributesKeys enum value LayerAttributesKeysHaproxyStatsPassword = "HaproxyStatsPassword" - // @enum LayerAttributesKeys + + // LayerAttributesKeysHaproxyHealthCheckUrl is a LayerAttributesKeys enum value LayerAttributesKeysHaproxyHealthCheckUrl = "HaproxyHealthCheckUrl" - // @enum LayerAttributesKeys + + // LayerAttributesKeysHaproxyHealthCheckMethod is a LayerAttributesKeys enum value LayerAttributesKeysHaproxyHealthCheckMethod = "HaproxyHealthCheckMethod" - // @enum LayerAttributesKeys + + // LayerAttributesKeysMysqlRootPassword is a LayerAttributesKeys enum value LayerAttributesKeysMysqlRootPassword = "MysqlRootPassword" - // @enum LayerAttributesKeys + + // LayerAttributesKeysMysqlRootPasswordUbiquitous is a LayerAttributesKeys enum value LayerAttributesKeysMysqlRootPasswordUbiquitous = "MysqlRootPasswordUbiquitous" - // @enum LayerAttributesKeys + + // LayerAttributesKeysGangliaUrl is a LayerAttributesKeys enum value LayerAttributesKeysGangliaUrl = "GangliaUrl" - // @enum LayerAttributesKeys + + // LayerAttributesKeysGangliaUser is a LayerAttributesKeys enum value LayerAttributesKeysGangliaUser = "GangliaUser" - // @enum LayerAttributesKeys + + // LayerAttributesKeysGangliaPassword is a LayerAttributesKeys enum value LayerAttributesKeysGangliaPassword = "GangliaPassword" - // @enum LayerAttributesKeys + + // LayerAttributesKeysMemcachedMemory is a LayerAttributesKeys enum value LayerAttributesKeysMemcachedMemory = "MemcachedMemory" - // @enum LayerAttributesKeys + + // LayerAttributesKeysNodejsVersion is a LayerAttributesKeys enum value LayerAttributesKeysNodejsVersion = "NodejsVersion" - // @enum LayerAttributesKeys + + // LayerAttributesKeysRubyVersion is a LayerAttributesKeys enum value LayerAttributesKeysRubyVersion = "RubyVersion" - // @enum LayerAttributesKeys + + // LayerAttributesKeysRubygemsVersion is a LayerAttributesKeys enum value LayerAttributesKeysRubygemsVersion = "RubygemsVersion" - // @enum LayerAttributesKeys + + // LayerAttributesKeysManageBundler is a LayerAttributesKeys enum value LayerAttributesKeysManageBundler = "ManageBundler" - // @enum LayerAttributesKeys + + // LayerAttributesKeysBundlerVersion is a LayerAttributesKeys enum value LayerAttributesKeysBundlerVersion = "BundlerVersion" - // @enum LayerAttributesKeys + + // LayerAttributesKeysRailsStack is a LayerAttributesKeys enum value LayerAttributesKeysRailsStack = "RailsStack" - // @enum LayerAttributesKeys + + // LayerAttributesKeysPassengerVersion is a LayerAttributesKeys enum value LayerAttributesKeysPassengerVersion = "PassengerVersion" - // @enum LayerAttributesKeys + + // LayerAttributesKeysJvm is a LayerAttributesKeys enum value LayerAttributesKeysJvm = "Jvm" - // @enum LayerAttributesKeys + + // LayerAttributesKeysJvmVersion is a LayerAttributesKeys enum value LayerAttributesKeysJvmVersion = "JvmVersion" - // @enum LayerAttributesKeys + + // LayerAttributesKeysJvmOptions is a LayerAttributesKeys enum value LayerAttributesKeysJvmOptions = "JvmOptions" - // @enum LayerAttributesKeys + + // LayerAttributesKeysJavaAppServer is a LayerAttributesKeys enum value LayerAttributesKeysJavaAppServer = "JavaAppServer" - // @enum LayerAttributesKeys + + // LayerAttributesKeysJavaAppServerVersion is a LayerAttributesKeys enum value LayerAttributesKeysJavaAppServerVersion = "JavaAppServerVersion" ) const ( - // @enum LayerType + // LayerTypeAwsFlowRuby is a LayerType enum value LayerTypeAwsFlowRuby = "aws-flow-ruby" - // @enum LayerType + + // LayerTypeEcsCluster is a LayerType enum value LayerTypeEcsCluster = "ecs-cluster" - // @enum LayerType + + // LayerTypeJavaApp is a LayerType enum value LayerTypeJavaApp = "java-app" - // @enum LayerType + + // LayerTypeLb is a LayerType enum value LayerTypeLb = "lb" - // @enum LayerType + + // LayerTypeWeb is a LayerType enum value LayerTypeWeb = "web" - // @enum LayerType + + // LayerTypePhpApp is a LayerType enum value LayerTypePhpApp = "php-app" - // @enum LayerType + + // LayerTypeRailsApp is a LayerType enum value LayerTypeRailsApp = "rails-app" - // @enum LayerType + + // LayerTypeNodejsApp is a LayerType enum value LayerTypeNodejsApp = "nodejs-app" - // @enum LayerType + + // LayerTypeMemcached is a LayerType enum value LayerTypeMemcached = "memcached" - // @enum LayerType + + // LayerTypeDbMaster is a LayerType enum value LayerTypeDbMaster = "db-master" - // @enum LayerType + + // LayerTypeMonitoringMaster is a LayerType enum value LayerTypeMonitoringMaster = "monitoring-master" - // @enum LayerType + + // LayerTypeCustom is a LayerType enum value LayerTypeCustom = "custom" ) const ( - // @enum RootDeviceType + // RootDeviceTypeEbs is a RootDeviceType enum value RootDeviceTypeEbs = "ebs" - // @enum RootDeviceType + + // RootDeviceTypeInstanceStore is a RootDeviceType enum value RootDeviceTypeInstanceStore = "instance-store" ) const ( - // @enum SourceType + // SourceTypeGit is a SourceType enum value SourceTypeGit = "git" - // @enum SourceType + + // SourceTypeSvn is a SourceType enum value SourceTypeSvn = "svn" - // @enum SourceType + + // SourceTypeArchive is a SourceType enum value SourceTypeArchive = "archive" - // @enum SourceType + + // SourceTypeS3 is a SourceType enum value SourceTypeS3 = "s3" ) const ( - // @enum StackAttributesKeys + // StackAttributesKeysColor is a StackAttributesKeys enum value StackAttributesKeysColor = "Color" ) const ( - // @enum VirtualizationType + // VirtualizationTypeParavirtual is a VirtualizationType enum value VirtualizationTypeParavirtual = "paravirtual" - // @enum VirtualizationType + + // VirtualizationTypeHvm is a VirtualizationType enum value VirtualizationTypeHvm = "hvm" ) const ( - // @enum VolumeType + // VolumeTypeGp2 is a VolumeType enum value VolumeTypeGp2 = "gp2" - // @enum VolumeType + + // VolumeTypeIo1 is a VolumeType enum value VolumeTypeIo1 = "io1" - // @enum VolumeType + + // VolumeTypeStandard is a VolumeType enum value VolumeTypeStandard = "standard" ) diff --git a/service/opsworks/waiters.go b/service/opsworks/waiters.go index 9aa531992c8..dc4fa42ae0d 100644 --- a/service/opsworks/waiters.go +++ b/service/opsworks/waiters.go @@ -6,6 +6,10 @@ import ( "github.com/aws/aws-sdk-go/private/waiter" ) +// WaitUntilAppExists uses the AWS OpsWorks API operation +// DescribeApps to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *OpsWorks) WaitUntilAppExists(input *DescribeAppsInput) error { waiterCfg := waiter.Config{ Operation: "DescribeApps", @@ -35,6 +39,10 @@ func (c *OpsWorks) WaitUntilAppExists(input *DescribeAppsInput) error { return w.Wait() } +// WaitUntilDeploymentSuccessful uses the AWS OpsWorks API operation +// DescribeDeployments to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *OpsWorks) WaitUntilDeploymentSuccessful(input *DescribeDeploymentsInput) error { waiterCfg := waiter.Config{ Operation: "DescribeDeployments", @@ -64,6 +72,10 @@ func (c *OpsWorks) WaitUntilDeploymentSuccessful(input *DescribeDeploymentsInput return w.Wait() } +// WaitUntilInstanceOnline uses the AWS OpsWorks API operation +// DescribeInstances to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *OpsWorks) WaitUntilInstanceOnline(input *DescribeInstancesInput) error { waiterCfg := waiter.Config{ Operation: "DescribeInstances", @@ -135,6 +147,10 @@ func (c *OpsWorks) WaitUntilInstanceOnline(input *DescribeInstancesInput) error return w.Wait() } +// WaitUntilInstanceRegistered uses the AWS OpsWorks API operation +// DescribeInstances to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *OpsWorks) WaitUntilInstanceRegistered(input *DescribeInstancesInput) error { waiterCfg := waiter.Config{ Operation: "DescribeInstances", @@ -200,6 +216,10 @@ func (c *OpsWorks) WaitUntilInstanceRegistered(input *DescribeInstancesInput) er return w.Wait() } +// WaitUntilInstanceStopped uses the AWS OpsWorks API operation +// DescribeInstances to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *OpsWorks) WaitUntilInstanceStopped(input *DescribeInstancesInput) error { waiterCfg := waiter.Config{ Operation: "DescribeInstances", @@ -277,6 +297,10 @@ func (c *OpsWorks) WaitUntilInstanceStopped(input *DescribeInstancesInput) error return w.Wait() } +// WaitUntilInstanceTerminated uses the AWS OpsWorks API operation +// DescribeInstances to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *OpsWorks) WaitUntilInstanceTerminated(input *DescribeInstancesInput) error { waiterCfg := waiter.Config{ Operation: "DescribeInstances", diff --git a/service/rds/api.go b/service/rds/api.go index 3afbfb33a9a..9caa366cd25 100644 --- a/service/rds/api.go +++ b/service/rds/api.go @@ -5047,10 +5047,14 @@ type AddSourceIdentifierToSubscriptionInput struct { // be supplied. // // If the source type is a DB snapshot, a DBSnapshotIdentifier must be supplied. + // + // SourceIdentifier is a required field SourceIdentifier *string `type:"string" required:"true"` // The name of the RDS event notification subscription you want to add a source // identifier to. + // + // SubscriptionName is a required field SubscriptionName *string `type:"string" required:"true"` } @@ -5104,9 +5108,13 @@ type AddTagsToResourceInput struct { // The Amazon RDS resource the tags will be added to. This value is an Amazon // Resource Name (ARN). For information about creating an ARN, see Constructing // an RDS Amazon Resource Name (ARN) (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.ARN.html#USER_Tagging.ARN.Constructing). + // + // ResourceName is a required field ResourceName *string `type:"string" required:"true"` // The tags to be assigned to the Amazon RDS resource. + // + // Tags is a required field Tags []*Tag `locationNameList:"Tag" type:"list" required:"true"` } @@ -5156,6 +5164,8 @@ type ApplyPendingMaintenanceActionInput struct { // The pending maintenance action to apply to this resource. // // Valid values: system-update, db-upgrade + // + // ApplyAction is a required field ApplyAction *string `type:"string" required:"true"` // A value that specifies the type of opt-in request, or undoes an opt-in request. @@ -5169,11 +5179,15 @@ type ApplyPendingMaintenanceActionInput struct { // window for the resource. // // undo-opt-in - Cancel any existing next-maintenance opt-in requests. + // + // OptInType is a required field OptInType *string `type:"string" required:"true"` // The RDS Amazon Resource Name (ARN) of the resource that the pending maintenance // action applies to. For information about creating an ARN, see Constructing // an RDS Amazon Resource Name (ARN) (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.ARN.html#USER_Tagging.ARN.Constructing). + // + // ResourceIdentifier is a required field ResourceIdentifier *string `type:"string" required:"true"` } @@ -5230,6 +5244,8 @@ type AuthorizeDBSecurityGroupIngressInput struct { CIDRIP *string `type:"string"` // The name of the DB security group to add authorization to. + // + // DBSecurityGroupName is a required field DBSecurityGroupName *string `type:"string" required:"true"` // Id of the EC2 security group to authorize. For VPC DB security groups, EC2SecurityGroupId @@ -5394,12 +5410,16 @@ type CopyDBClusterParameterGroupInput struct { // // If the source DB parameter group is in a different region than the copy, // specify a valid DB cluster parameter group ARN, for example arn:aws:rds:us-east-1:123456789012:cluster-pg:custom-cluster-group1. + // + // SourceDBClusterParameterGroupIdentifier is a required field SourceDBClusterParameterGroupIdentifier *string `type:"string" required:"true"` // A list of tags. Tags []*Tag `locationNameList:"Tag" type:"list"` // A description for the copied DB cluster parameter group. + // + // TargetDBClusterParameterGroupDescription is a required field TargetDBClusterParameterGroupDescription *string `type:"string" required:"true"` // The identifier for the copied DB cluster parameter group. @@ -5415,6 +5435,8 @@ type CopyDBClusterParameterGroupInput struct { // Cannot end with a hyphen or contain two consecutive hyphens // // Example: my-cluster-param-group1 + // + // TargetDBClusterParameterGroupIdentifier is a required field TargetDBClusterParameterGroupIdentifier *string `type:"string" required:"true"` } @@ -5484,6 +5506,8 @@ type CopyDBClusterSnapshotInput struct { // Cannot end with a hyphen or contain two consecutive hyphens. // // Example: my-cluster-snapshot1 + // + // SourceDBClusterSnapshotIdentifier is a required field SourceDBClusterSnapshotIdentifier *string `type:"string" required:"true"` // A list of tags. @@ -5501,6 +5525,8 @@ type CopyDBClusterSnapshotInput struct { // Cannot end with a hyphen or contain two consecutive hyphens. // // Example: my-cluster-snapshot2 + // + // TargetDBClusterSnapshotIdentifier is a required field TargetDBClusterSnapshotIdentifier *string `type:"string" required:"true"` } @@ -5567,12 +5593,16 @@ type CopyDBParameterGroupInput struct { // // Must specify a valid DB parameter group identifier, for example my-db-param-group, // or a valid ARN. + // + // SourceDBParameterGroupIdentifier is a required field SourceDBParameterGroupIdentifier *string `type:"string" required:"true"` // A list of tags. Tags []*Tag `locationNameList:"Tag" type:"list"` // A description for the copied DB parameter group. + // + // TargetDBParameterGroupDescription is a required field TargetDBParameterGroupDescription *string `type:"string" required:"true"` // The identifier for the copied DB parameter group. @@ -5588,6 +5618,8 @@ type CopyDBParameterGroupInput struct { // Cannot end with a hyphen or contain two consecutive hyphens // // Example: my-db-parameter-group + // + // TargetDBParameterGroupIdentifier is a required field TargetDBParameterGroupIdentifier *string `type:"string" required:"true"` } @@ -5684,6 +5716,8 @@ type CopyDBSnapshotInput struct { // Example: rds:mydb-2012-04-02-00-01 // // Example: arn:aws:rds:rr-regn-1:123456789012:snapshot:mysql-instance1-snapshot-20130805 + // + // SourceDBSnapshotIdentifier is a required field SourceDBSnapshotIdentifier *string `type:"string" required:"true"` // A list of tags. @@ -5702,6 +5736,8 @@ type CopyDBSnapshotInput struct { // Cannot end with a hyphen or contain two consecutive hyphens // // Example: my-db-snapshot + // + // TargetDBSnapshotIdentifier is a required field TargetDBSnapshotIdentifier *string `type:"string" required:"true"` } @@ -5771,12 +5807,16 @@ type CopyOptionGroupInput struct { // // If the source option group is in a different region than the copy, specify // a valid option group ARN, for example arn:aws:rds:us-west-2:123456789012:og:special-options. + // + // SourceOptionGroupIdentifier is a required field SourceOptionGroupIdentifier *string `type:"string" required:"true"` // A list of tags. Tags []*Tag `locationNameList:"Tag" type:"list"` // The description for the copied option group. + // + // TargetOptionGroupDescription is a required field TargetOptionGroupDescription *string `type:"string" required:"true"` // The identifier for the copied option group. @@ -5792,6 +5832,8 @@ type CopyOptionGroupInput struct { // Cannot end with a hyphen or contain two consecutive hyphens // // Example: my-option-group + // + // TargetOptionGroupIdentifier is a required field TargetOptionGroupIdentifier *string `type:"string" required:"true"` } @@ -5873,6 +5915,8 @@ type CreateDBClusterInput struct { // Cannot end with a hyphen or contain two consecutive hyphens. // // Example: my-cluster1 + // + // DBClusterIdentifier is a required field DBClusterIdentifier *string `type:"string" required:"true"` // The name of the DB cluster parameter group to associate with this DB cluster. @@ -5903,6 +5947,8 @@ type CreateDBClusterInput struct { // The name of the database engine to be used for this DB cluster. // // Valid Values: aurora + // + // Engine is a required field Engine *string `type:"string" required:"true"` // The version number of the database engine to use. @@ -6074,15 +6120,21 @@ type CreateDBClusterParameterGroupInput struct { // Cannot end with a hyphen or contain two consecutive hyphens // // This value is stored as a lowercase string. + // + // DBClusterParameterGroupName is a required field DBClusterParameterGroupName *string `type:"string" required:"true"` // The DB cluster parameter group family name. A DB cluster parameter group // can be associated with one and only one DB cluster parameter group family, // and can be applied only to a DB cluster running a database engine and engine // version compatible with that DB cluster parameter group family. + // + // DBParameterGroupFamily is a required field DBParameterGroupFamily *string `type:"string" required:"true"` // The description for the DB cluster parameter group. + // + // Description is a required field Description *string `type:"string" required:"true"` // A list of tags. @@ -6155,6 +6207,8 @@ type CreateDBClusterSnapshotInput struct { // Cannot end with a hyphen or contain two consecutive hyphens. // // Example: my-cluster1 + // + // DBClusterIdentifier is a required field DBClusterIdentifier *string `type:"string" required:"true"` // The identifier of the DB cluster snapshot. This parameter is stored as a @@ -6169,6 +6223,8 @@ type CreateDBClusterSnapshotInput struct { // Cannot end with a hyphen or contain two consecutive hyphens. // // Example: my-cluster1-snapshot1 + // + // DBClusterSnapshotIdentifier is a required field DBClusterSnapshotIdentifier *string `type:"string" required:"true"` // The tags to be assigned to the DB cluster snapshot. @@ -6310,6 +6366,8 @@ type CreateDBInstanceInput struct { // | db.m4.2xlarge | db.m4.4xlarge | db.m4.10xlarge | db.r3.large | db.r3.xlarge // | db.r3.2xlarge | db.r3.4xlarge | db.r3.8xlarge | db.t2.micro | db.t2.small // | db.t2.medium | db.t2.large + // + // DBInstanceClass is a required field DBInstanceClass *string `type:"string" required:"true"` // The DB instance identifier. This parameter is stored as a lowercase string. @@ -6324,6 +6382,8 @@ type CreateDBInstanceInput struct { // Cannot end with a hyphen or contain two consecutive hyphens. // // Example: mydbinstance + // + // DBInstanceIdentifier is a required field DBInstanceIdentifier *string `type:"string" required:"true"` // The meaning of this parameter differs according to the database engine you @@ -6432,6 +6492,8 @@ type CreateDBInstanceInput struct { // aurora // // Not every database engine is available for every AWS region. + // + // Engine is a required field Engine *string `type:"string" required:"true"` // The version number of the database engine to use. @@ -6966,6 +7028,8 @@ type CreateDBInstanceReadReplicaInput struct { // The DB instance identifier of the Read Replica. This identifier is the unique // key that identifies a DB instance. This parameter is stored as a lowercase // string. + // + // DBInstanceIdentifier is a required field DBInstanceIdentifier *string `type:"string" required:"true"` // Specifies a DB subnet group for the DB instance. The new DB instance will @@ -7071,6 +7135,8 @@ type CreateDBInstanceReadReplicaInput struct { // If the source DB instance is in a different region than the Read Replica, // specify a valid DB instance ARN. For more information, go to Constructing // a Amazon RDS Amazon Resource Name (ARN) (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.ARN.html#USER_Tagging.ARN.Constructing). + // + // SourceDBInstanceIdentifier is a required field SourceDBInstanceIdentifier *string `type:"string" required:"true"` // Specifies the storage type to be associated with the Read Replica. @@ -7145,6 +7211,8 @@ type CreateDBParameterGroupInput struct { // with one and only one DB parameter group family, and can be applied only // to a DB instance running a database engine and engine version compatible // with that DB parameter group family. + // + // DBParameterGroupFamily is a required field DBParameterGroupFamily *string `type:"string" required:"true"` // The name of the DB parameter group. @@ -7158,9 +7226,13 @@ type CreateDBParameterGroupInput struct { // Cannot end with a hyphen or contain two consecutive hyphens // // This value is stored as a lowercase string. + // + // DBParameterGroupName is a required field DBParameterGroupName *string `type:"string" required:"true"` // The description for the DB parameter group. + // + // Description is a required field Description *string `type:"string" required:"true"` // A list of tags. @@ -7221,6 +7293,8 @@ type CreateDBSecurityGroupInput struct { _ struct{} `type:"structure"` // The description for the DB security group. + // + // DBSecurityGroupDescription is a required field DBSecurityGroupDescription *string `type:"string" required:"true"` // The name for the DB security group. This value is stored as a lowercase string. @@ -7236,6 +7310,8 @@ type CreateDBSecurityGroupInput struct { // Must not be "Default" // // Example: mysecuritygroup + // + // DBSecurityGroupName is a required field DBSecurityGroupName *string `type:"string" required:"true"` // A list of tags. @@ -7308,6 +7384,8 @@ type CreateDBSnapshotInput struct { // First character must be a letter // // Cannot end with a hyphen or contain two consecutive hyphens + // + // DBInstanceIdentifier is a required field DBInstanceIdentifier *string `type:"string" required:"true"` // The identifier for the DB snapshot. @@ -7323,6 +7401,8 @@ type CreateDBSnapshotInput struct { // Cannot end with a hyphen or contain two consecutive hyphens // // Example: my-snapshot-id + // + // DBSnapshotIdentifier is a required field DBSnapshotIdentifier *string `type:"string" required:"true"` // A list of tags. @@ -7383,6 +7463,8 @@ type CreateDBSubnetGroupInput struct { _ struct{} `type:"structure"` // The description for the DB subnet group. + // + // DBSubnetGroupDescription is a required field DBSubnetGroupDescription *string `type:"string" required:"true"` // The name for the DB subnet group. This value is stored as a lowercase string. @@ -7391,9 +7473,13 @@ type CreateDBSubnetGroupInput struct { // underscores, spaces, or hyphens. Must not be default. // // Example: mySubnetgroup + // + // DBSubnetGroupName is a required field DBSubnetGroupName *string `type:"string" required:"true"` // The EC2 Subnet IDs for the DB subnet group. + // + // SubnetIds is a required field SubnetIds []*string `locationNameList:"SubnetIdentifier" type:"list" required:"true"` // A list of tags. @@ -7474,6 +7560,8 @@ type CreateEventSubscriptionInput struct { // The Amazon Resource Name (ARN) of the SNS topic created for event notification. // The ARN is created by Amazon SNS when you create a topic and subscribe to // it. + // + // SnsTopicArn is a required field SnsTopicArn *string `type:"string" required:"true"` // The list of identifiers of the event sources for which events will be returned. @@ -7509,6 +7597,8 @@ type CreateEventSubscriptionInput struct { // The name of the subscription. // // Constraints: The name must be less than 255 characters. + // + // SubscriptionName is a required field SubscriptionName *string `type:"string" required:"true"` // A list of tags. @@ -7564,13 +7654,19 @@ type CreateOptionGroupInput struct { // Specifies the name of the engine that this option group should be associated // with. + // + // EngineName is a required field EngineName *string `type:"string" required:"true"` // Specifies the major version of the engine that this option group should be // associated with. + // + // MajorEngineVersion is a required field MajorEngineVersion *string `type:"string" required:"true"` // The description of the option group. + // + // OptionGroupDescription is a required field OptionGroupDescription *string `type:"string" required:"true"` // Specifies the name of the option group to be created. @@ -7584,6 +7680,8 @@ type CreateOptionGroupInput struct { // Cannot end with a hyphen or contain two consecutive hyphens // // Example: myoptiongroup + // + // OptionGroupName is a required field OptionGroupName *string `type:"string" required:"true"` // A list of tags. @@ -8725,6 +8823,8 @@ type DeleteDBClusterInput struct { // First character must be a letter // // Cannot end with a hyphen or contain two consecutive hyphens + // + // DBClusterIdentifier is a required field DBClusterIdentifier *string `type:"string" required:"true"` // The DB cluster snapshot identifier of the new DB cluster snapshot created @@ -8820,6 +8920,8 @@ type DeleteDBClusterParameterGroupInput struct { // You cannot delete a default DB cluster parameter group. // // Cannot be associated with any DB clusters. + // + // DBClusterParameterGroupName is a required field DBClusterParameterGroupName *string `type:"string" required:"true"` } @@ -8867,6 +8969,8 @@ type DeleteDBClusterSnapshotInput struct { // // Constraints: Must be the name of an existing DB cluster snapshot in the // available state. + // + // DBClusterSnapshotIdentifier is a required field DBClusterSnapshotIdentifier *string `type:"string" required:"true"` } @@ -8930,6 +9034,8 @@ type DeleteDBInstanceInput struct { // First character must be a letter // // Cannot end with a hyphen or contain two consecutive hyphens + // + // DBInstanceIdentifier is a required field DBInstanceIdentifier *string `type:"string" required:"true"` // The DBSnapshotIdentifier of the new DBSnapshot created when SkipFinalSnapshot @@ -9027,6 +9133,8 @@ type DeleteDBParameterGroupInput struct { // You cannot delete a default DB parameter group // // Cannot be associated with any DB instances + // + // DBParameterGroupName is a required field DBParameterGroupName *string `type:"string" required:"true"` } @@ -9083,6 +9191,8 @@ type DeleteDBSecurityGroupInput struct { // Cannot end with a hyphen or contain two consecutive hyphens // // Must not be "Default" + // + // DBSecurityGroupName is a required field DBSecurityGroupName *string `type:"string" required:"true"` } @@ -9130,6 +9240,8 @@ type DeleteDBSnapshotInput struct { // // Constraints: Must be the name of an existing DB snapshot in the available // state. + // + // DBSnapshotIdentifier is a required field DBSnapshotIdentifier *string `type:"string" required:"true"` } @@ -9193,6 +9305,8 @@ type DeleteDBSubnetGroupInput struct { // underscores, spaces, or hyphens. Must not be default. // // Example: mySubnetgroup + // + // DBSubnetGroupName is a required field DBSubnetGroupName *string `type:"string" required:"true"` } @@ -9237,6 +9351,8 @@ type DeleteEventSubscriptionInput struct { _ struct{} `type:"structure"` // The name of the RDS event notification subscription you want to delete. + // + // SubscriptionName is a required field SubscriptionName *string `type:"string" required:"true"` } @@ -9287,6 +9403,8 @@ type DeleteOptionGroupInput struct { // The name of the option group to be deleted. // // You cannot delete default option groups. + // + // OptionGroupName is a required field OptionGroupName *string `type:"string" required:"true"` } @@ -9544,6 +9662,8 @@ type DescribeDBClusterParametersInput struct { // First character must be a letter // // Cannot end with a hyphen or contain two consecutive hyphens + // + // DBClusterParameterGroupName is a required field DBClusterParameterGroupName *string `type:"string" required:"true"` // This parameter is not currently supported. @@ -9629,6 +9749,8 @@ type DescribeDBClusterSnapshotAttributesInput struct { _ struct{} `type:"structure"` // The identifier for the DB cluster snapshot to describe the attributes for. + // + // DBClusterSnapshotIdentifier is a required field DBClusterSnapshotIdentifier *string `type:"string" required:"true"` } @@ -10141,6 +10263,8 @@ type DescribeDBLogFilesInput struct { // First character must be a letter // // Cannot end with a hyphen or contain two consecutive hyphens + // + // DBInstanceIdentifier is a required field DBInstanceIdentifier *string `type:"string" required:"true"` // Filters the available log files for files written since the specified date, @@ -10320,6 +10444,8 @@ type DescribeDBParametersInput struct { // First character must be a letter // // Cannot end with a hyphen or contain two consecutive hyphens + // + // DBParameterGroupName is a required field DBParameterGroupName *string `type:"string" required:"true"` // This parameter is not currently supported. @@ -10486,6 +10612,8 @@ type DescribeDBSnapshotAttributesInput struct { _ struct{} `type:"structure"` // The identifier for the DB snapshot to describe the attributes for. + // + // DBSnapshotIdentifier is a required field DBSnapshotIdentifier *string `type:"string" required:"true"` } @@ -10762,6 +10890,8 @@ type DescribeEngineDefaultClusterParametersInput struct { // The name of the DB cluster parameter group family to return engine parameter // information for. + // + // DBParameterGroupFamily is a required field DBParameterGroupFamily *string `type:"string" required:"true"` // This parameter is not currently supported. @@ -10837,6 +10967,8 @@ type DescribeEngineDefaultParametersInput struct { _ struct{} `type:"structure"` // The name of the DB parameter group family. + // + // DBParameterGroupFamily is a required field DBParameterGroupFamily *string `type:"string" required:"true"` // Not currently supported. @@ -11171,6 +11303,8 @@ type DescribeOptionGroupOptionsInput struct { // A required parameter. Options available for the given engine name will be // described. + // + // EngineName is a required field EngineName *string `type:"string" required:"true"` // This parameter is not currently supported. @@ -11345,6 +11479,8 @@ type DescribeOrderableDBInstanceOptionsInput struct { DBInstanceClass *string `type:"string"` // The name of the engine to retrieve DB instance options for. + // + // Engine is a required field Engine *string `type:"string" required:"true"` // The engine version filter value. Specify this parameter to show only the @@ -11856,9 +11992,13 @@ type DownloadDBLogFilePortionInput struct { // First character must be a letter // // Cannot end with a hyphen or contain two consecutive hyphens + // + // DBInstanceIdentifier is a required field DBInstanceIdentifier *string `type:"string" required:"true"` // The name of the log file to be downloaded. + // + // LogFileName is a required field LogFileName *string `type:"string" required:"true"` // The pagination token provided in the previous request or "0". If the Marker @@ -12214,9 +12354,13 @@ type Filter struct { _ struct{} `type:"structure"` // This parameter is not currently supported. + // + // Name is a required field Name *string `type:"string" required:"true"` // This parameter is not currently supported. + // + // Values is a required field Values []*string `locationNameList:"Value" type:"list" required:"true"` } @@ -12278,6 +12422,8 @@ type ListTagsForResourceInput struct { // The Amazon RDS resource with tags to be listed. This value is an Amazon Resource // Name (ARN). For information about creating an ARN, see Constructing an RDS // Amazon Resource Name (ARN) (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.ARN.html#USER_Tagging.ARN.Constructing). + // + // ResourceName is a required field ResourceName *string `type:"string" required:"true"` } @@ -12372,6 +12518,8 @@ type ModifyDBClusterInput struct { // First character must be a letter. // // Cannot end with a hyphen or contain two consecutive hyphens. + // + // DBClusterIdentifier is a required field DBClusterIdentifier *string `type:"string" required:"true"` // The name of the DB cluster parameter group to use for the DB cluster. @@ -12513,9 +12661,13 @@ type ModifyDBClusterParameterGroupInput struct { _ struct{} `type:"structure"` // The name of the DB cluster parameter group to modify. + // + // DBClusterParameterGroupName is a required field DBClusterParameterGroupName *string `type:"string" required:"true"` // A list of parameters in the DB cluster parameter group to modify. + // + // Parameters is a required field Parameters []*Parameter `locationNameList:"Parameter" type:"list" required:"true"` } @@ -12552,9 +12704,13 @@ type ModifyDBClusterSnapshotAttributeInput struct { // // To manage authorization for other AWS accounts to copy or restore a manual // DB cluster snapshot, set this value to restore. + // + // AttributeName is a required field AttributeName *string `type:"string" required:"true"` // The identifier for the DB cluster snapshot to modify the attributes for. + // + // DBClusterSnapshotIdentifier is a required field DBClusterSnapshotIdentifier *string `type:"string" required:"true"` // A list of DB cluster snapshot attributes to add to the attribute specified @@ -12793,6 +12949,8 @@ type ModifyDBInstanceInput struct { // First character must be a letter // // Cannot end with a hyphen or contain two consecutive hyphens + // + // DBInstanceIdentifier is a required field DBInstanceIdentifier *string `type:"string" required:"true"` // The name of the DB parameter group to apply to the DB instance. Changing @@ -13170,6 +13328,8 @@ type ModifyDBParameterGroupInput struct { // First character must be a letter // // Cannot end with a hyphen or contain two consecutive hyphens + // + // DBParameterGroupName is a required field DBParameterGroupName *string `type:"string" required:"true"` // An array of parameter names, values, and the apply method for the parameter @@ -13182,6 +13342,8 @@ type ModifyDBParameterGroupInput struct { // You can use the immediate value with dynamic parameters only. You can use // the pending-reboot value for both dynamic and static parameters, and changes // are applied when you reboot the DB instance without failover. + // + // Parameters is a required field Parameters []*Parameter `locationNameList:"Parameter" type:"list" required:"true"` } @@ -13218,9 +13380,13 @@ type ModifyDBSnapshotAttributeInput struct { // // To manage authorization for other AWS accounts to copy or restore a manual // DB snapshot, set this value to restore. + // + // AttributeName is a required field AttributeName *string `type:"string" required:"true"` // The identifier for the DB snapshot to modify the attributes for. + // + // DBSnapshotIdentifier is a required field DBSnapshotIdentifier *string `type:"string" required:"true"` // A list of DB snapshot attributes to add to the attribute specified by AttributeName. @@ -13303,9 +13469,13 @@ type ModifyDBSubnetGroupInput struct { // underscores, spaces, or hyphens. Must not be default. // // Example: mySubnetgroup + // + // DBSubnetGroupName is a required field DBSubnetGroupName *string `type:"string" required:"true"` // The EC2 subnet IDs for the DB subnet group. + // + // SubnetIds is a required field SubnetIds []*string `locationNameList:"SubnetIdentifier" type:"list" required:"true"` } @@ -13390,6 +13560,8 @@ type ModifyEventSubscriptionInput struct { SourceType *string `type:"string"` // The name of the RDS event notification subscription. + // + // SubscriptionName is a required field SubscriptionName *string `type:"string" required:"true"` } @@ -13446,6 +13618,8 @@ type ModifyOptionGroupInput struct { // Permanent options, such as the TDE option for Oracle Advanced Security TDE, // cannot be removed from an option group, and that option group cannot be removed // from a DB instance once it is associated with a DB instance + // + // OptionGroupName is a required field OptionGroupName *string `type:"string" required:"true"` // Options in this list are added to the option group or, if already present, @@ -13557,6 +13731,8 @@ type OptionConfiguration struct { DBSecurityGroupMemberships []*string `locationNameList:"DBSecurityGroupName" type:"list"` // The configuration of options to include in a group. + // + // OptionName is a required field OptionName *string `type:"string" required:"true"` // The option settings to include in an option group. @@ -14050,6 +14226,8 @@ type PromoteReadReplicaDBClusterInput struct { // Cannot end with a hyphen or contain two consecutive hyphens. // // Example: my-cluster-replica1 + // + // DBClusterIdentifier is a required field DBClusterIdentifier *string `type:"string" required:"true"` } @@ -14135,6 +14313,8 @@ type PromoteReadReplicaInput struct { // Cannot end with a hyphen or contain two consecutive hyphens // // Example: mydbinstance + // + // DBInstanceIdentifier is a required field DBInstanceIdentifier *string `type:"string" required:"true"` // The daily time range during which automated backups are created if automated @@ -14222,6 +14402,8 @@ type PurchaseReservedDBInstancesOfferingInput struct { // The ID of the Reserved DB instance offering to purchase. // // Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706 + // + // ReservedDBInstancesOfferingId is a required field ReservedDBInstancesOfferingId *string `type:"string" required:"true"` // A list of tags. @@ -14281,6 +14463,8 @@ type RebootDBInstanceInput struct { // First character must be a letter // // Cannot end with a hyphen or contain two consecutive hyphens + // + // DBInstanceIdentifier is a required field DBInstanceIdentifier *string `type:"string" required:"true"` // When true, the reboot will be conducted through a MultiAZ failover. @@ -14366,10 +14550,14 @@ type RemoveSourceIdentifierFromSubscriptionInput struct { // The source identifier to be removed from the subscription, such as the DB // instance identifier for a DB instance or the name of a security group. + // + // SourceIdentifier is a required field SourceIdentifier *string `type:"string" required:"true"` // The name of the RDS event notification subscription you want to remove a // source identifier from. + // + // SubscriptionName is a required field SubscriptionName *string `type:"string" required:"true"` } @@ -14423,9 +14611,13 @@ type RemoveTagsFromResourceInput struct { // The Amazon RDS resource the tags will be removed from. This value is an Amazon // Resource Name (ARN). For information about creating an ARN, see Constructing // an RDS Amazon Resource Name (ARN) (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.ARN.html#USER_Tagging.ARN.Constructing). + // + // ResourceName is a required field ResourceName *string `type:"string" required:"true"` // The tag key (name) of the tag to be removed. + // + // TagKeys is a required field TagKeys []*string `type:"list" required:"true"` } @@ -14580,6 +14772,8 @@ type ResetDBClusterParameterGroupInput struct { _ struct{} `type:"structure"` // The name of the DB cluster parameter group to reset. + // + // DBClusterParameterGroupName is a required field DBClusterParameterGroupName *string `type:"string" required:"true"` // A list of parameter names in the DB cluster parameter group to reset to the @@ -14628,6 +14822,8 @@ type ResetDBParameterGroupInput struct { // First character must be a letter // // Cannot end with a hyphen or contain two consecutive hyphens + // + // DBParameterGroupName is a required field DBParameterGroupName *string `type:"string" required:"true"` // An array of parameter names, values, and the apply method for the parameter @@ -14741,6 +14937,8 @@ type RestoreDBClusterFromS3Input struct { // Cannot end with a hyphen or contain two consecutive hyphens. // // Example: my-cluster1 + // + // DBClusterIdentifier is a required field DBClusterIdentifier *string `type:"string" required:"true"` // The name of the DB cluster parameter group to associate with the restored @@ -14769,6 +14967,8 @@ type RestoreDBClusterFromS3Input struct { // The name of the database engine to be used for the restored DB cluster. // // Valid Values: aurora + // + // Engine is a required field Engine *string `type:"string" required:"true"` // The version number of the database engine to use. @@ -14795,6 +14995,8 @@ type RestoreDBClusterFromS3Input struct { // printable ASCII character except "/", """, or "@". // // Constraints: Must contain from 8 to 41 characters. + // + // MasterUserPassword is a required field MasterUserPassword *string `type:"string" required:"true"` // The name of the master user for the restored DB cluster. @@ -14806,6 +15008,8 @@ type RestoreDBClusterFromS3Input struct { // First character must be a letter. // // Cannot be a reserved word for the chosen database engine. + // + // MasterUsername is a required field MasterUsername *string `type:"string" required:"true"` // A value that indicates that the restored DB cluster should be associated @@ -14857,11 +15061,15 @@ type RestoreDBClusterFromS3Input struct { // The name of the Amazon S3 bucket that contains the data used to create the // Amazon Aurora DB cluster. + // + // S3BucketName is a required field S3BucketName *string `type:"string" required:"true"` // The Amazon Resource Name (ARN) of the AWS Identity and Access Management // (IAM) role that authorizes Amazon RDS to access the Amazon S3 bucket on your // behalf. + // + // S3IngestionRoleArn is a required field S3IngestionRoleArn *string `type:"string" required:"true"` // The prefix for all of the file names that contain the data used to create @@ -14874,6 +15082,8 @@ type RestoreDBClusterFromS3Input struct { // stored in the Amazon S3 bucket. // // Valid values: mysql + // + // SourceEngine is a required field SourceEngine *string `type:"string" required:"true"` // The version of the database that the backup files were created from. @@ -14881,6 +15091,8 @@ type RestoreDBClusterFromS3Input struct { // MySQL version 5.5 and 5.6 are supported. // // Example: 5.6.22 + // + // SourceEngineVersion is a required field SourceEngineVersion *string `type:"string" required:"true"` // Specifies whether the restored DB cluster is encrypted. @@ -14988,6 +15200,8 @@ type RestoreDBClusterFromSnapshotInput struct { // Cannot end with a hyphen or contain two consecutive hyphens // // Example: my-snapshot-id + // + // DBClusterIdentifier is a required field DBClusterIdentifier *string `type:"string" required:"true"` // The name of the DB subnet group to use for the new DB cluster. @@ -15006,6 +15220,8 @@ type RestoreDBClusterFromSnapshotInput struct { // Default: The same as source // // Constraint: Must be compatible with the engine of the source + // + // Engine is a required field Engine *string `type:"string" required:"true"` // The version of the database engine to use for the new DB cluster. @@ -15048,6 +15264,8 @@ type RestoreDBClusterFromSnapshotInput struct { // First character must be a letter // // Cannot end with a hyphen or contain two consecutive hyphens + // + // SnapshotIdentifier is a required field SnapshotIdentifier *string `type:"string" required:"true"` // The tags to be assigned to the restored DB cluster. @@ -15130,6 +15348,8 @@ type RestoreDBClusterToPointInTimeInput struct { // First character must be a letter // // Cannot end with a hyphen or contain two consecutive hyphens + // + // DBClusterIdentifier is a required field DBClusterIdentifier *string `type:"string" required:"true"` // The DB subnet group name to use for the new DB cluster. @@ -15200,6 +15420,8 @@ type RestoreDBClusterToPointInTimeInput struct { // First character must be a letter // // Cannot end with a hyphen or contain two consecutive hyphens + // + // SourceDBClusterIdentifier is a required field SourceDBClusterIdentifier *string `type:"string" required:"true"` // A list of tags. @@ -15318,6 +15540,8 @@ type RestoreDBInstanceFromDBSnapshotInput struct { // Cannot end with a hyphen or contain two consecutive hyphens // // Example: my-snapshot-id + // + // DBInstanceIdentifier is a required field DBInstanceIdentifier *string `type:"string" required:"true"` // The database name for the restored DB instance. @@ -15337,6 +15561,8 @@ type RestoreDBInstanceFromDBSnapshotInput struct { // // If you are restoring from a shared manual DB snapshot, the DBSnapshotIdentifier // must be the ARN of the shared DB snapshot. + // + // DBSnapshotIdentifier is a required field DBSnapshotIdentifier *string `type:"string" required:"true"` // The DB subnet group name to use for the new instance. @@ -15638,6 +15864,8 @@ type RestoreDBInstanceToPointInTimeInput struct { // First character must be a letter // // Cannot end with a hyphen or contain two consecutive hyphens + // + // SourceDBInstanceIdentifier is a required field SourceDBInstanceIdentifier *string `type:"string" required:"true"` // Specifies the storage type to be associated with the DB instance. @@ -15661,6 +15889,8 @@ type RestoreDBInstanceToPointInTimeInput struct { // First character must be a letter // // Cannot end with a hyphen or contain two consecutive hyphens + // + // TargetDBInstanceIdentifier is a required field TargetDBInstanceIdentifier *string `type:"string" required:"true"` // The ARN from the Key Store with which to associate the instance for TDE encryption. @@ -15740,6 +15970,8 @@ type RevokeDBSecurityGroupIngressInput struct { CIDRIP *string `type:"string"` // The name of the DB security group to revoke ingress from. + // + // DBSecurityGroupName is a required field DBSecurityGroupName *string `type:"string" required:"true"` // The id of the EC2 security group to revoke access from. For VPC DB security @@ -15967,23 +16199,29 @@ func (s VpcSecurityGroupMembership) GoString() string { } const ( - // @enum ApplyMethod + // ApplyMethodImmediate is a ApplyMethod enum value ApplyMethodImmediate = "immediate" - // @enum ApplyMethod + + // ApplyMethodPendingReboot is a ApplyMethod enum value ApplyMethodPendingReboot = "pending-reboot" ) const ( - // @enum SourceType + // SourceTypeDbInstance is a SourceType enum value SourceTypeDbInstance = "db-instance" - // @enum SourceType + + // SourceTypeDbParameterGroup is a SourceType enum value SourceTypeDbParameterGroup = "db-parameter-group" - // @enum SourceType + + // SourceTypeDbSecurityGroup is a SourceType enum value SourceTypeDbSecurityGroup = "db-security-group" - // @enum SourceType + + // SourceTypeDbSnapshot is a SourceType enum value SourceTypeDbSnapshot = "db-snapshot" - // @enum SourceType + + // SourceTypeDbCluster is a SourceType enum value SourceTypeDbCluster = "db-cluster" - // @enum SourceType + + // SourceTypeDbClusterSnapshot is a SourceType enum value SourceTypeDbClusterSnapshot = "db-cluster-snapshot" ) diff --git a/service/rds/waiters.go b/service/rds/waiters.go index c1a64356031..00f532a75fc 100644 --- a/service/rds/waiters.go +++ b/service/rds/waiters.go @@ -6,6 +6,10 @@ import ( "github.com/aws/aws-sdk-go/private/waiter" ) +// WaitUntilDBInstanceAvailable uses the Amazon RDS API operation +// DescribeDBInstances to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *RDS) WaitUntilDBInstanceAvailable(input *DescribeDBInstancesInput) error { waiterCfg := waiter.Config{ Operation: "DescribeDBInstances", @@ -59,6 +63,10 @@ func (c *RDS) WaitUntilDBInstanceAvailable(input *DescribeDBInstancesInput) erro return w.Wait() } +// WaitUntilDBInstanceDeleted uses the Amazon RDS API operation +// DescribeDBInstances to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *RDS) WaitUntilDBInstanceDeleted(input *DescribeDBInstancesInput) error { waiterCfg := waiter.Config{ Operation: "DescribeDBInstances", diff --git a/service/redshift/api.go b/service/redshift/api.go index 45e7f2772ee..ac1cf16a6db 100644 --- a/service/redshift/api.go +++ b/service/redshift/api.go @@ -3907,6 +3907,8 @@ type AuthorizeClusterSecurityGroupIngressInput struct { CIDRIP *string `type:"string"` // The name of the security group to which the ingress rule is added. + // + // ClusterSecurityGroupName is a required field ClusterSecurityGroupName *string `type:"string" required:"true"` // The EC2 security group to be added the Amazon Redshift security group. @@ -3965,6 +3967,8 @@ type AuthorizeSnapshotAccessInput struct { // The identifier of the AWS customer account authorized to restore the specified // snapshot. + // + // AccountWithRestoreAccess is a required field AccountWithRestoreAccess *string `type:"string" required:"true"` // The identifier of the cluster the snapshot was created from. This parameter @@ -3973,6 +3977,8 @@ type AuthorizeSnapshotAccessInput struct { SnapshotClusterIdentifier *string `type:"string"` // The identifier of the snapshot the account is authorized to restore. + // + // SnapshotIdentifier is a required field SnapshotIdentifier *string `type:"string" required:"true"` } @@ -4554,6 +4560,8 @@ type CopyClusterSnapshotInput struct { // Constraints: // // Must be the identifier for a valid automated snapshot whose state is available. + // + // SourceSnapshotIdentifier is a required field SourceSnapshotIdentifier *string `type:"string" required:"true"` // The identifier given to the new manual snapshot. @@ -4569,6 +4577,8 @@ type CopyClusterSnapshotInput struct { // Cannot end with a hyphen or contain two consecutive hyphens. // // Must be unique for the AWS account that is making the request. + // + // TargetSnapshotIdentifier is a required field TargetSnapshotIdentifier *string `type:"string" required:"true"` } @@ -4671,6 +4681,8 @@ type CreateClusterInput struct { // Must be unique for all clusters within an AWS account. // // Example: myexamplecluster + // + // ClusterIdentifier is a required field ClusterIdentifier *string `type:"string" required:"true"` // The name of the parameter group to be associated with this cluster. @@ -4799,6 +4811,8 @@ type CreateClusterInput struct { // // Can be any printable ASCII character (ASCII code 33 to 126) except ' (single // quote), " (double quote), \, /, @, or space. + // + // MasterUserPassword is a required field MasterUserPassword *string `type:"string" required:"true"` // The user name associated with the master user account for the cluster that @@ -4813,6 +4827,8 @@ type CreateClusterInput struct { // Cannot be a reserved word. A list of reserved words can be found in Reserved // Words (http://docs.aws.amazon.com/redshift/latest/dg/r_pg_keywords.html) // in the Amazon Redshift Database Developer Guide. + // + // MasterUsername is a required field MasterUsername *string `type:"string" required:"true"` // The node type to be provisioned for the cluster. For information about node @@ -4821,6 +4837,8 @@ type CreateClusterInput struct { // // Valid Values: ds1.xlarge | ds1.8xlarge | ds2.xlarge | ds2.8xlarge | dc1.large // | dc1.8xlarge. + // + // NodeType is a required field NodeType *string `type:"string" required:"true"` // The number of compute nodes in the cluster. This parameter is required when @@ -4931,6 +4949,8 @@ type CreateClusterParameterGroupInput struct { _ struct{} `type:"structure"` // A description of the parameter group. + // + // Description is a required field Description *string `type:"string" required:"true"` // The Amazon Redshift engine version to which the cluster parameter group applies. @@ -4942,6 +4962,8 @@ type CreateClusterParameterGroupInput struct { // each Amazon Redshift engine version. The parameter group family names associated // with the default parameter groups provide you the valid values. For example, // a valid family name is "redshift-1.0". + // + // ParameterGroupFamily is a required field ParameterGroupFamily *string `type:"string" required:"true"` // The name of the cluster parameter group. @@ -4957,6 +4979,8 @@ type CreateClusterParameterGroupInput struct { // Must be unique withing your AWS account. // // This value is stored as a lower-case string. + // + // ParameterGroupName is a required field ParameterGroupName *string `type:"string" required:"true"` // A list of tag instances. @@ -5024,9 +5048,13 @@ type CreateClusterSecurityGroupInput struct { // Must be unique for all security groups that are created by your AWS account. // // Example: examplesecuritygroup + // + // ClusterSecurityGroupName is a required field ClusterSecurityGroupName *string `type:"string" required:"true"` // A description for the security group. + // + // Description is a required field Description *string `type:"string" required:"true"` // A list of tag instances. @@ -5080,6 +5108,8 @@ type CreateClusterSnapshotInput struct { _ struct{} `type:"structure"` // The cluster identifier for which you want a snapshot. + // + // ClusterIdentifier is a required field ClusterIdentifier *string `type:"string" required:"true"` // A unique identifier for the snapshot that you are requesting. This identifier @@ -5096,6 +5126,8 @@ type CreateClusterSnapshotInput struct { // Cannot end with a hyphen or contain two consecutive hyphens // // Example: my-snapshot-id + // + // SnapshotIdentifier is a required field SnapshotIdentifier *string `type:"string" required:"true"` // A list of tag instances. @@ -5160,13 +5192,19 @@ type CreateClusterSubnetGroupInput struct { // Must be unique for all subnet groups that are created by your AWS account. // // Example: examplesubnetgroup + // + // ClusterSubnetGroupName is a required field ClusterSubnetGroupName *string `type:"string" required:"true"` // A description for the subnet group. + // + // Description is a required field Description *string `type:"string" required:"true"` // An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a // single request. + // + // SubnetIds is a required field SubnetIds []*string `locationNameList:"SubnetIdentifier" type:"list" required:"true"` // A list of tag instances. @@ -5241,6 +5279,8 @@ type CreateEventSubscriptionInput struct { // The Amazon Resource Name (ARN) of the Amazon SNS topic used to transmit the // event notifications. The ARN is created by Amazon SNS when you create a topic // and subscribe to it. + // + // SnsTopicArn is a required field SnsTopicArn *string `type:"string" required:"true"` // A list of one or more identifiers of Amazon Redshift source objects. All @@ -5275,6 +5315,8 @@ type CreateEventSubscriptionInput struct { // First character must be a letter. // // Cannot end with a hyphen or contain two consecutive hyphens. + // + // SubscriptionName is a required field SubscriptionName *string `type:"string" required:"true"` // A list of tag instances. @@ -5329,6 +5371,8 @@ type CreateHsmClientCertificateInput struct { // The identifier to be assigned to the new HSM client certificate that the // cluster will use to connect to the HSM to use the database encryption keys. + // + // HsmClientCertificateIdentifier is a required field HsmClientCertificateIdentifier *string `type:"string" required:"true"` // A list of tag instances. @@ -5381,23 +5425,35 @@ type CreateHsmConfigurationInput struct { _ struct{} `type:"structure"` // A text description of the HSM configuration to be created. + // + // Description is a required field Description *string `type:"string" required:"true"` // The identifier to be assigned to the new Amazon Redshift HSM configuration. + // + // HsmConfigurationIdentifier is a required field HsmConfigurationIdentifier *string `type:"string" required:"true"` // The IP address that the Amazon Redshift cluster must use to access the HSM. + // + // HsmIpAddress is a required field HsmIpAddress *string `type:"string" required:"true"` // The name of the partition in the HSM where the Amazon Redshift clusters will // store their database encryption keys. + // + // HsmPartitionName is a required field HsmPartitionName *string `type:"string" required:"true"` // The password required to access the HSM partition. + // + // HsmPartitionPassword is a required field HsmPartitionPassword *string `type:"string" required:"true"` // The HSMs public certificate file. When using Cloud HSM, the file name is // server.pem. + // + // HsmServerPublicCertificate is a required field HsmServerPublicCertificate *string `type:"string" required:"true"` // A list of tag instances. @@ -5483,6 +5539,8 @@ type CreateSnapshotCopyGrantInput struct { // Cannot end with a hyphen or contain two consecutive hyphens. // // Must be unique for all clusters within an AWS account. + // + // SnapshotCopyGrantName is a required field SnapshotCopyGrantName *string `type:"string" required:"true"` // A list of tag instances. @@ -5541,6 +5599,8 @@ type CreateTagsInput struct { // The Amazon Resource Name (ARN) to which you want to add the tag or tags. // For example, arn:aws:redshift:us-east-1:123456789:cluster:t1. + // + // ResourceName is a required field ResourceName *string `type:"string" required:"true"` // One or more name/value pairs to add as tags to the specified resource. Each @@ -5548,6 +5608,8 @@ type CreateTagsInput struct { // is passed in with the parameter Value. The Key and Value parameters are separated // by a comma (,). Separate multiple tags with a space. For example, --tags // "Key"="owner","Value"="admin" "Key"="environment","Value"="test" "Key"="version","Value"="1.0". + // + // Tags is a required field Tags []*Tag `locationNameList:"Tag" type:"list" required:"true"` } @@ -5634,6 +5696,8 @@ type DeleteClusterInput struct { // First character must be a letter. // // Cannot end with a hyphen or contain two consecutive hyphens. + // + // ClusterIdentifier is a required field ClusterIdentifier *string `type:"string" required:"true"` // The identifier of the final snapshot that is to be created immediately before @@ -5710,6 +5774,8 @@ type DeleteClusterParameterGroupInput struct { // Must be the name of an existing cluster parameter group. // // Cannot delete a default cluster parameter group. + // + // ParameterGroupName is a required field ParameterGroupName *string `type:"string" required:"true"` } @@ -5754,6 +5820,8 @@ type DeleteClusterSecurityGroupInput struct { _ struct{} `type:"structure"` // The name of the cluster security group to be deleted. + // + // ClusterSecurityGroupName is a required field ClusterSecurityGroupName *string `type:"string" required:"true"` } @@ -5808,6 +5876,8 @@ type DeleteClusterSnapshotInput struct { // // Constraints: Must be the name of an existing snapshot that is in the available // state. + // + // SnapshotIdentifier is a required field SnapshotIdentifier *string `type:"string" required:"true"` } @@ -5855,6 +5925,8 @@ type DeleteClusterSubnetGroupInput struct { _ struct{} `type:"structure"` // The name of the cluster subnet group name to be deleted. + // + // ClusterSubnetGroupName is a required field ClusterSubnetGroupName *string `type:"string" required:"true"` } @@ -5899,6 +5971,8 @@ type DeleteEventSubscriptionInput struct { _ struct{} `type:"structure"` // The name of the Amazon Redshift event notification subscription to be deleted. + // + // SubscriptionName is a required field SubscriptionName *string `type:"string" required:"true"` } @@ -5943,6 +6017,8 @@ type DeleteHsmClientCertificateInput struct { _ struct{} `type:"structure"` // The identifier of the HSM client certificate to be deleted. + // + // HsmClientCertificateIdentifier is a required field HsmClientCertificateIdentifier *string `type:"string" required:"true"` } @@ -5987,6 +6063,8 @@ type DeleteHsmConfigurationInput struct { _ struct{} `type:"structure"` // The identifier of the Amazon Redshift HSM configuration to be deleted. + // + // HsmConfigurationIdentifier is a required field HsmConfigurationIdentifier *string `type:"string" required:"true"` } @@ -6032,6 +6110,8 @@ type DeleteSnapshotCopyGrantInput struct { _ struct{} `type:"structure"` // The name of the snapshot copy grant to delete. + // + // SnapshotCopyGrantName is a required field SnapshotCopyGrantName *string `type:"string" required:"true"` } @@ -6078,9 +6158,13 @@ type DeleteTagsInput struct { // The Amazon Resource Name (ARN) from which you want to remove the tag or tags. // For example, arn:aws:redshift:us-east-1:123456789:cluster:t1. + // + // ResourceName is a required field ResourceName *string `type:"string" required:"true"` // The tag key that you want to delete. + // + // TagKeys is a required field TagKeys []*string `locationNameList:"TagKey" type:"list" required:"true"` } @@ -6224,6 +6308,8 @@ type DescribeClusterParametersInput struct { MaxRecords *int64 `type:"integer"` // The name of a cluster parameter group for which to return details. + // + // ParameterGroupName is a required field ParameterGroupName *string `type:"string" required:"true"` // The parameter types to return. Specify user to show parameters that are different @@ -6723,6 +6809,8 @@ type DescribeDefaultClusterParametersInput struct { MaxRecords *int64 `type:"integer"` // The name of the cluster parameter group family. + // + // ParameterGroupFamily is a required field ParameterGroupFamily *string `type:"string" required:"true"` } @@ -7134,6 +7222,8 @@ type DescribeLoggingStatusInput struct { // The identifier of the cluster from which to get the logging status. // // Example: examplecluster + // + // ClusterIdentifier is a required field ClusterIdentifier *string `type:"string" required:"true"` } @@ -7355,6 +7445,8 @@ type DescribeResizeInput struct { // // By default, resize operations for all clusters defined for an AWS account // are returned. + // + // ClusterIdentifier is a required field ClusterIdentifier *string `type:"string" required:"true"` } @@ -7696,6 +7788,8 @@ type DisableLoggingInput struct { // The identifier of the cluster on which logging is to be stopped. // // Example: examplecluster + // + // ClusterIdentifier is a required field ClusterIdentifier *string `type:"string" required:"true"` } @@ -7730,6 +7824,8 @@ type DisableSnapshotCopyInput struct { // // Constraints: Must be the valid name of an existing cluster that has cross-region // snapshot copy enabled. + // + // ClusterIdentifier is a required field ClusterIdentifier *string `type:"string" required:"true"` } @@ -7832,11 +7928,15 @@ type EnableLoggingInput struct { // Must be in the same region as the cluster // // The cluster must have read bucket and put object permissions + // + // BucketName is a required field BucketName *string `type:"string" required:"true"` // The identifier of the cluster on which logging is to be started. // // Example: examplecluster + // + // ClusterIdentifier is a required field ClusterIdentifier *string `type:"string" required:"true"` // The prefix applied to the log file names. @@ -7894,6 +7994,8 @@ type EnableSnapshotCopyInput struct { // // Constraints: Must be the valid name of an existing cluster that does not // already have cross-region snapshot copy enabled. + // + // ClusterIdentifier is a required field ClusterIdentifier *string `type:"string" required:"true"` // The destination region that you want to copy snapshots to. @@ -7901,6 +8003,8 @@ type EnableSnapshotCopyInput struct { // Constraints: Must be the name of a valid region. For more information, see // Regions and Endpoints (http://docs.aws.amazon.com/general/latest/gr/rande.html#redshift_region) // in the Amazon Web Services General Reference. + // + // DestinationRegion is a required field DestinationRegion *string `type:"string" required:"true"` // The number of days to retain automated snapshots in the destination region @@ -8294,6 +8398,8 @@ type ModifyClusterIamRolesInput struct { // The unique identifier of the cluster for which you want to associate or disassociate // IAM roles. + // + // ClusterIdentifier is a required field ClusterIdentifier *string `type:"string" required:"true"` // Zero or more IAM roles in ARN format to disassociate from the cluster. You @@ -8366,6 +8472,8 @@ type ModifyClusterInput struct { // The unique identifier of the cluster to be modified. // // Example: examplecluster + // + // ClusterIdentifier is a required field ClusterIdentifier *string `type:"string" required:"true"` // The name of the cluster parameter group to apply to this cluster. This change @@ -8585,6 +8693,8 @@ type ModifyClusterParameterGroupInput struct { _ struct{} `type:"structure"` // The name of the parameter group to be modified. + // + // ParameterGroupName is a required field ParameterGroupName *string `type:"string" required:"true"` // An array of parameters to be modified. A maximum of 20 parameters can be @@ -8595,6 +8705,8 @@ type ModifyClusterParameterGroupInput struct { // // For the workload management (WLM) configuration, you must supply all the // name-value pairs in the wlm_json_configuration parameter. + // + // Parameters is a required field Parameters []*Parameter `locationNameList:"Parameter" type:"list" required:"true"` } @@ -8628,6 +8740,8 @@ type ModifyClusterSubnetGroupInput struct { _ struct{} `type:"structure"` // The name of the subnet group to be modified. + // + // ClusterSubnetGroupName is a required field ClusterSubnetGroupName *string `type:"string" required:"true"` // A text description of the subnet group to be modified. @@ -8635,6 +8749,8 @@ type ModifyClusterSubnetGroupInput struct { // An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a // single request. + // + // SubnetIds is a required field SubnetIds []*string `locationNameList:"SubnetIdentifier" type:"list" required:"true"` } @@ -8726,6 +8842,8 @@ type ModifyEventSubscriptionInput struct { SourceType *string `type:"string"` // The name of the modified Amazon Redshift event notification subscription. + // + // SubscriptionName is a required field SubscriptionName *string `type:"string" required:"true"` } @@ -8777,6 +8895,8 @@ type ModifySnapshotCopyRetentionPeriodInput struct { // // Constraints: Must be the valid name of an existing cluster that has cross-region // snapshot copy enabled. + // + // ClusterIdentifier is a required field ClusterIdentifier *string `type:"string" required:"true"` // The number of days to retain automated snapshots in the destination region @@ -8788,6 +8908,8 @@ type ModifySnapshotCopyRetentionPeriodInput struct { // of the new retention period. // // Constraints: Must be at least 1 and no more than 35. + // + // RetentionPeriod is a required field RetentionPeriod *int64 `type:"integer" required:"true"` } @@ -8970,6 +9092,8 @@ type PurchaseReservedNodeOfferingInput struct { NodeCount *int64 `type:"integer"` // The unique identifier of the reserved node offering you want to purchase. + // + // ReservedNodeOfferingId is a required field ReservedNodeOfferingId *string `type:"string" required:"true"` } @@ -9018,6 +9142,8 @@ type RebootClusterInput struct { _ struct{} `type:"structure"` // The cluster identifier. + // + // ClusterIdentifier is a required field ClusterIdentifier *string `type:"string" required:"true"` } @@ -9195,6 +9321,8 @@ type ResetClusterParameterGroupInput struct { _ struct{} `type:"structure"` // The name of the cluster parameter group to be reset. + // + // ParameterGroupName is a required field ParameterGroupName *string `type:"string" required:"true"` // An array of names of parameters to be reset. If ResetAllParameters option @@ -9275,6 +9403,8 @@ type RestoreFromClusterSnapshotInput struct { // Cannot end with a hyphen or contain two consecutive hyphens. // // Must be unique for all clusters within an AWS account. + // + // ClusterIdentifier is a required field ClusterIdentifier *string `type:"string" required:"true"` // The name of the parameter group to be associated with this cluster. @@ -9391,6 +9521,8 @@ type RestoreFromClusterSnapshotInput struct { // isn't case sensitive. // // Example: my-snapshot-id + // + // SnapshotIdentifier is a required field SnapshotIdentifier *string `type:"string" required:"true"` // A list of Virtual Private Cloud (VPC) security groups to be associated with @@ -9487,17 +9619,25 @@ type RestoreTableFromClusterSnapshotInput struct { _ struct{} `type:"structure"` // The identifier of the Amazon Redshift cluster to restore the table to. + // + // ClusterIdentifier is a required field ClusterIdentifier *string `type:"string" required:"true"` // The name of the table to create as a result of the current request. + // + // NewTableName is a required field NewTableName *string `type:"string" required:"true"` // The identifier of the snapshot to restore the table from. This snapshot must // have been created from the Amazon Redshift cluster specified by the ClusterIdentifier // parameter. + // + // SnapshotIdentifier is a required field SnapshotIdentifier *string `type:"string" required:"true"` // The name of the source database that contains the table to restore from. + // + // SourceDatabaseName is a required field SourceDatabaseName *string `type:"string" required:"true"` // The name of the source schema that contains the table to restore from. If @@ -9505,6 +9645,8 @@ type RestoreTableFromClusterSnapshotInput struct { SourceSchemaName *string `type:"string"` // The name of the source table to restore from. + // + // SourceTableName is a required field SourceTableName *string `type:"string" required:"true"` // The name of the database to restore the table to. @@ -9575,6 +9717,8 @@ type RevokeClusterSecurityGroupIngressInput struct { CIDRIP *string `type:"string"` // The name of the security Group from which to revoke the ingress rule. + // + // ClusterSecurityGroupName is a required field ClusterSecurityGroupName *string `type:"string" required:"true"` // The name of the EC2 Security Group whose access is to be revoked. If EC2SecurityGroupName @@ -9636,6 +9780,8 @@ type RevokeSnapshotAccessInput struct { // The identifier of the AWS customer account that can no longer restore the // specified snapshot. + // + // AccountWithRestoreAccess is a required field AccountWithRestoreAccess *string `type:"string" required:"true"` // The identifier of the cluster the snapshot was created from. This parameter @@ -9644,6 +9790,8 @@ type RevokeSnapshotAccessInput struct { SnapshotClusterIdentifier *string `type:"string"` // The identifier of the snapshot that the account can no longer access. + // + // SnapshotIdentifier is a required field SnapshotIdentifier *string `type:"string" required:"true"` } @@ -9697,6 +9845,8 @@ type RotateEncryptionKeyInput struct { // keys for. // // Constraints: Must be the name of valid cluster that has encryption enabled. + // + // ClusterIdentifier is a required field ClusterIdentifier *string `type:"string" required:"true"` } @@ -10079,32 +10229,40 @@ func (s VpcSecurityGroupMembership) GoString() string { } const ( - // @enum ParameterApplyType + // ParameterApplyTypeStatic is a ParameterApplyType enum value ParameterApplyTypeStatic = "static" - // @enum ParameterApplyType + + // ParameterApplyTypeDynamic is a ParameterApplyType enum value ParameterApplyTypeDynamic = "dynamic" ) const ( - // @enum SourceType + // SourceTypeCluster is a SourceType enum value SourceTypeCluster = "cluster" - // @enum SourceType + + // SourceTypeClusterParameterGroup is a SourceType enum value SourceTypeClusterParameterGroup = "cluster-parameter-group" - // @enum SourceType + + // SourceTypeClusterSecurityGroup is a SourceType enum value SourceTypeClusterSecurityGroup = "cluster-security-group" - // @enum SourceType + + // SourceTypeClusterSnapshot is a SourceType enum value SourceTypeClusterSnapshot = "cluster-snapshot" ) const ( - // @enum TableRestoreStatusType + // TableRestoreStatusTypePending is a TableRestoreStatusType enum value TableRestoreStatusTypePending = "PENDING" - // @enum TableRestoreStatusType + + // TableRestoreStatusTypeInProgress is a TableRestoreStatusType enum value TableRestoreStatusTypeInProgress = "IN_PROGRESS" - // @enum TableRestoreStatusType + + // TableRestoreStatusTypeSucceeded is a TableRestoreStatusType enum value TableRestoreStatusTypeSucceeded = "SUCCEEDED" - // @enum TableRestoreStatusType + + // TableRestoreStatusTypeFailed is a TableRestoreStatusType enum value TableRestoreStatusTypeFailed = "FAILED" - // @enum TableRestoreStatusType + + // TableRestoreStatusTypeCanceled is a TableRestoreStatusType enum value TableRestoreStatusTypeCanceled = "CANCELED" ) diff --git a/service/redshift/waiters.go b/service/redshift/waiters.go index 8ab16da9cd4..59e26ed598d 100644 --- a/service/redshift/waiters.go +++ b/service/redshift/waiters.go @@ -6,6 +6,10 @@ import ( "github.com/aws/aws-sdk-go/private/waiter" ) +// WaitUntilClusterAvailable uses the Amazon Redshift API operation +// DescribeClusters to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *Redshift) WaitUntilClusterAvailable(input *DescribeClustersInput) error { waiterCfg := waiter.Config{ Operation: "DescribeClusters", @@ -41,6 +45,10 @@ func (c *Redshift) WaitUntilClusterAvailable(input *DescribeClustersInput) error return w.Wait() } +// WaitUntilClusterDeleted uses the Amazon Redshift API operation +// DescribeClusters to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *Redshift) WaitUntilClusterDeleted(input *DescribeClustersInput) error { waiterCfg := waiter.Config{ Operation: "DescribeClusters", @@ -76,6 +84,10 @@ func (c *Redshift) WaitUntilClusterDeleted(input *DescribeClustersInput) error { return w.Wait() } +// WaitUntilClusterRestored uses the Amazon Redshift API operation +// DescribeClusters to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *Redshift) WaitUntilClusterRestored(input *DescribeClustersInput) error { waiterCfg := waiter.Config{ Operation: "DescribeClusters", @@ -105,6 +117,10 @@ func (c *Redshift) WaitUntilClusterRestored(input *DescribeClustersInput) error return w.Wait() } +// WaitUntilSnapshotAvailable uses the Amazon Redshift API operation +// DescribeClusterSnapshots to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *Redshift) WaitUntilSnapshotAvailable(input *DescribeClusterSnapshotsInput) error { waiterCfg := waiter.Config{ Operation: "DescribeClusterSnapshots", diff --git a/service/route53/api.go b/service/route53/api.go index 9977a23653a..4cc44a5f3a5 100644 --- a/service/route53/api.go +++ b/service/route53/api.go @@ -3089,6 +3089,8 @@ type AlarmIdentifier struct { // The name of the CloudWatch alarm that you want Amazon Route 53 health checkers // to use to determine whether this health check is healthy. + // + // Name is a required field Name *string `min:"1" type:"string" required:"true"` // A complex type that identifies the CloudWatch alarm that you want Amazon @@ -3097,6 +3099,8 @@ type AlarmIdentifier struct { // // For the current list of CloudWatch regions, see Amazon CloudWatch (http://docs.aws.amazon.com/general/latest/gr/rande.html#cw_region) // in AWS Regions and Endpoints in the Amazon Web Services General Reference. + // + // Region is a required field Region *string `min:"1" type:"string" required:"true" enum:"CloudWatchRegion"` } @@ -3211,6 +3215,8 @@ type AliasTarget struct { // // Another Amazon Route 53 resource record set: Specify the value of the // Name element for a resource record set in the current hosted zone. + // + // DNSName is a required field DNSName *string `type:"string" required:"true"` // Applies only to alias, weighted alias, latency alias, and failover alias @@ -3290,6 +3296,8 @@ type AliasTarget struct { // For more information and examples, see Amazon Route 53 Health Checks and // DNS Failover (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover.html) // in the Amazon Route 53 Developer Guide. + // + // EvaluateTargetHealth is a required field EvaluateTargetHealth *bool `type:"boolean" required:"true"` // Alias resource records sets only: The value used depends on where the queries @@ -3331,6 +3339,8 @@ type AliasTarget struct { // Another Amazon Route 53 resource record set in your hosted zone Specify // the hosted zone ID of your hosted zone. (An alias resource record set cannot // reference a resource record set in a different hosted zone.) + // + // HostedZoneId is a required field HostedZoneId *string `type:"string" required:"true"` } @@ -3375,10 +3385,14 @@ type AssociateVPCWithHostedZoneInput struct { // // Note that you cannot associate a VPC with a hosted zone that doesn't have // an existing VPC association. + // + // HostedZoneId is a required field HostedZoneId *string `location:"uri" locationName:"Id" type:"string" required:"true"` // A complex type containing information about the Amazon VPC that you're associating // with the specified hosted zone. + // + // VPC is a required field VPC *VPC `type:"structure" required:"true"` } @@ -3418,6 +3432,8 @@ type AssociateVPCWithHostedZoneOutput struct { _ struct{} `type:"structure"` // A complex type that describes the changes made to your hosted zone. + // + // ChangeInfo is a required field ChangeInfo *ChangeInfo `type:"structure" required:"true"` } @@ -3458,9 +3474,13 @@ type Change struct { // resource record set only when all of the following values match: Name, Type, // and SetIdentifier (for weighted, latency, geolocation, and failover resource // record sets). + // + // Action is a required field Action *string `type:"string" required:"true" enum:"ChangeAction"` // Information about the resource record set to create or delete. + // + // ResourceRecordSet is a required field ResourceRecordSet *ResourceRecordSet `type:"structure" required:"true"` } @@ -3500,6 +3520,8 @@ type ChangeBatch struct { _ struct{} `type:"structure"` // Information about the changes to make to the record sets. + // + // Changes is a required field Changes []*Change `locationNameList:"Change" min:"1" type:"list" required:"true"` // Optional: Any comments you want to include about a change batch request. @@ -3558,12 +3580,16 @@ type ChangeBatchRecord struct { // The ID of the request. Use this ID to track when the change has completed // across all Amazon Route 53 DNS servers. + // + // Id is a required field Id *string `type:"string" required:"true"` // The current state of the request. PENDING indicates that this request has // not yet been applied to all Amazon Route 53 DNS servers. // // Valid Values: PENDING | INSYNC + // + // Status is a required field Status *string `type:"string" required:"true" enum:"ChangeStatus"` // The date and time the change was submitted, in the format YYYY-MM-DDThh:mm:ssZ, @@ -3599,15 +3625,21 @@ type ChangeInfo struct { Comment *string `type:"string"` // The ID of the request. + // + // Id is a required field Id *string `type:"string" required:"true"` // The current state of the request. PENDING indicates that this request has // not yet been applied to all Amazon Route 53 DNS servers. + // + // Status is a required field Status *string `type:"string" required:"true" enum:"ChangeStatus"` // The date and time the change request was submitted, in Coordinated Universal // Time (UTC) format: YYYY-MM-DDThh:mm:ssZ. For more information, see the Wikipedia // entry ISO 8601 (https://en.wikipedia.org/wiki/ISO_8601). + // + // SubmittedAt is a required field SubmittedAt *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"` } @@ -3626,10 +3658,14 @@ type ChangeResourceRecordSetsInput struct { _ struct{} `locationName:"ChangeResourceRecordSetsRequest" type:"structure" xmlURI:"https://route53.amazonaws.com/doc/2013-04-01/"` // A complex type that contains an optional comment and the Changes element. + // + // ChangeBatch is a required field ChangeBatch *ChangeBatch `type:"structure" required:"true"` // The ID of the hosted zone that contains the resource record sets that you // want to change. + // + // HostedZoneId is a required field HostedZoneId *string `location:"uri" locationName:"Id" type:"string" required:"true"` } @@ -3673,6 +3709,8 @@ type ChangeResourceRecordSetsOutput struct { // // This element contains an ID that you use when performing a GetChange action // to get detailed information about the change. + // + // ChangeInfo is a required field ChangeInfo *ChangeInfo `type:"structure" required:"true"` } @@ -3703,6 +3741,8 @@ type ChangeTagsForResourceInput struct { RemoveTagKeys []*string `locationNameList:"Key" min:"1" type:"list"` // The ID of the resource for which you want to add, change, or delete tags. + // + // ResourceId is a required field ResourceId *string `location:"uri" locationName:"ResourceId" type:"string" required:"true"` // The type of the resource. @@ -3710,6 +3750,8 @@ type ChangeTagsForResourceInput struct { // The resource type for health checks is healthcheck. // // The resource type for hosted zones is hostedzone. + // + // ResourceType is a required field ResourceType *string `location:"uri" locationName:"ResourceType" type:"string" required:"true" enum:"TagResourceType"` } @@ -3767,6 +3809,8 @@ type CloudWatchAlarmConfiguration struct { // For the metric that the CloudWatch alarm is associated with, the arithmetic // operation that is used for the comparison. + // + // ComparisonOperator is a required field ComparisonOperator *string `type:"string" required:"true" enum:"ComparisonOperator"` // For the metric that the CloudWatch alarm is associated with, a complex type @@ -3777,26 +3821,38 @@ type CloudWatchAlarmConfiguration struct { // For the metric that the CloudWatch alarm is associated with, the number of // periods that the metric is compared to the threshold. + // + // EvaluationPeriods is a required field EvaluationPeriods *int64 `min:"1" type:"integer" required:"true"` // The name of the CloudWatch metric that the alarm is associated with. + // + // MetricName is a required field MetricName *string `min:"1" type:"string" required:"true"` // The namespace of the metric that the alarm is associated with. For more information, // see Amazon CloudWatch Namespaces, Dimensions, and Metrics Reference (http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html) // in the Amazon CloudWatch Developer Guide. + // + // Namespace is a required field Namespace *string `min:"1" type:"string" required:"true"` // For the metric that the CloudWatch alarm is associated with, the duration // of one evaluation period in seconds. + // + // Period is a required field Period *int64 `min:"60" type:"integer" required:"true"` // For the metric that the CloudWatch alarm is associated with, the statistic // that is applied to the metric. + // + // Statistic is a required field Statistic *string `type:"string" required:"true" enum:"Statistic"` // For the metric that the CloudWatch alarm is associated with, the value the // metric is compared with. + // + // Threshold is a required field Threshold *float64 `type:"double" required:"true"` } @@ -3818,9 +3874,13 @@ type CreateHealthCheckInput struct { // requests to be retried without the risk of executing the operation twice. // You must use a unique CallerReference string every time you create a health // check. + // + // CallerReference is a required field CallerReference *string `min:"1" type:"string" required:"true"` // A complex type that contains the response to a CreateHealthCheck request. + // + // HealthCheckConfig is a required field HealthCheckConfig *HealthCheckConfig `type:"structure" required:"true"` } @@ -3863,9 +3923,13 @@ type CreateHealthCheckOutput struct { _ struct{} `type:"structure"` // A complex type that contains identifying information about the health check. + // + // HealthCheck is a required field HealthCheck *HealthCheck `type:"structure" required:"true"` // The unique URL representing the new health check. + // + // Location is a required field Location *string `location:"header" locationName:"Location" type:"string" required:"true"` } @@ -3888,6 +3952,8 @@ type CreateHostedZoneInput struct { // You must use a unique CallerReference string every time you create a hosted // zone. CallerReference can be any unique string, for example, a date/time // stamp. + // + // CallerReference is a required field CallerReference *string `min:"1" type:"string" required:"true"` // If you want to associate a reusable delegation set with this hosted zone, @@ -3917,6 +3983,8 @@ type CreateHostedZoneInput struct { // with your DNS registrar. If your domain name is registered with a registrar // other than Amazon Route 53, change the name servers for your domain to the // set of NameServers that CreateHostedZone returns in the DelegationSet element. + // + // Name is a required field Name *string `type:"string" required:"true"` // The VPC that you want your hosted zone to be associated with. By providing @@ -3964,15 +4032,23 @@ type CreateHostedZoneOutput struct { _ struct{} `type:"structure"` // A complex type that describes the changes made to your hosted zone. + // + // ChangeInfo is a required field ChangeInfo *ChangeInfo `type:"structure" required:"true"` // A complex type that describes the name servers for this hosted zone. + // + // DelegationSet is a required field DelegationSet *DelegationSet `type:"structure" required:"true"` // A complex type that contains general information about the hosted zone. + // + // HostedZone is a required field HostedZone *HostedZone `type:"structure" required:"true"` // The unique URL representing the new hosted zone. + // + // Location is a required field Location *string `location:"header" locationName:"Location" type:"string" required:"true"` VPC *VPC `type:"structure"` @@ -3996,6 +4072,8 @@ type CreateReusableDelegationSetInput struct { // the operation twice. You must use a unique CallerReference string every time // you submit a CreateReusableDelegationSet request. CallerReference can be // any unique string, for example a date/time stamp. + // + // CallerReference is a required field CallerReference *string `min:"1" type:"string" required:"true"` // If you want to mark the delegation set for an existing hosted zone as reusable, @@ -4033,9 +4111,13 @@ type CreateReusableDelegationSetOutput struct { _ struct{} `type:"structure"` // A complex type that contains name server information. + // + // DelegationSet is a required field DelegationSet *DelegationSet `type:"structure" required:"true"` // The unique URL representing the new reusbale delegation set. + // + // Location is a required field Location *string `location:"header" locationName:"Location" type:"string" required:"true"` } @@ -4060,9 +4142,13 @@ type CreateTrafficPolicyInput struct { // The definition of this traffic policy in JSON format. For more information, // see Traffic Policy Document Format (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/api-policies-traffic-policy-document-format.html) // in the Amazon Route 53 API Reference. + // + // Document is a required field Document *string `type:"string" required:"true"` // The name of the traffic policy. + // + // Name is a required field Name *string `type:"string" required:"true"` } @@ -4099,23 +4185,33 @@ type CreateTrafficPolicyInstanceInput struct { // The ID of the hosted zone in which you want Amazon Route 53 to create resource // record sets by using the configuration in a traffic policy. + // + // HostedZoneId is a required field HostedZoneId *string `type:"string" required:"true"` // The domain name (such as example.com) or subdomain name (such as www.example.com) // for which Amazon Route 53 responds to DNS queries by using the resource record // sets that Amazon Route 53 creates for this traffic policy instance. + // + // Name is a required field Name *string `type:"string" required:"true"` // (Optional) The TTL that you want Amazon Route 53 to assign to all of the // resource record sets that it creates in the specified hosted zone. + // + // TTL is a required field TTL *int64 `type:"long" required:"true"` // The ID of the traffic policy that you want to use to create resource record // sets in the specified hosted zone. + // + // TrafficPolicyId is a required field TrafficPolicyId *string `type:"string" required:"true"` // The version of the traffic policy that you want to use to create resource // record sets in the specified hosted zone. + // + // TrafficPolicyVersion is a required field TrafficPolicyVersion *int64 `min:"1" type:"integer" required:"true"` } @@ -4163,9 +4259,13 @@ type CreateTrafficPolicyInstanceOutput struct { _ struct{} `type:"structure"` // A unique URL that represents a new traffic policy instance. + // + // Location is a required field Location *string `location:"header" locationName:"Location" type:"string" required:"true"` // A complex type that contains settings for the new traffic policy instance. + // + // TrafficPolicyInstance is a required field TrafficPolicyInstance *TrafficPolicyInstance `type:"structure" required:"true"` } @@ -4184,9 +4284,12 @@ func (s CreateTrafficPolicyInstanceOutput) GoString() string { type CreateTrafficPolicyOutput struct { _ struct{} `type:"structure"` + // Location is a required field Location *string `location:"header" locationName:"Location" type:"string" required:"true"` // A complex type that contains settings for the new traffic policy. + // + // TrafficPolicy is a required field TrafficPolicy *TrafficPolicy `type:"structure" required:"true"` } @@ -4212,9 +4315,13 @@ type CreateTrafficPolicyVersionInput struct { // The definition of this version of the traffic policy, in JSON format. You // specified the JSON in the CreateTrafficPolicyVersion request. For more information // about the JSON format, see CreateTrafficPolicy. + // + // Document is a required field Document *string `type:"string" required:"true"` // The ID of the traffic policy for which you want to create a new version. + // + // Id is a required field Id *string `location:"uri" locationName:"Id" type:"string" required:"true"` } @@ -4249,10 +4356,13 @@ func (s *CreateTrafficPolicyVersionInput) Validate() error { type CreateTrafficPolicyVersionOutput struct { _ struct{} `type:"structure"` + // Location is a required field Location *string `location:"header" locationName:"Location" type:"string" required:"true"` // A complex type that contains settings for the new version of the traffic // policy. + // + // TrafficPolicy is a required field TrafficPolicy *TrafficPolicy `type:"structure" required:"true"` } @@ -4276,6 +4386,8 @@ type DelegationSet struct { // A complex type that contains a list of the authoritative name servers for // the hosted zone. + // + // NameServers is a required field NameServers []*string `locationNameList:"NameServer" min:"1" type:"list" required:"true"` } @@ -4294,6 +4406,7 @@ func (s DelegationSet) GoString() string { type DeleteHealthCheckInput struct { _ struct{} `type:"structure"` + // HealthCheckId is a required field HealthCheckId *string `location:"uri" locationName:"HealthCheckId" type:"string" required:"true"` } @@ -4341,6 +4454,8 @@ type DeleteHostedZoneInput struct { _ struct{} `type:"structure"` // The ID of the hosted zone you want to delete. + // + // Id is a required field Id *string `location:"uri" locationName:"Id" type:"string" required:"true"` } @@ -4373,6 +4488,8 @@ type DeleteHostedZoneOutput struct { // A complex type that contains the ID, the status, and the date and time of // your delete request. + // + // ChangeInfo is a required field ChangeInfo *ChangeInfo `type:"structure" required:"true"` } @@ -4391,6 +4508,8 @@ type DeleteReusableDelegationSetInput struct { _ struct{} `type:"structure"` // The ID of the reusable delegation set you want to delete. + // + // Id is a required field Id *string `location:"uri" locationName:"Id" type:"string" required:"true"` } @@ -4437,9 +4556,13 @@ type DeleteTrafficPolicyInput struct { _ struct{} `type:"structure"` // The ID of the traffic policy that you want to delete. + // + // Id is a required field Id *string `location:"uri" locationName:"Id" type:"string" required:"true"` // The version number of the traffic policy that you want to delete. + // + // Version is a required field Version *int64 `location:"uri" locationName:"Version" min:"1" type:"integer" required:"true"` } @@ -4482,6 +4605,8 @@ type DeleteTrafficPolicyInstanceInput struct { // When you delete a traffic policy instance, Amazon Route 53 also deletes // all of the resource record sets that were created when you created the traffic // policy instance. + // + // Id is a required field Id *string `location:"uri" locationName:"Id" type:"string" required:"true"` } @@ -4545,10 +4670,14 @@ type Dimension struct { // For the metric that the CloudWatch alarm is associated with, the name of // one dimension. + // + // Name is a required field Name *string `min:"1" type:"string" required:"true"` // For the metric that the CloudWatch alarm is associated with, the value of // one dimension. + // + // Value is a required field Value *string `min:"1" type:"string" required:"true"` } @@ -4572,10 +4701,14 @@ type DisassociateVPCFromHostedZoneInput struct { // The ID of the VPC that you want to disassociate from an Amazon Route 53 hosted // zone. + // + // HostedZoneId is a required field HostedZoneId *string `location:"uri" locationName:"Id" type:"string" required:"true"` // A complex type containing information about the Amazon VPC that you're disassociating // from the specified hosted zone. + // + // VPC is a required field VPC *VPC `type:"structure" required:"true"` } @@ -4616,6 +4749,8 @@ type DisassociateVPCFromHostedZoneOutput struct { _ struct{} `type:"structure"` // A complex type that describes the changes made to your hosted zone. + // + // ChangeInfo is a required field ChangeInfo *ChangeInfo `type:"structure" required:"true"` } @@ -4720,6 +4855,8 @@ type GetChangeDetailsInput struct { // The ID of the change batch. This is the value that you specified in the change // ID parameter when you submitted the request. + // + // Id is a required field Id *string `location:"uri" locationName:"Id" type:"string" required:"true"` } @@ -4753,6 +4890,8 @@ type GetChangeDetailsOutput struct { // A complex type that contains information about the specified change batch, // including the change batch ID, the status of the change, and the contained // changes. + // + // ChangeBatchRecord is a required field ChangeBatchRecord *ChangeBatchRecord `deprecated:"true" type:"structure" required:"true"` } @@ -4773,6 +4912,8 @@ type GetChangeInput struct { // The ID of the change batch request. The value that you specify here is the // value that ChangeResourceRecordSets returned in the Id element when you submitted // the request. + // + // Id is a required field Id *string `location:"uri" locationName:"Id" type:"string" required:"true"` } @@ -4804,6 +4945,8 @@ type GetChangeOutput struct { _ struct{} `type:"structure"` // A complex type that contains information about the specified change batch. + // + // ChangeInfo is a required field ChangeInfo *ChangeInfo `type:"structure" required:"true"` } @@ -4838,6 +4981,8 @@ type GetCheckerIpRangesOutput struct { // A complex type that contains sorted list of IP ranges in CIDR format for // Amazon Route 53 health checkers. + // + // CheckerIpRanges is a required field CheckerIpRanges []*string `type:"list" required:"true"` } @@ -4919,6 +5064,8 @@ type GetGeoLocationOutput struct { // A complex type that contains the codes and full continent, country, and subdivision // names for the specified geolocation code. + // + // GeoLocationDetails is a required field GeoLocationDetails *GeoLocationDetails `type:"structure" required:"true"` } @@ -4953,6 +5100,8 @@ type GetHealthCheckCountOutput struct { _ struct{} `type:"structure"` // The number of health checks associated with the current AWS account. + // + // HealthCheckCount is a required field HealthCheckCount *int64 `type:"long" required:"true"` } @@ -4982,6 +5131,8 @@ type GetHealthCheckInput struct { // created it. When you add or update a resource record set, you use this value // to specify which health check to use. The value can be up to 64 characters // long. + // + // HealthCheckId is a required field HealthCheckId *string `location:"uri" locationName:"HealthCheckId" type:"string" required:"true"` } @@ -5023,6 +5174,8 @@ type GetHealthCheckLastFailureReasonInput struct { // The ID for the health check for which you want the last failure reason. When // you created the health check, CreateHealthCheck returned the ID in the response, // in the HealthCheckId element. + // + // HealthCheckId is a required field HealthCheckId *string `location:"uri" locationName:"HealthCheckId" type:"string" required:"true"` } @@ -5056,6 +5209,8 @@ type GetHealthCheckLastFailureReasonOutput struct { // A list that contains one Observation element for each Amazon Route 53 health // checker that is reporting a last failure reason. + // + // HealthCheckObservations is a required field HealthCheckObservations []*HealthCheckObservation `locationNameList:"HealthCheckObservation" type:"list" required:"true"` } @@ -5075,6 +5230,8 @@ type GetHealthCheckOutput struct { // A complex type that contains information about one health check that is associated // with the current AWS account. + // + // HealthCheck is a required field HealthCheck *HealthCheck `type:"structure" required:"true"` } @@ -5149,6 +5306,8 @@ type GetHealthCheckStatusInput struct { // of FullyQualifiedDomainName matches the name of the resource record sets // and then associate the health check with those resource record sets, health // check results will be unpredictable. + // + // HealthCheckId is a required field HealthCheckId *string `location:"uri" locationName:"HealthCheckId" type:"string" required:"true"` } @@ -5181,6 +5340,8 @@ type GetHealthCheckStatusOutput struct { // A list that contains one HealthCheckObservation element for each Amazon Route // 53 health checker that is reporting a status about the health check endpoint. + // + // HealthCheckObservations is a required field HealthCheckObservations []*HealthCheckObservation `locationNameList:"HealthCheckObservation" type:"list" required:"true"` } @@ -5216,6 +5377,8 @@ type GetHostedZoneCountOutput struct { // The total number of public and private hosted zones associated with the current // AWS account. + // + // HostedZoneCount is a required field HostedZoneCount *int64 `type:"long" required:"true"` } @@ -5235,6 +5398,8 @@ type GetHostedZoneInput struct { // The ID of the hosted zone for which you want to get a list of the name servers // in the delegation set. + // + // Id is a required field Id *string `location:"uri" locationName:"Id" type:"string" required:"true"` } @@ -5269,6 +5434,8 @@ type GetHostedZoneOutput struct { DelegationSet *DelegationSet `type:"structure"` // A complex type that contains general information about the hosted zone. + // + // HostedZone is a required field HostedZone *HostedZone `type:"structure" required:"true"` // A complex type that contains information about VPCs associated with the specified @@ -5292,6 +5459,8 @@ type GetReusableDelegationSetInput struct { // The ID of the reusable delegation set for which you want to get a list of // the name server. + // + // Id is a required field Id *string `location:"uri" locationName:"Id" type:"string" required:"true"` } @@ -5324,6 +5493,8 @@ type GetReusableDelegationSetOutput struct { _ struct{} `type:"structure"` // A complex type that contains information about the reusable delegation set. + // + // DelegationSet is a required field DelegationSet *DelegationSet `type:"structure" required:"true"` } @@ -5344,10 +5515,14 @@ type GetTrafficPolicyInput struct { _ struct{} `type:"structure"` // The ID of the traffic policy that you want to get information about. + // + // Id is a required field Id *string `location:"uri" locationName:"Id" type:"string" required:"true"` // The version number of the traffic policy that you want to get information // about. + // + // Version is a required field Version *int64 `location:"uri" locationName:"Version" min:"1" type:"integer" required:"true"` } @@ -5403,6 +5578,8 @@ type GetTrafficPolicyInstanceCountOutput struct { // The number of traffic policy instances that are associated with the current // AWS account. + // + // TrafficPolicyInstanceCount is a required field TrafficPolicyInstanceCount *int64 `type:"integer" required:"true"` } @@ -5424,6 +5601,8 @@ type GetTrafficPolicyInstanceInput struct { _ struct{} `type:"structure"` // The ID of the traffic policy instance that you want to get information about. + // + // Id is a required field Id *string `location:"uri" locationName:"Id" type:"string" required:"true"` } @@ -5456,6 +5635,8 @@ type GetTrafficPolicyInstanceOutput struct { _ struct{} `type:"structure"` // A complex type that contains settings for the traffic policy instance. + // + // TrafficPolicyInstance is a required field TrafficPolicyInstance *TrafficPolicyInstance `type:"structure" required:"true"` } @@ -5474,6 +5655,8 @@ type GetTrafficPolicyOutput struct { _ struct{} `type:"structure"` // A complex type that contains settings for the specified traffic policy. + // + // TrafficPolicy is a required field TrafficPolicy *TrafficPolicy `type:"structure" required:"true"` } @@ -5493,6 +5676,8 @@ type HealthCheck struct { _ struct{} `type:"structure"` // A unique string that you specified when you created the health check. + // + // CallerReference is a required field CallerReference *string `min:"1" type:"string" required:"true"` // A complex type that contains information about the CloudWatch alarm that @@ -5500,17 +5685,23 @@ type HealthCheck struct { CloudWatchAlarmConfiguration *CloudWatchAlarmConfiguration `type:"structure"` // A complex type that contains detailed information about one health check. + // + // HealthCheckConfig is a required field HealthCheckConfig *HealthCheckConfig `type:"structure" required:"true"` // The version of the health check. You can optionally pass this value in a // call to UpdateHealthCheck to prevent overwriting another change to the health // check. + // + // HealthCheckVersion is a required field HealthCheckVersion *int64 `min:"1" type:"long" required:"true"` // The identifier that Amazon Route 53assigned to the health check when you // created it. When you add or update a resource record set, you use this value // to specify which health check to use. The value can be up to 64 characters // long. + // + // Id is a required field Id *string `type:"string" required:"true"` } @@ -5757,6 +5948,8 @@ type HealthCheckConfig struct { // // For more information about how Amazon Route 53 determines whether an endpoint // is healthy, see the introduction to this topic. + // + // Type is a required field Type *string `type:"string" required:"true" enum:"HealthCheckType"` } @@ -5834,6 +6027,8 @@ type HostedZone struct { // The value that you specified for CallerReference when you created the hosted // zone. + // + // CallerReference is a required field CallerReference *string `min:"1" type:"string" required:"true"` // A complex type that includes the Comment and PrivateZone elements. If you @@ -5843,6 +6038,8 @@ type HostedZone struct { // The ID that Amazon Route 53 assigned to the hosted zone when you created // it. + // + // Id is a required field Id *string `type:"string" required:"true"` // The name of the domain. For public hosted zones, this is the name that you @@ -5850,6 +6047,8 @@ type HostedZone struct { // // For information about how to specify characters other than a-z, 0-9, and // - (hyphen) and how to specify internationalized domain names, see CreateHostedZone. + // + // Name is a required field Name *string `type:"string" required:"true"` // The number of resource record sets in the hosted zone. @@ -5894,9 +6093,13 @@ type ListChangeBatchesByHostedZoneInput struct { _ struct{} `deprecated:"true" type:"structure"` // The end of the time period you want to see changes for. + // + // EndDate is a required field EndDate *string `location:"querystring" locationName:"endDate" deprecated:"true" type:"string" required:"true"` // The ID of the hosted zone that you want to see changes for. + // + // HostedZoneId is a required field HostedZoneId *string `location:"uri" locationName:"Id" type:"string" required:"true"` // The page marker. @@ -5906,6 +6109,8 @@ type ListChangeBatchesByHostedZoneInput struct { MaxItems *string `location:"querystring" locationName:"maxItems" type:"string"` // The start of the time period you want to see changes for. + // + // StartDate is a required field StartDate *string `location:"querystring" locationName:"startDate" deprecated:"true" type:"string" required:"true"` } @@ -5943,6 +6148,8 @@ type ListChangeBatchesByHostedZoneOutput struct { _ struct{} `deprecated:"true" type:"structure"` // The change batches within the given hosted zone and time period. + // + // ChangeBatchRecords is a required field ChangeBatchRecords []*ChangeBatchRecord `locationNameList:"ChangeBatchRecord" min:"1" deprecated:"true" type:"list" required:"true"` // A flag that indicates if there are more change batches to list. @@ -5951,10 +6158,14 @@ type ListChangeBatchesByHostedZoneOutput struct { // For the second and subsequent calls to ListHostedZones, Marker is the value // that you specified for the marker parameter in the request that produced // the current response. + // + // Marker is a required field Marker *string `type:"string" required:"true"` // The value that you specified for the maxitems parameter in the call to ListHostedZones // that produced the current response. + // + // MaxItems is a required field MaxItems *string `type:"string" required:"true"` // The next page marker. @@ -5976,9 +6187,13 @@ type ListChangeBatchesByRRSetInput struct { _ struct{} `deprecated:"true" type:"structure"` // The end of the time period you want to see changes for. + // + // EndDate is a required field EndDate *string `location:"querystring" locationName:"endDate" deprecated:"true" type:"string" required:"true"` // The ID of the hosted zone that you want to see changes for. + // + // HostedZoneId is a required field HostedZoneId *string `location:"uri" locationName:"Id" type:"string" required:"true"` // The page marker. @@ -5988,15 +6203,21 @@ type ListChangeBatchesByRRSetInput struct { MaxItems *string `location:"querystring" locationName:"maxItems" type:"string"` // The name of the RRSet that you want to see changes for. + // + // Name is a required field Name *string `location:"querystring" locationName:"rrSet_name" type:"string" required:"true"` // The identifier of the RRSet that you want to see changes for. SetIdentifier *string `location:"querystring" locationName:"identifier" min:"1" type:"string"` // The start of the time period you want to see changes for. + // + // StartDate is a required field StartDate *string `location:"querystring" locationName:"startDate" deprecated:"true" type:"string" required:"true"` // The type of the RRSet that you want to see changes for. + // + // Type is a required field Type *string `location:"querystring" locationName:"type" type:"string" required:"true" enum:"RRType"` } @@ -6043,15 +6264,21 @@ type ListChangeBatchesByRRSetOutput struct { _ struct{} `deprecated:"true" type:"structure"` // The change batches within the given hosted zone and time period. + // + // ChangeBatchRecords is a required field ChangeBatchRecords []*ChangeBatchRecord `locationNameList:"ChangeBatchRecord" min:"1" deprecated:"true" type:"list" required:"true"` // A flag that indicates if there are more change batches to list. IsTruncated *bool `type:"boolean"` // The page marker. + // + // Marker is a required field Marker *string `type:"string" required:"true"` // The maximum number of items on a page. + // + // MaxItems is a required field MaxItems *string `type:"string" required:"true"` // The next page marker. @@ -6152,6 +6379,8 @@ type ListGeoLocationsOutput struct { // A complex type that contains one GeoLocationDetails element for each location // that Amazon Route 53 supports for geolocation. + // + // GeoLocationDetailsList is a required field GeoLocationDetailsList []*GeoLocationDetails `locationNameList:"GeoLocationDetails" type:"list" required:"true"` // A value that indicates whether more locations remain to be listed after the @@ -6159,9 +6388,13 @@ type ListGeoLocationsOutput struct { // To get more values, submit another request and include the values of NextContinentCode, // NextCountryCode, and NextSubdivisionCode in the StartContinentCode, StartCountryCode, // and StartSubdivisionCode, as applicable. + // + // IsTruncated is a required field IsTruncated *bool `type:"boolean" required:"true"` // The value that you specified for MaxItems in the request. + // + // MaxItems is a required field MaxItems *string `type:"string" required:"true"` // If IsTruncated is true, you can make a follow-up request to display more @@ -6243,6 +6476,8 @@ type ListHealthChecksOutput struct { // A complex type that contains one HealthCheck element for each health check // that is associated with the current AWS account. + // + // HealthChecks is a required field HealthChecks []*HealthCheck `locationNameList:"HealthCheck" type:"list" required:"true"` // A flag that indicates whether there are more health checks to be listed. @@ -6251,14 +6486,20 @@ type ListHealthChecksOutput struct { // NextMarker element in the marker parameter. // // Valid Values: true | false + // + // IsTruncated is a required field IsTruncated *bool `type:"boolean" required:"true"` // For the second and subsequent calls to ListHealthChecks, Marker is the value // that you specified for the marker parameter in the previous request. + // + // Marker is a required field Marker *string `type:"string" required:"true"` // The value that you specified for the maxitems parameter in the call to ListHealthChecks // that produced the current response. + // + // MaxItems is a required field MaxItems *string `type:"string" required:"true"` // If IsTruncated is true, the value of NextMarker identifies the first health @@ -6376,6 +6617,8 @@ type ListHostedZonesByNameOutput struct { HostedZoneId *string `type:"string"` // A complex type that contains general information about the hosted zone. + // + // HostedZones is a required field HostedZones []*HostedZone `locationNameList:"HostedZone" type:"list" required:"true"` // A flag that indicates whether there are more hosted zones to be listed. If @@ -6383,10 +6626,14 @@ type ListHostedZonesByNameOutput struct { // zones by calling ListHostedZonesByName again and specifying the values of // NextDNSName and NextHostedZoneId elements in the dnsname and hostedzoneid // parameters. + // + // IsTruncated is a required field IsTruncated *bool `type:"boolean" required:"true"` // The value that you specified for the maxitems parameter in the call to ListHostedZonesByName // that produced the current response. + // + // MaxItems is a required field MaxItems *string `type:"string" required:"true"` // If IsTruncated is true, the value of NextDNSName is the name of the first @@ -6481,21 +6728,29 @@ type ListHostedZonesOutput struct { _ struct{} `type:"structure"` // A complex type that contains general information about the hosted zone. + // + // HostedZones is a required field HostedZones []*HostedZone `locationNameList:"HostedZone" type:"list" required:"true"` // A flag indicating whether there are more hosted zones to be listed. If the // response was truncated, you can get the next group of maxitems hosted zones // by calling ListHostedZones again and specifying the value of the NextMarker // element in the marker parameter. + // + // IsTruncated is a required field IsTruncated *bool `type:"boolean" required:"true"` // For the second and subsequent calls to ListHostedZones, Marker is the value // that you specified for the marker parameter in the request that produced // the current response. + // + // Marker is a required field Marker *string `type:"string" required:"true"` // The value that you specified for the maxitems parameter in the call to ListHostedZones // that produced the current response. + // + // MaxItems is a required field MaxItems *string `type:"string" required:"true"` // If IsTruncated is true, the value of NextMarker identifies the first hosted @@ -6522,6 +6777,8 @@ type ListResourceRecordSetsInput struct { // The ID of the hosted zone that contains the resource record sets that you // want to get. + // + // HostedZoneId is a required field HostedZoneId *string `location:"uri" locationName:"Id" type:"string" required:"true"` // (Optional) The maximum number of resource records sets to include in the @@ -6598,9 +6855,13 @@ type ListResourceRecordSetsOutput struct { // A flag that indicates whether more resource record sets remain to be listed. // If your results were truncated, you can make a follow-up pagination request // by using the NextRecordName element. + // + // IsTruncated is a required field IsTruncated *bool `type:"boolean" required:"true"` // The maximum number of records you requested. + // + // MaxItems is a required field MaxItems *string `type:"string" required:"true"` // Weighted, latency, geolocation, and failover resource record sets only: If @@ -6619,6 +6880,8 @@ type ListResourceRecordSetsOutput struct { NextRecordType *string `type:"string" enum:"RRType"` // Information about multiple resource record sets. + // + // ResourceRecordSets is a required field ResourceRecordSets []*ResourceRecordSet `locationNameList:"ResourceRecordSet" type:"list" required:"true"` } @@ -6672,21 +6935,29 @@ type ListReusableDelegationSetsOutput struct { // A complex type that contains one DelegationSet element for each reusable // delegation set that was created by the current AWS account. + // + // DelegationSets is a required field DelegationSets []*DelegationSet `locationNameList:"DelegationSet" type:"list" required:"true"` // A flag that indicates whether there are more reusable delegation sets to // be listed. If the response is truncated, you can get the next group of maxitems // reusable delegation sets by calling ListReusableDelegationSets again and // specifying the value of the NextMarker element in the marker parameter. + // + // IsTruncated is a required field IsTruncated *bool `type:"boolean" required:"true"` // For the second and subsequent calls to ListReusableDelegationSets, Marker // is the value that you specified for the marker parameter in the request that // produced the current response. + // + // Marker is a required field Marker *string `type:"string" required:"true"` // The value that you specified for the maxitems parameter in the call to ListReusableDelegationSets // that produced the current response. + // + // MaxItems is a required field MaxItems *string `type:"string" required:"true"` // If IsTruncated is true, the value of NextMarker identifies the first reusable @@ -6712,6 +6983,8 @@ type ListTagsForResourceInput struct { _ struct{} `type:"structure"` // The ID of the resource for which you want to retrieve tags. + // + // ResourceId is a required field ResourceId *string `location:"uri" locationName:"ResourceId" type:"string" required:"true"` // The type of the resource. @@ -6719,6 +6992,8 @@ type ListTagsForResourceInput struct { // The resource type for health checks is healthcheck. // // The resource type for hosted zones is hostedzone. + // + // ResourceType is a required field ResourceType *string `location:"uri" locationName:"ResourceType" type:"string" required:"true" enum:"TagResourceType"` } @@ -6754,6 +7029,8 @@ type ListTagsForResourceOutput struct { _ struct{} `type:"structure"` // A ResourceTagSet containing tags associated with the specified resource. + // + // ResourceTagSet is a required field ResourceTagSet *ResourceTagSet `type:"structure" required:"true"` } @@ -6774,6 +7051,8 @@ type ListTagsForResourcesInput struct { // A complex type that contains the ResourceId element for each resource for // which you want to get a list of tags. + // + // ResourceIds is a required field ResourceIds []*string `locationNameList:"ResourceId" min:"1" type:"list" required:"true"` // The type of the resources. @@ -6781,6 +7060,8 @@ type ListTagsForResourcesInput struct { // The resource type for health checks is healthcheck. // // The resource type for hosted zones is hostedzone. + // + // ResourceType is a required field ResourceType *string `location:"uri" locationName:"ResourceType" type:"string" required:"true" enum:"TagResourceType"` } @@ -6818,6 +7099,8 @@ type ListTagsForResourcesOutput struct { _ struct{} `type:"structure"` // A list of ResourceTagSets containing tags associated with the specified resources. + // + // ResourceTagSets is a required field ResourceTagSets []*ResourceTagSet `locationNameList:"ResourceTagSet" type:"list" required:"true"` } @@ -6876,18 +7159,26 @@ type ListTrafficPoliciesOutput struct { // the TrafficPolicyIdMarker element in the TrafficPolicyIdMarker request parameter. // // Valid Values: true | false + // + // IsTruncated is a required field IsTruncated *bool `type:"boolean" required:"true"` // The value that you specified for the MaxItems parameter in the call to ListTrafficPolicies // that produced the current response. + // + // MaxItems is a required field MaxItems *string `type:"string" required:"true"` // If the value of IsTruncated is true, TrafficPolicyIdMarker is the ID of the // first traffic policy in the next group of MaxItems traffic policies. + // + // TrafficPolicyIdMarker is a required field TrafficPolicyIdMarker *string `type:"string" required:"true"` // A list that contains one TrafficPolicySummary element for each traffic policy // that was created by the current AWS account. + // + // TrafficPolicySummaries is a required field TrafficPolicySummaries []*TrafficPolicySummary `locationNameList:"TrafficPolicySummary" type:"list" required:"true"` } @@ -6907,6 +7198,8 @@ type ListTrafficPolicyInstancesByHostedZoneInput struct { _ struct{} `type:"structure"` // The ID of the hosted zone for which you want to list traffic policy instances. + // + // HostedZoneId is a required field HostedZoneId *string `location:"querystring" locationName:"id" type:"string" required:"true"` // The maximum number of traffic policy instances to be included in the response @@ -6976,10 +7269,14 @@ type ListTrafficPolicyInstancesByHostedZoneOutput struct { // again and specifying the values of the HostedZoneIdMarker, TrafficPolicyInstanceNameMarker, // and TrafficPolicyInstanceTypeMarker elements in the corresponding request // parameters. + // + // IsTruncated is a required field IsTruncated *bool `type:"boolean" required:"true"` // The value that you specified for the MaxItems parameter in the call to ListTrafficPolicyInstancesByHostedZone // that produced the current response. + // + // MaxItems is a required field MaxItems *string `type:"string" required:"true"` // If IsTruncated is true, TrafficPolicyInstanceNameMarker is the name of the @@ -6994,6 +7291,8 @@ type ListTrafficPolicyInstancesByHostedZoneOutput struct { // A list that contains one TrafficPolicyInstance element for each traffic policy // instance that matches the elements in the request. + // + // TrafficPolicyInstances is a required field TrafficPolicyInstances []*TrafficPolicyInstance `locationNameList:"TrafficPolicyInstance" type:"list" required:"true"` } @@ -7034,6 +7333,8 @@ type ListTrafficPolicyInstancesByPolicyInput struct { MaxItems *string `location:"querystring" locationName:"maxitems" type:"string"` // The ID of the traffic policy for which you want to list traffic policy instances. + // + // TrafficPolicyId is a required field TrafficPolicyId *string `location:"querystring" locationName:"id" type:"string" required:"true"` // For the first request to ListTrafficPolicyInstancesByPolicy, omit this value. @@ -7062,6 +7363,8 @@ type ListTrafficPolicyInstancesByPolicyInput struct { // The version of the traffic policy for which you want to list traffic policy // instances. The version must be associated with the traffic policy that is // specified by TrafficPolicyId. + // + // TrafficPolicyVersion is a required field TrafficPolicyVersion *int64 `location:"querystring" locationName:"version" min:"1" type:"integer" required:"true"` } @@ -7109,10 +7412,14 @@ type ListTrafficPolicyInstancesByPolicyOutput struct { // and specifying the values of the HostedZoneIdMarker, TrafficPolicyInstanceNameMarker, // and TrafficPolicyInstanceTypeMarker elements in the corresponding request // parameters. + // + // IsTruncated is a required field IsTruncated *bool `type:"boolean" required:"true"` // The value that you specified for the MaxItems parameter in the call to ListTrafficPolicyInstancesByPolicy // that produced the current response. + // + // MaxItems is a required field MaxItems *string `type:"string" required:"true"` // If IsTruncated is true, TrafficPolicyInstanceNameMarker is the name of the @@ -7127,6 +7434,8 @@ type ListTrafficPolicyInstancesByPolicyOutput struct { // A list that contains one TrafficPolicyInstance element for each traffic policy // instance that matches the elements in the request. + // + // TrafficPolicyInstances is a required field TrafficPolicyInstances []*TrafficPolicyInstance `locationNameList:"TrafficPolicyInstance" type:"list" required:"true"` } @@ -7212,10 +7521,14 @@ type ListTrafficPolicyInstancesOutput struct { // specifying the values of the HostedZoneIdMarker, TrafficPolicyInstanceNameMarker, // and TrafficPolicyInstanceTypeMarker elements in the corresponding request // parameters. + // + // IsTruncated is a required field IsTruncated *bool `type:"boolean" required:"true"` // The value that you specified for the MaxItems parameter in the call to ListTrafficPolicyInstances // that produced the current response. + // + // MaxItems is a required field MaxItems *string `type:"string" required:"true"` // If IsTruncated is true, TrafficPolicyInstanceNameMarker is the name of the @@ -7230,6 +7543,8 @@ type ListTrafficPolicyInstancesOutput struct { // A list that contains one TrafficPolicyInstance element for each traffic policy // instance that matches the elements in the request. + // + // TrafficPolicyInstances is a required field TrafficPolicyInstances []*TrafficPolicyInstance `locationNameList:"TrafficPolicyInstance" type:"list" required:"true"` } @@ -7250,6 +7565,8 @@ type ListTrafficPolicyVersionsInput struct { // Specify the value of Id of the traffic policy for which you want to list // all versions. + // + // Id is a required field Id *string `location:"uri" locationName:"Id" type:"string" required:"true"` // The maximum number of traffic policy versions that you want Amazon Route @@ -7304,14 +7621,20 @@ type ListTrafficPolicyVersionsOutput struct { // If the response was truncated, you can get the next group of maxitems traffic // policies by calling ListTrafficPolicyVersions again and specifying the value // of the NextMarker element in the marker parameter. + // + // IsTruncated is a required field IsTruncated *bool `type:"boolean" required:"true"` // The value that you specified for the maxitems parameter in the call to ListTrafficPolicyVersions // that produced the current response. + // + // MaxItems is a required field MaxItems *string `type:"string" required:"true"` // A list that contains one TrafficPolicy element for each traffic policy version // that is associated with the specified traffic policy. + // + // TrafficPolicies is a required field TrafficPolicies []*TrafficPolicy `locationNameList:"TrafficPolicy" type:"list" required:"true"` // If IsTruncated is true, the value of TrafficPolicyVersionMarker identifies @@ -7320,6 +7643,8 @@ type ListTrafficPolicyVersionsOutput struct { // in the TrafficPolicyVersionMarker request parameter. // // This element is present only if IsTruncated is true. + // + // TrafficPolicyVersionMarker is a required field TrafficPolicyVersionMarker *string `type:"string" required:"true"` } @@ -7349,6 +7674,8 @@ type ResourceRecord struct { // SOA. // // If you are creating an alias resource record set, omit Value. + // + // Value is a required field Value *string `type:"string" required:"true"` } @@ -7580,6 +7907,8 @@ type ResourceRecordSet struct { // example, *.example.com. You cannot use an * for one of the middle labels, // for example, marketing.*.example.com. In addition, the * must replace the // entire label; for example, you can't specify prod*.example.com. + // + // Name is a required field Name *string `type:"string" required:"true"` // Latency-based resource record sets only: The Amazon EC2 region where the @@ -7680,6 +8009,8 @@ type ResourceRecordSet struct { // Another resource record set in this hosted zone: Specify the type of // the resource record set for which you're creating the alias. Specify any // value except NS or SOA. + // + // Type is a required field Type *string `type:"string" required:"true" enum:"RRType"` // Weighted resource record sets only: Among resource record sets that have @@ -7900,10 +8231,13 @@ type TestDNSAnswerInput struct { EDNS0ClientSubnetMask *string `location:"querystring" locationName:"edns0clientsubnetmask" type:"string"` + // HostedZoneId is a required field HostedZoneId *string `location:"querystring" locationName:"hostedzoneid" type:"string" required:"true"` + // RecordName is a required field RecordName *string `location:"querystring" locationName:"recordname" type:"string" required:"true"` + // RecordType is a required field RecordType *string `location:"querystring" locationName:"recordtype" type:"string" required:"true" enum:"RRType"` ResolverIP *string `location:"querystring" locationName:"resolverip" type:"string"` @@ -7943,20 +8277,30 @@ type TestDNSAnswerOutput struct { _ struct{} `type:"structure"` // The Amazon Route 53 name server used to respond to the request. + // + // Nameserver is a required field Nameserver *string `type:"string" required:"true"` // The protocol that Amazon Route 53 used to respond to the request, either // UDP or TCP. + // + // Protocol is a required field Protocol *string `type:"string" required:"true"` // A list that contains values that Amazon Route 53 returned for this resource // record set. + // + // RecordData is a required field RecordData []*string `locationNameList:"RecordDataEntry" type:"list" required:"true"` // The name of the resource record set that you submitted a request for. + // + // RecordName is a required field RecordName *string `type:"string" required:"true"` // The type of the resource record set that you submitted a request for. + // + // RecordType is a required field RecordType *string `type:"string" required:"true" enum:"RRType"` // A code that indicates whether the request is valid or not. The most common @@ -7964,6 +8308,8 @@ type TestDNSAnswerOutput struct { // is not valid, Amazon Route 53 returns a response code that describes the // error. For a list of possible response codes, see DNS RCODES (http://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-6) // on the IANA website. + // + // ResponseCode is a required field ResponseCode *string `type:"string" required:"true"` } @@ -7982,14 +8328,19 @@ type TrafficPolicy struct { Comment *string `type:"string"` + // Document is a required field Document *string `type:"string" required:"true"` + // Id is a required field Id *string `type:"string" required:"true"` + // Name is a required field Name *string `type:"string" required:"true"` + // Type is a required field Type *string `type:"string" required:"true" enum:"RRType"` + // Version is a required field Version *int64 `min:"1" type:"integer" required:"true"` } @@ -8006,22 +8357,31 @@ func (s TrafficPolicy) GoString() string { type TrafficPolicyInstance struct { _ struct{} `type:"structure"` + // HostedZoneId is a required field HostedZoneId *string `type:"string" required:"true"` + // Id is a required field Id *string `type:"string" required:"true"` + // Message is a required field Message *string `type:"string" required:"true"` + // Name is a required field Name *string `type:"string" required:"true"` + // State is a required field State *string `type:"string" required:"true"` + // TTL is a required field TTL *int64 `type:"long" required:"true"` + // TrafficPolicyId is a required field TrafficPolicyId *string `type:"string" required:"true"` + // TrafficPolicyType is a required field TrafficPolicyType *string `type:"string" required:"true" enum:"RRType"` + // TrafficPolicyVersion is a required field TrafficPolicyVersion *int64 `min:"1" type:"integer" required:"true"` } @@ -8038,14 +8398,19 @@ func (s TrafficPolicyInstance) GoString() string { type TrafficPolicySummary struct { _ struct{} `type:"structure"` + // Id is a required field Id *string `type:"string" required:"true"` + // LatestVersion is a required field LatestVersion *int64 `min:"1" type:"integer" required:"true"` + // Name is a required field Name *string `type:"string" required:"true"` + // TrafficPolicyCount is a required field TrafficPolicyCount *int64 `min:"1" type:"integer" required:"true"` + // Type is a required field Type *string `type:"string" required:"true" enum:"RRType"` } @@ -8159,6 +8524,8 @@ type UpdateHealthCheckInput struct { // The ID for the health check for which you want detailed information. When // you created the health check, CreateHealthCheck returned the ID in the response, // in the HealthCheckId element. + // + // HealthCheckId is a required field HealthCheckId *string `location:"uri" locationName:"HealthCheckId" type:"string" required:"true"` // A sequential counter that Amazon Route 53 sets to 1 when you create a health @@ -8291,6 +8658,8 @@ type UpdateHealthCheckOutput struct { // A complex type that contains information about one health check that is associated // with the current AWS account. + // + // HealthCheck is a required field HealthCheck *HealthCheck `type:"structure" required:"true"` } @@ -8313,6 +8682,8 @@ type UpdateHostedZoneCommentInput struct { Comment *string `type:"string"` // The ID for the hosted zone for which you want to update the comment. + // + // Id is a required field Id *string `location:"uri" locationName:"Id" type:"string" required:"true"` } @@ -8344,6 +8715,8 @@ type UpdateHostedZoneCommentOutput struct { _ struct{} `type:"structure"` // A complex type that contains general information about the hosted zone. + // + // HostedZone is a required field HostedZone *HostedZone `type:"structure" required:"true"` } @@ -8363,13 +8736,19 @@ type UpdateTrafficPolicyCommentInput struct { _ struct{} `locationName:"UpdateTrafficPolicyCommentRequest" type:"structure" xmlURI:"https://route53.amazonaws.com/doc/2013-04-01/"` // The new comment for the specified traffic policy and version. + // + // Comment is a required field Comment *string `type:"string" required:"true"` // The value of Id for the traffic policy for which you want to update the comment. + // + // Id is a required field Id *string `location:"uri" locationName:"Id" type:"string" required:"true"` // The value of Version for the traffic policy for which you want to update // the comment. + // + // Version is a required field Version *int64 `location:"uri" locationName:"Version" min:"1" type:"integer" required:"true"` } @@ -8410,6 +8789,8 @@ type UpdateTrafficPolicyCommentOutput struct { _ struct{} `type:"structure"` // A complex type that contains settings for the specified traffic policy. + // + // TrafficPolicy is a required field TrafficPolicy *TrafficPolicy `type:"structure" required:"true"` } @@ -8429,18 +8810,26 @@ type UpdateTrafficPolicyInstanceInput struct { _ struct{} `locationName:"UpdateTrafficPolicyInstanceRequest" type:"structure" xmlURI:"https://route53.amazonaws.com/doc/2013-04-01/"` // The ID of the traffic policy instance that you want to update. + // + // Id is a required field Id *string `location:"uri" locationName:"Id" type:"string" required:"true"` // The TTL that you want Amazon Route 53 to assign to all of the updated resource // record sets. + // + // TTL is a required field TTL *int64 `type:"long" required:"true"` // The ID of the traffic policy that you want Amazon Route 53 to use to update // resource record sets for the specified traffic policy instance. + // + // TrafficPolicyId is a required field TrafficPolicyId *string `type:"string" required:"true"` // The version of the traffic policy that you want Amazon Route 53 to use to // update resource record sets for the specified traffic policy instance. + // + // TrafficPolicyVersion is a required field TrafficPolicyVersion *int64 `min:"1" type:"integer" required:"true"` } @@ -8485,6 +8874,8 @@ type UpdateTrafficPolicyInstanceOutput struct { _ struct{} `type:"structure"` // A complex type that contains settings for the updated traffic policy instance. + // + // TrafficPolicyInstance is a required field TrafficPolicyInstance *TrafficPolicyInstance `type:"structure" required:"true"` } @@ -8531,206 +8922,275 @@ func (s *VPC) Validate() error { } const ( - // @enum ChangeAction + // ChangeActionCreate is a ChangeAction enum value ChangeActionCreate = "CREATE" - // @enum ChangeAction + + // ChangeActionDelete is a ChangeAction enum value ChangeActionDelete = "DELETE" - // @enum ChangeAction + + // ChangeActionUpsert is a ChangeAction enum value ChangeActionUpsert = "UPSERT" ) const ( - // @enum ChangeStatus + // ChangeStatusPending is a ChangeStatus enum value ChangeStatusPending = "PENDING" - // @enum ChangeStatus + + // ChangeStatusInsync is a ChangeStatus enum value ChangeStatusInsync = "INSYNC" ) const ( - // @enum CloudWatchRegion + // CloudWatchRegionUsEast1 is a CloudWatchRegion enum value CloudWatchRegionUsEast1 = "us-east-1" - // @enum CloudWatchRegion + + // CloudWatchRegionUsWest1 is a CloudWatchRegion enum value CloudWatchRegionUsWest1 = "us-west-1" - // @enum CloudWatchRegion + + // CloudWatchRegionUsWest2 is a CloudWatchRegion enum value CloudWatchRegionUsWest2 = "us-west-2" - // @enum CloudWatchRegion + + // CloudWatchRegionEuCentral1 is a CloudWatchRegion enum value CloudWatchRegionEuCentral1 = "eu-central-1" - // @enum CloudWatchRegion + + // CloudWatchRegionEuWest1 is a CloudWatchRegion enum value CloudWatchRegionEuWest1 = "eu-west-1" - // @enum CloudWatchRegion + + // CloudWatchRegionApSouth1 is a CloudWatchRegion enum value CloudWatchRegionApSouth1 = "ap-south-1" - // @enum CloudWatchRegion + + // CloudWatchRegionApSoutheast1 is a CloudWatchRegion enum value CloudWatchRegionApSoutheast1 = "ap-southeast-1" - // @enum CloudWatchRegion + + // CloudWatchRegionApSoutheast2 is a CloudWatchRegion enum value CloudWatchRegionApSoutheast2 = "ap-southeast-2" - // @enum CloudWatchRegion + + // CloudWatchRegionApNortheast1 is a CloudWatchRegion enum value CloudWatchRegionApNortheast1 = "ap-northeast-1" - // @enum CloudWatchRegion + + // CloudWatchRegionApNortheast2 is a CloudWatchRegion enum value CloudWatchRegionApNortheast2 = "ap-northeast-2" - // @enum CloudWatchRegion + + // CloudWatchRegionSaEast1 is a CloudWatchRegion enum value CloudWatchRegionSaEast1 = "sa-east-1" ) const ( - // @enum ComparisonOperator + // ComparisonOperatorGreaterThanOrEqualToThreshold is a ComparisonOperator enum value ComparisonOperatorGreaterThanOrEqualToThreshold = "GreaterThanOrEqualToThreshold" - // @enum ComparisonOperator + + // ComparisonOperatorGreaterThanThreshold is a ComparisonOperator enum value ComparisonOperatorGreaterThanThreshold = "GreaterThanThreshold" - // @enum ComparisonOperator + + // ComparisonOperatorLessThanThreshold is a ComparisonOperator enum value ComparisonOperatorLessThanThreshold = "LessThanThreshold" - // @enum ComparisonOperator + + // ComparisonOperatorLessThanOrEqualToThreshold is a ComparisonOperator enum value ComparisonOperatorLessThanOrEqualToThreshold = "LessThanOrEqualToThreshold" ) // An Amazon EC2 region that you want Amazon Route 53 to use to perform health // checks. const ( - // @enum HealthCheckRegion + // HealthCheckRegionUsEast1 is a HealthCheckRegion enum value HealthCheckRegionUsEast1 = "us-east-1" - // @enum HealthCheckRegion + + // HealthCheckRegionUsWest1 is a HealthCheckRegion enum value HealthCheckRegionUsWest1 = "us-west-1" - // @enum HealthCheckRegion + + // HealthCheckRegionUsWest2 is a HealthCheckRegion enum value HealthCheckRegionUsWest2 = "us-west-2" - // @enum HealthCheckRegion + + // HealthCheckRegionEuWest1 is a HealthCheckRegion enum value HealthCheckRegionEuWest1 = "eu-west-1" - // @enum HealthCheckRegion + + // HealthCheckRegionApSoutheast1 is a HealthCheckRegion enum value HealthCheckRegionApSoutheast1 = "ap-southeast-1" - // @enum HealthCheckRegion + + // HealthCheckRegionApSoutheast2 is a HealthCheckRegion enum value HealthCheckRegionApSoutheast2 = "ap-southeast-2" - // @enum HealthCheckRegion + + // HealthCheckRegionApNortheast1 is a HealthCheckRegion enum value HealthCheckRegionApNortheast1 = "ap-northeast-1" - // @enum HealthCheckRegion + + // HealthCheckRegionSaEast1 is a HealthCheckRegion enum value HealthCheckRegionSaEast1 = "sa-east-1" ) const ( - // @enum HealthCheckType + // HealthCheckTypeHttp is a HealthCheckType enum value HealthCheckTypeHttp = "HTTP" - // @enum HealthCheckType + + // HealthCheckTypeHttps is a HealthCheckType enum value HealthCheckTypeHttps = "HTTPS" - // @enum HealthCheckType + + // HealthCheckTypeHttpStrMatch is a HealthCheckType enum value HealthCheckTypeHttpStrMatch = "HTTP_STR_MATCH" - // @enum HealthCheckType + + // HealthCheckTypeHttpsStrMatch is a HealthCheckType enum value HealthCheckTypeHttpsStrMatch = "HTTPS_STR_MATCH" - // @enum HealthCheckType + + // HealthCheckTypeTcp is a HealthCheckType enum value HealthCheckTypeTcp = "TCP" - // @enum HealthCheckType + + // HealthCheckTypeCalculated is a HealthCheckType enum value HealthCheckTypeCalculated = "CALCULATED" - // @enum HealthCheckType + + // HealthCheckTypeCloudwatchMetric is a HealthCheckType enum value HealthCheckTypeCloudwatchMetric = "CLOUDWATCH_METRIC" ) const ( - // @enum InsufficientDataHealthStatus + // InsufficientDataHealthStatusHealthy is a InsufficientDataHealthStatus enum value InsufficientDataHealthStatusHealthy = "Healthy" - // @enum InsufficientDataHealthStatus + + // InsufficientDataHealthStatusUnhealthy is a InsufficientDataHealthStatus enum value InsufficientDataHealthStatusUnhealthy = "Unhealthy" - // @enum InsufficientDataHealthStatus + + // InsufficientDataHealthStatusLastKnownStatus is a InsufficientDataHealthStatus enum value InsufficientDataHealthStatusLastKnownStatus = "LastKnownStatus" ) const ( - // @enum RRType + // RRTypeSoa is a RRType enum value RRTypeSoa = "SOA" - // @enum RRType + + // RRTypeA is a RRType enum value RRTypeA = "A" - // @enum RRType + + // RRTypeTxt is a RRType enum value RRTypeTxt = "TXT" - // @enum RRType + + // RRTypeNs is a RRType enum value RRTypeNs = "NS" - // @enum RRType + + // RRTypeCname is a RRType enum value RRTypeCname = "CNAME" - // @enum RRType + + // RRTypeMx is a RRType enum value RRTypeMx = "MX" - // @enum RRType + + // RRTypeNaptr is a RRType enum value RRTypeNaptr = "NAPTR" - // @enum RRType + + // RRTypePtr is a RRType enum value RRTypePtr = "PTR" - // @enum RRType + + // RRTypeSrv is a RRType enum value RRTypeSrv = "SRV" - // @enum RRType + + // RRTypeSpf is a RRType enum value RRTypeSpf = "SPF" - // @enum RRType + + // RRTypeAaaa is a RRType enum value RRTypeAaaa = "AAAA" ) const ( - // @enum ResourceRecordSetFailover + // ResourceRecordSetFailoverPrimary is a ResourceRecordSetFailover enum value ResourceRecordSetFailoverPrimary = "PRIMARY" - // @enum ResourceRecordSetFailover + + // ResourceRecordSetFailoverSecondary is a ResourceRecordSetFailover enum value ResourceRecordSetFailoverSecondary = "SECONDARY" ) const ( - // @enum ResourceRecordSetRegion + // ResourceRecordSetRegionUsEast1 is a ResourceRecordSetRegion enum value ResourceRecordSetRegionUsEast1 = "us-east-1" - // @enum ResourceRecordSetRegion + + // ResourceRecordSetRegionUsWest1 is a ResourceRecordSetRegion enum value ResourceRecordSetRegionUsWest1 = "us-west-1" - // @enum ResourceRecordSetRegion + + // ResourceRecordSetRegionUsWest2 is a ResourceRecordSetRegion enum value ResourceRecordSetRegionUsWest2 = "us-west-2" - // @enum ResourceRecordSetRegion + + // ResourceRecordSetRegionEuWest1 is a ResourceRecordSetRegion enum value ResourceRecordSetRegionEuWest1 = "eu-west-1" - // @enum ResourceRecordSetRegion + + // ResourceRecordSetRegionEuCentral1 is a ResourceRecordSetRegion enum value ResourceRecordSetRegionEuCentral1 = "eu-central-1" - // @enum ResourceRecordSetRegion + + // ResourceRecordSetRegionApSoutheast1 is a ResourceRecordSetRegion enum value ResourceRecordSetRegionApSoutheast1 = "ap-southeast-1" - // @enum ResourceRecordSetRegion + + // ResourceRecordSetRegionApSoutheast2 is a ResourceRecordSetRegion enum value ResourceRecordSetRegionApSoutheast2 = "ap-southeast-2" - // @enum ResourceRecordSetRegion + + // ResourceRecordSetRegionApNortheast1 is a ResourceRecordSetRegion enum value ResourceRecordSetRegionApNortheast1 = "ap-northeast-1" - // @enum ResourceRecordSetRegion + + // ResourceRecordSetRegionApNortheast2 is a ResourceRecordSetRegion enum value ResourceRecordSetRegionApNortheast2 = "ap-northeast-2" - // @enum ResourceRecordSetRegion + + // ResourceRecordSetRegionSaEast1 is a ResourceRecordSetRegion enum value ResourceRecordSetRegionSaEast1 = "sa-east-1" - // @enum ResourceRecordSetRegion + + // ResourceRecordSetRegionCnNorth1 is a ResourceRecordSetRegion enum value ResourceRecordSetRegionCnNorth1 = "cn-north-1" - // @enum ResourceRecordSetRegion + + // ResourceRecordSetRegionApSouth1 is a ResourceRecordSetRegion enum value ResourceRecordSetRegionApSouth1 = "ap-south-1" ) const ( - // @enum Statistic + // StatisticAverage is a Statistic enum value StatisticAverage = "Average" - // @enum Statistic + + // StatisticSum is a Statistic enum value StatisticSum = "Sum" - // @enum Statistic + + // StatisticSampleCount is a Statistic enum value StatisticSampleCount = "SampleCount" - // @enum Statistic + + // StatisticMaximum is a Statistic enum value StatisticMaximum = "Maximum" - // @enum Statistic + + // StatisticMinimum is a Statistic enum value StatisticMinimum = "Minimum" ) const ( - // @enum TagResourceType + // TagResourceTypeHealthcheck is a TagResourceType enum value TagResourceTypeHealthcheck = "healthcheck" - // @enum TagResourceType + + // TagResourceTypeHostedzone is a TagResourceType enum value TagResourceTypeHostedzone = "hostedzone" ) const ( - // @enum VPCRegion + // VPCRegionUsEast1 is a VPCRegion enum value VPCRegionUsEast1 = "us-east-1" - // @enum VPCRegion + + // VPCRegionUsWest1 is a VPCRegion enum value VPCRegionUsWest1 = "us-west-1" - // @enum VPCRegion + + // VPCRegionUsWest2 is a VPCRegion enum value VPCRegionUsWest2 = "us-west-2" - // @enum VPCRegion + + // VPCRegionEuWest1 is a VPCRegion enum value VPCRegionEuWest1 = "eu-west-1" - // @enum VPCRegion + + // VPCRegionEuCentral1 is a VPCRegion enum value VPCRegionEuCentral1 = "eu-central-1" - // @enum VPCRegion + + // VPCRegionApSoutheast1 is a VPCRegion enum value VPCRegionApSoutheast1 = "ap-southeast-1" - // @enum VPCRegion + + // VPCRegionApSoutheast2 is a VPCRegion enum value VPCRegionApSoutheast2 = "ap-southeast-2" - // @enum VPCRegion + + // VPCRegionApSouth1 is a VPCRegion enum value VPCRegionApSouth1 = "ap-south-1" - // @enum VPCRegion + + // VPCRegionApNortheast1 is a VPCRegion enum value VPCRegionApNortheast1 = "ap-northeast-1" - // @enum VPCRegion + + // VPCRegionApNortheast2 is a VPCRegion enum value VPCRegionApNortheast2 = "ap-northeast-2" - // @enum VPCRegion + + // VPCRegionSaEast1 is a VPCRegion enum value VPCRegionSaEast1 = "sa-east-1" - // @enum VPCRegion + + // VPCRegionCnNorth1 is a VPCRegion enum value VPCRegionCnNorth1 = "cn-north-1" ) diff --git a/service/route53/waiters.go b/service/route53/waiters.go index 04786169e2a..85a70ab5a41 100644 --- a/service/route53/waiters.go +++ b/service/route53/waiters.go @@ -6,6 +6,10 @@ import ( "github.com/aws/aws-sdk-go/private/waiter" ) +// WaitUntilResourceRecordSetsChanged uses the Route 53 API operation +// GetChange to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *Route53) WaitUntilResourceRecordSetsChanged(input *GetChangeInput) error { waiterCfg := waiter.Config{ Operation: "GetChange", diff --git a/service/route53domains/api.go b/service/route53domains/api.go index 1f90d070dbf..458222364ac 100644 --- a/service/route53domains/api.go +++ b/service/route53domains/api.go @@ -1361,6 +1361,8 @@ type CheckDomainAvailabilityInput struct { // supported. // // Required: Yes + // + // DomainName is a required field DomainName *string `type:"string" required:"true"` // Reserved for future use. @@ -1411,6 +1413,8 @@ type CheckDomainAvailabilityOutput struct { // with a definitive answer about whether the domain name is available. Amazon // Route 53 can return this response for a variety of reasons, for example, // the registry is performing maintenance. Try again later. + // + // Availability is a required field Availability *string `type:"string" required:"true" enum:"DomainAvailability"` } @@ -1668,6 +1672,8 @@ type DeleteTagsForDomainInput struct { // Name, you must convert the name to Punycode. // // Required: Yes + // + // DomainName is a required field DomainName *string `type:"string" required:"true"` // A list of tag keys to delete. @@ -1679,6 +1685,8 @@ type DeleteTagsForDomainInput struct { // Required: No // // '> + // + // TagsToDelete is a required field TagsToDelete []*string `type:"list" required:"true"` } @@ -1725,6 +1733,7 @@ func (s DeleteTagsForDomainOutput) GoString() string { type DisableDomainAutoRenewInput struct { _ struct{} `type:"structure"` + // DomainName is a required field DomainName *string `type:"string" required:"true"` } @@ -1780,6 +1789,8 @@ type DisableDomainTransferLockInput struct { // supported. // // Required: Yes + // + // DomainName is a required field DomainName *string `type:"string" required:"true"` } @@ -1818,6 +1829,8 @@ type DisableDomainTransferLockOutput struct { // Default: None // // Constraints: Maximum 255 characters. + // + // OperationId is a required field OperationId *string `type:"string" required:"true"` } @@ -1862,6 +1875,8 @@ type DomainSummary struct { // The name of a domain. // // Type: String + // + // DomainName is a required field DomainName *string `type:"string" required:"true"` // Expiration date of the domain in Coordinated Universal Time (UTC). @@ -1891,6 +1906,7 @@ func (s DomainSummary) GoString() string { type EnableDomainAutoRenewInput struct { _ struct{} `type:"structure"` + // DomainName is a required field DomainName *string `type:"string" required:"true"` } @@ -1946,6 +1962,8 @@ type EnableDomainTransferLockInput struct { // supported. // // Required: Yes + // + // DomainName is a required field DomainName *string `type:"string" required:"true"` } @@ -1984,6 +2002,8 @@ type EnableDomainTransferLockOutput struct { // Default: None // // Constraints: Maximum 255 characters. + // + // OperationId is a required field OperationId *string `type:"string" required:"true"` } @@ -2016,6 +2036,8 @@ type ExtraParam struct { // Parent: ExtraParams // // Required: Yes + // + // Name is a required field Name *string `type:"string" required:"true" enum:"ExtraParamName"` // Values corresponding to the additional parameter names required by some top-level @@ -2030,6 +2052,8 @@ type ExtraParam struct { // Parent: ExtraParams // // Required: Yes + // + // Value is a required field Value *string `type:"string" required:"true"` } @@ -2126,6 +2150,8 @@ type GetDomainDetailInput struct { // supported. // // Required: Yes + // + // DomainName is a required field DomainName *string `type:"string" required:"true"` } @@ -2175,6 +2201,8 @@ type GetDomainDetailOutput struct { // Children: FirstName, MiddleName, LastName, ContactType, OrganizationName, // AddressLine1, AddressLine2, City, State, CountryCode, ZipCode, PhoneNumber, // Email, Fax, ExtraParams + // + // AdminContact is a required field AdminContact *ContactDetail `type:"structure" required:"true"` // Specifies whether contact information for the admin contact is concealed @@ -2200,6 +2228,8 @@ type GetDomainDetailOutput struct { // The name of a domain. // // Type: String + // + // DomainName is a required field DomainName *string `type:"string" required:"true"` // The date when the registration for the domain is set to expire. The date @@ -2209,6 +2239,8 @@ type GetDomainDetailOutput struct { // The name of the domain. // // Type: String + // + // Nameservers is a required field Nameservers []*Nameserver `type:"list" required:"true"` // Provides details about the domain registrant. @@ -2218,6 +2250,8 @@ type GetDomainDetailOutput struct { // Children: FirstName, MiddleName, LastName, ContactType, OrganizationName, // AddressLine1, AddressLine2, City, State, CountryCode, ZipCode, PhoneNumber, // Email, Fax, ExtraParams + // + // RegistrantContact is a required field RegistrantContact *ContactDetail `type:"structure" required:"true"` // Specifies whether contact information for the registrant contact is concealed @@ -2273,6 +2307,8 @@ type GetDomainDetailOutput struct { // Children: FirstName, MiddleName, LastName, ContactType, OrganizationName, // AddressLine1, AddressLine2, City, State, CountryCode, ZipCode, PhoneNumber, // Email, Fax, ExtraParams + // + // TechContact is a required field TechContact *ContactDetail `type:"structure" required:"true"` // Specifies whether contact information for the tech contact is concealed from @@ -2307,10 +2343,13 @@ func (s GetDomainDetailOutput) GoString() string { type GetDomainSuggestionsInput struct { _ struct{} `type:"structure"` + // DomainName is a required field DomainName *string `type:"string" required:"true"` + // OnlyAvailable is a required field OnlyAvailable *bool `type:"boolean" required:"true"` + // SuggestionCount is a required field SuggestionCount *int64 `type:"integer" required:"true"` } @@ -2371,6 +2410,8 @@ type GetOperationDetailInput struct { // Default: None // // Required: Yes + // + // OperationId is a required field OperationId *string `type:"string" required:"true"` } @@ -2491,6 +2532,8 @@ type ListDomainsOutput struct { // Type: Complex type containing a list of domain summaries. // // Children: AutoRenew, DomainName, Expiry, TransferLock + // + // Domains is a required field Domains []*DomainSummary `type:"list" required:"true"` // If there are more domains than you specified for MaxItems in the request, @@ -2571,6 +2614,8 @@ type ListOperationsOutput struct { // Type: Complex type containing a list of operation summaries // // Children: OperationId, Status, SubmittedDate, Type + // + // Operations is a required field Operations []*OperationSummary `type:"list" required:"true"` } @@ -2589,6 +2634,8 @@ type ListTagsForDomainInput struct { _ struct{} `type:"structure"` // The domain for which you want to get a list of tags. + // + // DomainName is a required field DomainName *string `type:"string" required:"true"` } @@ -2636,6 +2683,8 @@ type ListTagsForDomainOutput struct { // The value of a tag. // // Type: String + // + // TagList is a required field TagList []*Tag `type:"list" required:"true"` } @@ -2672,6 +2721,8 @@ type Nameserver struct { // Constraint: Maximum 255 characterss // // Parent: Nameservers + // + // Name is a required field Name *string `type:"string" required:"true"` } @@ -2705,14 +2756,20 @@ type OperationSummary struct { // Identifier returned to track the requested action. // // Type: String + // + // OperationId is a required field OperationId *string `type:"string" required:"true"` // The current status of the requested operation in the system. // // Type: String + // + // Status is a required field Status *string `type:"string" required:"true" enum:"OperationStatus"` // The date when the request was submitted. + // + // SubmittedDate is a required field SubmittedDate *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"` // Type of the action requested. @@ -2721,6 +2778,8 @@ type OperationSummary struct { // // Valid values: REGISTER_DOMAIN | DELETE_DOMAIN | TRANSFER_IN_DOMAIN | UPDATE_DOMAIN_CONTACT // | UPDATE_NAMESERVER | CHANGE_PRIVACY_PROTECTION | DOMAIN_LOCK + // + // Type is a required field Type *string `type:"string" required:"true" enum:"OperationType"` } @@ -2747,6 +2806,8 @@ type RegisterDomainInput struct { // Email, Fax, ExtraParams // // Required: Yes + // + // AdminContact is a required field AdminContact *ContactDetail `type:"structure" required:"true"` // Indicates whether the domain will be automatically renewed (true) or not @@ -2772,6 +2833,8 @@ type RegisterDomainInput struct { // supported. // // Required: Yes + // + // DomainName is a required field DomainName *string `type:"string" required:"true"` // The number of years the domain will be registered. Domains are registered @@ -2784,6 +2847,8 @@ type RegisterDomainInput struct { // Valid values: Integer from 1 to 10 // // Required: Yes + // + // DurationInYears is a required field DurationInYears *int64 `min:"1" type:"integer" required:"true"` // Reserved for future use. @@ -2840,6 +2905,8 @@ type RegisterDomainInput struct { // Email, Fax, ExtraParams // // Required: Yes + // + // RegistrantContact is a required field RegistrantContact *ContactDetail `type:"structure" required:"true"` // Provides detailed contact information. @@ -2851,6 +2918,8 @@ type RegisterDomainInput struct { // Email, Fax, ExtraParams // // Required: Yes + // + // TechContact is a required field TechContact *ContactDetail `type:"structure" required:"true"` } @@ -2919,6 +2988,8 @@ type RegisterDomainOutput struct { // Default: None // // Constraints: Maximum 255 characters. + // + // OperationId is a required field OperationId *string `type:"string" required:"true"` } @@ -2947,8 +3018,11 @@ type RenewDomainInput struct { // Valid values: Integer // // Required: Yes + // + // CurrentExpiryYear is a required field CurrentExpiryYear *int64 `type:"integer" required:"true"` + // DomainName is a required field DomainName *string `type:"string" required:"true"` // The number of years that you want to renew the domain for. The maximum number @@ -2998,6 +3072,7 @@ func (s *RenewDomainInput) Validate() error { type RenewDomainOutput struct { _ struct{} `type:"structure"` + // OperationId is a required field OperationId *string `type:"string" required:"true"` } @@ -3076,6 +3151,8 @@ type RetrieveDomainAuthCodeInput struct { // supported. // // Required: Yes + // + // DomainName is a required field DomainName *string `type:"string" required:"true"` } @@ -3109,6 +3186,8 @@ type RetrieveDomainAuthCodeOutput struct { // The authorization code for the domain. // // Type: String + // + // AuthCode is a required field AuthCode *string `type:"string" required:"true"` } @@ -3176,6 +3255,8 @@ type TransferDomainInput struct { // Email, Fax, ExtraParams // // Required: Yes + // + // AdminContact is a required field AdminContact *ContactDetail `type:"structure" required:"true"` // The authorization code for the domain. You get this value from the current @@ -3209,6 +3290,8 @@ type TransferDomainInput struct { // supported. // // Required: Yes + // + // DomainName is a required field DomainName *string `type:"string" required:"true"` // The number of years the domain will be registered. Domains are registered @@ -3221,6 +3304,8 @@ type TransferDomainInput struct { // Valid values: Integer from 1 to 10 // // Required: Yes + // + // DurationInYears is a required field DurationInYears *int64 `min:"1" type:"integer" required:"true"` // Reserved for future use. @@ -3286,6 +3371,8 @@ type TransferDomainInput struct { // Email, Fax, ExtraParams // // Required: Yes + // + // RegistrantContact is a required field RegistrantContact *ContactDetail `type:"structure" required:"true"` // Provides detailed contact information. @@ -3297,6 +3384,8 @@ type TransferDomainInput struct { // Email, Fax, ExtraParams // // Required: Yes + // + // TechContact is a required field TechContact *ContactDetail `type:"structure" required:"true"` } @@ -3375,6 +3464,8 @@ type TransferDomainOutput struct { // Default: None // // Constraints: Maximum 255 characters. + // + // OperationId is a required field OperationId *string `type:"string" required:"true"` } @@ -3414,6 +3505,8 @@ type UpdateDomainContactInput struct { // supported. // // Required: Yes + // + // DomainName is a required field DomainName *string `type:"string" required:"true"` // Provides detailed contact information. @@ -3489,6 +3582,8 @@ type UpdateDomainContactOutput struct { // Default: None // // Constraints: Maximum 255 characters. + // + // OperationId is a required field OperationId *string `type:"string" required:"true"` } @@ -3531,6 +3626,8 @@ type UpdateDomainContactPrivacyInput struct { // supported. // // Required: Yes + // + // DomainName is a required field DomainName *string `type:"string" required:"true"` // Whether you want to conceal contact information from WHOIS queries. If you @@ -3597,6 +3694,8 @@ type UpdateDomainContactPrivacyOutput struct { // Default: None // // Constraints: Maximum 255 characters. + // + // OperationId is a required field OperationId *string `type:"string" required:"true"` } @@ -3625,6 +3724,8 @@ type UpdateDomainNameserversInput struct { // supported. // // Required: Yes + // + // DomainName is a required field DomainName *string `type:"string" required:"true"` // The authorization key for .fi domains @@ -3637,6 +3738,8 @@ type UpdateDomainNameserversInput struct { // Children: Name, GlueIps // // Required: Yes + // + // Nameservers is a required field Nameservers []*Nameserver `type:"list" required:"true"` } @@ -3688,6 +3791,8 @@ type UpdateDomainNameserversOutput struct { // Default: None // // Constraints: Maximum 255 characters. + // + // OperationId is a required field OperationId *string `type:"string" required:"true"` } @@ -3720,6 +3825,8 @@ type UpdateTagsForDomainInput struct { // Name, you must convert the name to Punycode. // // Required: Yes + // + // DomainName is a required field DomainName *string `type:"string" required:"true"` // A list of the tag keys and values that you want to add or update. If you @@ -3895,578 +4002,849 @@ func (s ViewBillingOutput) GoString() string { } const ( - // @enum ContactType + // ContactTypePerson is a ContactType enum value ContactTypePerson = "PERSON" - // @enum ContactType + + // ContactTypeCompany is a ContactType enum value ContactTypeCompany = "COMPANY" - // @enum ContactType + + // ContactTypeAssociation is a ContactType enum value ContactTypeAssociation = "ASSOCIATION" - // @enum ContactType + + // ContactTypePublicBody is a ContactType enum value ContactTypePublicBody = "PUBLIC_BODY" - // @enum ContactType + + // ContactTypeReseller is a ContactType enum value ContactTypeReseller = "RESELLER" ) const ( - // @enum CountryCode + // CountryCodeAd is a CountryCode enum value CountryCodeAd = "AD" - // @enum CountryCode + + // CountryCodeAe is a CountryCode enum value CountryCodeAe = "AE" - // @enum CountryCode + + // CountryCodeAf is a CountryCode enum value CountryCodeAf = "AF" - // @enum CountryCode + + // CountryCodeAg is a CountryCode enum value CountryCodeAg = "AG" - // @enum CountryCode + + // CountryCodeAi is a CountryCode enum value CountryCodeAi = "AI" - // @enum CountryCode + + // CountryCodeAl is a CountryCode enum value CountryCodeAl = "AL" - // @enum CountryCode + + // CountryCodeAm is a CountryCode enum value CountryCodeAm = "AM" - // @enum CountryCode + + // CountryCodeAn is a CountryCode enum value CountryCodeAn = "AN" - // @enum CountryCode + + // CountryCodeAo is a CountryCode enum value CountryCodeAo = "AO" - // @enum CountryCode + + // CountryCodeAq is a CountryCode enum value CountryCodeAq = "AQ" - // @enum CountryCode + + // CountryCodeAr is a CountryCode enum value CountryCodeAr = "AR" - // @enum CountryCode + + // CountryCodeAs is a CountryCode enum value CountryCodeAs = "AS" - // @enum CountryCode + + // CountryCodeAt is a CountryCode enum value CountryCodeAt = "AT" - // @enum CountryCode + + // CountryCodeAu is a CountryCode enum value CountryCodeAu = "AU" - // @enum CountryCode + + // CountryCodeAw is a CountryCode enum value CountryCodeAw = "AW" - // @enum CountryCode + + // CountryCodeAz is a CountryCode enum value CountryCodeAz = "AZ" - // @enum CountryCode + + // CountryCodeBa is a CountryCode enum value CountryCodeBa = "BA" - // @enum CountryCode + + // CountryCodeBb is a CountryCode enum value CountryCodeBb = "BB" - // @enum CountryCode + + // CountryCodeBd is a CountryCode enum value CountryCodeBd = "BD" - // @enum CountryCode + + // CountryCodeBe is a CountryCode enum value CountryCodeBe = "BE" - // @enum CountryCode + + // CountryCodeBf is a CountryCode enum value CountryCodeBf = "BF" - // @enum CountryCode + + // CountryCodeBg is a CountryCode enum value CountryCodeBg = "BG" - // @enum CountryCode + + // CountryCodeBh is a CountryCode enum value CountryCodeBh = "BH" - // @enum CountryCode + + // CountryCodeBi is a CountryCode enum value CountryCodeBi = "BI" - // @enum CountryCode + + // CountryCodeBj is a CountryCode enum value CountryCodeBj = "BJ" - // @enum CountryCode + + // CountryCodeBl is a CountryCode enum value CountryCodeBl = "BL" - // @enum CountryCode + + // CountryCodeBm is a CountryCode enum value CountryCodeBm = "BM" - // @enum CountryCode + + // CountryCodeBn is a CountryCode enum value CountryCodeBn = "BN" - // @enum CountryCode + + // CountryCodeBo is a CountryCode enum value CountryCodeBo = "BO" - // @enum CountryCode + + // CountryCodeBr is a CountryCode enum value CountryCodeBr = "BR" - // @enum CountryCode + + // CountryCodeBs is a CountryCode enum value CountryCodeBs = "BS" - // @enum CountryCode + + // CountryCodeBt is a CountryCode enum value CountryCodeBt = "BT" - // @enum CountryCode + + // CountryCodeBw is a CountryCode enum value CountryCodeBw = "BW" - // @enum CountryCode + + // CountryCodeBy is a CountryCode enum value CountryCodeBy = "BY" - // @enum CountryCode + + // CountryCodeBz is a CountryCode enum value CountryCodeBz = "BZ" - // @enum CountryCode + + // CountryCodeCa is a CountryCode enum value CountryCodeCa = "CA" - // @enum CountryCode + + // CountryCodeCc is a CountryCode enum value CountryCodeCc = "CC" - // @enum CountryCode + + // CountryCodeCd is a CountryCode enum value CountryCodeCd = "CD" - // @enum CountryCode + + // CountryCodeCf is a CountryCode enum value CountryCodeCf = "CF" - // @enum CountryCode + + // CountryCodeCg is a CountryCode enum value CountryCodeCg = "CG" - // @enum CountryCode + + // CountryCodeCh is a CountryCode enum value CountryCodeCh = "CH" - // @enum CountryCode + + // CountryCodeCi is a CountryCode enum value CountryCodeCi = "CI" - // @enum CountryCode + + // CountryCodeCk is a CountryCode enum value CountryCodeCk = "CK" - // @enum CountryCode + + // CountryCodeCl is a CountryCode enum value CountryCodeCl = "CL" - // @enum CountryCode + + // CountryCodeCm is a CountryCode enum value CountryCodeCm = "CM" - // @enum CountryCode + + // CountryCodeCn is a CountryCode enum value CountryCodeCn = "CN" - // @enum CountryCode + + // CountryCodeCo is a CountryCode enum value CountryCodeCo = "CO" - // @enum CountryCode + + // CountryCodeCr is a CountryCode enum value CountryCodeCr = "CR" - // @enum CountryCode + + // CountryCodeCu is a CountryCode enum value CountryCodeCu = "CU" - // @enum CountryCode + + // CountryCodeCv is a CountryCode enum value CountryCodeCv = "CV" - // @enum CountryCode + + // CountryCodeCx is a CountryCode enum value CountryCodeCx = "CX" - // @enum CountryCode + + // CountryCodeCy is a CountryCode enum value CountryCodeCy = "CY" - // @enum CountryCode + + // CountryCodeCz is a CountryCode enum value CountryCodeCz = "CZ" - // @enum CountryCode + + // CountryCodeDe is a CountryCode enum value CountryCodeDe = "DE" - // @enum CountryCode + + // CountryCodeDj is a CountryCode enum value CountryCodeDj = "DJ" - // @enum CountryCode + + // CountryCodeDk is a CountryCode enum value CountryCodeDk = "DK" - // @enum CountryCode + + // CountryCodeDm is a CountryCode enum value CountryCodeDm = "DM" - // @enum CountryCode + + // CountryCodeDo is a CountryCode enum value CountryCodeDo = "DO" - // @enum CountryCode + + // CountryCodeDz is a CountryCode enum value CountryCodeDz = "DZ" - // @enum CountryCode + + // CountryCodeEc is a CountryCode enum value CountryCodeEc = "EC" - // @enum CountryCode + + // CountryCodeEe is a CountryCode enum value CountryCodeEe = "EE" - // @enum CountryCode + + // CountryCodeEg is a CountryCode enum value CountryCodeEg = "EG" - // @enum CountryCode + + // CountryCodeEr is a CountryCode enum value CountryCodeEr = "ER" - // @enum CountryCode + + // CountryCodeEs is a CountryCode enum value CountryCodeEs = "ES" - // @enum CountryCode + + // CountryCodeEt is a CountryCode enum value CountryCodeEt = "ET" - // @enum CountryCode + + // CountryCodeFi is a CountryCode enum value CountryCodeFi = "FI" - // @enum CountryCode + + // CountryCodeFj is a CountryCode enum value CountryCodeFj = "FJ" - // @enum CountryCode + + // CountryCodeFk is a CountryCode enum value CountryCodeFk = "FK" - // @enum CountryCode + + // CountryCodeFm is a CountryCode enum value CountryCodeFm = "FM" - // @enum CountryCode + + // CountryCodeFo is a CountryCode enum value CountryCodeFo = "FO" - // @enum CountryCode + + // CountryCodeFr is a CountryCode enum value CountryCodeFr = "FR" - // @enum CountryCode + + // CountryCodeGa is a CountryCode enum value CountryCodeGa = "GA" - // @enum CountryCode + + // CountryCodeGb is a CountryCode enum value CountryCodeGb = "GB" - // @enum CountryCode + + // CountryCodeGd is a CountryCode enum value CountryCodeGd = "GD" - // @enum CountryCode + + // CountryCodeGe is a CountryCode enum value CountryCodeGe = "GE" - // @enum CountryCode + + // CountryCodeGh is a CountryCode enum value CountryCodeGh = "GH" - // @enum CountryCode + + // CountryCodeGi is a CountryCode enum value CountryCodeGi = "GI" - // @enum CountryCode + + // CountryCodeGl is a CountryCode enum value CountryCodeGl = "GL" - // @enum CountryCode + + // CountryCodeGm is a CountryCode enum value CountryCodeGm = "GM" - // @enum CountryCode + + // CountryCodeGn is a CountryCode enum value CountryCodeGn = "GN" - // @enum CountryCode + + // CountryCodeGq is a CountryCode enum value CountryCodeGq = "GQ" - // @enum CountryCode + + // CountryCodeGr is a CountryCode enum value CountryCodeGr = "GR" - // @enum CountryCode + + // CountryCodeGt is a CountryCode enum value CountryCodeGt = "GT" - // @enum CountryCode + + // CountryCodeGu is a CountryCode enum value CountryCodeGu = "GU" - // @enum CountryCode + + // CountryCodeGw is a CountryCode enum value CountryCodeGw = "GW" - // @enum CountryCode + + // CountryCodeGy is a CountryCode enum value CountryCodeGy = "GY" - // @enum CountryCode + + // CountryCodeHk is a CountryCode enum value CountryCodeHk = "HK" - // @enum CountryCode + + // CountryCodeHn is a CountryCode enum value CountryCodeHn = "HN" - // @enum CountryCode + + // CountryCodeHr is a CountryCode enum value CountryCodeHr = "HR" - // @enum CountryCode + + // CountryCodeHt is a CountryCode enum value CountryCodeHt = "HT" - // @enum CountryCode + + // CountryCodeHu is a CountryCode enum value CountryCodeHu = "HU" - // @enum CountryCode + + // CountryCodeId is a CountryCode enum value CountryCodeId = "ID" - // @enum CountryCode + + // CountryCodeIe is a CountryCode enum value CountryCodeIe = "IE" - // @enum CountryCode + + // CountryCodeIl is a CountryCode enum value CountryCodeIl = "IL" - // @enum CountryCode + + // CountryCodeIm is a CountryCode enum value CountryCodeIm = "IM" - // @enum CountryCode + + // CountryCodeIn is a CountryCode enum value CountryCodeIn = "IN" - // @enum CountryCode + + // CountryCodeIq is a CountryCode enum value CountryCodeIq = "IQ" - // @enum CountryCode + + // CountryCodeIr is a CountryCode enum value CountryCodeIr = "IR" - // @enum CountryCode + + // CountryCodeIs is a CountryCode enum value CountryCodeIs = "IS" - // @enum CountryCode + + // CountryCodeIt is a CountryCode enum value CountryCodeIt = "IT" - // @enum CountryCode + + // CountryCodeJm is a CountryCode enum value CountryCodeJm = "JM" - // @enum CountryCode + + // CountryCodeJo is a CountryCode enum value CountryCodeJo = "JO" - // @enum CountryCode + + // CountryCodeJp is a CountryCode enum value CountryCodeJp = "JP" - // @enum CountryCode + + // CountryCodeKe is a CountryCode enum value CountryCodeKe = "KE" - // @enum CountryCode + + // CountryCodeKg is a CountryCode enum value CountryCodeKg = "KG" - // @enum CountryCode + + // CountryCodeKh is a CountryCode enum value CountryCodeKh = "KH" - // @enum CountryCode + + // CountryCodeKi is a CountryCode enum value CountryCodeKi = "KI" - // @enum CountryCode + + // CountryCodeKm is a CountryCode enum value CountryCodeKm = "KM" - // @enum CountryCode + + // CountryCodeKn is a CountryCode enum value CountryCodeKn = "KN" - // @enum CountryCode + + // CountryCodeKp is a CountryCode enum value CountryCodeKp = "KP" - // @enum CountryCode + + // CountryCodeKr is a CountryCode enum value CountryCodeKr = "KR" - // @enum CountryCode + + // CountryCodeKw is a CountryCode enum value CountryCodeKw = "KW" - // @enum CountryCode + + // CountryCodeKy is a CountryCode enum value CountryCodeKy = "KY" - // @enum CountryCode + + // CountryCodeKz is a CountryCode enum value CountryCodeKz = "KZ" - // @enum CountryCode + + // CountryCodeLa is a CountryCode enum value CountryCodeLa = "LA" - // @enum CountryCode + + // CountryCodeLb is a CountryCode enum value CountryCodeLb = "LB" - // @enum CountryCode + + // CountryCodeLc is a CountryCode enum value CountryCodeLc = "LC" - // @enum CountryCode + + // CountryCodeLi is a CountryCode enum value CountryCodeLi = "LI" - // @enum CountryCode + + // CountryCodeLk is a CountryCode enum value CountryCodeLk = "LK" - // @enum CountryCode + + // CountryCodeLr is a CountryCode enum value CountryCodeLr = "LR" - // @enum CountryCode + + // CountryCodeLs is a CountryCode enum value CountryCodeLs = "LS" - // @enum CountryCode + + // CountryCodeLt is a CountryCode enum value CountryCodeLt = "LT" - // @enum CountryCode + + // CountryCodeLu is a CountryCode enum value CountryCodeLu = "LU" - // @enum CountryCode + + // CountryCodeLv is a CountryCode enum value CountryCodeLv = "LV" - // @enum CountryCode + + // CountryCodeLy is a CountryCode enum value CountryCodeLy = "LY" - // @enum CountryCode + + // CountryCodeMa is a CountryCode enum value CountryCodeMa = "MA" - // @enum CountryCode + + // CountryCodeMc is a CountryCode enum value CountryCodeMc = "MC" - // @enum CountryCode + + // CountryCodeMd is a CountryCode enum value CountryCodeMd = "MD" - // @enum CountryCode + + // CountryCodeMe is a CountryCode enum value CountryCodeMe = "ME" - // @enum CountryCode + + // CountryCodeMf is a CountryCode enum value CountryCodeMf = "MF" - // @enum CountryCode + + // CountryCodeMg is a CountryCode enum value CountryCodeMg = "MG" - // @enum CountryCode + + // CountryCodeMh is a CountryCode enum value CountryCodeMh = "MH" - // @enum CountryCode + + // CountryCodeMk is a CountryCode enum value CountryCodeMk = "MK" - // @enum CountryCode + + // CountryCodeMl is a CountryCode enum value CountryCodeMl = "ML" - // @enum CountryCode + + // CountryCodeMm is a CountryCode enum value CountryCodeMm = "MM" - // @enum CountryCode + + // CountryCodeMn is a CountryCode enum value CountryCodeMn = "MN" - // @enum CountryCode + + // CountryCodeMo is a CountryCode enum value CountryCodeMo = "MO" - // @enum CountryCode + + // CountryCodeMp is a CountryCode enum value CountryCodeMp = "MP" - // @enum CountryCode + + // CountryCodeMr is a CountryCode enum value CountryCodeMr = "MR" - // @enum CountryCode + + // CountryCodeMs is a CountryCode enum value CountryCodeMs = "MS" - // @enum CountryCode + + // CountryCodeMt is a CountryCode enum value CountryCodeMt = "MT" - // @enum CountryCode + + // CountryCodeMu is a CountryCode enum value CountryCodeMu = "MU" - // @enum CountryCode + + // CountryCodeMv is a CountryCode enum value CountryCodeMv = "MV" - // @enum CountryCode + + // CountryCodeMw is a CountryCode enum value CountryCodeMw = "MW" - // @enum CountryCode + + // CountryCodeMx is a CountryCode enum value CountryCodeMx = "MX" - // @enum CountryCode + + // CountryCodeMy is a CountryCode enum value CountryCodeMy = "MY" - // @enum CountryCode + + // CountryCodeMz is a CountryCode enum value CountryCodeMz = "MZ" - // @enum CountryCode + + // CountryCodeNa is a CountryCode enum value CountryCodeNa = "NA" - // @enum CountryCode + + // CountryCodeNc is a CountryCode enum value CountryCodeNc = "NC" - // @enum CountryCode + + // CountryCodeNe is a CountryCode enum value CountryCodeNe = "NE" - // @enum CountryCode + + // CountryCodeNg is a CountryCode enum value CountryCodeNg = "NG" - // @enum CountryCode + + // CountryCodeNi is a CountryCode enum value CountryCodeNi = "NI" - // @enum CountryCode + + // CountryCodeNl is a CountryCode enum value CountryCodeNl = "NL" - // @enum CountryCode + + // CountryCodeNo is a CountryCode enum value CountryCodeNo = "NO" - // @enum CountryCode + + // CountryCodeNp is a CountryCode enum value CountryCodeNp = "NP" - // @enum CountryCode + + // CountryCodeNr is a CountryCode enum value CountryCodeNr = "NR" - // @enum CountryCode + + // CountryCodeNu is a CountryCode enum value CountryCodeNu = "NU" - // @enum CountryCode + + // CountryCodeNz is a CountryCode enum value CountryCodeNz = "NZ" - // @enum CountryCode + + // CountryCodeOm is a CountryCode enum value CountryCodeOm = "OM" - // @enum CountryCode + + // CountryCodePa is a CountryCode enum value CountryCodePa = "PA" - // @enum CountryCode + + // CountryCodePe is a CountryCode enum value CountryCodePe = "PE" - // @enum CountryCode + + // CountryCodePf is a CountryCode enum value CountryCodePf = "PF" - // @enum CountryCode + + // CountryCodePg is a CountryCode enum value CountryCodePg = "PG" - // @enum CountryCode + + // CountryCodePh is a CountryCode enum value CountryCodePh = "PH" - // @enum CountryCode + + // CountryCodePk is a CountryCode enum value CountryCodePk = "PK" - // @enum CountryCode + + // CountryCodePl is a CountryCode enum value CountryCodePl = "PL" - // @enum CountryCode + + // CountryCodePm is a CountryCode enum value CountryCodePm = "PM" - // @enum CountryCode + + // CountryCodePn is a CountryCode enum value CountryCodePn = "PN" - // @enum CountryCode + + // CountryCodePr is a CountryCode enum value CountryCodePr = "PR" - // @enum CountryCode + + // CountryCodePt is a CountryCode enum value CountryCodePt = "PT" - // @enum CountryCode + + // CountryCodePw is a CountryCode enum value CountryCodePw = "PW" - // @enum CountryCode + + // CountryCodePy is a CountryCode enum value CountryCodePy = "PY" - // @enum CountryCode + + // CountryCodeQa is a CountryCode enum value CountryCodeQa = "QA" - // @enum CountryCode + + // CountryCodeRo is a CountryCode enum value CountryCodeRo = "RO" - // @enum CountryCode + + // CountryCodeRs is a CountryCode enum value CountryCodeRs = "RS" - // @enum CountryCode + + // CountryCodeRu is a CountryCode enum value CountryCodeRu = "RU" - // @enum CountryCode + + // CountryCodeRw is a CountryCode enum value CountryCodeRw = "RW" - // @enum CountryCode + + // CountryCodeSa is a CountryCode enum value CountryCodeSa = "SA" - // @enum CountryCode + + // CountryCodeSb is a CountryCode enum value CountryCodeSb = "SB" - // @enum CountryCode + + // CountryCodeSc is a CountryCode enum value CountryCodeSc = "SC" - // @enum CountryCode + + // CountryCodeSd is a CountryCode enum value CountryCodeSd = "SD" - // @enum CountryCode + + // CountryCodeSe is a CountryCode enum value CountryCodeSe = "SE" - // @enum CountryCode + + // CountryCodeSg is a CountryCode enum value CountryCodeSg = "SG" - // @enum CountryCode + + // CountryCodeSh is a CountryCode enum value CountryCodeSh = "SH" - // @enum CountryCode + + // CountryCodeSi is a CountryCode enum value CountryCodeSi = "SI" - // @enum CountryCode + + // CountryCodeSk is a CountryCode enum value CountryCodeSk = "SK" - // @enum CountryCode + + // CountryCodeSl is a CountryCode enum value CountryCodeSl = "SL" - // @enum CountryCode + + // CountryCodeSm is a CountryCode enum value CountryCodeSm = "SM" - // @enum CountryCode + + // CountryCodeSn is a CountryCode enum value CountryCodeSn = "SN" - // @enum CountryCode + + // CountryCodeSo is a CountryCode enum value CountryCodeSo = "SO" - // @enum CountryCode + + // CountryCodeSr is a CountryCode enum value CountryCodeSr = "SR" - // @enum CountryCode + + // CountryCodeSt is a CountryCode enum value CountryCodeSt = "ST" - // @enum CountryCode + + // CountryCodeSv is a CountryCode enum value CountryCodeSv = "SV" - // @enum CountryCode + + // CountryCodeSy is a CountryCode enum value CountryCodeSy = "SY" - // @enum CountryCode + + // CountryCodeSz is a CountryCode enum value CountryCodeSz = "SZ" - // @enum CountryCode + + // CountryCodeTc is a CountryCode enum value CountryCodeTc = "TC" - // @enum CountryCode + + // CountryCodeTd is a CountryCode enum value CountryCodeTd = "TD" - // @enum CountryCode + + // CountryCodeTg is a CountryCode enum value CountryCodeTg = "TG" - // @enum CountryCode + + // CountryCodeTh is a CountryCode enum value CountryCodeTh = "TH" - // @enum CountryCode + + // CountryCodeTj is a CountryCode enum value CountryCodeTj = "TJ" - // @enum CountryCode + + // CountryCodeTk is a CountryCode enum value CountryCodeTk = "TK" - // @enum CountryCode + + // CountryCodeTl is a CountryCode enum value CountryCodeTl = "TL" - // @enum CountryCode + + // CountryCodeTm is a CountryCode enum value CountryCodeTm = "TM" - // @enum CountryCode + + // CountryCodeTn is a CountryCode enum value CountryCodeTn = "TN" - // @enum CountryCode + + // CountryCodeTo is a CountryCode enum value CountryCodeTo = "TO" - // @enum CountryCode + + // CountryCodeTr is a CountryCode enum value CountryCodeTr = "TR" - // @enum CountryCode + + // CountryCodeTt is a CountryCode enum value CountryCodeTt = "TT" - // @enum CountryCode + + // CountryCodeTv is a CountryCode enum value CountryCodeTv = "TV" - // @enum CountryCode + + // CountryCodeTw is a CountryCode enum value CountryCodeTw = "TW" - // @enum CountryCode + + // CountryCodeTz is a CountryCode enum value CountryCodeTz = "TZ" - // @enum CountryCode + + // CountryCodeUa is a CountryCode enum value CountryCodeUa = "UA" - // @enum CountryCode + + // CountryCodeUg is a CountryCode enum value CountryCodeUg = "UG" - // @enum CountryCode + + // CountryCodeUs is a CountryCode enum value CountryCodeUs = "US" - // @enum CountryCode + + // CountryCodeUy is a CountryCode enum value CountryCodeUy = "UY" - // @enum CountryCode + + // CountryCodeUz is a CountryCode enum value CountryCodeUz = "UZ" - // @enum CountryCode + + // CountryCodeVa is a CountryCode enum value CountryCodeVa = "VA" - // @enum CountryCode + + // CountryCodeVc is a CountryCode enum value CountryCodeVc = "VC" - // @enum CountryCode + + // CountryCodeVe is a CountryCode enum value CountryCodeVe = "VE" - // @enum CountryCode + + // CountryCodeVg is a CountryCode enum value CountryCodeVg = "VG" - // @enum CountryCode + + // CountryCodeVi is a CountryCode enum value CountryCodeVi = "VI" - // @enum CountryCode + + // CountryCodeVn is a CountryCode enum value CountryCodeVn = "VN" - // @enum CountryCode + + // CountryCodeVu is a CountryCode enum value CountryCodeVu = "VU" - // @enum CountryCode + + // CountryCodeWf is a CountryCode enum value CountryCodeWf = "WF" - // @enum CountryCode + + // CountryCodeWs is a CountryCode enum value CountryCodeWs = "WS" - // @enum CountryCode + + // CountryCodeYe is a CountryCode enum value CountryCodeYe = "YE" - // @enum CountryCode + + // CountryCodeYt is a CountryCode enum value CountryCodeYt = "YT" - // @enum CountryCode + + // CountryCodeZa is a CountryCode enum value CountryCodeZa = "ZA" - // @enum CountryCode + + // CountryCodeZm is a CountryCode enum value CountryCodeZm = "ZM" - // @enum CountryCode + + // CountryCodeZw is a CountryCode enum value CountryCodeZw = "ZW" ) const ( - // @enum DomainAvailability + // DomainAvailabilityAvailable is a DomainAvailability enum value DomainAvailabilityAvailable = "AVAILABLE" - // @enum DomainAvailability + + // DomainAvailabilityAvailableReserved is a DomainAvailability enum value DomainAvailabilityAvailableReserved = "AVAILABLE_RESERVED" - // @enum DomainAvailability + + // DomainAvailabilityAvailablePreorder is a DomainAvailability enum value DomainAvailabilityAvailablePreorder = "AVAILABLE_PREORDER" - // @enum DomainAvailability + + // DomainAvailabilityUnavailable is a DomainAvailability enum value DomainAvailabilityUnavailable = "UNAVAILABLE" - // @enum DomainAvailability + + // DomainAvailabilityUnavailablePremium is a DomainAvailability enum value DomainAvailabilityUnavailablePremium = "UNAVAILABLE_PREMIUM" - // @enum DomainAvailability + + // DomainAvailabilityUnavailableRestricted is a DomainAvailability enum value DomainAvailabilityUnavailableRestricted = "UNAVAILABLE_RESTRICTED" - // @enum DomainAvailability + + // DomainAvailabilityReserved is a DomainAvailability enum value DomainAvailabilityReserved = "RESERVED" - // @enum DomainAvailability + + // DomainAvailabilityDontKnow is a DomainAvailability enum value DomainAvailabilityDontKnow = "DONT_KNOW" ) const ( - // @enum ExtraParamName + // ExtraParamNameDunsNumber is a ExtraParamName enum value ExtraParamNameDunsNumber = "DUNS_NUMBER" - // @enum ExtraParamName + + // ExtraParamNameBrandNumber is a ExtraParamName enum value ExtraParamNameBrandNumber = "BRAND_NUMBER" - // @enum ExtraParamName + + // ExtraParamNameBirthDepartment is a ExtraParamName enum value ExtraParamNameBirthDepartment = "BIRTH_DEPARTMENT" - // @enum ExtraParamName + + // ExtraParamNameBirthDateInYyyyMmDd is a ExtraParamName enum value ExtraParamNameBirthDateInYyyyMmDd = "BIRTH_DATE_IN_YYYY_MM_DD" - // @enum ExtraParamName + + // ExtraParamNameBirthCountry is a ExtraParamName enum value ExtraParamNameBirthCountry = "BIRTH_COUNTRY" - // @enum ExtraParamName + + // ExtraParamNameBirthCity is a ExtraParamName enum value ExtraParamNameBirthCity = "BIRTH_CITY" - // @enum ExtraParamName + + // ExtraParamNameDocumentNumber is a ExtraParamName enum value ExtraParamNameDocumentNumber = "DOCUMENT_NUMBER" - // @enum ExtraParamName + + // ExtraParamNameAuIdNumber is a ExtraParamName enum value ExtraParamNameAuIdNumber = "AU_ID_NUMBER" - // @enum ExtraParamName + + // ExtraParamNameAuIdType is a ExtraParamName enum value ExtraParamNameAuIdType = "AU_ID_TYPE" - // @enum ExtraParamName + + // ExtraParamNameCaLegalType is a ExtraParamName enum value ExtraParamNameCaLegalType = "CA_LEGAL_TYPE" - // @enum ExtraParamName + + // ExtraParamNameCaBusinessEntityType is a ExtraParamName enum value ExtraParamNameCaBusinessEntityType = "CA_BUSINESS_ENTITY_TYPE" - // @enum ExtraParamName + + // ExtraParamNameEsIdentification is a ExtraParamName enum value ExtraParamNameEsIdentification = "ES_IDENTIFICATION" - // @enum ExtraParamName + + // ExtraParamNameEsIdentificationType is a ExtraParamName enum value ExtraParamNameEsIdentificationType = "ES_IDENTIFICATION_TYPE" - // @enum ExtraParamName + + // ExtraParamNameEsLegalForm is a ExtraParamName enum value ExtraParamNameEsLegalForm = "ES_LEGAL_FORM" - // @enum ExtraParamName + + // ExtraParamNameFiBusinessNumber is a ExtraParamName enum value ExtraParamNameFiBusinessNumber = "FI_BUSINESS_NUMBER" - // @enum ExtraParamName + + // ExtraParamNameFiIdNumber is a ExtraParamName enum value ExtraParamNameFiIdNumber = "FI_ID_NUMBER" - // @enum ExtraParamName + + // ExtraParamNameItPin is a ExtraParamName enum value ExtraParamNameItPin = "IT_PIN" - // @enum ExtraParamName + + // ExtraParamNameRuPassportData is a ExtraParamName enum value ExtraParamNameRuPassportData = "RU_PASSPORT_DATA" - // @enum ExtraParamName + + // ExtraParamNameSeIdNumber is a ExtraParamName enum value ExtraParamNameSeIdNumber = "SE_ID_NUMBER" - // @enum ExtraParamName + + // ExtraParamNameSgIdNumber is a ExtraParamName enum value ExtraParamNameSgIdNumber = "SG_ID_NUMBER" - // @enum ExtraParamName + + // ExtraParamNameVatNumber is a ExtraParamName enum value ExtraParamNameVatNumber = "VAT_NUMBER" ) const ( - // @enum OperationStatus + // OperationStatusSubmitted is a OperationStatus enum value OperationStatusSubmitted = "SUBMITTED" - // @enum OperationStatus + + // OperationStatusInProgress is a OperationStatus enum value OperationStatusInProgress = "IN_PROGRESS" - // @enum OperationStatus + + // OperationStatusError is a OperationStatus enum value OperationStatusError = "ERROR" - // @enum OperationStatus + + // OperationStatusSuccessful is a OperationStatus enum value OperationStatusSuccessful = "SUCCESSFUL" - // @enum OperationStatus + + // OperationStatusFailed is a OperationStatus enum value OperationStatusFailed = "FAILED" ) const ( - // @enum OperationType + // OperationTypeRegisterDomain is a OperationType enum value OperationTypeRegisterDomain = "REGISTER_DOMAIN" - // @enum OperationType + + // OperationTypeDeleteDomain is a OperationType enum value OperationTypeDeleteDomain = "DELETE_DOMAIN" - // @enum OperationType + + // OperationTypeTransferInDomain is a OperationType enum value OperationTypeTransferInDomain = "TRANSFER_IN_DOMAIN" - // @enum OperationType + + // OperationTypeUpdateDomainContact is a OperationType enum value OperationTypeUpdateDomainContact = "UPDATE_DOMAIN_CONTACT" - // @enum OperationType + + // OperationTypeUpdateNameserver is a OperationType enum value OperationTypeUpdateNameserver = "UPDATE_NAMESERVER" - // @enum OperationType + + // OperationTypeChangePrivacyProtection is a OperationType enum value OperationTypeChangePrivacyProtection = "CHANGE_PRIVACY_PROTECTION" - // @enum OperationType + + // OperationTypeDomainLock is a OperationType enum value OperationTypeDomainLock = "DOMAIN_LOCK" ) const ( - // @enum ReachabilityStatus + // ReachabilityStatusPending is a ReachabilityStatus enum value ReachabilityStatusPending = "PENDING" - // @enum ReachabilityStatus + + // ReachabilityStatusDone is a ReachabilityStatus enum value ReachabilityStatusDone = "DONE" - // @enum ReachabilityStatus + + // ReachabilityStatusExpired is a ReachabilityStatus enum value ReachabilityStatusExpired = "EXPIRED" ) diff --git a/service/s3/api.go b/service/s3/api.go index dad1667ad27..c71b6ebe0ea 100644 --- a/service/s3/api.go +++ b/service/s3/api.go @@ -3120,8 +3120,10 @@ func (s AbortIncompleteMultipartUpload) GoString() string { type AbortMultipartUploadInput struct { _ struct{} `type:"structure"` + // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` + // Key is a required field Key *string `location:"uri" locationName:"Key" min:"1" type:"string" required:"true"` // Confirms that the requester knows that she or he will be charged for the @@ -3130,6 +3132,7 @@ type AbortMultipartUploadInput struct { // at http://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html RequestPayer *string `location:"header" locationName:"x-amz-request-payer" type:"string" enum:"RequestPayer"` + // UploadId is a required field UploadId *string `location:"querystring" locationName:"uploadId" type:"string" required:"true"` } @@ -3262,6 +3265,7 @@ func (s Bucket) GoString() string { type BucketLifecycleConfiguration struct { _ struct{} `type:"structure"` + // Rules is a required field Rules []*LifecycleRule `locationName:"Rule" type:"list" flattened:"true" required:"true"` } @@ -3332,6 +3336,7 @@ func (s *BucketLoggingStatus) Validate() error { type CORSConfiguration struct { _ struct{} `type:"structure"` + // CORSRules is a required field CORSRules []*CORSRule `locationName:"CORSRule" type:"list" flattened:"true" required:"true"` } @@ -3376,9 +3381,13 @@ type CORSRule struct { // Identifies HTTP methods that the domain/origin specified in the rule is allowed // to execute. + // + // AllowedMethods is a required field AllowedMethods []*string `locationName:"AllowedMethod" type:"list" flattened:"true" required:"true"` // One or more origins you want customers to be able to access the bucket from. + // + // AllowedOrigins is a required field AllowedOrigins []*string `locationName:"AllowedOrigin" type:"list" flattened:"true" required:"true"` // One or more headers in the response that you want customers to be able to @@ -3463,8 +3472,10 @@ func (s CommonPrefix) GoString() string { type CompleteMultipartUploadInput struct { _ struct{} `type:"structure" payload:"MultipartUpload"` + // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` + // Key is a required field Key *string `location:"uri" locationName:"Key" min:"1" type:"string" required:"true"` MultipartUpload *CompletedMultipartUpload `locationName:"CompleteMultipartUpload" type:"structure"` @@ -3475,6 +3486,7 @@ type CompleteMultipartUploadInput struct { // at http://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html RequestPayer *string `location:"header" locationName:"x-amz-request-payer" type:"string" enum:"RequestPayer"` + // UploadId is a required field UploadId *string `location:"querystring" locationName:"uploadId" type:"string" required:"true"` } @@ -3625,6 +3637,7 @@ type CopyObjectInput struct { // The canned ACL to apply to the object. ACL *string `location:"header" locationName:"x-amz-acl" type:"string" enum:"ObjectCannedACL"` + // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // Specifies caching behavior along the request/reply chain. @@ -3646,6 +3659,8 @@ type CopyObjectInput struct { // The name of the source bucket and key name of the source object, separated // by a slash (/). Must be URL-encoded. + // + // CopySource is a required field CopySource *string `location:"header" locationName:"x-amz-copy-source" type:"string" required:"true"` // Copies the object if its entity tag (ETag) matches the specified tag. @@ -3689,6 +3704,7 @@ type CopyObjectInput struct { // Allows grantee to write the ACL for the applicable object. GrantWriteACP *string `location:"header" locationName:"x-amz-grant-write-acp" type:"string"` + // Key is a required field Key *string `location:"uri" locationName:"Key" min:"1" type:"string" required:"true"` // A map of metadata to store with the object in S3. @@ -3878,6 +3894,7 @@ type CreateBucketInput struct { // The canned ACL to apply to the bucket. ACL *string `location:"header" locationName:"x-amz-acl" type:"string" enum:"BucketCannedACL"` + // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` CreateBucketConfiguration *CreateBucketConfiguration `locationName:"CreateBucketConfiguration" type:"structure"` @@ -3944,6 +3961,7 @@ type CreateMultipartUploadInput struct { // The canned ACL to apply to the object. ACL *string `location:"header" locationName:"x-amz-acl" type:"string" enum:"ObjectCannedACL"` + // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // Specifies caching behavior along the request/reply chain. @@ -3978,6 +3996,7 @@ type CreateMultipartUploadInput struct { // Allows grantee to write the ACL for the applicable object. GrantWriteACP *string `location:"header" locationName:"x-amz-grant-write-acp" type:"string"` + // Key is a required field Key *string `location:"uri" locationName:"Key" min:"1" type:"string" required:"true"` // A map of metadata to store with the object in S3. @@ -4107,6 +4126,7 @@ func (s CreateMultipartUploadOutput) GoString() string { type Delete struct { _ struct{} `type:"structure"` + // Objects is a required field Objects []*ObjectIdentifier `locationName:"Object" type:"list" flattened:"true" required:"true"` // Element to enable quiet mode for the request. When you add this element, @@ -4150,6 +4170,7 @@ func (s *Delete) Validate() error { type DeleteBucketCorsInput struct { _ struct{} `type:"structure"` + // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` } @@ -4193,6 +4214,7 @@ func (s DeleteBucketCorsOutput) GoString() string { type DeleteBucketInput struct { _ struct{} `type:"structure"` + // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` } @@ -4222,6 +4244,7 @@ func (s *DeleteBucketInput) Validate() error { type DeleteBucketLifecycleInput struct { _ struct{} `type:"structure"` + // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` } @@ -4279,6 +4302,7 @@ func (s DeleteBucketOutput) GoString() string { type DeleteBucketPolicyInput struct { _ struct{} `type:"structure"` + // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` } @@ -4322,6 +4346,7 @@ func (s DeleteBucketPolicyOutput) GoString() string { type DeleteBucketReplicationInput struct { _ struct{} `type:"structure"` + // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` } @@ -4365,6 +4390,7 @@ func (s DeleteBucketReplicationOutput) GoString() string { type DeleteBucketTaggingInput struct { _ struct{} `type:"structure"` + // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` } @@ -4408,6 +4434,7 @@ func (s DeleteBucketTaggingOutput) GoString() string { type DeleteBucketWebsiteInput struct { _ struct{} `type:"structure"` + // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` } @@ -4480,8 +4507,10 @@ func (s DeleteMarkerEntry) GoString() string { type DeleteObjectInput struct { _ struct{} `type:"structure"` + // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` + // Key is a required field Key *string `location:"uri" locationName:"Key" min:"1" type:"string" required:"true"` // The concatenation of the authentication device's serial number, a space, @@ -4556,8 +4585,10 @@ func (s DeleteObjectOutput) GoString() string { type DeleteObjectsInput struct { _ struct{} `type:"structure" payload:"Delete"` + // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` + // Delete is a required field Delete *Delete `locationName:"Delete" type:"structure" required:"true"` // The concatenation of the authentication device's serial number, a space, @@ -4651,6 +4682,8 @@ type Destination struct { // Amazon resource name (ARN) of the bucket where you want Amazon S3 to store // replicas of the object identified by the rule. + // + // Bucket is a required field Bucket *string `type:"string" required:"true"` // The class of storage used to store the object. @@ -4706,6 +4739,8 @@ type ErrorDocument struct { _ struct{} `type:"structure"` // The object key name to use when a 4XX class error occurs. + // + // Key is a required field Key *string `min:"1" type:"string" required:"true"` } @@ -4763,6 +4798,8 @@ type GetBucketAccelerateConfigurationInput struct { _ struct{} `type:"structure"` // Name of the bucket for which the accelerate configuration is retrieved. + // + // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` } @@ -4809,6 +4846,7 @@ func (s GetBucketAccelerateConfigurationOutput) GoString() string { type GetBucketAclInput struct { _ struct{} `type:"structure"` + // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` } @@ -4857,6 +4895,7 @@ func (s GetBucketAclOutput) GoString() string { type GetBucketCorsInput struct { _ struct{} `type:"structure"` + // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` } @@ -4902,6 +4941,7 @@ func (s GetBucketCorsOutput) GoString() string { type GetBucketLifecycleConfigurationInput struct { _ struct{} `type:"structure"` + // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` } @@ -4947,6 +4987,7 @@ func (s GetBucketLifecycleConfigurationOutput) GoString() string { type GetBucketLifecycleInput struct { _ struct{} `type:"structure"` + // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` } @@ -4992,6 +5033,7 @@ func (s GetBucketLifecycleOutput) GoString() string { type GetBucketLocationInput struct { _ struct{} `type:"structure"` + // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` } @@ -5037,6 +5079,7 @@ func (s GetBucketLocationOutput) GoString() string { type GetBucketLoggingInput struct { _ struct{} `type:"structure"` + // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` } @@ -5083,6 +5126,8 @@ type GetBucketNotificationConfigurationRequest struct { _ struct{} `type:"structure"` // Name of the bucket to get the notification configuration for. + // + // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` } @@ -5112,6 +5157,7 @@ func (s *GetBucketNotificationConfigurationRequest) Validate() error { type GetBucketPolicyInput struct { _ struct{} `type:"structure"` + // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` } @@ -5158,6 +5204,7 @@ func (s GetBucketPolicyOutput) GoString() string { type GetBucketReplicationInput struct { _ struct{} `type:"structure"` + // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` } @@ -5205,6 +5252,7 @@ func (s GetBucketReplicationOutput) GoString() string { type GetBucketRequestPaymentInput struct { _ struct{} `type:"structure"` + // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` } @@ -5251,6 +5299,7 @@ func (s GetBucketRequestPaymentOutput) GoString() string { type GetBucketTaggingInput struct { _ struct{} `type:"structure"` + // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` } @@ -5280,6 +5329,7 @@ func (s *GetBucketTaggingInput) Validate() error { type GetBucketTaggingOutput struct { _ struct{} `type:"structure"` + // TagSet is a required field TagSet []*Tag `locationNameList:"Tag" type:"list" required:"true"` } @@ -5296,6 +5346,7 @@ func (s GetBucketTaggingOutput) GoString() string { type GetBucketVersioningInput struct { _ struct{} `type:"structure"` + // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` } @@ -5347,6 +5398,7 @@ func (s GetBucketVersioningOutput) GoString() string { type GetBucketWebsiteInput struct { _ struct{} `type:"structure"` + // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` } @@ -5398,8 +5450,10 @@ func (s GetBucketWebsiteOutput) GoString() string { type GetObjectAclInput struct { _ struct{} `type:"structure"` + // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` + // Key is a required field Key *string `location:"uri" locationName:"Key" min:"1" type:"string" required:"true"` // Confirms that the requester knows that she or he will be charged for the @@ -5467,6 +5521,7 @@ func (s GetObjectAclOutput) GoString() string { type GetObjectInput struct { _ struct{} `type:"structure"` + // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // Return the object only if its entity tag (ETag) is the same as the one specified, @@ -5485,6 +5540,7 @@ type GetObjectInput struct { // otherwise return a 412 (precondition failed). IfUnmodifiedSince *time.Time `location:"header" locationName:"If-Unmodified-Since" type:"timestamp" timestampFormat:"rfc822"` + // Key is a required field Key *string `location:"uri" locationName:"Key" min:"1" type:"string" required:"true"` // Part number of the object being read. This is a positive integer between @@ -5683,8 +5739,10 @@ func (s GetObjectOutput) GoString() string { type GetObjectTorrentInput struct { _ struct{} `type:"structure"` + // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` + // Key is a required field Key *string `location:"uri" locationName:"Key" min:"1" type:"string" required:"true"` // Confirms that the requester knows that she or he will be charged for the @@ -5790,6 +5848,8 @@ type Grantee struct { ID *string `type:"string"` // Type of grantee + // + // Type is a required field Type *string `locationName:"xsi:type" type:"string" xmlAttribute:"true" required:"true" enum:"Type"` // URI of the grantee group. @@ -5822,6 +5882,7 @@ func (s *Grantee) Validate() error { type HeadBucketInput struct { _ struct{} `type:"structure"` + // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` } @@ -5865,6 +5926,7 @@ func (s HeadBucketOutput) GoString() string { type HeadObjectInput struct { _ struct{} `type:"structure"` + // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // Return the object only if its entity tag (ETag) is the same as the one specified, @@ -5883,6 +5945,7 @@ type HeadObjectInput struct { // otherwise return a 412 (precondition failed). IfUnmodifiedSince *time.Time `location:"header" locationName:"If-Unmodified-Since" type:"timestamp" timestampFormat:"rfc822"` + // Key is a required field Key *string `location:"uri" locationName:"Key" min:"1" type:"string" required:"true"` // Part number of the object being read. This is a positive integer between @@ -6062,6 +6125,8 @@ type IndexDocument struct { // endpoint (e.g. if the suffix is index.html and you make a request to samplebucket/images/ // the data that is returned will be for the object with the key name images/index.html) // The suffix must not be empty and must not include a slash character. + // + // Suffix is a required field Suffix *string `type:"string" required:"true"` } @@ -6132,6 +6197,7 @@ func (s KeyFilter) GoString() string { type LambdaFunctionConfiguration struct { _ struct{} `type:"structure"` + // Events is a required field Events []*string `locationName:"Event" type:"list" flattened:"true" required:"true"` // Container for object key name filtering rules. For information about key @@ -6145,6 +6211,8 @@ type LambdaFunctionConfiguration struct { // Lambda cloud function ARN that Amazon S3 can invoke when it detects events // of the specified type. + // + // LambdaFunctionArn is a required field LambdaFunctionArn *string `locationName:"CloudFunction" type:"string" required:"true"` } @@ -6177,6 +6245,7 @@ func (s *LambdaFunctionConfiguration) Validate() error { type LifecycleConfiguration struct { _ struct{} `type:"structure"` + // Rules is a required field Rules []*Rule `locationName:"Rule" type:"list" flattened:"true" required:"true"` } @@ -6263,10 +6332,14 @@ type LifecycleRule struct { NoncurrentVersionTransitions []*NoncurrentVersionTransition `locationName:"NoncurrentVersionTransition" type:"list" flattened:"true"` // Prefix identifying one or more objects to which the rule applies. + // + // Prefix is a required field Prefix *string `type:"string" required:"true"` // If 'Enabled', the rule is currently being applied. If 'Disabled', the rule // is not currently being applied. + // + // Status is a required field Status *string `type:"string" required:"true" enum:"ExpirationStatus"` Transitions []*Transition `locationName:"Transition" type:"list" flattened:"true"` @@ -6333,6 +6406,7 @@ func (s ListBucketsOutput) GoString() string { type ListMultipartUploadsInput struct { _ struct{} `type:"structure"` + // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // Character you use to group keys. @@ -6445,6 +6519,7 @@ func (s ListMultipartUploadsOutput) GoString() string { type ListObjectVersionsInput struct { _ struct{} `type:"structure"` + // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // A delimiter is a character you use to group keys. @@ -6547,6 +6622,7 @@ func (s ListObjectVersionsOutput) GoString() string { type ListObjectsInput struct { _ struct{} `type:"structure"` + // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // A delimiter is a character you use to group keys. @@ -6647,6 +6723,8 @@ type ListObjectsV2Input struct { _ struct{} `type:"structure"` // Name of the bucket to list. + // + // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // ContinuationToken indicates Amazon S3 that the list is being continued on @@ -6769,8 +6847,10 @@ func (s ListObjectsV2Output) GoString() string { type ListPartsInput struct { _ struct{} `type:"structure"` + // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` + // Key is a required field Key *string `location:"uri" locationName:"Key" min:"1" type:"string" required:"true"` // Sets the maximum number of parts to return. @@ -6787,6 +6867,8 @@ type ListPartsInput struct { RequestPayer *string `location:"header" locationName:"x-amz-request-payer" type:"string" enum:"RequestPayer"` // Upload ID identifying the multipart upload whose parts are being listed. + // + // UploadId is a required field UploadId *string `location:"querystring" locationName:"uploadId" type:"string" required:"true"` } @@ -7147,6 +7229,8 @@ type ObjectIdentifier struct { _ struct{} `type:"structure"` // Key name of the object to delete. + // + // Key is a required field Key *string `min:"1" type:"string" required:"true"` // VersionId for the specific version of the object to delete. @@ -7265,9 +7349,13 @@ type PutBucketAccelerateConfigurationInput struct { _ struct{} `type:"structure" payload:"AccelerateConfiguration"` // Specifies the Accelerate Configuration you want to set for the bucket. + // + // AccelerateConfiguration is a required field AccelerateConfiguration *AccelerateConfiguration `locationName:"AccelerateConfiguration" type:"structure" required:"true"` // Name of the bucket for which the accelerate configuration is set. + // + // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` } @@ -7319,6 +7407,7 @@ type PutBucketAclInput struct { AccessControlPolicy *AccessControlPolicy `locationName:"AccessControlPolicy" type:"structure"` + // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // Allows grantee the read, write, read ACP, and write ACP permissions on the @@ -7383,8 +7472,10 @@ func (s PutBucketAclOutput) GoString() string { type PutBucketCorsInput struct { _ struct{} `type:"structure" payload:"CORSConfiguration"` + // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` + // CORSConfiguration is a required field CORSConfiguration *CORSConfiguration `locationName:"CORSConfiguration" type:"structure" required:"true"` } @@ -7436,6 +7527,7 @@ func (s PutBucketCorsOutput) GoString() string { type PutBucketLifecycleConfigurationInput struct { _ struct{} `type:"structure" payload:"LifecycleConfiguration"` + // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` LifecycleConfiguration *BucketLifecycleConfiguration `locationName:"LifecycleConfiguration" type:"structure"` @@ -7486,6 +7578,7 @@ func (s PutBucketLifecycleConfigurationOutput) GoString() string { type PutBucketLifecycleInput struct { _ struct{} `type:"structure" payload:"LifecycleConfiguration"` + // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` LifecycleConfiguration *LifecycleConfiguration `locationName:"LifecycleConfiguration" type:"structure"` @@ -7536,8 +7629,10 @@ func (s PutBucketLifecycleOutput) GoString() string { type PutBucketLoggingInput struct { _ struct{} `type:"structure" payload:"BucketLoggingStatus"` + // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` + // BucketLoggingStatus is a required field BucketLoggingStatus *BucketLoggingStatus `locationName:"BucketLoggingStatus" type:"structure" required:"true"` } @@ -7589,10 +7684,13 @@ func (s PutBucketLoggingOutput) GoString() string { type PutBucketNotificationConfigurationInput struct { _ struct{} `type:"structure" payload:"NotificationConfiguration"` + // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // Container for specifying the notification configuration of the bucket. If // this element is empty, notifications are turned off on the bucket. + // + // NotificationConfiguration is a required field NotificationConfiguration *NotificationConfiguration `locationName:"NotificationConfiguration" type:"structure" required:"true"` } @@ -7644,8 +7742,10 @@ func (s PutBucketNotificationConfigurationOutput) GoString() string { type PutBucketNotificationInput struct { _ struct{} `type:"structure" payload:"NotificationConfiguration"` + // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` + // NotificationConfiguration is a required field NotificationConfiguration *NotificationConfigurationDeprecated `locationName:"NotificationConfiguration" type:"structure" required:"true"` } @@ -7692,9 +7792,12 @@ func (s PutBucketNotificationOutput) GoString() string { type PutBucketPolicyInput struct { _ struct{} `type:"structure" payload:"Policy"` + // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // The bucket policy as a JSON document. + // + // Policy is a required field Policy *string `type:"string" required:"true"` } @@ -7741,10 +7844,13 @@ func (s PutBucketPolicyOutput) GoString() string { type PutBucketReplicationInput struct { _ struct{} `type:"structure" payload:"ReplicationConfiguration"` + // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // Container for replication rules. You can add as many as 1,000 rules. Total // replication configuration size can be up to 2 MB. + // + // ReplicationConfiguration is a required field ReplicationConfiguration *ReplicationConfiguration `locationName:"ReplicationConfiguration" type:"structure" required:"true"` } @@ -7796,8 +7902,10 @@ func (s PutBucketReplicationOutput) GoString() string { type PutBucketRequestPaymentInput struct { _ struct{} `type:"structure" payload:"RequestPaymentConfiguration"` + // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` + // RequestPaymentConfiguration is a required field RequestPaymentConfiguration *RequestPaymentConfiguration `locationName:"RequestPaymentConfiguration" type:"structure" required:"true"` } @@ -7849,8 +7957,10 @@ func (s PutBucketRequestPaymentOutput) GoString() string { type PutBucketTaggingInput struct { _ struct{} `type:"structure" payload:"Tagging"` + // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` + // Tagging is a required field Tagging *Tagging `locationName:"Tagging" type:"structure" required:"true"` } @@ -7902,12 +8012,14 @@ func (s PutBucketTaggingOutput) GoString() string { type PutBucketVersioningInput struct { _ struct{} `type:"structure" payload:"VersioningConfiguration"` + // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // The concatenation of the authentication device's serial number, a space, // and the value that is displayed on your authentication device. MFA *string `location:"header" locationName:"x-amz-mfa" type:"string"` + // VersioningConfiguration is a required field VersioningConfiguration *VersioningConfiguration `locationName:"VersioningConfiguration" type:"structure" required:"true"` } @@ -7954,8 +8066,10 @@ func (s PutBucketVersioningOutput) GoString() string { type PutBucketWebsiteInput struct { _ struct{} `type:"structure" payload:"WebsiteConfiguration"` + // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` + // WebsiteConfiguration is a required field WebsiteConfiguration *WebsiteConfiguration `locationName:"WebsiteConfiguration" type:"structure" required:"true"` } @@ -8012,6 +8126,7 @@ type PutObjectAclInput struct { AccessControlPolicy *AccessControlPolicy `locationName:"AccessControlPolicy" type:"structure"` + // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // Allows grantee the read, write, read ACP, and write ACP permissions on the @@ -8030,6 +8145,7 @@ type PutObjectAclInput struct { // Allows grantee to write the ACL for the applicable bucket. GrantWriteACP *string `location:"header" locationName:"x-amz-grant-write-acp" type:"string"` + // Key is a required field Key *string `location:"uri" locationName:"Key" min:"1" type:"string" required:"true"` // Confirms that the requester knows that she or he will be charged for the @@ -8104,6 +8220,8 @@ type PutObjectInput struct { Body io.ReadSeeker `type:"blob"` // Name of the bucket to which the PUT operation was initiated. + // + // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // Specifies caching behavior along the request/reply chain. @@ -8143,6 +8261,8 @@ type PutObjectInput struct { GrantWriteACP *string `location:"header" locationName:"x-amz-grant-write-acp" type:"string"` // Object key for which the PUT operation was initiated. + // + // Key is a required field Key *string `location:"uri" locationName:"Key" min:"1" type:"string" required:"true"` // A map of metadata to store with the object in S3. @@ -8268,6 +8388,7 @@ func (s PutObjectOutput) GoString() string { type QueueConfiguration struct { _ struct{} `type:"structure"` + // Events is a required field Events []*string `locationName:"Event" type:"list" flattened:"true" required:"true"` // Container for object key name filtering rules. For information about key @@ -8281,6 +8402,8 @@ type QueueConfiguration struct { // Amazon SQS queue ARN to which Amazon S3 will publish a message when it detects // events of specified type. + // + // QueueArn is a required field QueueArn *string `locationName:"Queue" type:"string" required:"true"` } @@ -8377,6 +8500,8 @@ type RedirectAllRequestsTo struct { _ struct{} `type:"structure"` // Name of the host where requests will be redirected. + // + // HostName is a required field HostName *string `type:"string" required:"true"` // Protocol to use (http, https) when redirecting requests. The default is the @@ -8414,10 +8539,14 @@ type ReplicationConfiguration struct { // Amazon Resource Name (ARN) of an IAM role for Amazon S3 to assume when replicating // the objects. + // + // Role is a required field Role *string `type:"string" required:"true"` // Container for information about a particular replication rule. Replication // configuration must have at least one rule and can contain up to 1,000 rules. + // + // Rules is a required field Rules []*ReplicationRule `locationName:"Rule" type:"list" flattened:"true" required:"true"` } @@ -8460,6 +8589,7 @@ func (s *ReplicationConfiguration) Validate() error { type ReplicationRule struct { _ struct{} `type:"structure"` + // Destination is a required field Destination *Destination `type:"structure" required:"true"` // Unique identifier for the rule. The value cannot be longer than 255 characters. @@ -8468,9 +8598,13 @@ type ReplicationRule struct { // Object keyname prefix identifying one or more objects to which the rule applies. // Maximum prefix length can be up to 1,024 characters. Overlapping prefixes // are not supported. + // + // Prefix is a required field Prefix *string `type:"string" required:"true"` // The rule is ignored if status is not Enabled. + // + // Status is a required field Status *string `type:"string" required:"true" enum:"ReplicationRuleStatus"` } @@ -8512,6 +8646,8 @@ type RequestPaymentConfiguration struct { _ struct{} `type:"structure"` // Specifies who pays for the download and request fees. + // + // Payer is a required field Payer *string `type:"string" required:"true" enum:"Payer"` } @@ -8541,8 +8677,10 @@ func (s *RequestPaymentConfiguration) Validate() error { type RestoreObjectInput struct { _ struct{} `type:"structure" payload:"RestoreRequest"` + // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` + // Key is a required field Key *string `location:"uri" locationName:"Key" min:"1" type:"string" required:"true"` // Confirms that the requester knows that she or he will be charged for the @@ -8612,6 +8750,8 @@ type RestoreRequest struct { _ struct{} `type:"structure"` // Lifetime of the active copy in days + // + // Days is a required field Days *int64 `type:"integer" required:"true"` } @@ -8650,6 +8790,8 @@ type RoutingRule struct { // Container for redirect information. You can redirect requests to another // host, to another page, or with another protocol. In the event of an error, // you can can specify a different error code to return. + // + // Redirect is a required field Redirect *Redirect `type:"structure" required:"true"` } @@ -8703,10 +8845,14 @@ type Rule struct { NoncurrentVersionTransition *NoncurrentVersionTransition `type:"structure"` // Prefix identifying one or more objects to which the rule applies. + // + // Prefix is a required field Prefix *string `type:"string" required:"true"` // If 'Enabled', the rule is currently being applied. If 'Disabled', the rule // is not currently being applied. + // + // Status is a required field Status *string `type:"string" required:"true" enum:"ExpirationStatus"` Transition *Transition `type:"structure"` @@ -8742,9 +8888,13 @@ type Tag struct { _ struct{} `type:"structure"` // Name of the tag. + // + // Key is a required field Key *string `min:"1" type:"string" required:"true"` // Value of the tag. + // + // Value is a required field Value *string `type:"string" required:"true"` } @@ -8780,6 +8930,7 @@ func (s *Tag) Validate() error { type Tagging struct { _ struct{} `type:"structure"` + // TagSet is a required field TagSet []*Tag `locationNameList:"Tag" type:"list" required:"true"` } @@ -8855,6 +9006,7 @@ func (s *TargetGrant) Validate() error { type TopicConfiguration struct { _ struct{} `type:"structure"` + // Events is a required field Events []*string `locationName:"Event" type:"list" flattened:"true" required:"true"` // Container for object key name filtering rules. For information about key @@ -8868,6 +9020,8 @@ type TopicConfiguration struct { // Amazon SNS topic ARN to which Amazon S3 will publish a message when it detects // events of specified type. + // + // TopicArn is a required field TopicArn *string `locationName:"Topic" type:"string" required:"true"` } @@ -8952,10 +9106,13 @@ func (s Transition) GoString() string { type UploadPartCopyInput struct { _ struct{} `type:"structure"` + // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // The name of the source bucket and key name of the source object, separated // by a slash (/). Must be URL-encoded. + // + // CopySource is a required field CopySource *string `location:"header" locationName:"x-amz-copy-source" type:"string" required:"true"` // Copies the object if its entity tag (ETag) matches the specified tag. @@ -8991,10 +9148,13 @@ type UploadPartCopyInput struct { // key was transmitted without error. CopySourceSSECustomerKeyMD5 *string `location:"header" locationName:"x-amz-copy-source-server-side-encryption-customer-key-MD5" type:"string"` + // Key is a required field Key *string `location:"uri" locationName:"Key" min:"1" type:"string" required:"true"` // Part number of part being copied. This is a positive integer between 1 and // 10,000. + // + // PartNumber is a required field PartNumber *int64 `location:"querystring" locationName:"partNumber" type:"integer" required:"true"` // Confirms that the requester knows that she or he will be charged for the @@ -9020,6 +9180,8 @@ type UploadPartCopyInput struct { SSECustomerKeyMD5 *string `location:"header" locationName:"x-amz-server-side-encryption-customer-key-MD5" type:"string"` // Upload ID identifying the multipart upload whose part is being copied. + // + // UploadId is a required field UploadId *string `location:"querystring" locationName:"uploadId" type:"string" required:"true"` } @@ -9110,6 +9272,8 @@ type UploadPartInput struct { Body io.ReadSeeker `type:"blob"` // Name of the bucket to which the multipart upload was initiated. + // + // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` // Size of the body in bytes. This parameter is useful when the size of the @@ -9117,10 +9281,14 @@ type UploadPartInput struct { ContentLength *int64 `location:"header" locationName:"Content-Length" type:"long"` // Object key for which the multipart upload was initiated. + // + // Key is a required field Key *string `location:"uri" locationName:"Key" min:"1" type:"string" required:"true"` // Part number of part being uploaded. This is a positive integer between 1 // and 10,000. + // + // PartNumber is a required field PartNumber *int64 `location:"querystring" locationName:"partNumber" type:"integer" required:"true"` // Confirms that the requester knows that she or he will be charged for the @@ -9146,6 +9314,8 @@ type UploadPartInput struct { SSECustomerKeyMD5 *string `location:"header" locationName:"x-amz-server-side-encryption-customer-key-MD5" type:"string"` // Upload ID identifying the multipart upload whose part is being uploaded. + // + // UploadId is a required field UploadId *string `location:"querystring" locationName:"uploadId" type:"string" required:"true"` } @@ -9303,61 +9473,78 @@ func (s *WebsiteConfiguration) Validate() error { } const ( - // @enum BucketAccelerateStatus + // BucketAccelerateStatusEnabled is a BucketAccelerateStatus enum value BucketAccelerateStatusEnabled = "Enabled" - // @enum BucketAccelerateStatus + + // BucketAccelerateStatusSuspended is a BucketAccelerateStatus enum value BucketAccelerateStatusSuspended = "Suspended" ) const ( - // @enum BucketCannedACL + // BucketCannedACLPrivate is a BucketCannedACL enum value BucketCannedACLPrivate = "private" - // @enum BucketCannedACL + + // BucketCannedACLPublicRead is a BucketCannedACL enum value BucketCannedACLPublicRead = "public-read" - // @enum BucketCannedACL + + // BucketCannedACLPublicReadWrite is a BucketCannedACL enum value BucketCannedACLPublicReadWrite = "public-read-write" - // @enum BucketCannedACL + + // BucketCannedACLAuthenticatedRead is a BucketCannedACL enum value BucketCannedACLAuthenticatedRead = "authenticated-read" ) const ( - // @enum BucketLocationConstraint + // BucketLocationConstraintEu is a BucketLocationConstraint enum value BucketLocationConstraintEu = "EU" - // @enum BucketLocationConstraint + + // BucketLocationConstraintEuWest1 is a BucketLocationConstraint enum value BucketLocationConstraintEuWest1 = "eu-west-1" - // @enum BucketLocationConstraint + + // BucketLocationConstraintUsWest1 is a BucketLocationConstraint enum value BucketLocationConstraintUsWest1 = "us-west-1" - // @enum BucketLocationConstraint + + // BucketLocationConstraintUsWest2 is a BucketLocationConstraint enum value BucketLocationConstraintUsWest2 = "us-west-2" - // @enum BucketLocationConstraint + + // BucketLocationConstraintApSouth1 is a BucketLocationConstraint enum value BucketLocationConstraintApSouth1 = "ap-south-1" - // @enum BucketLocationConstraint + + // BucketLocationConstraintApSoutheast1 is a BucketLocationConstraint enum value BucketLocationConstraintApSoutheast1 = "ap-southeast-1" - // @enum BucketLocationConstraint + + // BucketLocationConstraintApSoutheast2 is a BucketLocationConstraint enum value BucketLocationConstraintApSoutheast2 = "ap-southeast-2" - // @enum BucketLocationConstraint + + // BucketLocationConstraintApNortheast1 is a BucketLocationConstraint enum value BucketLocationConstraintApNortheast1 = "ap-northeast-1" - // @enum BucketLocationConstraint + + // BucketLocationConstraintSaEast1 is a BucketLocationConstraint enum value BucketLocationConstraintSaEast1 = "sa-east-1" - // @enum BucketLocationConstraint + + // BucketLocationConstraintCnNorth1 is a BucketLocationConstraint enum value BucketLocationConstraintCnNorth1 = "cn-north-1" - // @enum BucketLocationConstraint + + // BucketLocationConstraintEuCentral1 is a BucketLocationConstraint enum value BucketLocationConstraintEuCentral1 = "eu-central-1" ) const ( - // @enum BucketLogsPermission + // BucketLogsPermissionFullControl is a BucketLogsPermission enum value BucketLogsPermissionFullControl = "FULL_CONTROL" - // @enum BucketLogsPermission + + // BucketLogsPermissionRead is a BucketLogsPermission enum value BucketLogsPermissionRead = "READ" - // @enum BucketLogsPermission + + // BucketLogsPermissionWrite is a BucketLogsPermission enum value BucketLogsPermissionWrite = "WRITE" ) const ( - // @enum BucketVersioningStatus + // BucketVersioningStatusEnabled is a BucketVersioningStatus enum value BucketVersioningStatusEnabled = "Enabled" - // @enum BucketVersioningStatus + + // BucketVersioningStatusSuspended is a BucketVersioningStatus enum value BucketVersioningStatusSuspended = "Suspended" ) @@ -9368,147 +9555,178 @@ const ( // XML 1.0, you can add this parameter to request that Amazon S3 encode the // keys in the response. const ( - // @enum EncodingType + // EncodingTypeUrl is a EncodingType enum value EncodingTypeUrl = "url" ) // Bucket event for which to send notifications. const ( - // @enum Event + // EventS3ReducedRedundancyLostObject is a Event enum value EventS3ReducedRedundancyLostObject = "s3:ReducedRedundancyLostObject" - // @enum Event + + // EventS3ObjectCreated is a Event enum value EventS3ObjectCreated = "s3:ObjectCreated:*" - // @enum Event + + // EventS3ObjectCreatedPut is a Event enum value EventS3ObjectCreatedPut = "s3:ObjectCreated:Put" - // @enum Event + + // EventS3ObjectCreatedPost is a Event enum value EventS3ObjectCreatedPost = "s3:ObjectCreated:Post" - // @enum Event + + // EventS3ObjectCreatedCopy is a Event enum value EventS3ObjectCreatedCopy = "s3:ObjectCreated:Copy" - // @enum Event + + // EventS3ObjectCreatedCompleteMultipartUpload is a Event enum value EventS3ObjectCreatedCompleteMultipartUpload = "s3:ObjectCreated:CompleteMultipartUpload" - // @enum Event + + // EventS3ObjectRemoved is a Event enum value EventS3ObjectRemoved = "s3:ObjectRemoved:*" - // @enum Event + + // EventS3ObjectRemovedDelete is a Event enum value EventS3ObjectRemovedDelete = "s3:ObjectRemoved:Delete" - // @enum Event + + // EventS3ObjectRemovedDeleteMarkerCreated is a Event enum value EventS3ObjectRemovedDeleteMarkerCreated = "s3:ObjectRemoved:DeleteMarkerCreated" ) const ( - // @enum ExpirationStatus + // ExpirationStatusEnabled is a ExpirationStatus enum value ExpirationStatusEnabled = "Enabled" - // @enum ExpirationStatus + + // ExpirationStatusDisabled is a ExpirationStatus enum value ExpirationStatusDisabled = "Disabled" ) const ( - // @enum FilterRuleName + // FilterRuleNamePrefix is a FilterRuleName enum value FilterRuleNamePrefix = "prefix" - // @enum FilterRuleName + + // FilterRuleNameSuffix is a FilterRuleName enum value FilterRuleNameSuffix = "suffix" ) const ( - // @enum MFADelete + // MFADeleteEnabled is a MFADelete enum value MFADeleteEnabled = "Enabled" - // @enum MFADelete + + // MFADeleteDisabled is a MFADelete enum value MFADeleteDisabled = "Disabled" ) const ( - // @enum MFADeleteStatus + // MFADeleteStatusEnabled is a MFADeleteStatus enum value MFADeleteStatusEnabled = "Enabled" - // @enum MFADeleteStatus + + // MFADeleteStatusDisabled is a MFADeleteStatus enum value MFADeleteStatusDisabled = "Disabled" ) const ( - // @enum MetadataDirective + // MetadataDirectiveCopy is a MetadataDirective enum value MetadataDirectiveCopy = "COPY" - // @enum MetadataDirective + + // MetadataDirectiveReplace is a MetadataDirective enum value MetadataDirectiveReplace = "REPLACE" ) const ( - // @enum ObjectCannedACL + // ObjectCannedACLPrivate is a ObjectCannedACL enum value ObjectCannedACLPrivate = "private" - // @enum ObjectCannedACL + + // ObjectCannedACLPublicRead is a ObjectCannedACL enum value ObjectCannedACLPublicRead = "public-read" - // @enum ObjectCannedACL + + // ObjectCannedACLPublicReadWrite is a ObjectCannedACL enum value ObjectCannedACLPublicReadWrite = "public-read-write" - // @enum ObjectCannedACL + + // ObjectCannedACLAuthenticatedRead is a ObjectCannedACL enum value ObjectCannedACLAuthenticatedRead = "authenticated-read" - // @enum ObjectCannedACL + + // ObjectCannedACLAwsExecRead is a ObjectCannedACL enum value ObjectCannedACLAwsExecRead = "aws-exec-read" - // @enum ObjectCannedACL + + // ObjectCannedACLBucketOwnerRead is a ObjectCannedACL enum value ObjectCannedACLBucketOwnerRead = "bucket-owner-read" - // @enum ObjectCannedACL + + // ObjectCannedACLBucketOwnerFullControl is a ObjectCannedACL enum value ObjectCannedACLBucketOwnerFullControl = "bucket-owner-full-control" ) const ( - // @enum ObjectStorageClass + // ObjectStorageClassStandard is a ObjectStorageClass enum value ObjectStorageClassStandard = "STANDARD" - // @enum ObjectStorageClass + + // ObjectStorageClassReducedRedundancy is a ObjectStorageClass enum value ObjectStorageClassReducedRedundancy = "REDUCED_REDUNDANCY" - // @enum ObjectStorageClass + + // ObjectStorageClassGlacier is a ObjectStorageClass enum value ObjectStorageClassGlacier = "GLACIER" ) const ( - // @enum ObjectVersionStorageClass + // ObjectVersionStorageClassStandard is a ObjectVersionStorageClass enum value ObjectVersionStorageClassStandard = "STANDARD" ) const ( - // @enum Payer + // PayerRequester is a Payer enum value PayerRequester = "Requester" - // @enum Payer + + // PayerBucketOwner is a Payer enum value PayerBucketOwner = "BucketOwner" ) const ( - // @enum Permission + // PermissionFullControl is a Permission enum value PermissionFullControl = "FULL_CONTROL" - // @enum Permission + + // PermissionWrite is a Permission enum value PermissionWrite = "WRITE" - // @enum Permission + + // PermissionWriteAcp is a Permission enum value PermissionWriteAcp = "WRITE_ACP" - // @enum Permission + + // PermissionRead is a Permission enum value PermissionRead = "READ" - // @enum Permission + + // PermissionReadAcp is a Permission enum value PermissionReadAcp = "READ_ACP" ) const ( - // @enum Protocol + // ProtocolHttp is a Protocol enum value ProtocolHttp = "http" - // @enum Protocol + + // ProtocolHttps is a Protocol enum value ProtocolHttps = "https" ) const ( - // @enum ReplicationRuleStatus + // ReplicationRuleStatusEnabled is a ReplicationRuleStatus enum value ReplicationRuleStatusEnabled = "Enabled" - // @enum ReplicationRuleStatus + + // ReplicationRuleStatusDisabled is a ReplicationRuleStatus enum value ReplicationRuleStatusDisabled = "Disabled" ) const ( - // @enum ReplicationStatus + // ReplicationStatusComplete is a ReplicationStatus enum value ReplicationStatusComplete = "COMPLETE" - // @enum ReplicationStatus + + // ReplicationStatusPending is a ReplicationStatus enum value ReplicationStatusPending = "PENDING" - // @enum ReplicationStatus + + // ReplicationStatusFailed is a ReplicationStatus enum value ReplicationStatusFailed = "FAILED" - // @enum ReplicationStatus + + // ReplicationStatusReplica is a ReplicationStatus enum value ReplicationStatusReplica = "REPLICA" ) // If present, indicates that the requester was successfully charged for the // request. const ( - // @enum RequestCharged + // RequestChargedRequester is a RequestCharged enum value RequestChargedRequester = "requester" ) @@ -9517,38 +9735,44 @@ const ( // Documentation on downloading objects from requester pays buckets can be found // at http://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html const ( - // @enum RequestPayer + // RequestPayerRequester is a RequestPayer enum value RequestPayerRequester = "requester" ) const ( - // @enum ServerSideEncryption + // ServerSideEncryptionAes256 is a ServerSideEncryption enum value ServerSideEncryptionAes256 = "AES256" - // @enum ServerSideEncryption + + // ServerSideEncryptionAwsKms is a ServerSideEncryption enum value ServerSideEncryptionAwsKms = "aws:kms" ) const ( - // @enum StorageClass + // StorageClassStandard is a StorageClass enum value StorageClassStandard = "STANDARD" - // @enum StorageClass + + // StorageClassReducedRedundancy is a StorageClass enum value StorageClassReducedRedundancy = "REDUCED_REDUNDANCY" - // @enum StorageClass + + // StorageClassStandardIa is a StorageClass enum value StorageClassStandardIa = "STANDARD_IA" ) const ( - // @enum TransitionStorageClass + // TransitionStorageClassGlacier is a TransitionStorageClass enum value TransitionStorageClassGlacier = "GLACIER" - // @enum TransitionStorageClass + + // TransitionStorageClassStandardIa is a TransitionStorageClass enum value TransitionStorageClassStandardIa = "STANDARD_IA" ) const ( - // @enum Type + // TypeCanonicalUser is a Type enum value TypeCanonicalUser = "CanonicalUser" - // @enum Type + + // TypeAmazonCustomerByEmail is a Type enum value TypeAmazonCustomerByEmail = "AmazonCustomerByEmail" - // @enum Type + + // TypeGroup is a Type enum value TypeGroup = "Group" ) diff --git a/service/s3/waiters.go b/service/s3/waiters.go index cbd3d31166e..5e16be4ba9c 100644 --- a/service/s3/waiters.go +++ b/service/s3/waiters.go @@ -6,6 +6,10 @@ import ( "github.com/aws/aws-sdk-go/private/waiter" ) +// WaitUntilBucketExists uses the Amazon S3 API operation +// HeadBucket to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *S3) WaitUntilBucketExists(input *HeadBucketInput) error { waiterCfg := waiter.Config{ Operation: "HeadBucket", @@ -47,6 +51,10 @@ func (c *S3) WaitUntilBucketExists(input *HeadBucketInput) error { return w.Wait() } +// WaitUntilBucketNotExists uses the Amazon S3 API operation +// HeadBucket to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *S3) WaitUntilBucketNotExists(input *HeadBucketInput) error { waiterCfg := waiter.Config{ Operation: "HeadBucket", @@ -70,6 +78,10 @@ func (c *S3) WaitUntilBucketNotExists(input *HeadBucketInput) error { return w.Wait() } +// WaitUntilObjectExists uses the Amazon S3 API operation +// HeadObject to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *S3) WaitUntilObjectExists(input *HeadObjectInput) error { waiterCfg := waiter.Config{ Operation: "HeadObject", @@ -99,6 +111,10 @@ func (c *S3) WaitUntilObjectExists(input *HeadObjectInput) error { return w.Wait() } +// WaitUntilObjectNotExists uses the Amazon S3 API operation +// HeadObject to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *S3) WaitUntilObjectNotExists(input *HeadObjectInput) error { waiterCfg := waiter.Config{ Operation: "HeadObject", diff --git a/service/servicecatalog/api.go b/service/servicecatalog/api.go index 2a547004388..88740882e57 100644 --- a/service/servicecatalog/api.go +++ b/service/servicecatalog/api.go @@ -641,6 +641,8 @@ type DescribeProductInput struct { AcceptLanguage *string `type:"string"` // The ProductId of the product to describe. + // + // Id is a required field Id *string `min:"1" type:"string" required:"true"` } @@ -707,6 +709,8 @@ type DescribeProductViewInput struct { AcceptLanguage *string `type:"string"` // The ProductViewId of the product to describe. + // + // Id is a required field Id *string `min:"1" type:"string" required:"true"` } @@ -778,9 +782,13 @@ type DescribeProvisioningParametersInput struct { PathId *string `min:"1" type:"string"` // The identifier of the product. + // + // ProductId is a required field ProductId *string `min:"1" type:"string" required:"true"` // The provisioning artifact identifier for this product. + // + // ProvisioningArtifactId is a required field ProvisioningArtifactId *string `min:"1" type:"string" required:"true"` } @@ -862,6 +870,8 @@ type DescribeRecordInput struct { // The record identifier of the ProvisionedProduct object for which to retrieve // output information. This is the RecordDetail.RecordId obtained from the request // operation's response. + // + // Id is a required field Id *string `min:"1" type:"string" required:"true"` // The maximum number of items to return in the results. If more results exist @@ -979,6 +989,8 @@ type ListLaunchPathsInput struct { PageToken *string `type:"string"` // Identifies the product for which to retrieve LaunchPathSummaries information. + // + // ProductId is a required field ProductId *string `min:"1" type:"string" required:"true"` } @@ -1233,17 +1245,25 @@ type ProvisionProductInput struct { PathId *string `min:"1" type:"string"` // The identifier of the product. + // + // ProductId is a required field ProductId *string `min:"1" type:"string" required:"true"` // An idempotency token that uniquely identifies the provisioning request. + // + // ProvisionToken is a required field ProvisionToken *string `min:"1" type:"string" required:"true" idempotencyToken:"true"` // A user-friendly name to identify the ProvisionedProduct object. This value // must be unique for the AWS account and cannot be updated after the product // is provisioned. + // + // ProvisionedProductName is a required field ProvisionedProductName *string `type:"string" required:"true"` // The provisioning artifact identifier for this product. + // + // ProvisioningArtifactId is a required field ProvisioningArtifactId *string `min:"1" type:"string" required:"true"` // Parameters specified by the administrator that are required for provisioning @@ -1777,6 +1797,8 @@ type TerminateProvisionedProductInput struct { // token is only valid during the termination process. After the ProvisionedProduct // object is terminated, further requests to terminate the same ProvisionedProduct // object always return ResourceNotFound regardless of the value of TerminateToken. + // + // TerminateToken is a required field TerminateToken *string `min:"1" type:"string" required:"true" idempotencyToken:"true"` } @@ -1871,6 +1893,8 @@ type UpdateProvisionedProductInput struct { ProvisioningParameters []*UpdateProvisioningParameter `type:"list"` // The idempotency token that uniquely identifies the provisioning update request. + // + // UpdateToken is a required field UpdateToken *string `min:"1" type:"string" required:"true" idempotencyToken:"true"` } @@ -1985,44 +2009,53 @@ func (s UsageInstruction) GoString() string { } const ( - // @enum AccessLevelFilterKey + // AccessLevelFilterKeyAccount is a AccessLevelFilterKey enum value AccessLevelFilterKeyAccount = "Account" - // @enum AccessLevelFilterKey + + // AccessLevelFilterKeyRole is a AccessLevelFilterKey enum value AccessLevelFilterKeyRole = "Role" - // @enum AccessLevelFilterKey + + // AccessLevelFilterKeyUser is a AccessLevelFilterKey enum value AccessLevelFilterKeyUser = "User" ) const ( - // @enum ProductViewFilterBy + // ProductViewFilterByFullTextSearch is a ProductViewFilterBy enum value ProductViewFilterByFullTextSearch = "FullTextSearch" - // @enum ProductViewFilterBy + + // ProductViewFilterByOwner is a ProductViewFilterBy enum value ProductViewFilterByOwner = "Owner" - // @enum ProductViewFilterBy + + // ProductViewFilterByProductType is a ProductViewFilterBy enum value ProductViewFilterByProductType = "ProductType" ) const ( - // @enum ProductViewSortBy + // ProductViewSortByTitle is a ProductViewSortBy enum value ProductViewSortByTitle = "Title" - // @enum ProductViewSortBy + + // ProductViewSortByVersionCount is a ProductViewSortBy enum value ProductViewSortByVersionCount = "VersionCount" - // @enum ProductViewSortBy + + // ProductViewSortByCreationDate is a ProductViewSortBy enum value ProductViewSortByCreationDate = "CreationDate" ) const ( - // @enum RecordStatus + // RecordStatusInProgress is a RecordStatus enum value RecordStatusInProgress = "IN_PROGRESS" - // @enum RecordStatus + + // RecordStatusSucceeded is a RecordStatus enum value RecordStatusSucceeded = "SUCCEEDED" - // @enum RecordStatus + + // RecordStatusError is a RecordStatus enum value RecordStatusError = "ERROR" ) const ( - // @enum SortOrder + // SortOrderAscending is a SortOrder enum value SortOrderAscending = "ASCENDING" - // @enum SortOrder + + // SortOrderDescending is a SortOrder enum value SortOrderDescending = "DESCENDING" ) diff --git a/service/ses/api.go b/service/ses/api.go index dbc7d0c4250..b8f3f69ee56 100644 --- a/service/ses/api.go +++ b/service/ses/api.go @@ -2439,10 +2439,14 @@ type AddHeaderAction struct { // The name of the header to add. Must be between 1 and 50 characters, inclusive, // and consist of alphanumeric (a-z, A-Z, 0-9) characters and dashes only. + // + // HeaderName is a required field HeaderName *string `type:"string" required:"true"` // Must be less than 2048 characters, and must not contain newline characters // ("\r" or "\n"). + // + // HeaderValue is a required field HeaderValue *string `type:"string" required:"true"` } @@ -2528,13 +2532,19 @@ type BounceAction struct { _ struct{} `type:"structure"` // Human-readable text to include in the bounce message. + // + // Message is a required field Message *string `type:"string" required:"true"` // The email address of the sender of the bounced email. This is the address // from which the bounce message will be sent. + // + // Sender is a required field Sender *string `type:"string" required:"true"` // The SMTP reply code, as defined by RFC 5321 (https://tools.ietf.org/html/rfc5321). + // + // SmtpReplyCode is a required field SmtpReplyCode *string `type:"string" required:"true"` // The SMTP enhanced status code, as defined by RFC 3463 (https://tools.ietf.org/html/rfc3463). @@ -2588,6 +2598,8 @@ type BouncedRecipientInfo struct { BounceType *string `type:"string" enum:"BounceType"` // The email address of the recipient of the bounced email. + // + // Recipient is a required field Recipient *string `type:"string" required:"true"` // This parameter is used only for sending authorization. It is the ARN of the @@ -2637,6 +2649,8 @@ type CloneReceiptRuleSetInput struct { _ struct{} `type:"structure"` // The name of the rule set to clone. + // + // OriginalRuleSetName is a required field OriginalRuleSetName *string `type:"string" required:"true"` // The name of the rule set to create. The name must: @@ -2647,6 +2661,8 @@ type CloneReceiptRuleSetInput struct { // Start and end with a letter or number. // // Contain less than 64 characters. + // + // RuleSetName is a required field RuleSetName *string `type:"string" required:"true"` } @@ -2703,6 +2719,8 @@ type Content struct { Charset *string `type:"string"` // The textual data of the content. + // + // Data is a required field Data *string `type:"string" required:"true"` } @@ -2737,6 +2755,8 @@ type CreateReceiptFilterInput struct { // A data structure that describes the IP address filter to create, which consists // of a name, an IP address range, and whether to allow or block mail from it. + // + // Filter is a required field Filter *ReceiptFilter `type:"structure" required:"true"` } @@ -2796,9 +2816,13 @@ type CreateReceiptRuleInput struct { // A data structure that contains the specified rule's name, actions, recipients, // domains, enabled status, scan status, and TLS policy. + // + // Rule is a required field Rule *ReceiptRule `type:"structure" required:"true"` // The name of the rule set to which to add the rule. + // + // RuleSetName is a required field RuleSetName *string `type:"string" required:"true"` } @@ -2862,6 +2886,8 @@ type CreateReceiptRuleSetInput struct { // Start and end with a letter or number. // // Contain less than 64 characters. + // + // RuleSetName is a required field RuleSetName *string `type:"string" required:"true"` } @@ -2909,6 +2935,8 @@ type DeleteIdentityInput struct { _ struct{} `type:"structure"` // The identity to be removed from the list of identities for the AWS Account. + // + // Identity is a required field Identity *string `type:"string" required:"true"` } @@ -2962,9 +2990,13 @@ type DeleteIdentityPolicyInput struct { // Name (ARN). Examples: user@example.com, example.com, arn:aws:ses:us-east-1:123456789012:identity/example.com. // // To successfully call this API, you must own the identity. + // + // Identity is a required field Identity *string `type:"string" required:"true"` // The name of the policy to be deleted. + // + // PolicyName is a required field PolicyName *string `min:"1" type:"string" required:"true"` } @@ -3019,6 +3051,8 @@ type DeleteReceiptFilterInput struct { _ struct{} `type:"structure"` // The name of the IP address filter to delete. + // + // FilterName is a required field FilterName *string `type:"string" required:"true"` } @@ -3067,9 +3101,13 @@ type DeleteReceiptRuleInput struct { _ struct{} `type:"structure"` // The name of the receipt rule to delete. + // + // RuleName is a required field RuleName *string `type:"string" required:"true"` // The name of the receipt rule set that contains the receipt rule to delete. + // + // RuleSetName is a required field RuleSetName *string `type:"string" required:"true"` } @@ -3121,6 +3159,8 @@ type DeleteReceiptRuleSetInput struct { _ struct{} `type:"structure"` // The name of the receipt rule set to delete. + // + // RuleSetName is a required field RuleSetName *string `type:"string" required:"true"` } @@ -3168,6 +3208,8 @@ type DeleteVerifiedEmailAddressInput struct { _ struct{} `type:"structure"` // An email address to be removed from the list of verified addresses. + // + // EmailAddress is a required field EmailAddress *string `type:"string" required:"true"` } @@ -3256,9 +3298,13 @@ type DescribeReceiptRuleInput struct { _ struct{} `type:"structure"` // The name of the receipt rule. + // + // RuleName is a required field RuleName *string `type:"string" required:"true"` // The name of the receipt rule set to which the receipt rule belongs. + // + // RuleSetName is a required field RuleSetName *string `type:"string" required:"true"` } @@ -3315,6 +3361,8 @@ type DescribeReceiptRuleSetInput struct { _ struct{} `type:"structure"` // The name of the receipt rule set to describe. + // + // RuleSetName is a required field RuleSetName *string `type:"string" required:"true"` } @@ -3403,10 +3451,14 @@ type ExtensionField struct { // The name of the header to add. Must be between 1 and 50 characters, inclusive, // and consist of alphanumeric (a-z, A-Z, 0-9) characters and dashes only. + // + // Name is a required field Name *string `type:"string" required:"true"` // The value of the header to add. Must be less than 2048 characters, and must // not contain newline characters ("\r" or "\n"). + // + // Value is a required field Value *string `type:"string" required:"true"` } @@ -3446,6 +3498,8 @@ type GetIdentityDkimAttributesInput struct { // A list of one or more verified identities - email addresses, domains, or // both. + // + // Identities is a required field Identities []*string `type:"list" required:"true"` } @@ -3480,6 +3534,8 @@ type GetIdentityDkimAttributesOutput struct { _ struct{} `type:"structure"` // The DKIM attributes for an email address or a domain. + // + // DkimAttributes is a required field DkimAttributes map[string]*IdentityDkimAttributes `type:"map" required:"true"` } @@ -3500,6 +3556,8 @@ type GetIdentityMailFromDomainAttributesInput struct { _ struct{} `type:"structure"` // A list of one or more identities. + // + // Identities is a required field Identities []*string `type:"list" required:"true"` } @@ -3531,6 +3589,8 @@ type GetIdentityMailFromDomainAttributesOutput struct { _ struct{} `type:"structure"` // A map of identities to custom MAIL FROM attributes. + // + // MailFromDomainAttributes is a required field MailFromDomainAttributes map[string]*IdentityMailFromDomainAttributes `type:"map" required:"true"` } @@ -3553,6 +3613,8 @@ type GetIdentityNotificationAttributesInput struct { // A list of one or more identities. You can specify an identity by using its // name or by using its Amazon Resource Name (ARN). Examples: user@example.com, // example.com, arn:aws:ses:us-east-1:123456789012:identity/example.com. + // + // Identities is a required field Identities []*string `type:"list" required:"true"` } @@ -3584,6 +3646,8 @@ type GetIdentityNotificationAttributesOutput struct { _ struct{} `type:"structure"` // A map of Identity to IdentityNotificationAttributes. + // + // NotificationAttributes is a required field NotificationAttributes map[string]*IdentityNotificationAttributes `type:"map" required:"true"` } @@ -3609,11 +3673,15 @@ type GetIdentityPoliciesInput struct { // user@example.com, example.com, arn:aws:ses:us-east-1:123456789012:identity/example.com. // // To successfully call this API, you must own the identity. + // + // Identity is a required field Identity *string `type:"string" required:"true"` // A list of the names of policies to be retrieved. You can retrieve a maximum // of 20 policies at a time. If you do not know the names of the policies that // are attached to the identity, you can use ListIdentityPolicies. + // + // PolicyNames is a required field PolicyNames []*string `type:"list" required:"true"` } @@ -3648,6 +3716,8 @@ type GetIdentityPoliciesOutput struct { _ struct{} `type:"structure"` // A map of policy names to policies. + // + // Policies is a required field Policies map[string]*string `type:"map" required:"true"` } @@ -3669,6 +3739,8 @@ type GetIdentityVerificationAttributesInput struct { _ struct{} `type:"structure"` // A list of identities. + // + // Identities is a required field Identities []*string `type:"list" required:"true"` } @@ -3701,6 +3773,8 @@ type GetIdentityVerificationAttributesOutput struct { _ struct{} `type:"structure"` // A map of Identities to IdentityVerificationAttributes objects. + // + // VerificationAttributes is a required field VerificationAttributes map[string]*IdentityVerificationAttributes `type:"map" required:"true"` } @@ -3796,6 +3870,8 @@ type IdentityDkimAttributes struct { _ struct{} `type:"structure"` // True if DKIM signing is enabled for email sent from the identity; false otherwise. + // + // DkimEnabled is a required field DkimEnabled *bool `type:"boolean" required:"true"` // A set of character strings that represent the domain's identity. Using these @@ -3813,6 +3889,8 @@ type IdentityDkimAttributes struct { // Describes whether Amazon SES has successfully verified the DKIM DNS records // (tokens) published in the domain name's DNS. (This only applies to domain // identities, not email address identities.) + // + // DkimVerificationStatus is a required field DkimVerificationStatus *string `type:"string" required:"true" enum:"VerificationStatus"` } @@ -3840,9 +3918,13 @@ type IdentityMailFromDomainAttributes struct { // // The custom MAIL FROM setup states that result in this behavior are Pending, // Failed, and TemporaryFailure. + // + // BehaviorOnMXFailure is a required field BehaviorOnMXFailure *string `type:"string" required:"true" enum:"BehaviorOnMXFailure"` // The custom MAIL FROM domain that the identity is configured to use. + // + // MailFromDomain is a required field MailFromDomain *string `type:"string" required:"true"` // The state that indicates whether Amazon SES has successfully read the MX @@ -3850,6 +3932,8 @@ type IdentityMailFromDomainAttributes struct { // Amazon SES uses the specified custom MAIL FROM domain when the verified identity // sends an email. All other states indicate that Amazon SES takes the action // described by BehaviorOnMXFailure. + // + // MailFromDomainStatus is a required field MailFromDomainStatus *string `type:"string" required:"true" enum:"CustomMailFromStatus"` } @@ -3872,20 +3956,28 @@ type IdentityNotificationAttributes struct { // The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will // publish bounce notifications. + // + // BounceTopic is a required field BounceTopic *string `type:"string" required:"true"` // The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will // publish complaint notifications. + // + // ComplaintTopic is a required field ComplaintTopic *string `type:"string" required:"true"` // The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will // publish delivery notifications. + // + // DeliveryTopic is a required field DeliveryTopic *string `type:"string" required:"true"` // Describes whether Amazon SES will forward bounce and complaint notifications // as email. true indicates that Amazon SES will forward bounce and complaint // notifications as email, while false indicates that bounce and complaint notifications // will be published only to the specified bounce and complaint Amazon SNS topics. + // + // ForwardingEnabled is a required field ForwardingEnabled *bool `type:"boolean" required:"true"` // Describes whether Amazon SES includes the original email headers in Amazon @@ -3923,6 +4015,8 @@ type IdentityVerificationAttributes struct { // The verification status of the identity: "Pending", "Success", "Failed", // or "TemporaryFailure". + // + // VerificationStatus is a required field VerificationStatus *string `type:"string" required:"true" enum:"VerificationStatus"` // The verification token for a domain identity. Null for email address identities. @@ -3957,6 +4051,8 @@ type LambdaAction struct { // an AWS Lambda function ARN is arn:aws:lambda:us-west-2:account-id:function:MyFunction. // For more information about AWS Lambda, see the AWS Lambda Developer Guide // (http://docs.aws.amazon.com/lambda/latest/dg/welcome.html). + // + // FunctionArn is a required field FunctionArn *string `type:"string" required:"true"` // The invocation type of the AWS Lambda function. An invocation type of RequestResponse @@ -4034,6 +4130,8 @@ type ListIdentitiesOutput struct { _ struct{} `type:"structure"` // A list of identities. + // + // Identities is a required field Identities []*string `type:"list" required:"true"` // The token used for pagination. @@ -4062,6 +4160,8 @@ type ListIdentityPoliciesInput struct { // Amazon Resource Name (ARN). Examples: user@example.com, example.com, arn:aws:ses:us-east-1:123456789012:identity/example.com. // // To successfully call this API, you must own the identity. + // + // Identity is a required field Identity *string `type:"string" required:"true"` } @@ -4093,6 +4193,8 @@ type ListIdentityPoliciesOutput struct { _ struct{} `type:"structure"` // A list of names of policies that apply to the specified identity. + // + // PolicyNames is a required field PolicyNames []*string `type:"list" required:"true"` } @@ -4225,10 +4327,14 @@ type Message struct { _ struct{} `type:"structure"` // The message body. + // + // Body is a required field Body *Body `type:"structure" required:"true"` // The subject of the message: A short summary of the content, which will appear // in the recipient's inbox. + // + // Subject is a required field Subject *Content `type:"structure" required:"true"` } @@ -4286,6 +4392,8 @@ type MessageDsn struct { // The reporting MTA that attempted to deliver the message, formatted as specified // in RFC 3464 (https://tools.ietf.org/html/rfc3464) (mta-name-type; mta-name). // The default value is dns; inbound-smtp.[region].amazonaws.com. + // + // ReportingMta is a required field ReportingMta *string `type:"string" required:"true"` } @@ -4334,18 +4442,24 @@ type PutIdentityPolicyInput struct { // example.com, arn:aws:ses:us-east-1:123456789012:identity/example.com. // // To successfully call this API, you must own the identity. + // + // Identity is a required field Identity *string `type:"string" required:"true"` // The text of the policy in JSON format. The policy cannot exceed 4 KB. // // For information about the syntax of sending authorization policies, see // the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization-policies.html). + // + // Policy is a required field Policy *string `min:"1" type:"string" required:"true"` // The name of the policy. // // The policy name cannot exceed 64 characters and can only include alphanumeric // characters, dashes, and underscores. + // + // PolicyName is a required field PolicyName *string `min:"1" type:"string" required:"true"` } @@ -4419,6 +4533,8 @@ type RawMessage struct { // For more information, go to the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-email-raw.html). // // Data is automatically base64 encoded/decoded by the SDK. + // + // Data is a required field Data []byte `type:"blob" required:"true"` } @@ -4547,6 +4663,8 @@ type ReceiptFilter struct { // A structure that provides the IP addresses to block or allow, and whether // to block or allow incoming mail from them. + // + // IpFilter is a required field IpFilter *ReceiptIpFilter `type:"structure" required:"true"` // The name of the IP address filter. The name must: @@ -4557,6 +4675,8 @@ type ReceiptFilter struct { // Start and end with a letter or number. // // Contain less than 64 characters. + // + // Name is a required field Name *string `type:"string" required:"true"` } @@ -4603,9 +4723,13 @@ type ReceiptIpFilter struct { // allow, specified in Classless Inter-Domain Routing (CIDR) notation. An example // of a single email address is 10.0.0.1. An example of a range of IP addresses // is 10.0.0.1/24. For more information about CIDR notation, see RFC 2317 (https://tools.ietf.org/html/rfc2317). + // + // Cidr is a required field Cidr *string `type:"string" required:"true"` // Indicates whether to block or allow incoming mail from the specified IP addresses. + // + // Policy is a required field Policy *string `type:"string" required:"true" enum:"ReceiptFilterPolicy"` } @@ -4664,6 +4788,8 @@ type ReceiptRule struct { // Start and end with a letter or number. // // Contain less than 64 characters. + // + // Name is a required field Name *string `type:"string" required:"true"` // The recipient domains and email addresses to which the receipt rule applies. @@ -4760,6 +4886,8 @@ type RecipientDsnFields struct { // The action performed by the reporting mail transfer agent (MTA) as a result // of its attempt to deliver the message to the recipient address. This is required // by RFC 3464 (https://tools.ietf.org/html/rfc3464). + // + // Action is a required field Action *string `type:"string" required:"true" enum:"DsnAction"` // An extended explanation of what went wrong; this is usually an SMTP response. @@ -4792,6 +4920,8 @@ type RecipientDsnFields struct { // The status code that indicates what went wrong. This is required by RFC 3464 // (https://tools.ietf.org/html/rfc3464). + // + // Status is a required field Status *string `type:"string" required:"true"` } @@ -4839,9 +4969,13 @@ type ReorderReceiptRuleSetInput struct { // A list of the specified receipt rule set's receipt rules in the order that // you want to put them. + // + // RuleNames is a required field RuleNames []*string `type:"list" required:"true"` // The name of the receipt rule set to reorder. + // + // RuleSetName is a required field RuleSetName *string `type:"string" required:"true"` } @@ -4904,6 +5038,8 @@ type S3Action struct { _ struct{} `type:"structure"` // The name of the Amazon S3 bucket to which to save the received email. + // + // BucketName is a required field BucketName *string `type:"string" required:"true"` // The customer master key that Amazon SES should use to encrypt your emails @@ -5003,6 +5139,8 @@ type SNSAction struct { // of an Amazon SNS topic ARN is arn:aws:sns:us-west-2:123456789012:MyTopic. // For more information about Amazon SNS topics, see the Amazon SNS Developer // Guide (http://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html). + // + // TopicArn is a required field TopicArn *string `type:"string" required:"true"` } @@ -5036,6 +5174,8 @@ type SendBounceInput struct { // The address to use in the "From" header of the bounce message. This must // be an identity that you have verified with Amazon SES. + // + // BounceSender is a required field BounceSender *string `type:"string" required:"true"` // This parameter is used only for sending authorization. It is the ARN of the @@ -5047,6 +5187,8 @@ type SendBounceInput struct { // A list of recipients of the bounced message, including the information required // to create the Delivery Status Notifications (DSNs) for the recipients. You // must specify at least one BouncedRecipientInfo in the list. + // + // BouncedRecipientInfoList is a required field BouncedRecipientInfoList []*BouncedRecipientInfo `type:"list" required:"true"` // Human-readable text for the bounce message to explain the failure. If not @@ -5059,6 +5201,8 @@ type SendBounceInput struct { MessageDsn *MessageDsn `type:"structure"` // The message ID of the message to be bounced. + // + // OriginalMessageId is a required field OriginalMessageId *string `type:"string" required:"true"` } @@ -5161,9 +5305,13 @@ type SendEmailInput struct { _ struct{} `type:"structure"` // The destination for this email, composed of To:, CC:, and BCC: fields. + // + // Destination is a required field Destination *Destination `type:"structure" required:"true"` // The message to be sent. + // + // Message is a required field Message *Message `type:"structure" required:"true"` // The reply-to email address(es) for the message. If the recipient replies @@ -5207,6 +5355,8 @@ type SendEmailInput struct { // instead of a literal string. MIME encoded-word syntax uses the following // form: =?charset?encoding?encoded-text?=. For more information, see RFC 2047 // (http://tools.ietf.org/html/rfc2047). + // + // Source is a required field Source *string `type:"string" required:"true"` // This parameter is used only for sending authorization. It is the ARN of the @@ -5262,6 +5412,8 @@ type SendEmailOutput struct { _ struct{} `type:"structure"` // The unique message identifier returned from the SendEmail action. + // + // MessageId is a required field MessageId *string `type:"string" required:"true"` } @@ -5308,6 +5460,8 @@ type SendRawEmailInput struct { // information, go to the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/mime-types.html). // // Must be base64-encoded. + // + // RawMessage is a required field RawMessage *RawMessage `type:"structure" required:"true"` // This parameter is used only for sending authorization. It is the ARN of the @@ -5395,6 +5549,8 @@ type SendRawEmailOutput struct { _ struct{} `type:"structure"` // The unique message identifier returned from the SendRawEmail action. + // + // MessageId is a required field MessageId *string `type:"string" required:"true"` } @@ -5452,9 +5608,13 @@ type SetIdentityDkimEnabledInput struct { // Sets whether DKIM signing is enabled for an identity. Set to true to enable // DKIM signing for this identity; false to disable it. + // + // DkimEnabled is a required field DkimEnabled *bool `type:"boolean" required:"true"` // The identity for which DKIM signing should be enabled or disabled. + // + // Identity is a required field Identity *string `type:"string" required:"true"` } @@ -5511,10 +5671,14 @@ type SetIdentityFeedbackForwardingEnabledInput struct { // false specifies that Amazon SES will publish bounce and complaint notifications // only through Amazon SNS. This value can only be set to false when Amazon // SNS topics are set for both Bounce and Complaint notification types. + // + // ForwardingEnabled is a required field ForwardingEnabled *bool `type:"boolean" required:"true"` // The identity for which to set bounce and complaint notification forwarding. // Examples: user@example.com, example.com. + // + // Identity is a required field Identity *string `type:"string" required:"true"` } @@ -5572,13 +5736,19 @@ type SetIdentityHeadersInNotificationsEnabledInput struct { // // This value can only be set when NotificationType is already set to use a // particular Amazon SNS topic. + // + // Enabled is a required field Enabled *bool `type:"boolean" required:"true"` // The identity for which to enable or disable headers in notifications. Examples: // user@example.com, example.com. + // + // Identity is a required field Identity *string `type:"string" required:"true"` // The notification type for which to enable or disable headers in notifications. + // + // NotificationType is a required field NotificationType *string `type:"string" required:"true" enum:"NotificationType"` } @@ -5644,6 +5814,8 @@ type SetIdentityMailFromDomainInput struct { // The verified identity for which you want to enable or disable the specified // custom MAIL FROM domain. + // + // Identity is a required field Identity *string `type:"string" required:"true"` // The custom MAIL FROM domain that you want the verified identity to use. The @@ -5704,10 +5876,14 @@ type SetIdentityNotificationTopicInput struct { // The identity for which the Amazon SNS topic will be set. You can specify // an identity by using its name or by using its Amazon Resource Name (ARN). // Examples: user@example.com, example.com, arn:aws:ses:us-east-1:123456789012:identity/example.com. + // + // Identity is a required field Identity *string `type:"string" required:"true"` // The type of notifications that will be published to the specified Amazon // SNS topic. + // + // NotificationType is a required field NotificationType *string `type:"string" required:"true" enum:"NotificationType"` // The Amazon Resource Name (ARN) of the Amazon SNS topic. If the parameter @@ -5767,9 +5943,13 @@ type SetReceiptRulePositionInput struct { After *string `type:"string"` // The name of the receipt rule to reposition. + // + // RuleName is a required field RuleName *string `type:"string" required:"true"` // The name of the receipt rule set that contains the receipt rule to reposition. + // + // RuleSetName is a required field RuleSetName *string `type:"string" required:"true"` } @@ -5824,6 +6004,8 @@ type StopAction struct { _ struct{} `type:"structure"` // The scope to which the Stop action applies. That is, what is being stopped. + // + // Scope is a required field Scope *string `type:"string" required:"true" enum:"StopScope"` // The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the @@ -5863,9 +6045,13 @@ type UpdateReceiptRuleInput struct { _ struct{} `type:"structure"` // A data structure that contains the updated receipt rule information. + // + // Rule is a required field Rule *ReceiptRule `type:"structure" required:"true"` // The name of the receipt rule set to which the receipt rule belongs. + // + // RuleSetName is a required field RuleSetName *string `type:"string" required:"true"` } @@ -5922,6 +6108,8 @@ type VerifyDomainDkimInput struct { _ struct{} `type:"structure"` // The name of the domain to be verified for Easy DKIM signing. + // + // Domain is a required field Domain *string `type:"string" required:"true"` } @@ -5964,6 +6152,8 @@ type VerifyDomainDkimOutput struct { // // For more information about creating DNS records using DKIM tokens, go to // the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim-dns-records.html). + // + // DkimTokens is a required field DkimTokens []*string `type:"list" required:"true"` } @@ -5985,6 +6175,8 @@ type VerifyDomainIdentityInput struct { _ struct{} `type:"structure"` // The domain to be verified. + // + // Domain is a required field Domain *string `type:"string" required:"true"` } @@ -6018,6 +6210,8 @@ type VerifyDomainIdentityOutput struct { // A TXT record that must be placed in the DNS settings for the domain, in order // to complete domain verification. + // + // VerificationToken is a required field VerificationToken *string `type:"string" required:"true"` } @@ -6038,6 +6232,8 @@ type VerifyEmailAddressInput struct { _ struct{} `type:"structure"` // The email address to be verified. + // + // EmailAddress is a required field EmailAddress *string `type:"string" required:"true"` } @@ -6085,6 +6281,8 @@ type VerifyEmailIdentityInput struct { _ struct{} `type:"structure"` // The email address to be verified. + // + // EmailAddress is a required field EmailAddress *string `type:"string" required:"true"` } @@ -6140,6 +6338,8 @@ type WorkmailAction struct { // organization ARN is arn:aws:workmail:us-west-2:123456789012:organization/m-68755160c4cb4e29a2b2f8fb58f359d7. // For information about Amazon WorkMail organizations, see the Amazon WorkMail // Administrator Guide (http://docs.aws.amazon.com/workmail/latest/adminguide/organizations_overview.html). + // + // OrganizationArn is a required field OrganizationArn *string `type:"string" required:"true"` // The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the @@ -6173,109 +6373,133 @@ func (s *WorkmailAction) Validate() error { } const ( - // @enum BehaviorOnMXFailure + // BehaviorOnMXFailureUseDefaultValue is a BehaviorOnMXFailure enum value BehaviorOnMXFailureUseDefaultValue = "UseDefaultValue" - // @enum BehaviorOnMXFailure + + // BehaviorOnMXFailureRejectMessage is a BehaviorOnMXFailure enum value BehaviorOnMXFailureRejectMessage = "RejectMessage" ) const ( - // @enum BounceType + // BounceTypeDoesNotExist is a BounceType enum value BounceTypeDoesNotExist = "DoesNotExist" - // @enum BounceType + + // BounceTypeMessageTooLarge is a BounceType enum value BounceTypeMessageTooLarge = "MessageTooLarge" - // @enum BounceType + + // BounceTypeExceededQuota is a BounceType enum value BounceTypeExceededQuota = "ExceededQuota" - // @enum BounceType + + // BounceTypeContentRejected is a BounceType enum value BounceTypeContentRejected = "ContentRejected" - // @enum BounceType + + // BounceTypeUndefined is a BounceType enum value BounceTypeUndefined = "Undefined" - // @enum BounceType + + // BounceTypeTemporaryFailure is a BounceType enum value BounceTypeTemporaryFailure = "TemporaryFailure" ) const ( - // @enum CustomMailFromStatus + // CustomMailFromStatusPending is a CustomMailFromStatus enum value CustomMailFromStatusPending = "Pending" - // @enum CustomMailFromStatus + + // CustomMailFromStatusSuccess is a CustomMailFromStatus enum value CustomMailFromStatusSuccess = "Success" - // @enum CustomMailFromStatus + + // CustomMailFromStatusFailed is a CustomMailFromStatus enum value CustomMailFromStatusFailed = "Failed" - // @enum CustomMailFromStatus + + // CustomMailFromStatusTemporaryFailure is a CustomMailFromStatus enum value CustomMailFromStatusTemporaryFailure = "TemporaryFailure" ) const ( - // @enum DsnAction + // DsnActionFailed is a DsnAction enum value DsnActionFailed = "failed" - // @enum DsnAction + + // DsnActionDelayed is a DsnAction enum value DsnActionDelayed = "delayed" - // @enum DsnAction + + // DsnActionDelivered is a DsnAction enum value DsnActionDelivered = "delivered" - // @enum DsnAction + + // DsnActionRelayed is a DsnAction enum value DsnActionRelayed = "relayed" - // @enum DsnAction + + // DsnActionExpanded is a DsnAction enum value DsnActionExpanded = "expanded" ) const ( - // @enum IdentityType + // IdentityTypeEmailAddress is a IdentityType enum value IdentityTypeEmailAddress = "EmailAddress" - // @enum IdentityType + + // IdentityTypeDomain is a IdentityType enum value IdentityTypeDomain = "Domain" ) const ( - // @enum InvocationType + // InvocationTypeEvent is a InvocationType enum value InvocationTypeEvent = "Event" - // @enum InvocationType + + // InvocationTypeRequestResponse is a InvocationType enum value InvocationTypeRequestResponse = "RequestResponse" ) const ( - // @enum NotificationType + // NotificationTypeBounce is a NotificationType enum value NotificationTypeBounce = "Bounce" - // @enum NotificationType + + // NotificationTypeComplaint is a NotificationType enum value NotificationTypeComplaint = "Complaint" - // @enum NotificationType + + // NotificationTypeDelivery is a NotificationType enum value NotificationTypeDelivery = "Delivery" ) const ( - // @enum ReceiptFilterPolicy + // ReceiptFilterPolicyBlock is a ReceiptFilterPolicy enum value ReceiptFilterPolicyBlock = "Block" - // @enum ReceiptFilterPolicy + + // ReceiptFilterPolicyAllow is a ReceiptFilterPolicy enum value ReceiptFilterPolicyAllow = "Allow" ) const ( - // @enum SNSActionEncoding + // SNSActionEncodingUtf8 is a SNSActionEncoding enum value SNSActionEncodingUtf8 = "UTF-8" - // @enum SNSActionEncoding + + // SNSActionEncodingBase64 is a SNSActionEncoding enum value SNSActionEncodingBase64 = "Base64" ) const ( - // @enum StopScope + // StopScopeRuleSet is a StopScope enum value StopScopeRuleSet = "RuleSet" ) const ( - // @enum TlsPolicy + // TlsPolicyRequire is a TlsPolicy enum value TlsPolicyRequire = "Require" - // @enum TlsPolicy + + // TlsPolicyOptional is a TlsPolicy enum value TlsPolicyOptional = "Optional" ) const ( - // @enum VerificationStatus + // VerificationStatusPending is a VerificationStatus enum value VerificationStatusPending = "Pending" - // @enum VerificationStatus + + // VerificationStatusSuccess is a VerificationStatus enum value VerificationStatusSuccess = "Success" - // @enum VerificationStatus + + // VerificationStatusFailed is a VerificationStatus enum value VerificationStatusFailed = "Failed" - // @enum VerificationStatus + + // VerificationStatusTemporaryFailure is a VerificationStatus enum value VerificationStatusTemporaryFailure = "TemporaryFailure" - // @enum VerificationStatus + + // VerificationStatusNotStarted is a VerificationStatus enum value VerificationStatusNotStarted = "NotStarted" ) diff --git a/service/ses/waiters.go b/service/ses/waiters.go index 8156c0fc05c..bf79344b803 100644 --- a/service/ses/waiters.go +++ b/service/ses/waiters.go @@ -6,6 +6,10 @@ import ( "github.com/aws/aws-sdk-go/private/waiter" ) +// WaitUntilIdentityExists uses the Amazon SES API operation +// GetIdentityVerificationAttributes to wait for a condition to be met before returning. +// If the condition is not meet within the max attempt window an error will +// be returned. func (c *SES) WaitUntilIdentityExists(input *GetIdentityVerificationAttributesInput) error { waiterCfg := waiter.Config{ Operation: "GetIdentityVerificationAttributes", diff --git a/service/simpledb/api.go b/service/simpledb/api.go index c4d0e5cf8e5..27a7b5452a3 100644 --- a/service/simpledb/api.go +++ b/service/simpledb/api.go @@ -717,9 +717,13 @@ type Attribute struct { AlternateValueEncoding *string `type:"string"` // The name of the attribute. + // + // Name is a required field Name *string `type:"string" required:"true"` // The value of the attribute. + // + // Value is a required field Value *string `type:"string" required:"true"` } @@ -737,9 +741,13 @@ type BatchDeleteAttributesInput struct { _ struct{} `type:"structure"` // The name of the domain in which the attributes are being deleted. + // + // DomainName is a required field DomainName *string `type:"string" required:"true"` // A list of items on which to perform the operation. + // + // Items is a required field Items []*DeletableItem `locationNameList:"Item" type:"list" flattened:"true" required:"true"` } @@ -797,9 +805,13 @@ type BatchPutAttributesInput struct { _ struct{} `type:"structure"` // The name of the domain in which the attributes are being stored. + // + // DomainName is a required field DomainName *string `type:"string" required:"true"` // A list of items on which to perform the operation. + // + // Items is a required field Items []*ReplaceableItem `locationNameList:"Item" type:"list" flattened:"true" required:"true"` } @@ -858,6 +870,8 @@ type CreateDomainInput struct { // The name of the domain to create. The name can range between 3 and 255 characters // and can contain the following characters: a-z, A-Z, 0-9, '_', '-', and '.'. + // + // DomainName is a required field DomainName *string `type:"string" required:"true"` } @@ -902,6 +916,8 @@ type DeletableAttribute struct { _ struct{} `type:"structure"` // The name of the attribute. + // + // Name is a required field Name *string `type:"string" required:"true"` // The value of the attribute. @@ -936,6 +952,7 @@ type DeletableItem struct { Attributes []*DeletableAttribute `locationNameList:"Attribute" type:"list" flattened:"true"` + // Name is a required field Name *string `locationName:"ItemName" type:"string" required:"true"` } @@ -980,6 +997,8 @@ type DeleteAttributesInput struct { Attributes []*DeletableAttribute `locationNameList:"Attribute" type:"list" flattened:"true"` // The name of the domain in which to perform the operation. + // + // DomainName is a required field DomainName *string `type:"string" required:"true"` // The update condition which, if specified, determines whether the specified @@ -989,6 +1008,8 @@ type DeleteAttributesInput struct { // The name of the item. Similar to rows on a spreadsheet, items represent individual // objects that contain one or more value-attribute pairs. + // + // ItemName is a required field ItemName *string `type:"string" required:"true"` } @@ -1046,6 +1067,8 @@ type DeleteDomainInput struct { _ struct{} `type:"structure"` // The name of the domain to delete. + // + // DomainName is a required field DomainName *string `type:"string" required:"true"` } @@ -1090,6 +1113,8 @@ type DomainMetadataInput struct { _ struct{} `type:"structure"` // The name of the domain for which to display the metadata of. + // + // DomainName is a required field DomainName *string `type:"string" required:"true"` } @@ -1164,9 +1189,13 @@ type GetAttributesInput struct { ConsistentRead *bool `type:"boolean"` // The name of the domain in which to perform the operation. + // + // DomainName is a required field DomainName *string `type:"string" required:"true"` // The name of the item. + // + // ItemName is a required field ItemName *string `type:"string" required:"true"` } @@ -1219,9 +1248,13 @@ type Item struct { AlternateNameEncoding *string `type:"string"` // A list of attributes. + // + // Attributes is a required field Attributes []*Attribute `locationNameList:"Attribute" type:"list" flattened:"true" required:"true"` // The name of the item. + // + // Name is a required field Name *string `type:"string" required:"true"` } @@ -1282,9 +1315,13 @@ type PutAttributesInput struct { _ struct{} `type:"structure"` // The list of attributes. + // + // Attributes is a required field Attributes []*ReplaceableAttribute `locationNameList:"Attribute" type:"list" flattened:"true" required:"true"` // The name of the domain in which to perform the operation. + // + // DomainName is a required field DomainName *string `type:"string" required:"true"` // The update condition which, if specified, determines whether the specified @@ -1293,6 +1330,8 @@ type PutAttributesInput struct { Expected *UpdateCondition `type:"structure"` // The name of the item. + // + // ItemName is a required field ItemName *string `type:"string" required:"true"` } @@ -1353,6 +1392,8 @@ type ReplaceableAttribute struct { _ struct{} `type:"structure"` // The name of the replaceable attribute. + // + // Name is a required field Name *string `type:"string" required:"true"` // A flag specifying whether or not to replace the attribute/value pair or to @@ -1360,6 +1401,8 @@ type ReplaceableAttribute struct { Replace *bool `type:"boolean"` // The value of the replaceable attribute. + // + // Value is a required field Value *string `type:"string" required:"true"` } @@ -1393,9 +1436,13 @@ type ReplaceableItem struct { _ struct{} `type:"structure"` // The list of attributes for a replaceable item. + // + // Attributes is a required field Attributes []*ReplaceableAttribute `locationNameList:"Attribute" type:"list" flattened:"true" required:"true"` // The name of the replaceable item. + // + // Name is a required field Name *string `locationName:"ItemName" type:"string" required:"true"` } @@ -1448,6 +1495,8 @@ type SelectInput struct { NextToken *string `type:"string"` // The expression used to query the domain. + // + // SelectExpression is a required field SelectExpression *string `type:"string" required:"true"` } diff --git a/service/snowball/api.go b/service/snowball/api.go index 1a6c8d5286b..0b9af6e7005 100644 --- a/service/snowball/api.go +++ b/service/snowball/api.go @@ -769,6 +769,8 @@ type CancelJobInput struct { // The 39 character job ID for the job that you want to cancel, for example // JID123e4567-e89b-12d3-a456-426655440000. + // + // JobId is a required field JobId *string `min:"39" type:"string" required:"true"` } @@ -816,6 +818,8 @@ type CreateAddressInput struct { _ struct{} `type:"structure"` // The address that you want the Snowball shipped to. + // + // Address is a required field Address *Address `type:"structure" required:"true"` } @@ -870,6 +874,8 @@ type CreateJobInput struct { _ struct{} `type:"structure"` // The ID for the address that you want the Snowball shipped to. + // + // AddressId is a required field AddressId *string `min:"40" type:"string" required:"true"` // Defines an optional description of this specific job, for example Important @@ -877,6 +883,8 @@ type CreateJobInput struct { Description *string `min:"1" type:"string"` // Defines the type of job that you're creating. + // + // JobType is a required field JobType *string `type:"string" required:"true" enum:"JobType"` // The KmsKeyARN that you want to associate with this job. KmsKeyARNs are created @@ -898,11 +906,15 @@ type CreateJobInput struct { // If you choose to export a range, you define the length of the range by providing // either an inclusive BeginMarker value, an inclusive EndMarker value, or both. // Ranges are UTF-8 binary sorted. + // + // Resources is a required field Resources *JobResource `type:"structure" required:"true"` // The RoleARN that you want to associate with this job. RoleArns are created // using the CreateRole (http://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateRole.html) // AWS Identity and Access Management (IAM) API action. + // + // RoleARN is a required field RoleARN *string `type:"string" required:"true"` // The shipping speed for this job. Note that this speed does not dictate how @@ -921,6 +933,8 @@ type CreateJobInput struct { // In India, Snowballs are delivered in one to seven days. // // In the US, you have access to one-day shipping and two-day shipping. + // + // ShippingOption is a required field ShippingOption *string `type:"string" required:"true" enum:"ShippingOption"` // If your job is being created in one of the US regions, you have the option @@ -1029,6 +1043,8 @@ type DescribeAddressInput struct { _ struct{} `type:"structure"` // The automatically generated ID for a specific address. + // + // AddressId is a required field AddressId *string `min:"40" type:"string" required:"true"` } @@ -1137,6 +1153,8 @@ type DescribeJobInput struct { _ struct{} `type:"structure"` // The automatically generated ID for a job, for example JID123e4567-e89b-12d3-a456-426655440000. + // + // JobId is a required field JobId *string `min:"39" type:"string" required:"true"` } @@ -1193,6 +1211,8 @@ type GetJobManifestInput struct { // The ID for a job that you want to get the manifest file for, for example // JID123e4567-e89b-12d3-a456-426655440000. + // + // JobId is a required field JobId *string `min:"39" type:"string" required:"true"` } @@ -1245,6 +1265,8 @@ type GetJobUnlockCodeInput struct { // The ID for the job that you want to get the UnlockCode value for, for example // JID123e4567-e89b-12d3-a456-426655440000. + // + // JobId is a required field JobId *string `min:"39" type:"string" required:"true"` } @@ -1774,6 +1796,8 @@ type UpdateJobInput struct { Description *string `min:"1" type:"string"` // The job ID of the job that you want to update, for example JID123e4567-e89b-12d3-a456-426655440000. + // + // JobId is a required field JobId *string `min:"39" type:"string" required:"true"` // The new or updated Notification object. @@ -1848,55 +1872,72 @@ func (s UpdateJobOutput) GoString() string { } const ( - // @enum Capacity + // CapacityT50 is a Capacity enum value CapacityT50 = "T50" - // @enum Capacity + + // CapacityT80 is a Capacity enum value CapacityT80 = "T80" - // @enum Capacity + + // CapacityNoPreference is a Capacity enum value CapacityNoPreference = "NoPreference" ) const ( - // @enum JobState + // JobStateNew is a JobState enum value JobStateNew = "New" - // @enum JobState + + // JobStatePreparingAppliance is a JobState enum value JobStatePreparingAppliance = "PreparingAppliance" - // @enum JobState + + // JobStatePreparingShipment is a JobState enum value JobStatePreparingShipment = "PreparingShipment" - // @enum JobState + + // JobStateInTransitToCustomer is a JobState enum value JobStateInTransitToCustomer = "InTransitToCustomer" - // @enum JobState + + // JobStateWithCustomer is a JobState enum value JobStateWithCustomer = "WithCustomer" - // @enum JobState + + // JobStateInTransitToAws is a JobState enum value JobStateInTransitToAws = "InTransitToAWS" - // @enum JobState + + // JobStateWithAws is a JobState enum value JobStateWithAws = "WithAWS" - // @enum JobState + + // JobStateInProgress is a JobState enum value JobStateInProgress = "InProgress" - // @enum JobState + + // JobStateComplete is a JobState enum value JobStateComplete = "Complete" - // @enum JobState + + // JobStateCancelled is a JobState enum value JobStateCancelled = "Cancelled" - // @enum JobState + + // JobStateListing is a JobState enum value JobStateListing = "Listing" - // @enum JobState + + // JobStatePending is a JobState enum value JobStatePending = "Pending" ) const ( - // @enum JobType + // JobTypeImport is a JobType enum value JobTypeImport = "IMPORT" - // @enum JobType + + // JobTypeExport is a JobType enum value JobTypeExport = "EXPORT" ) const ( - // @enum ShippingOption + // ShippingOptionSecondDay is a ShippingOption enum value ShippingOptionSecondDay = "SECOND_DAY" - // @enum ShippingOption + + // ShippingOptionNextDay is a ShippingOption enum value ShippingOptionNextDay = "NEXT_DAY" - // @enum ShippingOption + + // ShippingOptionExpress is a ShippingOption enum value ShippingOptionExpress = "EXPRESS" - // @enum ShippingOption + + // ShippingOptionStandard is a ShippingOption enum value ShippingOptionStandard = "STANDARD" ) diff --git a/service/sns/api.go b/service/sns/api.go index c044ad9524a..cf3e2745ae4 100644 --- a/service/sns/api.go +++ b/service/sns/api.go @@ -1766,17 +1766,25 @@ type AddPermissionInput struct { // The AWS account IDs of the users (principals) who will be given access to // the specified actions. The users must have AWS accounts, but do not need // to be signed up for this service. + // + // AWSAccountId is a required field AWSAccountId []*string `type:"list" required:"true"` // The action you want to allow for the specified principal(s). // // Valid values: any Amazon SNS action name. + // + // ActionName is a required field ActionName []*string `type:"list" required:"true"` // A unique identifier for the new policy statement. + // + // Label is a required field Label *string `type:"string" required:"true"` // The ARN of the topic whose access control policy you wish to modify. + // + // TopicArn is a required field TopicArn *string `type:"string" required:"true"` } @@ -1831,6 +1839,8 @@ type CheckIfPhoneNumberIsOptedOutInput struct { _ struct{} `type:"structure"` // The phone number for which you want to check the opt out status. + // + // PhoneNumber is a required field PhoneNumber *string `locationName:"phoneNumber" type:"string" required:"true"` } @@ -1892,9 +1902,13 @@ type ConfirmSubscriptionInput struct { AuthenticateOnUnsubscribe *string `type:"string"` // Short-lived token sent to an endpoint during the Subscribe action. + // + // Token is a required field Token *string `type:"string" required:"true"` // The ARN of the topic for which you wish to confirm a subscription. + // + // TopicArn is a required field TopicArn *string `type:"string" required:"true"` } @@ -1947,15 +1961,21 @@ type CreatePlatformApplicationInput struct { _ struct{} `type:"structure"` // For a list of attributes, see SetPlatformApplicationAttributes (http://docs.aws.amazon.com/sns/latest/api/API_SetPlatformApplicationAttributes.html) + // + // Attributes is a required field Attributes map[string]*string `type:"map" required:"true"` // Application names must be made up of only uppercase and lowercase ASCII letters, // numbers, underscores, hyphens, and periods, and must be between 1 and 256 // characters long. + // + // Name is a required field Name *string `type:"string" required:"true"` // The following platforms are supported: ADM (Amazon Device Messaging), APNS // (Apple Push Notification Service), APNS_SANDBOX, and GCM (Google Cloud Messaging). + // + // Platform is a required field Platform *string `type:"string" required:"true"` } @@ -2019,6 +2039,8 @@ type CreatePlatformEndpointInput struct { // PlatformApplicationArn returned from CreatePlatformApplication is used to // create a an endpoint. + // + // PlatformApplicationArn is a required field PlatformApplicationArn *string `type:"string" required:"true"` // Unique identifier created by the notification service for an app on a device. @@ -2026,6 +2048,8 @@ type CreatePlatformEndpointInput struct { // is being used. For example, when using APNS as the notification service, // you need the device token. Alternatively, when using GCM or ADM, the device // token equivalent is called the registration ID. + // + // Token is a required field Token *string `type:"string" required:"true"` } @@ -2082,6 +2106,8 @@ type CreateTopicInput struct { // Constraints: Topic names must be made up of only uppercase and lowercase // ASCII letters, numbers, underscores, and hyphens, and must be between 1 and // 256 characters long. + // + // Name is a required field Name *string `type:"string" required:"true"` } @@ -2131,6 +2157,8 @@ type DeleteEndpointInput struct { _ struct{} `type:"structure"` // EndpointArn of endpoint to delete. + // + // EndpointArn is a required field EndpointArn *string `type:"string" required:"true"` } @@ -2176,6 +2204,8 @@ type DeletePlatformApplicationInput struct { _ struct{} `type:"structure"` // PlatformApplicationArn of platform application object to delete. + // + // PlatformApplicationArn is a required field PlatformApplicationArn *string `type:"string" required:"true"` } @@ -2220,6 +2250,8 @@ type DeleteTopicInput struct { _ struct{} `type:"structure"` // The ARN of the topic you want to delete. + // + // TopicArn is a required field TopicArn *string `type:"string" required:"true"` } @@ -2286,6 +2318,8 @@ type GetEndpointAttributesInput struct { _ struct{} `type:"structure"` // EndpointArn for GetEndpointAttributes input. + // + // EndpointArn is a required field EndpointArn *string `type:"string" required:"true"` } @@ -2348,6 +2382,8 @@ type GetPlatformApplicationAttributesInput struct { _ struct{} `type:"structure"` // PlatformApplicationArn for GetPlatformApplicationAttributesInput. + // + // PlatformApplicationArn is a required field PlatformApplicationArn *string `type:"string" required:"true"` } @@ -2451,6 +2487,8 @@ type GetSubscriptionAttributesInput struct { _ struct{} `type:"structure"` // The ARN of the subscription whose properties you want to get. + // + // SubscriptionArn is a required field SubscriptionArn *string `type:"string" required:"true"` } @@ -2517,6 +2555,8 @@ type GetTopicAttributesInput struct { _ struct{} `type:"structure"` // The ARN of the topic whose properties you want to get. + // + // TopicArn is a required field TopicArn *string `type:"string" required:"true"` } @@ -2593,6 +2633,8 @@ type ListEndpointsByPlatformApplicationInput struct { NextToken *string `type:"string"` // PlatformApplicationArn for ListEndpointsByPlatformApplicationInput action. + // + // PlatformApplicationArn is a required field PlatformApplicationArn *string `type:"string" required:"true"` } @@ -2733,6 +2775,8 @@ type ListSubscriptionsByTopicInput struct { NextToken *string `type:"string"` // The ARN of the topic for which you wish to find subscriptions. + // + // TopicArn is a required field TopicArn *string `type:"string" required:"true"` } @@ -2880,6 +2924,8 @@ type MessageAttributeValue struct { // Amazon SNS supports the following logical data types: String, Number, and // Binary. For more information, see Message Attribute Data Types (http://docs.aws.amazon.com/sns/latest/dg/SNSMessageAttributes.html#SNSMessageAttributes.DataTypes). + // + // DataType is a required field DataType *string `type:"string" required:"true"` // Strings are Unicode with UTF8 binary encoding. For a list of code values, @@ -2915,6 +2961,8 @@ type OptInPhoneNumberInput struct { _ struct{} `type:"structure"` // The phone number to opt in. + // + // PhoneNumber is a required field PhoneNumber *string `locationName:"phoneNumber" type:"string" required:"true"` } @@ -3017,6 +3065,8 @@ type PublishInput struct { // // Failure to parse or validate any key or value in the message will cause // the Publish call to return an error (no partial delivery). + // + // Message is a required field Message *string `type:"string" required:"true"` // Message attributes for Publish action. @@ -3129,9 +3179,13 @@ type RemovePermissionInput struct { _ struct{} `type:"structure"` // The unique label of the statement you want to remove. + // + // Label is a required field Label *string `type:"string" required:"true"` // The ARN of the topic whose access control policy you wish to modify. + // + // TopicArn is a required field TopicArn *string `type:"string" required:"true"` } @@ -3193,9 +3247,13 @@ type SetEndpointAttributesInput struct { // Token -- device token, also referred to as a registration id, for an // app and mobile device. This is returned from the notification service when // an app and mobile device are registered with the notification service. + // + // Attributes is a required field Attributes map[string]*string `type:"map" required:"true"` // EndpointArn used for SetEndpointAttributes action. + // + // EndpointArn is a required field EndpointArn *string `type:"string" required:"true"` } @@ -3275,9 +3333,13 @@ type SetPlatformApplicationAttributesInput struct { // // SuccessFeedbackSampleRate -- Sample rate percentage (0-100) of successfully // delivered messages. + // + // Attributes is a required field Attributes map[string]*string `type:"map" required:"true"` // PlatformApplicationArn for SetPlatformApplicationAttributes action. + // + // PlatformApplicationArn is a required field PlatformApplicationArn *string `type:"string" required:"true"` } @@ -3397,6 +3459,8 @@ type SetSMSAttributesInput struct { // For an example bucket policy and usage report, see Monitoring SMS Activity // (http://docs.aws.amazon.com/sns/latest/dg/sms_stats.html) in the Amazon SNS // Developer Guide. + // + // Attributes is a required field Attributes map[string]*string `locationName:"attributes" type:"map" required:"true"` } @@ -3446,12 +3510,16 @@ type SetSubscriptionAttributesInput struct { // attributes are mutable. // // Valid values: DeliveryPolicy | RawMessageDelivery + // + // AttributeName is a required field AttributeName *string `type:"string" required:"true"` // The new value for the attribute in JSON format. AttributeValue *string `type:"string"` // The ARN of the subscription to modify. + // + // SubscriptionArn is a required field SubscriptionArn *string `type:"string" required:"true"` } @@ -3503,12 +3571,16 @@ type SetTopicAttributesInput struct { // are mutable. // // Valid values: Policy | DisplayName | DeliveryPolicy + // + // AttributeName is a required field AttributeName *string `type:"string" required:"true"` // The new value for the attribute. AttributeValue *string `type:"string"` // The ARN of the topic to modify. + // + // TopicArn is a required field TopicArn *string `type:"string" required:"true"` } @@ -3595,9 +3667,13 @@ type SubscribeInput struct { // a mobile app and device. // // lambda -- delivery of JSON-encoded message to an AWS Lambda function. + // + // Protocol is a required field Protocol *string `type:"string" required:"true"` // The ARN of the topic you want to subscribe to. + // + // TopicArn is a required field TopicArn *string `type:"string" required:"true"` } @@ -3700,6 +3776,8 @@ type UnsubscribeInput struct { _ struct{} `type:"structure"` // The ARN of the subscription to be deleted. + // + // SubscriptionArn is a required field SubscriptionArn *string `type:"string" required:"true"` } diff --git a/service/sqs/api.go b/service/sqs/api.go index 9b416bdab1a..7a5b7c99418 100644 --- a/service/sqs/api.go +++ b/service/sqs/api.go @@ -1086,6 +1086,8 @@ type AddPermissionInput struct { // does not need to be signed up for Amazon SQS. For information about locating // the AWS account identification, see Your AWS Identifiers (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/AWSCredentials.html) // in the Amazon SQS Developer Guide. + // + // AWSAccountIds is a required field AWSAccountIds []*string `locationNameList:"AWSAccountId" type:"list" flattened:"true" required:"true"` // The action the client wants to allow for the specified principal. The following @@ -1097,16 +1099,22 @@ type AddPermissionInput struct { // Specifying SendMessage, DeleteMessage, or ChangeMessageVisibility for the // ActionName.n also grants permissions for the corresponding batch versions // of those actions: SendMessageBatch, DeleteMessageBatch, and ChangeMessageVisibilityBatch. + // + // Actions is a required field Actions []*string `locationNameList:"ActionName" type:"list" flattened:"true" required:"true"` // The unique identification of the permission you're setting (e.g., AliceSendMessage). // Constraints: Maximum 80 characters; alphanumeric characters, hyphens (-), // and underscores (_) are allowed. + // + // Label is a required field Label *string `type:"string" required:"true"` // The URL of the Amazon SQS queue to take action on. // // Queue URLs are case-sensitive. + // + // QueueUrl is a required field QueueUrl *string `type:"string" required:"true"` } @@ -1162,15 +1170,21 @@ type BatchResultErrorEntry struct { _ struct{} `type:"structure"` // An error code representing why the action failed on this entry. + // + // Code is a required field Code *string `type:"string" required:"true"` // The id of an entry in a batch request. + // + // Id is a required field Id *string `type:"string" required:"true"` // A message explaining why the action failed on this entry. Message *string `type:"string"` // Whether the error happened due to the sender's fault. + // + // SenderFault is a required field SenderFault *bool `type:"boolean" required:"true"` } @@ -1189,11 +1203,15 @@ type ChangeMessageVisibilityBatchInput struct { // A list of receipt handles of the messages for which the visibility timeout // must be changed. + // + // Entries is a required field Entries []*ChangeMessageVisibilityBatchRequestEntry `locationNameList:"ChangeMessageVisibilityBatchRequestEntry" type:"list" flattened:"true" required:"true"` // The URL of the Amazon SQS queue to take action on. // // Queue URLs are case-sensitive. + // + // QueueUrl is a required field QueueUrl *string `type:"string" required:"true"` } @@ -1240,9 +1258,13 @@ type ChangeMessageVisibilityBatchOutput struct { _ struct{} `type:"structure"` // A list of BatchResultErrorEntry items. + // + // Failed is a required field Failed []*BatchResultErrorEntry `locationNameList:"BatchResultErrorEntry" type:"list" flattened:"true" required:"true"` // A list of ChangeMessageVisibilityBatchResultEntry items. + // + // Successful is a required field Successful []*ChangeMessageVisibilityBatchResultEntry `locationNameList:"ChangeMessageVisibilityBatchResultEntry" type:"list" flattened:"true" required:"true"` } @@ -1272,9 +1294,13 @@ type ChangeMessageVisibilityBatchRequestEntry struct { // An identifier for this particular receipt handle. This is used to communicate // the result. Note that the Ids of a batch request need to be unique within // the request. + // + // Id is a required field Id *string `type:"string" required:"true"` // A receipt handle. + // + // ReceiptHandle is a required field ReceiptHandle *string `type:"string" required:"true"` // The new value (in seconds) for the message's visibility timeout. @@ -1312,6 +1338,8 @@ type ChangeMessageVisibilityBatchResultEntry struct { _ struct{} `type:"structure"` // Represents a message whose visibility timeout has been changed successfully. + // + // Id is a required field Id *string `type:"string" required:"true"` } @@ -1331,14 +1359,20 @@ type ChangeMessageVisibilityInput struct { // The URL of the Amazon SQS queue to take action on. // // Queue URLs are case-sensitive. + // + // QueueUrl is a required field QueueUrl *string `type:"string" required:"true"` // The receipt handle associated with the message whose visibility timeout should // be changed. This parameter is returned by the ReceiveMessage action. + // + // ReceiptHandle is a required field ReceiptHandle *string `type:"string" required:"true"` // The new value (in seconds - from 0 to 43200 - maximum 12 hours) for the message's // visibility timeout. + // + // VisibilityTimeout is a required field VisibilityTimeout *int64 `type:"integer" required:"true"` } @@ -1431,6 +1465,8 @@ type CreateQueueInput struct { // The name for the queue to be created. // // Queue names are case-sensitive. + // + // QueueName is a required field QueueName *string `type:"string" required:"true"` } @@ -1479,11 +1515,15 @@ type DeleteMessageBatchInput struct { _ struct{} `type:"structure"` // A list of receipt handles for the messages to be deleted. + // + // Entries is a required field Entries []*DeleteMessageBatchRequestEntry `locationNameList:"DeleteMessageBatchRequestEntry" type:"list" flattened:"true" required:"true"` // The URL of the Amazon SQS queue to take action on. // // Queue URLs are case-sensitive. + // + // QueueUrl is a required field QueueUrl *string `type:"string" required:"true"` } @@ -1530,9 +1570,13 @@ type DeleteMessageBatchOutput struct { _ struct{} `type:"structure"` // A list of BatchResultErrorEntry items. + // + // Failed is a required field Failed []*BatchResultErrorEntry `locationNameList:"BatchResultErrorEntry" type:"list" flattened:"true" required:"true"` // A list of DeleteMessageBatchResultEntry items. + // + // Successful is a required field Successful []*DeleteMessageBatchResultEntry `locationNameList:"DeleteMessageBatchResultEntry" type:"list" flattened:"true" required:"true"` } @@ -1553,9 +1597,13 @@ type DeleteMessageBatchRequestEntry struct { // An identifier for this particular receipt handle. This is used to communicate // the result. Note that the Ids of a batch request need to be unique within // the request. + // + // Id is a required field Id *string `type:"string" required:"true"` // A receipt handle. + // + // ReceiptHandle is a required field ReceiptHandle *string `type:"string" required:"true"` } @@ -1590,6 +1638,8 @@ type DeleteMessageBatchResultEntry struct { _ struct{} `type:"structure"` // Represents a successfully deleted message. + // + // Id is a required field Id *string `type:"string" required:"true"` } @@ -1609,9 +1659,13 @@ type DeleteMessageInput struct { // The URL of the Amazon SQS queue to take action on. // // Queue URLs are case-sensitive. + // + // QueueUrl is a required field QueueUrl *string `type:"string" required:"true"` // The receipt handle associated with the message to delete. + // + // ReceiptHandle is a required field ReceiptHandle *string `type:"string" required:"true"` } @@ -1661,6 +1715,8 @@ type DeleteQueueInput struct { // The URL of the Amazon SQS queue to take action on. // // Queue URLs are case-sensitive. + // + // QueueUrl is a required field QueueUrl *string `type:"string" required:"true"` } @@ -1760,6 +1816,8 @@ type GetQueueAttributesInput struct { // The URL of the Amazon SQS queue to take action on. // // Queue URLs are case-sensitive. + // + // QueueUrl is a required field QueueUrl *string `type:"string" required:"true"` } @@ -1811,6 +1869,8 @@ type GetQueueUrlInput struct { // characters, hyphens (-), and underscores (_) are allowed. // // Queue names are case-sensitive. + // + // QueueName is a required field QueueName *string `type:"string" required:"true"` // The AWS account ID of the account that created the queue. @@ -1865,6 +1925,8 @@ type ListDeadLetterSourceQueuesInput struct { // The queue URL of a dead letter queue. // // Queue URLs are case-sensitive. + // + // QueueUrl is a required field QueueUrl *string `type:"string" required:"true"` } @@ -1897,6 +1959,8 @@ type ListDeadLetterSourceQueuesOutput struct { // A list of source queue URLs that have the RedrivePolicy queue attribute configured // with a dead letter queue. + // + // QueueUrls is a required field QueueUrls []*string `locationName:"queueUrls" locationNameList:"QueueUrl" type:"list" flattened:"true" required:"true"` } @@ -2019,6 +2083,8 @@ type MessageAttributeValue struct { // // You can also append custom labels. For more information, see Message Attribute // Data Types (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/SQSMessageAttributes.html#SQSMessageAttributes.DataTypes). + // + // DataType is a required field DataType *string `type:"string" required:"true"` // Not implemented. Reserved for future use. @@ -2059,6 +2125,8 @@ type PurgeQueueInput struct { // API. // // Queue URLs are case-sensitive. + // + // QueueUrl is a required field QueueUrl *string `type:"string" required:"true"` } @@ -2151,6 +2219,8 @@ type ReceiveMessageInput struct { // The URL of the Amazon SQS queue to take action on. // // Queue URLs are case-sensitive. + // + // QueueUrl is a required field QueueUrl *string `type:"string" required:"true"` // The duration (in seconds) that the received messages are hidden from subsequent @@ -2209,11 +2279,15 @@ type RemovePermissionInput struct { // The identification of the permission to remove. This is the label added with // the AddPermission action. + // + // Label is a required field Label *string `type:"string" required:"true"` // The URL of the Amazon SQS queue to take action on. // // Queue URLs are case-sensitive. + // + // QueueUrl is a required field QueueUrl *string `type:"string" required:"true"` } @@ -2261,11 +2335,15 @@ type SendMessageBatchInput struct { _ struct{} `type:"structure"` // A list of SendMessageBatchRequestEntry items. + // + // Entries is a required field Entries []*SendMessageBatchRequestEntry `locationNameList:"SendMessageBatchRequestEntry" type:"list" flattened:"true" required:"true"` // The URL of the Amazon SQS queue to take action on. // // Queue URLs are case-sensitive. + // + // QueueUrl is a required field QueueUrl *string `type:"string" required:"true"` } @@ -2313,9 +2391,13 @@ type SendMessageBatchOutput struct { // A list of BatchResultErrorEntry items with the error detail about each message // that could not be enqueued. + // + // Failed is a required field Failed []*BatchResultErrorEntry `locationNameList:"BatchResultErrorEntry" type:"list" flattened:"true" required:"true"` // A list of SendMessageBatchResultEntry items. + // + // Successful is a required field Successful []*SendMessageBatchResultEntry `locationNameList:"SendMessageBatchResultEntry" type:"list" flattened:"true" required:"true"` } @@ -2339,6 +2421,8 @@ type SendMessageBatchRequestEntry struct { // An identifier for the message in this batch. This is used to communicate // the result. Note that the Ids of a batch request need to be unique within // the request. + // + // Id is a required field Id *string `type:"string" required:"true"` // Each message attribute consists of a Name, Type, and Value. For more information, @@ -2346,6 +2430,8 @@ type SendMessageBatchRequestEntry struct { MessageAttributes map[string]*MessageAttributeValue `locationName:"MessageAttribute" locationNameKey:"Name" locationNameValue:"Value" type:"map" flattened:"true"` // Body of the message. + // + // MessageBody is a required field MessageBody *string `type:"string" required:"true"` } @@ -2390,6 +2476,8 @@ type SendMessageBatchResultEntry struct { _ struct{} `type:"structure"` // An identifier for the message in this batch. + // + // Id is a required field Id *string `type:"string" required:"true"` // An MD5 digest of the non-URL-encoded message attribute string. This can be @@ -2402,9 +2490,13 @@ type SendMessageBatchResultEntry struct { // to verify that Amazon SQS received the message correctly. Amazon SQS first // URL decodes the message before creating the MD5 digest. For information about // MD5, go to http://www.faqs.org/rfcs/rfc1321.html (http://www.faqs.org/rfcs/rfc1321.html). + // + // MD5OfMessageBody is a required field MD5OfMessageBody *string `type:"string" required:"true"` // An identifier for the message. + // + // MessageId is a required field MessageId *string `type:"string" required:"true"` } @@ -2433,11 +2525,15 @@ type SendMessageInput struct { // The message to send. String maximum 256 KB in size. For a list of allowed // characters, see the preceding important note. + // + // MessageBody is a required field MessageBody *string `type:"string" required:"true"` // The URL of the Amazon SQS queue to take action on. // // Queue URLs are case-sensitive. + // + // QueueUrl is a required field QueueUrl *string `type:"string" required:"true"` } @@ -2549,11 +2645,15 @@ type SetQueueAttributesInput struct { // Any other valid special request parameters that are specified (such as // ApproximateNumberOfMessages, ApproximateNumberOfMessagesDelayed, ApproximateNumberOfMessagesNotVisible, // CreatedTimestamp, LastModifiedTimestamp, and QueueArn) will be ignored. + // + // Attributes is a required field Attributes map[string]*string `locationName:"Attribute" locationNameKey:"Name" locationNameValue:"Value" type:"map" flattened:"true" required:"true"` // The URL of the Amazon SQS queue to take action on. // // Queue URLs are case-sensitive. + // + // QueueUrl is a required field QueueUrl *string `type:"string" required:"true"` } @@ -2598,30 +2698,42 @@ func (s SetQueueAttributesOutput) GoString() string { } const ( - // @enum QueueAttributeName + // QueueAttributeNamePolicy is a QueueAttributeName enum value QueueAttributeNamePolicy = "Policy" - // @enum QueueAttributeName + + // QueueAttributeNameVisibilityTimeout is a QueueAttributeName enum value QueueAttributeNameVisibilityTimeout = "VisibilityTimeout" - // @enum QueueAttributeName + + // QueueAttributeNameMaximumMessageSize is a QueueAttributeName enum value QueueAttributeNameMaximumMessageSize = "MaximumMessageSize" - // @enum QueueAttributeName + + // QueueAttributeNameMessageRetentionPeriod is a QueueAttributeName enum value QueueAttributeNameMessageRetentionPeriod = "MessageRetentionPeriod" - // @enum QueueAttributeName + + // QueueAttributeNameApproximateNumberOfMessages is a QueueAttributeName enum value QueueAttributeNameApproximateNumberOfMessages = "ApproximateNumberOfMessages" - // @enum QueueAttributeName + + // QueueAttributeNameApproximateNumberOfMessagesNotVisible is a QueueAttributeName enum value QueueAttributeNameApproximateNumberOfMessagesNotVisible = "ApproximateNumberOfMessagesNotVisible" - // @enum QueueAttributeName + + // QueueAttributeNameCreatedTimestamp is a QueueAttributeName enum value QueueAttributeNameCreatedTimestamp = "CreatedTimestamp" - // @enum QueueAttributeName + + // QueueAttributeNameLastModifiedTimestamp is a QueueAttributeName enum value QueueAttributeNameLastModifiedTimestamp = "LastModifiedTimestamp" - // @enum QueueAttributeName + + // QueueAttributeNameQueueArn is a QueueAttributeName enum value QueueAttributeNameQueueArn = "QueueArn" - // @enum QueueAttributeName + + // QueueAttributeNameApproximateNumberOfMessagesDelayed is a QueueAttributeName enum value QueueAttributeNameApproximateNumberOfMessagesDelayed = "ApproximateNumberOfMessagesDelayed" - // @enum QueueAttributeName + + // QueueAttributeNameDelaySeconds is a QueueAttributeName enum value QueueAttributeNameDelaySeconds = "DelaySeconds" - // @enum QueueAttributeName + + // QueueAttributeNameReceiveMessageWaitTimeSeconds is a QueueAttributeName enum value QueueAttributeNameReceiveMessageWaitTimeSeconds = "ReceiveMessageWaitTimeSeconds" - // @enum QueueAttributeName + + // QueueAttributeNameRedrivePolicy is a QueueAttributeName enum value QueueAttributeNameRedrivePolicy = "RedrivePolicy" ) diff --git a/service/ssm/api.go b/service/ssm/api.go index 3246b39edf5..aff4623e340 100644 --- a/service/ssm/api.go +++ b/service/ssm/api.go @@ -1566,14 +1566,20 @@ type AddTagsToResourceInput struct { _ struct{} `type:"structure"` // The resource ID you want to tag. + // + // ResourceId is a required field ResourceId *string `type:"string" required:"true"` // Specifies the type of resource you are tagging. + // + // ResourceType is a required field ResourceType *string `type:"string" required:"true" enum:"ResourceTypeForTagging"` // One or more tags. The value parameter is required, but if you don't want // the tag to have a value, specify the parameter with no value, and we set // the value to an empty string. + // + // Tags is a required field Tags []*Tag `type:"list" required:"true"` } @@ -1686,9 +1692,13 @@ type AssociationFilter struct { _ struct{} `type:"structure"` // The name of the filter. + // + // Key is a required field Key *string `locationName:"key" type:"string" required:"true" enum:"AssociationFilterKey"` // The filter value. + // + // Value is a required field Value *string `locationName:"value" min:"1" type:"string" required:"true"` } @@ -1729,12 +1739,18 @@ type AssociationStatus struct { AdditionalInfo *string `type:"string"` // The date when the status changed. + // + // Date is a required field Date *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"` // The reason for the status. + // + // Message is a required field Message *string `type:"string" required:"true"` // The status. + // + // Name is a required field Name *string `type:"string" required:"true" enum:"AssociationStatusName"` } @@ -1771,6 +1787,8 @@ type CancelCommandInput struct { _ struct{} `type:"structure"` // The ID of the command you want to cancel. + // + // CommandId is a required field CommandId *string `min:"36" type:"string" required:"true"` // (Optional) A list of instance IDs on which you want to cancel the command. @@ -1887,9 +1905,13 @@ type CommandFilter struct { _ struct{} `type:"structure"` // The name of the filter. For example, requested date and time. + // + // Key is a required field Key *string `locationName:"key" type:"string" required:"true" enum:"CommandFilterKey"` // The filter value. For example: June 30, 2015. + // + // Value is a required field Value *string `locationName:"value" min:"1" type:"string" required:"true"` } @@ -2034,6 +2056,8 @@ type CreateActivationInput struct { // The Amazon Identity and Access Management (IAM) role that you want to assign // to the managed instance. + // + // IamRole is a required field IamRole *string `type:"string" required:"true"` // Specify the maximum number of managed instances you want to register. The @@ -2093,6 +2117,8 @@ type CreateAssociationBatchInput struct { _ struct{} `type:"structure"` // One or more associations. + // + // Entries is a required field Entries []*CreateAssociationBatchRequestEntry `locationNameList:"entries" type:"list" required:"true"` } @@ -2167,9 +2193,13 @@ type CreateAssociationInput struct { _ struct{} `type:"structure"` // The instance ID. + // + // InstanceId is a required field InstanceId *string `type:"string" required:"true"` // The name of the SSM document. + // + // Name is a required field Name *string `type:"string" required:"true"` // The parameters for the documents runtime configuration. @@ -2223,9 +2253,13 @@ type CreateDocumentInput struct { _ struct{} `type:"structure"` // A valid JSON string. + // + // Content is a required field Content *string `min:"1" type:"string" required:"true"` // A name for the SSM document. + // + // Name is a required field Name *string `type:"string" required:"true"` } @@ -2279,6 +2313,8 @@ type DeleteActivationInput struct { _ struct{} `type:"structure"` // The ID of the activation that you want to delete. + // + // ActivationId is a required field ActivationId *string `type:"string" required:"true"` } @@ -2323,9 +2359,13 @@ type DeleteAssociationInput struct { _ struct{} `type:"structure"` // The ID of the instance. + // + // InstanceId is a required field InstanceId *string `type:"string" required:"true"` // The name of the SSM document. + // + // Name is a required field Name *string `type:"string" required:"true"` } @@ -2373,6 +2413,8 @@ type DeleteDocumentInput struct { _ struct{} `type:"structure"` // The name of the SSM document. + // + // Name is a required field Name *string `type:"string" required:"true"` } @@ -2418,6 +2460,8 @@ type DeregisterManagedInstanceInput struct { // The ID assigned to the managed instance when you registered it using the // activation process. + // + // InstanceId is a required field InstanceId *string `type:"string" required:"true"` } @@ -2542,9 +2586,13 @@ type DescribeAssociationInput struct { _ struct{} `type:"structure"` // The instance ID. + // + // InstanceId is a required field InstanceId *string `type:"string" required:"true"` // The name of the SSM document. + // + // Name is a required field Name *string `type:"string" required:"true"` } @@ -2595,6 +2643,8 @@ type DescribeDocumentInput struct { _ struct{} `type:"structure"` // The name of the SSM document. + // + // Name is a required field Name *string `type:"string" required:"true"` } @@ -2642,9 +2692,13 @@ type DescribeDocumentPermissionInput struct { _ struct{} `type:"structure"` // The name of the document for which you are the owner. + // + // Name is a required field Name *string `type:"string" required:"true"` // The permission type for the document. The permission type can be Share. + // + // PermissionType is a required field PermissionType *string `type:"string" required:"true" enum:"DocumentPermissionType"` } @@ -2819,9 +2873,13 @@ type DocumentFilter struct { _ struct{} `type:"structure"` // The name of the filter. + // + // Key is a required field Key *string `locationName:"key" type:"string" required:"true" enum:"DocumentFilterKey"` // The value of the filter. + // + // Value is a required field Value *string `locationName:"value" min:"1" type:"string" required:"true"` } @@ -2936,6 +2994,8 @@ type GetDocumentInput struct { _ struct{} `type:"structure"` // The name of the SSM document. + // + // Name is a required field Name *string `type:"string" required:"true"` } @@ -3048,9 +3108,13 @@ type InstanceInformationFilter struct { _ struct{} `type:"structure"` // The name of the filter. + // + // Key is a required field Key *string `locationName:"key" type:"string" required:"true" enum:"InstanceInformationFilterKey"` // The filter values. + // + // ValueSet is a required field ValueSet []*string `locationName:"valueSet" locationNameList:"InstanceInformationFilterValue" min:"1" type:"list" required:"true"` } @@ -3087,6 +3151,8 @@ type ListAssociationsInput struct { _ struct{} `type:"structure"` // One or more filters. Use a filter to return a more specific list of results. + // + // AssociationFilterList is a required field AssociationFilterList []*AssociationFilter `locationNameList:"AssociationFilter" min:"1" type:"list" required:"true"` // The maximum number of items to return for this call. The call also returns @@ -3406,9 +3472,13 @@ type ListTagsForResourceInput struct { _ struct{} `type:"structure"` // The resource ID for which you want to see a list of tags. + // + // ResourceId is a required field ResourceId *string `type:"string" required:"true"` // Returns a list of tags for a specific resource type. + // + // ResourceType is a required field ResourceType *string `type:"string" required:"true" enum:"ResourceTypeForTagging"` } @@ -3469,9 +3539,13 @@ type ModifyDocumentPermissionInput struct { AccountIdsToRemove []*string `locationNameList:"AccountId" type:"list"` // The name of the document that you want to share. + // + // Name is a required field Name *string `type:"string" required:"true"` // The permission type for the document. The permission type can be Share. + // + // PermissionType is a required field PermissionType *string `type:"string" required:"true" enum:"DocumentPermissionType"` } @@ -3549,12 +3623,18 @@ type RemoveTagsFromResourceInput struct { _ struct{} `type:"structure"` // The resource ID for which you want to remove tags. + // + // ResourceId is a required field ResourceId *string `type:"string" required:"true"` // The type of resource of which you want to remove a tag. + // + // ResourceType is a required field ResourceType *string `type:"string" required:"true" enum:"ResourceTypeForTagging"` // Tag keys that you want to remove from the specified resource. + // + // TagKeys is a required field TagKeys []*string `type:"list" required:"true"` } @@ -3620,10 +3700,14 @@ type SendCommandInput struct { // Required. The name of the SSM document to execute. This can be an SSM public // document or a custom document. + // + // DocumentName is a required field DocumentName *string `type:"string" required:"true"` // Required. The instance IDs where the command should execute. You can specify // a maximum of 50 IDs. + // + // InstanceIds is a required field InstanceIds []*string `min:"1" type:"list" required:"true"` // Configurations for sending notifications. @@ -3708,9 +3792,13 @@ type Tag struct { _ struct{} `type:"structure"` // The name of the tag. + // + // Key is a required field Key *string `min:"1" type:"string" required:"true"` // The value of the tag. + // + // Value is a required field Value *string `min:"1" type:"string" required:"true"` } @@ -3750,12 +3838,18 @@ type UpdateAssociationStatusInput struct { _ struct{} `type:"structure"` // The association status. + // + // AssociationStatus is a required field AssociationStatus *AssociationStatus `type:"structure" required:"true"` // The ID of the instance. + // + // InstanceId is a required field InstanceId *string `type:"string" required:"true"` // The name of the SSM document. + // + // Name is a required field Name *string `type:"string" required:"true"` } @@ -3814,9 +3908,13 @@ type UpdateManagedInstanceRoleInput struct { _ struct{} `type:"structure"` // The IAM role you want to assign or change. + // + // IamRole is a required field IamRole *string `type:"string" required:"true"` // The ID of the managed instance where you want to update the role. + // + // InstanceId is a required field InstanceId *string `type:"string" required:"true"` } @@ -3861,199 +3959,248 @@ func (s UpdateManagedInstanceRoleOutput) GoString() string { } const ( - // @enum AssociationFilterKey + // AssociationFilterKeyInstanceId is a AssociationFilterKey enum value AssociationFilterKeyInstanceId = "InstanceId" - // @enum AssociationFilterKey + + // AssociationFilterKeyName is a AssociationFilterKey enum value AssociationFilterKeyName = "Name" ) const ( - // @enum AssociationStatusName + // AssociationStatusNamePending is a AssociationStatusName enum value AssociationStatusNamePending = "Pending" - // @enum AssociationStatusName + + // AssociationStatusNameSuccess is a AssociationStatusName enum value AssociationStatusNameSuccess = "Success" - // @enum AssociationStatusName + + // AssociationStatusNameFailed is a AssociationStatusName enum value AssociationStatusNameFailed = "Failed" ) const ( - // @enum CommandFilterKey + // CommandFilterKeyInvokedAfter is a CommandFilterKey enum value CommandFilterKeyInvokedAfter = "InvokedAfter" - // @enum CommandFilterKey + + // CommandFilterKeyInvokedBefore is a CommandFilterKey enum value CommandFilterKeyInvokedBefore = "InvokedBefore" - // @enum CommandFilterKey + + // CommandFilterKeyStatus is a CommandFilterKey enum value CommandFilterKeyStatus = "Status" ) const ( - // @enum CommandInvocationStatus + // CommandInvocationStatusPending is a CommandInvocationStatus enum value CommandInvocationStatusPending = "Pending" - // @enum CommandInvocationStatus + + // CommandInvocationStatusInProgress is a CommandInvocationStatus enum value CommandInvocationStatusInProgress = "InProgress" - // @enum CommandInvocationStatus + + // CommandInvocationStatusCancelling is a CommandInvocationStatus enum value CommandInvocationStatusCancelling = "Cancelling" - // @enum CommandInvocationStatus + + // CommandInvocationStatusSuccess is a CommandInvocationStatus enum value CommandInvocationStatusSuccess = "Success" - // @enum CommandInvocationStatus + + // CommandInvocationStatusTimedOut is a CommandInvocationStatus enum value CommandInvocationStatusTimedOut = "TimedOut" - // @enum CommandInvocationStatus + + // CommandInvocationStatusCancelled is a CommandInvocationStatus enum value CommandInvocationStatusCancelled = "Cancelled" - // @enum CommandInvocationStatus + + // CommandInvocationStatusFailed is a CommandInvocationStatus enum value CommandInvocationStatusFailed = "Failed" ) const ( - // @enum CommandPluginStatus + // CommandPluginStatusPending is a CommandPluginStatus enum value CommandPluginStatusPending = "Pending" - // @enum CommandPluginStatus + + // CommandPluginStatusInProgress is a CommandPluginStatus enum value CommandPluginStatusInProgress = "InProgress" - // @enum CommandPluginStatus + + // CommandPluginStatusSuccess is a CommandPluginStatus enum value CommandPluginStatusSuccess = "Success" - // @enum CommandPluginStatus + + // CommandPluginStatusTimedOut is a CommandPluginStatus enum value CommandPluginStatusTimedOut = "TimedOut" - // @enum CommandPluginStatus + + // CommandPluginStatusCancelled is a CommandPluginStatus enum value CommandPluginStatusCancelled = "Cancelled" - // @enum CommandPluginStatus + + // CommandPluginStatusFailed is a CommandPluginStatus enum value CommandPluginStatusFailed = "Failed" ) const ( - // @enum CommandStatus + // CommandStatusPending is a CommandStatus enum value CommandStatusPending = "Pending" - // @enum CommandStatus + + // CommandStatusInProgress is a CommandStatus enum value CommandStatusInProgress = "InProgress" - // @enum CommandStatus + + // CommandStatusCancelling is a CommandStatus enum value CommandStatusCancelling = "Cancelling" - // @enum CommandStatus + + // CommandStatusSuccess is a CommandStatus enum value CommandStatusSuccess = "Success" - // @enum CommandStatus + + // CommandStatusTimedOut is a CommandStatus enum value CommandStatusTimedOut = "TimedOut" - // @enum CommandStatus + + // CommandStatusCancelled is a CommandStatus enum value CommandStatusCancelled = "Cancelled" - // @enum CommandStatus + + // CommandStatusFailed is a CommandStatus enum value CommandStatusFailed = "Failed" ) const ( - // @enum DescribeActivationsFilterKeys + // DescribeActivationsFilterKeysActivationIds is a DescribeActivationsFilterKeys enum value DescribeActivationsFilterKeysActivationIds = "ActivationIds" - // @enum DescribeActivationsFilterKeys + + // DescribeActivationsFilterKeysDefaultInstanceName is a DescribeActivationsFilterKeys enum value DescribeActivationsFilterKeysDefaultInstanceName = "DefaultInstanceName" - // @enum DescribeActivationsFilterKeys + + // DescribeActivationsFilterKeysIamRole is a DescribeActivationsFilterKeys enum value DescribeActivationsFilterKeysIamRole = "IamRole" ) const ( - // @enum DocumentFilterKey + // DocumentFilterKeyName is a DocumentFilterKey enum value DocumentFilterKeyName = "Name" - // @enum DocumentFilterKey + + // DocumentFilterKeyOwner is a DocumentFilterKey enum value DocumentFilterKeyOwner = "Owner" - // @enum DocumentFilterKey + + // DocumentFilterKeyPlatformTypes is a DocumentFilterKey enum value DocumentFilterKeyPlatformTypes = "PlatformTypes" ) const ( - // @enum DocumentHashType + // DocumentHashTypeSha256 is a DocumentHashType enum value DocumentHashTypeSha256 = "Sha256" - // @enum DocumentHashType + + // DocumentHashTypeSha1 is a DocumentHashType enum value DocumentHashTypeSha1 = "Sha1" ) const ( - // @enum DocumentParameterType + // DocumentParameterTypeString is a DocumentParameterType enum value DocumentParameterTypeString = "String" - // @enum DocumentParameterType + + // DocumentParameterTypeStringList is a DocumentParameterType enum value DocumentParameterTypeStringList = "StringList" ) const ( - // @enum DocumentPermissionType + // DocumentPermissionTypeShare is a DocumentPermissionType enum value DocumentPermissionTypeShare = "Share" ) const ( - // @enum DocumentStatus + // DocumentStatusCreating is a DocumentStatus enum value DocumentStatusCreating = "Creating" - // @enum DocumentStatus + + // DocumentStatusActive is a DocumentStatus enum value DocumentStatusActive = "Active" - // @enum DocumentStatus + + // DocumentStatusDeleting is a DocumentStatus enum value DocumentStatusDeleting = "Deleting" ) const ( - // @enum Fault + // FaultClient is a Fault enum value FaultClient = "Client" - // @enum Fault + + // FaultServer is a Fault enum value FaultServer = "Server" - // @enum Fault + + // FaultUnknown is a Fault enum value FaultUnknown = "Unknown" ) const ( - // @enum InstanceInformationFilterKey + // InstanceInformationFilterKeyInstanceIds is a InstanceInformationFilterKey enum value InstanceInformationFilterKeyInstanceIds = "InstanceIds" - // @enum InstanceInformationFilterKey + + // InstanceInformationFilterKeyAgentVersion is a InstanceInformationFilterKey enum value InstanceInformationFilterKeyAgentVersion = "AgentVersion" - // @enum InstanceInformationFilterKey + + // InstanceInformationFilterKeyPingStatus is a InstanceInformationFilterKey enum value InstanceInformationFilterKeyPingStatus = "PingStatus" - // @enum InstanceInformationFilterKey + + // InstanceInformationFilterKeyPlatformTypes is a InstanceInformationFilterKey enum value InstanceInformationFilterKeyPlatformTypes = "PlatformTypes" - // @enum InstanceInformationFilterKey + + // InstanceInformationFilterKeyActivationIds is a InstanceInformationFilterKey enum value InstanceInformationFilterKeyActivationIds = "ActivationIds" - // @enum InstanceInformationFilterKey + + // InstanceInformationFilterKeyIamRole is a InstanceInformationFilterKey enum value InstanceInformationFilterKeyIamRole = "IamRole" - // @enum InstanceInformationFilterKey + + // InstanceInformationFilterKeyResourceType is a InstanceInformationFilterKey enum value InstanceInformationFilterKeyResourceType = "ResourceType" ) const ( - // @enum NotificationEvent + // NotificationEventAll is a NotificationEvent enum value NotificationEventAll = "All" - // @enum NotificationEvent + + // NotificationEventInProgress is a NotificationEvent enum value NotificationEventInProgress = "InProgress" - // @enum NotificationEvent + + // NotificationEventSuccess is a NotificationEvent enum value NotificationEventSuccess = "Success" - // @enum NotificationEvent + + // NotificationEventTimedOut is a NotificationEvent enum value NotificationEventTimedOut = "TimedOut" - // @enum NotificationEvent + + // NotificationEventCancelled is a NotificationEvent enum value NotificationEventCancelled = "Cancelled" - // @enum NotificationEvent + + // NotificationEventFailed is a NotificationEvent enum value NotificationEventFailed = "Failed" ) const ( - // @enum NotificationType + // NotificationTypeCommand is a NotificationType enum value NotificationTypeCommand = "Command" - // @enum NotificationType + + // NotificationTypeInvocation is a NotificationType enum value NotificationTypeInvocation = "Invocation" ) const ( - // @enum PingStatus + // PingStatusOnline is a PingStatus enum value PingStatusOnline = "Online" - // @enum PingStatus + + // PingStatusConnectionLost is a PingStatus enum value PingStatusConnectionLost = "ConnectionLost" - // @enum PingStatus + + // PingStatusInactive is a PingStatus enum value PingStatusInactive = "Inactive" ) const ( - // @enum PlatformType + // PlatformTypeWindows is a PlatformType enum value PlatformTypeWindows = "Windows" - // @enum PlatformType + + // PlatformTypeLinux is a PlatformType enum value PlatformTypeLinux = "Linux" ) const ( - // @enum ResourceType + // ResourceTypeManagedInstance is a ResourceType enum value ResourceTypeManagedInstance = "ManagedInstance" - // @enum ResourceType + + // ResourceTypeDocument is a ResourceType enum value ResourceTypeDocument = "Document" - // @enum ResourceType + + // ResourceTypeEc2instance is a ResourceType enum value ResourceTypeEc2instance = "EC2Instance" ) const ( - // @enum ResourceTypeForTagging + // ResourceTypeForTaggingManagedInstance is a ResourceTypeForTagging enum value ResourceTypeForTaggingManagedInstance = "ManagedInstance" ) diff --git a/service/storagegateway/api.go b/service/storagegateway/api.go index 9029bfff8c8..c7ae77d7cd0 100644 --- a/service/storagegateway/api.go +++ b/service/storagegateway/api.go @@ -3280,9 +3280,13 @@ type ActivateGatewayInput struct { // also include other activation-related parameters, however, these are merely // defaults -- the arguments you pass to the ActivateGateway API call determine // the actual configuration of your gateway. + // + // ActivationKey is a required field ActivationKey *string `min:"1" type:"string" required:"true"` // The name you configured for your gateway. + // + // GatewayName is a required field GatewayName *string `min:"2" type:"string" required:"true"` // A value that indicates the region where you want to store the snapshot backups. @@ -3293,11 +3297,15 @@ type ActivateGatewayInput struct { // // Valid Values: "us-east-1", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", // "ap-northeast-1", "ap-northeast-2", "ap-southeast-1", "ap-southeast-2", "sa-east-1" + // + // GatewayRegion is a required field GatewayRegion *string `min:"1" type:"string" required:"true"` // A value that indicates the time zone you want to set for the gateway. The // time zone is used, for example, for scheduling snapshots and your gateway's // maintenance schedule. + // + // GatewayTimezone is a required field GatewayTimezone *string `min:"3" type:"string" required:"true"` // A value that defines the type of gateway to activate. The type specified @@ -3400,10 +3408,13 @@ func (s ActivateGatewayOutput) GoString() string { type AddCacheInput struct { _ struct{} `type:"structure"` + // DiskIds is a required field DiskIds []*string `type:"list" required:"true"` // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. + // + // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` } @@ -3459,6 +3470,8 @@ type AddTagsToResourceInput struct { _ struct{} `type:"structure"` // The Amazon Resource Name (ARN) of the resource you want to add tags to. + // + // ResourceARN is a required field ResourceARN *string `min:"50" type:"string" required:"true"` // The key-value pair that represents the tag you want to add to the resource. @@ -3466,6 +3479,8 @@ type AddTagsToResourceInput struct { // // Valid characters for key and value are letters, spaces, and numbers representable // in UTF-8 format, and the following special characters: + - = . _ : / @. + // + // Tags is a required field Tags []*Tag `type:"list" required:"true"` } @@ -3529,10 +3544,13 @@ func (s AddTagsToResourceOutput) GoString() string { type AddUploadBufferInput struct { _ struct{} `type:"structure"` + // DiskIds is a required field DiskIds []*string `type:"list" required:"true"` // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. + // + // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` } @@ -3592,10 +3610,14 @@ type AddWorkingStorageInput struct { // An array of strings that identify disks that are to be configured as working // storage. Each string have a minimum length of 1 and maximum length of 300. // You can get the disk IDs from the ListLocalDisks API. + // + // DiskIds is a required field DiskIds []*string `type:"list" required:"true"` // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. + // + // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` } @@ -3685,10 +3707,14 @@ type CancelArchivalInput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. + // + // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // The Amazon Resource Name (ARN) of the virtual tape you want to cancel archiving // for. + // + // TapeARN is a required field TapeARN *string `min:"50" type:"string" required:"true"` } @@ -3749,10 +3775,14 @@ type CancelRetrievalInput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. + // + // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // The Amazon Resource Name (ARN) of the virtual tape you want to cancel retrieval // for. + // + // TapeARN is a required field TapeARN *string `min:"50" type:"string" required:"true"` } @@ -3843,18 +3873,24 @@ func (s ChapInfo) GoString() string { type CreateCachediSCSIVolumeInput struct { _ struct{} `type:"structure"` + // ClientToken is a required field ClientToken *string `min:"5" type:"string" required:"true"` // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. + // + // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` + // NetworkInterfaceId is a required field NetworkInterfaceId *string `type:"string" required:"true"` SnapshotId *string `type:"string"` + // TargetName is a required field TargetName *string `min:"1" type:"string" required:"true"` + // VolumeSizeInBytes is a required field VolumeSizeInBytes *int64 `type:"long" required:"true"` } @@ -3923,8 +3959,10 @@ func (s CreateCachediSCSIVolumeOutput) GoString() string { type CreateSnapshotFromVolumeRecoveryPointInput struct { _ struct{} `type:"structure"` + // SnapshotDescription is a required field SnapshotDescription *string `min:"1" type:"string" required:"true"` + // VolumeARN is a required field VolumeARN *string `min:"50" type:"string" required:"true"` } @@ -3991,10 +4029,14 @@ type CreateSnapshotInput struct { // Textual description of the snapshot that appears in the Amazon EC2 console, // Elastic Block Store snapshots panel in the Description field, and in the // AWS Storage Gateway snapshot Details pane, Description field + // + // SnapshotDescription is a required field SnapshotDescription *string `min:"1" type:"string" required:"true"` // The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation // to return a list of gateway volumes. + // + // VolumeARN is a required field VolumeARN *string `min:"50" type:"string" required:"true"` } @@ -4070,10 +4112,14 @@ type CreateStorediSCSIVolumeInput struct { // The unique identifier for the gateway local disk that is configured as a // stored volume. Use ListLocalDisks (http://docs.aws.amazon.com/storagegateway/latest/userguide/API_ListLocalDisks.html) // to list disk IDs for a gateway. + // + // DiskId is a required field DiskId *string `min:"1" type:"string" required:"true"` // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. + // + // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // The network interface of the gateway on which to expose the iSCSI target. @@ -4081,12 +4127,16 @@ type CreateStorediSCSIVolumeInput struct { // list of the network interfaces available on a gateway. // // Valid Values: A valid IP address. + // + // NetworkInterfaceId is a required field NetworkInterfaceId *string `type:"string" required:"true"` // Specify this field as true if you want to preserve the data on the local // disk. Otherwise, specifying this field as false creates an empty volume. // // Valid Values: true, false + // + // PreserveExistingData is a required field PreserveExistingData *bool `type:"boolean" required:"true"` // The snapshot ID (e.g. "snap-1122aabb") of the snapshot to restore as the @@ -4100,6 +4150,8 @@ type CreateStorediSCSIVolumeInput struct { // and as a suffix for the target ARN. For example, specifying TargetName as // myvolume results in the target ARN of arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume. // The target name must be unique across all volumes of a gateway. + // + // TargetName is a required field TargetName *string `min:"1" type:"string" required:"true"` } @@ -4179,14 +4231,20 @@ type CreateTapeWithBarcodeInput struct { // The unique Amazon Resource Name (ARN) that represents the gateway to associate // the virtual tape with. Use the ListGateways operation to return a list of // gateways for your account and region. + // + // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // The barcode that you want to assign to the tape. + // + // TapeBarcode is a required field TapeBarcode *string `min:"7" type:"string" required:"true"` // The size, in bytes, of the virtual tape that you want to create. // // The size must be aligned by gigabyte (1024*1024*1024 byte). + // + // TapeSizeInBytes is a required field TapeSizeInBytes *int64 `type:"long" required:"true"` } @@ -4252,14 +4310,20 @@ type CreateTapesInput struct { // use the same ClientToken you specified in the initial request. // // Using the same ClientToken prevents creating the tape multiple times. + // + // ClientToken is a required field ClientToken *string `min:"5" type:"string" required:"true"` // The unique Amazon Resource Name (ARN) that represents the gateway to associate // the virtual tapes with. Use the ListGateways operation to return a list of // gateways for your account and region. + // + // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // The number of virtual tapes that you want to create. + // + // NumTapesToCreate is a required field NumTapesToCreate *int64 `min:"1" type:"integer" required:"true"` // A prefix that you append to the barcode of the virtual tape you are creating. @@ -4267,11 +4331,15 @@ type CreateTapesInput struct { // // The prefix must be 1 to 4 characters in length and must be one of the uppercase // letters from A to Z. + // + // TapeBarcodePrefix is a required field TapeBarcodePrefix *string `min:"1" type:"string" required:"true"` // The size, in bytes, of the virtual tapes that you want to create. // // The size must be aligned by gigabyte (1024*1024*1024 byte). + // + // TapeSizeInBytes is a required field TapeSizeInBytes *int64 `type:"long" required:"true"` } @@ -4344,10 +4412,13 @@ func (s CreateTapesOutput) GoString() string { type DeleteBandwidthRateLimitInput struct { _ struct{} `type:"structure"` + // BandwidthType is a required field BandwidthType *string `min:"3" type:"string" required:"true"` // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. + // + // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` } @@ -4412,10 +4483,14 @@ type DeleteChapCredentialsInput struct { _ struct{} `type:"structure"` // The iSCSI initiator that connects to the target. + // + // InitiatorName is a required field InitiatorName *string `min:"1" type:"string" required:"true"` // The Amazon Resource Name (ARN) of the iSCSI volume target. Use the DescribeStorediSCSIVolumes // operation to return to retrieve the TargetARN for specified VolumeARN. + // + // TargetARN is a required field TargetARN *string `min:"50" type:"string" required:"true"` } @@ -4478,6 +4553,8 @@ type DeleteGatewayInput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. + // + // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` } @@ -4529,6 +4606,7 @@ func (s DeleteGatewayOutput) GoString() string { type DeleteSnapshotScheduleInput struct { _ struct{} `type:"structure"` + // VolumeARN is a required field VolumeARN *string `min:"50" type:"string" required:"true"` } @@ -4580,6 +4658,8 @@ type DeleteTapeArchiveInput struct { // The Amazon Resource Name (ARN) of the virtual tape to delete from the virtual // tape shelf (VTS). + // + // TapeARN is a required field TapeARN *string `min:"50" type:"string" required:"true"` } @@ -4635,9 +4715,13 @@ type DeleteTapeInput struct { // The unique Amazon Resource Name (ARN) of the gateway that the virtual tape // to delete is associated with. Use the ListGateways operation to return a // list of gateways for your account and region. + // + // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // The Amazon Resource Name (ARN) of the virtual tape to delete. + // + // TapeARN is a required field TapeARN *string `min:"50" type:"string" required:"true"` } @@ -4697,6 +4781,8 @@ type DeleteVolumeInput struct { // The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation // to return a list of gateway volumes. + // + // VolumeARN is a required field VolumeARN *string `min:"50" type:"string" required:"true"` } @@ -4751,6 +4837,8 @@ type DescribeBandwidthRateLimitInput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. + // + // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` } @@ -4812,6 +4900,8 @@ type DescribeCacheInput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. + // + // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` } @@ -4874,6 +4964,7 @@ func (s DescribeCacheOutput) GoString() string { type DescribeCachediSCSIVolumesInput struct { _ struct{} `type:"structure"` + // VolumeARNs is a required field VolumeARNs []*string `type:"list" required:"true"` } @@ -4926,6 +5017,8 @@ type DescribeChapCredentialsInput struct { // The Amazon Resource Name (ARN) of the iSCSI volume target. Use the DescribeStorediSCSIVolumes // operation to return to retrieve the TargetARN for specified VolumeARN. + // + // TargetARN is a required field TargetARN *string `min:"50" type:"string" required:"true"` } @@ -4993,6 +5086,8 @@ type DescribeGatewayInformationInput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. + // + // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` } @@ -5078,6 +5173,8 @@ type DescribeMaintenanceStartTimeInput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. + // + // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` } @@ -5140,6 +5237,8 @@ type DescribeSnapshotScheduleInput struct { // The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation // to return a list of gateway volumes. + // + // VolumeARN is a required field VolumeARN *string `min:"50" type:"string" required:"true"` } @@ -5200,6 +5299,8 @@ type DescribeStorediSCSIVolumesInput struct { // An array of strings where each string represents the Amazon Resource Name // (ARN) of a stored volume. All of the specified stored volumes must from the // same gateway. Use ListVolumes to get volume ARNs for a gateway. + // + // VolumeARNs is a required field VolumeARNs []*string `type:"list" required:"true"` } @@ -5319,6 +5420,8 @@ type DescribeTapeRecoveryPointsInput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. + // + // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // Specifies that the number of virtual tape recovery points that are described @@ -5398,6 +5501,8 @@ type DescribeTapesInput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. + // + // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // Specifies that the number of virtual tapes described be limited to the specified @@ -5481,6 +5586,8 @@ type DescribeUploadBufferInput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. + // + // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` } @@ -5540,6 +5647,8 @@ type DescribeVTLDevicesInput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. + // + // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // Specifies that the number of VTL devices described be limited to the specified @@ -5626,6 +5735,8 @@ type DescribeWorkingStorageInput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. + // + // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` } @@ -5722,6 +5833,8 @@ type DisableGatewayInput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. + // + // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` } @@ -5922,6 +6035,8 @@ type ListLocalDisksInput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. + // + // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` } @@ -5985,6 +6100,8 @@ type ListTagsForResourceInput struct { // The Amazon Resource Name (ARN) of the resource for which you want to list // tags. + // + // ResourceARN is a required field ResourceARN *string `min:"50" type:"string" required:"true"` } @@ -6131,6 +6248,8 @@ type ListVolumeInitiatorsInput struct { // The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation // to return a list of gateway volumes for the gateway. + // + // VolumeARN is a required field VolumeARN *string `min:"50" type:"string" required:"true"` } @@ -6184,6 +6303,8 @@ type ListVolumeRecoveryPointsInput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. + // + // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` } @@ -6339,10 +6460,14 @@ type RemoveTagsFromResourceInput struct { // The Amazon Resource Name (ARN) of the resource you want to remove the tags // from. + // + // ResourceARN is a required field ResourceARN *string `min:"50" type:"string" required:"true"` // The keys of the tags you want to remove from the specified resource. A tag // is composed of a key/value pair. + // + // TagKeys is a required field TagKeys []*string `type:"list" required:"true"` } @@ -6399,6 +6524,8 @@ type ResetCacheInput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. + // + // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` } @@ -6456,10 +6583,14 @@ type RetrieveTapeArchiveInput struct { // // You retrieve archived virtual tapes to only one gateway and the gateway // must be a gateway-VTL. + // + // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // The Amazon Resource Name (ARN) of the virtual tape you want to retrieve from // the virtual tape shelf (VTS). + // + // TapeARN is a required field TapeARN *string `min:"50" type:"string" required:"true"` } @@ -6519,10 +6650,14 @@ type RetrieveTapeRecoveryPointInput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. + // + // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // The Amazon Resource Name (ARN) of the virtual tape for which you want to // retrieve the recovery point. + // + // TapeARN is a required field TapeARN *string `min:"50" type:"string" required:"true"` } @@ -6583,9 +6718,13 @@ type SetLocalConsolePasswordInput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. + // + // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // The password you want to set for your VM local console. + // + // LocalConsolePassword is a required field LocalConsolePassword *string `min:"6" type:"string" required:"true"` } @@ -6645,6 +6784,8 @@ type ShutdownGatewayInput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. + // + // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` } @@ -6699,6 +6840,8 @@ type StartGatewayInput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. + // + // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` } @@ -6785,8 +6928,10 @@ func (s StorediSCSIVolume) GoString() string { type Tag struct { _ struct{} `type:"structure"` + // Key is a required field Key *string `min:"1" type:"string" required:"true"` + // Value is a required field Value *string `type:"string" required:"true"` } @@ -6972,6 +7117,8 @@ type UpdateBandwidthRateLimitInput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. + // + // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` } @@ -7040,12 +7187,16 @@ type UpdateChapCredentialsInput struct { _ struct{} `type:"structure"` // The iSCSI initiator that connects to the target. + // + // InitiatorName is a required field InitiatorName *string `min:"1" type:"string" required:"true"` // The secret key that the initiator (for example, the Windows client) must // provide to participate in mutual CHAP with the target. // // The secret key must be between 12 and 16 bytes when encoded in UTF-8. + // + // SecretToAuthenticateInitiator is a required field SecretToAuthenticateInitiator *string `min:"1" type:"string" required:"true"` // The secret key that the target must provide to participate in mutual CHAP @@ -7058,6 +7209,8 @@ type UpdateChapCredentialsInput struct { // The Amazon Resource Name (ARN) of the iSCSI volume target. Use the DescribeStorediSCSIVolumes // operation to return the TargetARN for specified VolumeARN. + // + // TargetARN is a required field TargetARN *string `min:"50" type:"string" required:"true"` } @@ -7130,6 +7283,8 @@ type UpdateGatewayInformationInput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. + // + // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // The name you configured for your gateway. @@ -7197,6 +7352,8 @@ type UpdateGatewaySoftwareNowInput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. + // + // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` } @@ -7256,20 +7413,28 @@ type UpdateMaintenanceStartTimeInput struct { _ struct{} `type:"structure"` // The maintenance start time day of the week. + // + // DayOfWeek is a required field DayOfWeek *int64 `type:"integer" required:"true"` // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. + // + // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // The hour component of the maintenance start time represented as hh, where // hh is the hour (00 to 23). The hour of the day is in the time zone of the // gateway. + // + // HourOfDay is a required field HourOfDay *int64 `type:"integer" required:"true"` // The minute component of the maintenance start time represented as mm, where // mm is the minute (00 to 59). The minute of the hour is in the time zone of // the gateway. + // + // MinuteOfHour is a required field MinuteOfHour *int64 `type:"integer" required:"true"` } @@ -7344,15 +7509,21 @@ type UpdateSnapshotScheduleInput struct { Description *string `min:"1" type:"string"` // Frequency of snapshots. Specify the number of hours between snapshots. + // + // RecurrenceInHours is a required field RecurrenceInHours *int64 `min:"1" type:"integer" required:"true"` // The hour of the day at which the snapshot schedule begins represented as // hh, where hh is the hour (0 to 23). The hour of the day is in the time zone // of the gateway. + // + // StartAt is a required field StartAt *int64 `type:"integer" required:"true"` // The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation // to return a list of gateway volumes. + // + // VolumeARN is a required field VolumeARN *string `min:"50" type:"string" required:"true"` } @@ -7417,9 +7588,13 @@ type UpdateVTLDeviceTypeInput struct { // The type of medium changer you want to select. // // Valid Values: "STK-L700", "AWS-Gateway-VTL" + // + // DeviceType is a required field DeviceType *string `min:"2" type:"string" required:"true"` // The Amazon Resource Name (ARN) of the medium changer you want to select. + // + // VTLDeviceARN is a required field VTLDeviceARN *string `min:"50" type:"string" required:"true"` } @@ -7605,126 +7780,186 @@ func (s VolumeiSCSIAttributes) GoString() string { } const ( - // @enum ErrorCode + // ErrorCodeActivationKeyExpired is a ErrorCode enum value ErrorCodeActivationKeyExpired = "ActivationKeyExpired" - // @enum ErrorCode + + // ErrorCodeActivationKeyInvalid is a ErrorCode enum value ErrorCodeActivationKeyInvalid = "ActivationKeyInvalid" - // @enum ErrorCode + + // ErrorCodeActivationKeyNotFound is a ErrorCode enum value ErrorCodeActivationKeyNotFound = "ActivationKeyNotFound" - // @enum ErrorCode + + // ErrorCodeGatewayInternalError is a ErrorCode enum value ErrorCodeGatewayInternalError = "GatewayInternalError" - // @enum ErrorCode + + // ErrorCodeGatewayNotConnected is a ErrorCode enum value ErrorCodeGatewayNotConnected = "GatewayNotConnected" - // @enum ErrorCode + + // ErrorCodeGatewayNotFound is a ErrorCode enum value ErrorCodeGatewayNotFound = "GatewayNotFound" - // @enum ErrorCode + + // ErrorCodeGatewayProxyNetworkConnectionBusy is a ErrorCode enum value ErrorCodeGatewayProxyNetworkConnectionBusy = "GatewayProxyNetworkConnectionBusy" - // @enum ErrorCode + + // ErrorCodeAuthenticationFailure is a ErrorCode enum value ErrorCodeAuthenticationFailure = "AuthenticationFailure" - // @enum ErrorCode + + // ErrorCodeBandwidthThrottleScheduleNotFound is a ErrorCode enum value ErrorCodeBandwidthThrottleScheduleNotFound = "BandwidthThrottleScheduleNotFound" - // @enum ErrorCode + + // ErrorCodeBlocked is a ErrorCode enum value ErrorCodeBlocked = "Blocked" - // @enum ErrorCode + + // ErrorCodeCannotExportSnapshot is a ErrorCode enum value ErrorCodeCannotExportSnapshot = "CannotExportSnapshot" - // @enum ErrorCode + + // ErrorCodeChapCredentialNotFound is a ErrorCode enum value ErrorCodeChapCredentialNotFound = "ChapCredentialNotFound" - // @enum ErrorCode + + // ErrorCodeDiskAlreadyAllocated is a ErrorCode enum value ErrorCodeDiskAlreadyAllocated = "DiskAlreadyAllocated" - // @enum ErrorCode + + // ErrorCodeDiskDoesNotExist is a ErrorCode enum value ErrorCodeDiskDoesNotExist = "DiskDoesNotExist" - // @enum ErrorCode + + // ErrorCodeDiskSizeGreaterThanVolumeMaxSize is a ErrorCode enum value ErrorCodeDiskSizeGreaterThanVolumeMaxSize = "DiskSizeGreaterThanVolumeMaxSize" - // @enum ErrorCode + + // ErrorCodeDiskSizeLessThanVolumeSize is a ErrorCode enum value ErrorCodeDiskSizeLessThanVolumeSize = "DiskSizeLessThanVolumeSize" - // @enum ErrorCode + + // ErrorCodeDiskSizeNotGigAligned is a ErrorCode enum value ErrorCodeDiskSizeNotGigAligned = "DiskSizeNotGigAligned" - // @enum ErrorCode + + // ErrorCodeDuplicateCertificateInfo is a ErrorCode enum value ErrorCodeDuplicateCertificateInfo = "DuplicateCertificateInfo" - // @enum ErrorCode + + // ErrorCodeDuplicateSchedule is a ErrorCode enum value ErrorCodeDuplicateSchedule = "DuplicateSchedule" - // @enum ErrorCode + + // ErrorCodeEndpointNotFound is a ErrorCode enum value ErrorCodeEndpointNotFound = "EndpointNotFound" - // @enum ErrorCode + + // ErrorCodeIamnotSupported is a ErrorCode enum value ErrorCodeIamnotSupported = "IAMNotSupported" - // @enum ErrorCode + + // ErrorCodeInitiatorInvalid is a ErrorCode enum value ErrorCodeInitiatorInvalid = "InitiatorInvalid" - // @enum ErrorCode + + // ErrorCodeInitiatorNotFound is a ErrorCode enum value ErrorCodeInitiatorNotFound = "InitiatorNotFound" - // @enum ErrorCode + + // ErrorCodeInternalError is a ErrorCode enum value ErrorCodeInternalError = "InternalError" - // @enum ErrorCode + + // ErrorCodeInvalidGateway is a ErrorCode enum value ErrorCodeInvalidGateway = "InvalidGateway" - // @enum ErrorCode + + // ErrorCodeInvalidEndpoint is a ErrorCode enum value ErrorCodeInvalidEndpoint = "InvalidEndpoint" - // @enum ErrorCode + + // ErrorCodeInvalidParameters is a ErrorCode enum value ErrorCodeInvalidParameters = "InvalidParameters" - // @enum ErrorCode + + // ErrorCodeInvalidSchedule is a ErrorCode enum value ErrorCodeInvalidSchedule = "InvalidSchedule" - // @enum ErrorCode + + // ErrorCodeLocalStorageLimitExceeded is a ErrorCode enum value ErrorCodeLocalStorageLimitExceeded = "LocalStorageLimitExceeded" - // @enum ErrorCode + + // ErrorCodeLunAlreadyAllocated is a ErrorCode enum value ErrorCodeLunAlreadyAllocated = "LunAlreadyAllocated " - // @enum ErrorCode + + // ErrorCodeLunInvalid is a ErrorCode enum value ErrorCodeLunInvalid = "LunInvalid" - // @enum ErrorCode + + // ErrorCodeMaximumContentLengthExceeded is a ErrorCode enum value ErrorCodeMaximumContentLengthExceeded = "MaximumContentLengthExceeded" - // @enum ErrorCode + + // ErrorCodeMaximumTapeCartridgeCountExceeded is a ErrorCode enum value ErrorCodeMaximumTapeCartridgeCountExceeded = "MaximumTapeCartridgeCountExceeded" - // @enum ErrorCode + + // ErrorCodeMaximumVolumeCountExceeded is a ErrorCode enum value ErrorCodeMaximumVolumeCountExceeded = "MaximumVolumeCountExceeded" - // @enum ErrorCode + + // ErrorCodeNetworkConfigurationChanged is a ErrorCode enum value ErrorCodeNetworkConfigurationChanged = "NetworkConfigurationChanged" - // @enum ErrorCode + + // ErrorCodeNoDisksAvailable is a ErrorCode enum value ErrorCodeNoDisksAvailable = "NoDisksAvailable" - // @enum ErrorCode + + // ErrorCodeNotImplemented is a ErrorCode enum value ErrorCodeNotImplemented = "NotImplemented" - // @enum ErrorCode + + // ErrorCodeNotSupported is a ErrorCode enum value ErrorCodeNotSupported = "NotSupported" - // @enum ErrorCode + + // ErrorCodeOperationAborted is a ErrorCode enum value ErrorCodeOperationAborted = "OperationAborted" - // @enum ErrorCode + + // ErrorCodeOutdatedGateway is a ErrorCode enum value ErrorCodeOutdatedGateway = "OutdatedGateway" - // @enum ErrorCode + + // ErrorCodeParametersNotImplemented is a ErrorCode enum value ErrorCodeParametersNotImplemented = "ParametersNotImplemented" - // @enum ErrorCode + + // ErrorCodeRegionInvalid is a ErrorCode enum value ErrorCodeRegionInvalid = "RegionInvalid" - // @enum ErrorCode + + // ErrorCodeRequestTimeout is a ErrorCode enum value ErrorCodeRequestTimeout = "RequestTimeout" - // @enum ErrorCode + + // ErrorCodeServiceUnavailable is a ErrorCode enum value ErrorCodeServiceUnavailable = "ServiceUnavailable" - // @enum ErrorCode + + // ErrorCodeSnapshotDeleted is a ErrorCode enum value ErrorCodeSnapshotDeleted = "SnapshotDeleted" - // @enum ErrorCode + + // ErrorCodeSnapshotIdInvalid is a ErrorCode enum value ErrorCodeSnapshotIdInvalid = "SnapshotIdInvalid" - // @enum ErrorCode + + // ErrorCodeSnapshotInProgress is a ErrorCode enum value ErrorCodeSnapshotInProgress = "SnapshotInProgress" - // @enum ErrorCode + + // ErrorCodeSnapshotNotFound is a ErrorCode enum value ErrorCodeSnapshotNotFound = "SnapshotNotFound" - // @enum ErrorCode + + // ErrorCodeSnapshotScheduleNotFound is a ErrorCode enum value ErrorCodeSnapshotScheduleNotFound = "SnapshotScheduleNotFound" - // @enum ErrorCode + + // ErrorCodeStagingAreaFull is a ErrorCode enum value ErrorCodeStagingAreaFull = "StagingAreaFull" - // @enum ErrorCode + + // ErrorCodeStorageFailure is a ErrorCode enum value ErrorCodeStorageFailure = "StorageFailure" - // @enum ErrorCode + + // ErrorCodeTapeCartridgeNotFound is a ErrorCode enum value ErrorCodeTapeCartridgeNotFound = "TapeCartridgeNotFound" - // @enum ErrorCode + + // ErrorCodeTargetAlreadyExists is a ErrorCode enum value ErrorCodeTargetAlreadyExists = "TargetAlreadyExists" - // @enum ErrorCode + + // ErrorCodeTargetInvalid is a ErrorCode enum value ErrorCodeTargetInvalid = "TargetInvalid" - // @enum ErrorCode + + // ErrorCodeTargetNotFound is a ErrorCode enum value ErrorCodeTargetNotFound = "TargetNotFound" - // @enum ErrorCode + + // ErrorCodeUnauthorizedOperation is a ErrorCode enum value ErrorCodeUnauthorizedOperation = "UnauthorizedOperation" - // @enum ErrorCode + + // ErrorCodeVolumeAlreadyExists is a ErrorCode enum value ErrorCodeVolumeAlreadyExists = "VolumeAlreadyExists" - // @enum ErrorCode + + // ErrorCodeVolumeIdInvalid is a ErrorCode enum value ErrorCodeVolumeIdInvalid = "VolumeIdInvalid" - // @enum ErrorCode + + // ErrorCodeVolumeInUse is a ErrorCode enum value ErrorCodeVolumeInUse = "VolumeInUse" - // @enum ErrorCode + + // ErrorCodeVolumeNotFound is a ErrorCode enum value ErrorCodeVolumeNotFound = "VolumeNotFound" - // @enum ErrorCode + + // ErrorCodeVolumeNotReady is a ErrorCode enum value ErrorCodeVolumeNotReady = "VolumeNotReady" ) diff --git a/service/sts/api.go b/service/sts/api.go index f11e8675f21..d183fab8771 100644 --- a/service/sts/api.go +++ b/service/sts/api.go @@ -797,6 +797,8 @@ type AssumeRoleInput struct { Policy *string `min:"1" type:"string"` // The Amazon Resource Name (ARN) of the role to assume. + // + // RoleArn is a required field RoleArn *string `min:"20" type:"string" required:"true"` // An identifier for the assumed role session. @@ -813,6 +815,8 @@ type AssumeRoleInput struct { // of characters consisting of upper- and lower-case alphanumeric characters // with no spaces. You can also include underscores or any of the following // characters: =,.@- + // + // RoleSessionName is a required field RoleSessionName *string `min:"2" type:"string" required:"true"` // The identification number of the MFA device that is associated with the user @@ -967,9 +971,13 @@ type AssumeRoleWithSAMLInput struct { // The Amazon Resource Name (ARN) of the SAML provider in IAM that describes // the IdP. + // + // PrincipalArn is a required field PrincipalArn *string `min:"20" type:"string" required:"true"` // The Amazon Resource Name (ARN) of the role that the caller is assuming. + // + // RoleArn is a required field RoleArn *string `min:"20" type:"string" required:"true"` // The base-64 encoded SAML authentication response provided by the IdP. @@ -977,6 +985,8 @@ type AssumeRoleWithSAMLInput struct { // For more information, see Configuring a Relying Party and Adding Claims // (http://docs.aws.amazon.com/IAM/latest/UserGuide/create-role-saml-IdP-tasks.html) // in the Using IAM guide. + // + // SAMLAssertion is a required field SAMLAssertion *string `min:"4" type:"string" required:"true"` } @@ -1140,6 +1150,8 @@ type AssumeRoleWithWebIdentityInput struct { ProviderId *string `min:"4" type:"string"` // The Amazon Resource Name (ARN) of the role that the caller is assuming. + // + // RoleArn is a required field RoleArn *string `min:"20" type:"string" required:"true"` // An identifier for the assumed role session. Typically, you pass the name @@ -1152,12 +1164,16 @@ type AssumeRoleWithWebIdentityInput struct { // of characters consisting of upper- and lower-case alphanumeric characters // with no spaces. You can also include underscores or any of the following // characters: =,.@- + // + // RoleSessionName is a required field RoleSessionName *string `min:"2" type:"string" required:"true"` // The OAuth 2.0 access token or OpenID Connect ID token that is provided by // the identity provider. Your application must get this token by authenticating // the user who is using your application with a web identity provider before // the application makes an AssumeRoleWithWebIdentity call. + // + // WebIdentityToken is a required field WebIdentityToken *string `min:"4" type:"string" required:"true"` } @@ -1273,11 +1289,15 @@ type AssumedRoleUser struct { // AssumeRole action. For more information about ARNs and how to use them in // policies, see IAM Identifiers (http://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html) // in Using IAM. + // + // Arn is a required field Arn *string `min:"20" type:"string" required:"true"` // A unique identifier that contains the role ID and the role session name of // the role that is being assumed. The role ID is generated by AWS when the // role is created. + // + // AssumedRoleId is a required field AssumedRoleId *string `min:"2" type:"string" required:"true"` } @@ -1296,15 +1316,23 @@ type Credentials struct { _ struct{} `type:"structure"` // The access key ID that identifies the temporary security credentials. + // + // AccessKeyId is a required field AccessKeyId *string `min:"16" type:"string" required:"true"` // The date on which the current credentials expire. + // + // Expiration is a required field Expiration *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"` // The secret access key that can be used to sign requests. + // + // SecretAccessKey is a required field SecretAccessKey *string `type:"string" required:"true"` // The token that users must pass to the service API to use the temporary credentials. + // + // SessionToken is a required field SessionToken *string `type:"string" required:"true"` } @@ -1322,6 +1350,8 @@ type DecodeAuthorizationMessageInput struct { _ struct{} `type:"structure"` // The encoded message that was returned with the response. + // + // EncodedMessage is a required field EncodedMessage *string `min:"1" type:"string" required:"true"` } @@ -1379,10 +1409,14 @@ type FederatedUser struct { // For more information about ARNs and how to use them in policies, see IAM // Identifiers (http://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html) // in Using IAM. + // + // Arn is a required field Arn *string `min:"20" type:"string" required:"true"` // The string that identifies the federated user associated with the credentials, // similar to the unique ID of an IAM user. + // + // FederatedUserId is a required field FederatedUserId *string `min:"2" type:"string" required:"true"` } @@ -1460,6 +1494,8 @@ type GetFederationTokenInput struct { // of characters consisting of upper- and lower-case alphanumeric characters // with no spaces. You can also include underscores or any of the following // characters: =,.@- + // + // Name is a required field Name *string `min:"2" type:"string" required:"true"` // An IAM policy in JSON format that is passed with the GetFederationToken call diff --git a/service/support/api.go b/service/support/api.go index ff840f4ded5..ff5a2f8eab7 100644 --- a/service/support/api.go +++ b/service/support/api.go @@ -896,6 +896,8 @@ type AddAttachmentsToSetInput struct { // One or more attachments to add to the set. The limit is 3 attachments per // set, and the size limit is 5 MB per attachment. + // + // Attachments is a required field Attachments []*Attachment `locationName:"attachments" type:"list" required:"true"` } @@ -964,6 +966,8 @@ type AddCommunicationToCaseInput struct { CcEmailAddresses []*string `locationName:"ccEmailAddresses" type:"list"` // The body of an email communication to add to the support case. + // + // CommunicationBody is a required field CommunicationBody *string `locationName:"communicationBody" min:"1" type:"string" required:"true"` } @@ -1218,6 +1222,8 @@ type CreateCaseInput struct { // The communication body text when you create an AWS Support case by calling // CreateCase. + // + // CommunicationBody is a required field CommunicationBody *string `locationName:"communicationBody" min:"1" type:"string" required:"true"` // The type of issue for the case. You can specify either "customer-service" @@ -1240,6 +1246,8 @@ type CreateCaseInput struct { SeverityCode *string `locationName:"severityCode" type:"string"` // The title of the AWS Support case. + // + // Subject is a required field Subject *string `locationName:"subject" type:"string" required:"true"` } @@ -1297,6 +1305,8 @@ type DescribeAttachmentInput struct { // The ID of the attachment to return. Attachment IDs are returned by the DescribeCommunications // operation. + // + // AttachmentId is a required field AttachmentId *string `locationName:"attachmentId" type:"string" required:"true"` } @@ -1438,6 +1448,8 @@ type DescribeCommunicationsInput struct { // The AWS Support case ID requested or returned in the call. The case ID is // an alphanumeric string formatted as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47 + // + // CaseId is a required field CaseId *string `locationName:"caseId" type:"string" required:"true"` // The maximum number of results to return before paginating. @@ -1578,6 +1590,8 @@ type DescribeTrustedAdvisorCheckRefreshStatusesInput struct { // The IDs of the Trusted Advisor checks to get the status of. Note: Specifying // the check ID of a check that is automatically refreshed causes an InvalidParameterValue // error. + // + // CheckIds is a required field CheckIds []*string `locationName:"checkIds" type:"list" required:"true"` } @@ -1610,6 +1624,8 @@ type DescribeTrustedAdvisorCheckRefreshStatusesOutput struct { _ struct{} `type:"structure"` // The refresh status of the specified Trusted Advisor checks. + // + // Statuses is a required field Statuses []*TrustedAdvisorCheckRefreshStatus `locationName:"statuses" type:"list" required:"true"` } @@ -1627,6 +1643,8 @@ type DescribeTrustedAdvisorCheckResultInput struct { _ struct{} `type:"structure"` // The unique identifier for the Trusted Advisor check. + // + // CheckId is a required field CheckId *string `locationName:"checkId" type:"string" required:"true"` // The ISO 639-1 code for the language in which AWS provides support. AWS Support @@ -1681,6 +1699,8 @@ type DescribeTrustedAdvisorCheckSummariesInput struct { _ struct{} `type:"structure"` // The IDs of the Trusted Advisor checks. + // + // CheckIds is a required field CheckIds []*string `locationName:"checkIds" type:"list" required:"true"` } @@ -1713,6 +1733,8 @@ type DescribeTrustedAdvisorCheckSummariesOutput struct { _ struct{} `type:"structure"` // The summary information for the requested Trusted Advisor checks. + // + // Summaries is a required field Summaries []*TrustedAdvisorCheckSummary `locationName:"summaries" type:"list" required:"true"` } @@ -1732,6 +1754,8 @@ type DescribeTrustedAdvisorChecksInput struct { // The ISO 639-1 code for the language in which AWS provides support. AWS Support // currently supports English ("en") and Japanese ("ja"). Language parameters // must be passed explicitly for operations that take them. + // + // Language is a required field Language *string `locationName:"language" type:"string" required:"true"` } @@ -1764,6 +1788,8 @@ type DescribeTrustedAdvisorChecksOutput struct { _ struct{} `type:"structure"` // Information about all available Trusted Advisor checks. + // + // Checks is a required field Checks []*TrustedAdvisorCheckDescription `locationName:"checks" type:"list" required:"true"` } @@ -1804,6 +1830,8 @@ type RefreshTrustedAdvisorCheckInput struct { // The unique identifier for the Trusted Advisor check to refresh. Note: Specifying // the check ID of a check that is automatically refreshed causes an InvalidParameterValue // error. + // + // CheckId is a required field CheckId *string `locationName:"checkId" type:"string" required:"true"` } @@ -1836,6 +1864,8 @@ type RefreshTrustedAdvisorCheckOutput struct { // The current refresh status for a check, including the amount of time until // the check is eligible for refresh. + // + // Status is a required field Status *TrustedAdvisorCheckRefreshStatus `locationName:"status" type:"structure" required:"true"` } @@ -1964,13 +1994,19 @@ type TrustedAdvisorCheckDescription struct { _ struct{} `type:"structure"` // The category of the Trusted Advisor check. + // + // Category is a required field Category *string `locationName:"category" type:"string" required:"true"` // The description of the Trusted Advisor check, which includes the alert criteria // and recommended actions (contains HTML markup). + // + // Description is a required field Description *string `locationName:"description" type:"string" required:"true"` // The unique identifier for the Trusted Advisor check. + // + // Id is a required field Id *string `locationName:"id" type:"string" required:"true"` // The column headings for the data returned by the Trusted Advisor check. The @@ -1978,9 +2014,13 @@ type TrustedAdvisorCheckDescription struct { // element of the TrustedAdvisorResourceDetail for the check. Metadata contains // all the data that is shown in the Excel download, even in those cases where // the UI shows just summary data. + // + // Metadata is a required field Metadata []*string `locationName:"metadata" type:"list" required:"true"` // The display name for the Trusted Advisor check. + // + // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` } @@ -1999,14 +2039,20 @@ type TrustedAdvisorCheckRefreshStatus struct { _ struct{} `type:"structure"` // The unique identifier for the Trusted Advisor check. + // + // CheckId is a required field CheckId *string `locationName:"checkId" type:"string" required:"true"` // The amount of time, in milliseconds, until the Trusted Advisor check is eligible // for refresh. + // + // MillisUntilNextRefreshable is a required field MillisUntilNextRefreshable *int64 `locationName:"millisUntilNextRefreshable" type:"long" required:"true"` // The status of the Trusted Advisor check for which a refresh has been requested: // "none", "enqueued", "processing", "success", or "abandoned". + // + // Status is a required field Status *string `locationName:"status" type:"string" required:"true"` } @@ -2026,23 +2072,35 @@ type TrustedAdvisorCheckResult struct { // Summary information that relates to the category of the check. Cost Optimizing // is the only category that is currently supported. + // + // CategorySpecificSummary is a required field CategorySpecificSummary *TrustedAdvisorCategorySpecificSummary `locationName:"categorySpecificSummary" type:"structure" required:"true"` // The unique identifier for the Trusted Advisor check. + // + // CheckId is a required field CheckId *string `locationName:"checkId" type:"string" required:"true"` // The details about each resource listed in the check result. + // + // FlaggedResources is a required field FlaggedResources []*TrustedAdvisorResourceDetail `locationName:"flaggedResources" type:"list" required:"true"` // Details about AWS resources that were analyzed in a call to Trusted Advisor // DescribeTrustedAdvisorCheckSummaries. + // + // ResourcesSummary is a required field ResourcesSummary *TrustedAdvisorResourcesSummary `locationName:"resourcesSummary" type:"structure" required:"true"` // The alert status of the check: "ok" (green), "warning" (yellow), "error" // (red), or "not_available". + // + // Status is a required field Status *string `locationName:"status" type:"string" required:"true"` // The time of the last refresh of the check. + // + // Timestamp is a required field Timestamp *string `locationName:"timestamp" type:"string" required:"true"` } @@ -2063,9 +2121,13 @@ type TrustedAdvisorCheckSummary struct { // Summary information that relates to the category of the check. Cost Optimizing // is the only category that is currently supported. + // + // CategorySpecificSummary is a required field CategorySpecificSummary *TrustedAdvisorCategorySpecificSummary `locationName:"categorySpecificSummary" type:"structure" required:"true"` // The unique identifier for the Trusted Advisor check. + // + // CheckId is a required field CheckId *string `locationName:"checkId" type:"string" required:"true"` // Specifies whether the Trusted Advisor check has flagged resources. @@ -2073,13 +2135,19 @@ type TrustedAdvisorCheckSummary struct { // Details about AWS resources that were analyzed in a call to Trusted Advisor // DescribeTrustedAdvisorCheckSummaries. + // + // ResourcesSummary is a required field ResourcesSummary *TrustedAdvisorResourcesSummary `locationName:"resourcesSummary" type:"structure" required:"true"` // The alert status of the check: "ok" (green), "warning" (yellow), "error" // (red), or "not_available". + // + // Status is a required field Status *string `locationName:"status" type:"string" required:"true"` // The time of the last refresh of the check. + // + // Timestamp is a required field Timestamp *string `locationName:"timestamp" type:"string" required:"true"` } @@ -2100,10 +2168,14 @@ type TrustedAdvisorCostOptimizingSummary struct { // The estimated monthly savings that might be realized if the recommended actions // are taken. + // + // EstimatedMonthlySavings is a required field EstimatedMonthlySavings *float64 `locationName:"estimatedMonthlySavings" type:"double" required:"true"` // The estimated percentage of savings that might be realized if the recommended // actions are taken. + // + // EstimatedPercentMonthlySavings is a required field EstimatedPercentMonthlySavings *float64 `locationName:"estimatedPercentMonthlySavings" type:"double" required:"true"` } @@ -2130,15 +2202,21 @@ type TrustedAdvisorResourceDetail struct { // object returned by the call to DescribeTrustedAdvisorChecks. Metadata contains // all the data that is shown in the Excel download, even in those cases where // the UI shows just summary data. + // + // Metadata is a required field Metadata []*string `locationName:"metadata" type:"list" required:"true"` // The AWS region in which the identified resource is located. Region *string `locationName:"region" type:"string"` // The unique identifier for the identified resource. + // + // ResourceId is a required field ResourceId *string `locationName:"resourceId" type:"string" required:"true"` // The status code for the resource identified in the Trusted Advisor check. + // + // Status is a required field Status *string `locationName:"status" type:"string" required:"true"` } @@ -2159,17 +2237,25 @@ type TrustedAdvisorResourcesSummary struct { // The number of AWS resources that were flagged (listed) by the Trusted Advisor // check. + // + // ResourcesFlagged is a required field ResourcesFlagged *int64 `locationName:"resourcesFlagged" type:"long" required:"true"` // The number of AWS resources ignored by Trusted Advisor because information // was unavailable. + // + // ResourcesIgnored is a required field ResourcesIgnored *int64 `locationName:"resourcesIgnored" type:"long" required:"true"` // The number of AWS resources that were analyzed by the Trusted Advisor check. + // + // ResourcesProcessed is a required field ResourcesProcessed *int64 `locationName:"resourcesProcessed" type:"long" required:"true"` // The number of AWS resources ignored by Trusted Advisor because they were // marked as suppressed by the user. + // + // ResourcesSuppressed is a required field ResourcesSuppressed *int64 `locationName:"resourcesSuppressed" type:"long" required:"true"` } diff --git a/service/swf/api.go b/service/swf/api.go index 91b34bea316..df28f0e375d 100644 --- a/service/swf/api.go +++ b/service/swf/api.go @@ -2386,12 +2386,16 @@ type ActivityTaskCancelRequestedEventAttributes struct { _ struct{} `type:"structure"` // The unique ID of the task. + // + // ActivityId is a required field ActivityId *string `locationName:"activityId" min:"1" type:"string" required:"true"` // The ID of the DecisionTaskCompleted event corresponding to the decision task // that resulted in the RequestCancelActivityTask decision for this cancellation // request. This information can be useful for diagnosing problems by tracing // back the chain of events leading up to this event. + // + // DecisionTaskCompletedEventId is a required field DecisionTaskCompletedEventId *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"` } @@ -2420,11 +2424,15 @@ type ActivityTaskCanceledEventAttributes struct { // The ID of the ActivityTaskScheduled event that was recorded when this activity // task was scheduled. This information can be useful for diagnosing problems // by tracing back the chain of events leading up to this event. + // + // ScheduledEventId is a required field ScheduledEventId *int64 `locationName:"scheduledEventId" type:"long" required:"true"` // The ID of the ActivityTaskStarted event recorded when this activity task // was started. This information can be useful for diagnosing problems by tracing // back the chain of events leading up to this event. + // + // StartedEventId is a required field StartedEventId *int64 `locationName:"startedEventId" type:"long" required:"true"` } @@ -2448,11 +2456,15 @@ type ActivityTaskCompletedEventAttributes struct { // The ID of the ActivityTaskScheduled event that was recorded when this activity // task was scheduled. This information can be useful for diagnosing problems // by tracing back the chain of events leading up to this event. + // + // ScheduledEventId is a required field ScheduledEventId *int64 `locationName:"scheduledEventId" type:"long" required:"true"` // The ID of the ActivityTaskStarted event recorded when this activity task // was started. This information can be useful for diagnosing problems by tracing // back the chain of events leading up to this event. + // + // StartedEventId is a required field StartedEventId *int64 `locationName:"startedEventId" type:"long" required:"true"` } @@ -2479,11 +2491,15 @@ type ActivityTaskFailedEventAttributes struct { // The ID of the ActivityTaskScheduled event that was recorded when this activity // task was scheduled. This information can be useful for diagnosing problems // by tracing back the chain of events leading up to this event. + // + // ScheduledEventId is a required field ScheduledEventId *int64 `locationName:"scheduledEventId" type:"long" required:"true"` // The ID of the ActivityTaskStarted event recorded when this activity task // was started. This information can be useful for diagnosing problems by tracing // back the chain of events leading up to this event. + // + // StartedEventId is a required field StartedEventId *int64 `locationName:"startedEventId" type:"long" required:"true"` } @@ -2502,9 +2518,13 @@ type ActivityTaskScheduledEventAttributes struct { _ struct{} `type:"structure"` // The unique ID of the activity task. + // + // ActivityId is a required field ActivityId *string `locationName:"activityId" min:"1" type:"string" required:"true"` // The type of the activity task. + // + // ActivityType is a required field ActivityType *ActivityType `locationName:"activityType" type:"structure" required:"true"` // Optional. Data attached to the event that can be used by the decider in subsequent @@ -2515,6 +2535,8 @@ type ActivityTaskScheduledEventAttributes struct { // resulted in the scheduling of this activity task. This information can be // useful for diagnosing problems by tracing back the chain of events leading // up to this event. + // + // DecisionTaskCompletedEventId is a required field DecisionTaskCompletedEventId *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"` // The maximum time before which the worker processing this task must report @@ -2537,6 +2559,8 @@ type ActivityTaskScheduledEventAttributes struct { StartToCloseTimeout *string `locationName:"startToCloseTimeout" type:"string"` // The task list in which the activity task has been scheduled. + // + // TaskList is a required field TaskList *TaskList `locationName:"taskList" type:"structure" required:"true"` // Optional. The priority to assign to the scheduled activity task. If set, @@ -2573,6 +2597,8 @@ type ActivityTaskStartedEventAttributes struct { // The ID of the ActivityTaskScheduled event that was recorded when this activity // task was scheduled. This information can be useful for diagnosing problems // by tracing back the chain of events leading up to this event. + // + // ScheduledEventId is a required field ScheduledEventId *int64 `locationName:"scheduledEventId" type:"long" required:"true"` } @@ -2597,14 +2623,20 @@ type ActivityTaskTimedOutEventAttributes struct { // The ID of the ActivityTaskScheduled event that was recorded when this activity // task was scheduled. This information can be useful for diagnosing problems // by tracing back the chain of events leading up to this event. + // + // ScheduledEventId is a required field ScheduledEventId *int64 `locationName:"scheduledEventId" type:"long" required:"true"` // The ID of the ActivityTaskStarted event recorded when this activity task // was started. This information can be useful for diagnosing problems by tracing // back the chain of events leading up to this event. + // + // StartedEventId is a required field StartedEventId *int64 `locationName:"startedEventId" type:"long" required:"true"` // The type of the timeout that caused this event. + // + // TimeoutType is a required field TimeoutType *string `locationName:"timeoutType" type:"string" required:"true" enum:"ActivityTaskTimeoutType"` } @@ -2626,12 +2658,16 @@ type ActivityType struct { // // The combination of activity type name and version must be unique within // a domain. + // + // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // The version of this activity. // // The combination of activity type name and version must be unique with in // a domain. + // + // Version is a required field Version *string `locationName:"version" min:"1" type:"string" required:"true"` } @@ -2744,9 +2780,13 @@ type ActivityTypeInfo struct { _ struct{} `type:"structure"` // The ActivityType type structure representing the activity type. + // + // ActivityType is a required field ActivityType *ActivityType `locationName:"activityType" type:"structure" required:"true"` // The date and time this activity type was created through RegisterActivityType. + // + // CreationDate is a required field CreationDate *time.Time `locationName:"creationDate" type:"timestamp" timestampFormat:"unix" required:"true"` // If DEPRECATED, the date and time DeprecateActivityType was called. @@ -2756,6 +2796,8 @@ type ActivityTypeInfo struct { Description *string `locationName:"description" type:"string"` // The current status of the activity type. + // + // Status is a required field Status *string `locationName:"status" type:"string" required:"true" enum:"RegistrationStatus"` } @@ -2788,6 +2830,8 @@ type CancelTimerDecisionAttributes struct { _ struct{} `type:"structure"` // Required. The unique ID of the timer to cancel. + // + // TimerId is a required field TimerId *string `locationName:"timerId" min:"1" type:"string" required:"true"` } @@ -2827,15 +2871,21 @@ type CancelTimerFailedEventAttributes struct { // If cause is set to OPERATION_NOT_PERMITTED, the decision failed because // it lacked sufficient permissions. For details and example IAM policies, see // Using IAM to Manage Access to Amazon SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html). + // + // Cause is a required field Cause *string `locationName:"cause" type:"string" required:"true" enum:"CancelTimerFailedCause"` // The ID of the DecisionTaskCompleted event corresponding to the decision task // that resulted in the CancelTimer decision to cancel this timer. This information // can be useful for diagnosing problems by tracing back the chain of events // leading up to this event. + // + // DecisionTaskCompletedEventId is a required field DecisionTaskCompletedEventId *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"` // The timerId provided in the CancelTimer decision that failed. + // + // TimerId is a required field TimerId *string `locationName:"timerId" min:"1" type:"string" required:"true"` } @@ -2891,12 +2941,16 @@ type CancelWorkflowExecutionFailedEventAttributes struct { // If cause is set to OPERATION_NOT_PERMITTED, the decision failed because // it lacked sufficient permissions. For details and example IAM policies, see // Using IAM to Manage Access to Amazon SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html). + // + // Cause is a required field Cause *string `locationName:"cause" type:"string" required:"true" enum:"CancelWorkflowExecutionFailedCause"` // The ID of the DecisionTaskCompleted event corresponding to the decision task // that resulted in the CancelWorkflowExecution decision for this cancellation // request. This information can be useful for diagnosing problems by tracing // back the chain of events leading up to this event. + // + // DecisionTaskCompletedEventId is a required field DecisionTaskCompletedEventId *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"` } @@ -2921,17 +2975,25 @@ type ChildWorkflowExecutionCanceledEventAttributes struct { // the StartChildWorkflowExecution decision to start this child workflow execution. // This information can be useful for diagnosing problems by tracing back the // chain of events leading up to this event. + // + // InitiatedEventId is a required field InitiatedEventId *int64 `locationName:"initiatedEventId" type:"long" required:"true"` // The ID of the ChildWorkflowExecutionStarted event recorded when this child // workflow execution was started. This information can be useful for diagnosing // problems by tracing back the chain of events leading up to this event. + // + // StartedEventId is a required field StartedEventId *int64 `locationName:"startedEventId" type:"long" required:"true"` // The child workflow execution that was canceled. + // + // WorkflowExecution is a required field WorkflowExecution *WorkflowExecution `locationName:"workflowExecution" type:"structure" required:"true"` // The type of the child workflow execution. + // + // WorkflowType is a required field WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" required:"true"` } @@ -2953,6 +3015,8 @@ type ChildWorkflowExecutionCompletedEventAttributes struct { // the StartChildWorkflowExecution decision to start this child workflow execution. // This information can be useful for diagnosing problems by tracing back the // chain of events leading up to this event. + // + // InitiatedEventId is a required field InitiatedEventId *int64 `locationName:"initiatedEventId" type:"long" required:"true"` // The result of the child workflow execution (if any). @@ -2961,12 +3025,18 @@ type ChildWorkflowExecutionCompletedEventAttributes struct { // The ID of the ChildWorkflowExecutionStarted event recorded when this child // workflow execution was started. This information can be useful for diagnosing // problems by tracing back the chain of events leading up to this event. + // + // StartedEventId is a required field StartedEventId *int64 `locationName:"startedEventId" type:"long" required:"true"` // The child workflow execution that was completed. + // + // WorkflowExecution is a required field WorkflowExecution *WorkflowExecution `locationName:"workflowExecution" type:"structure" required:"true"` // The type of the child workflow execution. + // + // WorkflowType is a required field WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" required:"true"` } @@ -2991,6 +3061,8 @@ type ChildWorkflowExecutionFailedEventAttributes struct { // the StartChildWorkflowExecution decision to start this child workflow execution. // This information can be useful for diagnosing problems by tracing back the // chain of events leading up to this event. + // + // InitiatedEventId is a required field InitiatedEventId *int64 `locationName:"initiatedEventId" type:"long" required:"true"` // The reason for the failure (if provided). @@ -2999,12 +3071,18 @@ type ChildWorkflowExecutionFailedEventAttributes struct { // The ID of the ChildWorkflowExecutionStarted event recorded when this child // workflow execution was started. This information can be useful for diagnosing // problems by tracing back the chain of events leading up to this event. + // + // StartedEventId is a required field StartedEventId *int64 `locationName:"startedEventId" type:"long" required:"true"` // The child workflow execution that failed. + // + // WorkflowExecution is a required field WorkflowExecution *WorkflowExecution `locationName:"workflowExecution" type:"structure" required:"true"` // The type of the child workflow execution. + // + // WorkflowType is a required field WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" required:"true"` } @@ -3026,12 +3104,18 @@ type ChildWorkflowExecutionStartedEventAttributes struct { // the StartChildWorkflowExecution decision to start this child workflow execution. // This information can be useful for diagnosing problems by tracing back the // chain of events leading up to this event. + // + // InitiatedEventId is a required field InitiatedEventId *int64 `locationName:"initiatedEventId" type:"long" required:"true"` // The child workflow execution that was started. + // + // WorkflowExecution is a required field WorkflowExecution *WorkflowExecution `locationName:"workflowExecution" type:"structure" required:"true"` // The type of the child workflow execution. + // + // WorkflowType is a required field WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" required:"true"` } @@ -3053,17 +3137,25 @@ type ChildWorkflowExecutionTerminatedEventAttributes struct { // the StartChildWorkflowExecution decision to start this child workflow execution. // This information can be useful for diagnosing problems by tracing back the // chain of events leading up to this event. + // + // InitiatedEventId is a required field InitiatedEventId *int64 `locationName:"initiatedEventId" type:"long" required:"true"` // The ID of the ChildWorkflowExecutionStarted event recorded when this child // workflow execution was started. This information can be useful for diagnosing // problems by tracing back the chain of events leading up to this event. + // + // StartedEventId is a required field StartedEventId *int64 `locationName:"startedEventId" type:"long" required:"true"` // The child workflow execution that was terminated. + // + // WorkflowExecution is a required field WorkflowExecution *WorkflowExecution `locationName:"workflowExecution" type:"structure" required:"true"` // The type of the child workflow execution. + // + // WorkflowType is a required field WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" required:"true"` } @@ -3085,21 +3177,31 @@ type ChildWorkflowExecutionTimedOutEventAttributes struct { // the StartChildWorkflowExecution decision to start this child workflow execution. // This information can be useful for diagnosing problems by tracing back the // chain of events leading up to this event. + // + // InitiatedEventId is a required field InitiatedEventId *int64 `locationName:"initiatedEventId" type:"long" required:"true"` // The ID of the ChildWorkflowExecutionStarted event recorded when this child // workflow execution was started. This information can be useful for diagnosing // problems by tracing back the chain of events leading up to this event. + // + // StartedEventId is a required field StartedEventId *int64 `locationName:"startedEventId" type:"long" required:"true"` // The type of the timeout that caused the child workflow execution to time // out. + // + // TimeoutType is a required field TimeoutType *string `locationName:"timeoutType" type:"string" required:"true" enum:"WorkflowExecutionTimeoutType"` // The child workflow execution that timed out. + // + // WorkflowExecution is a required field WorkflowExecution *WorkflowExecution `locationName:"workflowExecution" type:"structure" required:"true"` // The type of the child workflow execution. + // + // WorkflowType is a required field WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" required:"true"` } @@ -3120,6 +3222,8 @@ type CloseStatusFilter struct { // Required. The close status that must match the close status of an execution // for it to meet the criteria of this filter. + // + // Status is a required field Status *string `locationName:"status" type:"string" required:"true" enum:"CloseStatus"` } @@ -3189,12 +3293,16 @@ type CompleteWorkflowExecutionFailedEventAttributes struct { // If cause is set to OPERATION_NOT_PERMITTED, the decision failed because // it lacked sufficient permissions. For details and example IAM policies, see // Using IAM to Manage Access to Amazon SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html). + // + // Cause is a required field Cause *string `locationName:"cause" type:"string" required:"true" enum:"CompleteWorkflowExecutionFailedCause"` // The ID of the DecisionTaskCompleted event corresponding to the decision task // that resulted in the CompleteWorkflowExecution decision to complete this // execution. This information can be useful for diagnosing problems by tracing // back the chain of events leading up to this event. + // + // DecisionTaskCompletedEventId is a required field DecisionTaskCompletedEventId *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"` } @@ -3347,12 +3455,16 @@ type ContinueAsNewWorkflowExecutionFailedEventAttributes struct { // If cause is set to OPERATION_NOT_PERMITTED, the decision failed because // it lacked sufficient permissions. For details and example IAM policies, see // Using IAM to Manage Access to Amazon SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html). + // + // Cause is a required field Cause *string `locationName:"cause" type:"string" required:"true" enum:"ContinueAsNewWorkflowExecutionFailedCause"` // The ID of the DecisionTaskCompleted event corresponding to the decision task // that resulted in the ContinueAsNewWorkflowExecution decision that started // this execution. This information can be useful for diagnosing problems by // tracing back the chain of events leading up to this event. + // + // DecisionTaskCompletedEventId is a required field DecisionTaskCompletedEventId *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"` } @@ -3384,6 +3496,8 @@ type CountClosedWorkflowExecutionsInput struct { CloseTimeFilter *ExecutionTimeFilter `locationName:"closeTimeFilter" type:"structure"` // The name of the domain containing the workflow executions to count. + // + // Domain is a required field Domain *string `locationName:"domain" min:"1" type:"string" required:"true"` // If specified, only workflow executions matching the WorkflowId in the filter @@ -3474,6 +3588,8 @@ type CountOpenWorkflowExecutionsInput struct { _ struct{} `type:"structure"` // The name of the domain containing the workflow executions to count. + // + // Domain is a required field Domain *string `locationName:"domain" min:"1" type:"string" required:"true"` // If specified, only workflow executions matching the WorkflowId in the filter @@ -3485,6 +3601,8 @@ type CountOpenWorkflowExecutionsInput struct { // Specifies the start time criteria that workflow executions must meet in order // to be counted. + // + // StartTimeFilter is a required field StartTimeFilter *ExecutionTimeFilter `locationName:"startTimeFilter" type:"structure" required:"true"` // If specified, only executions that have a tag that matches the filter are @@ -3554,9 +3672,13 @@ type CountPendingActivityTasksInput struct { _ struct{} `type:"structure"` // The name of the domain that contains the task list. + // + // Domain is a required field Domain *string `locationName:"domain" min:"1" type:"string" required:"true"` // The name of the task list. + // + // TaskList is a required field TaskList *TaskList `locationName:"taskList" type:"structure" required:"true"` } @@ -3598,9 +3720,13 @@ type CountPendingDecisionTasksInput struct { _ struct{} `type:"structure"` // The name of the domain that contains the task list. + // + // Domain is a required field Domain *string `locationName:"domain" min:"1" type:"string" required:"true"` // The name of the task list. + // + // TaskList is a required field TaskList *TaskList `locationName:"taskList" type:"structure" required:"true"` } @@ -3765,6 +3891,8 @@ type Decision struct { ContinueAsNewWorkflowExecutionDecisionAttributes *ContinueAsNewWorkflowExecutionDecisionAttributes `locationName:"continueAsNewWorkflowExecutionDecisionAttributes" type:"structure"` // Specifies the type of the decision. + // + // DecisionType is a required field DecisionType *string `locationName:"decisionType" type:"string" required:"true" enum:"DecisionType"` // Provides details of the FailWorkflowExecution decision. It is not set for @@ -3903,11 +4031,15 @@ type DecisionTaskCompletedEventAttributes struct { // The ID of the DecisionTaskScheduled event that was recorded when this decision // task was scheduled. This information can be useful for diagnosing problems // by tracing back the chain of events leading up to this event. + // + // ScheduledEventId is a required field ScheduledEventId *int64 `locationName:"scheduledEventId" type:"long" required:"true"` // The ID of the DecisionTaskStarted event recorded when this decision task // was started. This information can be useful for diagnosing problems by tracing // back the chain of events leading up to this event. + // + // StartedEventId is a required field StartedEventId *int64 `locationName:"startedEventId" type:"long" required:"true"` } @@ -3933,6 +4065,8 @@ type DecisionTaskScheduledEventAttributes struct { StartToCloseTimeout *string `locationName:"startToCloseTimeout" type:"string"` // The name of the task list in which the decision task was scheduled. + // + // TaskList is a required field TaskList *TaskList `locationName:"taskList" type:"structure" required:"true"` // Optional. A task priority that, if set, specifies the priority for this decision @@ -3967,6 +4101,8 @@ type DecisionTaskStartedEventAttributes struct { // The ID of the DecisionTaskScheduled event that was recorded when this decision // task was scheduled. This information can be useful for diagnosing problems // by tracing back the chain of events leading up to this event. + // + // ScheduledEventId is a required field ScheduledEventId *int64 `locationName:"scheduledEventId" type:"long" required:"true"` } @@ -3987,14 +4123,20 @@ type DecisionTaskTimedOutEventAttributes struct { // The ID of the DecisionTaskScheduled event that was recorded when this decision // task was scheduled. This information can be useful for diagnosing problems // by tracing back the chain of events leading up to this event. + // + // ScheduledEventId is a required field ScheduledEventId *int64 `locationName:"scheduledEventId" type:"long" required:"true"` // The ID of the DecisionTaskStarted event recorded when this decision task // was started. This information can be useful for diagnosing problems by tracing // back the chain of events leading up to this event. + // + // StartedEventId is a required field StartedEventId *int64 `locationName:"startedEventId" type:"long" required:"true"` // The type of timeout that expired before the decision task could be completed. + // + // TimeoutType is a required field TimeoutType *string `locationName:"timeoutType" type:"string" required:"true" enum:"DecisionTaskTimeoutType"` } @@ -4012,9 +4154,13 @@ type DeprecateActivityTypeInput struct { _ struct{} `type:"structure"` // The activity type to deprecate. + // + // ActivityType is a required field ActivityType *ActivityType `locationName:"activityType" type:"structure" required:"true"` // The name of the domain in which the activity type is registered. + // + // Domain is a required field Domain *string `locationName:"domain" min:"1" type:"string" required:"true"` } @@ -4070,6 +4216,8 @@ type DeprecateDomainInput struct { _ struct{} `type:"structure"` // The name of the domain to deprecate. + // + // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` } @@ -4117,9 +4265,13 @@ type DeprecateWorkflowTypeInput struct { _ struct{} `type:"structure"` // The name of the domain in which the workflow type is registered. + // + // Domain is a required field Domain *string `locationName:"domain" min:"1" type:"string" required:"true"` // The workflow type to deprecate. + // + // WorkflowType is a required field WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" required:"true"` } @@ -4176,9 +4328,13 @@ type DescribeActivityTypeInput struct { // The activity type to get information about. Activity types are identified // by the name and version that were supplied when the activity was registered. + // + // ActivityType is a required field ActivityType *ActivityType `locationName:"activityType" type:"structure" required:"true"` // The name of the domain in which the activity type is registered. + // + // Domain is a required field Domain *string `locationName:"domain" min:"1" type:"string" required:"true"` } @@ -4221,6 +4377,8 @@ type DescribeActivityTypeOutput struct { _ struct{} `type:"structure"` // The configuration settings registered with the activity type. + // + // Configuration is a required field Configuration *ActivityTypeConfiguration `locationName:"configuration" type:"structure" required:"true"` // General information about the activity type. @@ -4232,6 +4390,8 @@ type DescribeActivityTypeOutput struct { // type should be running. DEPRECATED: The type was deprecated using DeprecateActivityType, // but is still in use. You should keep workers supporting this type running. // You cannot create new tasks of this type. + // + // TypeInfo is a required field TypeInfo *ActivityTypeInfo `locationName:"typeInfo" type:"structure" required:"true"` } @@ -4249,6 +4409,8 @@ type DescribeDomainInput struct { _ struct{} `type:"structure"` // The name of the domain to describe. + // + // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` } @@ -4283,9 +4445,13 @@ type DescribeDomainOutput struct { _ struct{} `type:"structure"` // Contains the configuration settings of a domain. + // + // Configuration is a required field Configuration *DomainConfiguration `locationName:"configuration" type:"structure" required:"true"` // Contains general information about a domain. + // + // DomainInfo is a required field DomainInfo *DomainInfo `locationName:"domainInfo" type:"structure" required:"true"` } @@ -4303,9 +4469,13 @@ type DescribeWorkflowExecutionInput struct { _ struct{} `type:"structure"` // The name of the domain containing the workflow execution. + // + // Domain is a required field Domain *string `locationName:"domain" min:"1" type:"string" required:"true"` // The workflow execution to describe. + // + // Execution is a required field Execution *WorkflowExecution `locationName:"execution" type:"structure" required:"true"` } @@ -4349,9 +4519,13 @@ type DescribeWorkflowExecutionOutput struct { // The configuration settings for this workflow execution including timeout // values, tasklist etc. + // + // ExecutionConfiguration is a required field ExecutionConfiguration *WorkflowExecutionConfiguration `locationName:"executionConfiguration" type:"structure" required:"true"` // Information about the workflow execution. + // + // ExecutionInfo is a required field ExecutionInfo *WorkflowExecutionInfo `locationName:"executionInfo" type:"structure" required:"true"` // The time when the last activity task was scheduled for this workflow execution. @@ -4366,6 +4540,8 @@ type DescribeWorkflowExecutionOutput struct { // The number of tasks for this workflow execution. This includes open and closed // tasks of all types. + // + // OpenCounts is a required field OpenCounts *WorkflowExecutionOpenCounts `locationName:"openCounts" type:"structure" required:"true"` } @@ -4383,9 +4559,13 @@ type DescribeWorkflowTypeInput struct { _ struct{} `type:"structure"` // The name of the domain in which this workflow type is registered. + // + // Domain is a required field Domain *string `locationName:"domain" min:"1" type:"string" required:"true"` // The workflow type to describe. + // + // WorkflowType is a required field WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" required:"true"` } @@ -4428,6 +4608,8 @@ type DescribeWorkflowTypeOutput struct { _ struct{} `type:"structure"` // Configuration settings of the workflow type registered through RegisterWorkflowType + // + // Configuration is a required field Configuration *WorkflowTypeConfiguration `locationName:"configuration" type:"structure" required:"true"` // General information about the workflow type. @@ -4439,6 +4621,8 @@ type DescribeWorkflowTypeOutput struct { // type should be running. DEPRECATED: The type was deprecated using DeprecateWorkflowType, // but is still in use. You should keep workers supporting this type running. // You cannot create new workflow executions of this type. + // + // TypeInfo is a required field TypeInfo *WorkflowTypeInfo `locationName:"typeInfo" type:"structure" required:"true"` } @@ -4457,6 +4641,8 @@ type DomainConfiguration struct { _ struct{} `type:"structure"` // The retention period for workflow executions in this domain. + // + // WorkflowExecutionRetentionPeriodInDays is a required field WorkflowExecutionRetentionPeriodInDays *string `locationName:"workflowExecutionRetentionPeriodInDays" min:"1" type:"string" required:"true"` } @@ -4478,6 +4664,8 @@ type DomainInfo struct { Description *string `locationName:"description" type:"string"` // The name of the domain. This name is unique within the account. + // + // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // The status of the domain: @@ -4486,6 +4674,8 @@ type DomainInfo struct { // this domain for registering types and creating new workflow executions. // DEPRECATED: The domain was deprecated using DeprecateDomain, but is still // in use. You should not create new workflow executions in this domain. + // + // Status is a required field Status *string `locationName:"status" type:"string" required:"true" enum:"RegistrationStatus"` } @@ -4511,6 +4701,8 @@ type ExecutionTimeFilter struct { LatestDate *time.Time `locationName:"latestDate" type:"timestamp" timestampFormat:"unix"` // Specifies the oldest start or close date and time to return. + // + // OldestDate is a required field OldestDate *time.Time `locationName:"oldestDate" type:"timestamp" timestampFormat:"unix" required:"true"` } @@ -4545,9 +4737,13 @@ type ExternalWorkflowExecutionCancelRequestedEventAttributes struct { // to the RequestCancelExternalWorkflowExecution decision to cancel this external // workflow execution. This information can be useful for diagnosing problems // by tracing back the chain of events leading up to this event. + // + // InitiatedEventId is a required field InitiatedEventId *int64 `locationName:"initiatedEventId" type:"long" required:"true"` // The external workflow execution to which the cancellation request was delivered. + // + // WorkflowExecution is a required field WorkflowExecution *WorkflowExecution `locationName:"workflowExecution" type:"structure" required:"true"` } @@ -4569,9 +4765,13 @@ type ExternalWorkflowExecutionSignaledEventAttributes struct { // to the SignalExternalWorkflowExecution decision to request this signal. This // information can be useful for diagnosing problems by tracing back the chain // of events leading up to this event. + // + // InitiatedEventId is a required field InitiatedEventId *int64 `locationName:"initiatedEventId" type:"long" required:"true"` // The external workflow execution that the signal was delivered to. + // + // WorkflowExecution is a required field WorkflowExecution *WorkflowExecution `locationName:"workflowExecution" type:"structure" required:"true"` } @@ -4630,12 +4830,16 @@ type FailWorkflowExecutionFailedEventAttributes struct { // If cause is set to OPERATION_NOT_PERMITTED, the decision failed because // it lacked sufficient permissions. For details and example IAM policies, see // Using IAM to Manage Access to Amazon SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html). + // + // Cause is a required field Cause *string `locationName:"cause" type:"string" required:"true" enum:"FailWorkflowExecutionFailedCause"` // The ID of the DecisionTaskCompleted event corresponding to the decision task // that resulted in the FailWorkflowExecution decision to fail this execution. // This information can be useful for diagnosing problems by tracing back the // chain of events leading up to this event. + // + // DecisionTaskCompletedEventId is a required field DecisionTaskCompletedEventId *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"` } @@ -4653,9 +4857,13 @@ type GetWorkflowExecutionHistoryInput struct { _ struct{} `type:"structure"` // The name of the domain containing the workflow execution. + // + // Domain is a required field Domain *string `locationName:"domain" min:"1" type:"string" required:"true"` // Specifies the workflow execution for which to return the history. + // + // Execution is a required field Execution *WorkflowExecution `locationName:"execution" type:"structure" required:"true"` // The maximum number of results that will be returned per call. nextPageToken @@ -4721,6 +4929,8 @@ type GetWorkflowExecutionHistoryOutput struct { _ struct{} `type:"structure"` // The list of history events. + // + // Events is a required field Events []*HistoryEvent `locationName:"events" type:"list" required:"true"` // If a NextPageToken was returned by a previous call, there are more results @@ -4917,12 +5127,18 @@ type HistoryEvent struct { // The system generated ID of the event. This ID uniquely identifies the event // with in the workflow execution history. + // + // EventId is a required field EventId *int64 `locationName:"eventId" type:"long" required:"true"` // The date and time when the event occurred. + // + // EventTimestamp is a required field EventTimestamp *time.Time `locationName:"eventTimestamp" type:"timestamp" timestampFormat:"unix" required:"true"` // The type of the history event. + // + // EventType is a required field EventType *string `locationName:"eventType" type:"string" required:"true" enum:"EventType"` // If the event is of type ExternalWorkflowExecutionCancelRequested then this @@ -5091,9 +5307,13 @@ type LambdaFunctionCompletedEventAttributes struct { // The ID of the LambdaFunctionScheduled event that was recorded when this AWS // Lambda function was scheduled. This information can be useful for diagnosing // problems by tracing back the chain of events leading up to this event. + // + // ScheduledEventId is a required field ScheduledEventId *int64 `locationName:"scheduledEventId" type:"long" required:"true"` // The ID of the LambdaFunctionStarted event recorded in the history. + // + // StartedEventId is a required field StartedEventId *int64 `locationName:"startedEventId" type:"long" required:"true"` } @@ -5120,9 +5340,13 @@ type LambdaFunctionFailedEventAttributes struct { // The ID of the LambdaFunctionScheduled event that was recorded when this AWS // Lambda function was scheduled. This information can be useful for diagnosing // problems by tracing back the chain of events leading up to this event. + // + // ScheduledEventId is a required field ScheduledEventId *int64 `locationName:"scheduledEventId" type:"long" required:"true"` // The ID of the LambdaFunctionStarted event recorded in the history. + // + // StartedEventId is a required field StartedEventId *int64 `locationName:"startedEventId" type:"long" required:"true"` } @@ -5144,15 +5368,21 @@ type LambdaFunctionScheduledEventAttributes struct { // in the scheduling of this AWS Lambda function. This information can be useful // for diagnosing problems by tracing back the chain of events leading up to // this event. + // + // DecisionTaskCompletedEventId is a required field DecisionTaskCompletedEventId *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"` // The unique Amazon SWF ID for the AWS Lambda task. + // + // Id is a required field Id *string `locationName:"id" min:"1" type:"string" required:"true"` // Input provided to the AWS Lambda function. Input *string `locationName:"input" min:"1" type:"string"` // The name of the scheduled AWS Lambda function. + // + // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // The maximum time, in seconds, that the AWS Lambda function can take to execute @@ -5177,6 +5407,8 @@ type LambdaFunctionStartedEventAttributes struct { // The ID of the LambdaFunctionScheduled event that was recorded when this AWS // Lambda function was scheduled. This information can be useful for diagnosing // problems by tracing back the chain of events leading up to this event. + // + // ScheduledEventId is a required field ScheduledEventId *int64 `locationName:"scheduledEventId" type:"long" required:"true"` } @@ -5197,9 +5429,13 @@ type LambdaFunctionTimedOutEventAttributes struct { // The ID of the LambdaFunctionScheduled event that was recorded when this AWS // Lambda function was scheduled. This information can be useful for diagnosing // problems by tracing back the chain of events leading up to this event. + // + // ScheduledEventId is a required field ScheduledEventId *int64 `locationName:"scheduledEventId" type:"long" required:"true"` // The ID of the LambdaFunctionStarted event recorded in the history. + // + // StartedEventId is a required field StartedEventId *int64 `locationName:"startedEventId" type:"long" required:"true"` // The type of the timeout that caused this event. @@ -5220,6 +5456,8 @@ type ListActivityTypesInput struct { _ struct{} `type:"structure"` // The name of the domain in which the activity types have been registered. + // + // Domain is a required field Domain *string `locationName:"domain" min:"1" type:"string" required:"true"` // The maximum number of results that will be returned per call. nextPageToken @@ -5243,6 +5481,8 @@ type ListActivityTypesInput struct { NextPageToken *string `locationName:"nextPageToken" type:"string"` // Specifies the registration status of the activity types to list. + // + // RegistrationStatus is a required field RegistrationStatus *string `locationName:"registrationStatus" type:"string" required:"true" enum:"RegistrationStatus"` // When set to true, returns the results in reverse order. By default, the results @@ -5295,6 +5535,8 @@ type ListActivityTypesOutput struct { NextPageToken *string `locationName:"nextPageToken" type:"string"` // List of activity type information. + // + // TypeInfos is a required field TypeInfos []*ActivityTypeInfo `locationName:"typeInfos" type:"list" required:"true"` } @@ -5329,6 +5571,8 @@ type ListClosedWorkflowExecutionsInput struct { CloseTimeFilter *ExecutionTimeFilter `locationName:"closeTimeFilter" type:"structure"` // The name of the domain that contains the workflow executions to list. + // + // Domain is a required field Domain *string `locationName:"domain" min:"1" type:"string" required:"true"` // If specified, only workflow executions matching the workflow ID specified @@ -5458,6 +5702,8 @@ type ListDomainsInput struct { NextPageToken *string `locationName:"nextPageToken" type:"string"` // Specifies the registration status of the domains to list. + // + // RegistrationStatus is a required field RegistrationStatus *string `locationName:"registrationStatus" type:"string" required:"true" enum:"RegistrationStatus"` // When set to true, returns the results in reverse order. By default, the results @@ -5493,6 +5739,8 @@ type ListDomainsOutput struct { _ struct{} `type:"structure"` // A list of DomainInfo structures. + // + // DomainInfos is a required field DomainInfos []*DomainInfo `locationName:"domainInfos" type:"list" required:"true"` // If a NextPageToken was returned by a previous call, there are more results @@ -5518,6 +5766,8 @@ type ListOpenWorkflowExecutionsInput struct { _ struct{} `type:"structure"` // The name of the domain that contains the workflow executions to list. + // + // Domain is a required field Domain *string `locationName:"domain" min:"1" type:"string" required:"true"` // If specified, only workflow executions matching the workflow ID specified @@ -5550,6 +5800,8 @@ type ListOpenWorkflowExecutionsInput struct { // Workflow executions are included in the returned results based on whether // their start times are within the range specified by this filter. + // + // StartTimeFilter is a required field StartTimeFilter *ExecutionTimeFilter `locationName:"startTimeFilter" type:"structure" required:"true"` // If specified, only executions that have the matching tag are listed. @@ -5618,6 +5870,8 @@ type ListWorkflowTypesInput struct { _ struct{} `type:"structure"` // The name of the domain in which the workflow types have been registered. + // + // Domain is a required field Domain *string `locationName:"domain" min:"1" type:"string" required:"true"` // The maximum number of results that will be returned per call. nextPageToken @@ -5641,6 +5895,8 @@ type ListWorkflowTypesInput struct { NextPageToken *string `locationName:"nextPageToken" type:"string"` // Specifies the registration status of the workflow types to list. + // + // RegistrationStatus is a required field RegistrationStatus *string `locationName:"registrationStatus" type:"string" required:"true" enum:"RegistrationStatus"` // When set to true, returns the results in reverse order. By default the results @@ -5694,6 +5950,8 @@ type ListWorkflowTypesOutput struct { NextPageToken *string `locationName:"nextPageToken" type:"string"` // The list of workflow type information. + // + // TypeInfos is a required field TypeInfos []*WorkflowTypeInfo `locationName:"typeInfos" type:"list" required:"true"` } @@ -5715,12 +5973,16 @@ type MarkerRecordedEventAttributes struct { // that resulted in the RecordMarker decision that requested this marker. This // information can be useful for diagnosing problems by tracing back the chain // of events leading up to this event. + // + // DecisionTaskCompletedEventId is a required field DecisionTaskCompletedEventId *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"` // Details of the marker (if any). Details *string `locationName:"details" type:"string"` // The name of the marker. + // + // MarkerName is a required field MarkerName *string `locationName:"markerName" min:"1" type:"string" required:"true"` } @@ -5739,6 +6001,8 @@ type PendingTaskCount struct { _ struct{} `type:"structure"` // The number of tasks in the task list. + // + // Count is a required field Count *int64 `locationName:"count" type:"integer" required:"true"` // If set to true, indicates that the actual count was more than the maximum @@ -5760,6 +6024,8 @@ type PollForActivityTaskInput struct { _ struct{} `type:"structure"` // The name of the domain that contains the task lists being polled. + // + // Domain is a required field Domain *string `locationName:"domain" min:"1" type:"string" required:"true"` // Identity of the worker making the request, recorded in the ActivityTaskStarted @@ -5773,6 +6039,8 @@ type PollForActivityTaskInput struct { // contain a : (colon), / (slash), | (vertical bar), or any control characters // (\u0000-\u001f | \u007f - \u009f). Also, it must not contain the literal // string quotarnquot. + // + // TaskList is a required field TaskList *TaskList `locationName:"taskList" type:"structure" required:"true"` } @@ -5815,9 +6083,13 @@ type PollForActivityTaskOutput struct { _ struct{} `type:"structure"` // The unique ID of the task. + // + // ActivityId is a required field ActivityId *string `locationName:"activityId" min:"1" type:"string" required:"true"` // The type of this activity task. + // + // ActivityType is a required field ActivityType *ActivityType `locationName:"activityType" type:"structure" required:"true"` // The inputs provided when the activity task was scheduled. The form of the @@ -5825,14 +6097,20 @@ type PollForActivityTaskOutput struct { Input *string `locationName:"input" type:"string"` // The ID of the ActivityTaskStarted event recorded in the history. + // + // StartedEventId is a required field StartedEventId *int64 `locationName:"startedEventId" type:"long" required:"true"` // The opaque string used as a handle on the task. This token is used by workers // to communicate progress and response information back to the system about // the task. + // + // TaskToken is a required field TaskToken *string `locationName:"taskToken" min:"1" type:"string" required:"true"` // The workflow execution that started this activity task. + // + // WorkflowExecution is a required field WorkflowExecution *WorkflowExecution `locationName:"workflowExecution" type:"structure" required:"true"` } @@ -5850,6 +6128,8 @@ type PollForDecisionTaskInput struct { _ struct{} `type:"structure"` // The name of the domain containing the task lists to poll. + // + // Domain is a required field Domain *string `locationName:"domain" min:"1" type:"string" required:"true"` // Identity of the decider making the request, which is recorded in the DecisionTaskStarted @@ -5889,6 +6169,8 @@ type PollForDecisionTaskInput struct { // contain a : (colon), / (slash), | (vertical bar), or any control characters // (\u0000-\u001f | \u007f - \u009f). Also, it must not contain the literal // string quotarnquot. + // + // TaskList is a required field TaskList *TaskList `locationName:"taskList" type:"structure" required:"true"` } @@ -5933,6 +6215,8 @@ type PollForDecisionTaskOutput struct { // A paginated list of history events of the workflow execution. The decider // uses this during the processing of the decision task. + // + // Events is a required field Events []*HistoryEvent `locationName:"events" type:"list" required:"true"` // If a NextPageToken was returned by a previous call, there are more results @@ -5950,17 +6234,25 @@ type PollForDecisionTaskOutput struct { PreviousStartedEventId *int64 `locationName:"previousStartedEventId" type:"long"` // The ID of the DecisionTaskStarted event recorded in the history. + // + // StartedEventId is a required field StartedEventId *int64 `locationName:"startedEventId" type:"long" required:"true"` // The opaque string used as a handle on the task. This token is used by workers // to communicate progress and response information back to the system about // the task. + // + // TaskToken is a required field TaskToken *string `locationName:"taskToken" min:"1" type:"string" required:"true"` // The workflow execution for which this decision task was created. + // + // WorkflowExecution is a required field WorkflowExecution *WorkflowExecution `locationName:"workflowExecution" type:"structure" required:"true"` // The type of the workflow execution for which this decision task was created. + // + // WorkflowType is a required field WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" required:"true"` } @@ -5985,6 +6277,8 @@ type RecordActivityTaskHeartbeatInput struct { // taskToken is generated by the service and should be treated as an opaque // value. If the task is passed to another process, its taskToken must also // be passed. This enables it to provide its progress and respond with results. + // + // TaskToken is a required field TaskToken *string `locationName:"taskToken" min:"1" type:"string" required:"true"` } @@ -6019,6 +6313,8 @@ type RecordActivityTaskHeartbeatOutput struct { _ struct{} `type:"structure"` // Set to true if cancellation of the task is requested. + // + // CancelRequested is a required field CancelRequested *bool `locationName:"cancelRequested" type:"boolean" required:"true"` } @@ -6054,6 +6350,8 @@ type RecordMarkerDecisionAttributes struct { Details *string `locationName:"details" type:"string"` // Required. The name of the marker. + // + // MarkerName is a required field MarkerName *string `locationName:"markerName" min:"1" type:"string" required:"true"` } @@ -6093,15 +6391,21 @@ type RecordMarkerFailedEventAttributes struct { // If cause is set to OPERATION_NOT_PERMITTED, the decision failed because // it lacked sufficient permissions. For details and example IAM policies, see // Using IAM to Manage Access to Amazon SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html). + // + // Cause is a required field Cause *string `locationName:"cause" type:"string" required:"true" enum:"RecordMarkerFailedCause"` // The ID of the DecisionTaskCompleted event corresponding to the decision task // that resulted in the RecordMarkerFailed decision for this cancellation request. // This information can be useful for diagnosing problems by tracing back the // chain of events leading up to this event. + // + // DecisionTaskCompletedEventId is a required field DecisionTaskCompletedEventId *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"` // The marker's name. + // + // MarkerName is a required field MarkerName *string `locationName:"markerName" min:"1" type:"string" required:"true"` } @@ -6174,6 +6478,8 @@ type RegisterActivityTypeInput struct { Description *string `locationName:"description" type:"string"` // The name of the domain in which this activity is to be registered. + // + // Domain is a required field Domain *string `locationName:"domain" min:"1" type:"string" required:"true"` // The name of the activity type within the domain. @@ -6182,6 +6488,8 @@ type RegisterActivityTypeInput struct { // contain a : (colon), / (slash), | (vertical bar), or any control characters // (\u0000-\u001f | \u007f - \u009f). Also, it must not contain the literal // string quotarnquot. + // + // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // The version of the activity type. @@ -6191,6 +6499,8 @@ type RegisterActivityTypeInput struct { // end with whitespace. It must not contain a : (colon), / (slash), | (vertical // bar), or any control characters (\u0000-\u001f | \u007f - \u009f). Also, // it must not contain the literal string quotarnquot. + // + // Version is a required field Version *string `locationName:"version" min:"1" type:"string" required:"true"` } @@ -6264,6 +6574,8 @@ type RegisterDomainInput struct { // contain a : (colon), / (slash), | (vertical bar), or any control characters // (\u0000-\u001f | \u007f - \u009f). Also, it must not contain the literal // string quotarnquot. + // + // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // The duration (in days) that records and histories of workflow executions @@ -6277,6 +6589,8 @@ type RegisterDomainInput struct { // The maximum workflow execution retention period is 90 days. For more information // about Amazon SWF service limits, see: Amazon SWF Service Limits (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dg-limits.html) // in the Amazon SWF Developer Guide. + // + // WorkflowExecutionRetentionPeriodInDays is a required field WorkflowExecutionRetentionPeriodInDays *string `locationName:"workflowExecutionRetentionPeriodInDays" min:"1" type:"string" required:"true"` } @@ -6392,6 +6706,8 @@ type RegisterWorkflowTypeInput struct { Description *string `locationName:"description" type:"string"` // The name of the domain in which to register the workflow type. + // + // Domain is a required field Domain *string `locationName:"domain" min:"1" type:"string" required:"true"` // The name of the workflow type. @@ -6400,6 +6716,8 @@ type RegisterWorkflowTypeInput struct { // contain a : (colon), / (slash), | (vertical bar), or any control characters // (\u0000-\u001f | \u007f - \u009f). Also, it must not contain the literal // string quotarnquot. + // + // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // The version of the workflow type. @@ -6410,6 +6728,8 @@ type RegisterWorkflowTypeInput struct { // not start or end with whitespace. It must not contain a : (colon), / (slash), // | (vertical bar), or any control characters (\u0000-\u001f | \u007f - \u009f). // Also, it must not contain the literal string quotarnquot. + // + // Version is a required field Version *string `locationName:"version" min:"1" type:"string" required:"true"` } @@ -6492,6 +6812,8 @@ type RequestCancelActivityTaskDecisionAttributes struct { _ struct{} `type:"structure"` // The activityId of the activity task to be canceled. + // + // ActivityId is a required field ActivityId *string `locationName:"activityId" min:"1" type:"string" required:"true"` } @@ -6526,6 +6848,8 @@ type RequestCancelActivityTaskFailedEventAttributes struct { _ struct{} `type:"structure"` // The activityId provided in the RequestCancelActivityTask decision that failed. + // + // ActivityId is a required field ActivityId *string `locationName:"activityId" min:"1" type:"string" required:"true"` // The cause of the failure. This information is generated by the system and @@ -6534,12 +6858,16 @@ type RequestCancelActivityTaskFailedEventAttributes struct { // If cause is set to OPERATION_NOT_PERMITTED, the decision failed because // it lacked sufficient permissions. For details and example IAM policies, see // Using IAM to Manage Access to Amazon SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html). + // + // Cause is a required field Cause *string `locationName:"cause" type:"string" required:"true" enum:"RequestCancelActivityTaskFailedCause"` // The ID of the DecisionTaskCompleted event corresponding to the decision task // that resulted in the RequestCancelActivityTask decision for this cancellation // request. This information can be useful for diagnosing problems by tracing // back the chain of events leading up to this event. + // + // DecisionTaskCompletedEventId is a required field DecisionTaskCompletedEventId *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"` } @@ -6579,6 +6907,8 @@ type RequestCancelExternalWorkflowExecutionDecisionAttributes struct { RunId *string `locationName:"runId" type:"string"` // Required. The workflowId of the external workflow execution to cancel. + // + // WorkflowId is a required field WorkflowId *string `locationName:"workflowId" min:"1" type:"string" required:"true"` } @@ -6618,6 +6948,8 @@ type RequestCancelExternalWorkflowExecutionFailedEventAttributes struct { // If cause is set to OPERATION_NOT_PERMITTED, the decision failed because // it lacked sufficient permissions. For details and example IAM policies, see // Using IAM to Manage Access to Amazon SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html). + // + // Cause is a required field Cause *string `locationName:"cause" type:"string" required:"true" enum:"RequestCancelExternalWorkflowExecutionFailedCause"` Control *string `locationName:"control" type:"string"` @@ -6626,12 +6958,16 @@ type RequestCancelExternalWorkflowExecutionFailedEventAttributes struct { // that resulted in the RequestCancelExternalWorkflowExecution decision for // this cancellation request. This information can be useful for diagnosing // problems by tracing back the chain of events leading up to this event. + // + // DecisionTaskCompletedEventId is a required field DecisionTaskCompletedEventId *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"` // The ID of the RequestCancelExternalWorkflowExecutionInitiated event corresponding // to the RequestCancelExternalWorkflowExecution decision to cancel this external // workflow execution. This information can be useful for diagnosing problems // by tracing back the chain of events leading up to this event. + // + // InitiatedEventId is a required field InitiatedEventId *int64 `locationName:"initiatedEventId" type:"long" required:"true"` // The runId of the external workflow execution. @@ -6639,6 +6975,8 @@ type RequestCancelExternalWorkflowExecutionFailedEventAttributes struct { // The workflowId of the external workflow to which the cancel request was to // be delivered. + // + // WorkflowId is a required field WorkflowId *string `locationName:"workflowId" min:"1" type:"string" required:"true"` } @@ -6664,12 +7002,16 @@ type RequestCancelExternalWorkflowExecutionInitiatedEventAttributes struct { // that resulted in the RequestCancelExternalWorkflowExecution decision for // this cancellation request. This information can be useful for diagnosing // problems by tracing back the chain of events leading up to this event. + // + // DecisionTaskCompletedEventId is a required field DecisionTaskCompletedEventId *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"` // The runId of the external workflow execution to be canceled. RunId *string `locationName:"runId" type:"string"` // The workflowId of the external workflow execution to be canceled. + // + // WorkflowId is a required field WorkflowId *string `locationName:"workflowId" min:"1" type:"string" required:"true"` } @@ -6687,12 +7029,16 @@ type RequestCancelWorkflowExecutionInput struct { _ struct{} `type:"structure"` // The name of the domain containing the workflow execution to cancel. + // + // Domain is a required field Domain *string `locationName:"domain" min:"1" type:"string" required:"true"` // The runId of the workflow execution to cancel. RunId *string `locationName:"runId" type:"string"` // The workflowId of the workflow execution to cancel. + // + // WorkflowId is a required field WorkflowId *string `locationName:"workflowId" min:"1" type:"string" required:"true"` } @@ -6753,6 +7099,8 @@ type RespondActivityTaskCanceledInput struct { // taskToken is generated by the service and should be treated as an opaque // value. If the task is passed to another process, its taskToken must also // be passed. This enables it to provide its progress and respond with results. + // + // TaskToken is a required field TaskToken *string `locationName:"taskToken" min:"1" type:"string" required:"true"` } @@ -6808,6 +7156,8 @@ type RespondActivityTaskCompletedInput struct { // taskToken is generated by the service and should be treated as an opaque // value. If the task is passed to another process, its taskToken must also // be passed. This enables it to provide its progress and respond with results. + // + // TaskToken is a required field TaskToken *string `locationName:"taskToken" min:"1" type:"string" required:"true"` } @@ -6865,6 +7215,8 @@ type RespondActivityTaskFailedInput struct { // taskToken is generated by the service and should be treated as an opaque // value. If the task is passed to another process, its taskToken must also // be passed. This enables it to provide its progress and respond with results. + // + // TaskToken is a required field TaskToken *string `locationName:"taskToken" min:"1" type:"string" required:"true"` } @@ -6923,6 +7275,8 @@ type RespondDecisionTaskCompletedInput struct { // taskToken is generated by the service and should be treated as an opaque // value. If the task is passed to another process, its taskToken must also // be passed. This enables it to provide its progress and respond with results. + // + // TaskToken is a required field TaskToken *string `locationName:"taskToken" min:"1" type:"string" required:"true"` } @@ -7003,9 +7357,13 @@ type ScheduleActivityTaskDecisionAttributes struct { // contain a : (colon), / (slash), | (vertical bar), or any control characters // (\u0000-\u001f | \u007f - \u009f). Also, it must not contain the literal // string quotarnquot. + // + // ActivityId is a required field ActivityId *string `locationName:"activityId" min:"1" type:"string" required:"true"` // Required. The type of the activity task to schedule. + // + // ActivityType is a required field ActivityType *ActivityType `locationName:"activityType" type:"structure" required:"true"` // Optional. Data attached to the event that can be used by the decider in subsequent @@ -7132,9 +7490,13 @@ type ScheduleActivityTaskFailedEventAttributes struct { _ struct{} `type:"structure"` // The activityId provided in the ScheduleActivityTask decision that failed. + // + // ActivityId is a required field ActivityId *string `locationName:"activityId" min:"1" type:"string" required:"true"` // The activity type provided in the ScheduleActivityTask decision that failed. + // + // ActivityType is a required field ActivityType *ActivityType `locationName:"activityType" type:"structure" required:"true"` // The cause of the failure. This information is generated by the system and @@ -7143,12 +7505,16 @@ type ScheduleActivityTaskFailedEventAttributes struct { // If cause is set to OPERATION_NOT_PERMITTED, the decision failed because // it lacked sufficient permissions. For details and example IAM policies, see // Using IAM to Manage Access to Amazon SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html). + // + // Cause is a required field Cause *string `locationName:"cause" type:"string" required:"true" enum:"ScheduleActivityTaskFailedCause"` // The ID of the DecisionTaskCompleted event corresponding to the decision that // resulted in the scheduling of this activity task. This information can be // useful for diagnosing problems by tracing back the chain of events leading // up to this event. + // + // DecisionTaskCompletedEventId is a required field DecisionTaskCompletedEventId *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"` } @@ -7189,12 +7555,16 @@ type ScheduleLambdaFunctionDecisionAttributes struct { // contain a : (colon), / (slash), | (vertical bar), or any control characters // (\u0000-\u001f | \u007f - \u009f). Also, it must not contain the literal // string quotarnquot. + // + // Id is a required field Id *string `locationName:"id" min:"1" type:"string" required:"true"` // The input provided to the AWS Lambda function. Input *string `locationName:"input" min:"1" type:"string"` // Required. The name of the AWS Lambda function to invoke. + // + // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // If set, specifies the maximum duration the function may take to execute. @@ -7246,18 +7616,26 @@ type ScheduleLambdaFunctionFailedEventAttributes struct { // If cause is set to OPERATION_NOT_PERMITTED, the decision failed because // it lacked sufficient permissions. For details and example IAM policies, see // Using IAM to Manage Access to Amazon SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html). + // + // Cause is a required field Cause *string `locationName:"cause" type:"string" required:"true" enum:"ScheduleLambdaFunctionFailedCause"` // The ID of the DecisionTaskCompleted event corresponding to the decision that // resulted in the scheduling of this AWS Lambda function. This information // can be useful for diagnosing problems by tracing back the chain of events // leading up to this event. + // + // DecisionTaskCompletedEventId is a required field DecisionTaskCompletedEventId *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"` // The unique Amazon SWF ID of the AWS Lambda task. + // + // Id is a required field Id *string `locationName:"id" min:"1" type:"string" required:"true"` // The name of the scheduled AWS Lambda function. + // + // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` } @@ -7302,9 +7680,13 @@ type SignalExternalWorkflowExecutionDecisionAttributes struct { // Required. The name of the signal.The target workflow execution will use the // signal name and input to process the signal. + // + // SignalName is a required field SignalName *string `locationName:"signalName" min:"1" type:"string" required:"true"` // Required. The workflowId of the workflow execution to be signaled. + // + // WorkflowId is a required field WorkflowId *string `locationName:"workflowId" min:"1" type:"string" required:"true"` } @@ -7350,6 +7732,8 @@ type SignalExternalWorkflowExecutionFailedEventAttributes struct { // If cause is set to OPERATION_NOT_PERMITTED, the decision failed because // it lacked sufficient permissions. For details and example IAM policies, see // Using IAM to Manage Access to Amazon SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html). + // + // Cause is a required field Cause *string `locationName:"cause" type:"string" required:"true" enum:"SignalExternalWorkflowExecutionFailedCause"` Control *string `locationName:"control" type:"string"` @@ -7358,12 +7742,16 @@ type SignalExternalWorkflowExecutionFailedEventAttributes struct { // that resulted in the SignalExternalWorkflowExecution decision for this signal. // This information can be useful for diagnosing problems by tracing back the // chain of events leading up to this event. + // + // DecisionTaskCompletedEventId is a required field DecisionTaskCompletedEventId *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"` // The ID of the SignalExternalWorkflowExecutionInitiated event corresponding // to the SignalExternalWorkflowExecution decision to request this signal. This // information can be useful for diagnosing problems by tracing back the chain // of events leading up to this event. + // + // InitiatedEventId is a required field InitiatedEventId *int64 `locationName:"initiatedEventId" type:"long" required:"true"` // The runId of the external workflow execution that the signal was being delivered @@ -7372,6 +7760,8 @@ type SignalExternalWorkflowExecutionFailedEventAttributes struct { // The workflowId of the external workflow execution that the signal was being // delivered to. + // + // WorkflowId is a required field WorkflowId *string `locationName:"workflowId" min:"1" type:"string" required:"true"` } @@ -7397,6 +7787,8 @@ type SignalExternalWorkflowExecutionInitiatedEventAttributes struct { // that resulted in the SignalExternalWorkflowExecution decision for this signal. // This information can be useful for diagnosing problems by tracing back the // chain of events leading up to this event. + // + // DecisionTaskCompletedEventId is a required field DecisionTaskCompletedEventId *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"` // Input provided to the signal (if any). @@ -7406,9 +7798,13 @@ type SignalExternalWorkflowExecutionInitiatedEventAttributes struct { RunId *string `locationName:"runId" type:"string"` // The name of the signal. + // + // SignalName is a required field SignalName *string `locationName:"signalName" min:"1" type:"string" required:"true"` // The workflowId of the external workflow execution. + // + // WorkflowId is a required field WorkflowId *string `locationName:"workflowId" min:"1" type:"string" required:"true"` } @@ -7426,6 +7822,8 @@ type SignalWorkflowExecutionInput struct { _ struct{} `type:"structure"` // The name of the domain containing the workflow execution to signal. + // + // Domain is a required field Domain *string `locationName:"domain" min:"1" type:"string" required:"true"` // Data to attach to the WorkflowExecutionSignaled event in the target workflow @@ -7436,9 +7834,13 @@ type SignalWorkflowExecutionInput struct { RunId *string `locationName:"runId" type:"string"` // The name of the signal. This name must be meaningful to the target workflow. + // + // SignalName is a required field SignalName *string `locationName:"signalName" min:"1" type:"string" required:"true"` // The workflowId of the workflow execution to signal. + // + // WorkflowId is a required field WorkflowId *string `locationName:"workflowId" min:"1" type:"string" required:"true"` } @@ -7608,9 +8010,13 @@ type StartChildWorkflowExecutionDecisionAttributes struct { // contain a : (colon), / (slash), | (vertical bar), or any control characters // (\u0000-\u001f | \u007f - \u009f). Also, it must not contain the literal // string quotarnquot. + // + // WorkflowId is a required field WorkflowId *string `locationName:"workflowId" min:"1" type:"string" required:"true"` // Required. The type of the workflow execution to be started. + // + // WorkflowType is a required field WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" required:"true"` } @@ -7666,6 +8072,8 @@ type StartChildWorkflowExecutionFailedEventAttributes struct { // If cause is set to OPERATION_NOT_PERMITTED, the decision failed because // it lacked sufficient permissions. For details and example IAM policies, see // Using IAM to Manage Access to Amazon SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html). + // + // Cause is a required field Cause *string `locationName:"cause" type:"string" required:"true" enum:"StartChildWorkflowExecutionFailedCause"` Control *string `locationName:"control" type:"string"` @@ -7674,19 +8082,27 @@ type StartChildWorkflowExecutionFailedEventAttributes struct { // that resulted in the StartChildWorkflowExecution decision to request this // child workflow execution. This information can be useful for diagnosing problems // by tracing back the cause of events. + // + // DecisionTaskCompletedEventId is a required field DecisionTaskCompletedEventId *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"` // The ID of the StartChildWorkflowExecutionInitiated event corresponding to // the StartChildWorkflowExecution decision to start this child workflow execution. // This information can be useful for diagnosing problems by tracing back the // chain of events leading up to this event. + // + // InitiatedEventId is a required field InitiatedEventId *int64 `locationName:"initiatedEventId" type:"long" required:"true"` // The workflowId of the child workflow execution. + // + // WorkflowId is a required field WorkflowId *string `locationName:"workflowId" min:"1" type:"string" required:"true"` // The workflow type provided in the StartChildWorkflowExecution decision that // failed. + // + // WorkflowType is a required field WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" required:"true"` } @@ -7715,6 +8131,8 @@ type StartChildWorkflowExecutionInitiatedEventAttributes struct { // event in its history. It is up to the decider to take appropriate actions // when it receives an execution history with this event. ABANDON: no action // will be taken. The child executions will continue to run. + // + // ChildPolicy is a required field ChildPolicy *string `locationName:"childPolicy" type:"string" required:"true" enum:"ChildPolicy"` // Optional. Data attached to the event that can be used by the decider in subsequent @@ -7725,6 +8143,8 @@ type StartChildWorkflowExecutionInitiatedEventAttributes struct { // that resulted in the StartChildWorkflowExecution decision to request this // child workflow execution. This information can be useful for diagnosing problems // by tracing back the cause of events. + // + // DecisionTaskCompletedEventId is a required field DecisionTaskCompletedEventId *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"` // The maximum duration for the child workflow execution. If the workflow execution @@ -7746,6 +8166,8 @@ type StartChildWorkflowExecutionInitiatedEventAttributes struct { // The name of the task list used for the decision tasks of the child workflow // execution. + // + // TaskList is a required field TaskList *TaskList `locationName:"taskList" type:"structure" required:"true"` // Optional. The priority assigned for the decision tasks for this workflow @@ -7765,9 +8187,13 @@ type StartChildWorkflowExecutionInitiatedEventAttributes struct { TaskStartToCloseTimeout *string `locationName:"taskStartToCloseTimeout" type:"string"` // The workflowId of the child workflow execution. + // + // WorkflowId is a required field WorkflowId *string `locationName:"workflowId" min:"1" type:"string" required:"true"` // The type of the child workflow execution. + // + // WorkflowType is a required field WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" required:"true"` } @@ -7838,6 +8264,8 @@ type StartTimerDecisionAttributes struct { // // The duration is specified in seconds; an integer greater than or equal to // 0. + // + // StartToFireTimeout is a required field StartToFireTimeout *string `locationName:"startToFireTimeout" min:"1" type:"string" required:"true"` // Required. The unique ID of the timer. @@ -7846,6 +8274,8 @@ type StartTimerDecisionAttributes struct { // contain a : (colon), / (slash), | (vertical bar), or any control characters // (\u0000-\u001f | \u007f - \u009f). Also, it must not contain the literal // string quotarnquot. + // + // TimerId is a required field TimerId *string `locationName:"timerId" min:"1" type:"string" required:"true"` } @@ -7891,15 +8321,21 @@ type StartTimerFailedEventAttributes struct { // If cause is set to OPERATION_NOT_PERMITTED, the decision failed because // it lacked sufficient permissions. For details and example IAM policies, see // Using IAM to Manage Access to Amazon SWF Workflows (http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html). + // + // Cause is a required field Cause *string `locationName:"cause" type:"string" required:"true" enum:"StartTimerFailedCause"` // The ID of the DecisionTaskCompleted event corresponding to the decision task // that resulted in the StartTimer decision for this activity task. This information // can be useful for diagnosing problems by tracing back the chain of events // leading up to this event. + // + // DecisionTaskCompletedEventId is a required field DecisionTaskCompletedEventId *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"` // The timerId provided in the StartTimer decision that failed. + // + // TimerId is a required field TimerId *string `locationName:"timerId" min:"1" type:"string" required:"true"` } @@ -7935,6 +8371,8 @@ type StartWorkflowExecutionInput struct { ChildPolicy *string `locationName:"childPolicy" type:"string" enum:"ChildPolicy"` // The name of the domain in which the workflow execution is created. + // + // Domain is a required field Domain *string `locationName:"domain" min:"1" type:"string" required:"true"` // The total duration for this workflow execution. This overrides the defaultExecutionStartToCloseTimeout @@ -8018,9 +8456,13 @@ type StartWorkflowExecutionInput struct { // contain a : (colon), / (slash), | (vertical bar), or any control characters // (\u0000-\u001f | \u007f - \u009f). Also, it must not contain the literal // string quotarnquot. + // + // WorkflowId is a required field WorkflowId *string `locationName:"workflowId" min:"1" type:"string" required:"true"` // The type of the workflow to start. + // + // WorkflowType is a required field WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" required:"true"` } @@ -8097,6 +8539,8 @@ type TagFilter struct { // Required. Specifies the tag that must be associated with the execution for // it to meet the filter criteria. + // + // Tag is a required field Tag *string `locationName:"tag" min:"1" type:"string" required:"true"` } @@ -8131,6 +8575,8 @@ type TaskList struct { _ struct{} `type:"structure"` // The name of the task list. + // + // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` } @@ -8185,6 +8631,8 @@ type TerminateWorkflowExecutionInput struct { Details *string `locationName:"details" type:"string"` // The domain of the workflow execution to terminate. + // + // Domain is a required field Domain *string `locationName:"domain" min:"1" type:"string" required:"true"` // Optional. A descriptive reason for terminating the workflow execution. @@ -8194,6 +8642,8 @@ type TerminateWorkflowExecutionInput struct { RunId *string `locationName:"runId" type:"string"` // The workflowId of the workflow execution to terminate. + // + // WorkflowId is a required field WorkflowId *string `locationName:"workflowId" min:"1" type:"string" required:"true"` } @@ -8251,14 +8701,20 @@ type TimerCanceledEventAttributes struct { // that resulted in the CancelTimer decision to cancel this timer. This information // can be useful for diagnosing problems by tracing back the chain of events // leading up to this event. + // + // DecisionTaskCompletedEventId is a required field DecisionTaskCompletedEventId *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"` // The ID of the TimerStarted event that was recorded when this timer was started. // This information can be useful for diagnosing problems by tracing back the // chain of events leading up to this event. + // + // StartedEventId is a required field StartedEventId *int64 `locationName:"startedEventId" type:"long" required:"true"` // The unique ID of the timer that was canceled. + // + // TimerId is a required field TimerId *string `locationName:"timerId" min:"1" type:"string" required:"true"` } @@ -8279,9 +8735,13 @@ type TimerFiredEventAttributes struct { // The ID of the TimerStarted event that was recorded when this timer was started. // This information can be useful for diagnosing problems by tracing back the // chain of events leading up to this event. + // + // StartedEventId is a required field StartedEventId *int64 `locationName:"startedEventId" type:"long" required:"true"` // The unique ID of the timer that fired. + // + // TimerId is a required field TimerId *string `locationName:"timerId" min:"1" type:"string" required:"true"` } @@ -8307,15 +8767,21 @@ type TimerStartedEventAttributes struct { // that resulted in the StartTimer decision for this activity task. This information // can be useful for diagnosing problems by tracing back the chain of events // leading up to this event. + // + // DecisionTaskCompletedEventId is a required field DecisionTaskCompletedEventId *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"` // The duration of time after which the timer will fire. // // The duration is specified in seconds; an integer greater than or equal to // 0. + // + // StartToFireTimeout is a required field StartToFireTimeout *string `locationName:"startToFireTimeout" min:"1" type:"string" required:"true"` // The unique ID of the timer that was started. + // + // TimerId is a required field TimerId *string `locationName:"timerId" min:"1" type:"string" required:"true"` } @@ -8334,9 +8800,13 @@ type WorkflowExecution struct { _ struct{} `type:"structure"` // A system-generated unique identifier for the workflow execution. + // + // RunId is a required field RunId *string `locationName:"runId" min:"1" type:"string" required:"true"` // The user defined identifier associated with the workflow execution. + // + // WorkflowId is a required field WorkflowId *string `locationName:"workflowId" min:"1" type:"string" required:"true"` } @@ -8410,6 +8880,8 @@ type WorkflowExecutionCanceledEventAttributes struct { // that resulted in the CancelWorkflowExecution decision for this cancellation // request. This information can be useful for diagnosing problems by tracing // back the chain of events leading up to this event. + // + // DecisionTaskCompletedEventId is a required field DecisionTaskCompletedEventId *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"` // Details for the cancellation (if any). @@ -8434,6 +8906,8 @@ type WorkflowExecutionCompletedEventAttributes struct { // that resulted in the CompleteWorkflowExecution decision to complete this // execution. This information can be useful for diagnosing problems by tracing // back the chain of events leading up to this event. + // + // DecisionTaskCompletedEventId is a required field DecisionTaskCompletedEventId *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"` // The result produced by the workflow execution upon successful completion. @@ -8468,18 +8942,24 @@ type WorkflowExecutionConfiguration struct { // event in its history. It is up to the decider to take appropriate actions // when it receives an execution history with this event. ABANDON: no action // will be taken. The child executions will continue to run. + // + // ChildPolicy is a required field ChildPolicy *string `locationName:"childPolicy" type:"string" required:"true" enum:"ChildPolicy"` // The total duration for this workflow execution. // // The duration is specified in seconds; an integer greater than or equal to // 0. The value "NONE" can be used to specify unlimited duration. + // + // ExecutionStartToCloseTimeout is a required field ExecutionStartToCloseTimeout *string `locationName:"executionStartToCloseTimeout" min:"1" type:"string" required:"true"` // The IAM role used by this workflow execution when invoking AWS Lambda functions. LambdaRole *string `locationName:"lambdaRole" min:"1" type:"string"` // The task list used for the decision tasks generated for this workflow execution. + // + // TaskList is a required field TaskList *TaskList `locationName:"taskList" type:"structure" required:"true"` // The priority assigned to decision tasks for this workflow execution. Valid @@ -8495,6 +8975,8 @@ type WorkflowExecutionConfiguration struct { // // The duration is specified in seconds; an integer greater than or equal to // 0. The value "NONE" can be used to specify unlimited duration. + // + // TaskStartToCloseTimeout is a required field TaskStartToCloseTimeout *string `locationName:"taskStartToCloseTimeout" min:"1" type:"string" required:"true"` } @@ -8523,12 +9005,16 @@ type WorkflowExecutionContinuedAsNewEventAttributes struct { // event in its history. It is up to the decider to take appropriate actions // when it receives an execution history with this event. ABANDON: no action // will be taken. The child executions will continue to run. + // + // ChildPolicy is a required field ChildPolicy *string `locationName:"childPolicy" type:"string" required:"true" enum:"ChildPolicy"` // The ID of the DecisionTaskCompleted event corresponding to the decision task // that resulted in the ContinueAsNewWorkflowExecution decision that started // this execution. This information can be useful for diagnosing problems by // tracing back the chain of events leading up to this event. + // + // DecisionTaskCompletedEventId is a required field DecisionTaskCompletedEventId *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"` // The total duration allowed for the new workflow execution. @@ -8545,12 +9031,16 @@ type WorkflowExecutionContinuedAsNewEventAttributes struct { LambdaRole *string `locationName:"lambdaRole" min:"1" type:"string"` // The runId of the new workflow execution. + // + // NewExecutionRunId is a required field NewExecutionRunId *string `locationName:"newExecutionRunId" min:"1" type:"string" required:"true"` // The list of tags associated with the new workflow execution. TagList []*string `locationName:"tagList" type:"list"` // Represents a task list. + // + // TaskList is a required field TaskList *TaskList `locationName:"taskList" type:"structure" required:"true"` TaskPriority *string `locationName:"taskPriority" type:"string"` @@ -8562,6 +9052,8 @@ type WorkflowExecutionContinuedAsNewEventAttributes struct { TaskStartToCloseTimeout *string `locationName:"taskStartToCloseTimeout" type:"string"` // Represents a workflow type. + // + // WorkflowType is a required field WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" required:"true"` } @@ -8581,6 +9073,8 @@ type WorkflowExecutionCount struct { _ struct{} `type:"structure"` // The number of workflow executions. + // + // Count is a required field Count *int64 `locationName:"count" type:"integer" required:"true"` // If set to true, indicates that the actual count was more than the maximum @@ -8606,6 +9100,8 @@ type WorkflowExecutionFailedEventAttributes struct { // that resulted in the FailWorkflowExecution decision to fail this execution. // This information can be useful for diagnosing problems by tracing back the // chain of events leading up to this event. + // + // DecisionTaskCompletedEventId is a required field DecisionTaskCompletedEventId *int64 `locationName:"decisionTaskCompletedEventId" type:"long" required:"true"` // The details of the failure (if any). @@ -8630,6 +9126,8 @@ type WorkflowExecutionFilter struct { _ struct{} `type:"structure"` // The workflowId to pass of match the criteria of this filter. + // + // WorkflowId is a required field WorkflowId *string `locationName:"workflowId" min:"1" type:"string" required:"true"` } @@ -8683,9 +9181,13 @@ type WorkflowExecutionInfo struct { CloseTimestamp *time.Time `locationName:"closeTimestamp" type:"timestamp" timestampFormat:"unix"` // The workflow execution this information is about. + // + // Execution is a required field Execution *WorkflowExecution `locationName:"execution" type:"structure" required:"true"` // The current status of the execution. + // + // ExecutionStatus is a required field ExecutionStatus *string `locationName:"executionStatus" type:"string" required:"true" enum:"ExecutionStatus"` // If this workflow execution is a child of another execution then contains @@ -8693,6 +9195,8 @@ type WorkflowExecutionInfo struct { Parent *WorkflowExecution `locationName:"parent" type:"structure"` // The time when the execution was started. + // + // StartTimestamp is a required field StartTimestamp *time.Time `locationName:"startTimestamp" type:"timestamp" timestampFormat:"unix" required:"true"` // The list of tags associated with the workflow execution. Tags can be used @@ -8701,6 +9205,8 @@ type WorkflowExecutionInfo struct { TagList []*string `locationName:"tagList" type:"list"` // The type of the workflow execution. + // + // WorkflowType is a required field WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" required:"true"` } @@ -8719,6 +9225,8 @@ type WorkflowExecutionInfos struct { _ struct{} `type:"structure"` // The list of workflow information structures. + // + // ExecutionInfos is a required field ExecutionInfos []*WorkflowExecutionInfo `locationName:"executionInfos" type:"list" required:"true"` // If a NextPageToken was returned by a previous call, there are more results @@ -8746,13 +9254,19 @@ type WorkflowExecutionOpenCounts struct { _ struct{} `type:"structure"` // The count of activity tasks whose status is OPEN. + // + // OpenActivityTasks is a required field OpenActivityTasks *int64 `locationName:"openActivityTasks" type:"integer" required:"true"` // The count of child workflow executions whose status is OPEN. + // + // OpenChildWorkflowExecutions is a required field OpenChildWorkflowExecutions *int64 `locationName:"openChildWorkflowExecutions" type:"integer" required:"true"` // The count of decision tasks whose status is OPEN. A workflow execution can // have at most one open decision task. + // + // OpenDecisionTasks is a required field OpenDecisionTasks *int64 `locationName:"openDecisionTasks" type:"integer" required:"true"` // The count of AWS Lambda functions that are currently executing. @@ -8760,6 +9274,8 @@ type WorkflowExecutionOpenCounts struct { // The count of timers started by this workflow execution that have not fired // yet. + // + // OpenTimers is a required field OpenTimers *int64 `locationName:"openTimers" type:"integer" required:"true"` } @@ -8795,6 +9311,8 @@ type WorkflowExecutionSignaledEventAttributes struct { // The name of the signal received. The decider can use the signal name and // inputs to determine how to the process the signal. + // + // SignalName is a required field SignalName *string `locationName:"signalName" min:"1" type:"string" required:"true"` } @@ -8823,6 +9341,8 @@ type WorkflowExecutionStartedEventAttributes struct { // event in its history. It is up to the decider to take appropriate actions // when it receives an execution history with this event. ABANDON: no action // will be taken. The child executions will continue to run. + // + // ChildPolicy is a required field ChildPolicy *string `locationName:"childPolicy" type:"string" required:"true" enum:"ChildPolicy"` // If this workflow execution was started due to a ContinueAsNewWorkflowExecution @@ -8860,6 +9380,8 @@ type WorkflowExecutionStartedEventAttributes struct { // The name of the task list for scheduling the decision tasks for this workflow // execution. + // + // TaskList is a required field TaskList *TaskList `locationName:"taskList" type:"structure" required:"true"` TaskPriority *string `locationName:"taskPriority" type:"string"` @@ -8871,6 +9393,8 @@ type WorkflowExecutionStartedEventAttributes struct { TaskStartToCloseTimeout *string `locationName:"taskStartToCloseTimeout" type:"string"` // The workflow type of this execution. + // + // WorkflowType is a required field WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" required:"true"` } @@ -8902,6 +9426,8 @@ type WorkflowExecutionTerminatedEventAttributes struct { // event in its history. It is up to the decider to take appropriate actions // when it receives an execution history with this event. ABANDON: no action // will be taken. The child executions will continue to run. + // + // ChildPolicy is a required field ChildPolicy *string `locationName:"childPolicy" type:"string" required:"true" enum:"ChildPolicy"` // The details provided for the termination (if any). @@ -8934,9 +9460,13 @@ type WorkflowExecutionTimedOutEventAttributes struct { // event in its history. It is up to the decider to take appropriate actions // when it receives an execution history with this event. ABANDON: no action // will be taken. The child executions will continue to run. + // + // ChildPolicy is a required field ChildPolicy *string `locationName:"childPolicy" type:"string" required:"true" enum:"ChildPolicy"` // The type of timeout that caused this event. + // + // TimeoutType is a required field TimeoutType *string `locationName:"timeoutType" type:"string" required:"true" enum:"WorkflowExecutionTimeoutType"` } @@ -8958,12 +9488,16 @@ type WorkflowType struct { // // The combination of workflow type name and version must be unique with in // a domain. + // + // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // Required. The version of the workflow type. // // The combination of workflow type name and version must be unique with in // a domain. + // + // Version is a required field Version *string `locationName:"version" min:"1" type:"string" required:"true"` } @@ -9079,6 +9613,8 @@ type WorkflowTypeFilter struct { _ struct{} `type:"structure"` // Required. Name of the workflow type. + // + // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` // Version of the workflow type. @@ -9116,6 +9652,8 @@ type WorkflowTypeInfo struct { _ struct{} `type:"structure"` // The date when this type was registered. + // + // CreationDate is a required field CreationDate *time.Time `locationName:"creationDate" type:"timestamp" timestampFormat:"unix" required:"true"` // If the type is in deprecated state, then it is set to the date when the type @@ -9126,9 +9664,13 @@ type WorkflowTypeInfo struct { Description *string `locationName:"description" type:"string"` // The current status of the workflow type. + // + // Status is a required field Status *string `locationName:"status" type:"string" required:"true" enum:"RegistrationStatus"` // The workflow type this information is about. + // + // WorkflowType is a required field WorkflowType *WorkflowType `locationName:"workflowType" type:"structure" required:"true"` } @@ -9143,375 +9685,497 @@ func (s WorkflowTypeInfo) GoString() string { } const ( - // @enum ActivityTaskTimeoutType + // ActivityTaskTimeoutTypeStartToClose is a ActivityTaskTimeoutType enum value ActivityTaskTimeoutTypeStartToClose = "START_TO_CLOSE" - // @enum ActivityTaskTimeoutType + + // ActivityTaskTimeoutTypeScheduleToStart is a ActivityTaskTimeoutType enum value ActivityTaskTimeoutTypeScheduleToStart = "SCHEDULE_TO_START" - // @enum ActivityTaskTimeoutType + + // ActivityTaskTimeoutTypeScheduleToClose is a ActivityTaskTimeoutType enum value ActivityTaskTimeoutTypeScheduleToClose = "SCHEDULE_TO_CLOSE" - // @enum ActivityTaskTimeoutType + + // ActivityTaskTimeoutTypeHeartbeat is a ActivityTaskTimeoutType enum value ActivityTaskTimeoutTypeHeartbeat = "HEARTBEAT" ) const ( - // @enum CancelTimerFailedCause + // CancelTimerFailedCauseTimerIdUnknown is a CancelTimerFailedCause enum value CancelTimerFailedCauseTimerIdUnknown = "TIMER_ID_UNKNOWN" - // @enum CancelTimerFailedCause + + // CancelTimerFailedCauseOperationNotPermitted is a CancelTimerFailedCause enum value CancelTimerFailedCauseOperationNotPermitted = "OPERATION_NOT_PERMITTED" ) const ( - // @enum CancelWorkflowExecutionFailedCause + // CancelWorkflowExecutionFailedCauseUnhandledDecision is a CancelWorkflowExecutionFailedCause enum value CancelWorkflowExecutionFailedCauseUnhandledDecision = "UNHANDLED_DECISION" - // @enum CancelWorkflowExecutionFailedCause + + // CancelWorkflowExecutionFailedCauseOperationNotPermitted is a CancelWorkflowExecutionFailedCause enum value CancelWorkflowExecutionFailedCauseOperationNotPermitted = "OPERATION_NOT_PERMITTED" ) const ( - // @enum ChildPolicy + // ChildPolicyTerminate is a ChildPolicy enum value ChildPolicyTerminate = "TERMINATE" - // @enum ChildPolicy + + // ChildPolicyRequestCancel is a ChildPolicy enum value ChildPolicyRequestCancel = "REQUEST_CANCEL" - // @enum ChildPolicy + + // ChildPolicyAbandon is a ChildPolicy enum value ChildPolicyAbandon = "ABANDON" ) const ( - // @enum CloseStatus + // CloseStatusCompleted is a CloseStatus enum value CloseStatusCompleted = "COMPLETED" - // @enum CloseStatus + + // CloseStatusFailed is a CloseStatus enum value CloseStatusFailed = "FAILED" - // @enum CloseStatus + + // CloseStatusCanceled is a CloseStatus enum value CloseStatusCanceled = "CANCELED" - // @enum CloseStatus + + // CloseStatusTerminated is a CloseStatus enum value CloseStatusTerminated = "TERMINATED" - // @enum CloseStatus + + // CloseStatusContinuedAsNew is a CloseStatus enum value CloseStatusContinuedAsNew = "CONTINUED_AS_NEW" - // @enum CloseStatus + + // CloseStatusTimedOut is a CloseStatus enum value CloseStatusTimedOut = "TIMED_OUT" ) const ( - // @enum CompleteWorkflowExecutionFailedCause + // CompleteWorkflowExecutionFailedCauseUnhandledDecision is a CompleteWorkflowExecutionFailedCause enum value CompleteWorkflowExecutionFailedCauseUnhandledDecision = "UNHANDLED_DECISION" - // @enum CompleteWorkflowExecutionFailedCause + + // CompleteWorkflowExecutionFailedCauseOperationNotPermitted is a CompleteWorkflowExecutionFailedCause enum value CompleteWorkflowExecutionFailedCauseOperationNotPermitted = "OPERATION_NOT_PERMITTED" ) const ( - // @enum ContinueAsNewWorkflowExecutionFailedCause + // ContinueAsNewWorkflowExecutionFailedCauseUnhandledDecision is a ContinueAsNewWorkflowExecutionFailedCause enum value ContinueAsNewWorkflowExecutionFailedCauseUnhandledDecision = "UNHANDLED_DECISION" - // @enum ContinueAsNewWorkflowExecutionFailedCause + + // ContinueAsNewWorkflowExecutionFailedCauseWorkflowTypeDeprecated is a ContinueAsNewWorkflowExecutionFailedCause enum value ContinueAsNewWorkflowExecutionFailedCauseWorkflowTypeDeprecated = "WORKFLOW_TYPE_DEPRECATED" - // @enum ContinueAsNewWorkflowExecutionFailedCause + + // ContinueAsNewWorkflowExecutionFailedCauseWorkflowTypeDoesNotExist is a ContinueAsNewWorkflowExecutionFailedCause enum value ContinueAsNewWorkflowExecutionFailedCauseWorkflowTypeDoesNotExist = "WORKFLOW_TYPE_DOES_NOT_EXIST" - // @enum ContinueAsNewWorkflowExecutionFailedCause + + // ContinueAsNewWorkflowExecutionFailedCauseDefaultExecutionStartToCloseTimeoutUndefined is a ContinueAsNewWorkflowExecutionFailedCause enum value ContinueAsNewWorkflowExecutionFailedCauseDefaultExecutionStartToCloseTimeoutUndefined = "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED" - // @enum ContinueAsNewWorkflowExecutionFailedCause + + // ContinueAsNewWorkflowExecutionFailedCauseDefaultTaskStartToCloseTimeoutUndefined is a ContinueAsNewWorkflowExecutionFailedCause enum value ContinueAsNewWorkflowExecutionFailedCauseDefaultTaskStartToCloseTimeoutUndefined = "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED" - // @enum ContinueAsNewWorkflowExecutionFailedCause + + // ContinueAsNewWorkflowExecutionFailedCauseDefaultTaskListUndefined is a ContinueAsNewWorkflowExecutionFailedCause enum value ContinueAsNewWorkflowExecutionFailedCauseDefaultTaskListUndefined = "DEFAULT_TASK_LIST_UNDEFINED" - // @enum ContinueAsNewWorkflowExecutionFailedCause + + // ContinueAsNewWorkflowExecutionFailedCauseDefaultChildPolicyUndefined is a ContinueAsNewWorkflowExecutionFailedCause enum value ContinueAsNewWorkflowExecutionFailedCauseDefaultChildPolicyUndefined = "DEFAULT_CHILD_POLICY_UNDEFINED" - // @enum ContinueAsNewWorkflowExecutionFailedCause + + // ContinueAsNewWorkflowExecutionFailedCauseContinueAsNewWorkflowExecutionRateExceeded is a ContinueAsNewWorkflowExecutionFailedCause enum value ContinueAsNewWorkflowExecutionFailedCauseContinueAsNewWorkflowExecutionRateExceeded = "CONTINUE_AS_NEW_WORKFLOW_EXECUTION_RATE_EXCEEDED" - // @enum ContinueAsNewWorkflowExecutionFailedCause + + // ContinueAsNewWorkflowExecutionFailedCauseOperationNotPermitted is a ContinueAsNewWorkflowExecutionFailedCause enum value ContinueAsNewWorkflowExecutionFailedCauseOperationNotPermitted = "OPERATION_NOT_PERMITTED" ) const ( - // @enum DecisionTaskTimeoutType + // DecisionTaskTimeoutTypeStartToClose is a DecisionTaskTimeoutType enum value DecisionTaskTimeoutTypeStartToClose = "START_TO_CLOSE" ) const ( - // @enum DecisionType + // DecisionTypeScheduleActivityTask is a DecisionType enum value DecisionTypeScheduleActivityTask = "ScheduleActivityTask" - // @enum DecisionType + + // DecisionTypeRequestCancelActivityTask is a DecisionType enum value DecisionTypeRequestCancelActivityTask = "RequestCancelActivityTask" - // @enum DecisionType + + // DecisionTypeCompleteWorkflowExecution is a DecisionType enum value DecisionTypeCompleteWorkflowExecution = "CompleteWorkflowExecution" - // @enum DecisionType + + // DecisionTypeFailWorkflowExecution is a DecisionType enum value DecisionTypeFailWorkflowExecution = "FailWorkflowExecution" - // @enum DecisionType + + // DecisionTypeCancelWorkflowExecution is a DecisionType enum value DecisionTypeCancelWorkflowExecution = "CancelWorkflowExecution" - // @enum DecisionType + + // DecisionTypeContinueAsNewWorkflowExecution is a DecisionType enum value DecisionTypeContinueAsNewWorkflowExecution = "ContinueAsNewWorkflowExecution" - // @enum DecisionType + + // DecisionTypeRecordMarker is a DecisionType enum value DecisionTypeRecordMarker = "RecordMarker" - // @enum DecisionType + + // DecisionTypeStartTimer is a DecisionType enum value DecisionTypeStartTimer = "StartTimer" - // @enum DecisionType + + // DecisionTypeCancelTimer is a DecisionType enum value DecisionTypeCancelTimer = "CancelTimer" - // @enum DecisionType + + // DecisionTypeSignalExternalWorkflowExecution is a DecisionType enum value DecisionTypeSignalExternalWorkflowExecution = "SignalExternalWorkflowExecution" - // @enum DecisionType + + // DecisionTypeRequestCancelExternalWorkflowExecution is a DecisionType enum value DecisionTypeRequestCancelExternalWorkflowExecution = "RequestCancelExternalWorkflowExecution" - // @enum DecisionType + + // DecisionTypeStartChildWorkflowExecution is a DecisionType enum value DecisionTypeStartChildWorkflowExecution = "StartChildWorkflowExecution" - // @enum DecisionType + + // DecisionTypeScheduleLambdaFunction is a DecisionType enum value DecisionTypeScheduleLambdaFunction = "ScheduleLambdaFunction" ) const ( - // @enum EventType + // EventTypeWorkflowExecutionStarted is a EventType enum value EventTypeWorkflowExecutionStarted = "WorkflowExecutionStarted" - // @enum EventType + + // EventTypeWorkflowExecutionCancelRequested is a EventType enum value EventTypeWorkflowExecutionCancelRequested = "WorkflowExecutionCancelRequested" - // @enum EventType + + // EventTypeWorkflowExecutionCompleted is a EventType enum value EventTypeWorkflowExecutionCompleted = "WorkflowExecutionCompleted" - // @enum EventType + + // EventTypeCompleteWorkflowExecutionFailed is a EventType enum value EventTypeCompleteWorkflowExecutionFailed = "CompleteWorkflowExecutionFailed" - // @enum EventType + + // EventTypeWorkflowExecutionFailed is a EventType enum value EventTypeWorkflowExecutionFailed = "WorkflowExecutionFailed" - // @enum EventType + + // EventTypeFailWorkflowExecutionFailed is a EventType enum value EventTypeFailWorkflowExecutionFailed = "FailWorkflowExecutionFailed" - // @enum EventType + + // EventTypeWorkflowExecutionTimedOut is a EventType enum value EventTypeWorkflowExecutionTimedOut = "WorkflowExecutionTimedOut" - // @enum EventType + + // EventTypeWorkflowExecutionCanceled is a EventType enum value EventTypeWorkflowExecutionCanceled = "WorkflowExecutionCanceled" - // @enum EventType + + // EventTypeCancelWorkflowExecutionFailed is a EventType enum value EventTypeCancelWorkflowExecutionFailed = "CancelWorkflowExecutionFailed" - // @enum EventType + + // EventTypeWorkflowExecutionContinuedAsNew is a EventType enum value EventTypeWorkflowExecutionContinuedAsNew = "WorkflowExecutionContinuedAsNew" - // @enum EventType + + // EventTypeContinueAsNewWorkflowExecutionFailed is a EventType enum value EventTypeContinueAsNewWorkflowExecutionFailed = "ContinueAsNewWorkflowExecutionFailed" - // @enum EventType + + // EventTypeWorkflowExecutionTerminated is a EventType enum value EventTypeWorkflowExecutionTerminated = "WorkflowExecutionTerminated" - // @enum EventType + + // EventTypeDecisionTaskScheduled is a EventType enum value EventTypeDecisionTaskScheduled = "DecisionTaskScheduled" - // @enum EventType + + // EventTypeDecisionTaskStarted is a EventType enum value EventTypeDecisionTaskStarted = "DecisionTaskStarted" - // @enum EventType + + // EventTypeDecisionTaskCompleted is a EventType enum value EventTypeDecisionTaskCompleted = "DecisionTaskCompleted" - // @enum EventType + + // EventTypeDecisionTaskTimedOut is a EventType enum value EventTypeDecisionTaskTimedOut = "DecisionTaskTimedOut" - // @enum EventType + + // EventTypeActivityTaskScheduled is a EventType enum value EventTypeActivityTaskScheduled = "ActivityTaskScheduled" - // @enum EventType + + // EventTypeScheduleActivityTaskFailed is a EventType enum value EventTypeScheduleActivityTaskFailed = "ScheduleActivityTaskFailed" - // @enum EventType + + // EventTypeActivityTaskStarted is a EventType enum value EventTypeActivityTaskStarted = "ActivityTaskStarted" - // @enum EventType + + // EventTypeActivityTaskCompleted is a EventType enum value EventTypeActivityTaskCompleted = "ActivityTaskCompleted" - // @enum EventType + + // EventTypeActivityTaskFailed is a EventType enum value EventTypeActivityTaskFailed = "ActivityTaskFailed" - // @enum EventType + + // EventTypeActivityTaskTimedOut is a EventType enum value EventTypeActivityTaskTimedOut = "ActivityTaskTimedOut" - // @enum EventType + + // EventTypeActivityTaskCanceled is a EventType enum value EventTypeActivityTaskCanceled = "ActivityTaskCanceled" - // @enum EventType + + // EventTypeActivityTaskCancelRequested is a EventType enum value EventTypeActivityTaskCancelRequested = "ActivityTaskCancelRequested" - // @enum EventType + + // EventTypeRequestCancelActivityTaskFailed is a EventType enum value EventTypeRequestCancelActivityTaskFailed = "RequestCancelActivityTaskFailed" - // @enum EventType + + // EventTypeWorkflowExecutionSignaled is a EventType enum value EventTypeWorkflowExecutionSignaled = "WorkflowExecutionSignaled" - // @enum EventType + + // EventTypeMarkerRecorded is a EventType enum value EventTypeMarkerRecorded = "MarkerRecorded" - // @enum EventType + + // EventTypeRecordMarkerFailed is a EventType enum value EventTypeRecordMarkerFailed = "RecordMarkerFailed" - // @enum EventType + + // EventTypeTimerStarted is a EventType enum value EventTypeTimerStarted = "TimerStarted" - // @enum EventType + + // EventTypeStartTimerFailed is a EventType enum value EventTypeStartTimerFailed = "StartTimerFailed" - // @enum EventType + + // EventTypeTimerFired is a EventType enum value EventTypeTimerFired = "TimerFired" - // @enum EventType + + // EventTypeTimerCanceled is a EventType enum value EventTypeTimerCanceled = "TimerCanceled" - // @enum EventType + + // EventTypeCancelTimerFailed is a EventType enum value EventTypeCancelTimerFailed = "CancelTimerFailed" - // @enum EventType + + // EventTypeStartChildWorkflowExecutionInitiated is a EventType enum value EventTypeStartChildWorkflowExecutionInitiated = "StartChildWorkflowExecutionInitiated" - // @enum EventType + + // EventTypeStartChildWorkflowExecutionFailed is a EventType enum value EventTypeStartChildWorkflowExecutionFailed = "StartChildWorkflowExecutionFailed" - // @enum EventType + + // EventTypeChildWorkflowExecutionStarted is a EventType enum value EventTypeChildWorkflowExecutionStarted = "ChildWorkflowExecutionStarted" - // @enum EventType + + // EventTypeChildWorkflowExecutionCompleted is a EventType enum value EventTypeChildWorkflowExecutionCompleted = "ChildWorkflowExecutionCompleted" - // @enum EventType + + // EventTypeChildWorkflowExecutionFailed is a EventType enum value EventTypeChildWorkflowExecutionFailed = "ChildWorkflowExecutionFailed" - // @enum EventType + + // EventTypeChildWorkflowExecutionTimedOut is a EventType enum value EventTypeChildWorkflowExecutionTimedOut = "ChildWorkflowExecutionTimedOut" - // @enum EventType + + // EventTypeChildWorkflowExecutionCanceled is a EventType enum value EventTypeChildWorkflowExecutionCanceled = "ChildWorkflowExecutionCanceled" - // @enum EventType + + // EventTypeChildWorkflowExecutionTerminated is a EventType enum value EventTypeChildWorkflowExecutionTerminated = "ChildWorkflowExecutionTerminated" - // @enum EventType + + // EventTypeSignalExternalWorkflowExecutionInitiated is a EventType enum value EventTypeSignalExternalWorkflowExecutionInitiated = "SignalExternalWorkflowExecutionInitiated" - // @enum EventType + + // EventTypeSignalExternalWorkflowExecutionFailed is a EventType enum value EventTypeSignalExternalWorkflowExecutionFailed = "SignalExternalWorkflowExecutionFailed" - // @enum EventType + + // EventTypeExternalWorkflowExecutionSignaled is a EventType enum value EventTypeExternalWorkflowExecutionSignaled = "ExternalWorkflowExecutionSignaled" - // @enum EventType + + // EventTypeRequestCancelExternalWorkflowExecutionInitiated is a EventType enum value EventTypeRequestCancelExternalWorkflowExecutionInitiated = "RequestCancelExternalWorkflowExecutionInitiated" - // @enum EventType + + // EventTypeRequestCancelExternalWorkflowExecutionFailed is a EventType enum value EventTypeRequestCancelExternalWorkflowExecutionFailed = "RequestCancelExternalWorkflowExecutionFailed" - // @enum EventType + + // EventTypeExternalWorkflowExecutionCancelRequested is a EventType enum value EventTypeExternalWorkflowExecutionCancelRequested = "ExternalWorkflowExecutionCancelRequested" - // @enum EventType + + // EventTypeLambdaFunctionScheduled is a EventType enum value EventTypeLambdaFunctionScheduled = "LambdaFunctionScheduled" - // @enum EventType + + // EventTypeLambdaFunctionStarted is a EventType enum value EventTypeLambdaFunctionStarted = "LambdaFunctionStarted" - // @enum EventType + + // EventTypeLambdaFunctionCompleted is a EventType enum value EventTypeLambdaFunctionCompleted = "LambdaFunctionCompleted" - // @enum EventType + + // EventTypeLambdaFunctionFailed is a EventType enum value EventTypeLambdaFunctionFailed = "LambdaFunctionFailed" - // @enum EventType + + // EventTypeLambdaFunctionTimedOut is a EventType enum value EventTypeLambdaFunctionTimedOut = "LambdaFunctionTimedOut" - // @enum EventType + + // EventTypeScheduleLambdaFunctionFailed is a EventType enum value EventTypeScheduleLambdaFunctionFailed = "ScheduleLambdaFunctionFailed" - // @enum EventType + + // EventTypeStartLambdaFunctionFailed is a EventType enum value EventTypeStartLambdaFunctionFailed = "StartLambdaFunctionFailed" ) const ( - // @enum ExecutionStatus + // ExecutionStatusOpen is a ExecutionStatus enum value ExecutionStatusOpen = "OPEN" - // @enum ExecutionStatus + + // ExecutionStatusClosed is a ExecutionStatus enum value ExecutionStatusClosed = "CLOSED" ) const ( - // @enum FailWorkflowExecutionFailedCause + // FailWorkflowExecutionFailedCauseUnhandledDecision is a FailWorkflowExecutionFailedCause enum value FailWorkflowExecutionFailedCauseUnhandledDecision = "UNHANDLED_DECISION" - // @enum FailWorkflowExecutionFailedCause + + // FailWorkflowExecutionFailedCauseOperationNotPermitted is a FailWorkflowExecutionFailedCause enum value FailWorkflowExecutionFailedCauseOperationNotPermitted = "OPERATION_NOT_PERMITTED" ) const ( - // @enum LambdaFunctionTimeoutType + // LambdaFunctionTimeoutTypeStartToClose is a LambdaFunctionTimeoutType enum value LambdaFunctionTimeoutTypeStartToClose = "START_TO_CLOSE" ) const ( - // @enum RecordMarkerFailedCause + // RecordMarkerFailedCauseOperationNotPermitted is a RecordMarkerFailedCause enum value RecordMarkerFailedCauseOperationNotPermitted = "OPERATION_NOT_PERMITTED" ) const ( - // @enum RegistrationStatus + // RegistrationStatusRegistered is a RegistrationStatus enum value RegistrationStatusRegistered = "REGISTERED" - // @enum RegistrationStatus + + // RegistrationStatusDeprecated is a RegistrationStatus enum value RegistrationStatusDeprecated = "DEPRECATED" ) const ( - // @enum RequestCancelActivityTaskFailedCause + // RequestCancelActivityTaskFailedCauseActivityIdUnknown is a RequestCancelActivityTaskFailedCause enum value RequestCancelActivityTaskFailedCauseActivityIdUnknown = "ACTIVITY_ID_UNKNOWN" - // @enum RequestCancelActivityTaskFailedCause + + // RequestCancelActivityTaskFailedCauseOperationNotPermitted is a RequestCancelActivityTaskFailedCause enum value RequestCancelActivityTaskFailedCauseOperationNotPermitted = "OPERATION_NOT_PERMITTED" ) const ( - // @enum RequestCancelExternalWorkflowExecutionFailedCause + // RequestCancelExternalWorkflowExecutionFailedCauseUnknownExternalWorkflowExecution is a RequestCancelExternalWorkflowExecutionFailedCause enum value RequestCancelExternalWorkflowExecutionFailedCauseUnknownExternalWorkflowExecution = "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION" - // @enum RequestCancelExternalWorkflowExecutionFailedCause + + // RequestCancelExternalWorkflowExecutionFailedCauseRequestCancelExternalWorkflowExecutionRateExceeded is a RequestCancelExternalWorkflowExecutionFailedCause enum value RequestCancelExternalWorkflowExecutionFailedCauseRequestCancelExternalWorkflowExecutionRateExceeded = "REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED" - // @enum RequestCancelExternalWorkflowExecutionFailedCause + + // RequestCancelExternalWorkflowExecutionFailedCauseOperationNotPermitted is a RequestCancelExternalWorkflowExecutionFailedCause enum value RequestCancelExternalWorkflowExecutionFailedCauseOperationNotPermitted = "OPERATION_NOT_PERMITTED" ) const ( - // @enum ScheduleActivityTaskFailedCause + // ScheduleActivityTaskFailedCauseActivityTypeDeprecated is a ScheduleActivityTaskFailedCause enum value ScheduleActivityTaskFailedCauseActivityTypeDeprecated = "ACTIVITY_TYPE_DEPRECATED" - // @enum ScheduleActivityTaskFailedCause + + // ScheduleActivityTaskFailedCauseActivityTypeDoesNotExist is a ScheduleActivityTaskFailedCause enum value ScheduleActivityTaskFailedCauseActivityTypeDoesNotExist = "ACTIVITY_TYPE_DOES_NOT_EXIST" - // @enum ScheduleActivityTaskFailedCause + + // ScheduleActivityTaskFailedCauseActivityIdAlreadyInUse is a ScheduleActivityTaskFailedCause enum value ScheduleActivityTaskFailedCauseActivityIdAlreadyInUse = "ACTIVITY_ID_ALREADY_IN_USE" - // @enum ScheduleActivityTaskFailedCause + + // ScheduleActivityTaskFailedCauseOpenActivitiesLimitExceeded is a ScheduleActivityTaskFailedCause enum value ScheduleActivityTaskFailedCauseOpenActivitiesLimitExceeded = "OPEN_ACTIVITIES_LIMIT_EXCEEDED" - // @enum ScheduleActivityTaskFailedCause + + // ScheduleActivityTaskFailedCauseActivityCreationRateExceeded is a ScheduleActivityTaskFailedCause enum value ScheduleActivityTaskFailedCauseActivityCreationRateExceeded = "ACTIVITY_CREATION_RATE_EXCEEDED" - // @enum ScheduleActivityTaskFailedCause + + // ScheduleActivityTaskFailedCauseDefaultScheduleToCloseTimeoutUndefined is a ScheduleActivityTaskFailedCause enum value ScheduleActivityTaskFailedCauseDefaultScheduleToCloseTimeoutUndefined = "DEFAULT_SCHEDULE_TO_CLOSE_TIMEOUT_UNDEFINED" - // @enum ScheduleActivityTaskFailedCause + + // ScheduleActivityTaskFailedCauseDefaultTaskListUndefined is a ScheduleActivityTaskFailedCause enum value ScheduleActivityTaskFailedCauseDefaultTaskListUndefined = "DEFAULT_TASK_LIST_UNDEFINED" - // @enum ScheduleActivityTaskFailedCause + + // ScheduleActivityTaskFailedCauseDefaultScheduleToStartTimeoutUndefined is a ScheduleActivityTaskFailedCause enum value ScheduleActivityTaskFailedCauseDefaultScheduleToStartTimeoutUndefined = "DEFAULT_SCHEDULE_TO_START_TIMEOUT_UNDEFINED" - // @enum ScheduleActivityTaskFailedCause + + // ScheduleActivityTaskFailedCauseDefaultStartToCloseTimeoutUndefined is a ScheduleActivityTaskFailedCause enum value ScheduleActivityTaskFailedCauseDefaultStartToCloseTimeoutUndefined = "DEFAULT_START_TO_CLOSE_TIMEOUT_UNDEFINED" - // @enum ScheduleActivityTaskFailedCause + + // ScheduleActivityTaskFailedCauseDefaultHeartbeatTimeoutUndefined is a ScheduleActivityTaskFailedCause enum value ScheduleActivityTaskFailedCauseDefaultHeartbeatTimeoutUndefined = "DEFAULT_HEARTBEAT_TIMEOUT_UNDEFINED" - // @enum ScheduleActivityTaskFailedCause + + // ScheduleActivityTaskFailedCauseOperationNotPermitted is a ScheduleActivityTaskFailedCause enum value ScheduleActivityTaskFailedCauseOperationNotPermitted = "OPERATION_NOT_PERMITTED" ) const ( - // @enum ScheduleLambdaFunctionFailedCause + // ScheduleLambdaFunctionFailedCauseIdAlreadyInUse is a ScheduleLambdaFunctionFailedCause enum value ScheduleLambdaFunctionFailedCauseIdAlreadyInUse = "ID_ALREADY_IN_USE" - // @enum ScheduleLambdaFunctionFailedCause + + // ScheduleLambdaFunctionFailedCauseOpenLambdaFunctionsLimitExceeded is a ScheduleLambdaFunctionFailedCause enum value ScheduleLambdaFunctionFailedCauseOpenLambdaFunctionsLimitExceeded = "OPEN_LAMBDA_FUNCTIONS_LIMIT_EXCEEDED" - // @enum ScheduleLambdaFunctionFailedCause + + // ScheduleLambdaFunctionFailedCauseLambdaFunctionCreationRateExceeded is a ScheduleLambdaFunctionFailedCause enum value ScheduleLambdaFunctionFailedCauseLambdaFunctionCreationRateExceeded = "LAMBDA_FUNCTION_CREATION_RATE_EXCEEDED" - // @enum ScheduleLambdaFunctionFailedCause + + // ScheduleLambdaFunctionFailedCauseLambdaServiceNotAvailableInRegion is a ScheduleLambdaFunctionFailedCause enum value ScheduleLambdaFunctionFailedCauseLambdaServiceNotAvailableInRegion = "LAMBDA_SERVICE_NOT_AVAILABLE_IN_REGION" ) const ( - // @enum SignalExternalWorkflowExecutionFailedCause + // SignalExternalWorkflowExecutionFailedCauseUnknownExternalWorkflowExecution is a SignalExternalWorkflowExecutionFailedCause enum value SignalExternalWorkflowExecutionFailedCauseUnknownExternalWorkflowExecution = "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION" - // @enum SignalExternalWorkflowExecutionFailedCause + + // SignalExternalWorkflowExecutionFailedCauseSignalExternalWorkflowExecutionRateExceeded is a SignalExternalWorkflowExecutionFailedCause enum value SignalExternalWorkflowExecutionFailedCauseSignalExternalWorkflowExecutionRateExceeded = "SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED" - // @enum SignalExternalWorkflowExecutionFailedCause + + // SignalExternalWorkflowExecutionFailedCauseOperationNotPermitted is a SignalExternalWorkflowExecutionFailedCause enum value SignalExternalWorkflowExecutionFailedCauseOperationNotPermitted = "OPERATION_NOT_PERMITTED" ) const ( - // @enum StartChildWorkflowExecutionFailedCause + // StartChildWorkflowExecutionFailedCauseWorkflowTypeDoesNotExist is a StartChildWorkflowExecutionFailedCause enum value StartChildWorkflowExecutionFailedCauseWorkflowTypeDoesNotExist = "WORKFLOW_TYPE_DOES_NOT_EXIST" - // @enum StartChildWorkflowExecutionFailedCause + + // StartChildWorkflowExecutionFailedCauseWorkflowTypeDeprecated is a StartChildWorkflowExecutionFailedCause enum value StartChildWorkflowExecutionFailedCauseWorkflowTypeDeprecated = "WORKFLOW_TYPE_DEPRECATED" - // @enum StartChildWorkflowExecutionFailedCause + + // StartChildWorkflowExecutionFailedCauseOpenChildrenLimitExceeded is a StartChildWorkflowExecutionFailedCause enum value StartChildWorkflowExecutionFailedCauseOpenChildrenLimitExceeded = "OPEN_CHILDREN_LIMIT_EXCEEDED" - // @enum StartChildWorkflowExecutionFailedCause + + // StartChildWorkflowExecutionFailedCauseOpenWorkflowsLimitExceeded is a StartChildWorkflowExecutionFailedCause enum value StartChildWorkflowExecutionFailedCauseOpenWorkflowsLimitExceeded = "OPEN_WORKFLOWS_LIMIT_EXCEEDED" - // @enum StartChildWorkflowExecutionFailedCause + + // StartChildWorkflowExecutionFailedCauseChildCreationRateExceeded is a StartChildWorkflowExecutionFailedCause enum value StartChildWorkflowExecutionFailedCauseChildCreationRateExceeded = "CHILD_CREATION_RATE_EXCEEDED" - // @enum StartChildWorkflowExecutionFailedCause + + // StartChildWorkflowExecutionFailedCauseWorkflowAlreadyRunning is a StartChildWorkflowExecutionFailedCause enum value StartChildWorkflowExecutionFailedCauseWorkflowAlreadyRunning = "WORKFLOW_ALREADY_RUNNING" - // @enum StartChildWorkflowExecutionFailedCause + + // StartChildWorkflowExecutionFailedCauseDefaultExecutionStartToCloseTimeoutUndefined is a StartChildWorkflowExecutionFailedCause enum value StartChildWorkflowExecutionFailedCauseDefaultExecutionStartToCloseTimeoutUndefined = "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED" - // @enum StartChildWorkflowExecutionFailedCause + + // StartChildWorkflowExecutionFailedCauseDefaultTaskListUndefined is a StartChildWorkflowExecutionFailedCause enum value StartChildWorkflowExecutionFailedCauseDefaultTaskListUndefined = "DEFAULT_TASK_LIST_UNDEFINED" - // @enum StartChildWorkflowExecutionFailedCause + + // StartChildWorkflowExecutionFailedCauseDefaultTaskStartToCloseTimeoutUndefined is a StartChildWorkflowExecutionFailedCause enum value StartChildWorkflowExecutionFailedCauseDefaultTaskStartToCloseTimeoutUndefined = "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED" - // @enum StartChildWorkflowExecutionFailedCause + + // StartChildWorkflowExecutionFailedCauseDefaultChildPolicyUndefined is a StartChildWorkflowExecutionFailedCause enum value StartChildWorkflowExecutionFailedCauseDefaultChildPolicyUndefined = "DEFAULT_CHILD_POLICY_UNDEFINED" - // @enum StartChildWorkflowExecutionFailedCause + + // StartChildWorkflowExecutionFailedCauseOperationNotPermitted is a StartChildWorkflowExecutionFailedCause enum value StartChildWorkflowExecutionFailedCauseOperationNotPermitted = "OPERATION_NOT_PERMITTED" ) const ( - // @enum StartLambdaFunctionFailedCause + // StartLambdaFunctionFailedCauseAssumeRoleFailed is a StartLambdaFunctionFailedCause enum value StartLambdaFunctionFailedCauseAssumeRoleFailed = "ASSUME_ROLE_FAILED" ) const ( - // @enum StartTimerFailedCause + // StartTimerFailedCauseTimerIdAlreadyInUse is a StartTimerFailedCause enum value StartTimerFailedCauseTimerIdAlreadyInUse = "TIMER_ID_ALREADY_IN_USE" - // @enum StartTimerFailedCause + + // StartTimerFailedCauseOpenTimersLimitExceeded is a StartTimerFailedCause enum value StartTimerFailedCauseOpenTimersLimitExceeded = "OPEN_TIMERS_LIMIT_EXCEEDED" - // @enum StartTimerFailedCause + + // StartTimerFailedCauseTimerCreationRateExceeded is a StartTimerFailedCause enum value StartTimerFailedCauseTimerCreationRateExceeded = "TIMER_CREATION_RATE_EXCEEDED" - // @enum StartTimerFailedCause + + // StartTimerFailedCauseOperationNotPermitted is a StartTimerFailedCause enum value StartTimerFailedCauseOperationNotPermitted = "OPERATION_NOT_PERMITTED" ) const ( - // @enum WorkflowExecutionCancelRequestedCause + // WorkflowExecutionCancelRequestedCauseChildPolicyApplied is a WorkflowExecutionCancelRequestedCause enum value WorkflowExecutionCancelRequestedCauseChildPolicyApplied = "CHILD_POLICY_APPLIED" ) const ( - // @enum WorkflowExecutionTerminatedCause + // WorkflowExecutionTerminatedCauseChildPolicyApplied is a WorkflowExecutionTerminatedCause enum value WorkflowExecutionTerminatedCauseChildPolicyApplied = "CHILD_POLICY_APPLIED" - // @enum WorkflowExecutionTerminatedCause + + // WorkflowExecutionTerminatedCauseEventLimitExceeded is a WorkflowExecutionTerminatedCause enum value WorkflowExecutionTerminatedCauseEventLimitExceeded = "EVENT_LIMIT_EXCEEDED" - // @enum WorkflowExecutionTerminatedCause + + // WorkflowExecutionTerminatedCauseOperatorInitiated is a WorkflowExecutionTerminatedCause enum value WorkflowExecutionTerminatedCauseOperatorInitiated = "OPERATOR_INITIATED" ) const ( - // @enum WorkflowExecutionTimeoutType + // WorkflowExecutionTimeoutTypeStartToClose is a WorkflowExecutionTimeoutType enum value WorkflowExecutionTimeoutTypeStartToClose = "START_TO_CLOSE" ) diff --git a/service/waf/api.go b/service/waf/api.go index dc8b8b9edcf..37536702286 100644 --- a/service/waf/api.go +++ b/service/waf/api.go @@ -2408,12 +2408,16 @@ type ActivatedRule struct { // COUNT: AWS WAF increments a counter of requests that match the conditions // in the rule and then continues to inspect the web request based on the remaining // rules in the web ACL. + // + // Action is a required field Action *WafAction `type:"structure" required:"true"` // Specifies the order in which the Rules in a WebACL are evaluated. Rules with // a lower value for Priority are evaluated before Rules with a higher value. // The value must be a unique integer. If you add multiple Rules to a WebACL, // the values don't need to be consecutive. + // + // Priority is a required field Priority *int64 `type:"integer" required:"true"` // The RuleId for a Rule. You use RuleId to get more information about a Rule @@ -2422,6 +2426,8 @@ type ActivatedRule struct { // WAF (see DeleteRule). // // RuleId is returned by CreateRule and by ListRules. + // + // RuleId is a required field RuleId *string `min:"1" type:"string" required:"true"` } @@ -2480,11 +2486,15 @@ type ByteMatchSet struct { // and delete a ByteMatchSet from AWS WAF (see DeleteByteMatchSet). // // ByteMatchSetId is returned by CreateByteMatchSet and by ListByteMatchSets. + // + // ByteMatchSetId is a required field ByteMatchSetId *string `min:"1" type:"string" required:"true"` // Specifies the bytes (typically a string that corresponds with ASCII characters) // that you want AWS WAF to search for in web requests, the location in requests // that you want AWS WAF to search, and other settings. + // + // ByteMatchTuples is a required field ByteMatchTuples []*ByteMatchTuple `type:"list" required:"true"` // A friendly name or description of the ByteMatchSet. You can't change Name @@ -2512,10 +2522,14 @@ type ByteMatchSetSummary struct { // Rule, and delete a ByteMatchSet from AWS WAF. // // ByteMatchSetId is returned by CreateByteMatchSet and by ListByteMatchSets. + // + // ByteMatchSetId is a required field ByteMatchSetId *string `min:"1" type:"string" required:"true"` // A friendly name or description of the ByteMatchSet. You can't change Name // after you create a ByteMatchSet. + // + // Name is a required field Name *string `min:"1" type:"string" required:"true"` } @@ -2535,12 +2549,16 @@ type ByteMatchSetUpdate struct { _ struct{} `type:"structure"` // Specifies whether to insert or delete a ByteMatchTuple. + // + // Action is a required field Action *string `type:"string" required:"true" enum:"ChangeAction"` // Information about the part of a web request that you want AWS WAF to inspect // and the value that you want AWS WAF to search for. If you specify DELETE // for the value of Action, the ByteMatchTuple values must exactly match the // values in the ByteMatchTuple that you want to delete from the ByteMatchSet. + // + // ByteMatchTuple is a required field ByteMatchTuple *ByteMatchTuple `type:"structure" required:"true"` } @@ -2583,6 +2601,8 @@ type ByteMatchTuple struct { // The part of a web request that you want AWS WAF to search, such as a specified // header or a query string. For more information, see FieldToMatch. + // + // FieldToMatch is a required field FieldToMatch *FieldToMatch `type:"structure" required:"true"` // Within the portion of a web request that you want to search (for example, @@ -2630,6 +2650,8 @@ type ByteMatchTuple struct { // // The value of TargetString must appear at the end of the specified part of // the web request. + // + // PositionalConstraint is a required field PositionalConstraint *string `type:"string" required:"true" enum:"PositionalConstraint"` // The value that you want AWS WAF to search for. AWS WAF searches for the specified @@ -2678,6 +2700,8 @@ type ByteMatchTuple struct { // encodes the value. // // TargetString is automatically base64 encoded/decoded by the SDK. + // + // TargetString is a required field TargetString []byte `type:"blob" required:"true"` // Text transformations eliminate some of the unusual formatting that attackers @@ -2750,6 +2774,8 @@ type ByteMatchTuple struct { // NONE // // Specify NONE if you don't want to perform any text transformations. + // + // TextTransformation is a required field TextTransformation *string `type:"string" required:"true" enum:"TextTransformation"` } @@ -2794,10 +2820,14 @@ type CreateByteMatchSetInput struct { _ struct{} `type:"structure"` // The value returned by the most recent call to GetChangeToken. + // + // ChangeToken is a required field ChangeToken *string `min:"1" type:"string" required:"true"` // A friendly name or description of the ByteMatchSet. You can't change Name // after you create a ByteMatchSet. + // + // Name is a required field Name *string `min:"1" type:"string" required:"true"` } @@ -2859,10 +2889,14 @@ type CreateIPSetInput struct { _ struct{} `type:"structure"` // The value returned by the most recent call to GetChangeToken. + // + // ChangeToken is a required field ChangeToken *string `min:"1" type:"string" required:"true"` // A friendly name or description of the IPSet. You can't change Name after // you create the IPSet. + // + // Name is a required field Name *string `min:"1" type:"string" required:"true"` } @@ -2924,16 +2958,22 @@ type CreateRuleInput struct { _ struct{} `type:"structure"` // The value returned by the most recent call to GetChangeToken. + // + // ChangeToken is a required field ChangeToken *string `min:"1" type:"string" required:"true"` // A friendly name or description for the metrics for this Rule. The name can // contain only alphanumeric characters (A-Z, a-z, 0-9); the name can't contain // whitespace. You can't change the name of the metric after you create the // Rule. + // + // MetricName is a required field MetricName *string `type:"string" required:"true"` // A friendly name or description of the Rule. You can't change the name of // a Rule after you create it. + // + // Name is a required field Name *string `min:"1" type:"string" required:"true"` } @@ -2998,10 +3038,14 @@ type CreateSizeConstraintSetInput struct { _ struct{} `type:"structure"` // The value returned by the most recent call to GetChangeToken. + // + // ChangeToken is a required field ChangeToken *string `min:"1" type:"string" required:"true"` // A friendly name or description of the SizeConstraintSet. You can't change // Name after you create a SizeConstraintSet. + // + // Name is a required field Name *string `min:"1" type:"string" required:"true"` } @@ -3064,10 +3108,14 @@ type CreateSqlInjectionMatchSetInput struct { _ struct{} `type:"structure"` // The value returned by the most recent call to GetChangeToken. + // + // ChangeToken is a required field ChangeToken *string `min:"1" type:"string" required:"true"` // A friendly name or description for the SqlInjectionMatchSet that you're creating. // You can't change Name after you create the SqlInjectionMatchSet. + // + // Name is a required field Name *string `min:"1" type:"string" required:"true"` } @@ -3130,20 +3178,28 @@ type CreateWebACLInput struct { _ struct{} `type:"structure"` // The value returned by the most recent call to GetChangeToken. + // + // ChangeToken is a required field ChangeToken *string `min:"1" type:"string" required:"true"` // The action that you want AWS WAF to take when a request doesn't match the // criteria specified in any of the Rule objects that are associated with the // WebACL. + // + // DefaultAction is a required field DefaultAction *WafAction `type:"structure" required:"true"` // A friendly name or description for the metrics for this WebACL. The name // can contain only alphanumeric characters (A-Z, a-z, 0-9); the name can't // contain whitespace. You can't change MetricName after you create the WebACL. + // + // MetricName is a required field MetricName *string `type:"string" required:"true"` // A friendly name or description of the WebACL. You can't change Name after // you create the WebACL. + // + // Name is a required field Name *string `min:"1" type:"string" required:"true"` } @@ -3217,10 +3273,14 @@ type CreateXssMatchSetInput struct { _ struct{} `type:"structure"` // The value returned by the most recent call to GetChangeToken. + // + // ChangeToken is a required field ChangeToken *string `min:"1" type:"string" required:"true"` // A friendly name or description for the XssMatchSet that you're creating. // You can't change Name after you create the XssMatchSet. + // + // Name is a required field Name *string `min:"1" type:"string" required:"true"` } @@ -3284,9 +3344,13 @@ type DeleteByteMatchSetInput struct { // The ByteMatchSetId of the ByteMatchSet that you want to delete. ByteMatchSetId // is returned by CreateByteMatchSet and by ListByteMatchSets. + // + // ByteMatchSetId is a required field ByteMatchSetId *string `min:"1" type:"string" required:"true"` // The value returned by the most recent call to GetChangeToken. + // + // ChangeToken is a required field ChangeToken *string `min:"1" type:"string" required:"true"` } @@ -3345,10 +3409,14 @@ type DeleteIPSetInput struct { _ struct{} `type:"structure"` // The value returned by the most recent call to GetChangeToken. + // + // ChangeToken is a required field ChangeToken *string `min:"1" type:"string" required:"true"` // The IPSetId of the IPSet that you want to delete. IPSetId is returned by // CreateIPSet and by ListIPSets. + // + // IPSetId is a required field IPSetId *string `min:"1" type:"string" required:"true"` } @@ -3407,10 +3475,14 @@ type DeleteRuleInput struct { _ struct{} `type:"structure"` // The value returned by the most recent call to GetChangeToken. + // + // ChangeToken is a required field ChangeToken *string `min:"1" type:"string" required:"true"` // The RuleId of the Rule that you want to delete. RuleId is returned by CreateRule // and by ListRules. + // + // RuleId is a required field RuleId *string `min:"1" type:"string" required:"true"` } @@ -3469,10 +3541,14 @@ type DeleteSizeConstraintSetInput struct { _ struct{} `type:"structure"` // The value returned by the most recent call to GetChangeToken. + // + // ChangeToken is a required field ChangeToken *string `min:"1" type:"string" required:"true"` // The SizeConstraintSetId of the SizeConstraintSet that you want to delete. // SizeConstraintSetId is returned by CreateSizeConstraintSet and by ListSizeConstraintSets. + // + // SizeConstraintSetId is a required field SizeConstraintSetId *string `min:"1" type:"string" required:"true"` } @@ -3532,10 +3608,14 @@ type DeleteSqlInjectionMatchSetInput struct { _ struct{} `type:"structure"` // The value returned by the most recent call to GetChangeToken. + // + // ChangeToken is a required field ChangeToken *string `min:"1" type:"string" required:"true"` // The SqlInjectionMatchSetId of the SqlInjectionMatchSet that you want to delete. // SqlInjectionMatchSetId is returned by CreateSqlInjectionMatchSet and by ListSqlInjectionMatchSets. + // + // SqlInjectionMatchSetId is a required field SqlInjectionMatchSetId *string `min:"1" type:"string" required:"true"` } @@ -3595,10 +3675,14 @@ type DeleteWebACLInput struct { _ struct{} `type:"structure"` // The value returned by the most recent call to GetChangeToken. + // + // ChangeToken is a required field ChangeToken *string `min:"1" type:"string" required:"true"` // The WebACLId of the WebACL that you want to delete. WebACLId is returned // by CreateWebACL and by ListWebACLs. + // + // WebACLId is a required field WebACLId *string `min:"1" type:"string" required:"true"` } @@ -3658,10 +3742,14 @@ type DeleteXssMatchSetInput struct { _ struct{} `type:"structure"` // The value returned by the most recent call to GetChangeToken. + // + // ChangeToken is a required field ChangeToken *string `min:"1" type:"string" required:"true"` // The XssMatchSetId of the XssMatchSet that you want to delete. XssMatchSetId // is returned by CreateXssMatchSet and by ListXssMatchSets. + // + // XssMatchSetId is a required field XssMatchSetId *string `min:"1" type:"string" required:"true"` } @@ -3751,6 +3839,8 @@ type FieldToMatch struct { // only the first 8192 bytes of the request body are forwarded to AWS WAF for // inspection. To allow or block requests based on the length of the body, you // can create a size constraint set. For more information, see CreateSizeConstraintSet. + // + // Type is a required field Type *string `type:"string" required:"true" enum:"MatchFieldType"` } @@ -3782,6 +3872,8 @@ type GetByteMatchSetInput struct { // The ByteMatchSetId of the ByteMatchSet that you want to get. ByteMatchSetId // is returned by CreateByteMatchSet and by ListByteMatchSets. + // + // ByteMatchSetId is a required field ByteMatchSetId *string `min:"1" type:"string" required:"true"` } @@ -3873,6 +3965,8 @@ type GetChangeTokenStatusInput struct { // The change token for which you want to get the status. This change token // was previously returned in the GetChangeToken response. + // + // ChangeToken is a required field ChangeToken *string `min:"1" type:"string" required:"true"` } @@ -3924,6 +4018,8 @@ type GetIPSetInput struct { // The IPSetId of the IPSet that you want to get. IPSetId is returned by CreateIPSet // and by ListIPSets. + // + // IPSetId is a required field IPSetId *string `min:"1" type:"string" required:"true"` } @@ -3981,6 +4077,8 @@ type GetRuleInput struct { // The RuleId of the Rule that you want to get. RuleId is returned by CreateRule // and by ListRules. + // + // RuleId is a required field RuleId *string `min:"1" type:"string" required:"true"` } @@ -4039,6 +4137,8 @@ type GetSampledRequestsInput struct { // 5,000 requests that your AWS resource received during the time range. If // your resource received fewer requests than the value of MaxItems, GetSampledRequests // returns information about all of them. + // + // MaxItems is a required field MaxItems *int64 `min:"1" type:"long" required:"true"` // RuleId is one of two values: @@ -4048,16 +4148,22 @@ type GetSampledRequestsInput struct { // // Default_Action, which causes GetSampledRequests to return a sample of // the requests that didn't match any of the rules in the specified WebACL. + // + // RuleId is a required field RuleId *string `min:"1" type:"string" required:"true"` // The start date and time and the end date and time of the range for which // you want GetSampledRequests to return a sample of requests. Specify the date // and time in Unix time format (in seconds). You can specify any time range // in the previous three hours. + // + // TimeWindow is a required field TimeWindow *TimeWindow `type:"structure" required:"true"` // The WebACLId of the WebACL for which you want GetSampledRequests to return // a sample of requests. + // + // WebAclId is a required field WebAclId *string `min:"1" type:"string" required:"true"` } @@ -4141,6 +4247,8 @@ type GetSizeConstraintSetInput struct { // The SizeConstraintSetId of the SizeConstraintSet that you want to get. SizeConstraintSetId // is returned by CreateSizeConstraintSet and by ListSizeConstraintSets. + // + // SizeConstraintSetId is a required field SizeConstraintSetId *string `min:"1" type:"string" required:"true"` } @@ -4203,6 +4311,8 @@ type GetSqlInjectionMatchSetInput struct { // The SqlInjectionMatchSetId of the SqlInjectionMatchSet that you want to get. // SqlInjectionMatchSetId is returned by CreateSqlInjectionMatchSet and by ListSqlInjectionMatchSets. + // + // SqlInjectionMatchSetId is a required field SqlInjectionMatchSetId *string `min:"1" type:"string" required:"true"` } @@ -4264,6 +4374,8 @@ type GetWebACLInput struct { // The WebACLId of the WebACL that you want to get. WebACLId is returned by // CreateWebACL and by ListWebACLs. + // + // WebACLId is a required field WebACLId *string `min:"1" type:"string" required:"true"` } @@ -4327,6 +4439,8 @@ type GetXssMatchSetInput struct { // The XssMatchSetId of the XssMatchSet that you want to get. XssMatchSetId // is returned by CreateXssMatchSet and by ListXssMatchSets. + // + // XssMatchSetId is a required field XssMatchSetId *string `min:"1" type:"string" required:"true"` } @@ -4476,6 +4590,8 @@ type IPSet struct { // // x-forwarded-for, if the viewer did use an HTTP proxy or a load balancer // to send the request + // + // IPSetDescriptors is a required field IPSetDescriptors []*IPSetDescriptor `type:"list" required:"true"` // The IPSetId for an IPSet. You use IPSetId to get information about an IPSet @@ -4484,6 +4600,8 @@ type IPSet struct { // AWS WAF (see DeleteIPSet). // // IPSetId is returned by CreateIPSet and by ListIPSets. + // + // IPSetId is a required field IPSetId *string `min:"1" type:"string" required:"true"` // A friendly name or description of the IPSet. You can't change the name of @@ -4507,6 +4625,8 @@ type IPSetDescriptor struct { _ struct{} `type:"structure"` // Specify IPV4 or IPV6. + // + // Type is a required field Type *string `type:"string" required:"true" enum:"IPSetDescriptorType"` // Specify an IPv4 address by using CIDR notation. For example: @@ -4528,6 +4648,8 @@ type IPSetDescriptor struct { // To configure AWS WAF to allow, block, or count requests that originated // from IP addresses 1111:0000:0000:0000:0000:0000:0000:0000 to 1111:0000:0000:0000:ffff:ffff:ffff:ffff, // specify 1111:0000:0000:0000:0000:0000:0000:0000/64. + // + // Value is a required field Value *string `type:"string" required:"true"` } @@ -4563,10 +4685,14 @@ type IPSetSummary struct { // The IPSetId for an IPSet. You can use IPSetId in a GetIPSet request to get // detailed information about an IPSet. + // + // IPSetId is a required field IPSetId *string `min:"1" type:"string" required:"true"` // A friendly name or description of the IPSet. You can't change the name of // an IPSet after you create it. + // + // Name is a required field Name *string `min:"1" type:"string" required:"true"` } @@ -4585,10 +4711,14 @@ type IPSetUpdate struct { _ struct{} `type:"structure"` // Specifies whether to insert or delete an IP address with UpdateIPSet. + // + // Action is a required field Action *string `type:"string" required:"true" enum:"ChangeAction"` // The IP address type (IPV4 or IPV6) and the IP address range (in CIDR notation) // that web requests originate from. + // + // IPSetDescriptor is a required field IPSetDescriptor *IPSetDescriptor `type:"structure" required:"true"` } @@ -5082,6 +5212,8 @@ type Predicate struct { // A unique identifier for a predicate in a Rule, such as ByteMatchSetId or // IPSetId. The ID is returned by the corresponding Create or List command. + // + // DataId is a required field DataId *string `min:"1" type:"string" required:"true"` // Set Negated to False if you want AWS WAF to allow, block, or count requests @@ -5095,9 +5227,13 @@ type Predicate struct { // XssMatchSet, or SizeConstraintSet. For example, if an IPSet includes the // IP address 192.0.2.44, AWS WAF will allow, block, or count requests based // on all IP addresses except 192.0.2.44. + // + // Negated is a required field Negated *bool `type:"boolean" required:"true"` // The type of predicate in a Rule, such as ByteMatchSet or IPSet. + // + // Type is a required field Type *string `type:"string" required:"true" enum:"PredicateType"` } @@ -5156,6 +5292,8 @@ type Rule struct { // The Predicates object contains one Predicate element for each ByteMatchSet, // IPSet, or SqlInjectionMatchSet object that you want to include in a Rule. + // + // Predicates is a required field Predicates []*Predicate `type:"list" required:"true"` // A unique identifier for a Rule. You use RuleId to get more information about @@ -5164,6 +5302,8 @@ type Rule struct { // from AWS WAF (see DeleteRule). // // RuleId is returned by CreateRule and by ListRules. + // + // RuleId is a required field RuleId *string `min:"1" type:"string" required:"true"` } @@ -5183,6 +5323,8 @@ type RuleSummary struct { // A friendly name or description of the Rule. You can't change the name of // a Rule after you create it. + // + // Name is a required field Name *string `min:"1" type:"string" required:"true"` // A unique identifier for a Rule. You use RuleId to get more information about @@ -5191,6 +5333,8 @@ type RuleSummary struct { // from AWS WAF (see DeleteRule). // // RuleId is returned by CreateRule and by ListRules. + // + // RuleId is a required field RuleId *string `min:"1" type:"string" required:"true"` } @@ -5211,9 +5355,13 @@ type RuleUpdate struct { // Specify INSERT to add a Predicate to a Rule. Use DELETE to remove a Predicate // from a Rule. + // + // Action is a required field Action *string `type:"string" required:"true" enum:"ChangeAction"` // The ID of the Predicate (such as an IPSet) that you want to add to a Rule. + // + // Predicate is a required field Predicate *Predicate `type:"structure" required:"true"` } @@ -5259,6 +5407,8 @@ type SampledHTTPRequest struct { Action *string `type:"string"` // A complex type that contains detailed information about the request. + // + // Request is a required field Request *HTTPRequest `type:"structure" required:"true"` // The time at which AWS WAF received the request from your AWS resource, in @@ -5269,6 +5419,8 @@ type SampledHTTPRequest struct { // to other results in the response. A result that has a weight of 2 represents // roughly twice as many CloudFront web requests as a result that has a weight // of 1. + // + // Weight is a required field Weight *int64 `type:"long" required:"true"` } @@ -5306,9 +5458,13 @@ type SizeConstraint struct { // FieldToMatch // // GT: Used to test if the Size is strictly greater than the size of the FieldToMatch + // + // ComparisonOperator is a required field ComparisonOperator *string `type:"string" required:"true" enum:"ComparisonOperator"` // Specifies where in a web request to look for TargetString. + // + // FieldToMatch is a required field FieldToMatch *FieldToMatch `type:"structure" required:"true"` // The size in bytes that you want AWS WAF to compare against the size of the @@ -5321,6 +5477,8 @@ type SizeConstraint struct { // // If you specify URI for the value of Type, the / in the URI counts as one // character. For example, the URI /logo.jpg is nine characters long. + // + // Size is a required field Size *int64 `type:"long" required:"true"` // Text transformations eliminate some of the unusual formatting that attackers @@ -5397,6 +5555,8 @@ type SizeConstraint struct { // URL_DECODE // // Use this option to decode a URL-encoded value. + // + // TextTransformation is a required field TextTransformation *string `type:"string" required:"true" enum:"TextTransformation"` } @@ -5454,9 +5614,13 @@ type SizeConstraintSet struct { // from AWS WAF (see DeleteSizeConstraintSet). // // SizeConstraintSetId is returned by CreateSizeConstraintSet and by ListSizeConstraintSets. + // + // SizeConstraintSetId is a required field SizeConstraintSetId *string `min:"1" type:"string" required:"true"` // Specifies the parts of web requests that you want to inspect the size of. + // + // SizeConstraints is a required field SizeConstraints []*SizeConstraint `type:"list" required:"true"` } @@ -5475,6 +5639,8 @@ type SizeConstraintSetSummary struct { _ struct{} `type:"structure"` // The name of the SizeConstraintSet, if any. + // + // Name is a required field Name *string `min:"1" type:"string" required:"true"` // A unique identifier for a SizeConstraintSet. You use SizeConstraintSetId @@ -5484,6 +5650,8 @@ type SizeConstraintSetSummary struct { // from AWS WAF (see DeleteSizeConstraintSet). // // SizeConstraintSetId is returned by CreateSizeConstraintSet and by ListSizeConstraintSets. + // + // SizeConstraintSetId is a required field SizeConstraintSetId *string `min:"1" type:"string" required:"true"` } @@ -5505,12 +5673,16 @@ type SizeConstraintSetUpdate struct { // Specify INSERT to add a SizeConstraintSetUpdate to a SizeConstraintSet. Use // DELETE to remove a SizeConstraintSetUpdate from a SizeConstraintSet. + // + // Action is a required field Action *string `type:"string" required:"true" enum:"ChangeAction"` // Specifies a constraint on the size of a part of the web request. AWS WAF // uses the Size, ComparisonOperator, and FieldToMatch to build an expression // in the form of "Size ComparisonOperator size in bytes of FieldToMatch". If // that expression is true, the SizeConstraint is considered to match. + // + // SizeConstraint is a required field SizeConstraint *SizeConstraint `type:"structure" required:"true"` } @@ -5565,10 +5737,14 @@ type SqlInjectionMatchSet struct { // // SqlInjectionMatchSetId is returned by CreateSqlInjectionMatchSet and by // ListSqlInjectionMatchSets. + // + // SqlInjectionMatchSetId is a required field SqlInjectionMatchSetId *string `min:"1" type:"string" required:"true"` // Specifies the parts of web requests that you want to inspect for snippets // of malicious SQL code. + // + // SqlInjectionMatchTuples is a required field SqlInjectionMatchTuples []*SqlInjectionMatchTuple `type:"list" required:"true"` } @@ -5587,6 +5763,8 @@ type SqlInjectionMatchSetSummary struct { _ struct{} `type:"structure"` // The name of the SqlInjectionMatchSet, if any, specified by Id. + // + // Name is a required field Name *string `min:"1" type:"string" required:"true"` // A unique identifier for a SqlInjectionMatchSet. You use SqlInjectionMatchSetId @@ -5597,6 +5775,8 @@ type SqlInjectionMatchSetSummary struct { // // SqlInjectionMatchSetId is returned by CreateSqlInjectionMatchSet and by // ListSqlInjectionMatchSets. + // + // SqlInjectionMatchSetId is a required field SqlInjectionMatchSetId *string `min:"1" type:"string" required:"true"` } @@ -5618,11 +5798,15 @@ type SqlInjectionMatchSetUpdate struct { // Specify INSERT to add a SqlInjectionMatchSetUpdate to a SqlInjectionMatchSet. // Use DELETE to remove a SqlInjectionMatchSetUpdate from a SqlInjectionMatchSet. + // + // Action is a required field Action *string `type:"string" required:"true" enum:"ChangeAction"` // Specifies the part of a web request that you want AWS WAF to inspect for // snippets of malicious SQL code and, if you want AWS WAF to inspect a header, // the name of the header. + // + // SqlInjectionMatchTuple is a required field SqlInjectionMatchTuple *SqlInjectionMatchTuple `type:"structure" required:"true"` } @@ -5664,6 +5848,8 @@ type SqlInjectionMatchTuple struct { _ struct{} `type:"structure"` // Specifies where in a web request to look for TargetString. + // + // FieldToMatch is a required field FieldToMatch *FieldToMatch `type:"structure" required:"true"` // Text transformations eliminate some of the unusual formatting that attackers @@ -5736,6 +5922,8 @@ type SqlInjectionMatchTuple struct { // NONE // // Specify NONE if you don't want to perform any text transformations. + // + // TextTransformation is a required field TextTransformation *string `type:"string" required:"true" enum:"TextTransformation"` } @@ -5786,11 +5974,15 @@ type TimeWindow struct { // The end of the time range from which you want GetSampledRequests to return // a sample of the requests that your AWS resource received. You can specify // any time range in the previous three hours. + // + // EndTime is a required field EndTime *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"` // The beginning of the time range from which you want GetSampledRequests to // return a sample of the requests that your AWS resource received. You can // specify any time range in the previous three hours. + // + // StartTime is a required field StartTime *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"` } @@ -5825,9 +6017,13 @@ type UpdateByteMatchSetInput struct { // The ByteMatchSetId of the ByteMatchSet that you want to update. ByteMatchSetId // is returned by CreateByteMatchSet and by ListByteMatchSets. + // + // ByteMatchSetId is a required field ByteMatchSetId *string `min:"1" type:"string" required:"true"` // The value returned by the most recent call to GetChangeToken. + // + // ChangeToken is a required field ChangeToken *string `min:"1" type:"string" required:"true"` // An array of ByteMatchSetUpdate objects that you want to insert into or delete @@ -5839,6 +6035,8 @@ type UpdateByteMatchSetInput struct { // and TextTransformation // // FieldToMatch: Contains Data and Type + // + // Updates is a required field Updates []*ByteMatchSetUpdate `type:"list" required:"true"` } @@ -5910,10 +6108,14 @@ type UpdateIPSetInput struct { _ struct{} `type:"structure"` // The value returned by the most recent call to GetChangeToken. + // + // ChangeToken is a required field ChangeToken *string `min:"1" type:"string" required:"true"` // The IPSetId of the IPSet that you want to update. IPSetId is returned by // CreateIPSet and by ListIPSets. + // + // IPSetId is a required field IPSetId *string `min:"1" type:"string" required:"true"` // An array of IPSetUpdate objects that you want to insert into or delete from @@ -5922,6 +6124,8 @@ type UpdateIPSetInput struct { // IPSetUpdate: Contains Action and IPSetDescriptor // // IPSetDescriptor: Contains Type and Value + // + // Updates is a required field Updates []*IPSetUpdate `type:"list" required:"true"` } @@ -5993,10 +6197,14 @@ type UpdateRuleInput struct { _ struct{} `type:"structure"` // The value returned by the most recent call to GetChangeToken. + // + // ChangeToken is a required field ChangeToken *string `min:"1" type:"string" required:"true"` // The RuleId of the Rule that you want to update. RuleId is returned by CreateRule // and by ListRules. + // + // RuleId is a required field RuleId *string `min:"1" type:"string" required:"true"` // An array of RuleUpdate objects that you want to insert into or delete from @@ -6007,6 +6215,8 @@ type UpdateRuleInput struct { // Predicate: Contains DataId, Negated, and Type // // FieldToMatch: Contains Data and Type + // + // Updates is a required field Updates []*RuleUpdate `type:"list" required:"true"` } @@ -6078,10 +6288,14 @@ type UpdateSizeConstraintSetInput struct { _ struct{} `type:"structure"` // The value returned by the most recent call to GetChangeToken. + // + // ChangeToken is a required field ChangeToken *string `min:"1" type:"string" required:"true"` // The SizeConstraintSetId of the SizeConstraintSet that you want to update. // SizeConstraintSetId is returned by CreateSizeConstraintSet and by ListSizeConstraintSets. + // + // SizeConstraintSetId is a required field SizeConstraintSetId *string `min:"1" type:"string" required:"true"` // An array of SizeConstraintSetUpdate objects that you want to insert into @@ -6094,6 +6308,8 @@ type UpdateSizeConstraintSetInput struct { // and Size // // FieldToMatch: Contains Data and Type + // + // Updates is a required field Updates []*SizeConstraintSetUpdate `type:"list" required:"true"` } @@ -6166,10 +6382,14 @@ type UpdateSqlInjectionMatchSetInput struct { _ struct{} `type:"structure"` // The value returned by the most recent call to GetChangeToken. + // + // ChangeToken is a required field ChangeToken *string `min:"1" type:"string" required:"true"` // The SqlInjectionMatchSetId of the SqlInjectionMatchSet that you want to update. // SqlInjectionMatchSetId is returned by CreateSqlInjectionMatchSet and by ListSqlInjectionMatchSets. + // + // SqlInjectionMatchSetId is a required field SqlInjectionMatchSetId *string `min:"1" type:"string" required:"true"` // An array of SqlInjectionMatchSetUpdate objects that you want to insert into @@ -6181,6 +6401,8 @@ type UpdateSqlInjectionMatchSetInput struct { // SqlInjectionMatchTuple: Contains FieldToMatch and TextTransformation // // FieldToMatch: Contains Data and Type + // + // Updates is a required field Updates []*SqlInjectionMatchSetUpdate `type:"list" required:"true"` } @@ -6253,6 +6475,8 @@ type UpdateWebACLInput struct { _ struct{} `type:"structure"` // The value returned by the most recent call to GetChangeToken. + // + // ChangeToken is a required field ChangeToken *string `min:"1" type:"string" required:"true"` // For the action that is associated with a rule in a WebACL, specifies the @@ -6276,6 +6500,8 @@ type UpdateWebACLInput struct { // The WebACLId of the WebACL that you want to update. WebACLId is returned // by CreateWebACL and by ListWebACLs. + // + // WebACLId is a required field WebACLId *string `min:"1" type:"string" required:"true"` } @@ -6350,6 +6576,8 @@ type UpdateXssMatchSetInput struct { _ struct{} `type:"structure"` // The value returned by the most recent call to GetChangeToken. + // + // ChangeToken is a required field ChangeToken *string `min:"1" type:"string" required:"true"` // An array of XssMatchSetUpdate objects that you want to insert into or delete @@ -6360,10 +6588,14 @@ type UpdateXssMatchSetInput struct { // XssMatchTuple: Contains FieldToMatch and TextTransformation // // FieldToMatch: Contains Data and Type + // + // Updates is a required field Updates []*XssMatchSetUpdate `type:"list" required:"true"` // The XssMatchSetId of the XssMatchSet that you want to update. XssMatchSetId // is returned by CreateXssMatchSet and by ListXssMatchSets. + // + // XssMatchSetId is a required field XssMatchSetId *string `min:"1" type:"string" required:"true"` } @@ -6451,6 +6683,8 @@ type WafAction struct { // the conditions in the rule. AWS WAF then continues to inspect the web request // based on the remaining rules in the web ACL. You can't specify COUNT for // the default action for a WebACL. + // + // Type is a required field Type *string `type:"string" required:"true" enum:"WafActionType"` } @@ -6490,6 +6724,8 @@ type WebACL struct { // The action to perform if none of the Rules contained in the WebACL match. // The action is specified by the WafAction object. + // + // DefaultAction is a required field DefaultAction *WafAction `type:"structure" required:"true"` MetricName *string `type:"string"` @@ -6500,6 +6736,8 @@ type WebACL struct { // An array that contains the action for each Rule in a WebACL, the priority // of the Rule, and the ID of the Rule. + // + // Rules is a required field Rules []*ActivatedRule `type:"list" required:"true"` // A unique identifier for a WebACL. You use WebACLId to get information about @@ -6507,6 +6745,8 @@ type WebACL struct { // a WebACL from AWS WAF (see DeleteWebACL). // // WebACLId is returned by CreateWebACL and by ListWebACLs. + // + // WebACLId is a required field WebACLId *string `min:"1" type:"string" required:"true"` } @@ -6526,6 +6766,8 @@ type WebACLSummary struct { // A friendly name or description of the WebACL. You can't change the name of // a WebACL after you create it. + // + // Name is a required field Name *string `min:"1" type:"string" required:"true"` // A unique identifier for a WebACL. You use WebACLId to get information about @@ -6533,6 +6775,8 @@ type WebACLSummary struct { // a WebACL from AWS WAF (see DeleteWebACL). // // WebACLId is returned by CreateWebACL and by ListWebACLs. + // + // WebACLId is a required field WebACLId *string `min:"1" type:"string" required:"true"` } @@ -6551,6 +6795,8 @@ type WebACLUpdate struct { _ struct{} `type:"structure"` // Specifies whether to insert a Rule into or delete a Rule from a WebACL. + // + // Action is a required field Action *string `type:"string" required:"true" enum:"ChangeAction"` // The ActivatedRule object in an UpdateWebACL request specifies a Rule that @@ -6560,6 +6806,8 @@ type WebACLUpdate struct { // // To specify whether to insert or delete a Rule, use the Action parameter // in the WebACLUpdate data type. + // + // ActivatedRule is a required field ActivatedRule *ActivatedRule `type:"structure" required:"true"` } @@ -6612,10 +6860,14 @@ type XssMatchSet struct { // and delete an XssMatchSet from AWS WAF (see DeleteXssMatchSet). // // XssMatchSetId is returned by CreateXssMatchSet and by ListXssMatchSets. + // + // XssMatchSetId is a required field XssMatchSetId *string `min:"1" type:"string" required:"true"` // Specifies the parts of web requests that you want to inspect for cross-site // scripting attacks. + // + // XssMatchTuples is a required field XssMatchTuples []*XssMatchTuple `type:"list" required:"true"` } @@ -6634,6 +6886,8 @@ type XssMatchSetSummary struct { _ struct{} `type:"structure"` // The name of the XssMatchSet, if any, specified by Id. + // + // Name is a required field Name *string `min:"1" type:"string" required:"true"` // A unique identifier for an XssMatchSet. You use XssMatchSetId to get information @@ -6642,6 +6896,8 @@ type XssMatchSetSummary struct { // and delete an XssMatchSet from AWS WAF (see DeleteXssMatchSet). // // XssMatchSetId is returned by CreateXssMatchSet and by ListXssMatchSets. + // + // XssMatchSetId is a required field XssMatchSetId *string `min:"1" type:"string" required:"true"` } @@ -6663,11 +6919,15 @@ type XssMatchSetUpdate struct { // Specify INSERT to add a XssMatchSetUpdate to an XssMatchSet. Use DELETE to // remove a XssMatchSetUpdate from an XssMatchSet. + // + // Action is a required field Action *string `type:"string" required:"true" enum:"ChangeAction"` // Specifies the part of a web request that you want AWS WAF to inspect for // cross-site scripting attacks and, if you want AWS WAF to inspect a header, // the name of the header. + // + // XssMatchTuple is a required field XssMatchTuple *XssMatchTuple `type:"structure" required:"true"` } @@ -6709,6 +6969,8 @@ type XssMatchTuple struct { _ struct{} `type:"structure"` // Specifies where in a web request to look for TargetString. + // + // FieldToMatch is a required field FieldToMatch *FieldToMatch `type:"structure" required:"true"` // Text transformations eliminate some of the unusual formatting that attackers @@ -6781,6 +7043,8 @@ type XssMatchTuple struct { // NONE // // Specify NONE if you don't want to perform any text transformations. + // + // TextTransformation is a required field TextTransformation *string `type:"string" required:"true" enum:"TextTransformation"` } @@ -6816,130 +7080,167 @@ func (s *XssMatchTuple) Validate() error { } const ( - // @enum ChangeAction + // ChangeActionInsert is a ChangeAction enum value ChangeActionInsert = "INSERT" - // @enum ChangeAction + + // ChangeActionDelete is a ChangeAction enum value ChangeActionDelete = "DELETE" ) const ( - // @enum ChangeTokenStatus + // ChangeTokenStatusProvisioned is a ChangeTokenStatus enum value ChangeTokenStatusProvisioned = "PROVISIONED" - // @enum ChangeTokenStatus + + // ChangeTokenStatusPending is a ChangeTokenStatus enum value ChangeTokenStatusPending = "PENDING" - // @enum ChangeTokenStatus + + // ChangeTokenStatusInsync is a ChangeTokenStatus enum value ChangeTokenStatusInsync = "INSYNC" ) const ( - // @enum ComparisonOperator + // ComparisonOperatorEq is a ComparisonOperator enum value ComparisonOperatorEq = "EQ" - // @enum ComparisonOperator + + // ComparisonOperatorNe is a ComparisonOperator enum value ComparisonOperatorNe = "NE" - // @enum ComparisonOperator + + // ComparisonOperatorLe is a ComparisonOperator enum value ComparisonOperatorLe = "LE" - // @enum ComparisonOperator + + // ComparisonOperatorLt is a ComparisonOperator enum value ComparisonOperatorLt = "LT" - // @enum ComparisonOperator + + // ComparisonOperatorGe is a ComparisonOperator enum value ComparisonOperatorGe = "GE" - // @enum ComparisonOperator + + // ComparisonOperatorGt is a ComparisonOperator enum value ComparisonOperatorGt = "GT" ) const ( - // @enum IPSetDescriptorType + // IPSetDescriptorTypeIpv4 is a IPSetDescriptorType enum value IPSetDescriptorTypeIpv4 = "IPV4" - // @enum IPSetDescriptorType + + // IPSetDescriptorTypeIpv6 is a IPSetDescriptorType enum value IPSetDescriptorTypeIpv6 = "IPV6" ) const ( - // @enum MatchFieldType + // MatchFieldTypeUri is a MatchFieldType enum value MatchFieldTypeUri = "URI" - // @enum MatchFieldType + + // MatchFieldTypeQueryString is a MatchFieldType enum value MatchFieldTypeQueryString = "QUERY_STRING" - // @enum MatchFieldType + + // MatchFieldTypeHeader is a MatchFieldType enum value MatchFieldTypeHeader = "HEADER" - // @enum MatchFieldType + + // MatchFieldTypeMethod is a MatchFieldType enum value MatchFieldTypeMethod = "METHOD" - // @enum MatchFieldType + + // MatchFieldTypeBody is a MatchFieldType enum value MatchFieldTypeBody = "BODY" ) const ( - // @enum ParameterExceptionField + // ParameterExceptionFieldChangeAction is a ParameterExceptionField enum value ParameterExceptionFieldChangeAction = "CHANGE_ACTION" - // @enum ParameterExceptionField + + // ParameterExceptionFieldWafAction is a ParameterExceptionField enum value ParameterExceptionFieldWafAction = "WAF_ACTION" - // @enum ParameterExceptionField + + // ParameterExceptionFieldPredicateType is a ParameterExceptionField enum value ParameterExceptionFieldPredicateType = "PREDICATE_TYPE" - // @enum ParameterExceptionField + + // ParameterExceptionFieldIpsetType is a ParameterExceptionField enum value ParameterExceptionFieldIpsetType = "IPSET_TYPE" - // @enum ParameterExceptionField + + // ParameterExceptionFieldByteMatchFieldType is a ParameterExceptionField enum value ParameterExceptionFieldByteMatchFieldType = "BYTE_MATCH_FIELD_TYPE" - // @enum ParameterExceptionField + + // ParameterExceptionFieldSqlInjectionMatchFieldType is a ParameterExceptionField enum value ParameterExceptionFieldSqlInjectionMatchFieldType = "SQL_INJECTION_MATCH_FIELD_TYPE" - // @enum ParameterExceptionField + + // ParameterExceptionFieldByteMatchTextTransformation is a ParameterExceptionField enum value ParameterExceptionFieldByteMatchTextTransformation = "BYTE_MATCH_TEXT_TRANSFORMATION" - // @enum ParameterExceptionField + + // ParameterExceptionFieldByteMatchPositionalConstraint is a ParameterExceptionField enum value ParameterExceptionFieldByteMatchPositionalConstraint = "BYTE_MATCH_POSITIONAL_CONSTRAINT" - // @enum ParameterExceptionField + + // ParameterExceptionFieldSizeConstraintComparisonOperator is a ParameterExceptionField enum value ParameterExceptionFieldSizeConstraintComparisonOperator = "SIZE_CONSTRAINT_COMPARISON_OPERATOR" ) const ( - // @enum ParameterExceptionReason + // ParameterExceptionReasonInvalidOption is a ParameterExceptionReason enum value ParameterExceptionReasonInvalidOption = "INVALID_OPTION" - // @enum ParameterExceptionReason + + // ParameterExceptionReasonIllegalCombination is a ParameterExceptionReason enum value ParameterExceptionReasonIllegalCombination = "ILLEGAL_COMBINATION" ) const ( - // @enum PositionalConstraint + // PositionalConstraintExactly is a PositionalConstraint enum value PositionalConstraintExactly = "EXACTLY" - // @enum PositionalConstraint + + // PositionalConstraintStartsWith is a PositionalConstraint enum value PositionalConstraintStartsWith = "STARTS_WITH" - // @enum PositionalConstraint + + // PositionalConstraintEndsWith is a PositionalConstraint enum value PositionalConstraintEndsWith = "ENDS_WITH" - // @enum PositionalConstraint + + // PositionalConstraintContains is a PositionalConstraint enum value PositionalConstraintContains = "CONTAINS" - // @enum PositionalConstraint + + // PositionalConstraintContainsWord is a PositionalConstraint enum value PositionalConstraintContainsWord = "CONTAINS_WORD" ) const ( - // @enum PredicateType + // PredicateTypeIpmatch is a PredicateType enum value PredicateTypeIpmatch = "IPMatch" - // @enum PredicateType + + // PredicateTypeByteMatch is a PredicateType enum value PredicateTypeByteMatch = "ByteMatch" - // @enum PredicateType + + // PredicateTypeSqlInjectionMatch is a PredicateType enum value PredicateTypeSqlInjectionMatch = "SqlInjectionMatch" - // @enum PredicateType + + // PredicateTypeSizeConstraint is a PredicateType enum value PredicateTypeSizeConstraint = "SizeConstraint" - // @enum PredicateType + + // PredicateTypeXssMatch is a PredicateType enum value PredicateTypeXssMatch = "XssMatch" ) const ( - // @enum TextTransformation + // TextTransformationNone is a TextTransformation enum value TextTransformationNone = "NONE" - // @enum TextTransformation + + // TextTransformationCompressWhiteSpace is a TextTransformation enum value TextTransformationCompressWhiteSpace = "COMPRESS_WHITE_SPACE" - // @enum TextTransformation + + // TextTransformationHtmlEntityDecode is a TextTransformation enum value TextTransformationHtmlEntityDecode = "HTML_ENTITY_DECODE" - // @enum TextTransformation + + // TextTransformationLowercase is a TextTransformation enum value TextTransformationLowercase = "LOWERCASE" - // @enum TextTransformation + + // TextTransformationCmdLine is a TextTransformation enum value TextTransformationCmdLine = "CMD_LINE" - // @enum TextTransformation + + // TextTransformationUrlDecode is a TextTransformation enum value TextTransformationUrlDecode = "URL_DECODE" ) const ( - // @enum WafActionType + // WafActionTypeBlock is a WafActionType enum value WafActionTypeBlock = "BLOCK" - // @enum WafActionType + + // WafActionTypeAllow is a WafActionType enum value WafActionTypeAllow = "ALLOW" - // @enum WafActionType + + // WafActionTypeCount is a WafActionType enum value WafActionTypeCount = "COUNT" ) diff --git a/service/workspaces/api.go b/service/workspaces/api.go index 42822941ef8..33597cf23e0 100644 --- a/service/workspaces/api.go +++ b/service/workspaces/api.go @@ -861,9 +861,13 @@ type CreateTagsInput struct { _ struct{} `type:"structure"` // The resource ID of the request. + // + // ResourceId is a required field ResourceId *string `min:"1" type:"string" required:"true"` // The tags of the request. + // + // Tags is a required field Tags []*Tag `type:"list" required:"true"` } @@ -926,6 +930,8 @@ type CreateWorkspacesInput struct { _ struct{} `type:"structure"` // An array of structures that specify the WorkSpaces to create. + // + // Workspaces is a required field Workspaces []*WorkspaceRequest `min:"1" type:"list" required:"true"` } @@ -1028,9 +1034,13 @@ type DeleteTagsInput struct { _ struct{} `type:"structure"` // The resource ID of the request. + // + // ResourceId is a required field ResourceId *string `min:"1" type:"string" required:"true"` // The tag keys of the request. + // + // TagKeys is a required field TagKeys []*string `type:"list" required:"true"` } @@ -1083,6 +1093,8 @@ type DescribeTagsInput struct { _ struct{} `type:"structure"` // The resource ID of the request. + // + // ResourceId is a required field ResourceId *string `min:"1" type:"string" required:"true"` } @@ -1471,9 +1483,13 @@ type ModifyWorkspacePropertiesInput struct { _ struct{} `type:"structure"` // The ID of the WorkSpace. + // + // WorkspaceId is a required field WorkspaceId *string `type:"string" required:"true"` // The WorkSpace properties of the request. + // + // WorkspaceProperties is a required field WorkspaceProperties *WorkspaceProperties `type:"structure" required:"true"` } @@ -1523,6 +1539,8 @@ type RebootRequest struct { _ struct{} `type:"structure"` // The identifier of the WorkSpace to reboot. + // + // WorkspaceId is a required field WorkspaceId *string `type:"string" required:"true"` } @@ -1554,6 +1572,8 @@ type RebootWorkspacesInput struct { _ struct{} `type:"structure"` // An array of structures that specify the WorkSpaces to reboot. + // + // RebootWorkspaceRequests is a required field RebootWorkspaceRequests []*RebootRequest `min:"1" type:"list" required:"true"` } @@ -1617,6 +1637,8 @@ type RebuildRequest struct { _ struct{} `type:"structure"` // The identifier of the WorkSpace to rebuild. + // + // WorkspaceId is a required field WorkspaceId *string `type:"string" required:"true"` } @@ -1648,6 +1670,8 @@ type RebuildWorkspacesInput struct { _ struct{} `type:"structure"` // An array of structures that specify the WorkSpaces to rebuild. + // + // RebuildWorkspaceRequests is a required field RebuildWorkspaceRequests []*RebuildRequest `min:"1" type:"list" required:"true"` } @@ -1727,6 +1751,8 @@ type StartWorkspacesInput struct { _ struct{} `type:"structure"` // The requests. + // + // StartWorkspaceRequests is a required field StartWorkspaceRequests []*StartRequest `min:"1" type:"list" required:"true"` } @@ -1795,6 +1821,8 @@ type StopWorkspacesInput struct { _ struct{} `type:"structure"` // The requests. + // + // StopWorkspaceRequests is a required field StopWorkspaceRequests []*StopRequest `min:"1" type:"list" required:"true"` } @@ -1846,6 +1874,8 @@ type Tag struct { _ struct{} `type:"structure"` // The key of the tag. + // + // Key is a required field Key *string `min:"1" type:"string" required:"true"` // The value of the tag. @@ -1884,6 +1914,8 @@ type TerminateRequest struct { _ struct{} `type:"structure"` // The identifier of the WorkSpace to terminate. + // + // WorkspaceId is a required field WorkspaceId *string `type:"string" required:"true"` } @@ -1915,6 +1947,8 @@ type TerminateWorkspacesInput struct { _ struct{} `type:"structure"` // An array of structures that specify the WorkSpaces to terminate. + // + // TerminateWorkspaceRequests is a required field TerminateWorkspaceRequests []*TerminateRequest `min:"1" type:"list" required:"true"` } @@ -2200,11 +2234,15 @@ type WorkspaceRequest struct { // The identifier of the bundle to create the WorkSpace from. You can use the // DescribeWorkspaceBundles operation to obtain a list of the bundles that are // available. + // + // BundleId is a required field BundleId *string `type:"string" required:"true"` // The identifier of the AWS Directory Service directory to create the WorkSpace // in. You can use the DescribeWorkspaceDirectories operation to obtain a list // of the directories that are available. + // + // DirectoryId is a required field DirectoryId *string `type:"string" required:"true"` // Specifies whether the data stored on the root volume, or C: drive, is encrypted. @@ -2215,6 +2253,8 @@ type WorkspaceRequest struct { // The username that the WorkSpace is assigned to. This username must exist // in the AWS Directory Service directory specified by the DirectoryId member. + // + // UserName is a required field UserName *string `min:"1" type:"string" required:"true"` // Specifies whether the data stored on the user volume, or D: drive, is encrypted. @@ -2270,77 +2310,100 @@ func (s *WorkspaceRequest) Validate() error { } const ( - // @enum Compute + // ComputeValue is a Compute enum value ComputeValue = "VALUE" - // @enum Compute + + // ComputeStandard is a Compute enum value ComputeStandard = "STANDARD" - // @enum Compute + + // ComputePerformance is a Compute enum value ComputePerformance = "PERFORMANCE" ) const ( - // @enum ConnectionState + // ConnectionStateConnected is a ConnectionState enum value ConnectionStateConnected = "CONNECTED" - // @enum ConnectionState + + // ConnectionStateDisconnected is a ConnectionState enum value ConnectionStateDisconnected = "DISCONNECTED" - // @enum ConnectionState + + // ConnectionStateUnknown is a ConnectionState enum value ConnectionStateUnknown = "UNKNOWN" ) const ( - // @enum RunningMode + // RunningModeAutoStop is a RunningMode enum value RunningModeAutoStop = "AUTO_STOP" - // @enum RunningMode + + // RunningModeAlwaysOn is a RunningMode enum value RunningModeAlwaysOn = "ALWAYS_ON" ) const ( - // @enum WorkspaceDirectoryState + // WorkspaceDirectoryStateRegistering is a WorkspaceDirectoryState enum value WorkspaceDirectoryStateRegistering = "REGISTERING" - // @enum WorkspaceDirectoryState + + // WorkspaceDirectoryStateRegistered is a WorkspaceDirectoryState enum value WorkspaceDirectoryStateRegistered = "REGISTERED" - // @enum WorkspaceDirectoryState + + // WorkspaceDirectoryStateDeregistering is a WorkspaceDirectoryState enum value WorkspaceDirectoryStateDeregistering = "DEREGISTERING" - // @enum WorkspaceDirectoryState + + // WorkspaceDirectoryStateDeregistered is a WorkspaceDirectoryState enum value WorkspaceDirectoryStateDeregistered = "DEREGISTERED" - // @enum WorkspaceDirectoryState + + // WorkspaceDirectoryStateError is a WorkspaceDirectoryState enum value WorkspaceDirectoryStateError = "ERROR" ) const ( - // @enum WorkspaceDirectoryType + // WorkspaceDirectoryTypeSimpleAd is a WorkspaceDirectoryType enum value WorkspaceDirectoryTypeSimpleAd = "SIMPLE_AD" - // @enum WorkspaceDirectoryType + + // WorkspaceDirectoryTypeAdConnector is a WorkspaceDirectoryType enum value WorkspaceDirectoryTypeAdConnector = "AD_CONNECTOR" ) const ( - // @enum WorkspaceState + // WorkspaceStatePending is a WorkspaceState enum value WorkspaceStatePending = "PENDING" - // @enum WorkspaceState + + // WorkspaceStateAvailable is a WorkspaceState enum value WorkspaceStateAvailable = "AVAILABLE" - // @enum WorkspaceState + + // WorkspaceStateImpaired is a WorkspaceState enum value WorkspaceStateImpaired = "IMPAIRED" - // @enum WorkspaceState + + // WorkspaceStateUnhealthy is a WorkspaceState enum value WorkspaceStateUnhealthy = "UNHEALTHY" - // @enum WorkspaceState + + // WorkspaceStateRebooting is a WorkspaceState enum value WorkspaceStateRebooting = "REBOOTING" - // @enum WorkspaceState + + // WorkspaceStateStarting is a WorkspaceState enum value WorkspaceStateStarting = "STARTING" - // @enum WorkspaceState + + // WorkspaceStateRebuilding is a WorkspaceState enum value WorkspaceStateRebuilding = "REBUILDING" - // @enum WorkspaceState + + // WorkspaceStateMaintenance is a WorkspaceState enum value WorkspaceStateMaintenance = "MAINTENANCE" - // @enum WorkspaceState + + // WorkspaceStateTerminating is a WorkspaceState enum value WorkspaceStateTerminating = "TERMINATING" - // @enum WorkspaceState + + // WorkspaceStateTerminated is a WorkspaceState enum value WorkspaceStateTerminated = "TERMINATED" - // @enum WorkspaceState + + // WorkspaceStateSuspended is a WorkspaceState enum value WorkspaceStateSuspended = "SUSPENDED" - // @enum WorkspaceState + + // WorkspaceStateStopping is a WorkspaceState enum value WorkspaceStateStopping = "STOPPING" - // @enum WorkspaceState + + // WorkspaceStateStopped is a WorkspaceState enum value WorkspaceStateStopped = "STOPPED" - // @enum WorkspaceState + + // WorkspaceStateError is a WorkspaceState enum value WorkspaceStateError = "ERROR" )