diff --git a/private/model/api/shape.go b/private/model/api/shape.go index 248da6757a2..e4795ce8851 100644 --- a/private/model/api/shape.go +++ b/private/model/api/shape.go @@ -567,6 +567,8 @@ func (ref *ShapeRef) GoTags(toplevel bool, isRequired bool) string { } if ref.Shape.IsEnum() { tags = append(tags, ShapeTag{"enum", ref.ShapeName}) + } else if ref.Shape.Type == "list" && ref.Shape.MemberRef.Shape.IsEnum() { + tags = append(tags, ShapeTag{"enum", ref.Shape.MemberRef.ShapeName}) } if toplevel { diff --git a/private/protocol/ec2query/build_test.go b/private/protocol/ec2query/build_test.go index d0e323132fb..a5d11b4fd1f 100644 --- a/private/protocol/ec2query/build_test.go +++ b/private/protocol/ec2query/build_test.go @@ -1776,7 +1776,7 @@ type InputService10TestShapeInputService10TestCaseOperation1Input struct { FooEnum *string `type:"string" enum:"InputService10TestShapeEnumType"` - ListEnums []*string `type:"list"` + ListEnums []*string `type:"list" enum:"InputService10TestShapeEnumType"` } // SetFooEnum sets the FooEnum field's value. @@ -1800,7 +1800,7 @@ type InputService10TestShapeInputService10TestCaseOperation2Input struct { FooEnum *string `type:"string" enum:"InputService10TestShapeEnumType"` - ListEnums []*string `type:"list"` + ListEnums []*string `type:"list" enum:"InputService10TestShapeEnumType"` } // SetFooEnum sets the FooEnum field's value. diff --git a/private/protocol/ec2query/unmarshal_test.go b/private/protocol/ec2query/unmarshal_test.go index 6009a7f43fd..e9d4ddaf4eb 100644 --- a/private/protocol/ec2query/unmarshal_test.go +++ b/private/protocol/ec2query/unmarshal_test.go @@ -1802,7 +1802,7 @@ type OutputService11TestShapeOutputService11TestCaseOperation1Output struct { FooEnum *string `type:"string" enum:"OutputService11TestShapeEC2EnumType"` - ListEnums []*string `type:"list"` + ListEnums []*string `type:"list" enum:"OutputService11TestShapeEC2EnumType"` } // SetFooEnum sets the FooEnum field's value. diff --git a/private/protocol/jsonrpc/build_test.go b/private/protocol/jsonrpc/build_test.go index a74d8fd609d..5e2973e7046 100644 --- a/private/protocol/jsonrpc/build_test.go +++ b/private/protocol/jsonrpc/build_test.go @@ -1996,7 +1996,7 @@ type InputService8TestShapeInputService8TestCaseOperation1Input struct { FooEnum *string `type:"string" enum:"InputService8TestShapeEnumType"` - ListEnums []*string `type:"list"` + ListEnums []*string `type:"list" enum:"InputService8TestShapeEnumType"` } // SetFooEnum sets the FooEnum field's value. @@ -2020,7 +2020,7 @@ type InputService8TestShapeInputService8TestCaseOperation2Input struct { FooEnum *string `type:"string" enum:"InputService8TestShapeEnumType"` - ListEnums []*string `type:"list"` + ListEnums []*string `type:"list" enum:"InputService8TestShapeEnumType"` } // SetFooEnum sets the FooEnum field's value. diff --git a/private/protocol/jsonrpc/unmarshal_test.go b/private/protocol/jsonrpc/unmarshal_test.go index 0071bace405..c5d663d72c8 100644 --- a/private/protocol/jsonrpc/unmarshal_test.go +++ b/private/protocol/jsonrpc/unmarshal_test.go @@ -1331,7 +1331,7 @@ type OutputService7TestShapeOutputService7TestCaseOperation1Output struct { FooEnum *string `type:"string" enum:"OutputService7TestShapeJSONEnumType"` - ListEnums []*string `type:"list"` + ListEnums []*string `type:"list" enum:"OutputService7TestShapeJSONEnumType"` } // SetFooEnum sets the FooEnum field's value. diff --git a/private/protocol/query/build_test.go b/private/protocol/query/build_test.go index f985b45a56b..f12758a1152 100644 --- a/private/protocol/query/build_test.go +++ b/private/protocol/query/build_test.go @@ -3446,7 +3446,7 @@ type InputService15TestShapeInputService15TestCaseOperation1Input struct { FooEnum *string `type:"string" enum:"InputService15TestShapeEnumType"` - ListEnums []*string `type:"list"` + ListEnums []*string `type:"list" enum:"InputService15TestShapeEnumType"` } // SetFooEnum sets the FooEnum field's value. @@ -3470,7 +3470,7 @@ type InputService15TestShapeInputService15TestCaseOperation2Input struct { FooEnum *string `type:"string" enum:"InputService15TestShapeEnumType"` - ListEnums []*string `type:"list"` + ListEnums []*string `type:"list" enum:"InputService15TestShapeEnumType"` } // SetFooEnum sets the FooEnum field's value. @@ -3494,7 +3494,7 @@ type InputService15TestShapeInputService15TestCaseOperation3Input struct { FooEnum *string `type:"string" enum:"InputService15TestShapeEnumType"` - ListEnums []*string `type:"list"` + ListEnums []*string `type:"list" enum:"InputService15TestShapeEnumType"` } // SetFooEnum sets the FooEnum field's value. diff --git a/private/protocol/query/unmarshal_test.go b/private/protocol/query/unmarshal_test.go index 5e75de1f5ac..190ffecad9e 100644 --- a/private/protocol/query/unmarshal_test.go +++ b/private/protocol/query/unmarshal_test.go @@ -2774,7 +2774,7 @@ type OutputService17TestShapeOutputService17TestCaseOperation1Output struct { FooEnum *string `type:"string" enum:"OutputService17TestShapeEC2EnumType"` - ListEnums []*string `type:"list"` + ListEnums []*string `type:"list" enum:"OutputService17TestShapeEC2EnumType"` } // SetFooEnum sets the FooEnum field's value. diff --git a/private/protocol/rest/build.go b/private/protocol/rest/build.go index 5f13d4acb87..63f66af2c62 100644 --- a/private/protocol/rest/build.go +++ b/private/protocol/rest/build.go @@ -276,6 +276,25 @@ func convertType(v reflect.Value, tag reflect.StructTag) (str string, err error) value = base64.StdEncoding.EncodeToString([]byte(value)) } str = value + case []*string: + if tag.Get("location") != "header" || tag.Get("enum") == "" { + return "", fmt.Errorf("%T is only supported with location header and enum shapes", value) + } + buff := &bytes.Buffer{} + for i, sv := range value { + if sv == nil || len(*sv) == 0 { + continue + } + if i != 0 { + buff.WriteRune(',') + } + item := *sv + if strings.Index(item, `,`) != -1 || strings.Index(item, `"`) != -1 { + item = strconv.Quote(item) + } + buff.WriteString(item) + } + str = string(buff.Bytes()) case []byte: str = base64.StdEncoding.EncodeToString(value) case bool: diff --git a/private/protocol/rest/build_test.go b/private/protocol/rest/build_test.go index 5725c7236a8..ca06460384f 100644 --- a/private/protocol/rest/build_test.go +++ b/private/protocol/rest/build_test.go @@ -3,6 +3,7 @@ package rest import ( "net/http" "net/url" + "reflect" "testing" "github.com/aws/aws-sdk-go/aws" @@ -61,3 +62,116 @@ func TestMarshalPath(t *testing.T) { } } + +func TestListOfEnums(t *testing.T) { + cases := []struct { + Input interface{} + Expected http.Header + WantErr bool + }{ + { + Input: func() interface{} { + type v struct { + List []*string `type:"list" location:"header" locationName:"x-amz-test-header"` + } + return &v{ + List: []*string{aws.String("foo")}, + } + }(), + WantErr: true, + }, + { + Input: func() interface{} { + type v struct { + List []*string `type:"list" location:"uri" locationName:"someList"` + } + return &v{ + List: []*string{aws.String("foo")}, + } + }(), + WantErr: true, + }, + { + Input: func() interface{} { + type v struct { + List map[string][]*string `type:"map" location:"headers" locationName:"x-amz-metadata"` + } + return &v{ + List: map[string][]*string{ + "foo": {aws.String("foo")}, + }, + } + }(), + WantErr: true, + }, + { + Input: func() interface{} { + type v struct { + List []*string `type:"list" location:"header" locationName:"x-amz-test-header" enum:"FooBar"` + } + return &v{ + List: []*string{aws.String("foo")}, + } + }(), + Expected: http.Header{ + "X-Amz-Test-Header": {"foo"}, + }, + }, + { + Input: func() interface{} { + type v struct { + List []*string `type:"list" location:"header" locationName:"x-amz-test-header" enum:"FooBar"` + } + return &v{ + List: []*string{aws.String("foo"), nil, aws.String(""), nil, aws.String("bar")}, + } + }(), + Expected: http.Header{ + "X-Amz-Test-Header": {"foo,bar"}, + }, + }, + { + Input: func() interface{} { + type v struct { + List []*string `type:"list" location:"header" locationName:"x-amz-test-header" enum:"FooBar"` + } + return &v{ + List: []*string{aws.String("f,o,o"), nil, aws.String(""), nil, aws.String(`"bar"`)}, + } + }(), + Expected: http.Header{ + "X-Amz-Test-Header": {`"f,o,o","\"bar\""`}, + }, + }, + } + + for i, tt := range cases { + req := &request.Request{ + HTTPRequest: &http.Request{ + URL: func() *url.URL { + u, err := url.Parse("https://foo.amazonaws.com") + if err != nil { + panic(err) + } + return u + }(), + Header: map[string][]string{}, + }, + Params: tt.Input, + } + + Build(req) + + if (req.Error != nil) != (tt.WantErr) { + t.Fatalf("(%d) WantErr(%t) got %v", i, tt.WantErr, req.Error) + } + + if tt.WantErr { + continue + } + + if e, a := tt.Expected, req.HTTPRequest.Header; !reflect.DeepEqual(e, a) { + t.Errorf("(%d) expect %v, got %v", i, e, a) + } + } +} diff --git a/private/protocol/restjson/build_test.go b/private/protocol/restjson/build_test.go index 132e1aa739b..89e74f14fc7 100644 --- a/private/protocol/restjson/build_test.go +++ b/private/protocol/restjson/build_test.go @@ -4961,11 +4961,11 @@ type InputService22TestShapeInputService22TestCaseOperation1Input struct { HeaderEnum *string `location:"header" locationName:"x-amz-enum" type:"string" enum:"InputService22TestShapeEnumType"` - ListEnums []*string `type:"list"` + ListEnums []*string `type:"list" enum:"InputService22TestShapeEnumType"` QueryFooEnum *string `location:"querystring" locationName:"Enum" type:"string" enum:"InputService22TestShapeEnumType"` - QueryListEnums []*string `location:"querystring" locationName:"List" type:"list"` + QueryListEnums []*string `location:"querystring" locationName:"List" type:"list" enum:"InputService22TestShapeEnumType"` } // SetFooEnum sets the FooEnum field's value. @@ -5009,11 +5009,11 @@ type InputService22TestShapeInputService22TestCaseOperation2Input struct { HeaderEnum *string `location:"header" locationName:"x-amz-enum" type:"string" enum:"InputService22TestShapeEnumType"` - ListEnums []*string `type:"list"` + ListEnums []*string `type:"list" enum:"InputService22TestShapeEnumType"` QueryFooEnum *string `location:"querystring" locationName:"Enum" type:"string" enum:"InputService22TestShapeEnumType"` - QueryListEnums []*string `location:"querystring" locationName:"List" type:"list"` + QueryListEnums []*string `location:"querystring" locationName:"List" type:"list" enum:"InputService22TestShapeEnumType"` } // SetFooEnum sets the FooEnum field's value. diff --git a/private/protocol/restjson/unmarshal_test.go b/private/protocol/restjson/unmarshal_test.go index 452fff35657..0e674035912 100644 --- a/private/protocol/restjson/unmarshal_test.go +++ b/private/protocol/restjson/unmarshal_test.go @@ -2563,7 +2563,7 @@ type OutputService14TestShapeOutputService14TestCaseOperation1Output struct { HeaderEnum *string `location:"header" locationName:"x-amz-enum" type:"string" enum:"OutputService14TestShapeRESTJSONEnumType"` - ListEnums []*string `type:"list"` + ListEnums []*string `type:"list" enum:"OutputService14TestShapeRESTJSONEnumType"` } // SetFooEnum sets the FooEnum field's value. @@ -2591,7 +2591,7 @@ type OutputService14TestShapeOutputService14TestCaseOperation2Input struct { HeaderEnum *string `location:"header" locationName:"x-amz-enum" type:"string" enum:"OutputService14TestShapeRESTJSONEnumType"` - ListEnums []*string `type:"list"` + ListEnums []*string `type:"list" enum:"OutputService14TestShapeRESTJSONEnumType"` } // SetFooEnum sets the FooEnum field's value. diff --git a/private/protocol/restxml/build_test.go b/private/protocol/restxml/build_test.go index b90d8677da3..d18699463b5 100644 --- a/private/protocol/restxml/build_test.go +++ b/private/protocol/restxml/build_test.go @@ -5544,12 +5544,12 @@ type InputService25TestShapeInputService25TestCaseOperation1Input struct { HeaderEnum *string `location:"header" locationName:"x-amz-enum" type:"string" enum:"InputService25TestShapeEnumType"` - ListEnums []*string `type:"list"` + ListEnums []*string `type:"list" enum:"InputService25TestShapeEnumType"` // URIFooEnum is a required field URIFooEnum *string `location:"uri" locationName:"URIEnum" type:"string" required:"true" enum:"InputService25TestShapeEnumType"` - URIListEnums []*string `location:"querystring" locationName:"ListEnums" type:"list"` + URIListEnums []*string `location:"querystring" locationName:"ListEnums" type:"list" enum:"InputService25TestShapeEnumType"` } // Validate inspects the fields of the type to determine if they are valid. @@ -5609,12 +5609,12 @@ type InputService25TestShapeInputService25TestCaseOperation2Input struct { HeaderEnum *string `location:"header" locationName:"x-amz-enum" type:"string" enum:"InputService25TestShapeEnumType"` - ListEnums []*string `type:"list"` + ListEnums []*string `type:"list" enum:"InputService25TestShapeEnumType"` // URIFooEnum is a required field URIFooEnum *string `location:"uri" locationName:"URIEnum" type:"string" required:"true" enum:"InputService25TestShapeEnumType"` - URIListEnums []*string `location:"querystring" locationName:"ListEnums" type:"list"` + URIListEnums []*string `location:"querystring" locationName:"ListEnums" type:"list" enum:"InputService25TestShapeEnumType"` } // Validate inspects the fields of the type to determine if they are valid. diff --git a/private/protocol/restxml/unmarshal_test.go b/private/protocol/restxml/unmarshal_test.go index 3d7538d0729..3da5546cc49 100644 --- a/private/protocol/restxml/unmarshal_test.go +++ b/private/protocol/restxml/unmarshal_test.go @@ -2657,7 +2657,7 @@ type OutputService14TestShapeOutputService14TestCaseOperation1Output struct { HeaderEnum *string `location:"header" locationName:"x-amz-enum" type:"string" enum:"OutputService14TestShapeRESTJSONEnumType"` - ListEnums []*string `type:"list"` + ListEnums []*string `type:"list" enum:"OutputService14TestShapeRESTJSONEnumType"` } // SetFooEnum sets the FooEnum field's value. @@ -2685,7 +2685,7 @@ type OutputService14TestShapeOutputService14TestCaseOperation2Input struct { HeaderEnum *string `location:"header" locationName:"x-amz-enum" type:"string" enum:"OutputService14TestShapeRESTJSONEnumType"` - ListEnums []*string `type:"list"` + ListEnums []*string `type:"list" enum:"OutputService14TestShapeRESTJSONEnumType"` } // SetFooEnum sets the FooEnum field's value. diff --git a/service/accessanalyzer/api.go b/service/accessanalyzer/api.go index 83cbc65d17f..f688c36bf37 100644 --- a/service/accessanalyzer/api.go +++ b/service/accessanalyzer/api.go @@ -6600,7 +6600,7 @@ type KmsGrantConfiguration struct { // A list of operations that the grant permits. // // Operations is a required field - Operations []*string `locationName:"operations" type:"list" required:"true"` + Operations []*string `locationName:"operations" type:"list" required:"true" enum:"KmsGrantOperation"` // The principal that is given permission to retire the grant by using RetireGrant // (https://docs.aws.amazon.com/kms/latest/APIReference/API_RetireGrant.html) diff --git a/service/acm/api.go b/service/acm/api.go index 24e7b415a0e..16430d280f4 100644 --- a/service/acm/api.go +++ b/service/acm/api.go @@ -2760,7 +2760,7 @@ type Filters struct { _ struct{} `type:"structure"` // Specify one or more ExtendedKeyUsage extension values. - ExtendedKeyUsage []*string `locationName:"extendedKeyUsage" type:"list"` + ExtendedKeyUsage []*string `locationName:"extendedKeyUsage" type:"list" enum:"ExtendedKeyUsageName"` // Specify one or more algorithms that can be used to generate key pairs. // @@ -2768,10 +2768,10 @@ type Filters struct { // at least one domain. To return other certificate types, provide the desired // type signatures in a comma-separated list. For example, "keyTypes": ["RSA_2048,RSA_4096"] // returns both RSA_2048 and RSA_4096 certificates. - KeyTypes []*string `locationName:"keyTypes" type:"list"` + KeyTypes []*string `locationName:"keyTypes" type:"list" enum:"KeyAlgorithm"` // Specify one or more KeyUsage extension values. - KeyUsage []*string `locationName:"keyUsage" type:"list"` + KeyUsage []*string `locationName:"keyUsage" type:"list" enum:"KeyUsageName"` } // String returns the string representation. @@ -3601,7 +3601,7 @@ type ListCertificatesInput struct { _ struct{} `type:"structure"` // Filter the certificate list by status value. - CertificateStatuses []*string `type:"list"` + CertificateStatuses []*string `type:"list" enum:"CertificateStatus"` // Filter the certificate list. For more information, see the Filters structure. Includes *Filters `type:"structure"` diff --git a/service/acmpca/api.go b/service/acmpca/api.go index 5c84aa2c9ca..147c6fbbaf6 100644 --- a/service/acmpca/api.go +++ b/service/acmpca/api.go @@ -3812,7 +3812,7 @@ type CreatePermissionInput struct { // IssueCertificate, GetCertificate, and ListPermissions. // // Actions is a required field - Actions []*string `min:"1" type:"list" required:"true"` + Actions []*string `min:"1" type:"list" required:"true" enum:"ActionType"` // The Amazon Resource Name (ARN) of the CA that grants the permissions. You // can find the ARN by calling the ListCertificateAuthorities (https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_ListCertificateAuthorities.html) @@ -7045,7 +7045,7 @@ type Permission struct { _ struct{} `type:"structure"` // The private CA actions that can be performed by the designated AWS service. - Actions []*string `min:"1" type:"list"` + Actions []*string `min:"1" type:"list" enum:"ActionType"` // The Amazon Resource Number (ARN) of the private CA from which the permission // was issued. diff --git a/service/alexaforbusiness/api.go b/service/alexaforbusiness/api.go index 795ccc74c15..48759d12a0c 100644 --- a/service/alexaforbusiness/api.go +++ b/service/alexaforbusiness/api.go @@ -21040,7 +21040,7 @@ type StartDeviceSyncInput struct { // Request structure to start the device sync. Required. // // Features is a required field - Features []*string `type:"list" required:"true"` + Features []*string `type:"list" required:"true" enum:"Feature"` // The ARN of the room with which the device to sync is associated. Required. RoomArn *string `type:"string"` diff --git a/service/amplifybackend/api.go b/service/amplifybackend/api.go index 5437540f017..7d2596bfede 100644 --- a/service/amplifybackend/api.go +++ b/service/amplifybackend/api.go @@ -3268,11 +3268,11 @@ type BackendStoragePermissions struct { // S3 bucket. // // Authenticated is a required field - Authenticated []*string `locationName:"authenticated" type:"list" required:"true"` + Authenticated []*string `locationName:"authenticated" type:"list" required:"true" enum:"AuthenticatedElement"` // Lists all unauthenticated user read, write, and delete permissions for your // S3 bucket. - UnAuthenticated []*string `locationName:"unAuthenticated" type:"list"` + UnAuthenticated []*string `locationName:"unAuthenticated" type:"list" enum:"UnAuthenticatedElement"` } // String returns the string representation. @@ -3981,7 +3981,7 @@ type CreateBackendAuthOAuthConfig struct { // from your Amplify app. // // OAuthScopes is a required field - OAuthScopes []*string `locationName:"oAuthScopes" type:"list" required:"true"` + OAuthScopes []*string `locationName:"oAuthScopes" type:"list" required:"true" enum:"OAuthScopesElement"` // The redirected URI for signing in to your Amplify app. // @@ -4149,7 +4149,7 @@ type CreateBackendAuthPasswordPolicyConfig struct { // Additional constraints for the password used to access the backend of your // Amplify project. - AdditionalConstraints []*string `locationName:"additionalConstraints" type:"list"` + AdditionalConstraints []*string `locationName:"additionalConstraints" type:"list" enum:"AdditionalConstraintsElement"` // The minimum length of the password used to access the backend of your Amplify // project. @@ -4324,7 +4324,7 @@ type CreateBackendAuthUserPoolConfig struct { // The required attributes to sign up new users in the user pool. // // RequiredSignUpAttributes is a required field - RequiredSignUpAttributes []*string `locationName:"requiredSignUpAttributes" type:"list" required:"true"` + RequiredSignUpAttributes []*string `locationName:"requiredSignUpAttributes" type:"list" required:"true" enum:"RequiredSignUpAttributesElement"` // Describes the sign-in methods that your Amplify app users use to log in using // the Amazon Cognito user pool, configured as a part of your Amplify project. @@ -7842,7 +7842,7 @@ func (s *S3BucketInfo) SetName(v string) *S3BucketInfo { type Settings struct { _ struct{} `type:"structure"` - MfaTypes []*string `locationName:"mfaTypes" type:"list"` + MfaTypes []*string `locationName:"mfaTypes" type:"list" enum:"MfaTypesElement"` // The body of the SMS message. SmsMessage *string `locationName:"smsMessage" type:"string"` @@ -8427,7 +8427,7 @@ type UpdateBackendAuthOAuthConfig struct { // The list of OAuth-related flows that can allow users to authenticate from // your Amplify app. - OAuthScopes []*string `locationName:"oAuthScopes" type:"list"` + OAuthScopes []*string `locationName:"oAuthScopes" type:"list" enum:"OAuthScopesElement"` // Redirect URLs that OAuth uses when a user signs in to an Amplify app. RedirectSignInURIs []*string `locationName:"redirectSignInURIs" type:"list"` @@ -8571,7 +8571,7 @@ type UpdateBackendAuthPasswordPolicyConfig struct { // Describes additional constraints on password requirements to sign in to the // auth resource, configured as a part of your Amplify project. - AdditionalConstraints []*string `locationName:"additionalConstraints" type:"list"` + AdditionalConstraints []*string `locationName:"additionalConstraints" type:"list" enum:"AdditionalConstraintsElement"` // Describes the minimum length of the password required to sign in to the auth // resource, configured as a part of your Amplify project. diff --git a/service/apigateway/api.go b/service/apigateway/api.go index f3938090e94..70e5b8a666a 100644 --- a/service/apigateway/api.go +++ b/service/apigateway/api.go @@ -16579,7 +16579,7 @@ type EndpointConfiguration struct { // For an edge-optimized API and its custom domain name, the endpoint type is // "EDGE". For a regional API and its custom domain name, the endpoint type // is REGIONAL. For a private API, the endpoint type is PRIVATE. - Types []*string `locationName:"types" type:"list"` + Types []*string `locationName:"types" type:"list" enum:"EndpointType"` // A list of VpcEndpointIds of an API (RestApi) against which to create Route53 // ALIASes. It is only supported for PRIVATE endpoint type. diff --git a/service/appconfig/api.go b/service/appconfig/api.go index ae07035227c..429fa0e3165 100644 --- a/service/appconfig/api.go +++ b/service/appconfig/api.go @@ -3483,7 +3483,7 @@ type ConfigurationProfileSummary struct { Type *string `type:"string"` // The types of validators in the configuration profile. - ValidatorTypes []*string `type:"list"` + ValidatorTypes []*string `type:"list" enum:"ValidatorType"` } // String returns the string representation. diff --git a/service/appflow/api.go b/service/appflow/api.go index 5322ad10f46..5d30b56b688 100644 --- a/service/appflow/api.go +++ b/service/appflow/api.go @@ -3078,19 +3078,19 @@ type ConnectorConfiguration struct { SupportedApiVersions []*string `locationName:"supportedApiVersions" type:"list"` // Lists the connectors that are available for use as destinations. - SupportedDestinationConnectors []*string `locationName:"supportedDestinationConnectors" type:"list"` + SupportedDestinationConnectors []*string `locationName:"supportedDestinationConnectors" type:"list" enum:"ConnectorType"` // A list of operators supported by the connector. - SupportedOperators []*string `locationName:"supportedOperators" type:"list"` + SupportedOperators []*string `locationName:"supportedOperators" type:"list" enum:"Operators"` // Specifies the supported flow frequency for that connector. - SupportedSchedulingFrequencies []*string `locationName:"supportedSchedulingFrequencies" type:"list"` + SupportedSchedulingFrequencies []*string `locationName:"supportedSchedulingFrequencies" type:"list" enum:"ScheduleFrequencyType"` // Specifies the supported trigger types for the flow. - SupportedTriggerTypes []*string `locationName:"supportedTriggerTypes" type:"list"` + SupportedTriggerTypes []*string `locationName:"supportedTriggerTypes" type:"list" enum:"TriggerType"` // A list of write operations supported by the connector. - SupportedWriteOperations []*string `locationName:"supportedWriteOperations" type:"list"` + SupportedWriteOperations []*string `locationName:"supportedWriteOperations" type:"list" enum:"WriteOperationType"` } // String returns the string representation. @@ -6443,7 +6443,7 @@ type DescribeConnectorsInput struct { _ struct{} `type:"structure"` // The type of connector, such as Salesforce, Amplitude, and so on. - ConnectorTypes []*string `locationName:"connectorTypes" type:"list"` + ConnectorTypes []*string `locationName:"connectorTypes" type:"list" enum:"ConnectorType"` // The maximum number of items that should be returned in the result set. The // default is 20. @@ -7116,7 +7116,7 @@ type DestinationFieldProperties struct { // A list of supported write operations. For each write operation listed, this // field can be used in idFieldNames when that write operation is present as // a destination option. - SupportedWriteOperations []*string `locationName:"supportedWriteOperations" type:"list"` + SupportedWriteOperations []*string `locationName:"supportedWriteOperations" type:"list" enum:"WriteOperationType"` } // String returns the string representation. @@ -7840,7 +7840,7 @@ type FieldTypeDetails struct { // The list of operators supported by a field. // // FilterOperators is a required field - FilterOperators []*string `locationName:"filterOperators" type:"list" required:"true"` + FilterOperators []*string `locationName:"filterOperators" type:"list" required:"true" enum:"Operator"` // The date format that the field supports. SupportedDateFormat *string `locationName:"supportedDateFormat" type:"string"` @@ -9559,7 +9559,7 @@ type OAuth2Defaults struct { AuthCodeUrls []*string `locationName:"authCodeUrls" type:"list"` // OAuth 2.0 grant types supported by the connector. - Oauth2GrantTypesSupported []*string `locationName:"oauth2GrantTypesSupported" type:"list"` + Oauth2GrantTypesSupported []*string `locationName:"oauth2GrantTypesSupported" type:"list" enum:"OAuth2GrantType"` // OAuth 2.0 scopes that the connector supports. OauthScopes []*string `locationName:"oauthScopes" type:"list"` diff --git a/service/applicationdiscoveryservice/api.go b/service/applicationdiscoveryservice/api.go index af609b73767..e5f77e44f31 100644 --- a/service/applicationdiscoveryservice/api.go +++ b/service/applicationdiscoveryservice/api.go @@ -6530,7 +6530,7 @@ type StartExportTaskInput struct { // The file format for the returned export data. Default value is CSV. Note: // The GRAPHML option has been deprecated. - ExportDataFormat []*string `locationName:"exportDataFormat" type:"list"` + ExportDataFormat []*string `locationName:"exportDataFormat" type:"list" enum:"ExportDataFormat"` // If a filter is present, it selects the single agentId of the Application // Discovery Agent for which data is exported. The agentId can be found in the diff --git a/service/appmesh/api.go b/service/appmesh/api.go index dfd012dede6..e44ceda8494 100644 --- a/service/appmesh/api.go +++ b/service/appmesh/api.go @@ -9041,7 +9041,7 @@ type GrpcRetryPolicy struct { _ struct{} `type:"structure"` // Specify at least one of the valid values. - GrpcRetryEvents []*string `locationName:"grpcRetryEvents" min:"1" type:"list"` + GrpcRetryEvents []*string `locationName:"grpcRetryEvents" min:"1" type:"list" enum:"GrpcRetryPolicyEvent"` // Specify at least one of the following values. // @@ -9068,7 +9068,7 @@ type GrpcRetryPolicy struct { // Specify a valid value. The event occurs before any processing of a request // has started and is encountered when the upstream is temporarily or permanently // unavailable. - TcpRetryEvents []*string `locationName:"tcpRetryEvents" min:"1" type:"list"` + TcpRetryEvents []*string `locationName:"tcpRetryEvents" min:"1" type:"list" enum:"TcpRetryPolicyEvent"` } // String returns the string representation. @@ -10486,7 +10486,7 @@ type HttpRetryPolicy struct { // Specify a valid value. The event occurs before any processing of a request // has started and is encountered when the upstream is temporarily or permanently // unavailable. - TcpRetryEvents []*string `locationName:"tcpRetryEvents" min:"1" type:"list"` + TcpRetryEvents []*string `locationName:"tcpRetryEvents" min:"1" type:"list" enum:"TcpRetryPolicyEvent"` } // String returns the string representation. diff --git a/service/appstream/api.go b/service/appstream/api.go index a29290d8f58..cc1996c53a2 100644 --- a/service/appstream/api.go +++ b/service/appstream/api.go @@ -6113,7 +6113,7 @@ type Application struct { Name *string `min:"1" type:"string"` // The platforms on which the application can run. - Platforms []*string `type:"list"` + Platforms []*string `type:"list" enum:"PlatformType"` // The working directory for the application. WorkingDirectory *string `min:"1" type:"string"` @@ -7327,7 +7327,7 @@ type CreateApplicationInput struct { // are supported for Elastic fleets. // // Platforms is a required field - Platforms []*string `type:"list" required:"true"` + Platforms []*string `type:"list" required:"true" enum:"PlatformType"` // The tags assigned to the application. Tags map[string]*string `min:"1" type:"map"` @@ -16091,7 +16091,7 @@ type UpdateApplicationInput struct { AppBlockArn *string `type:"string"` // The attributes to delete for an application. - AttributesToDelete []*string `type:"list"` + AttributesToDelete []*string `type:"list" enum:"ApplicationAttribute"` // The description of the application. Description *string `type:"string"` @@ -16485,7 +16485,7 @@ type UpdateFleetInput struct { _ struct{} `type:"structure"` // The fleet attributes to delete. - AttributesToDelete []*string `type:"list"` + AttributesToDelete []*string `type:"list" enum:"FleetAttribute"` // The desired capacity for the fleet. This is not allowed for Elastic fleets. ComputeCapacity *ComputeCapacity `type:"structure"` @@ -16976,7 +16976,7 @@ type UpdateStackInput struct { ApplicationSettings *ApplicationSettings `type:"structure"` // The stack attributes to delete. - AttributesToDelete []*string `type:"list"` + AttributesToDelete []*string `type:"list" enum:"StackAttribute"` // Deletes the storage connectors currently enabled for the stack. // diff --git a/service/augmentedairuntime/api.go b/service/augmentedairuntime/api.go index 52f00a41c5f..56166f2a534 100644 --- a/service/augmentedairuntime/api.go +++ b/service/augmentedairuntime/api.go @@ -849,7 +849,7 @@ type HumanLoopDataAttributes struct { // view your task based on this information. // // ContentClassifiers is a required field - ContentClassifiers []*string `type:"list" required:"true"` + ContentClassifiers []*string `type:"list" required:"true" enum:"ContentClassifier"` } // String returns the string representation. diff --git a/service/autoscaling/api.go b/service/autoscaling/api.go index 206589ee594..9a094594f2b 100644 --- a/service/autoscaling/api.go +++ b/service/autoscaling/api.go @@ -13446,7 +13446,7 @@ type InstanceRequirements struct { // * For instance types with Xilinx devices, specify xilinx. // // Default: Any manufacturer - AcceleratorManufacturers []*string `type:"list"` + AcceleratorManufacturers []*string `type:"list" enum:"AcceleratorManufacturer"` // Lists the accelerators that must be on an instance type. // @@ -13465,7 +13465,7 @@ type InstanceRequirements struct { // * For instance types with Xilinx VU9P FPGAs, specify vu9p. // // Default: Any accelerator - AcceleratorNames []*string `type:"list"` + AcceleratorNames []*string `type:"list" enum:"AcceleratorName"` // The minimum and maximum total memory size for the accelerators on an instance // type, in MiB. @@ -13482,7 +13482,7 @@ type InstanceRequirements struct { // * For instance types with inference accelerators, specify inference. // // Default: Any accelerator type - AcceleratorTypes []*string `type:"list"` + AcceleratorTypes []*string `type:"list" enum:"AcceleratorType"` // Indicates whether bare metal instance types are included, excluded, or required. // @@ -13516,7 +13516,7 @@ type InstanceRequirements struct { // Amazon Machine Image (AMI) that you specify in your launch template. // // Default: Any manufacturer - CpuManufacturers []*string `type:"list"` + CpuManufacturers []*string `type:"list" enum:"CpuManufacturer"` // Lists which instance types to exclude. You can use strings with one or more // wild cards, represented by an asterisk (*). The following are examples: c5*, @@ -13540,7 +13540,7 @@ type InstanceRequirements struct { // * For previous generation instance types, specify previous. // // Default: Any current or previous generation - InstanceGenerations []*string `type:"list"` + InstanceGenerations []*string `type:"list" enum:"InstanceGeneration"` // Indicates whether instance types with instance store volumes are included, // excluded, or required. For more information, see Amazon EC2 instance store @@ -13557,7 +13557,7 @@ type InstanceRequirements struct { // * For instance types with solid state drive (SSD) storage, specify sdd. // // Default: Any local storage type - LocalStorageTypes []*string `type:"list"` + LocalStorageTypes []*string `type:"list" enum:"LocalStorageType"` // The minimum and maximum amount of memory per vCPU for an instance type, in // GiB. diff --git a/service/backup/api.go b/service/backup/api.go index 38cd46d7542..ffa2ae33a1f 100644 --- a/service/backup/api.go +++ b/service/backup/api.go @@ -11953,7 +11953,7 @@ type GetBackupVaultNotificationsOutput struct { // An array of events that indicate the status of jobs to back up resources // to the backup vault. - BackupVaultEvents []*string `type:"list"` + BackupVaultEvents []*string `type:"list" enum:"VaultEvent"` // The name of a logical container where backups are stored. Backup vaults are // identified by names that are unique to the account used to create them and @@ -15385,7 +15385,7 @@ type PutBackupVaultNotificationsInput struct { // list above. // // BackupVaultEvents is a required field - BackupVaultEvents []*string `type:"list" required:"true"` + BackupVaultEvents []*string `type:"list" required:"true" enum:"VaultEvent"` // The name of a logical container where backups are stored. Backup vaults are // identified by names that are unique to the account used to create them and diff --git a/service/batch/api.go b/service/batch/api.go index bac879a58c5..dc01402f2a5 100644 --- a/service/batch/api.go +++ b/service/batch/api.go @@ -5766,7 +5766,7 @@ type Device struct { // The explicit permissions to provide to the container for the device. By default, // the container has permissions for read, write, and mknod for the device. - Permissions []*string `locationName:"permissions" type:"list"` + Permissions []*string `locationName:"permissions" type:"list" enum:"DeviceCgroupPermission"` } // String returns the string representation. @@ -6359,7 +6359,7 @@ type JobDefinition struct { // The platform capabilities required by the job definition. If no value is // specified, it defaults to EC2. Jobs run on Fargate resources specify FARGATE. - PlatformCapabilities []*string `locationName:"platformCapabilities" type:"list"` + PlatformCapabilities []*string `locationName:"platformCapabilities" type:"list" enum:"PlatformCapability"` // Specifies whether to propagate the tags from the job or job definition to // the corresponding Amazon ECS task. If no value is specified, the tags aren't @@ -6610,7 +6610,7 @@ type JobDetail struct { // The platform capabilities required by the job definition. If no value is // specified, it defaults to EC2. Jobs run on Fargate resources specify FARGATE. - PlatformCapabilities []*string `locationName:"platformCapabilities" type:"list"` + PlatformCapabilities []*string `locationName:"platformCapabilities" type:"list" enum:"PlatformCapability"` // Specifies whether to propagate the tags from the job or job definition to // the corresponding Amazon ECS task. If no value is specified, the tags aren't @@ -8540,7 +8540,7 @@ type RegisterJobDefinitionInput struct { // The platform capabilities required by the job definition. If no value is // specified, it defaults to EC2. To run the job on Fargate resources, specify // FARGATE. - PlatformCapabilities []*string `locationName:"platformCapabilities" type:"list"` + PlatformCapabilities []*string `locationName:"platformCapabilities" type:"list" enum:"PlatformCapability"` // Specifies whether to propagate the tags from the job or job definition to // the corresponding Amazon ECS task. If no value is specified, the tags are diff --git a/service/chime/api.go b/service/chime/api.go index 8198a72e6cc..94cd2018cd1 100644 --- a/service/chime/api.go +++ b/service/chime/api.go @@ -20650,7 +20650,7 @@ type Account struct { SigninDelegateGroups []*SigninDelegateGroup `type:"list"` // Supported licenses for the Amazon Chime account. - SupportedLicenses []*string `type:"list"` + SupportedLicenses []*string `type:"list" enum:"License"` } // String returns the string representation. @@ -26355,7 +26355,7 @@ type CreateProxySessionInput struct { // The proxy session capabilities. // // Capabilities is a required field - Capabilities []*string `type:"list" required:"true"` + Capabilities []*string `type:"list" required:"true" enum:"Capability"` // The number of minutes allowed for the proxy session. ExpiryMinutes *int64 `min:"1" type:"integer"` @@ -39168,7 +39168,7 @@ type PhoneNumberCountry struct { CountryCode *string `type:"string"` // The supported phone number types. - SupportedPhoneNumberTypes []*string `type:"list"` + SupportedPhoneNumberTypes []*string `type:"list" enum:"PhoneNumberType"` } // String returns the string representation. @@ -39400,7 +39400,7 @@ type ProxySession struct { _ struct{} `type:"structure"` // The proxy session capabilities. - Capabilities []*string `type:"list"` + Capabilities []*string `type:"list" enum:"Capability"` // The created time stamp, in ISO 8601 format. CreatedTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"` @@ -45295,7 +45295,7 @@ type UpdateProxySessionInput struct { // The proxy session capabilities. // // Capabilities is a required field - Capabilities []*string `type:"list" required:"true"` + Capabilities []*string `type:"list" required:"true" enum:"Capability"` // The number of minutes allowed for the proxy session. ExpiryMinutes *int64 `min:"1" type:"integer"` diff --git a/service/cloud9/api.go b/service/cloud9/api.go index 53c2e3df07d..b93b0994314 100644 --- a/service/cloud9/api.go +++ b/service/cloud9/api.go @@ -2096,7 +2096,7 @@ type DescribeEnvironmentMembershipsInput struct { // * read-write: Has read-write access to the environment. // // If no value is specified, information about all environment members are returned. - Permissions []*string `locationName:"permissions" type:"list"` + Permissions []*string `locationName:"permissions" type:"list" enum:"Permissions"` // The Amazon Resource Name (ARN) of an individual environment member to get // information about. If no value is specified, information about all environment diff --git a/service/cloudcontrolapi/api.go b/service/cloudcontrolapi/api.go index 3061c9a34be..4c44dfc03ff 100644 --- a/service/cloudcontrolapi/api.go +++ b/service/cloudcontrolapi/api.go @@ -3390,10 +3390,10 @@ type ResourceRequestStatusFilter struct { // canceled. // // * CANCEL_COMPLETE: The operation has been canceled. - OperationStatuses []*string `type:"list"` + OperationStatuses []*string `type:"list" enum:"OperationStatus"` // The operation types to include in the filter. - Operations []*string `type:"list"` + Operations []*string `type:"list" enum:"Operation"` } // String returns the string representation. diff --git a/service/cloudformation/api.go b/service/cloudformation/api.go index 2e9e6ac092b..c98d167e1db 100644 --- a/service/cloudformation/api.go +++ b/service/cloudformation/api.go @@ -7959,7 +7959,7 @@ type CreateChangeSetInput struct { // action, and specifying this capability. For more information on macros, // see Using CloudFormation macros to perform custom processing on templates // (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-macros.html). - Capabilities []*string `type:"list"` + Capabilities []*string `type:"list" enum:"Capability"` // The name of the change set. The name must be unique among all change sets // that are associated with the specified stack. @@ -8343,7 +8343,7 @@ type CreateStackInput struct { // Be aware that the Lambda function owner can update the function operation // without CloudFormation being notified. For more information, see Using // CloudFormation macros to perform custom processing on templates (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-macros.html). - Capabilities []*string `type:"list"` + Capabilities []*string `type:"list" enum:"Capability"` // A unique identifier for this CreateStack request. Specify this token if you // plan to retry requests so that CloudFormation knows that you're not attempting @@ -8972,7 +8972,7 @@ type CreateStackSetInput struct { // transforms, which are macros hosted by CloudFormation.) Even if you specify // this capability for a stack set with service-managed permissions, if you // reference a macro in your template the stack set operation will fail. - Capabilities []*string `type:"list"` + Capabilities []*string `type:"list" enum:"Capability"` // A unique identifier for this CreateStackSet request. Specify this token if // you plan to retry requests so that CloudFormation knows that you're not attempting @@ -10346,7 +10346,7 @@ type DescribeChangeSetOutput struct { // If you execute the change set, the list of capabilities that were explicitly // acknowledged when the change set was created. - Capabilities []*string `type:"list"` + Capabilities []*string `type:"list" enum:"Capability"` // The Amazon Resource Name (ARN) of the change set. ChangeSetId *string `min:"1" type:"string"` @@ -11100,7 +11100,7 @@ type DescribeStackResourceDriftsInput struct { // configuration. // // * NOT_CHECKED: CloudFormation doesn't currently return this value. - StackResourceDriftStatusFilters []*string `min:"1" type:"list"` + StackResourceDriftStatusFilters []*string `min:"1" type:"list" enum:"StackResourceDriftStatus"` } // String returns the string representation. @@ -13147,7 +13147,7 @@ type GetTemplateOutput struct { // and Processed templates are always available. For change sets, the Original // template is always available. After CloudFormation finishes creating the // change set, the Processed template becomes available. - StagesAvailable []*string `type:"list"` + StagesAvailable []*string `type:"list" enum:"TemplateStage"` // Structure containing the template body. (For more information, go to Template // Anatomy (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html) @@ -13322,7 +13322,7 @@ type GetTemplateSummaryOutput struct { // // For more information, see Acknowledging IAM Resources in CloudFormation Templates // (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html#capabilities). - Capabilities []*string `type:"list"` + Capabilities []*string `type:"list" enum:"Capability"` // The list of resources that generated the values in the Capabilities response // element. @@ -14626,7 +14626,7 @@ type ListStacksInput struct { // Stack status to use as a filter. Specify one or more stack status codes to // list only stacks with the specified status codes. For a complete list of // stack status codes, see the StackStatus parameter of the Stack data type. - StackStatusFilter []*string `type:"list"` + StackStatusFilter []*string `type:"list" enum:"StackStatus"` } // String returns the string representation. @@ -16463,7 +16463,7 @@ type ResourceChange struct { // For the Modify action, indicates which resource attribute is triggering this // update, such as a change in the resource attribute's Metadata, Properties, // or Tags. - Scope []*string `type:"list"` + Scope []*string `type:"list" enum:"ResourceAttribute"` } // String returns the string representation. @@ -17598,7 +17598,7 @@ type Stack struct { _ struct{} `type:"structure"` // The capabilities allowed in the stack. - Capabilities []*string `type:"list"` + Capabilities []*string `type:"list" enum:"Capability"` // The unique ID of the change set. ChangeSetId *string `min:"1" type:"string"` @@ -19290,7 +19290,7 @@ type StackSet struct { // account—for example, by creating new Identity and Access Management (IAM) // users. For more information, see Acknowledging IAM Resources in CloudFormation // Templates. (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html#capabilities) - Capabilities []*string `type:"list"` + Capabilities []*string `type:"list" enum:"Capability"` // A description of the stack set that you specify when the stack set is created // or updated. @@ -21423,7 +21423,7 @@ type UpdateStackInput struct { // Be aware that the Lambda function owner can update the function operation // without CloudFormation being notified. For more information, see Using // CloudFormation Macros to Perform Custom Processing on Templates (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-macros.html). - Capabilities []*string `type:"list"` + Capabilities []*string `type:"list" enum:"Capability"` // A unique identifier for this UpdateStack request. Specify this token if you // plan to retry requests so that CloudFormation knows that you're not attempting @@ -22083,7 +22083,7 @@ type UpdateStackSetInput struct { // transforms, which are macros hosted by CloudFormation.) Even if you specify // this capability for a stack set with service-managed permissions, if you // reference a macro in your template the stack set operation will fail. - Capabilities []*string `type:"list"` + Capabilities []*string `type:"list" enum:"Capability"` // [Service-managed permissions] The Organizations accounts in which to update // associated stack instances. @@ -22620,7 +22620,7 @@ type ValidateTemplateOutput struct { // // For more information, see Acknowledging IAM Resources in CloudFormation Templates // (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html#capabilities). - Capabilities []*string `type:"list"` + Capabilities []*string `type:"list" enum:"Capability"` // The list of resources that generated the values in the Capabilities response // element. diff --git a/service/cloudfront/api.go b/service/cloudfront/api.go index d14792a31b1..ce56202f5a5 100644 --- a/service/cloudfront/api.go +++ b/service/cloudfront/api.go @@ -9956,7 +9956,7 @@ type AllowedMethods struct { // process and forward to your origin. // // Items is a required field - Items []*string `locationNameList:"Method" type:"list" required:"true"` + Items []*string `locationNameList:"Method" type:"list" required:"true" enum:"Method"` // 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 @@ -11202,7 +11202,7 @@ type CachedMethods struct { // cache responses to. // // Items is a required field - Items []*string `locationNameList:"Method" type:"list" required:"true"` + Items []*string `locationNameList:"Method" type:"list" required:"true" enum:"Method"` // 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 @@ -24661,7 +24661,7 @@ type OriginSslProtocols struct { // A list that contains allowed SSL/TLS protocols for this distribution. // // Items is a required field - Items []*string `locationNameList:"SslProtocol" type:"list" required:"true"` + Items []*string `locationNameList:"SslProtocol" type:"list" required:"true" enum:"SslProtocol"` // The number of SSL/TLS protocols that you want to allow CloudFront to use // when establishing an HTTPS connection with this origin. @@ -26116,7 +26116,7 @@ type ResponseHeadersPolicyAccessControlAllowMethods struct { // ALL is a special value that includes all of the listed HTTP methods. // // Items is a required field - Items []*string `locationNameList:"Method" type:"list" required:"true"` + Items []*string `locationNameList:"Method" type:"list" required:"true" enum:"ResponseHeadersPolicyAccessControlAllowMethodsValues"` // The number of HTTP methods in the list. // diff --git a/service/cloudwatch/api.go b/service/cloudwatch/api.go index 33353b75a28..150cb1b3230 100644 --- a/service/cloudwatch/api.go +++ b/service/cloudwatch/api.go @@ -4937,7 +4937,7 @@ type DescribeAlarmHistoryInput struct { // Use this parameter to specify whether you want the operation to return metric // alarms or composite alarms. If you omit this parameter, only metric alarms // are returned. - AlarmTypes []*string `type:"list"` + AlarmTypes []*string `type:"list" enum:"AlarmType"` // The ending date to retrieve alarm history. EndDate *time.Time `type:"timestamp"` @@ -5261,7 +5261,7 @@ type DescribeAlarmsInput struct { // Use this parameter to specify whether you want the operation to return metric // alarms or composite alarms. If you omit this parameter, only metric alarms // are returned. - AlarmTypes []*string `type:"list"` + AlarmTypes []*string `type:"list" enum:"AlarmType"` // If you use this parameter and specify the name of a composite alarm, the // operation returns information about the "children" alarms of the alarm you @@ -5459,7 +5459,7 @@ type DescribeAnomalyDetectorsInput struct { // The anomaly detector types to request when using DescribeAnomalyDetectorsInput. // If empty, defaults to SINGLE_METRIC. - AnomalyDetectorTypes []*string `type:"list"` + AnomalyDetectorTypes []*string `type:"list" enum:"AnomalyDetectorType"` // Limits the results to only the anomaly detection models that are associated // with the specified metric dimensions. If there are multiple metrics that @@ -6789,7 +6789,7 @@ type GetMetricStatisticsInput struct { // The metric statistics, other than percentile. For percentile statistics, // use ExtendedStatistics. When calling GetMetricStatistics, you must specify // either Statistics or ExtendedStatistics, but not both. - Statistics []*string `min:"1" type:"list"` + Statistics []*string `min:"1" type:"list" enum:"Statistic"` // The unit for a given metric. If you omit Unit, all data that was collected // with any unit is returned, along with the corresponding units that were specified diff --git a/service/cloudwatchevidently/api.go b/service/cloudwatchevidently/api.go index 6a1732adaed..e3a5485ac03 100644 --- a/service/cloudwatchevidently/api.go +++ b/service/cloudwatchevidently/api.go @@ -5949,7 +5949,7 @@ type GetExperimentResultsInput struct { // The names of the report types that you want to see. Currently, BayesianInference // is the only valid value. - ReportNames []*string `locationName:"reportNames" type:"list"` + ReportNames []*string `locationName:"reportNames" type:"list" enum:"ExperimentReportName"` // The statistics that you want to see in the returned results. // @@ -5972,7 +5972,7 @@ type GetExperimentResultsInput struct { // each variation. The statistic uses the same statistic specified in the // baseStat parameter. Therefore, if baseStat is mean, this returns the mean // of the values collected for each variation. - ResultStats []*string `locationName:"resultStats" type:"list"` + ResultStats []*string `locationName:"resultStats" type:"list" enum:"ExperimentResultRequestType"` // The date and time that the experiment started. StartTime *time.Time `locationName:"startTime" type:"timestamp"` diff --git a/service/cloudwatchrum/api.go b/service/cloudwatchrum/api.go index 9c688757d2c..3151bc3f57f 100644 --- a/service/cloudwatchrum/api.go +++ b/service/cloudwatchrum/api.go @@ -1317,7 +1317,7 @@ type AppMonitorConfiguration struct { // // * http indicates that RUM collects data about HTTP errors thrown by your // application. - Telemetries []*string `type:"list"` + Telemetries []*string `type:"list" enum:"Telemetry"` } // String returns the string representation. diff --git a/service/codebuild/api.go b/service/codebuild/api.go index 1e74490105a..2cc3f7004b7 100644 --- a/service/codebuild/api.go +++ b/service/codebuild/api.go @@ -11646,7 +11646,7 @@ type ProjectCache struct { // project sources. Cached items are overridden if a source item has the // same name. Directories are specified using cache paths in the buildspec // file. - Modes []*string `locationName:"modes" type:"list"` + Modes []*string `locationName:"modes" type:"list" enum:"CacheMode"` // The type of cache used by the build project. Valid values include: // diff --git a/service/codecommit/api.go b/service/codecommit/api.go index 3b1192f1015..ee2ecca1450 100644 --- a/service/codecommit/api.go +++ b/service/codecommit/api.go @@ -20808,7 +20808,7 @@ type GetMergeOptionsOutput struct { // The merge option or strategy used to merge the code. // // MergeOptions is a required field - MergeOptions []*string `locationName:"mergeOptions" type:"list" required:"true"` + MergeOptions []*string `locationName:"mergeOptions" type:"list" required:"true" enum:"MergeOptionTypeEnum"` // The commit ID of the source commit specifier that was used in the merge evaluation. // @@ -32567,7 +32567,7 @@ type RepositoryTrigger struct { // The valid value "all" cannot be used with any other values. // // Events is a required field - Events []*string `locationName:"events" type:"list" required:"true"` + Events []*string `locationName:"events" type:"list" required:"true" enum:"RepositoryTriggerEventEnum"` // The name of the trigger. // diff --git a/service/codedeploy/api.go b/service/codedeploy/api.go index 2b5a7d77f59..74bba0400d1 100644 --- a/service/codedeploy/api.go +++ b/service/codedeploy/api.go @@ -5852,7 +5852,7 @@ type AutoRollbackConfiguration struct { Enabled *bool `locationName:"enabled" type:"boolean"` // The event type or types that trigger a rollback. - Events []*string `locationName:"events" type:"list"` + Events []*string `locationName:"events" type:"list" enum:"AutoRollbackEvent"` } // String returns the string representation. @@ -17180,12 +17180,12 @@ type ListDeploymentInstancesInput struct { // * Skipped: Include those instances with skipped deployments. // // * Unknown: Include those instances with deployments in an unknown state. - InstanceStatusFilter []*string `locationName:"instanceStatusFilter" type:"list"` + InstanceStatusFilter []*string `locationName:"instanceStatusFilter" type:"list" enum:"InstanceStatus"` // The set of instances in a blue/green deployment, either those in the original // environment ("BLUE") or those in the replacement environment ("GREEN"), for // which you want to view instance information. - InstanceTypeFilter []*string `locationName:"instanceTypeFilter" type:"list"` + InstanceTypeFilter []*string `locationName:"instanceTypeFilter" type:"list" enum:"InstanceType"` // An identifier returned from the previous list deployment instances call. // It can be used to return the next set of deployment instances in the list. @@ -17425,7 +17425,7 @@ type ListDeploymentsInput struct { // * Failed: Include failed deployments in the resulting list. // // * Stopped: Include stopped deployments in the resulting list. - IncludeOnlyStatuses []*string `locationName:"includeOnlyStatuses" type:"list"` + IncludeOnlyStatuses []*string `locationName:"includeOnlyStatuses" type:"list" enum:"DeploymentStatus"` // An identifier returned from the previous list deployments call. It can be // used to return the next set of deployments in the list. @@ -20118,7 +20118,7 @@ type TriggerConfig struct { _ struct{} `type:"structure"` // The event type or types for which notifications are triggered. - TriggerEvents []*string `locationName:"triggerEvents" type:"list"` + TriggerEvents []*string `locationName:"triggerEvents" type:"list" enum:"TriggerEventType"` // The name of the notification trigger. TriggerName *string `locationName:"triggerName" type:"string"` diff --git a/service/codeguruprofiler/api.go b/service/codeguruprofiler/api.go index bcbbbc00437..1bfd318d2c5 100644 --- a/service/codeguruprofiler/api.go +++ b/service/codeguruprofiler/api.go @@ -3029,7 +3029,7 @@ type Channel struct { // in Profiler. // // EventPublishers is a required field - EventPublishers []*string `locationName:"eventPublishers" min:"1" type:"list" required:"true"` + EventPublishers []*string `locationName:"eventPublishers" min:"1" type:"list" required:"true" enum:"EventPublisher"` // Unique identifier for each Channel in the notification configuration of a // Profiling Group. A random UUID for channelId is used when adding a channel diff --git a/service/codegurureviewer/api.go b/service/codegurureviewer/api.go index fca64ee6b90..a80411ee9f6 100644 --- a/service/codegurureviewer/api.go +++ b/service/codegurureviewer/api.go @@ -1960,7 +1960,7 @@ type CodeReview struct { // They types of analysis performed during a repository analysis or a pull request // review. You can specify either Security, CodeQuality, or both. - AnalysisTypes []*string `type:"list"` + AnalysisTypes []*string `type:"list" enum:"AnalysisType"` // The Amazon Resource Name (ARN) of the RepositoryAssociation (https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociation.html) // that contains the reviewed source code. You can retrieve associated repository @@ -2290,7 +2290,7 @@ type CodeReviewType struct { // They types of analysis performed during a repository analysis or a pull request // review. You can specify either Security, CodeQuality, or both. - AnalysisTypes []*string `type:"list"` + AnalysisTypes []*string `type:"list" enum:"AnalysisType"` // A code review that analyzes all code under a specified branch in an associated // repository. The associated repository is specified using its ARN in CreateCodeReview @@ -3221,7 +3221,7 @@ type ListCodeReviewsInput struct { // List of provider types for filtering that needs to be applied before displaying // the result. For example, providerTypes=[GitHub] lists code reviews from GitHub. - ProviderTypes []*string `location:"querystring" locationName:"ProviderTypes" min:"1" type:"list"` + ProviderTypes []*string `location:"querystring" locationName:"ProviderTypes" min:"1" type:"list" enum:"ProviderType"` // List of repository names for filtering that needs to be applied before displaying // the result. @@ -3239,7 +3239,7 @@ type ListCodeReviewsInput struct { // * Failed: The code review failed. // // * Deleting: The code review is being deleted. - States []*string `location:"querystring" locationName:"States" min:"1" type:"list"` + States []*string `location:"querystring" locationName:"States" min:"1" type:"list" enum:"JobState"` // The type of code reviews to list in the response. // @@ -3667,7 +3667,7 @@ type ListRepositoryAssociationsInput struct { Owners []*string `location:"querystring" locationName:"Owner" min:"1" type:"list"` // List of provider types to use as a filter. - ProviderTypes []*string `location:"querystring" locationName:"ProviderType" min:"1" type:"list"` + ProviderTypes []*string `location:"querystring" locationName:"ProviderType" min:"1" type:"list" enum:"ProviderType"` // List of repository association states to use as a filter. // @@ -3696,7 +3696,7 @@ type ListRepositoryAssociationsInput struct { // For more information, see Using tags to control access to associated repositories // (https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/auth-and-access-control-using-tags.html) // in the Amazon CodeGuru Reviewer User Guide. - States []*string `location:"querystring" locationName:"State" min:"1" type:"list"` + States []*string `location:"querystring" locationName:"State" min:"1" type:"list" enum:"RepositoryAssociationState"` } // String returns the string representation. @@ -4084,7 +4084,7 @@ type PutRecommendationFeedbackInput struct { // you send an empty list it clears all your feedback. // // Reactions is a required field - Reactions []*string `type:"list" required:"true"` + Reactions []*string `type:"list" required:"true" enum:"Reaction"` // The recommendation ID that can be used to track the provided recommendations // and then to collect the feedback. @@ -4192,7 +4192,7 @@ type RecommendationFeedback struct { // List for storing reactions. Reactions are utf-8 text code for emojis. You // can send an empty list to clear off all your feedback. - Reactions []*string `type:"list"` + Reactions []*string `type:"list" enum:"Reaction"` // The recommendation ID that can be used to track the provided recommendations. // Later on it can be used to collect the feedback. @@ -4266,7 +4266,7 @@ type RecommendationFeedbackSummary struct { _ struct{} `type:"structure"` // List for storing reactions. Reactions are utf-8 text code for emojis. - Reactions []*string `type:"list"` + Reactions []*string `type:"list" enum:"Reaction"` // The recommendation ID that can be used to track the provided recommendations. // Later on it can be used to collect the feedback. diff --git a/service/cognitoidentityprovider/api.go b/service/cognitoidentityprovider/api.go index c306ab6fb11..866d99defcd 100644 --- a/service/cognitoidentityprovider/api.go +++ b/service/cognitoidentityprovider/api.go @@ -12349,7 +12349,7 @@ type AdminCreateUserInput struct { // Specify "EMAIL" if email will be used to send the welcome message. Specify // "SMS" if the phone number will be used. The default value is "SMS". You can // specify more than one value. - DesiredDeliveryMediums []*string `type:"list"` + DesiredDeliveryMediums []*string `type:"list" enum:"DeliveryMediumType"` // This parameter is used only if the phone_number_verified or email_verified // attribute is set to True. Otherwise, it is ignored. @@ -16708,7 +16708,7 @@ type CompromisedCredentialsRiskConfigurationType struct { // Perform the action for these events. The default is to perform all events // if no event filter is specified. - EventFilter []*string `type:"list"` + EventFilter []*string `type:"list" enum:"EventFilterType"` } // String returns the string representation. @@ -18037,7 +18037,7 @@ type CreateUserPoolClientInput struct { // Set to client_credentials to specify that the client should get the access // token (and, optionally, ID token, based on scopes) from the token endpoint // using a combination of client and client_secret. - AllowedOAuthFlows []*string `type:"list"` + AllowedOAuthFlows []*string `type:"list" enum:"OAuthFlowType"` // Set to true if the client is allowed to follow the OAuth protocol when interacting // with Amazon Cognito user pools. @@ -18130,7 +18130,7 @@ type CreateUserPoolClientInput struct { // * ALLOW_USER_SRP_AUTH: Enable SRP-based authentication. // // * ALLOW_REFRESH_TOKEN_AUTH: Enable authflow to refresh tokens. - ExplicitAuthFlows []*string `type:"list"` + ExplicitAuthFlows []*string `type:"list" enum:"ExplicitAuthFlowsType"` // Boolean to specify whether you want to generate a secret for the user pool // client being created. @@ -18539,10 +18539,10 @@ type CreateUserPoolInput struct { // Attributes supported as an alias for this user pool. Possible values: phone_number, // email, or preferred_username. - AliasAttributes []*string `type:"list"` + AliasAttributes []*string `type:"list" enum:"AliasAttributeType"` // The attributes to be auto-verified. Possible values: email, phone_number. - AutoVerifiedAttributes []*string `type:"list"` + AutoVerifiedAttributes []*string `type:"list" enum:"VerifiedAttributeType"` // The device configuration. DeviceConfiguration *DeviceConfigurationType `type:"structure"` @@ -18614,7 +18614,7 @@ type CreateUserPoolInput struct { // Specifies whether a user can use an email address or phone number as a username // when they sign up. - UsernameAttributes []*string `type:"list"` + UsernameAttributes []*string `type:"list" enum:"UsernameAttributeType"` // Case sensitivity on the username input for the selected sign-in option. For // example, when case sensitivity is set to False, users can sign in using either @@ -30286,7 +30286,7 @@ type UpdateUserPoolClientInput struct { // Set to client_credentials to specify that the client should get the access // token (and, optionally, ID token, based on scopes) from the token endpoint // using a combination of client and client_secret. - AllowedOAuthFlows []*string `type:"list"` + AllowedOAuthFlows []*string `type:"list" enum:"OAuthFlowType"` // Set to true if the client is allowed to follow the OAuth protocol when interacting // with Amazon Cognito user pools. @@ -30381,7 +30381,7 @@ type UpdateUserPoolClientInput struct { // * ALLOW_USER_SRP_AUTH: Enable SRP-based authentication. // // * ALLOW_REFRESH_TOKEN_AUTH: Enable authflow to refresh tokens. - ExplicitAuthFlows []*string `type:"list"` + ExplicitAuthFlows []*string `type:"list" enum:"ExplicitAuthFlowsType"` // The time limit after which the ID token is no longer valid and can't be used. IdTokenValidity *int64 `min:"1" type:"integer"` @@ -30787,7 +30787,7 @@ type UpdateUserPoolInput struct { // The attributes that are automatically verified when Amazon Cognito requests // to update user pools. - AutoVerifiedAttributes []*string `type:"list"` + AutoVerifiedAttributes []*string `type:"list" enum:"VerifiedAttributeType"` // Device configuration. DeviceConfiguration *DeviceConfigurationType `type:"structure"` @@ -31715,7 +31715,7 @@ type UserPoolClientType struct { // Set to client_credentials to specify that the client should get the access // token (and, optionally, ID token, based on scopes) from the token endpoint // using a combination of client and client_secret. - AllowedOAuthFlows []*string `type:"list"` + AllowedOAuthFlows []*string `type:"list" enum:"OAuthFlowType"` // Set to true if the client is allowed to follow the OAuth protocol when interacting // with Amazon Cognito user pools. @@ -31817,7 +31817,7 @@ type UserPoolClientType struct { // * ALLOW_USER_SRP_AUTH: Enable SRP-based authentication. // // * ALLOW_REFRESH_TOKEN_AUTH: Enable authflow to refresh tokens. - ExplicitAuthFlows []*string `type:"list"` + ExplicitAuthFlows []*string `type:"list" enum:"ExplicitAuthFlowsType"` // The time limit specified by tokenValidityUnits, defaulting to hours, after // which the refresh token is no longer valid and can't be used. @@ -32229,13 +32229,13 @@ type UserPoolType struct { AdminCreateUserConfig *AdminCreateUserConfigType `type:"structure"` // The attributes that are aliased in a user pool. - AliasAttributes []*string `type:"list"` + AliasAttributes []*string `type:"list" enum:"AliasAttributeType"` // The Amazon Resource Name (ARN) for the user pool. Arn *string `min:"20" type:"string"` // The attributes that are auto-verified in a user pool. - AutoVerifiedAttributes []*string `type:"list"` + AutoVerifiedAttributes []*string `type:"list" enum:"VerifiedAttributeType"` // The date the user pool was created. CreationDate *time.Time `type:"timestamp"` @@ -32348,7 +32348,7 @@ type UserPoolType struct { // Specifies whether a user can use an email address or phone number as a username // when they sign up. - UsernameAttributes []*string `type:"list"` + UsernameAttributes []*string `type:"list" enum:"UsernameAttributeType"` // Case sensitivity of the username input for the selected sign-in option. For // example, when case sensitivity is set to False, users can sign in using either diff --git a/service/comprehend/api.go b/service/comprehend/api.go index fc694c993f5..2163cfb62e7 100644 --- a/service/comprehend/api.go +++ b/service/comprehend/api.go @@ -12360,7 +12360,7 @@ type DocumentReaderConfig struct { DocumentReadMode *string `type:"string" enum:"DocumentReadMode"` // Specifies how the text in an input file should be processed: - FeatureTypes []*string `min:"1" type:"list"` + FeatureTypes []*string `min:"1" type:"list" enum:"DocumentReadFeatureTypes"` } // String returns the string representation. @@ -17496,7 +17496,7 @@ type RedactionConfig struct { // An array of the types of PII entities that Amazon Comprehend detects in the // input text for your request. - PiiEntityTypes []*string `type:"list"` + PiiEntityTypes []*string `type:"list" enum:"PiiEntityType"` } // String returns the string representation. diff --git a/service/computeoptimizer/api.go b/service/computeoptimizer/api.go index fa761e059b7..6ad71a66a87 100644 --- a/service/computeoptimizer/api.go +++ b/service/computeoptimizer/api.go @@ -2181,7 +2181,7 @@ type AutoScalingGroupRecommendation struct { // * PostgreSql - Infers that PostgreSQL might be running on the instances. // // * Redis - Infers that Redis might be running on the instances. - InferredWorkloadTypes []*string `locationName:"inferredWorkloadTypes" type:"list"` + InferredWorkloadTypes []*string `locationName:"inferredWorkloadTypes" type:"list" enum:"InferredWorkloadType"` // The timestamp of when the Auto Scaling group recommendation was last generated. LastRefreshTimestamp *time.Time `locationName:"lastRefreshTimestamp" type:"timestamp"` @@ -2472,7 +2472,7 @@ type DeleteRecommendationPreferencesInput struct { // the only recommendation preference that can be deleted. // // RecommendationPreferenceNames is a required field - RecommendationPreferenceNames []*string `locationName:"recommendationPreferenceNames" type:"list" required:"true"` + RecommendationPreferenceNames []*string `locationName:"recommendationPreferenceNames" type:"list" required:"true" enum:"RecommendationPreferenceName"` // The target resource type of the recommendation preference to delete. // @@ -2831,7 +2831,7 @@ type EffectiveRecommendationPreferences struct { // * A ExportEC2InstanceRecommendations or ExportAutoScalingGroupRecommendations // request, Compute Optimizer exports recommendations that consist of Graviton2 // instance types only. - CpuVendorArchitectures []*string `locationName:"cpuVendorArchitectures" type:"list"` + CpuVendorArchitectures []*string `locationName:"cpuVendorArchitectures" type:"list" enum:"CpuVendorArchitecture"` // Describes the activation status of the enhanced infrastructure metrics preference. // @@ -3002,7 +3002,7 @@ type ExportAutoScalingGroupRecommendationsInput struct { // The recommendations data to include in the export file. For more information // about the fields that can be exported, see Exported files (https://docs.aws.amazon.com/compute-optimizer/latest/ug/exporting-recommendations.html#exported-files) // in the Compute Optimizer User Guide. - FieldsToExport []*string `locationName:"fieldsToExport" type:"list"` + FieldsToExport []*string `locationName:"fieldsToExport" type:"list" enum:"ExportableAutoScalingGroupField"` // The format of the export file. // @@ -3226,7 +3226,7 @@ type ExportEBSVolumeRecommendationsInput struct { // The recommendations data to include in the export file. For more information // about the fields that can be exported, see Exported files (https://docs.aws.amazon.com/compute-optimizer/latest/ug/exporting-recommendations.html#exported-files) // in the Compute Optimizer User Guide. - FieldsToExport []*string `locationName:"fieldsToExport" type:"list"` + FieldsToExport []*string `locationName:"fieldsToExport" type:"list" enum:"ExportableVolumeField"` // The format of the export file. // @@ -3407,7 +3407,7 @@ type ExportEC2InstanceRecommendationsInput struct { // The recommendations data to include in the export file. For more information // about the fields that can be exported, see Exported files (https://docs.aws.amazon.com/compute-optimizer/latest/ug/exporting-recommendations.html#exported-files) // in the Compute Optimizer User Guide. - FieldsToExport []*string `locationName:"fieldsToExport" type:"list"` + FieldsToExport []*string `locationName:"fieldsToExport" type:"list" enum:"ExportableInstanceField"` // The format of the export file. // @@ -3594,7 +3594,7 @@ type ExportLambdaFunctionRecommendationsInput struct { // The recommendations data to include in the export file. For more information // about the fields that can be exported, see Exported files (https://docs.aws.amazon.com/compute-optimizer/latest/ug/exporting-recommendations.html#exported-files) // in the Compute Optimizer User Guide. - FieldsToExport []*string `locationName:"fieldsToExport" type:"list"` + FieldsToExport []*string `locationName:"fieldsToExport" type:"list" enum:"ExportableLambdaFunctionField"` // The format of the export file. // @@ -5280,7 +5280,7 @@ type InstanceRecommendation struct { // in the Amazon Elastic Compute Cloud User Guide. For more information about // EBS volume metrics, see Amazon CloudWatch metrics for Amazon EBS (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using_cloudwatch_ebs.html) // in the Amazon Elastic Compute Cloud User Guide. - FindingReasonCodes []*string `locationName:"findingReasonCodes" type:"list"` + FindingReasonCodes []*string `locationName:"findingReasonCodes" type:"list" enum:"InstanceRecommendationFindingReasonCode"` // The applications that might be running on the instance as inferred by Compute // Optimizer. @@ -5302,7 +5302,7 @@ type InstanceRecommendation struct { // * PostgreSql - Infers that PostgreSQL might be running on the instance. // // * Redis - Infers that Redis might be running on the instance. - InferredWorkloadTypes []*string `locationName:"inferredWorkloadTypes" type:"list"` + InferredWorkloadTypes []*string `locationName:"inferredWorkloadTypes" type:"list" enum:"InferredWorkloadType"` // The Amazon Resource Name (ARN) of the current instance. InstanceArn *string `locationName:"instanceArn" type:"string"` @@ -5538,7 +5538,7 @@ type InstanceRecommendationOption struct { // Alternatively, you might switch to an Amazon Machine Image (AMI) that // supports the new architecture. For more information about the CPU architecture // for each instance type, see Amazon EC2 Instance Types (http://aws.amazon.com/ec2/instance-types/). - PlatformDifferences []*string `locationName:"platformDifferences" type:"list"` + PlatformDifferences []*string `locationName:"platformDifferences" type:"list" enum:"PlatformDifference"` // An array of objects that describe the projected utilization metrics of the // instance recommendation option. @@ -5993,7 +5993,7 @@ type LambdaFunctionRecommendation struct { // because Compute Optimizer cannot generate a recommendation with a high // degree of confidence. This finding reason code is part of the Unavailable // finding classification. - FindingReasonCodes []*string `locationName:"findingReasonCodes" type:"list"` + FindingReasonCodes []*string `locationName:"findingReasonCodes" type:"list" enum:"LambdaFunctionRecommendationFindingReasonCode"` // The Amazon Resource Name (ARN) of the current function. FunctionArn *string `locationName:"functionArn" type:"string"` @@ -6797,7 +6797,7 @@ type RecommendationPreferences struct { // * A ExportEC2InstanceRecommendations or ExportAutoScalingGroupRecommendations // request, Compute Optimizer exports recommendations that consist of Graviton2 // instance types only. - CpuVendorArchitectures []*string `locationName:"cpuVendorArchitectures" type:"list"` + CpuVendorArchitectures []*string `locationName:"cpuVendorArchitectures" type:"list" enum:"CpuVendorArchitecture"` } // String returns the string representation. diff --git a/service/configservice/api.go b/service/configservice/api.go index ff28c79bc62..0153995b4dd 100644 --- a/service/configservice/api.go +++ b/service/configservice/api.go @@ -16187,7 +16187,7 @@ type DescribeComplianceByConfigRuleInput struct { // Filters the results by compliance. // // The allowed values are COMPLIANT and NON_COMPLIANT. - ComplianceTypes []*string `type:"list"` + ComplianceTypes []*string `type:"list" enum:"ComplianceType"` // Specify one or more Config rule names to filter the results by rule. ConfigRuleNames []*string `type:"list"` @@ -16280,7 +16280,7 @@ type DescribeComplianceByResourceInput struct { // Filters the results by compliance. // // The allowed values are COMPLIANT, NON_COMPLIANT, and INSUFFICIENT_DATA. - ComplianceTypes []*string `type:"list"` + ComplianceTypes []*string `type:"list" enum:"ComplianceType"` // The maximum number of evaluation results returned on each page. The default // is 10. You cannot specify a number greater than 100. If you specify 0, Config @@ -16614,7 +16614,7 @@ type DescribeConfigurationAggregatorSourcesStatusInput struct { // * Valid value SUCCEEDED indicates the data was successfully moved. // // * Valid value OUTDATED indicates the data is not the most recent. - UpdateStatus []*string `min:"1" type:"list"` + UpdateStatus []*string `min:"1" type:"list" enum:"AggregatedSourceStatusType"` } // String returns the string representation. @@ -19614,7 +19614,7 @@ type GetComplianceDetailsByConfigRuleInput struct { // Filters the results by compliance. // // The allowed values are COMPLIANT, NON_COMPLIANT, and NOT_APPLICABLE. - ComplianceTypes []*string `type:"list"` + ComplianceTypes []*string `type:"list" enum:"ComplianceType"` // The name of the Config rule for which you want compliance information. // @@ -19737,7 +19737,7 @@ type GetComplianceDetailsByResourceInput struct { // Filters the results by compliance. // // The allowed values are COMPLIANT, NON_COMPLIANT, and NOT_APPLICABLE. - ComplianceTypes []*string `type:"list"` + ComplianceTypes []*string `type:"list" enum:"ComplianceType"` // The nextToken string returned on a previous page that you use to get the // next page of results in a paginated response. @@ -24979,7 +24979,7 @@ type OrganizationCustomRuleMetadata struct { // specified for MaximumExecutionFrequency. // // OrganizationConfigRuleTriggerTypes is a required field - OrganizationConfigRuleTriggerTypes []*string `type:"list" required:"true"` + OrganizationConfigRuleTriggerTypes []*string `type:"list" required:"true" enum:"OrganizationConfigRuleTriggerType"` // The ID of the Amazon Web Services resource that was evaluated. ResourceIdScope *string `min:"1" type:"string"` @@ -27193,7 +27193,7 @@ type RecordingGroup struct { // // For a list of valid resourceTypes values, see the resourceType Value column // in Supported Amazon Web Services resource Types (https://docs.aws.amazon.com/config/latest/developerguide/resource-config-reference.html#supported-resources). - ResourceTypes []*string `locationName:"resourceTypes" type:"list"` + ResourceTypes []*string `locationName:"resourceTypes" type:"list" enum:"ResourceType"` } // String returns the string representation. diff --git a/service/connect/api.go b/service/connect/api.go index 307c9e97631..ed67294bf31 100644 --- a/service/connect/api.go +++ b/service/connect/api.go @@ -22663,7 +22663,7 @@ type Filters struct { _ struct{} `type:"structure"` // The channel to use to filter the metrics. - Channels []*string `type:"list"` + Channels []*string `type:"list" enum:"Channel"` // The queues to use to filter the metrics. You should specify at least one // queue, and can specify up to 100 queues per request. The GetCurrentMetricsData @@ -22924,7 +22924,7 @@ type GetCurrentMetricDataInput struct { // VOICE, CHAT, and TASK channels are supported. // // If no Grouping is included in the request, a summary of metrics is returned. - Groupings []*string `type:"list"` + Groupings []*string `type:"list" enum:"Grouping"` // The identifier of the Amazon Connect instance. You can find the instanceId // in the ARN of the instance. @@ -23190,7 +23190,7 @@ type GetMetricDataInput struct { // apply to the metrics for each queue rather than aggregated for all queues. // // If no grouping is specified, a summary of metrics for all queues is returned. - Groupings []*string `type:"list"` + Groupings []*string `type:"list" enum:"Grouping"` // The metrics to retrieve. Specify the name, unit, and statistic for each metric. // The following historical metrics are available. For a description of each @@ -25656,7 +25656,7 @@ type ListAgentStatusesInput struct { _ struct{} `type:"structure" nopayload:"true"` // Available agent status types. - AgentStatusTypes []*string `location:"querystring" locationName:"AgentStatusTypes" type:"list"` + AgentStatusTypes []*string `location:"querystring" locationName:"AgentStatusTypes" type:"list" enum:"AgentStatusType"` // The identifier of the Amazon Connect instance. You can find the instanceId // in the ARN of the instance. @@ -26137,7 +26137,7 @@ type ListContactFlowsInput struct { _ struct{} `type:"structure" nopayload:"true"` // The type of contact flow. - ContactFlowTypes []*string `location:"querystring" locationName:"contactFlowTypes" type:"list"` + ContactFlowTypes []*string `location:"querystring" locationName:"contactFlowTypes" type:"list" enum:"ContactFlowType"` // The identifier of the Amazon Connect instance. You can find the instanceId // in the ARN of the instance. @@ -26278,7 +26278,7 @@ type ListContactReferencesInput struct { // The type of reference. // // ReferenceTypes is a required field - ReferenceTypes []*string `location:"querystring" locationName:"referenceTypes" type:"list" required:"true"` + ReferenceTypes []*string `location:"querystring" locationName:"referenceTypes" type:"list" required:"true" enum:"ReferenceType"` } // String returns the string representation. @@ -27325,10 +27325,10 @@ type ListPhoneNumbersInput struct { NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // The ISO country code. - PhoneNumberCountryCodes []*string `location:"querystring" locationName:"phoneNumberCountryCodes" type:"list"` + PhoneNumberCountryCodes []*string `location:"querystring" locationName:"phoneNumberCountryCodes" type:"list" enum:"PhoneNumberCountryCode"` // The type of phone number. - PhoneNumberTypes []*string `location:"querystring" locationName:"phoneNumberTypes" type:"list"` + PhoneNumberTypes []*string `location:"querystring" locationName:"phoneNumberTypes" type:"list" enum:"PhoneNumberType"` } // String returns the string representation. @@ -27695,7 +27695,7 @@ type ListQueuesInput struct { NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // The type of queue. - QueueTypes []*string `location:"querystring" locationName:"queueTypes" type:"list"` + QueueTypes []*string `location:"querystring" locationName:"queueTypes" type:"list" enum:"QueueType"` } // String returns the string representation. @@ -27818,7 +27818,7 @@ type ListQuickConnectsInput struct { // The type of quick connect. In the Amazon Connect console, when you create // a quick connect, you are prompted to assign one of the following types: Agent // (USER), External (PHONE_NUMBER), or Queue (QUEUE). - QuickConnectTypes []*string `location:"querystring" locationName:"QuickConnectTypes" type:"list"` + QuickConnectTypes []*string `location:"querystring" locationName:"QuickConnectTypes" type:"list" enum:"QuickConnectType"` } // String returns the string representation. diff --git a/service/connectparticipant/api.go b/service/connectparticipant/api.go index d7816d92455..f426ce1a464 100644 --- a/service/connectparticipant/api.go +++ b/service/connectparticipant/api.go @@ -1206,7 +1206,7 @@ type CreateParticipantConnectionInput struct { // Type of connection information required. // // Type is a required field - Type []*string `min:"1" type:"list" required:"true"` + Type []*string `min:"1" type:"list" required:"true" enum:"ConnectionType"` } // String returns the string representation. diff --git a/service/costandusagereportservice/api.go b/service/costandusagereportservice/api.go index 2dca398f35c..3921409bd74 100644 --- a/service/costandusagereportservice/api.go +++ b/service/costandusagereportservice/api.go @@ -876,13 +876,13 @@ type ReportDefinition struct { // A list of manifests that you want Amazon Web Services to create for this // report. - AdditionalArtifacts []*string `type:"list"` + AdditionalArtifacts []*string `type:"list" enum:"AdditionalArtifact"` // A list of strings that indicate additional content that Amazon Web Services // includes in the report, such as individual resource IDs. // // AdditionalSchemaElements is a required field - AdditionalSchemaElements []*string `type:"list" required:"true"` + AdditionalSchemaElements []*string `type:"list" required:"true" enum:"SchemaElement"` // The Amazon resource name of the billing view. You can get this value by using // the billing view service public APIs. diff --git a/service/costexplorer/api.go b/service/costexplorer/api.go index 225b9e63692..52ab9c66901 100644 --- a/service/costexplorer/api.go +++ b/service/costexplorer/api.go @@ -4045,7 +4045,7 @@ type CostCategoryValues struct { // The match options that you can use to filter your results. MatchOptions is // only applicable for actions related to cost category. The default values // for MatchOptions is EQUALS and CASE_SENSITIVE. - MatchOptions []*string `type:"list"` + MatchOptions []*string `type:"list" enum:"MatchOption"` // The specific value of the Cost Category. Values []*string `type:"list"` @@ -5284,7 +5284,7 @@ type DimensionValues struct { // The match options that you can use to filter your results. MatchOptions is // only applicable for actions related to Cost Category. The default values // for MatchOptions are EQUALS and CASE_SENSITIVE. - MatchOptions []*string `type:"list"` + MatchOptions []*string `type:"list" enum:"MatchOption"` // The metadata values that you can use to filter and group your results. You // can use GetDimensionValues to find specific values. @@ -9261,7 +9261,7 @@ type GetSavingsPlansUtilizationDetailsInput struct { _ struct{} `type:"structure"` // The data type. - DataType []*string `type:"list"` + DataType []*string `type:"list" enum:"SavingsPlansDataType"` // Filters Savings Plans utilization coverage data for active Savings Plans // dimensions. You can filter data with the following dimensions: @@ -11888,7 +11888,7 @@ type RightsizingRecommendation struct { // The list of possible reasons why the recommendation is generated such as // under or over utilization of specific metrics (for example, CPU, Memory, // Network). - FindingReasonCodes []*string `type:"list"` + FindingReasonCodes []*string `type:"list" enum:"FindingReasonCode"` // The details for the modification recommendations. ModifyRecommendationDetail *ModifyRecommendationDetail `type:"structure"` @@ -13418,7 +13418,7 @@ type TagValues struct { // The match options that you can use to filter your results. MatchOptions is // only applicable for actions related to Cost Category. The default values // for MatchOptions are EQUALS and CASE_SENSITIVE. - MatchOptions []*string `type:"list"` + MatchOptions []*string `type:"list" enum:"MatchOption"` // The specific value of the tag. Values []*string `type:"list"` @@ -13484,7 +13484,7 @@ type TargetInstance struct { // Explains the actions you might need to take in order to successfully migrate // your workloads from the current instance type to the recommended instance // type. - PlatformDifferences []*string `type:"list"` + PlatformDifferences []*string `type:"list" enum:"PlatformDifference"` // Details on the target instance type. ResourceDetails *ResourceDetails `type:"structure"` diff --git a/service/customerprofiles/api.go b/service/customerprofiles/api.go index ba533bd148b..5f0eac29fb5 100644 --- a/service/customerprofiles/api.go +++ b/service/customerprofiles/api.go @@ -10499,7 +10499,7 @@ type ObjectTypeKey struct { // of the profile. A NEW_ONLY key is only used if the profile does not already // exist before the object is ingested, otherwise it is only used for matching // objects to profiles. - StandardIdentifiers []*string `type:"list"` + StandardIdentifiers []*string `type:"list" enum:"StandardIdentifier"` } // String returns the string representation. diff --git a/service/devopsguru/api.go b/service/devopsguru/api.go index 469e571910a..a071a9ca2ec 100644 --- a/service/devopsguru/api.go +++ b/service/devopsguru/api.go @@ -10385,10 +10385,10 @@ type SearchInsightsFilters struct { ServiceCollection *ServiceCollection `type:"structure"` // An array of severity values used to search for insights. - Severities []*string `type:"list"` + Severities []*string `type:"list" enum:"InsightSeverity"` // An array of status values used to search for insights. - Statuses []*string `type:"list"` + Statuses []*string `type:"list" enum:"InsightStatus"` } // String returns the string representation. @@ -10618,10 +10618,10 @@ type SearchOrganizationInsightsFilters struct { ServiceCollection *ServiceCollection `type:"structure"` // An array of severity values used to search for insights. - Severities []*string `type:"list"` + Severities []*string `type:"list" enum:"InsightSeverity"` // An array of status values used to search for insights. - Statuses []*string `type:"list"` + Statuses []*string `type:"list" enum:"InsightStatus"` } // String returns the string representation. @@ -10857,7 +10857,7 @@ type ServiceCollection struct { // An array of strings that each specifies the name of an Amazon Web Services // service. - ServiceNames []*string `type:"list"` + ServiceNames []*string `type:"list" enum:"ServiceName"` } // String returns the string representation. diff --git a/service/dlm/api.go b/service/dlm/api.go index c53d23783e4..bab24a73b1f 100644 --- a/service/dlm/api.go +++ b/service/dlm/api.go @@ -1780,7 +1780,7 @@ type GetLifecyclePoliciesInput struct { PolicyIds []*string `location:"querystring" locationName:"policyIds" type:"list"` // The resource type. - ResourceTypes []*string `location:"querystring" locationName:"resourceTypes" min:"1" type:"list"` + ResourceTypes []*string `location:"querystring" locationName:"resourceTypes" min:"1" type:"list" enum:"ResourceTypeValues"` // The activation state. State *string `location:"querystring" locationName:"state" type:"string" enum:"GettablePolicyStateValues"` @@ -2533,7 +2533,7 @@ type PolicyDetails struct { // If you specify OUTPOST, Amazon Data Lifecycle Manager backs up all resources // of the specified type with matching target tags across all of the Outposts // in your account. - ResourceLocations []*string `min:"1" type:"list"` + ResourceLocations []*string `min:"1" type:"list" enum:"ResourceLocationValues"` // The target resource type for snapshot and AMI lifecycle policies. Use VOLUME // to create snapshots of individual volumes or use INSTANCE to create multi-volume @@ -2541,7 +2541,7 @@ type PolicyDetails struct { // // This parameter is required for snapshot and AMI policies only. If you are // creating an event-based policy, omit this parameter. - ResourceTypes []*string `min:"1" type:"list"` + ResourceTypes []*string `min:"1" type:"list" enum:"ResourceTypeValues"` // The schedules of policy-defined actions for snapshot and AMI lifecycle policies. // A policy can have up to four schedules—one mandatory schedule and up to diff --git a/service/ec2/api.go b/service/ec2/api.go index 42ef7733eff..3ab928799eb 100644 --- a/service/ec2/api.go +++ b/service/ec2/api.go @@ -77128,7 +77128,7 @@ type DescribeAccountAttributesInput struct { _ struct{} `type:"structure"` // The account attribute names. - AttributeNames []*string `locationName:"attributeName" locationNameList:"attributeName" type:"list"` + AttributeNames []*string `locationName:"attributeName" locationNameList:"attributeName" type:"list" enum:"AccountAttributeName"` // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have @@ -83946,7 +83946,7 @@ type DescribeInstanceTypesInput struct { // The instance types. For more information, see Instance types (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html) // in the Amazon EC2 User Guide. - InstanceTypes []*string `locationName:"InstanceType" type:"list"` + InstanceTypes []*string `locationName:"InstanceType" type:"list" enum:"InstanceType"` // The maximum number of results to return for the request in a single page. // The remaining results can be seen by sending another request with the next @@ -91499,7 +91499,7 @@ type DescribeSpotPriceHistoryInput struct { Filters []*Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // Filters the results by the specified instance types. - InstanceTypes []*string `locationName:"InstanceType" type:"list"` + InstanceTypes []*string `locationName:"InstanceType" type:"list" enum:"InstanceType"` // The maximum number of results to return in a single call. Specify a value // between 1 and 1000. The default value is 1000. To retrieve the remaining @@ -106774,7 +106774,7 @@ type GetInstanceTypesFromInstanceRequirementsInput struct { // The processor architecture type. // // ArchitectureTypes is a required field - ArchitectureTypes []*string `locationName:"ArchitectureType" locationNameList:"item" type:"list" required:"true"` + ArchitectureTypes []*string `locationName:"ArchitectureType" locationNameList:"item" type:"list" required:"true" enum:"ArchitectureType"` // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have @@ -106798,7 +106798,7 @@ type GetInstanceTypesFromInstanceRequirementsInput struct { // The virtualization type. // // VirtualizationTypes is a required field - VirtualizationTypes []*string `locationName:"VirtualizationType" locationNameList:"item" type:"list" required:"true"` + VirtualizationTypes []*string `locationName:"VirtualizationType" locationNameList:"item" type:"list" required:"true" enum:"VirtualizationType"` } // String returns the string representation. @@ -115602,7 +115602,7 @@ type InstanceRequirements struct { // * For instance types with Xilinx devices, specify xilinx. // // Default: Any manufacturer - AcceleratorManufacturers []*string `locationName:"acceleratorManufacturerSet" locationNameList:"item" type:"list"` + AcceleratorManufacturers []*string `locationName:"acceleratorManufacturerSet" locationNameList:"item" type:"list" enum:"AcceleratorManufacturer"` // The accelerators that must be on the instance type. // @@ -115621,7 +115621,7 @@ type InstanceRequirements struct { // * For instance types with Xilinx VU9P FPGAs, specify vu9p. // // Default: Any accelerator - AcceleratorNames []*string `locationName:"acceleratorNameSet" locationNameList:"item" type:"list"` + AcceleratorNames []*string `locationName:"acceleratorNameSet" locationNameList:"item" type:"list" enum:"AcceleratorName"` // The minimum and maximum amount of total accelerator memory, in MiB. // @@ -115637,7 +115637,7 @@ type InstanceRequirements struct { // * For instance types with inference accelerators, specify inference. // // Default: Any accelerator type - AcceleratorTypes []*string `locationName:"acceleratorTypeSet" locationNameList:"item" type:"list"` + AcceleratorTypes []*string `locationName:"acceleratorTypeSet" locationNameList:"item" type:"list" enum:"AcceleratorType"` // Indicates whether bare metal instance types must be included, excluded, or // required. @@ -115683,7 +115683,7 @@ type InstanceRequirements struct { // Image (AMI) that you specify in your launch template. // // Default: Any manufacturer - CpuManufacturers []*string `locationName:"cpuManufacturerSet" locationNameList:"item" type:"list"` + CpuManufacturers []*string `locationName:"cpuManufacturerSet" locationNameList:"item" type:"list" enum:"CpuManufacturer"` // The instance types to exclude. You can use strings with one or more wild // cards, represented by an asterisk (*), to exclude an instance type, size, @@ -115709,7 +115709,7 @@ type InstanceRequirements struct { // For previous generation instance types, specify previous. // // Default: Current and previous generation instance types - InstanceGenerations []*string `locationName:"instanceGenerationSet" locationNameList:"item" type:"list"` + InstanceGenerations []*string `locationName:"instanceGenerationSet" locationNameList:"item" type:"list" enum:"InstanceGeneration"` // Indicates whether instance types with instance store volumes are included, // excluded, or required. For more information, Amazon EC2 instance store (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html) @@ -115732,7 +115732,7 @@ type InstanceRequirements struct { // * For instance types with solid state drive (SDD) storage, specify sdd. // // Default: hdd and sdd - LocalStorageTypes []*string `locationName:"localStorageTypeSet" locationNameList:"item" type:"list"` + LocalStorageTypes []*string `locationName:"localStorageTypeSet" locationNameList:"item" type:"list" enum:"LocalStorageType"` // The minimum and maximum amount of memory per vCPU, in GiB. // @@ -115984,7 +115984,7 @@ type InstanceRequirementsRequest struct { // * For instance types with Xilinx devices, specify xilinx. // // Default: Any manufacturer - AcceleratorManufacturers []*string `locationName:"AcceleratorManufacturer" locationNameList:"item" type:"list"` + AcceleratorManufacturers []*string `locationName:"AcceleratorManufacturer" locationNameList:"item" type:"list" enum:"AcceleratorManufacturer"` // The accelerators that must be on the instance type. // @@ -116003,7 +116003,7 @@ type InstanceRequirementsRequest struct { // * For instance types with Xilinx VU9P FPGAs, specify vu9p. // // Default: Any accelerator - AcceleratorNames []*string `locationName:"AcceleratorName" locationNameList:"item" type:"list"` + AcceleratorNames []*string `locationName:"AcceleratorName" locationNameList:"item" type:"list" enum:"AcceleratorName"` // The minimum and maximum amount of total accelerator memory, in MiB. // @@ -116019,7 +116019,7 @@ type InstanceRequirementsRequest struct { // * To include instance types with inference hardware, specify inference. // // Default: Any accelerator type - AcceleratorTypes []*string `locationName:"AcceleratorType" locationNameList:"item" type:"list"` + AcceleratorTypes []*string `locationName:"AcceleratorType" locationNameList:"item" type:"list" enum:"AcceleratorType"` // Indicates whether bare metal instance types must be included, excluded, or // required. @@ -116065,7 +116065,7 @@ type InstanceRequirementsRequest struct { // Image (AMI) that you specify in your launch template. // // Default: Any manufacturer - CpuManufacturers []*string `locationName:"CpuManufacturer" locationNameList:"item" type:"list"` + CpuManufacturers []*string `locationName:"CpuManufacturer" locationNameList:"item" type:"list" enum:"CpuManufacturer"` // The instance types to exclude. You can use strings with one or more wild // cards, represented by an asterisk (*), to exclude an instance family, type, @@ -116091,7 +116091,7 @@ type InstanceRequirementsRequest struct { // For previous generation instance types, specify previous. // // Default: Current and previous generation instance types - InstanceGenerations []*string `locationName:"InstanceGeneration" locationNameList:"item" type:"list"` + InstanceGenerations []*string `locationName:"InstanceGeneration" locationNameList:"item" type:"list" enum:"InstanceGeneration"` // Indicates whether instance types with instance store volumes are included, // excluded, or required. For more information, Amazon EC2 instance store (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html) @@ -116114,7 +116114,7 @@ type InstanceRequirementsRequest struct { // * For instance types with solid state drive (SDD) storage, specify sdd. // // Default: hdd and sdd - LocalStorageTypes []*string `locationName:"LocalStorageType" locationNameList:"item" type:"list"` + LocalStorageTypes []*string `locationName:"LocalStorageType" locationNameList:"item" type:"list" enum:"LocalStorageType"` // The minimum and maximum amount of memory per vCPU, in GiB. // @@ -116369,14 +116369,14 @@ type InstanceRequirementsWithMetadataRequest struct { _ struct{} `type:"structure"` // The architecture type. - ArchitectureTypes []*string `locationName:"ArchitectureType" locationNameList:"item" type:"list"` + ArchitectureTypes []*string `locationName:"ArchitectureType" locationNameList:"item" type:"list" enum:"ArchitectureType"` // The attributes for the instance types. When you specify instance attributes, // Amazon EC2 will identify instance types with those attributes. InstanceRequirements *InstanceRequirementsRequest `type:"structure"` // The virtualization type. - VirtualizationTypes []*string `locationName:"VirtualizationType" locationNameList:"item" type:"list"` + VirtualizationTypes []*string `locationName:"VirtualizationType" locationNameList:"item" type:"list" enum:"VirtualizationType"` } // String returns the string representation. @@ -117017,16 +117017,16 @@ type InstanceTypeInfo struct { // The supported boot modes. For more information, see Boot modes (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html) // in the Amazon EC2 User Guide. - SupportedBootModes []*string `locationName:"supportedBootModes" locationNameList:"item" type:"list"` + SupportedBootModes []*string `locationName:"supportedBootModes" locationNameList:"item" type:"list" enum:"BootModeType"` // The supported root device types. - SupportedRootDeviceTypes []*string `locationName:"supportedRootDeviceTypes" locationNameList:"item" type:"list"` + SupportedRootDeviceTypes []*string `locationName:"supportedRootDeviceTypes" locationNameList:"item" type:"list" enum:"RootDeviceType"` // Indicates whether the instance type is offered for spot or On-Demand. - SupportedUsageClasses []*string `locationName:"supportedUsageClasses" locationNameList:"item" type:"list"` + SupportedUsageClasses []*string `locationName:"supportedUsageClasses" locationNameList:"item" type:"list" enum:"UsageClassType"` // The supported virtualization types. - SupportedVirtualizationTypes []*string `locationName:"supportedVirtualizationTypes" locationNameList:"item" type:"list"` + SupportedVirtualizationTypes []*string `locationName:"supportedVirtualizationTypes" locationNameList:"item" type:"list" enum:"VirtualizationType"` // Describes the vCPU configurations for the instance type. VCpuInfo *VCpuInfo `locationName:"vCpuInfo" type:"structure"` @@ -128241,7 +128241,7 @@ type ModifyTrafficMirrorFilterNetworkServicesInput struct { _ struct{} `type:"structure"` // The network service, for example Amazon DNS, that you want to mirror. - AddNetworkServices []*string `locationName:"AddNetworkService" locationNameList:"item" type:"list"` + AddNetworkServices []*string `locationName:"AddNetworkService" locationNameList:"item" type:"list" enum:"TrafficMirrorNetworkService"` // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have @@ -128250,7 +128250,7 @@ type ModifyTrafficMirrorFilterNetworkServicesInput struct { DryRun *bool `type:"boolean"` // The network service, for example Amazon DNS, that you no longer want to mirror. - RemoveNetworkServices []*string `locationName:"RemoveNetworkService" locationNameList:"item" type:"list"` + RemoveNetworkServices []*string `locationName:"RemoveNetworkService" locationNameList:"item" type:"list" enum:"TrafficMirrorNetworkService"` // The ID of the Traffic Mirror filter. // @@ -128369,7 +128369,7 @@ type ModifyTrafficMirrorFilterRuleInput struct { // // When you remove a property from a Traffic Mirror filter rule, the property // is set to the default. - RemoveFields []*string `locationName:"RemoveField" type:"list"` + RemoveFields []*string `locationName:"RemoveField" type:"list" enum:"TrafficMirrorFilterRuleField"` // The action to assign to the rule. RuleAction *string `type:"string" enum:"TrafficMirrorRuleAction"` @@ -128551,7 +128551,7 @@ type ModifyTrafficMirrorSessionInput struct { // // When you remove a property from a Traffic Mirror session, the property is // set to the default. - RemoveFields []*string `locationName:"RemoveField" type:"list"` + RemoveFields []*string `locationName:"RemoveField" type:"list" enum:"TrafficMirrorSessionField"` // The session number determines the order in which sessions are evaluated when // an interface is used by multiple sessions. The first session with a matching @@ -133755,7 +133755,7 @@ type PacketHeaderStatement struct { DestinationPrefixLists []*string `locationName:"destinationPrefixListSet" locationNameList:"item" type:"list"` // The protocols. - Protocols []*string `locationName:"protocolSet" locationNameList:"item" type:"list"` + Protocols []*string `locationName:"protocolSet" locationNameList:"item" type:"list" enum:"Protocol"` // The source addresses. SourceAddresses []*string `locationName:"sourceAddressSet" locationNameList:"item" type:"list"` @@ -133841,7 +133841,7 @@ type PacketHeaderStatementRequest struct { DestinationPrefixLists []*string `locationName:"DestinationPrefixList" locationNameList:"item" type:"list"` // The protocols. - Protocols []*string `locationName:"Protocol" locationNameList:"item" type:"list"` + Protocols []*string `locationName:"Protocol" locationNameList:"item" type:"list" enum:"Protocol"` // The source addresses. SourceAddresses []*string `locationName:"SourceAddress" locationNameList:"item" type:"list"` @@ -134985,7 +134985,7 @@ type PlacementGroupInfo struct { _ struct{} `type:"structure"` // The supported placement group types. - SupportedStrategies []*string `locationName:"supportedStrategies" locationNameList:"item" type:"list"` + SupportedStrategies []*string `locationName:"supportedStrategies" locationNameList:"item" type:"list" enum:"PlacementGroupStrategy"` } // String returns the string representation. @@ -135808,7 +135808,7 @@ type ProcessorInfo struct { _ struct{} `type:"structure"` // The architectures supported by the instance type. - SupportedArchitectures []*string `locationName:"supportedArchitectures" locationNameList:"item" type:"list"` + SupportedArchitectures []*string `locationName:"supportedArchitectures" locationNameList:"item" type:"list" enum:"ArchitectureType"` // The speed of the processor, in GHz. SustainedClockSpeedInGhz *float64 `locationName:"sustainedClockSpeedInGhz" type:"double"` @@ -139737,7 +139737,7 @@ type ReportInstanceStatusInput struct { // * other: [explain using the description parameter] // // ReasonCodes is a required field - ReasonCodes []*string `locationName:"reasonCode" locationNameList:"item" type:"list" required:"true"` + ReasonCodes []*string `locationName:"reasonCode" locationNameList:"item" type:"list" required:"true" enum:"ReportInstanceReasonCodes"` // The time at which the reported instance health state began. StartTime *time.Time `locationName:"startTime" type:"timestamp"` @@ -152983,7 +152983,7 @@ type TrafficMirrorFilter struct { IngressFilterRules []*TrafficMirrorFilterRule `locationName:"ingressFilterRuleSet" locationNameList:"item" type:"list"` // The network service traffic that is associated with the Traffic Mirror filter. - NetworkServices []*string `locationName:"networkServiceSet" locationNameList:"item" type:"list"` + NetworkServices []*string `locationName:"networkServiceSet" locationNameList:"item" type:"list" enum:"TrafficMirrorNetworkService"` // The tags assigned to the Traffic Mirror filter. Tags []*Tag `locationName:"tagSet" locationNameList:"item" type:"list"` diff --git a/service/ecs/api.go b/service/ecs/api.go index 1466a4fcbd0..071deec460c 100644 --- a/service/ecs/api.go +++ b/service/ecs/api.go @@ -11628,7 +11628,7 @@ type DescribeCapacityProvidersInput struct { // Specifies whether or not you want to see the resource tags for the capacity // provider. If TAGS is specified, the tags are included in the response. If // this field is omitted, tags aren't included in the response. - Include []*string `locationName:"include" type:"list"` + Include []*string `locationName:"include" type:"list" enum:"CapacityProviderField"` // The maximum number of account setting results returned by DescribeCapacityProviders // in paginated output. When this parameter is used, DescribeCapacityProviders @@ -11764,7 +11764,7 @@ type DescribeClustersInput struct { // by launch type. // // If TAGS is specified, the metadata tags associated with the cluster are included. - Include []*string `locationName:"include" type:"list"` + Include []*string `locationName:"include" type:"list" enum:"ClusterField"` } // String returns the string representation. @@ -11858,7 +11858,7 @@ type DescribeContainerInstancesInput struct { // is specified, the container instance health is included in the response. // If this field is omitted, tags and container instance health status aren't // included in the response. - Include []*string `locationName:"include" type:"list"` + Include []*string `locationName:"include" type:"list" enum:"ContainerInstanceField"` } // String returns the string representation. @@ -11962,7 +11962,7 @@ type DescribeServicesInput struct { // Determines whether you want to see the resource tags for the service. If // TAGS is specified, the tags are included in the response. If this field is // omitted, tags aren't included in the response. - Include []*string `locationName:"include" type:"list"` + Include []*string `locationName:"include" type:"list" enum:"ServiceField"` // A list of services to describe. You may specify up to 10 services to describe // in a single operation. @@ -12066,7 +12066,7 @@ type DescribeTaskDefinitionInput struct { // Determines whether to see the resource tags for the task definition. If TAGS // is specified, the tags are included in the response. If this field is omitted, // tags aren't included in the response. - Include []*string `locationName:"include" type:"list"` + Include []*string `locationName:"include" type:"list" enum:"TaskDefinitionField"` // 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) @@ -12196,7 +12196,7 @@ type DescribeTaskSetsInput struct { // Specifies whether to see the resource tags for the task set. If TAGS is specified, // the tags are included in the response. If this field is omitted, tags aren't // included in the response. - Include []*string `locationName:"include" type:"list"` + Include []*string `locationName:"include" type:"list" enum:"TaskSetField"` // The short name or full Amazon Resource Name (ARN) of the service that the // task sets exist in. @@ -12318,7 +12318,7 @@ type DescribeTasksInput struct { // Specifies whether you want to see the resource tags for the task. If TAGS // is specified, the tags are included in the response. If this field is omitted, // tags aren't included in the response. - Include []*string `locationName:"include" type:"list"` + Include []*string `locationName:"include" type:"list" enum:"TaskField"` // A list of up to 100 task IDs or full ARN entries. // @@ -12429,7 +12429,7 @@ type Device struct { // The explicit permissions to provide to the container for the device. By default, // the container has permissions for read, write, and mknod for the device. - Permissions []*string `locationName:"permissions" type:"list"` + Permissions []*string `locationName:"permissions" type:"list" enum:"DeviceCgroupPermission"` } // String returns the string representation. @@ -17742,7 +17742,7 @@ type RegisterTaskDefinitionInput struct { // A client exception is returned if the task definition doesn't validate against // the compatibilities specified. If no value is specified, the parameter is // omitted from the response. - RequiresCompatibilities []*string `locationName:"requiresCompatibilities" type:"list"` + RequiresCompatibilities []*string `locationName:"requiresCompatibilities" type:"list" enum:"Compatibility"` // The operating system that your tasks definitions run on. A platform family // is specified only for tasks using the Fargate launch type. @@ -21372,7 +21372,7 @@ type TaskDefinition struct { // The task launch types the task definition validated against during task definition // registration. For more information, see Amazon ECS launch types (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) // in the Amazon Elastic Container Service Developer Guide. - Compatibilities []*string `locationName:"compatibilities" type:"list"` + Compatibilities []*string `locationName:"compatibilities" type:"list" enum:"Compatibility"` // A list of container definitions in JSON format that describe the different // containers that make up your task. For more information about container definition @@ -21577,7 +21577,7 @@ type TaskDefinition struct { // The task launch types the task definition was validated against. To determine // which task launch types the task definition is validated for, see the TaskDefinition$compatibilities // parameter. - RequiresCompatibilities []*string `locationName:"requiresCompatibilities" type:"list"` + RequiresCompatibilities []*string `locationName:"requiresCompatibilities" type:"list" enum:"Compatibility"` // The revision of the task in a particular family. The revision is a version // number of a task definition in a family. When you register a task definition diff --git a/service/efs/api.go b/service/efs/api.go index 4ba68f60b75..fdf420b9b1e 100644 --- a/service/efs/api.go +++ b/service/efs/api.go @@ -9227,7 +9227,7 @@ type ResourceIdPreference struct { // Identifies the Amazon EFS resources to which the ID preference setting applies, // FILE_SYSTEM and MOUNT_TARGET. - Resources []*string `type:"list"` + Resources []*string `type:"list" enum:"Resource"` } // String returns the string representation. diff --git a/service/eks/api.go b/service/eks/api.go index c322adfde1e..0169bbdc77e 100644 --- a/service/eks/api.go +++ b/service/eks/api.go @@ -8918,7 +8918,7 @@ type LogSetup struct { Enabled *bool `locationName:"enabled" type:"boolean"` // The available cluster control plane log types. - Types []*string `locationName:"types" type:"list"` + Types []*string `locationName:"types" type:"list" enum:"LogType"` } // String returns the string representation. diff --git a/service/elasticache/api.go b/service/elasticache/api.go index b2c9e6114db..9efea4d74c1 100644 --- a/service/elasticache/api.go +++ b/service/elasticache/api.go @@ -14447,7 +14447,7 @@ type DescribeServiceUpdatesInput struct { ServiceUpdateName *string `type:"string"` // The status of the service update - ServiceUpdateStatus []*string `type:"list"` + ServiceUpdateStatus []*string `type:"list" enum:"ServiceUpdateStatus"` } // String returns the string representation. @@ -14703,7 +14703,7 @@ type DescribeUpdateActionsInput struct { ServiceUpdateName *string `type:"string"` // The status of the service update - ServiceUpdateStatus []*string `type:"list"` + ServiceUpdateStatus []*string `type:"list" enum:"ServiceUpdateStatus"` // The range of time specified to search for service updates that are in available // status @@ -14713,7 +14713,7 @@ type DescribeUpdateActionsInput struct { ShowNodeLevelUpdateStatus *bool `type:"boolean"` // The status of the update action. - UpdateActionStatus []*string `type:"list"` + UpdateActionStatus []*string `type:"list" enum:"UpdateActionStatus"` } // String returns the string representation. diff --git a/service/elasticbeanstalk/api.go b/service/elasticbeanstalk/api.go index 917591e1382..0af628b0410 100644 --- a/service/elasticbeanstalk/api.go +++ b/service/elasticbeanstalk/api.go @@ -7832,7 +7832,7 @@ type DescribeEnvironmentHealthInput struct { // Specify the response elements to return. To retrieve all attributes, set // to All. If no attribute names are specified, returns the name of the environment. - AttributeNames []*string `type:"list"` + AttributeNames []*string `type:"list" enum:"EnvironmentHealthAttribute"` // Specify the environment by ID. // @@ -8634,7 +8634,7 @@ type DescribeInstancesHealthInput struct { // Specifies the response elements you wish to receive. To retrieve all attributes, // set to All. If no attribute names are specified, returns a list of instances. - AttributeNames []*string `type:"list"` + AttributeNames []*string `type:"list" enum:"InstancesHealthAttribute"` // Specify the AWS Elastic Beanstalk environment by ID. EnvironmentId *string `type:"string"` diff --git a/service/elasticsearchservice/api.go b/service/elasticsearchservice/api.go index 11a2c1d21bb..d4d4cda2ae2 100644 --- a/service/elasticsearchservice/api.go +++ b/service/elasticsearchservice/api.go @@ -11124,7 +11124,7 @@ type ListElasticsearchInstanceTypesOutput struct { // List of instance types supported by Amazon Elasticsearch service for given // ElasticsearchVersion - ElasticsearchInstanceTypes []*string `type:"list"` + ElasticsearchInstanceTypes []*string `type:"list" enum:"ESPartitionInstanceType"` // In case if there are more results available NextToken would be present, make // further request to the same API with received NextToken to paginate remaining diff --git a/service/emr/api.go b/service/emr/api.go index 98ab375be67..95c4f57694a 100644 --- a/service/emr/api.go +++ b/service/emr/api.go @@ -7990,7 +7990,7 @@ type DescribeJobFlowsInput struct { JobFlowIds []*string `type:"list"` // Return only job flows whose state is contained in this list. - JobFlowStates []*string `type:"list"` + JobFlowStates []*string `type:"list" enum:"JobFlowExecutionState"` } // String returns the string representation. @@ -12565,7 +12565,7 @@ type ListClustersInput struct { // The cluster state filters to apply when listing clusters. Clusters that change // state while this action runs may be not be returned as expected in the list // of clusters. - ClusterStates []*string `type:"list"` + ClusterStates []*string `type:"list" enum:"ClusterState"` // The creation date and time beginning value filter for listing clusters. CreatedAfter *time.Time `type:"timestamp"` @@ -12872,11 +12872,11 @@ type ListInstancesInput struct { InstanceGroupId *string `type:"string"` // The type of instance group for which to list the instances. - InstanceGroupTypes []*string `type:"list"` + InstanceGroupTypes []*string `type:"list" enum:"InstanceGroupType"` // A list of instance states that will filter the instances returned with this // request. - InstanceStates []*string `type:"list"` + InstanceStates []*string `type:"list" enum:"InstanceState"` // The pagination token that indicates the next set of results to retrieve. Marker *string `type:"string"` @@ -13337,7 +13337,7 @@ type ListStepsInput struct { StepIds []*string `type:"list"` // The filter to limit the step list based on certain states. - StepStates []*string `type:"list"` + StepStates []*string `type:"list" enum:"StepState"` } // String returns the string representation. diff --git a/service/emrcontainers/api.go b/service/emrcontainers/api.go index 704961f3d69..d45b82998e9 100644 --- a/service/emrcontainers/api.go +++ b/service/emrcontainers/api.go @@ -3334,7 +3334,7 @@ type ListJobRunsInput struct { NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"` // The states of the job run. - States []*string `location:"querystring" locationName:"states" type:"list"` + States []*string `location:"querystring" locationName:"states" type:"list" enum:"JobRunState"` // The ID of the virtual cluster for which to list the job run. // @@ -3480,7 +3480,7 @@ type ListManagedEndpointsInput struct { NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"` // The states of the managed endpoints. - States []*string `location:"querystring" locationName:"states" type:"list"` + States []*string `location:"querystring" locationName:"states" type:"list" enum:"EndpointState"` // The types of the managed endpoints. Types []*string `location:"querystring" locationName:"types" type:"list"` @@ -3713,7 +3713,7 @@ type ListVirtualClustersInput struct { NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"` // The states of the requested virtual clusters. - States []*string `location:"querystring" locationName:"states" type:"list"` + States []*string `location:"querystring" locationName:"states" type:"list" enum:"VirtualClusterState"` } // String returns the string representation. diff --git a/service/finspacedata/api.go b/service/finspacedata/api.go index 4d9218295c0..fa1358f2eaf 100644 --- a/service/finspacedata/api.go +++ b/service/finspacedata/api.go @@ -3627,7 +3627,7 @@ type CreatePermissionGroupInput struct { // * GetTemporaryCredentials – Group members can get temporary API credentials. // // ApplicationPermissions is a required field - ApplicationPermissions []*string `locationName:"applicationPermissions" type:"list" required:"true"` + ApplicationPermissions []*string `locationName:"applicationPermissions" type:"list" required:"true" enum:"ApplicationPermission"` // A token that ensures idempotency. This token expires in 10 minutes. ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"` @@ -6537,7 +6537,7 @@ type PermissionGroup struct { // * AccessNotebooks – Group members will have access to FinSpace notebooks. // // * GetTemporaryCredentials – Group members can get temporary API credentials. - ApplicationPermissions []*string `locationName:"applicationPermissions" type:"list"` + ApplicationPermissions []*string `locationName:"applicationPermissions" type:"list" enum:"ApplicationPermission"` // The timestamp at which the group was created in FinSpace. The value is determined // as epoch time in milliseconds. @@ -7436,7 +7436,7 @@ type UpdatePermissionGroupInput struct { // * AccessNotebooks – Group members will have access to FinSpace notebooks. // // * GetTemporaryCredentials – Group members can get temporary API credentials. - ApplicationPermissions []*string `locationName:"applicationPermissions" type:"list"` + ApplicationPermissions []*string `locationName:"applicationPermissions" type:"list" enum:"ApplicationPermission"` // A token that ensures idempotency. This token expires in 10 minutes. ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"` diff --git a/service/fsx/api.go b/service/fsx/api.go index afaefeddcc8..644e9b3d52b 100644 --- a/service/fsx/api.go +++ b/service/fsx/api.go @@ -4996,7 +4996,7 @@ type AutoExportPolicy struct { // repository when they are deleted on the file system. // // You can define any combination of event types for your AutoExportPolicy. - Events []*string `type:"list"` + Events []*string `type:"list" enum:"EventType"` } // String returns the string representation. @@ -5045,7 +5045,7 @@ type AutoImportPolicy struct { // as corresponding files are deleted in the data repository. // // You can define any combination of event types for your AutoImportPolicy. - Events []*string `type:"list"` + Events []*string `type:"list" enum:"EventType"` } // String returns the string representation. @@ -10609,7 +10609,7 @@ type DeleteFileSystemOpenZFSConfiguration struct { // volume, use the string DELETE_CHILD_VOLUMES_AND_SNAPSHOTS. If your file system // has child volumes and you don't use this option, the delete request will // fail. - Options []*string `type:"list"` + Options []*string `type:"list" enum:"DeleteFileSystemOpenZFSOption"` // By default, Amazon FSx for OpenZFS takes a final backup on your behalf when // the DeleteFileSystem operation is invoked. Doing this helps protect you from @@ -11310,7 +11310,7 @@ type DeleteVolumeOpenZFSConfiguration struct { // To delete the volume's child volumes, snapshots, and clones, use the string // DELETE_CHILD_VOLUMES_AND_SNAPSHOTS. - Options []*string `type:"list"` + Options []*string `type:"list" enum:"DeleteOpenZFSVolumeOption"` } // String returns the string representation. @@ -15657,7 +15657,7 @@ type RestoreVolumeFromSnapshotInput struct { // * DELETE_CLONED_VOLUMES - Deletes any volumes cloned from this volume. // If there are any cloned volumes and this option isn't used, RestoreVolumeFromSnapshot // fails. - Options []*string `type:"list"` + Options []*string `type:"list" enum:"RestoreOpenZFSVolumeOption"` // The ID of the source snapshot. Specifies the snapshot that you are restoring // from. @@ -19348,7 +19348,7 @@ type WindowsFileSystemConfiguration struct { DeploymentType *string `type:"string" enum:"WindowsDeploymentType"` // The list of maintenance operations in progress for this file system. - MaintenanceOperationsInProgress []*string `type:"list"` + MaintenanceOperationsInProgress []*string `type:"list" enum:"FileSystemMaintenanceOperation"` // For MULTI_AZ_1 deployment types, the IP address of the primary, or preferred, // file server. diff --git a/service/gamelift/api.go b/service/gamelift/api.go index 9e2b10d25c0..6e834cfc693 100644 --- a/service/gamelift/api.go +++ b/service/gamelift/api.go @@ -20825,7 +20825,7 @@ type FleetAttributes struct { // A list of fleet activity that has been suspended using StopFleetActions. // This includes fleet auto-scaling. - StoppedActions []*string `min:"1" type:"list"` + StoppedActions []*string `min:"1" type:"list" enum:"FleetAction"` // A time stamp indicating when this data object was terminated. Format is a // number expressed in Unix time as milliseconds (for example "1469498468.057"). @@ -21566,7 +21566,7 @@ type GameServerGroup struct { // A list of activities that are currently suspended for this game server group. // If this property is empty, all activities are occurring. - SuspendedActions []*string `min:"1" type:"list"` + SuspendedActions []*string `min:"1" type:"list" enum:"GameServerGroupAction"` } // String returns the string representation. @@ -24617,7 +24617,7 @@ type LocationAttributes struct { LocationState *LocationState `type:"structure"` // A list of fleet actions that have been suspended in the fleet location. - StoppedActions []*string `min:"1" type:"list"` + StoppedActions []*string `min:"1" type:"list" enum:"FleetAction"` // The status of fleet activity updates to the location. The status PENDING_UPDATE // indicates that StopFleetActions or StartFleetActions has been requested but @@ -25924,7 +25924,7 @@ type PriorityConfiguration struct { // // * LOCATION -- FleetIQ prioritizes based on the provided order of locations, // as defined in LocationOrder. - PriorityOrder []*string `min:"1" type:"list"` + PriorityOrder []*string `min:"1" type:"list" enum:"PriorityType"` } // String returns the string representation. @@ -26604,7 +26604,7 @@ type ResumeGameServerGroupInput struct { // The activity to resume for this game server group. // // ResumeActions is a required field - ResumeActions []*string `min:"1" type:"list" required:"true"` + ResumeActions []*string `min:"1" type:"list" required:"true" enum:"GameServerGroupAction"` } // String returns the string representation. @@ -27587,7 +27587,7 @@ type StartFleetActionsInput struct { // List of actions to restart on the fleet. // // Actions is a required field - Actions []*string `min:"1" type:"list" required:"true"` + Actions []*string `min:"1" type:"list" required:"true" enum:"FleetAction"` // A unique identifier for the fleet to restart actions on. You can use either // the fleet ID or ARN value. @@ -28187,7 +28187,7 @@ type StopFleetActionsInput struct { // List of actions to suspend on the fleet. // // Actions is a required field - Actions []*string `min:"1" type:"list" required:"true"` + Actions []*string `min:"1" type:"list" required:"true" enum:"FleetAction"` // A unique identifier for the fleet to stop actions on. You can use either // the fleet ID or ARN value. @@ -28465,7 +28465,7 @@ type SuspendGameServerGroupInput struct { // The activity to suspend for this game server group. // // SuspendActions is a required field - SuspendActions []*string `min:"1" type:"list" required:"true"` + SuspendActions []*string `min:"1" type:"list" required:"true" enum:"GameServerGroupAction"` } // String returns the string representation. diff --git a/service/globalaccelerator/api.go b/service/globalaccelerator/api.go index e7648ccb5de..65bb2bf0f48 100644 --- a/service/globalaccelerator/api.go +++ b/service/globalaccelerator/api.go @@ -7159,7 +7159,7 @@ type CustomRoutingDestinationConfiguration struct { // accelerator. The protocol can be either TCP or UDP. // // Protocols is a required field - Protocols []*string `min:"1" type:"list" required:"true"` + Protocols []*string `min:"1" type:"list" required:"true" enum:"CustomRoutingProtocol"` // The last port, inclusive, in the range of ports for the endpoint group that // is associated with a custom routing accelerator. @@ -7244,7 +7244,7 @@ type CustomRoutingDestinationDescription struct { // The protocol for the endpoint group that is associated with a custom routing // accelerator. The protocol can be either TCP or UDP. - Protocols []*string `type:"list"` + Protocols []*string `type:"list" enum:"Protocol"` // The last port, inclusive, in the range of ports for the endpoint group that // is associated with a custom routing accelerator. @@ -11003,7 +11003,7 @@ type PortMapping struct { EndpointId *string `type:"string"` // The protocols supported by the endpoint group. - Protocols []*string `min:"1" type:"list"` + Protocols []*string `min:"1" type:"list" enum:"CustomRoutingProtocol"` } // String returns the string representation. diff --git a/service/glue/api.go b/service/glue/api.go index 6170295cfc7..a708fc39482 100644 --- a/service/glue/api.go +++ b/service/glue/api.go @@ -36251,7 +36251,7 @@ type GetUnfilteredPartitionMetadataInput struct { PartitionValues []*string `type:"list" required:"true"` // SupportedPermissionTypes is a required field - SupportedPermissionTypes []*string `min:"1" type:"list" required:"true"` + SupportedPermissionTypes []*string `min:"1" type:"list" required:"true" enum:"PermissionType"` // TableName is a required field TableName *string `min:"1" type:"string" required:"true"` @@ -36417,7 +36417,7 @@ type GetUnfilteredPartitionsMetadataInput struct { Segment *Segment `type:"structure"` // SupportedPermissionTypes is a required field - SupportedPermissionTypes []*string `min:"1" type:"list" required:"true"` + SupportedPermissionTypes []*string `min:"1" type:"list" required:"true" enum:"PermissionType"` // TableName is a required field TableName *string `min:"1" type:"string" required:"true"` @@ -36590,7 +36590,7 @@ type GetUnfilteredTableMetadataInput struct { Name *string `min:"1" type:"string" required:"true"` // SupportedPermissionTypes is a required field - SupportedPermissionTypes []*string `min:"1" type:"list" required:"true"` + SupportedPermissionTypes []*string `min:"1" type:"list" required:"true" enum:"PermissionType"` } // String returns the string representation. @@ -42420,7 +42420,7 @@ type PrincipalPermissions struct { _ struct{} `type:"structure"` // The permissions that are granted to the principal. - Permissions []*string `type:"list"` + Permissions []*string `type:"list" enum:"Permission"` // The principal who is granted permissions. Principal *DataLakePrincipal `type:"structure"` diff --git a/service/groundstation/api.go b/service/groundstation/api.go index bd0837e6464..7fcb52402af 100644 --- a/service/groundstation/api.go +++ b/service/groundstation/api.go @@ -5740,7 +5740,7 @@ type ListContactsInput struct { // Status of a contact reservation. // // StatusList is a required field - StatusList []*string `locationName:"statusList" type:"list" required:"true"` + StatusList []*string `locationName:"statusList" type:"list" required:"true" enum:"ContactStatus"` } // String returns the string representation. diff --git a/service/guardduty/api.go b/service/guardduty/api.go index 63921b86534..ede76e5fba1 100644 --- a/service/guardduty/api.go +++ b/service/guardduty/api.go @@ -10155,7 +10155,7 @@ type GetFindingsStatisticsInput struct { // The types of finding statistics to retrieve. // // FindingStatisticTypes is a required field - FindingStatisticTypes []*string `locationName:"findingStatisticTypes" type:"list" required:"true"` + FindingStatisticTypes []*string `locationName:"findingStatisticTypes" type:"list" required:"true" enum:"FindingStatisticType"` } // String returns the string representation. @@ -16576,7 +16576,7 @@ type UsageCriteria struct { // The data sources to aggregate usage statistics from. // // DataSources is a required field - DataSources []*string `locationName:"dataSources" type:"list" required:"true"` + DataSources []*string `locationName:"dataSources" type:"list" required:"true" enum:"DataSource"` // The resources to aggregate usage statistics from. Only accepts exact resource // names. diff --git a/service/health/api.go b/service/health/api.go index 7cc6195b3bd..bce5321f458 100644 --- a/service/health/api.go +++ b/service/health/api.go @@ -3344,7 +3344,7 @@ type EntityFilter struct { LastUpdatedTimes []*DateTimeRange `locationName:"lastUpdatedTimes" min:"1" type:"list"` // A list of entity status codes (IMPAIRED, UNIMPAIRED, or UNKNOWN). - StatusCodes []*string `locationName:"statusCodes" min:"1" type:"list"` + StatusCodes []*string `locationName:"statusCodes" min:"1" type:"list" enum:"EntityStatusCode"` // A map of entity tags attached to the affected entity. // @@ -3871,12 +3871,12 @@ type EventFilter struct { EventArns []*string `locationName:"eventArns" min:"1" type:"list"` // A list of event status codes. - EventStatusCodes []*string `locationName:"eventStatusCodes" min:"1" type:"list"` + EventStatusCodes []*string `locationName:"eventStatusCodes" min:"1" type:"list" enum:"EventStatusCode"` // A list of event type category codes. Possible values are issue, accountNotification, // or scheduledChange. Currently, the investigation value isn't supported at // this time. - EventTypeCategories []*string `locationName:"eventTypeCategories" min:"1" type:"list"` + EventTypeCategories []*string `locationName:"eventTypeCategories" min:"1" type:"list" enum:"EventTypeCategory"` // A list of unique identifiers for event types. For example, "AWS_EC2_SYSTEM_MAINTENANCE_EVENT","AWS_RDS_MAINTENANCE_SCHEDULED". EventTypeCodes []*string `locationName:"eventTypeCodes" min:"1" type:"list"` @@ -4113,7 +4113,7 @@ type EventTypeFilter struct { // A list of event type category codes. Possible values are issue, accountNotification, // or scheduledChange. Currently, the investigation value isn't supported at // this time. - EventTypeCategories []*string `locationName:"eventTypeCategories" min:"1" type:"list"` + EventTypeCategories []*string `locationName:"eventTypeCategories" min:"1" type:"list" enum:"EventTypeCategory"` // A list of event type codes. EventTypeCodes []*string `locationName:"eventTypeCodes" min:"1" type:"list"` @@ -4637,12 +4637,12 @@ type OrganizationEventFilter struct { EntityValues []*string `locationName:"entityValues" min:"1" type:"list"` // A list of event status codes. - EventStatusCodes []*string `locationName:"eventStatusCodes" min:"1" type:"list"` + EventStatusCodes []*string `locationName:"eventStatusCodes" min:"1" type:"list" enum:"EventStatusCode"` // A list of event type category codes. Possible values are issue, accountNotification, // or scheduledChange. Currently, the investigation value isn't supported at // this time. - EventTypeCategories []*string `locationName:"eventTypeCategories" min:"1" type:"list"` + EventTypeCategories []*string `locationName:"eventTypeCategories" min:"1" type:"list" enum:"EventTypeCategory"` // A list of unique identifiers for event types. For example, "AWS_EC2_SYSTEM_MAINTENANCE_EVENT","AWS_RDS_MAINTENANCE_SCHEDULED". EventTypeCodes []*string `locationName:"eventTypeCodes" min:"1" type:"list"` diff --git a/service/iam/api.go b/service/iam/api.go index 9ef2c48899c..8b0ad2cff93 100644 --- a/service/iam/api.go +++ b/service/iam/api.go @@ -23869,7 +23869,7 @@ type GetAccountAuthorizationDetailsInput struct { // The format for this parameter is a comma-separated (if more than one) list // of strings. Each string value in the list must be one of the valid values // listed below. - Filter []*string `type:"list"` + Filter []*string `type:"list" enum:"EntityType"` // Use this parameter only when paginating results and only after you receive // a response indicating that the results are truncated. Set it to the value diff --git a/service/inspector/api.go b/service/inspector/api.go index 4c435bc6634..82ec94b6971 100644 --- a/service/inspector/api.go +++ b/service/inspector/api.go @@ -4264,12 +4264,12 @@ type AgentFilter struct { // SHUTDOWN, UNHEALTHY, THROTTLED, and UNKNOWN. // // AgentHealthCodes is a required field - AgentHealthCodes []*string `locationName:"agentHealthCodes" type:"list" required:"true"` + AgentHealthCodes []*string `locationName:"agentHealthCodes" type:"list" required:"true" enum:"AgentHealthCode"` // 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"` + AgentHealths []*string `locationName:"agentHealths" type:"list" required:"true" enum:"AgentHealth"` } // String returns the string representation. @@ -4823,7 +4823,7 @@ type AssessmentRunFilter struct { // For a record to match a filter, one of the values specified for this data // type property must be the exact match of the value of the assessmentRunState // property of the AssessmentRun data type. - States []*string `locationName:"states" type:"list"` + States []*string `locationName:"states" type:"list" enum:"AssessmentRunState"` } // String returns the string representation. @@ -7559,7 +7559,7 @@ type FindingFilter struct { // For a record to match a filter, one of the values that is specified for this // data type property must be the exact match of the value of the severity property // of the Finding data type. - Severities []*string `locationName:"severities" type:"list"` + Severities []*string `locationName:"severities" type:"list" enum:"Severity"` // For a record to match a filter, the value that is specified for this data // type property must be contained in the list of values of the userAttributes diff --git a/service/inspector2/api.go b/service/inspector2/api.go index 5e6eb6f793a..a810cb966dd 100644 --- a/service/inspector2/api.go +++ b/service/inspector2/api.go @@ -6363,7 +6363,7 @@ type DisableInput struct { AccountIds []*string `locationName:"accountIds" type:"list"` // The resource scan types you want to disable. - ResourceTypes []*string `locationName:"resourceTypes" type:"list"` + ResourceTypes []*string `locationName:"resourceTypes" type:"list" enum:"ResourceScanType"` } // String returns the string representation. @@ -6982,7 +6982,7 @@ type EnableInput struct { // The resource scan types you want to enable. // // ResourceTypes is a required field - ResourceTypes []*string `locationName:"resourceTypes" min:"1" type:"list" required:"true"` + ResourceTypes []*string `locationName:"resourceTypes" min:"1" type:"list" required:"true" enum:"ResourceScanType"` } // String returns the string representation. diff --git a/service/iot/api.go b/service/iot/api.go index 33726245254..effdd288fce 100644 --- a/service/iot/api.go +++ b/service/iot/api.go @@ -33073,7 +33073,7 @@ type CreateOTAUpdateInput struct { // The protocol used to transfer the OTA update image. Valid values are [HTTP], // [MQTT], [HTTP, MQTT]. When both HTTP and MQTT are specified, the target device // can choose the protocol. - Protocols []*string `locationName:"protocols" min:"1" type:"list"` + Protocols []*string `locationName:"protocols" min:"1" type:"list" enum:"Protocol"` // The IAM role that grants Amazon Web Services IoT Core access to the Amazon // S3, IoT jobs and Amazon Web Services Code Signing resources to create an @@ -55458,7 +55458,7 @@ type OTAUpdateInfo struct { // The protocol used to transfer the OTA update image. Valid values are [HTTP], // [MQTT], [HTTP, MQTT]. When both HTTP and MQTT are specified, the target device // can choose the protocol. - Protocols []*string `locationName:"protocols" min:"1" type:"list"` + Protocols []*string `locationName:"protocols" min:"1" type:"list" enum:"Protocol"` // Specifies whether the OTA update will continue to run (CONTINUOUS), or will // be complete after all those things specified as targets have completed the diff --git a/service/iotsitewise/api.go b/service/iotsitewise/api.go index 2eaae8ccc38..e7d1e5b168e 100644 --- a/service/iotsitewise/api.go +++ b/service/iotsitewise/api.go @@ -14955,7 +14955,7 @@ type GetAssetPropertyAggregatesInput struct { // The data aggregating function. // // AggregateTypes is a required field - AggregateTypes []*string `location:"querystring" locationName:"aggregateTypes" min:"1" type:"list" required:"true"` + AggregateTypes []*string `location:"querystring" locationName:"aggregateTypes" min:"1" type:"list" required:"true" enum:"AggregateType"` // The ID of the asset. AssetId *string `location:"querystring" locationName:"assetId" min:"36" type:"string"` @@ -14984,7 +14984,7 @@ type GetAssetPropertyAggregatesInput struct { PropertyId *string `location:"querystring" locationName:"propertyId" min:"36" type:"string"` // The quality by which to filter asset data. - Qualities []*string `location:"querystring" locationName:"qualities" min:"1" type:"list"` + Qualities []*string `location:"querystring" locationName:"qualities" min:"1" type:"list" enum:"Quality"` // The time interval over which to aggregate data. // @@ -15204,7 +15204,7 @@ type GetAssetPropertyValueHistoryInput struct { PropertyId *string `location:"querystring" locationName:"propertyId" min:"36" type:"string"` // The quality by which to filter asset data. - Qualities []*string `location:"querystring" locationName:"qualities" min:"1" type:"list"` + Qualities []*string `location:"querystring" locationName:"qualities" min:"1" type:"list" enum:"Quality"` // The exclusive start of the range from which to query historical data, expressed // in seconds in Unix epoch time. diff --git a/service/iotthingsgraph/api.go b/service/iotthingsgraph/api.go index 5ee8fa9418a..2a3bb09a720 100644 --- a/service/iotthingsgraph/api.go +++ b/service/iotthingsgraph/api.go @@ -6767,7 +6767,7 @@ type SearchEntitiesInput struct { // The entity types for which to search. // // EntityTypes is a required field - EntityTypes []*string `locationName:"entityTypes" type:"list" required:"true"` + EntityTypes []*string `locationName:"entityTypes" type:"list" required:"true" enum:"EntityType"` // Optional filter to apply to the search. Valid filters are NAME NAMESPACE, // SEMANTIC_TYPE_PATH and REFERENCED_ENTITY_ID. REFERENCED_ENTITY_ID filters diff --git a/service/kendra/api.go b/service/kendra/api.go index 370988c19ff..5f06dbc3ea5 100644 --- a/service/kendra/api.go +++ b/service/kendra/api.go @@ -19444,7 +19444,7 @@ type SalesforceChatterFeedConfiguration struct { // ACTIVE_USERS only documents from users who have an active account are indexed. // When you specify STANDARD_USER only documents for Salesforce standard users // are documented. You can specify both. - IncludeFilterTypes []*string `min:"1" type:"list"` + IncludeFilterTypes []*string `min:"1" type:"list" enum:"SalesforceChatterFeedIncludeFilterType"` } // String returns the string representation. @@ -19840,7 +19840,7 @@ type SalesforceKnowledgeArticleConfiguration struct { // indexes knowledge articles. You must specify at least one state. // // IncludedStates is a required field - IncludedStates []*string `min:"1" type:"list" required:"true"` + IncludedStates []*string `min:"1" type:"list" required:"true" enum:"SalesforceKnowledgeArticleState"` // Configuration information for standard Salesforce knowledge articles. StandardKnowledgeArticleTypeConfiguration *SalesforceStandardKnowledgeArticleTypeConfiguration `type:"structure"` @@ -21224,7 +21224,7 @@ type SlackConfiguration struct { // and direct messages. You can specify one or more of these options. // // SlackEntityList is a required field - SlackEntityList []*string `min:"1" type:"list" required:"true"` + SlackEntityList []*string `min:"1" type:"list" required:"true" enum:"SlackEntity"` // The identifier of the team in the Slack workspace. For example, T0123456789. // diff --git a/service/kinesis/api.go b/service/kinesis/api.go index 2b0a63094c9..58af9702332 100644 --- a/service/kinesis/api.go +++ b/service/kinesis/api.go @@ -4809,7 +4809,7 @@ type DisableEnhancedMonitoringInput struct { // in the Amazon Kinesis Data Streams Developer Guide. // // ShardLevelMetrics is a required field - ShardLevelMetrics []*string `min:"1" type:"list" required:"true"` + ShardLevelMetrics []*string `min:"1" type:"list" required:"true" enum:"MetricsName"` // The name of the Kinesis data stream for which to disable enhanced monitoring. // @@ -4899,7 +4899,7 @@ type EnableEnhancedMonitoringInput struct { // in the Amazon Kinesis Data Streams Developer Guide. // // ShardLevelMetrics is a required field - ShardLevelMetrics []*string `min:"1" type:"list" required:"true"` + ShardLevelMetrics []*string `min:"1" type:"list" required:"true" enum:"MetricsName"` // The name of the stream for which to enable enhanced monitoring. // @@ -4987,7 +4987,7 @@ type EnhancedMetrics struct { // For more information, see Monitoring the Amazon Kinesis Data Streams Service // with Amazon CloudWatch (https://docs.aws.amazon.com/kinesis/latest/dev/monitoring-with-cloudwatch.html) // in the Amazon Kinesis Data Streams Developer Guide. - ShardLevelMetrics []*string `min:"1" type:"list"` + ShardLevelMetrics []*string `min:"1" type:"list" enum:"MetricsName"` } // String returns the string representation. @@ -5020,11 +5020,11 @@ type EnhancedMonitoringOutput struct { // Represents the current state of the metrics that are in the enhanced state // before the operation. - CurrentShardLevelMetrics []*string `min:"1" type:"list"` + CurrentShardLevelMetrics []*string `min:"1" type:"list" enum:"MetricsName"` // Represents the list of all the metrics that would be in the enhanced state // after the operation. - DesiredShardLevelMetrics []*string `min:"1" type:"list"` + DesiredShardLevelMetrics []*string `min:"1" type:"list" enum:"MetricsName"` // The name of the Kinesis data stream. StreamName *string `min:"1" type:"string"` diff --git a/service/kinesisvideo/api.go b/service/kinesisvideo/api.go index 6a11274fbd6..097dc99ebd0 100644 --- a/service/kinesisvideo/api.go +++ b/service/kinesisvideo/api.go @@ -4186,7 +4186,7 @@ type SingleMasterChannelEndpointConfiguration struct { // This property is used to determine the nature of communication over this // SINGLE_MASTER signaling channel. If WSS is specified, this API returns a // websocket endpoint. If HTTPS is specified, this API returns an HTTPS endpoint. - Protocols []*string `min:"1" type:"list"` + Protocols []*string `min:"1" type:"list" enum:"ChannelProtocol"` // This property is used to determine messaging permissions in this SINGLE_MASTER // signaling channel. If MASTER is specified, this API returns an endpoint that diff --git a/service/kms/api.go b/service/kms/api.go index a55357d2936..9f05ae2b16e 100644 --- a/service/kms/api.go +++ b/service/kms/api.go @@ -8691,7 +8691,7 @@ type CreateGrantInput struct { // in the Key Management Service Developer Guide. // // Operations is a required field - Operations []*string `type:"list" required:"true"` + Operations []*string `type:"list" required:"true" enum:"GrantOperation"` // The principal that has permission to use the RetireGrant operation to retire // the grant. @@ -12407,7 +12407,7 @@ type GetPublicKeyOutput struct { // // This field appears in the response only when the KeyUsage of the public key // is ENCRYPT_DECRYPT. - EncryptionAlgorithms []*string `type:"list"` + EncryptionAlgorithms []*string `type:"list" enum:"EncryptionAlgorithmSpec"` // The Amazon Resource Name (key ARN (https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id-key-ARN)) // of the asymmetric KMS key from which the public key was downloaded. @@ -12436,7 +12436,7 @@ type GetPublicKeyOutput struct { // // This field appears in the response only when the KeyUsage of the public key // is SIGN_VERIFY. - SigningAlgorithms []*string `type:"list"` + SigningAlgorithms []*string `type:"list" enum:"SigningAlgorithmSpec"` } // String returns the string representation. @@ -12603,7 +12603,7 @@ type GrantListEntry struct { Name *string `min:"1" type:"string"` // The list of operations permitted by the grant. - Operations []*string `type:"list"` + Operations []*string `type:"list" enum:"GrantOperation"` // The principal that can retire the grant. RetiringPrincipal *string `min:"1" type:"string"` @@ -13863,7 +13863,7 @@ type KeyMetadata struct { // key with other encryption algorithms within KMS. // // This value is present only when the KeyUsage of the KMS key is ENCRYPT_DECRYPT. - EncryptionAlgorithms []*string `type:"list"` + EncryptionAlgorithms []*string `type:"list" enum:"EncryptionAlgorithmSpec"` // Specifies whether the KMS key's key material expires. This value is present // only when Origin is EXTERNAL, otherwise this value is omitted. @@ -13944,7 +13944,7 @@ type KeyMetadata struct { // key with other signing algorithms within KMS. // // This field appears only when the KeyUsage of the KMS key is SIGN_VERIFY. - SigningAlgorithms []*string `type:"list"` + SigningAlgorithms []*string `type:"list" enum:"SigningAlgorithmSpec"` // The time at which the imported key material expires. When the key material // expires, KMS deletes the key material and the KMS key becomes unusable. This diff --git a/service/lakeformation/api.go b/service/lakeformation/api.go index ec4407b864a..f595db5beb9 100644 --- a/service/lakeformation/api.go +++ b/service/lakeformation/api.go @@ -5344,10 +5344,10 @@ type BatchPermissionsRequestEntry struct { Id *string `min:"1" type:"string" required:"true"` // The permissions to be granted. - Permissions []*string `type:"list"` + Permissions []*string `type:"list" enum:"Permission"` // Indicates if the option to pass permissions is granted. - PermissionsWithGrantOption []*string `type:"list"` + PermissionsWithGrantOption []*string `type:"list" enum:"Permission"` // The principal to be granted a permission. Principal *DataLakePrincipal `type:"structure"` @@ -8440,13 +8440,13 @@ type GetTemporaryGluePartitionCredentialsInput struct { // Filters the request based on the user having been granted a list of specified // permissions on the requested resource(s). - Permissions []*string `type:"list"` + Permissions []*string `type:"list" enum:"Permission"` // A list of supported permission types for the partition. Valid values are // COLUMN_PERMISSION and CELL_FILTER_PERMISSION. // // SupportedPermissionTypes is a required field - SupportedPermissionTypes []*string `min:"1" type:"list" required:"true"` + SupportedPermissionTypes []*string `min:"1" type:"list" required:"true" enum:"PermissionType"` // The ARN of the partitions' table. // @@ -8609,13 +8609,13 @@ type GetTemporaryGlueTableCredentialsInput struct { // Filters the request based on the user having been granted a list of specified // permissions on the requested resource(s). - Permissions []*string `type:"list"` + Permissions []*string `type:"list" enum:"Permission"` // A list of supported permission types for the table. Valid values are COLUMN_PERMISSION // and CELL_FILTER_PERMISSION. // // SupportedPermissionTypes is a required field - SupportedPermissionTypes []*string `min:"1" type:"list" required:"true"` + SupportedPermissionTypes []*string `min:"1" type:"list" required:"true" enum:"PermissionType"` // The ARN identifying a table in the Data Catalog for the temporary credentials // request. @@ -9079,12 +9079,12 @@ type GrantPermissionsInput struct { // Lake Formation resources. // // Permissions is a required field - Permissions []*string `type:"list" required:"true"` + Permissions []*string `type:"list" required:"true" enum:"Permission"` // Indicates a list of the granted permissions that the principal may pass to // other users. These permissions may only be a subset of the permissions granted // in the Privileges. - PermissionsWithGrantOption []*string `type:"list"` + PermissionsWithGrantOption []*string `type:"list" enum:"Permission"` // The principal to be granted the permissions on the resource. Supported principals // are IAM users or IAM roles, and they are defined by their principal type @@ -10751,7 +10751,7 @@ type PrincipalPermissions struct { _ struct{} `type:"structure"` // The permissions that are granted to the principal. - Permissions []*string `type:"list"` + Permissions []*string `type:"list" enum:"Permission"` // The principal who is granted permissions. Principal *DataLakePrincipal `type:"structure"` @@ -10811,11 +10811,11 @@ type PrincipalResourcePermissions struct { AdditionalDetails *DetailsMap `type:"structure"` // The permissions to be granted or revoked on the resource. - Permissions []*string `type:"list"` + Permissions []*string `type:"list" enum:"Permission"` // Indicates whether to grant the ability to grant permissions (as a subset // of permissions granted). - PermissionsWithGrantOption []*string `type:"list"` + PermissionsWithGrantOption []*string `type:"list" enum:"Permission"` // The Data Lake principal to be granted or revoked permissions. Principal *DataLakePrincipal `type:"structure"` @@ -11615,11 +11615,11 @@ type RevokePermissionsInput struct { // about permissions, see Security and Access Control to Metadata and Data (https://docs-aws.amazon.com/lake-formation/latest/dg/security-data-access.html). // // Permissions is a required field - Permissions []*string `type:"list" required:"true"` + Permissions []*string `type:"list" required:"true" enum:"Permission"` // Indicates a list of permissions for which to revoke the grant option allowing // the principal to pass permissions to other principals. - PermissionsWithGrantOption []*string `type:"list"` + PermissionsWithGrantOption []*string `type:"list" enum:"Permission"` // The principal to be revoked permissions on the resource. // diff --git a/service/lambda/api.go b/service/lambda/api.go index c0003120270..fa1af8e7ea1 100644 --- a/service/lambda/api.go +++ b/service/lambda/api.go @@ -7603,7 +7603,7 @@ type CreateEventSourceMappingInput struct { // (Streams and Amazon SQS) A list of current response type enums applied to // the event source mapping. - FunctionResponseTypes []*string `type:"list"` + FunctionResponseTypes []*string `type:"list" enum:"FunctionResponseType"` // (Streams and Amazon SQS standard queues) The maximum amount of time, in seconds, // that Lambda spends gathering records before invoking the function. @@ -7839,7 +7839,7 @@ type CreateFunctionInput struct { // The instruction set architecture that the function supports. Enter a string // array with one of the valid values (arm64 or x86_64). The default value is // x86_64. - Architectures []*string `min:"1" type:"list"` + Architectures []*string `min:"1" type:"list" enum:"Architecture"` // The code for the function. // @@ -9672,7 +9672,7 @@ type EventSourceMappingConfiguration struct { // (Streams only) A list of current response type enums applied to the event // source mapping. - FunctionResponseTypes []*string `type:"list"` + FunctionResponseTypes []*string `type:"list" enum:"FunctionResponseType"` // The date that the event source mapping was last updated or that its state // changed. @@ -10191,7 +10191,7 @@ type FunctionConfiguration struct { // The instruction set architecture that the function supports. Architecture // is a string array with one of the valid values. The default architecture // value is x86_64. - Architectures []*string `min:"1" type:"list"` + Architectures []*string `min:"1" type:"list" enum:"Architecture"` // The SHA256 hash of the function's deployment package. CodeSha256 *string `type:"string"` @@ -11466,10 +11466,10 @@ type GetLayerVersionByArnOutput struct { _ struct{} `type:"structure"` // A list of compatible instruction set architectures (https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html). - CompatibleArchitectures []*string `type:"list"` + CompatibleArchitectures []*string `type:"list" enum:"Architecture"` // The layer's compatible runtimes. - CompatibleRuntimes []*string `type:"list"` + CompatibleRuntimes []*string `type:"list" enum:"Runtime"` // Details about the layer version. Content *LayerVersionContentOutput `type:"structure"` @@ -11633,10 +11633,10 @@ type GetLayerVersionOutput struct { _ struct{} `type:"structure"` // A list of compatible instruction set architectures (https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html). - CompatibleArchitectures []*string `type:"list"` + CompatibleArchitectures []*string `type:"list" enum:"Architecture"` // The layer's compatible runtimes. - CompatibleRuntimes []*string `type:"list"` + CompatibleRuntimes []*string `type:"list" enum:"Runtime"` // Details about the layer version. Content *LayerVersionContentOutput `type:"structure"` @@ -13511,10 +13511,10 @@ type LayerVersionsListItem struct { _ struct{} `type:"structure"` // A list of compatible instruction set architectures (https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html). - CompatibleArchitectures []*string `type:"list"` + CompatibleArchitectures []*string `type:"list" enum:"Architecture"` // The layer's compatible runtimes. - CompatibleRuntimes []*string `type:"list"` + CompatibleRuntimes []*string `type:"list" enum:"Runtime"` // The date that the version was created, in ISO 8601 format. For example, 2018-11-27T15:10:45.123+0000. CreatedDate *string `type:"string"` @@ -15284,11 +15284,11 @@ type PublishLayerVersionInput struct { _ struct{} `type:"structure"` // A list of compatible instruction set architectures (https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html). - CompatibleArchitectures []*string `type:"list"` + CompatibleArchitectures []*string `type:"list" enum:"Architecture"` // A list of compatible function runtimes (https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html). // Used for filtering with ListLayers and ListLayerVersions. - CompatibleRuntimes []*string `type:"list"` + CompatibleRuntimes []*string `type:"list" enum:"Runtime"` // The function layer archive. // @@ -15396,10 +15396,10 @@ type PublishLayerVersionOutput struct { _ struct{} `type:"structure"` // A list of compatible instruction set architectures (https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html). - CompatibleArchitectures []*string `type:"list"` + CompatibleArchitectures []*string `type:"list" enum:"Architecture"` // The layer's compatible runtimes. - CompatibleRuntimes []*string `type:"list"` + CompatibleRuntimes []*string `type:"list" enum:"Runtime"` // Details about the layer version. Content *LayerVersionContentOutput `type:"structure"` @@ -17693,7 +17693,7 @@ type UpdateEventSourceMappingInput struct { // (Streams and Amazon SQS) A list of current response type enums applied to // the event source mapping. - FunctionResponseTypes []*string `type:"list"` + FunctionResponseTypes []*string `type:"list" enum:"FunctionResponseType"` // (Streams and Amazon SQS standard queues) The maximum amount of time, in seconds, // that Lambda spends gathering records before invoking the function. @@ -17879,7 +17879,7 @@ type UpdateFunctionCodeInput struct { // The instruction set architecture that the function supports. Enter a string // array with one of the valid values (arm64 or x86_64). The default value is // x86_64. - Architectures []*string `min:"1" type:"list"` + Architectures []*string `min:"1" type:"list" enum:"Architecture"` // Set to true to validate the request parameters and access permissions without // modifying the function code. diff --git a/service/lexmodelbuildingservice/api.go b/service/lexmodelbuildingservice/api.go index 590971c4247..e0ac8dbeb1e 100644 --- a/service/lexmodelbuildingservice/api.go +++ b/service/lexmodelbuildingservice/api.go @@ -5314,7 +5314,7 @@ type BuiltinIntentMetadata struct { Signature *string `locationName:"signature" type:"string"` // A list of identifiers for the locales that the intent supports. - SupportedLocales []*string `locationName:"supportedLocales" type:"list"` + SupportedLocales []*string `locationName:"supportedLocales" type:"list" enum:"Locale"` } // String returns the string representation. @@ -5389,7 +5389,7 @@ type BuiltinSlotTypeMetadata struct { Signature *string `locationName:"signature" type:"string"` // A list of target locales for the slot. - SupportedLocales []*string `locationName:"supportedLocales" type:"list"` + SupportedLocales []*string `locationName:"supportedLocales" type:"list" enum:"Locale"` } // String returns the string representation. @@ -8602,7 +8602,7 @@ type GetBuiltinIntentOutput struct { Slots []*BuiltinIntentSlot `locationName:"slots" type:"list"` // A list of locales that the intent supports. - SupportedLocales []*string `locationName:"supportedLocales" type:"list"` + SupportedLocales []*string `locationName:"supportedLocales" type:"list" enum:"Locale"` } // String returns the string representation. diff --git a/service/licensemanager/api.go b/service/licensemanager/api.go index 6a0d845f5dc..d0f01e408a4 100644 --- a/service/licensemanager/api.go +++ b/service/licensemanager/api.go @@ -5715,7 +5715,7 @@ type CreateGrantInput struct { // Allowed operations for the grant. // // AllowedOperations is a required field - AllowedOperations []*string `min:"1" type:"list" required:"true"` + AllowedOperations []*string `min:"1" type:"list" required:"true" enum:"AllowedOperation"` // Unique, case-sensitive identifier that you provide to ensure the idempotency // of the request. @@ -5885,7 +5885,7 @@ type CreateGrantVersionInput struct { _ struct{} `type:"structure"` // Allowed operations for the grant. - AllowedOperations []*string `min:"1" type:"list"` + AllowedOperations []*string `min:"1" type:"list" enum:"AllowedOperation"` // Unique, case-sensitive identifier that you provide to ensure the idempotency // of the request. @@ -6583,7 +6583,7 @@ type CreateLicenseManagerReportGeneratorInput struct { // for a license configuration. // // Type is a required field - Type []*string `type:"list" required:"true"` + Type []*string `type:"list" required:"true" enum:"ReportType"` } // String returns the string representation. @@ -9110,7 +9110,7 @@ type Grant struct { // Granted operations. // // GrantedOperations is a required field - GrantedOperations []*string `min:"1" type:"list" required:"true"` + GrantedOperations []*string `min:"1" type:"list" required:"true" enum:"AllowedOperation"` // The grantee principal ARN. // @@ -12681,7 +12681,7 @@ type ReceivedMetadata struct { _ struct{} `type:"structure"` // Allowed operations. - AllowedOperations []*string `min:"1" type:"list"` + AllowedOperations []*string `min:"1" type:"list" enum:"AllowedOperation"` // Received status. ReceivedStatus *string `type:"string" enum:"ReceivedStatus"` @@ -13012,7 +13012,7 @@ type ReportGenerator struct { ReportGeneratorName *string `type:"string"` // Type of reports that are generated. - ReportType []*string `type:"list"` + ReportType []*string `type:"list" enum:"ReportType"` // Details of the S3 bucket that report generator reports are published to. S3Location *S3Location `type:"structure"` @@ -13974,7 +13974,7 @@ type UpdateLicenseManagerReportGeneratorInput struct { // for a license configuration. // // Type is a required field - Type []*string `type:"list" required:"true"` + Type []*string `type:"list" required:"true" enum:"ReportType"` } // String returns the string representation. diff --git a/service/lightsail/api.go b/service/lightsail/api.go index 68beec47eb0..c0371328867 100644 --- a/service/lightsail/api.go +++ b/service/lightsail/api.go @@ -16848,7 +16848,7 @@ type Alarm struct { // The contact protocols for the alarm, such as Email, SMS (text messaging), // or both. - ContactProtocols []*string `locationName:"contactProtocols" type:"list"` + ContactProtocols []*string `locationName:"contactProtocols" type:"list" enum:"ContactProtocol"` // The timestamp when the alarm was created. CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"` @@ -16876,7 +16876,7 @@ type Alarm struct { NotificationEnabled *bool `locationName:"notificationEnabled" type:"boolean"` // The alarm states that trigger a notification. - NotificationTriggers []*string `locationName:"notificationTriggers" type:"list"` + NotificationTriggers []*string `locationName:"notificationTriggers" type:"list" enum:"AlarmState"` // The period, in seconds, over which the statistic is applied. Period *int64 `locationName:"period" min:"60" type:"integer"` @@ -18479,7 +18479,7 @@ type Bundle struct { // that the bundle supports. You can only launch a WINDOWS bundle on a blueprint // that supports the WINDOWS platform. LINUX_UNIX blueprints require a LINUX_UNIX // bundle. - SupportedPlatforms []*string `locationName:"supportedPlatforms" type:"list"` + SupportedPlatforms []*string `locationName:"supportedPlatforms" type:"list" enum:"InstancePlatform"` // The data transfer rate per month in GB (e.g., 2000). TransferPerMonthInGb *int64 `locationName:"transferPerMonthInGb" type:"integer"` @@ -28301,7 +28301,7 @@ type GetBucketMetricDataInput struct { // calculation. // // Statistics is a required field - Statistics []*string `locationName:"statistics" type:"list" required:"true"` + Statistics []*string `locationName:"statistics" type:"list" required:"true" enum:"MetricStatistic"` // The unit for the metric data request. // @@ -28671,7 +28671,7 @@ type GetCertificatesInput struct { // // When omitted, the response includes all of your certificates in the AWS Region // where the request is made, regardless of their current status. - CertificateStatuses []*string `locationName:"certificateStatuses" type:"list"` + CertificateStatuses []*string `locationName:"certificateStatuses" type:"list" enum:"CertificateStatus"` // Indicates whether to include detailed information about the certificates // in the response. @@ -28835,7 +28835,7 @@ type GetContactMethodsInput struct { // // Specify a protocol in your request to return information about a specific // contact method protocol. - Protocols []*string `locationName:"protocols" type:"list"` + Protocols []*string `locationName:"protocols" type:"list" enum:"ContactProtocol"` } // String returns the string representation. @@ -29365,7 +29365,7 @@ type GetContainerServiceMetricDataInput struct { // calculation. // // Statistics is a required field - Statistics []*string `locationName:"statistics" type:"list" required:"true"` + Statistics []*string `locationName:"statistics" type:"list" required:"true" enum:"MetricStatistic"` } // String returns the string representation. @@ -30182,7 +30182,7 @@ type GetDistributionMetricDataInput struct { // calculation. // // Statistics is a required field - Statistics []*string `locationName:"statistics" type:"list" required:"true"` + Statistics []*string `locationName:"statistics" type:"list" required:"true" enum:"MetricStatistic"` // The unit for the metric data request. // @@ -30909,7 +30909,7 @@ type GetInstanceMetricDataInput struct { // calculation. // // Statistics is a required field - Statistics []*string `locationName:"statistics" type:"list" required:"true"` + Statistics []*string `locationName:"statistics" type:"list" required:"true" enum:"MetricStatistic"` // The unit for the metric data request. Valid units depend on the metric data // being requested. For the valid units to specify with each available metric, @@ -31815,7 +31815,7 @@ type GetLoadBalancerMetricDataInput struct { // calculation. // // Statistics is a required field - Statistics []*string `locationName:"statistics" type:"list" required:"true"` + Statistics []*string `locationName:"statistics" type:"list" required:"true" enum:"MetricStatistic"` // The unit for the metric data request. Valid units depend on the metric data // being requested. For the valid units with each available metric, see the @@ -33290,7 +33290,7 @@ type GetRelationalDatabaseMetricDataInput struct { // calculation. // // Statistics is a required field - Statistics []*string `locationName:"statistics" type:"list" required:"true"` + Statistics []*string `locationName:"statistics" type:"list" required:"true" enum:"MetricStatistic"` // The unit for the metric data request. Valid units depend on the metric data // being requested. For the valid units with each available metric, see the @@ -33981,7 +33981,7 @@ type HeaderObject struct { _ struct{} `type:"structure"` // The specific headers to forward to your distribution's origin. - HeadersAllowList []*string `locationName:"headersAllowList" type:"list"` + HeadersAllowList []*string `locationName:"headersAllowList" type:"list" enum:"HeaderEnum"` // The headers that you want your distribution to forward to your origin and // base caching on. @@ -37828,7 +37828,7 @@ type PutAlarmInput struct { // // Use the CreateContactMethod action to configure a contact protocol in an // AWS Region. - ContactProtocols []*string `locationName:"contactProtocols" type:"list"` + ContactProtocols []*string `locationName:"contactProtocols" type:"list" enum:"ContactProtocol"` // The number of data points that must be not within the specified threshold // to trigger the alarm. If you are setting an "M out of N" alarm, this value @@ -37914,7 +37914,7 @@ type PutAlarmInput struct { // INSUFFICIENT_DATA state. // // The notification trigger defaults to ALARM if you don't specify this parameter. - NotificationTriggers []*string `locationName:"notificationTriggers" type:"list"` + NotificationTriggers []*string `locationName:"notificationTriggers" type:"list" enum:"AlarmState"` // The value against which the specified statistic is compared. // diff --git a/service/macie2/api.go b/service/macie2/api.go index ea8338742d3..b9869b1d92d 100644 --- a/service/macie2/api.go +++ b/service/macie2/api.go @@ -9068,7 +9068,7 @@ func (s *CreateMemberOutput) SetArn(v string) *CreateMemberOutput { type CreateSampleFindingsInput struct { _ struct{} `type:"structure"` - FindingTypes []*string `locationName:"findingTypes" type:"list"` + FindingTypes []*string `locationName:"findingTypes" type:"list" enum:"FindingType"` } // String returns the string representation. diff --git a/service/managedgrafana/api.go b/service/managedgrafana/api.go index e87b1edd92d..cd713571202 100644 --- a/service/managedgrafana/api.go +++ b/service/managedgrafana/api.go @@ -1449,7 +1449,7 @@ type AuthenticationDescription struct { // Grafana workspace. // // Providers is a required field - Providers []*string `locationName:"providers" type:"list" required:"true"` + Providers []*string `locationName:"providers" type:"list" required:"true" enum:"AuthenticationProviderTypes"` // A structure containing information about how this workspace works with SAML, // including what attributes within the assertion are to be mapped to user information @@ -1503,7 +1503,7 @@ type AuthenticationSummary struct { // methods for user authentication. // // Providers is a required field - Providers []*string `locationName:"providers" type:"list" required:"true"` + Providers []*string `locationName:"providers" type:"list" required:"true" enum:"AuthenticationProviderTypes"` // Specifies whether the workplace's user authentication method is fully configured. SamlConfigurationStatus *string `locationName:"samlConfigurationStatus" type:"string" enum:"SamlConfigurationStatus"` @@ -1666,7 +1666,7 @@ type CreateWorkspaceInput struct { // Grafana (https://docs.aws.amazon.com/grafana/latest/userguide/authentication-in-AMG.html). // // AuthenticationProviders is a required field - AuthenticationProviders []*string `locationName:"authenticationProviders" type:"list" required:"true"` + AuthenticationProviders []*string `locationName:"authenticationProviders" type:"list" required:"true" enum:"AuthenticationProviderTypes"` // A unique, case-sensitive, user-provided identifier to ensure the idempotency // of the request. @@ -1710,7 +1710,7 @@ type CreateWorkspaceInput struct { // If you don't specify a data source here, you can still add it as a data source // in the workspace console later. However, you will then have to manually configure // permissions for it. - WorkspaceDataSources []*string `locationName:"workspaceDataSources" type:"list"` + WorkspaceDataSources []*string `locationName:"workspaceDataSources" type:"list" enum:"DataSourceType"` // A description for the workspace. This is used only to help you identify this // workspace. @@ -1731,7 +1731,7 @@ type CreateWorkspaceInput struct { // in this workspace. Specifying these data sources here enables Amazon Managed // Grafana to create IAM roles and permissions that allow Amazon Managed Grafana // to use these channels. - WorkspaceNotificationDestinations []*string `locationName:"workspaceNotificationDestinations" type:"list"` + WorkspaceNotificationDestinations []*string `locationName:"workspaceNotificationDestinations" type:"list" enum:"NotificationDestinationType"` // Specifies the organizational units that this workspace is allowed to use // data sources from, if this workspace is in an account that is part of an @@ -3347,7 +3347,7 @@ type UpdateWorkspaceAuthenticationInput struct { // Grafana (https://docs.aws.amazon.com/grafana/latest/userguide/authentication-in-AMG.html). // // AuthenticationProviders is a required field - AuthenticationProviders []*string `locationName:"authenticationProviders" type:"list" required:"true"` + AuthenticationProviders []*string `locationName:"authenticationProviders" type:"list" required:"true" enum:"AuthenticationProviderTypes"` // If the workspace uses SAML, use this structure to map SAML assertion attributes // to workspace user information and define which groups in the assertion attribute @@ -3499,7 +3499,7 @@ type UpdateWorkspaceInput struct { // If you don't specify a data source here, you can still add it as a data source // later in the workspace console. However, you will then have to manually configure // permissions for it. - WorkspaceDataSources []*string `locationName:"workspaceDataSources" type:"list"` + WorkspaceDataSources []*string `locationName:"workspaceDataSources" type:"list" enum:"DataSourceType"` // A description for the workspace. This is used only to help you identify this // workspace. @@ -3525,7 +3525,7 @@ type UpdateWorkspaceInput struct { // in this workspace. Specifying these data sources here enables Amazon Managed // Grafana to create IAM roles and permissions that allow Amazon Managed Grafana // to use these channels. - WorkspaceNotificationDestinations []*string `locationName:"workspaceNotificationDestinations" type:"list"` + WorkspaceNotificationDestinations []*string `locationName:"workspaceNotificationDestinations" type:"list" enum:"NotificationDestinationType"` // Specifies the organizational units that this workspace is allowed to use // data sources from, if this workspace is in an account that is part of an @@ -3899,7 +3899,7 @@ type WorkspaceDescription struct { // to read data from these sources. // // DataSources is a required field - DataSources []*string `locationName:"dataSources" type:"list" required:"true"` + DataSources []*string `locationName:"dataSources" type:"list" required:"true" enum:"DataSourceType"` // The user-defined description of the workspace. // @@ -3954,7 +3954,7 @@ type WorkspaceDescription struct { // The Amazon Web Services notification channels that Amazon Managed Grafana // can automatically create IAM roles and permissions for, to allow Amazon Managed // Grafana to use these channels. - NotificationDestinations []*string `locationName:"notificationDestinations" type:"list"` + NotificationDestinations []*string `locationName:"notificationDestinations" type:"list" enum:"NotificationDestinationType"` // The name of the IAM role that is used to access resources through Organizations. // @@ -4200,7 +4200,7 @@ type WorkspaceSummary struct { // The Amazon Web Services notification channels that Amazon Managed Grafana // can automatically create IAM roles and permissions for, which allows Amazon // Managed Grafana to use these channels. - NotificationDestinations []*string `locationName:"notificationDestinations" type:"list"` + NotificationDestinations []*string `locationName:"notificationDestinations" type:"list" enum:"NotificationDestinationType"` // The current status of the workspace. // diff --git a/service/mediaconvert/api.go b/service/mediaconvert/api.go index 0451a3565f6..73fce29d6d9 100644 --- a/service/mediaconvert/api.go +++ b/service/mediaconvert/api.go @@ -13308,7 +13308,7 @@ type HlsGroupSettings struct { // Choose one or more ad marker types to decorate your Apple HLS manifest. This // setting does not determine whether SCTE-35 markers appear in the outputs // themselves. - AdMarkers []*string `locationName:"adMarkers" type:"list"` + AdMarkers []*string `locationName:"adMarkers" type:"list" enum:"HlsAdMarkers"` // By default, the service creates one top-level .m3u8 HLS manifest for each // HLS output group in your job. This default manifest references every output @@ -22443,7 +22443,7 @@ type TeletextDestinationSettings struct { // If you pass through the entire set of Teletext data, don't use this field. // When you pass through a set of Teletext pages, your output has the same page // types as your input. - PageTypes []*string `locationName:"pageTypes" type:"list"` + PageTypes []*string `locationName:"pageTypes" type:"list" enum:"TeletextPageType"` } // String returns the string representation. diff --git a/service/medialive/api.go b/service/medialive/api.go index 8ac021cd989..04194aaf48a 100644 --- a/service/medialive/api.go +++ b/service/medialive/api.go @@ -16888,7 +16888,7 @@ type HlsGroupSettings struct { // Choose one or more ad marker types to pass SCTE35 signals through to this // group of Apple HLS outputs. - AdMarkers []*string `locationName:"adMarkers" type:"list"` + AdMarkers []*string `locationName:"adMarkers" type:"list" enum:"HlsAdMarkers"` // A partial URI prefix that will be prepended to each output in the media .m3u8 // file. Can be used if base manifest is delivered from a different URL than @@ -25814,7 +25814,7 @@ type RtmpGroupSettings struct { // Choose the ad marker type for this output group. MediaLive will create a // message based on the content of each SCTE-35 message, format it for that // marker type, and insert it in the datastream. - AdMarkers []*string `locationName:"adMarkers" type:"list"` + AdMarkers []*string `locationName:"adMarkers" type:"list" enum:"RtmpAdMarkers"` // Authentication scheme to use when connecting with CDN AuthenticationScheme *string `locationName:"authenticationScheme" type:"string" enum:"AuthenticationScheme"` diff --git a/service/mediapackage/api.go b/service/mediapackage/api.go index e451a67aab4..4144b18a034 100644 --- a/service/mediapackage/api.go +++ b/service/mediapackage/api.go @@ -3107,7 +3107,7 @@ type DashPackage struct { // A list of SCTE-35 message types that are treated as ad markers in the output. // If empty, noad markers are output. Specify multiple items to create ad markers // for all of the includedmessage types. - AdTriggers []*string `locationName:"adTriggers" type:"list"` + AdTriggers []*string `locationName:"adTriggers" type:"list" enum:"__AdTriggersElement"` // This setting allows the delivery restriction flags on SCTE-35 segmentation // descriptors todetermine whether a message signals an ad. Choosing "NONE" @@ -3146,7 +3146,7 @@ type DashPackage struct { // into multiple periods. If empty, the content will notbe partitioned into // more than one period. If the list contains "ADS", new periods will be created // wherethe Channel source contains SCTE-35 ad markers. - PeriodTriggers []*string `locationName:"periodTriggers" type:"list"` + PeriodTriggers []*string `locationName:"periodTriggers" type:"list" enum:"__PeriodTriggersElement"` // The Dynamic Adaptive Streaming over HTTP (DASH) profile type. When set to // "HBBTV_1_5", HbbTV 1.5 compliant output is enabled. @@ -4441,7 +4441,7 @@ type HlsManifestCreateOrUpdateParameters struct { // A list of SCTE-35 message types that are treated as ad markers in the output. // If empty, noad markers are output. Specify multiple items to create ad markers // for all of the includedmessage types. - AdTriggers []*string `locationName:"adTriggers" type:"list"` + AdTriggers []*string `locationName:"adTriggers" type:"list" enum:"__AdTriggersElement"` // This setting allows the delivery restriction flags on SCTE-35 segmentation // descriptors todetermine whether a message signals an ad. Choosing "NONE" @@ -4589,7 +4589,7 @@ type HlsPackage struct { // A list of SCTE-35 message types that are treated as ad markers in the output. // If empty, noad markers are output. Specify multiple items to create ad markers // for all of the includedmessage types. - AdTriggers []*string `locationName:"adTriggers" type:"list"` + AdTriggers []*string `locationName:"adTriggers" type:"list" enum:"__AdTriggersElement"` // This setting allows the delivery restriction flags on SCTE-35 segmentation // descriptors todetermine whether a message signals an ad. Choosing "NONE" diff --git a/service/mediapackagevod/api.go b/service/mediapackagevod/api.go index 370899f3040..77b62dc232f 100644 --- a/service/mediapackagevod/api.go +++ b/service/mediapackagevod/api.go @@ -2786,7 +2786,7 @@ type DashPackage struct { // into multiple periods. If empty, the content will notbe partitioned into // more than one period. If the list contains "ADS", new periods will be created // wherethe Asset contains SCTE-35 ad markers. - PeriodTriggers []*string `locationName:"periodTriggers" type:"list"` + PeriodTriggers []*string `locationName:"periodTriggers" type:"list" enum:"PeriodTriggersElement"` // Duration (in seconds) of each segment. Actual segments will berounded to // the nearest multiple of the source segment duration. diff --git a/service/mediastore/api.go b/service/mediastore/api.go index e2484b700ba..71427d97de1 100644 --- a/service/mediastore/api.go +++ b/service/mediastore/api.go @@ -2278,7 +2278,7 @@ type CorsRule struct { // // Each CORS rule must contain at least one AllowedMethods and one AllowedOrigins // element. - AllowedMethods []*string `min:"1" type:"list"` + AllowedMethods []*string `min:"1" type:"list" enum:"MethodName"` // One or more response headers that you want users to be able to access from // their applications (for example, from a JavaScript XMLHttpRequest object). diff --git a/service/memorydb/api.go b/service/memorydb/api.go index f89c9a0a215..165652f49cd 100644 --- a/service/memorydb/api.go +++ b/service/memorydb/api.go @@ -6619,7 +6619,7 @@ type DescribeServiceUpdatesInput struct { ServiceUpdateName *string `type:"string"` // The status(es) of the service updates to filter on - Status []*string `type:"list"` + Status []*string `type:"list" enum:"ServiceUpdateStatus"` } // String returns the string representation. diff --git a/service/mgn/api.go b/service/mgn/api.go index 10747a6ce7c..c953fc321c8 100644 --- a/service/mgn/api.go +++ b/service/mgn/api.go @@ -4750,10 +4750,10 @@ type DescribeSourceServersRequestFilters struct { IsArchived *bool `locationName:"isArchived" type:"boolean"` // Request to filter Source Servers list by life cycle states. - LifeCycleStates []*string `locationName:"lifeCycleStates" type:"list"` + LifeCycleStates []*string `locationName:"lifeCycleStates" type:"list" enum:"LifeCycleState"` // Request to filter Source Servers list by replication type. - ReplicationTypes []*string `locationName:"replicationTypes" type:"list"` + ReplicationTypes []*string `locationName:"replicationTypes" type:"list" enum:"ReplicationType"` // Request to filter Source Servers list by Source Server ID. SourceServerIDs []*string `locationName:"sourceServerIDs" type:"list"` diff --git a/service/migrationhubrefactorspaces/api.go b/service/migrationhubrefactorspaces/api.go index f1f4d4dc5cf..dbf53264ccc 100644 --- a/service/migrationhubrefactorspaces/api.go +++ b/service/migrationhubrefactorspaces/api.go @@ -5744,7 +5744,7 @@ type GetRouteOutput struct { // A list of HTTP methods to match. An empty list matches all values. If a method // is present, only HTTP requests using that method are forwarded to this route’s // service. - Methods []*string `type:"list"` + Methods []*string `type:"list" enum:"HttpMethod"` // The Amazon Web Services account ID of the route owner. OwnerAccountId *string `min:"12" type:"string"` @@ -7282,7 +7282,7 @@ type RouteSummary struct { // A list of HTTP methods to match. An empty list matches all values. If a method // is present, only HTTP requests using that method are forwarded to this route’s // service. - Methods []*string `type:"list"` + Methods []*string `type:"list" enum:"HttpMethod"` // The Amazon Web Services account ID of the route owner. OwnerAccountId *string `min:"12" type:"string"` @@ -7969,7 +7969,7 @@ type UriPathRouteInput_ struct { // A list of HTTP methods to match. An empty list matches all values. If a method // is present, only HTTP requests using that method are forwarded to this route’s // service. - Methods []*string `type:"list"` + Methods []*string `type:"list" enum:"HttpMethod"` // The path to use to match traffic. Paths must start with / and are relative // to the base of the application. diff --git a/service/migrationhubstrategyrecommendations/api.go b/service/migrationhubstrategyrecommendations/api.go index 2c95b03c155..12d94f4709b 100644 --- a/service/migrationhubstrategyrecommendations/api.go +++ b/service/migrationhubstrategyrecommendations/api.go @@ -2712,7 +2712,7 @@ type AwsManagedResources struct { // The choice of application destination that you specify. // // TargetDestination is a required field - TargetDestination []*string `locationName:"targetDestination" min:"1" type:"list" required:"true"` + TargetDestination []*string `locationName:"targetDestination" min:"1" type:"list" required:"true" enum:"AwsManagedTargetDestination"` } // String returns the string representation. @@ -4154,7 +4154,7 @@ type Heterogeneous struct { // The target database engine for heterogeneous database migration preference. // // TargetDatabaseEngine is a required field - TargetDatabaseEngine []*string `locationName:"targetDatabaseEngine" min:"1" type:"list" required:"true"` + TargetDatabaseEngine []*string `locationName:"targetDatabaseEngine" min:"1" type:"list" required:"true" enum:"HeterogeneousTargetDatabaseEngine"` } // String returns the string representation. @@ -4202,7 +4202,7 @@ type Homogeneous struct { _ struct{} `type:"structure"` // The target database engine for homogeneous database migration preferences. - TargetDatabaseEngine []*string `locationName:"targetDatabaseEngine" type:"list"` + TargetDatabaseEngine []*string `locationName:"targetDatabaseEngine" type:"list" enum:"HomogeneousTargetDatabaseEngine"` } // String returns the string representation. @@ -4987,7 +4987,7 @@ type NoDatabaseMigrationPreference struct { // The target database engine for database migration preference that you specify. // // TargetDatabaseEngine is a required field - TargetDatabaseEngine []*string `locationName:"targetDatabaseEngine" min:"1" type:"list" required:"true"` + TargetDatabaseEngine []*string `locationName:"targetDatabaseEngine" min:"1" type:"list" required:"true" enum:"TargetDatabaseEngine"` } // String returns the string representation. @@ -5037,7 +5037,7 @@ type NoManagementPreference struct { // The choice of application destination that you specify. // // TargetDestination is a required field - TargetDestination []*string `locationName:"targetDestination" min:"1" type:"list" required:"true"` + TargetDestination []*string `locationName:"targetDestination" min:"1" type:"list" required:"true" enum:"NoPreferenceTargetDestination"` } // String returns the string representation. @@ -5503,7 +5503,7 @@ type SelfManageResources struct { // Self-managed resources target destination. // // TargetDestination is a required field - TargetDestination []*string `locationName:"targetDestination" min:"1" type:"list" required:"true"` + TargetDestination []*string `locationName:"targetDestination" min:"1" type:"list" required:"true" enum:"SelfManageTargetDestination"` } // String returns the string representation. diff --git a/service/mobile/api.go b/service/mobile/api.go index 2f8d660d998..74e04935825 100644 --- a/service/mobile/api.go +++ b/service/mobile/api.go @@ -1154,7 +1154,7 @@ type BundleDetails struct { _ struct{} `type:"structure"` // Developer desktop or mobile app or website platforms. - AvailablePlatforms []*string `locationName:"availablePlatforms" type:"list"` + AvailablePlatforms []*string `locationName:"availablePlatforms" type:"list" enum:"Platform"` // Unique bundle identifier. BundleId *string `locationName:"bundleId" type:"string"` diff --git a/service/mq/api.go b/service/mq/api.go index 2506a1eaa2d..1fc2a2cb3de 100644 --- a/service/mq/api.go +++ b/service/mq/api.go @@ -2258,7 +2258,7 @@ type BrokerInstanceOption struct { StorageType *string `locationName:"storageType" type:"string" enum:"BrokerStorageType"` // The list of supported deployment modes. - SupportedDeploymentModes []*string `locationName:"supportedDeploymentModes" type:"list"` + SupportedDeploymentModes []*string `locationName:"supportedDeploymentModes" type:"list" enum:"DeploymentMode"` // The list of supported engine versions. SupportedEngineVersions []*string `locationName:"supportedEngineVersions" type:"list"` diff --git a/service/mturk/api.go b/service/mturk/api.go index f74c43ef72e..2256847e096 100644 --- a/service/mturk/api.go +++ b/service/mturk/api.go @@ -6853,7 +6853,7 @@ type ListAssignmentsForHITInput struct { _ struct{} `type:"structure"` // The status of the assignments to return: Submitted | Approved | Rejected - AssignmentStatuses []*string `type:"list"` + AssignmentStatuses []*string `type:"list" enum:"AssignmentStatus"` // The ID of the HIT. // @@ -7639,7 +7639,7 @@ type ListReviewPolicyResultsForHITInput struct { // The Policy Level(s) to retrieve review results for - HIT or Assignment. If // omitted, the default behavior is to retrieve all data for both policy levels. // For a list of all the described policies, see Review Policies. - PolicyLevels []*string `type:"list"` + PolicyLevels []*string `type:"list" enum:"ReviewPolicyLevel"` // Specify if the operation should retrieve a list of the actions taken executing // the Review Policies and their outcomes. @@ -8266,7 +8266,7 @@ type NotificationSpecification struct { // SendTestEventNotification operation. // // EventTypes is a required field - EventTypes []*string `type:"list" required:"true"` + EventTypes []*string `type:"list" required:"true" enum:"EventType"` // The method Amazon Mechanical Turk uses to send the notification. Valid Values: // Email | SQS | SNS. diff --git a/service/networkfirewall/api.go b/service/networkfirewall/api.go index 4c509876c81..23961381374 100644 --- a/service/networkfirewall/api.go +++ b/service/networkfirewall/api.go @@ -9239,7 +9239,7 @@ type RulesSourceList struct { // for HTTP. You can specify either or both. // // TargetTypes is a required field - TargetTypes []*string `type:"list" required:"true"` + TargetTypes []*string `type:"list" required:"true" enum:"TargetType"` // The domains that you want to inspect for in your traffic flows. Valid domain // specifications are the following: @@ -9978,11 +9978,11 @@ type TCPFlagField struct { // in the packet. // // Flags is a required field - Flags []*string `type:"list" required:"true"` + Flags []*string `type:"list" required:"true" enum:"TCPFlag"` // The set of flags to consider in the inspection. To inspect all flags in the // valid values list, leave this with no setting. - Masks []*string `type:"list"` + Masks []*string `type:"list" enum:"TCPFlag"` } // String returns the string representation. diff --git a/service/networkmanager/api.go b/service/networkmanager/api.go index 69f3fbf347c..f4bbd9621c2 100644 --- a/service/networkmanager/api.go +++ b/service/networkmanager/api.go @@ -15609,7 +15609,7 @@ type GetNetworkRoutesInput struct { RouteTableIdentifier *RouteTableIdentifier `type:"structure" required:"true"` // The route states. - States []*string `type:"list"` + States []*string `type:"list" enum:"RouteState"` // The routes with a subnet that match the specified CIDR filter. SubnetOfMatches []*string `type:"list"` @@ -15619,7 +15619,7 @@ type GetNetworkRoutesInput struct { SupernetOfMatches []*string `type:"list"` // The route types. - Types []*string `type:"list"` + Types []*string `type:"list" enum:"RouteType"` } // String returns the string representation. diff --git a/service/nimblestudio/api.go b/service/nimblestudio/api.go index d83cb648527..12442a11d42 100644 --- a/service/nimblestudio/api.go +++ b/service/nimblestudio/api.go @@ -9806,7 +9806,7 @@ type ListLaunchProfilesInput struct { PrincipalId *string `location:"querystring" locationName:"principalId" type:"string"` // Filter this request to launch profiles in any of the given states. - States []*string `location:"querystring" locationName:"states" type:"list"` + States []*string `location:"querystring" locationName:"states" type:"list" enum:"LaunchProfileState"` // The studio ID. // @@ -10163,7 +10163,7 @@ type ListStudioComponentsInput struct { NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // Filters the request to studio components that are in one of the given states. - States []*string `location:"querystring" locationName:"states" type:"list"` + States []*string `location:"querystring" locationName:"states" type:"list" enum:"StudioComponentState"` // The studio ID. // @@ -10171,7 +10171,7 @@ type ListStudioComponentsInput struct { StudioId *string `location:"uri" locationName:"studioId" type:"string" required:"true"` // Filters the request to studio components that are of one of the given types. - Types []*string `location:"querystring" locationName:"types" type:"list"` + Types []*string `location:"querystring" locationName:"types" type:"list" enum:"StudioComponentType"` } // String returns the string representation. @@ -11555,7 +11555,7 @@ type StreamConfiguration struct { // session with this launch profile. // // Ec2InstanceTypes is a required field - Ec2InstanceTypes []*string `locationName:"ec2InstanceTypes" min:"1" type:"list" required:"true"` + Ec2InstanceTypes []*string `locationName:"ec2InstanceTypes" min:"1" type:"list" required:"true" enum:"StreamingInstanceType"` // The length of time, in minutes, that a streaming session can be active before // it is stopped or terminated. After this point, Nimble Studio automatically @@ -11656,7 +11656,7 @@ type StreamConfigurationCreate struct { // session with this launch profile. // // Ec2InstanceTypes is a required field - Ec2InstanceTypes []*string `locationName:"ec2InstanceTypes" min:"1" type:"list" required:"true"` + Ec2InstanceTypes []*string `locationName:"ec2InstanceTypes" min:"1" type:"list" required:"true" enum:"StreamingInstanceType"` // The length of time, in minutes, that a streaming session can be active before // it is stopped or terminated. After this point, Nimble Studio automatically @@ -11785,7 +11785,7 @@ type StreamConfigurationSessionStorage struct { // is UPLOAD. // // Mode is a required field - Mode []*string `locationName:"mode" min:"1" type:"list" required:"true"` + Mode []*string `locationName:"mode" min:"1" type:"list" required:"true" enum:"StreamingSessionStorageMode"` // The configuration for the upload storage root of the streaming session. Root *StreamingSessionStorageRoot `locationName:"root" type:"structure"` diff --git a/service/organizations/api.go b/service/organizations/api.go index 86a7f301371..85624fc1253 100644 --- a/service/organizations/api.go +++ b/service/organizations/api.go @@ -20478,7 +20478,7 @@ type ListCreateAccountStatusInput struct { // A list of one or more states that you want included in the response. If this // parameter isn't present, all requests are included in the response. - States []*string `type:"list"` + States []*string `type:"list" enum:"CreateAccountState"` } // String returns the string representation. diff --git a/service/outposts/api.go b/service/outposts/api.go index 8837035f52d..efdb81c7a56 100644 --- a/service/outposts/api.go +++ b/service/outposts/api.go @@ -2652,7 +2652,7 @@ type CatalogItem struct { PowerKva *float64 `type:"float"` // The supported storage options for the catalog item. - SupportedStorage []*string `type:"list"` + SupportedStorage []*string `type:"list" enum:"SupportedStorageEnum"` // The uplink speed this catalog item requires for the connection to the Region. SupportedUplinkGbps []*int64 `type:"list"` @@ -4214,7 +4214,7 @@ type ListCatalogItemsInput struct { // Filter values are case sensitive. If you specify multiple values for a filter, // the values are joined with an OR, and the request returns all results that // match any of the specified values. - ItemClassFilter []*string `location:"querystring" locationName:"ItemClassFilter" type:"list"` + ItemClassFilter []*string `location:"querystring" locationName:"ItemClassFilter" type:"list" enum:"CatalogItemClass"` // The maximum page size. MaxResults *int64 `location:"querystring" locationName:"MaxResults" min:"1" type:"integer"` @@ -4227,7 +4227,7 @@ type ListCatalogItemsInput struct { // Filter values are case sensitive. If you specify multiple values for a filter, // the values are joined with an OR, and the request returns all results that // match any of the specified values. - SupportedStorageFilter []*string `location:"querystring" locationName:"SupportedStorageFilter" type:"list"` + SupportedStorageFilter []*string `location:"querystring" locationName:"SupportedStorageFilter" type:"list" enum:"SupportedStorageEnum"` } // String returns the string representation. diff --git a/service/pinpoint/api.go b/service/pinpoint/api.go index 1f5a2427cc2..3c041bb26df 100644 --- a/service/pinpoint/api.go +++ b/service/pinpoint/api.go @@ -17595,7 +17595,7 @@ type CustomDeliveryConfiguration struct { // The types of endpoints to send the campaign or treatment to. Each valid value // maps to a type of channel that you can associate with an endpoint by using // the ChannelType property of an endpoint. - EndpointTypes []*string `type:"list"` + EndpointTypes []*string `type:"list" enum:"EndpointTypesElement"` } // String returns the string representation. @@ -17660,7 +17660,7 @@ type CustomMessageActivity struct { // The types of endpoints to send the custom message to. Each valid value maps // to a type of channel that you can associate with an endpoint by using the // ChannelType property of an endpoint. - EndpointTypes []*string `type:"list"` + EndpointTypes []*string `type:"list" enum:"EndpointTypesElement"` // Specifies the message data included in a custom channel message that's sent // to participants in a journey. diff --git a/service/pinpointemail/api.go b/service/pinpointemail/api.go index be7a6011e0d..3054d1f9648 100644 --- a/service/pinpointemail/api.go +++ b/service/pinpointemail/api.go @@ -6514,7 +6514,7 @@ type EventDestination struct { // The types of events that Amazon Pinpoint sends to the specified event destinations. // // MatchingEventTypes is a required field - MatchingEventTypes []*string `type:"list" required:"true"` + MatchingEventTypes []*string `type:"list" required:"true" enum:"EventType"` // A name that identifies the event destination. // @@ -6617,7 +6617,7 @@ type EventDestinationDefinition struct { // An array that specifies which events Amazon Pinpoint should send to the destinations // in this EventDestinationDefinition. - MatchingEventTypes []*string `type:"list"` + MatchingEventTypes []*string `type:"list" enum:"EventType"` // An object that defines a Amazon Pinpoint destination for email events. You // can use Amazon Pinpoint events to create attributes in Amazon Pinpoint projects. diff --git a/service/pinpointsmsvoice/api.go b/service/pinpointsmsvoice/api.go index c43af374beb..6f03dfd4b41 100644 --- a/service/pinpointsmsvoice/api.go +++ b/service/pinpointsmsvoice/api.go @@ -1272,7 +1272,7 @@ type EventDestination struct { // An array of EventDestination objects. Each EventDestination object includes // ARNs and other information that define an event destination. - MatchingEventTypes []*string `type:"list"` + MatchingEventTypes []*string `type:"list" enum:"EventType"` // A name that identifies the event destination configuration. Name *string `type:"string"` @@ -1355,7 +1355,7 @@ type EventDestinationDefinition struct { // An array of EventDestination objects. Each EventDestination object includes // ARNs and other information that define an event destination. - MatchingEventTypes []*string `type:"list"` + MatchingEventTypes []*string `type:"list" enum:"EventType"` // An object that contains information about an event destination that sends // data to Amazon SNS. diff --git a/service/polly/api.go b/service/polly/api.go index c70e627b5c7..86e66908f79 100644 --- a/service/polly/api.go +++ b/service/polly/api.go @@ -2919,7 +2919,7 @@ type StartSpeechSynthesisTaskInput struct { SnsTopicArn *string `type:"string"` // The type of speech marks returned for the input text. - SpeechMarkTypes []*string `type:"list"` + SpeechMarkTypes []*string `type:"list" enum:"SpeechMarkType"` // The input text to synthesize. If you specify ssml as the TextType, follow // the SSML format for the input text. @@ -3133,7 +3133,7 @@ type SynthesisTask struct { SnsTopicArn *string `type:"string"` // The type of speech marks returned for the input text. - SpeechMarkTypes []*string `type:"list"` + SpeechMarkTypes []*string `type:"list" enum:"SpeechMarkType"` // The Amazon Polly generated identifier for a speech synthesis task. TaskId *string `type:"string"` @@ -3388,7 +3388,7 @@ type SynthesizeSpeechInput struct { SampleRate *string `type:"string"` // The type of speech marks returned for the input text. - SpeechMarkTypes []*string `type:"list"` + SpeechMarkTypes []*string `type:"list" enum:"SpeechMarkType"` // Input text to synthesize. If you specify ssml as the TextType, follow the // SSML format for the input text. @@ -3769,7 +3769,7 @@ type Voice struct { // For example, the default language for Aditi is Indian English (en-IN) because // it was first used for that language. Since Aditi is bilingual and fluent // in both Indian English and Hindi, this parameter would show the code hi-IN. - AdditionalLanguageCodes []*string `type:"list"` + AdditionalLanguageCodes []*string `type:"list" enum:"LanguageCode"` // Gender of the voice. Gender *string `type:"string" enum:"Gender"` @@ -3790,7 +3790,7 @@ type Voice struct { // Specifies which engines (standard or neural) that are supported by a given // voice. - SupportedEngines []*string `type:"list"` + SupportedEngines []*string `type:"list" enum:"Engine"` } // String returns the string representation. diff --git a/service/proton/api.go b/service/proton/api.go index 373c30e99e6..32f07d19883 100644 --- a/service/proton/api.go +++ b/service/proton/api.go @@ -13149,7 +13149,7 @@ type ListEnvironmentAccountConnectionsInput struct { RequestedBy *string `locationName:"requestedBy" type:"string" required:"true" enum:"EnvironmentAccountConnectionRequesterAccountType"` // The status details for each listed environment account connection. - Statuses []*string `locationName:"statuses" type:"list"` + Statuses []*string `locationName:"statuses" type:"list" enum:"EnvironmentAccountConnectionStatus"` } // String returns the string representation. diff --git a/service/quicksight/api.go b/service/quicksight/api.go index 663e20716b0..9afa57348d7 100644 --- a/service/quicksight/api.go +++ b/service/quicksight/api.go @@ -37468,7 +37468,7 @@ type UntagColumnOperation struct { // The column tags to remove from this column. // // TagNames is a required field - TagNames []*string `type:"list" required:"true"` + TagNames []*string `type:"list" required:"true" enum:"ColumnTagName"` } // String returns the string representation. diff --git a/service/rekognition/api.go b/service/rekognition/api.go index 0c7fe28c7a3..0d7cd377761 100644 --- a/service/rekognition/api.go +++ b/service/rekognition/api.go @@ -11302,7 +11302,7 @@ type DetectFacesInput struct { // // If you provide both, ["ALL", "DEFAULT"], the service uses a logical AND operator // to determine which attributes to return (in this case, all attributes). - Attributes []*string `type:"list"` + Attributes []*string `type:"list" enum:"Attribute"` // The input image as base64-encoded bytes or an S3 object. If you use the AWS // CLI to call Amazon Rekognition operations, passing base64-encoded image bytes @@ -14520,7 +14520,7 @@ type HumanLoopDataAttributes struct { _ struct{} `type:"structure"` // Sets whether the input image is free of personally identifiable information. - ContentClassifiers []*string `type:"list"` + ContentClassifiers []*string `type:"list" enum:"ContentClassifier"` } // String returns the string representation. @@ -14899,7 +14899,7 @@ type IndexFacesInput struct { // // If you provide both, ["ALL", "DEFAULT"], the service uses a logical AND operator // to determine which attributes to return (in this case, all attributes). - DetectionAttributes []*string `type:"list"` + DetectionAttributes []*string `type:"list" enum:"Attribute"` // The ID you want to assign to all the faces detected in the image. ExternalImageId *string `min:"1" type:"string"` @@ -17393,7 +17393,7 @@ type ProtectiveEquipmentSummarizationAttributes struct { // returned in ProtectiveEquipmentSummary by DetectProtectiveEquipment. // // RequiredEquipmentTypes is a required field - RequiredEquipmentTypes []*string `type:"list" required:"true"` + RequiredEquipmentTypes []*string `type:"list" required:"true" enum:"ProtectiveEquipmentType"` } // String returns the string representation. @@ -19770,7 +19770,7 @@ type StartSegmentDetectionInput struct { // and SHOT. // // SegmentTypes is a required field - SegmentTypes []*string `min:"1" type:"list" required:"true"` + SegmentTypes []*string `min:"1" type:"list" required:"true" enum:"SegmentType"` // Video file stored in an Amazon S3 bucket. Amazon Rekognition video start // operations such as StartLabelDetection use Video to specify a video for analysis. @@ -21261,7 +21261,7 @@ type UnindexedFace struct { // * LOW_CONFIDENCE - The face was detected with a low confidence. // // * SMALL_BOUNDING_BOX - The bounding box around the face is too small. - Reasons []*string `type:"list"` + Reasons []*string `type:"list" enum:"Reason"` } // String returns the string representation. diff --git a/service/resiliencehub/api.go b/service/resiliencehub/api.go index 8631cd20207..3e87fdb2ea7 100644 --- a/service/resiliencehub/api.go +++ b/service/resiliencehub/api.go @@ -6127,7 +6127,7 @@ type CreateRecommendationTemplateInput struct { // Test // // The template is a TestRecommendation template. - RecommendationTypes []*string `locationName:"recommendationTypes" min:"1" type:"list"` + RecommendationTypes []*string `locationName:"recommendationTypes" min:"1" type:"list" enum:"RenderRecommendationType"` // The tags assigned to the resource. A tag is a label that you assign to an // Amazon Web Services resource. Each tag consists of a key/value pair. @@ -8012,7 +8012,7 @@ type ListAppAssessmentsInput struct { AssessmentName *string `location:"querystring" locationName:"assessmentName" type:"string"` // The current status of the assessment for the resiliency policy. - AssessmentStatus []*string `location:"querystring" locationName:"assessmentStatus" min:"1" type:"list"` + AssessmentStatus []*string `location:"querystring" locationName:"assessmentStatus" min:"1" type:"list" enum:"AssessmentStatus"` // The current status of compliance for the resiliency policy. ComplianceStatus *string `location:"querystring" locationName:"complianceStatus" type:"string" enum:"ComplianceStatus"` @@ -8937,7 +8937,7 @@ type ListRecommendationTemplatesInput struct { ReverseOrder *bool `location:"querystring" locationName:"reverseOrder" type:"boolean"` // The status of the action. - Status []*string `location:"querystring" locationName:"status" min:"1" type:"list"` + Status []*string `location:"querystring" locationName:"status" min:"1" type:"list" enum:"RecommendationTemplateStatus"` } // String returns the string representation. @@ -10347,7 +10347,7 @@ type RecommendationTemplate struct { // The template is a TestRecommendation template. // // RecommendationTypes is a required field - RecommendationTypes []*string `locationName:"recommendationTypes" min:"1" type:"list" required:"true"` + RecommendationTypes []*string `locationName:"recommendationTypes" min:"1" type:"list" required:"true" enum:"RenderRecommendationType"` // The start time for the action. StartTime *time.Time `locationName:"startTime" type:"timestamp"` diff --git a/service/resourcegroupstaggingapi/api.go b/service/resourcegroupstaggingapi/api.go index 7f159aac6ad..00fbc2c98d5 100644 --- a/service/resourcegroupstaggingapi/api.go +++ b/service/resourcegroupstaggingapi/api.go @@ -1580,7 +1580,7 @@ type GetComplianceSummaryInput struct { // Specifies a list of attributes to group the counts of noncompliant resources // by. If supplied, the counts are sorted by those attributes. - GroupBy []*string `type:"list"` + GroupBy []*string `type:"list" enum:"GroupByAttribute"` // Specifies the maximum number of results to be returned in each page. A query // can return fewer than this maximum, even if there are more results still diff --git a/service/route53/api.go b/service/route53/api.go index a9cd090c80b..a690f5f74dd 100644 --- a/service/route53/api.go +++ b/service/route53/api.go @@ -12812,7 +12812,7 @@ type HealthCheckConfig struct { // health checks, Route 53 will briefly continue to perform checks from that // region to ensure that some health checkers are always checking the endpoint // (for example, if you replace three regions with four different regions). - Regions []*string `locationNameList:"Region" min:"3" type:"list"` + Regions []*string `locationNameList:"Region" min:"3" type:"list" enum:"HealthCheckRegion"` // The number of seconds between the time that Amazon Route 53 gets a response // from your endpoint and the time that it sends the next health check request. @@ -17919,7 +17919,7 @@ type UpdateHealthCheckInput struct { // A complex type that contains one Region element for each region that you // want Amazon Route 53 health checkers to check the specified endpoint from. - Regions []*string `locationNameList:"Region" min:"3" type:"list"` + Regions []*string `locationNameList:"Region" min:"3" type:"list" enum:"HealthCheckRegion"` // A complex type that contains one ResettableElementName element for each element // that you want to reset to the default value. Valid values for ResettableElementName @@ -17936,7 +17936,7 @@ type UpdateHealthCheckInput struct { // // * ResourcePath: Route 53 resets ResourcePath (https://docs.aws.amazon.com/Route53/latest/APIReference/API_HealthCheckConfig.html#Route53-Type-HealthCheckConfig-ResourcePath) // to null. - ResetElements []*string `locationNameList:"ResettableElementName" type:"list"` + ResetElements []*string `locationNameList:"ResettableElementName" type:"list" enum:"ResettableElementName"` // The path that you want Amazon Route 53 to request when performing health // checks. The path can be any value for which your endpoint will return an diff --git a/service/s3/api.go b/service/s3/api.go index 49fc9545647..2ecfb941690 100644 --- a/service/s3/api.go +++ b/service/s3/api.go @@ -12633,7 +12633,7 @@ type CloudFunctionConfiguration struct { Event *string `deprecated:"true" type:"string" enum:"Event"` // Bucket events for which to send notifications. - Events []*string `locationName:"Event" type:"list" flattened:"true"` + Events []*string `locationName:"Event" type:"list" flattened:"true" enum:"Event"` // An optional unique identifier for configurations in a notification configuration. // If you don't provide one, Amazon S3 will assign an ID. @@ -21627,7 +21627,7 @@ type GetObjectAttributesInput struct { // in the response. Fields that you do not specify are not returned. // // ObjectAttributes is a required field - ObjectAttributes []*string `location:"header" locationName:"x-amz-object-attributes" type:"list" required:"true"` + ObjectAttributes []*string `location:"header" locationName:"x-amz-object-attributes" type:"list" required:"true" enum:"ObjectAttributes"` // Specifies the part after which listing should begin. Only parts with higher // part numbers will be listed. @@ -25167,7 +25167,7 @@ type InventoryConfiguration struct { IsEnabled *bool `type:"boolean" required:"true"` // Contains the optional fields that are included in the inventory results. - OptionalFields []*string `locationNameList:"Field" type:"list"` + OptionalFields []*string `locationNameList:"Field" type:"list" enum:"InventoryOptionalField"` // Specifies the schedule for generating inventory results. // @@ -25694,7 +25694,7 @@ type LambdaFunctionConfiguration struct { // in the Amazon S3 User Guide. // // Events is a required field - Events []*string `locationName:"Event" type:"list" flattened:"true" required:"true"` + Events []*string `locationName:"Event" type:"list" flattened:"true" required:"true" enum:"Event"` // Specifies object key name filtering rules. For information about key name // filtering, see Configuring Event Notifications (https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html) @@ -29643,7 +29643,7 @@ type Object struct { _ struct{} `type:"structure"` // The algorithm that was used to create a checksum of the object. - ChecksumAlgorithm []*string `type:"list" flattened:"true"` + ChecksumAlgorithm []*string `type:"list" flattened:"true" enum:"ChecksumAlgorithm"` // The entity tag is a hash of the object. The ETag reflects changes only to // the contents of an object, not its metadata. The ETag may or may not be an @@ -30060,7 +30060,7 @@ type ObjectVersion struct { _ struct{} `type:"structure"` // The algorithm that was used to create a checksum of the object. - ChecksumAlgorithm []*string `type:"list" flattened:"true"` + ChecksumAlgorithm []*string `type:"list" flattened:"true" enum:"ChecksumAlgorithm"` // The entity tag is an MD5 hash of that version of the object. ETag *string `type:"string"` @@ -36025,7 +36025,7 @@ type QueueConfiguration struct { // A collection of bucket events for which to send notifications // // Events is a required field - Events []*string `locationName:"Event" type:"list" flattened:"true" required:"true"` + Events []*string `locationName:"Event" type:"list" flattened:"true" required:"true" enum:"Event"` // Specifies object key name filtering rules. For information about key name // filtering, see Configuring Event Notifications (https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html) @@ -36114,7 +36114,7 @@ type QueueConfigurationDeprecated struct { Event *string `deprecated:"true" type:"string" enum:"Event"` // A collection of bucket events for which to send notifications. - Events []*string `locationName:"Event" type:"list" flattened:"true"` + Events []*string `locationName:"Event" type:"list" flattened:"true" enum:"Event"` // An optional unique identifier for configurations in a notification configuration. // If you don't provide one, Amazon S3 will assign an ID. @@ -39062,7 +39062,7 @@ type TopicConfiguration struct { // in the Amazon S3 User Guide. // // Events is a required field - Events []*string `locationName:"Event" type:"list" flattened:"true" required:"true"` + Events []*string `locationName:"Event" type:"list" flattened:"true" required:"true" enum:"Event"` // Specifies object key name filtering rules. For information about key name // filtering, see Configuring Event Notifications (https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html) @@ -39152,7 +39152,7 @@ type TopicConfigurationDeprecated struct { Event *string `deprecated:"true" type:"string" enum:"Event"` // A collection of events related to objects - Events []*string `locationName:"Event" type:"list" flattened:"true"` + Events []*string `locationName:"Event" type:"list" flattened:"true" enum:"Event"` // An optional unique identifier for configurations in a notification configuration. // If you don't provide one, Amazon S3 will assign an ID. diff --git a/service/s3control/api.go b/service/s3control/api.go index 4b799b76a7a..ac915daa68e 100644 --- a/service/s3control/api.go +++ b/service/s3control/api.go @@ -12275,7 +12275,7 @@ type JobManifestGeneratorFilter struct { // If provided, the generated manifest should include only source bucket objects // that have one of the specified Replication statuses. - ObjectReplicationStatuses []*string `type:"list"` + ObjectReplicationStatuses []*string `type:"list" enum:"ReplicationStatus"` } // String returns the string representation. @@ -12410,7 +12410,7 @@ type JobManifestSpec struct { // If the specified manifest object is in the S3BatchOperations_CSV_20180820 // format, this element describes which columns contain the required data. - Fields []*string `type:"list"` + Fields []*string `type:"list" enum:"JobManifestFieldName"` // Indicates which of the available formats the specified manifest uses. // @@ -13548,7 +13548,7 @@ type ListJobsInput struct { // The List Jobs request returns jobs that match the statuses listed in this // element. - JobStatuses []*string `location:"querystring" locationName:"jobStatuses" type:"list"` + JobStatuses []*string `location:"querystring" locationName:"jobStatuses" type:"list" enum:"JobStatus"` // The maximum number of jobs that Amazon S3 will include in the List Jobs response. // If there are more jobs than this number, the response will include a pagination @@ -14453,7 +14453,7 @@ type ObjectLambdaConfiguration struct { _ struct{} `type:"structure"` // A container for allowed features. Valid inputs are GetObject-Range and GetObject-PartNumber. - AllowedFeatures []*string `locationNameList:"AllowedFeature" type:"list"` + AllowedFeatures []*string `locationNameList:"AllowedFeature" type:"list" enum:"ObjectLambdaAllowedFeature"` // A container for whether the CloudWatch metrics configuration is enabled. CloudWatchMetricsEnabled *bool `type:"boolean"` @@ -14596,7 +14596,7 @@ type ObjectLambdaTransformationConfiguration struct { // Valid input is GetObject. // // Actions is a required field - Actions []*string `locationNameList:"Action" type:"list" required:"true"` + Actions []*string `locationNameList:"Action" type:"list" required:"true" enum:"ObjectLambdaTransformationConfigurationAction"` // A container for the content transformation of an Object Lambda Access Point // configuration. diff --git a/service/sagemaker/api.go b/service/sagemaker/api.go index 52a7e2b212a..d1a85ea85e7 100644 --- a/service/sagemaker/api.go +++ b/service/sagemaker/api.go @@ -24398,14 +24398,14 @@ type AdditionalInferenceSpecificationDefinition struct { SupportedContentTypes []*string `type:"list"` // A list of the instance types that are used to generate inferences in real-time. - SupportedRealtimeInferenceInstanceTypes []*string `type:"list"` + SupportedRealtimeInferenceInstanceTypes []*string `type:"list" enum:"ProductionVariantInstanceType"` // The supported MIME types for the output data. SupportedResponseMIMETypes []*string `type:"list"` // A list of the instance types on which a transformation job can be run or // on which an endpoint can be deployed. - SupportedTransformInstanceTypes []*string `min:"1" type:"list"` + SupportedTransformInstanceTypes []*string `min:"1" type:"list" enum:"TransformInstanceType"` } // String returns the string representation. @@ -28921,7 +28921,7 @@ type ChannelSpecification struct { Name *string `min:"1" type:"string" required:"true"` // The allowed compression types, if data compression is used. - SupportedCompressionTypes []*string `type:"list"` + SupportedCompressionTypes []*string `type:"list" enum:"CompressionType"` // The supported MIME types for the data. // @@ -28938,7 +28938,7 @@ type ChannelSpecification struct { // to your algorithm without using the EBS volume. // // SupportedInputModes is a required field - SupportedInputModes []*string `min:"1" type:"list" required:"true"` + SupportedInputModes []*string `min:"1" type:"list" required:"true" enum:"TrainingInputMode"` } // String returns the string representation. @@ -36017,7 +36017,7 @@ type CreateNotebookInstanceInput struct { // instance. Currently, only one instance type can be associated with a notebook // instance. For more information, see Using Elastic Inference in Amazon SageMaker // (https://docs.aws.amazon.com/sagemaker/latest/dg/ei.html). - AcceleratorTypes []*string `type:"list"` + AcceleratorTypes []*string `type:"list" enum:"NotebookInstanceAcceleratorType"` // An array of up to three Git repositories to associate with the notebook instance. // These can be either the names of Git repositories stored as resources in @@ -49695,7 +49695,7 @@ type DescribeNotebookInstanceOutput struct { // notebook instance. Currently only one EI instance type can be associated // with a notebook instance. For more information, see Using Elastic Inference // in Amazon SageMaker (https://docs.aws.amazon.com/sagemaker/latest/dg/ei.html). - AcceleratorTypes []*string `type:"list"` + AcceleratorTypes []*string `type:"list" enum:"NotebookInstanceAcceleratorType"` // An array of up to three Git repositories associated with the notebook instance. // These can be either the names of Git repositories stored as resources in @@ -60140,7 +60140,7 @@ type InferenceSpecification struct { // // This parameter is required for unversioned models, and optional for versioned // models. - SupportedRealtimeInferenceInstanceTypes []*string `type:"list"` + SupportedRealtimeInferenceInstanceTypes []*string `type:"list" enum:"ProductionVariantInstanceType"` // The supported MIME types for the output data. // @@ -60152,7 +60152,7 @@ type InferenceSpecification struct { // // This parameter is required for unversioned models, and optional for versioned // models. - SupportedTransformInstanceTypes []*string `min:"1" type:"list"` + SupportedTransformInstanceTypes []*string `min:"1" type:"list" enum:"TransformInstanceType"` } // String returns the string representation. @@ -61056,7 +61056,7 @@ type LabelingJobDataAttributes struct { // Declares that your content is free of personally identifiable information // or adult content. Amazon SageMaker may restrict the Amazon Mechanical Turk // workers that can view your task based on this information. - ContentClassifiers []*string `type:"list"` + ContentClassifiers []*string `type:"list" enum:"ContentClassifier"` } // String returns the string representation. @@ -80701,7 +80701,7 @@ type QueryFilters struct { // Filter the lineage entities connected to the StartArn(s) by the type of the // lineage entity. - LineageTypes []*string `type:"list"` + LineageTypes []*string `type:"list" enum:"LineageType"` // Filter the lineage entities connected to the StartArn(s) after the last modified // date. @@ -87063,7 +87063,7 @@ type TrainingSpecification struct { // A list of the instance types that this algorithm can use for training. // // SupportedTrainingInstanceTypes is a required field - SupportedTrainingInstanceTypes []*string `type:"list" required:"true"` + SupportedTrainingInstanceTypes []*string `type:"list" required:"true" enum:"TrainingInstanceType"` // A list of the metrics that the algorithm emits that can be used as the objective // metric in a hyperparameter tuning job. @@ -91145,7 +91145,7 @@ type UpdateNotebookInstanceInput struct { // notebook instance. Currently only one EI instance type can be associated // with a notebook instance. For more information, see Using Elastic Inference // in Amazon SageMaker (https://docs.aws.amazon.com/sagemaker/latest/dg/ei.html). - AcceleratorTypes []*string `type:"list"` + AcceleratorTypes []*string `type:"list" enum:"NotebookInstanceAcceleratorType"` // An array of up to three Git repositories to associate with the notebook instance. // These can be either the names of Git repositories stored as resources in diff --git a/service/savingsplans/api.go b/service/savingsplans/api.go index 3b4d7813c7c..be25d44d878 100644 --- a/service/savingsplans/api.go +++ b/service/savingsplans/api.go @@ -1124,7 +1124,7 @@ type DescribeSavingsPlansInput struct { SavingsPlanIds []*string `locationName:"savingsPlanIds" type:"list"` // The states. - States []*string `locationName:"states" type:"list"` + States []*string `locationName:"states" type:"list" enum:"SavingsPlanState"` } // String returns the string representation. @@ -1211,19 +1211,19 @@ type DescribeSavingsPlansOfferingRatesInput struct { Operations []*string `locationName:"operations" type:"list"` // The AWS products. - Products []*string `locationName:"products" type:"list"` + Products []*string `locationName:"products" type:"list" enum:"SavingsPlanProductType"` // The IDs of the offerings. SavingsPlanOfferingIds []*string `locationName:"savingsPlanOfferingIds" type:"list"` // The payment options. - SavingsPlanPaymentOptions []*string `locationName:"savingsPlanPaymentOptions" type:"list"` + SavingsPlanPaymentOptions []*string `locationName:"savingsPlanPaymentOptions" type:"list" enum:"SavingsPlanPaymentOption"` // The plan types. - SavingsPlanTypes []*string `locationName:"savingsPlanTypes" type:"list"` + SavingsPlanTypes []*string `locationName:"savingsPlanTypes" type:"list" enum:"SavingsPlanType"` // The services. - ServiceCodes []*string `locationName:"serviceCodes" type:"list"` + ServiceCodes []*string `locationName:"serviceCodes" type:"list" enum:"SavingsPlanRateServiceCode"` // The usage details of the line item in the billing report. UsageTypes []*string `locationName:"usageTypes" type:"list"` @@ -1352,7 +1352,7 @@ type DescribeSavingsPlansOfferingsInput struct { _ struct{} `type:"structure"` // The currencies. - Currencies []*string `locationName:"currencies" type:"list"` + Currencies []*string `locationName:"currencies" type:"list" enum:"CurrencyCode"` // The descriptions. Descriptions []*string `locationName:"descriptions" type:"list"` @@ -1377,10 +1377,10 @@ type DescribeSavingsPlansOfferingsInput struct { Operations []*string `locationName:"operations" type:"list"` // The payment options. - PaymentOptions []*string `locationName:"paymentOptions" type:"list"` + PaymentOptions []*string `locationName:"paymentOptions" type:"list" enum:"SavingsPlanPaymentOption"` // The plan type. - PlanTypes []*string `locationName:"planTypes" type:"list"` + PlanTypes []*string `locationName:"planTypes" type:"list" enum:"SavingsPlanType"` // The product type. ProductType *string `locationName:"productType" type:"string" enum:"SavingsPlanProductType"` @@ -1878,7 +1878,7 @@ type SavingsPlan struct { PaymentOption *string `locationName:"paymentOption" type:"string" enum:"SavingsPlanPaymentOption"` // The product types. - ProductTypes []*string `locationName:"productTypes" type:"list"` + ProductTypes []*string `locationName:"productTypes" type:"list" enum:"SavingsPlanProductType"` // The recurring payment amount. RecurringPaymentAmount *string `locationName:"recurringPaymentAmount" type:"string"` @@ -2104,7 +2104,7 @@ type SavingsPlanOffering struct { PlanType *string `locationName:"planType" type:"string" enum:"SavingsPlanType"` // The product type. - ProductTypes []*string `locationName:"productTypes" type:"list"` + ProductTypes []*string `locationName:"productTypes" type:"list" enum:"SavingsPlanProductType"` // The properties. Properties []*SavingsPlanOfferingProperty `locationName:"properties" type:"list"` diff --git a/service/securityhub/api.go b/service/securityhub/api.go index 5e89170668a..d482e06af7d 100644 --- a/service/securityhub/api.go +++ b/service/securityhub/api.go @@ -38120,7 +38120,7 @@ type Product struct { // * UPDATE_FINDINGS_IN_SECURITY_HUB - The integration does not send new // findings to Security Hub, but does make updates to the findings that it // receives from Security Hub. - IntegrationTypes []*string `type:"list"` + IntegrationTypes []*string `type:"list" enum:"IntegrationType"` // For integrations with Amazon Web Services services, the Amazon Web Services // Console URL from which to activate the service. diff --git a/service/serverlessapplicationrepository/api.go b/service/serverlessapplicationrepository/api.go index 411a2cbbef6..23047176292 100644 --- a/service/serverlessapplicationrepository/api.go +++ b/service/serverlessapplicationrepository/api.go @@ -2185,7 +2185,7 @@ type CreateApplicationVersionOutput struct { ParameterDefinitions []*ParameterDefinition `locationName:"parameterDefinitions" type:"list"` - RequiredCapabilities []*string `locationName:"requiredCapabilities" type:"list"` + RequiredCapabilities []*string `locationName:"requiredCapabilities" type:"list" enum:"Capability"` ResourcesSupported *bool `locationName:"resourcesSupported" type:"boolean"` @@ -4686,7 +4686,7 @@ type Version struct { // the call will fail. // // RequiredCapabilities is a required field - RequiredCapabilities []*string `locationName:"requiredCapabilities" type:"list" required:"true"` + RequiredCapabilities []*string `locationName:"requiredCapabilities" type:"list" required:"true" enum:"Capability"` // Whether all of the AWS resources contained in this application are supported // in the region in which it is being retrieved. diff --git a/service/servicecatalog/api.go b/service/servicecatalog/api.go index 346b7967a51..6aa4861ce2e 100644 --- a/service/servicecatalog/api.go +++ b/service/servicecatalog/api.go @@ -9760,7 +9760,7 @@ type CopyProductInput struct { // The copy options. If the value is CopyTags, the tags from the source product // are copied to the target product. - CopyOptions []*string `type:"list"` + CopyOptions []*string `type:"list" enum:"CopyOption"` // A unique identifier that you provide to ensure idempotency. If multiple requests // differ only by the idempotency token, the same response is returned for each @@ -20848,7 +20848,7 @@ type ResourceChange struct { ResourceType *string `min:"1" type:"string"` // The change scope. - Scope []*string `type:"list"` + Scope []*string `type:"list" enum:"ResourceAttribute"` } // String returns the string representation. diff --git a/service/ses/api.go b/service/ses/api.go index 12b09666a2a..b4be51272e3 100644 --- a/service/ses/api.go +++ b/service/ses/api.go @@ -9194,7 +9194,7 @@ type DescribeConfigurationSetInput struct { _ struct{} `type:"structure"` // A list of configuration set attributes to return. - ConfigurationSetAttributeNames []*string `type:"list"` + ConfigurationSetAttributeNames []*string `type:"list" enum:"ConfigurationSetAttribute"` // The name of the configuration set to describe. // @@ -9596,7 +9596,7 @@ type EventDestination struct { // The type of email sending events to publish to the event destination. // // MatchingEventTypes is a required field - MatchingEventTypes []*string `type:"list" required:"true"` + MatchingEventTypes []*string `type:"list" required:"true" enum:"EventType"` // The name of the event destination. The name must: // diff --git a/service/sesv2/api.go b/service/sesv2/api.go index a5260ea98a2..3498f6277e4 100644 --- a/service/sesv2/api.go +++ b/service/sesv2/api.go @@ -12486,7 +12486,7 @@ type EventDestination struct { // The types of events that Amazon SES sends to the specified event destinations. // // MatchingEventTypes is a required field - MatchingEventTypes []*string `type:"list" required:"true"` + MatchingEventTypes []*string `type:"list" required:"true" enum:"EventType"` // A name that identifies the event destination. // @@ -12591,7 +12591,7 @@ type EventDestinationDefinition struct { // An array that specifies which events the Amazon SES API v2 should send to // the destinations in this EventDestinationDefinition. - MatchingEventTypes []*string `type:"list"` + MatchingEventTypes []*string `type:"list" enum:"EventType"` // An object that defines an Amazon Pinpoint project destination for email events. // You can send email event data to a Amazon Pinpoint project to view metrics @@ -16480,7 +16480,7 @@ type ListSuppressedDestinationsInput struct { PageSize *int64 `location:"querystring" locationName:"PageSize" type:"integer"` // The factors that caused the email address to be added to . - Reasons []*string `location:"querystring" locationName:"Reason" type:"list"` + Reasons []*string `location:"querystring" locationName:"Reason" type:"list" enum:"SuppressionListReason"` // Used to filter the list of suppressed email destinations so that it only // includes addresses that were added to the list after a specific date. The @@ -17534,7 +17534,7 @@ type PutAccountSuppressionAttributesInput struct { // * BOUNCE – Amazon SES adds an email address to the suppression list // for your account when a message sent to that address results in a hard // bounce. - SuppressedReasons []*string `type:"list"` + SuppressedReasons []*string `type:"list" enum:"SuppressionListReason"` } // String returns the string representation. @@ -17872,7 +17872,7 @@ type PutConfigurationSetSuppressionOptionsInput struct { // * BOUNCE – Amazon SES adds an email address to the suppression list // for your account when a message sent to that address results in a hard // bounce. - SuppressedReasons []*string `type:"list"` + SuppressedReasons []*string `type:"list" enum:"SuppressionListReason"` } // String returns the string representation. @@ -20086,7 +20086,7 @@ type SuppressionAttributes struct { // * BOUNCE – Amazon SES adds an email address to the suppression list // for your account when a message sent to that address results in a hard // bounce. - SuppressedReasons []*string `type:"list"` + SuppressedReasons []*string `type:"list" enum:"SuppressionListReason"` } // String returns the string representation. @@ -20181,7 +20181,7 @@ type SuppressionOptions struct { // * BOUNCE – Amazon SES adds an email address to the suppression list // for your account when a message sent to that address results in a hard // bounce. - SuppressedReasons []*string `type:"list"` + SuppressedReasons []*string `type:"list" enum:"SuppressionListReason"` } // String returns the string representation. diff --git a/service/signer/api.go b/service/signer/api.go index 4035cc96005..7139f044540 100644 --- a/service/signer/api.go +++ b/service/signer/api.go @@ -2511,7 +2511,7 @@ type EncryptionAlgorithmOptions struct { // job. // // AllowedValues is a required field - AllowedValues []*string `locationName:"allowedValues" type:"list" required:"true"` + AllowedValues []*string `locationName:"allowedValues" type:"list" required:"true" enum:"EncryptionAlgorithm"` // The default encryption algorithm that is used by a code signing job. // @@ -2921,7 +2921,7 @@ type HashAlgorithmOptions struct { // The set of accepted hash algorithms allowed in a code signing job. // // AllowedValues is a required field - AllowedValues []*string `locationName:"allowedValues" type:"list" required:"true"` + AllowedValues []*string `locationName:"allowedValues" type:"list" required:"true" enum:"HashAlgorithm"` // The default hash algorithm that is used in a code signing job. // @@ -3454,7 +3454,7 @@ type ListSigningProfilesInput struct { // Filters results to return only signing jobs with statuses in the specified // list. - Statuses []*string `location:"querystring" locationName:"statuses" type:"list"` + Statuses []*string `location:"querystring" locationName:"statuses" type:"list" enum:"SigningProfileStatus"` } // String returns the string representation. @@ -4732,7 +4732,7 @@ type SigningImageFormat struct { // The supported formats of a code signing image. // // SupportedFormats is a required field - SupportedFormats []*string `locationName:"supportedFormats" type:"list" required:"true"` + SupportedFormats []*string `locationName:"supportedFormats" type:"list" required:"true" enum:"ImageFormat"` } // String returns the string representation. diff --git a/service/sms/api.go b/service/sms/api.go index 84ce3d4a7e1..f94e5688472 100644 --- a/service/sms/api.go +++ b/service/sms/api.go @@ -3820,7 +3820,7 @@ type Connector struct { AssociatedOn *time.Time `locationName:"associatedOn" type:"timestamp"` // The capabilities of the connector. - CapabilityList []*string `locationName:"capabilityList" type:"list"` + CapabilityList []*string `locationName:"capabilityList" type:"list" enum:"ConnectorCapability"` // The ID of the connector. ConnectorId *string `locationName:"connectorId" type:"string"` diff --git a/service/snowball/api.go b/service/snowball/api.go index 249fe9221f9..2e506d56fcf 100644 --- a/service/snowball/api.go +++ b/service/snowball/api.go @@ -6763,7 +6763,7 @@ type Notification struct { _ struct{} `type:"structure"` // The list of job states that will trigger a notification for this job. - JobStatesToNotify []*string `type:"list"` + JobStatesToNotify []*string `type:"list" enum:"JobState"` // Any change in job state will trigger a notification for this job. NotifyAll *bool `type:"boolean"` diff --git a/service/sns/api.go b/service/sns/api.go index 172c10a34ac..a64a692d5b8 100644 --- a/service/sns/api.go +++ b/service/sns/api.go @@ -7143,7 +7143,7 @@ type PhoneNumberInformation struct { Iso2CountryCode *string `type:"string"` // The capabilities of each phone number. - NumberCapabilities []*string `type:"list"` + NumberCapabilities []*string `type:"list" enum:"NumberCapability"` // The phone number. PhoneNumber *string `type:"string"` diff --git a/service/sqs/api.go b/service/sqs/api.go index 44a3a513048..2aa6777f583 100644 --- a/service/sqs/api.go +++ b/service/sqs/api.go @@ -3407,7 +3407,7 @@ type GetQueueAttributesInput struct { // // For information on throughput quotas, see Quotas related to messages (https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/quotas-messages.html) // in the Amazon SQS Developer Guide. - AttributeNames []*string `locationNameList:"AttributeName" type:"list" flattened:"true"` + AttributeNames []*string `locationNameList:"AttributeName" type:"list" flattened:"true" enum:"QueueAttributeName"` // The URL of the Amazon SQS queue whose attribute information is retrieved. // @@ -4281,7 +4281,7 @@ type ReceiveMessageInput struct { // in sequence. // // * SequenceNumber – Returns the value provided by Amazon SQS. - AttributeNames []*string `locationNameList:"AttributeName" type:"list" flattened:"true"` + AttributeNames []*string `locationNameList:"AttributeName" type:"list" flattened:"true" enum:"QueueAttributeName"` // The maximum number of messages to return. Amazon SQS never returns more messages // than this value (however, fewer messages might be returned). Valid values: diff --git a/service/ssm/api.go b/service/ssm/api.go index 7d088abe833..fd83a20b458 100644 --- a/service/ssm/api.go +++ b/service/ssm/api.go @@ -28731,7 +28731,7 @@ type DocumentDescription struct { PendingReviewVersion *string `type:"string"` // The list of operating system (OS) platforms compatible with this SSM document. - PlatformTypes []*string `type:"list"` + PlatformTypes []*string `type:"list" enum:"PlatformType"` // A list of SSM documents required by a document. For example, an ApplicationConfiguration // document requires an ApplicationConfigurationSchema document. @@ -29064,7 +29064,7 @@ type DocumentIdentifier struct { Owner *string `type:"string"` // The operating system platform. - PlatformTypes []*string `type:"list"` + PlatformTypes []*string `type:"list" enum:"PlatformType"` // A list of SSM documents required by a document. For example, an ApplicationConfiguration // document requires an ApplicationConfigurationSchema document. @@ -43600,7 +43600,7 @@ type NotificationConfig struct { // about these events, see Monitoring Systems Manager status changes using Amazon // SNS notifications (https://docs.aws.amazon.com/systems-manager/latest/userguide/monitoring-sns-notifications.html) // in the Amazon Web Services Systems Manager User Guide. - NotificationEvents []*string `type:"list"` + NotificationEvents []*string `type:"list" enum:"NotificationEvent"` // The type of notification. // diff --git a/service/storagegateway/api.go b/service/storagegateway/api.go index 1b45b30f0e8..ba9810b2327 100644 --- a/service/storagegateway/api.go +++ b/service/storagegateway/api.go @@ -14797,7 +14797,7 @@ type DescribeGatewayInformationOutput struct { // A list of the metadata cache sizes that the gateway can support based on // its current hardware specifications. - SupportedGatewayCapacities []*string `type:"list"` + SupportedGatewayCapacities []*string `type:"list" enum:"GatewayCapacity"` // A list of up to 50 tags assigned to the gateway, sorted alphabetically by // key name. Each tag is a key-value pair. For a gateway with more than 10 tags diff --git a/service/textract/api.go b/service/textract/api.go index 8aaf3eb63a5..69907e902f4 100644 --- a/service/textract/api.go +++ b/service/textract/api.go @@ -1477,7 +1477,7 @@ type AnalyzeDocumentInput struct { // of FeatureTypes). // // FeatureTypes is a required field - FeatureTypes []*string `type:"list" required:"true"` + FeatureTypes []*string `type:"list" required:"true" enum:"FeatureType"` // Sets the configuration for the human in the loop workflow for analyzing documents. HumanLoopConfig *HumanLoopConfig `type:"structure"` @@ -2018,7 +2018,7 @@ type Block struct { // * VALUE - The field text. // // EntityTypes isn't returned by DetectDocumentText and GetDocumentTextDetection. - EntityTypes []*string `type:"list"` + EntityTypes []*string `type:"list" enum:"EntityType"` // The location of the recognized text on the image. It includes an axis-aligned, // coarse bounding box that surrounds the text, and a finer-grain polygon for @@ -3475,7 +3475,7 @@ type HumanLoopDataAttributes struct { // Sets whether the input image is free of personally identifiable information // or adult content. - ContentClassifiers []*string `type:"list"` + ContentClassifiers []*string `type:"list" enum:"ContentClassifier"` } // String returns the string representation. @@ -4657,7 +4657,7 @@ type StartDocumentAnalysisInput struct { // of FeatureTypes). // // FeatureTypes is a required field - FeatureTypes []*string `type:"list" required:"true"` + FeatureTypes []*string `type:"list" required:"true" enum:"FeatureType"` // An identifier that you specify that's included in the completion notification // published to the Amazon SNS topic. For example, you can use JobTag to identify diff --git a/service/transcribeservice/api.go b/service/transcribeservice/api.go index 77059ba4904..af5e132414e 100644 --- a/service/transcribeservice/api.go +++ b/service/transcribeservice/api.go @@ -4571,7 +4571,7 @@ type CallAnalyticsJobSettings struct { // an array of the languages that can be present in the audio. Refer to Supported // languages (https://docs.aws.amazon.com/transcribe/latest/dg/supported-languages.html) // for additional information. - LanguageOptions []*string `min:"1" type:"list"` + LanguageOptions []*string `min:"1" type:"list" enum:"LanguageCode"` // Set to mask to remove filtered text from the transcript and replace it with // three asterisks ("***") as placeholder text. Set to remove to remove filtered @@ -4950,7 +4950,7 @@ type ContentRedaction struct { // The types of personally identifiable information (PII) you want to redact // in your transcript. - PiiEntityTypes []*string `type:"list"` + PiiEntityTypes []*string `type:"list" enum:"PiiEntityType"` // The output transcript file stored in either the default S3 bucket or in a // bucket you specify. @@ -9863,7 +9863,7 @@ type SentimentFilter struct { // You can specify one or more values. // // Sentiments is a required field - Sentiments []*string `min:"1" type:"list" required:"true"` + Sentiments []*string `min:"1" type:"list" required:"true" enum:"SentimentValue"` } // String returns the string representation. @@ -10655,7 +10655,7 @@ type StartTranscriptionJobInput struct { // // To transcribe speech in Modern Standard Arabic (ar-SA), your audio or video // file must be encoded at a sample rate of 16,000 Hz or higher. - LanguageOptions []*string `min:"1" type:"list"` + LanguageOptions []*string `min:"1" type:"list" enum:"LanguageCode"` // An object that describes the input media for a transcription job. // @@ -11010,7 +11010,7 @@ type Subtitles struct { _ struct{} `type:"structure"` // Specify the output format for your subtitle file. - Formats []*string `type:"list"` + Formats []*string `type:"list" enum:"SubtitleFormat"` } // String returns the string representation. @@ -11044,7 +11044,7 @@ type SubtitlesOutput_ struct { // Specify the output format for your subtitle file; if you select both SRT // and VTT formats, two output files are generated. - Formats []*string `type:"list"` + Formats []*string `type:"list" enum:"SubtitleFormat"` // Contains the output location for your subtitle file. This location must be // an S3 bucket. @@ -11485,7 +11485,7 @@ type TranscriptionJob struct { // An object that shows the optional array of languages inputted for transcription // jobs with automatic language identification enabled. - LanguageOptions []*string `min:"1" type:"list"` + LanguageOptions []*string `min:"1" type:"list" enum:"LanguageCode"` // An object that describes the input media for the transcription job. Media *Media `type:"structure"` diff --git a/service/transfer/api.go b/service/transfer/api.go index 841f105647f..d101997d37f 100644 --- a/service/transfer/api.go +++ b/service/transfer/api.go @@ -4183,7 +4183,7 @@ type CreateServerInput struct { // // If Protocol is set only to SFTP, the EndpointType can be set to PUBLIC and // the IdentityProviderType can be set to SERVICE_MANAGED. - Protocols []*string `min:"1" type:"list"` + Protocols []*string `min:"1" type:"list" enum:"Protocol"` // Specifies the name of the security policy that is attached to the server. SecurityPolicyName *string `type:"string"` @@ -6401,7 +6401,7 @@ type DescribedServer struct { // * FTPS (File Transfer Protocol Secure): File transfer with TLS encryption // // * FTP (File Transfer Protocol): Unencrypted file transfer - Protocols []*string `min:"1" type:"list"` + Protocols []*string `min:"1" type:"list" enum:"Protocol"` // Specifies the name of the security policy that is attached to the server. SecurityPolicyName *string `type:"string"` @@ -10936,7 +10936,7 @@ type UpdateServerInput struct { // // If Protocol is set only to SFTP, the EndpointType can be set to PUBLIC and // the IdentityProviderType can be set to SERVICE_MANAGED. - Protocols []*string `min:"1" type:"list"` + Protocols []*string `min:"1" type:"list" enum:"Protocol"` // Specifies the name of the security policy that is attached to the server. SecurityPolicyName *string `type:"string"` diff --git a/service/voiceid/api.go b/service/voiceid/api.go index 7e5ef52614b..4b85eb11f24 100644 --- a/service/voiceid/api.go +++ b/service/voiceid/api.go @@ -4067,7 +4067,7 @@ type FraudDetectionResult struct { // The reason speaker was flagged by the fraud detection system. This is only // be populated if fraud detection Decision is HIGH_RISK, and only has one possible // value: KNOWN_FRAUDSTER. - Reasons []*string `type:"list"` + Reasons []*string `type:"list" enum:"FraudDetectionReason"` // Details about each risk analyzed for this speaker. RiskDetails *FraudRiskDetails `type:"structure"` diff --git a/service/wafv2/api.go b/service/wafv2/api.go index 89c41e6219f..d21d0eb6814 100644 --- a/service/wafv2/api.go +++ b/service/wafv2/api.go @@ -9431,7 +9431,7 @@ type GeoMatchStatement struct { // An array of two-character country codes, for example, [ "US", "CN" ], from // the alpha-2 country ISO codes of the ISO 3166 international standard. - CountryCodes []*string `min:"1" type:"list"` + CountryCodes []*string `min:"1" type:"list" enum:"CountryCode"` // The configuration for inspecting IP addresses in an HTTP header that you // specify, instead of using the IP address that's reported by the web request diff --git a/service/workmail/api.go b/service/workmail/api.go index e8d537ddf31..959d6e46697 100644 --- a/service/workmail/api.go +++ b/service/workmail/api.go @@ -15290,7 +15290,7 @@ type Permission struct { // irrespective of other folder-level permissions set on the mailbox. // // PermissionValues is a required field - PermissionValues []*string `type:"list" required:"true"` + PermissionValues []*string `type:"list" required:"true" enum:"PermissionType"` } // String returns the string representation. @@ -15722,7 +15722,7 @@ type PutMailboxPermissionsInput struct { // irrespective of other folder-level permissions set on the mailbox. // // PermissionValues is a required field - PermissionValues []*string `type:"list" required:"true"` + PermissionValues []*string `type:"list" required:"true" enum:"PermissionType"` } // String returns the string representation. diff --git a/service/workspaces/api.go b/service/workspaces/api.go index 86e35cf9a30..d76daa1f917 100644 --- a/service/workspaces/api.go +++ b/service/workspaces/api.go @@ -9737,7 +9737,7 @@ type ImportWorkspaceImageInput struct { // for BYOL images, see Bring Your Own Windows Desktop Licenses (https://docs.aws.amazon.com/workspaces/latest/adminguide/byol-windows-images.html). // // Although this parameter is an array, only one item is allowed at this time. - Applications []*string `min:"1" type:"list"` + Applications []*string `min:"1" type:"list" enum:"Application"` // The identifier of the EC2 image. // diff --git a/service/xray/api.go b/service/xray/api.go index 86ada3a7d7a..349f90e6611 100644 --- a/service/xray/api.go +++ b/service/xray/api.go @@ -4963,7 +4963,7 @@ type GetInsightSummariesInput struct { StartTime *time.Time `type:"timestamp" required:"true"` // The list of insight states. - States []*string `type:"list"` + States []*string `type:"list" enum:"InsightState"` } // String returns the string representation. @@ -6203,7 +6203,7 @@ type Insight struct { _ struct{} `type:"structure"` // The categories that label and describe the type of insight. - Categories []*string `type:"list"` + Categories []*string `type:"list" enum:"InsightCategory"` // The impact statistics of the client side service. This includes the number // of requests to the client service and whether the requests were faults or @@ -6537,7 +6537,7 @@ type InsightSummary struct { _ struct{} `type:"structure"` // Categories The categories that label and describe the type of insight. - Categories []*string `type:"list"` + Categories []*string `type:"list" enum:"InsightCategory"` // The impact statistics of the client side service. This includes the number // of requests to the client service and whether the requests were faults or