From 71cde42061eddf8310e73af8fa38d8e169adea2a Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Thu, 13 Aug 2020 19:47:50 +0000 Subject: [PATCH] Update module aws/aws-sdk-go to v1.34.4 --- go.mod | 2 +- go.sum | 4 +- .../stscreds/web_identity_provider.go | 21 +- .../aws/aws-sdk-go/aws/ec2metadata/service.go | 2 +- .../aws/aws-sdk-go/aws/endpoints/defaults.go | 50 + .../aws/request/connection_reset_error.go | 3 +- .../github.com/aws/aws-sdk-go/aws/version.go | 2 +- .../protocol/json/jsonutil/unmarshal.go | 36 +- .../aws-sdk-go/service/accessanalyzer/api.go | 84 + .../aws/aws-sdk-go/service/acm/api.go | 157 + .../aws/aws-sdk-go/service/acmpca/api.go | 103 + .../aws/aws-sdk-go/service/amplify/api.go | 55 + .../aws/aws-sdk-go/service/apigateway/api.go | 202 + .../aws-sdk-go/service/apigatewayv2/api.go | 122 + .../service/applicationautoscaling/api.go | 109 + .../service/applicationinsights/api.go | 81 + .../aws/aws-sdk-go/service/appmesh/api.go | 157 + .../aws/aws-sdk-go/service/appstream/api.go | 242 + .../aws/aws-sdk-go/service/appsync/api.go | 163 +- .../aws/aws-sdk-go/service/athena/api.go | 62 + .../aws/aws-sdk-go/service/autoscaling/api.go | 93 + .../service/autoscalingplans/api.go | 130 + .../aws/aws-sdk-go/service/backup/api.go | 82 + .../aws/aws-sdk-go/service/batch/api.go | 110 + .../aws/aws-sdk-go/service/budgets/api.go | 63 + .../aws/aws-sdk-go/service/cloud9/api.go | 145 + .../aws/aws-sdk-go/service/cloud9/errors.go | 7 + .../aws-sdk-go/service/cloudformation/api.go | 397 ++ .../aws/aws-sdk-go/service/cloudfront/api.go | 203 + .../aws/aws-sdk-go/service/cloudhsmv2/api.go | 43 + .../aws/aws-sdk-go/service/cloudsearch/api.go | 109 + .../aws/aws-sdk-go/service/cloudtrail/api.go | 37 + .../aws/aws-sdk-go/service/cloudwatch/api.go | 116 + .../service/cloudwatchevents/api.go | 33 + .../aws-sdk-go/service/cloudwatchlogs/api.go | 39 + .../aws-sdk-go/service/codeartifact/api.go | 87 + .../aws/aws-sdk-go/service/codebuild/api.go | 314 ++ .../aws/aws-sdk-go/service/codecommit/api.go | 138 + .../aws/aws-sdk-go/service/codedeploy/api.go | 339 ++ .../aws-sdk-go/service/codepipeline/api.go | 160 + .../service/codestarnotifications/api.go | 54 + .../aws-sdk-go/service/cognitoidentity/api.go | 34 + .../service/cognitoidentityprovider/api.go | 710 ++- .../aws-sdk-go/service/configservice/api.go | 347 ++ .../service/costandusagereportservice/api.go | 66 + .../service/databasemigrationservice/api.go | 141 + .../aws-sdk-go/service/dataexchange/api.go | 102 + .../aws-sdk-go/service/datapipeline/api.go | 20 + .../aws/aws-sdk-go/service/datasync/api.go | 198 + .../aws/aws-sdk-go/service/dax/api.go | 44 + .../aws/aws-sdk-go/service/devicefarm/api.go | 361 ++ .../aws-sdk-go/service/directconnect/api.go | 156 + .../service/directoryservice/api.go | 237 + .../aws/aws-sdk-go/service/dlm/api.go | 49 + .../aws/aws-sdk-go/service/docdb/api.go | 20 + .../aws/aws-sdk-go/service/dynamodb/api.go | 262 + .../aws/aws-sdk-go/service/ec2/api.go | 2358 ++++++++- .../aws-sdk-go/service/ec2/customizations.go | 6 +- .../aws/aws-sdk-go/service/ecr/api.go | 92 + .../aws/aws-sdk-go/service/ecs/api.go | 431 ++ .../aws/aws-sdk-go/service/efs/api.go | 48 + .../aws/aws-sdk-go/service/eks/api.go | 357 +- .../aws/aws-sdk-go/service/elasticache/api.go | 139 + .../service/elasticbeanstalk/api.go | 200 + .../service/elasticsearchservice/api.go | 213 + .../aws/aws-sdk-go/service/elbv2/api.go | 122 + .../aws/aws-sdk-go/service/emr/api.go | 346 ++ .../aws/aws-sdk-go/service/firehose/api.go | 197 + .../aws/aws-sdk-go/service/fms/api.go | 72 + .../aws-sdk-go/service/forecastservice/api.go | 65 + .../aws/aws-sdk-go/service/fsx/api.go | 400 +- .../aws/aws-sdk-go/service/gamelift/api.go | 447 ++ .../aws/aws-sdk-go/service/glacier/api.go | 92 + .../service/globalaccelerator/api.go | 66 + .../aws/aws-sdk-go/service/glue/api.go | 461 +- .../aws/aws-sdk-go/service/greengrass/api.go | 115 + .../aws/aws-sdk-go/service/guardduty/api.go | 151 + .../aws/aws-sdk-go/service/iam/api.go | 210 + .../aws-sdk-go/service/imagebuilder/api.go | 76 + .../aws/aws-sdk-go/service/inspector/api.go | 254 + .../aws/aws-sdk-go/service/iot/api.go | 4340 ++++++++++++++++- .../aws-sdk-go/service/iotanalytics/api.go | 69 + .../aws/aws-sdk-go/service/iotevents/api.go | 48 + .../aws/aws-sdk-go/service/kafka/api.go | 51 + .../aws/aws-sdk-go/service/kinesis/api.go | 89 +- .../service/kinesisanalytics/api.go | 29 + .../service/kinesisanalyticsv2/api.go | 93 + .../aws-sdk-go/service/kinesisvideo/api.go | 61 + .../aws/aws-sdk-go/service/kms/api.go | 173 + .../aws-sdk-go/service/lakeformation/api.go | 52 + .../aws/aws-sdk-go/service/lambda/api.go | 233 +- .../service/lexmodelbuildingservice/api.go | 165 + .../aws-sdk-go/service/licensemanager/api.go | 39 + .../aws/aws-sdk-go/service/lightsail/api.go | 650 +++ .../aws/aws-sdk-go/service/macie/api.go | 15 + .../service/managedblockchain/api.go | 89 + .../service/marketplacecatalog/api.go | 19 + .../aws-sdk-go/service/mediaconnect/api.go | 65 + .../aws-sdk-go/service/mediaconvert/api.go | 2714 ++++++++++- .../aws/aws-sdk-go/service/medialive/api.go | 2019 +++++++- .../aws-sdk-go/service/mediapackage/api.go | 109 + .../aws/aws-sdk-go/service/mediastore/api.go | 27 + .../aws-sdk-go/service/mediastoredata/api.go | 23 + .../aws/aws-sdk-go/service/mq/api.go | 73 + .../aws/aws-sdk-go/service/neptune/api.go | 20 + .../aws-sdk-go/service/networkmanager/api.go | 81 + .../aws/aws-sdk-go/service/opsworks/api.go | 262 + .../aws-sdk-go/service/organizations/api.go | 255 +- .../aws/aws-sdk-go/service/personalize/api.go | 15 + .../aws/aws-sdk-go/service/pinpoint/api.go | 227 + .../aws/aws-sdk-go/service/pricing/api.go | 7 + .../aws/aws-sdk-go/service/qldb/api.go | 54 + .../aws/aws-sdk-go/service/quicksight/api.go | 366 ++ .../aws/aws-sdk-go/service/ram/api.go | 68 + .../aws/aws-sdk-go/service/rds/api.go | 454 +- .../aws/aws-sdk-go/service/redshift/api.go | 163 + .../aws-sdk-go/service/resourcegroups/api.go | 40 + .../service/resourcegroupstaggingapi/api.go | 26 + .../aws/aws-sdk-go/service/route53/api.go | 238 + .../aws-sdk-go/service/route53domains/api.go | 348 ++ .../aws-sdk-go/service/route53resolver/api.go | 75 + .../aws/aws-sdk-go/service/s3/api.go | 601 ++- .../aws/aws-sdk-go/service/s3/doc_custom.go | 13 - .../aws/aws-sdk-go/service/s3/sse.go | 2 +- .../aws/aws-sdk-go/service/s3control/api.go | 174 + .../aws/aws-sdk-go/service/sagemaker/api.go | 1288 +++++ .../aws-sdk-go/service/secretsmanager/api.go | 19 + .../aws/aws-sdk-go/service/securityhub/api.go | 211 + .../serverlessapplicationrepository/api.go | 19 + .../aws-sdk-go/service/servicecatalog/api.go | 293 ++ .../service/servicediscovery/api.go | 126 + .../aws-sdk-go/service/servicequotas/api.go | 42 + .../aws/aws-sdk-go/service/ses/api.go | 161 + .../aws/aws-sdk-go/service/sfn/api.go | 98 + .../aws/aws-sdk-go/service/shield/api.go | 65 + .../aws/aws-sdk-go/service/sqs/api.go | 45 + .../aws/aws-sdk-go/service/ssm/api.go | 745 +++ .../aws-sdk-go/service/storagegateway/api.go | 139 + .../aws/aws-sdk-go/service/swf/api.go | 304 ++ .../aws/aws-sdk-go/service/synthetics/api.go | 39 + .../aws/aws-sdk-go/service/transfer/api.go | 583 ++- .../aws/aws-sdk-go/service/transfer/doc.go | 4 +- .../aws/aws-sdk-go/service/waf/api.go | 428 ++ .../aws/aws-sdk-go/service/wafregional/api.go | 436 ++ .../aws/aws-sdk-go/service/wafv2/api.go | 388 ++ .../aws/aws-sdk-go/service/worklink/api.go | 48 + .../aws/aws-sdk-go/service/workmail/api.go | 71 + .../aws/aws-sdk-go/service/workspaces/api.go | 215 +- .../aws/aws-sdk-go/service/xray/api.go | 32 + vendor/modules.txt | 2 +- 150 files changed, 34025 insertions(+), 531 deletions(-) diff --git a/go.mod b/go.mod index ad653dabccb..08d3dba6a7c 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/terraform-providers/terraform-provider-aws go 1.14 require ( - github.com/aws/aws-sdk-go v1.33.21 + github.com/aws/aws-sdk-go v1.34.4 github.com/beevik/etree v1.1.0 github.com/bflad/tfproviderdocs v0.7.0 github.com/bflad/tfproviderlint v0.17.0 diff --git a/go.sum b/go.sum index f32f591595e..309ddc2d267 100644 --- a/go.sum +++ b/go.sum @@ -76,8 +76,8 @@ github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgI github.com/aws/aws-sdk-go v1.15.78/go.mod h1:E3/ieXAlvM0XWO57iftYVDLLvQ824smPP3ATZkfNZeM= github.com/aws/aws-sdk-go v1.25.3/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= github.com/aws/aws-sdk-go v1.31.9/go.mod h1:5zCpMtNQVjRREroY7sYe8lOMRSxkhG6MZveU8YkpAk0= -github.com/aws/aws-sdk-go v1.33.21 h1:ziUemjajvLABlnJFe+8sM3fpqlg/DNA4944rUZ05PhY= -github.com/aws/aws-sdk-go v1.33.21/go.mod h1:5zCpMtNQVjRREroY7sYe8lOMRSxkhG6MZveU8YkpAk0= +github.com/aws/aws-sdk-go v1.34.4 h1:Yx49/+ZMCD9YqIVsO3CsiMs4hnUnokd9otKvWYFjnYw= +github.com/aws/aws-sdk-go v1.34.4/go.mod h1:5zCpMtNQVjRREroY7sYe8lOMRSxkhG6MZveU8YkpAk0= github.com/beevik/etree v1.1.0 h1:T0xke/WvNtMoCqgzPhkX2r4rjY3GDZFi+FjpRZY2Jbs= github.com/beevik/etree v1.1.0/go.mod h1:r8Aw8JqVegEf0w2fDnATrX9VpkMcyFeM0FhwO62wh+A= github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= diff --git a/vendor/github.com/aws/aws-sdk-go/aws/credentials/stscreds/web_identity_provider.go b/vendor/github.com/aws/aws-sdk-go/aws/credentials/stscreds/web_identity_provider.go index 6feb262b2f7..cefe2a76d4d 100644 --- a/vendor/github.com/aws/aws-sdk-go/aws/credentials/stscreds/web_identity_provider.go +++ b/vendor/github.com/aws/aws-sdk-go/aws/credentials/stscreds/web_identity_provider.go @@ -52,9 +52,21 @@ type WebIdentityRoleProvider struct { credentials.Expiry PolicyArns []*sts.PolicyDescriptorType - client stsiface.STSAPI + // Duration the STS credentials will be valid for. Truncated to seconds. + // If unset, the assumed role will use AssumeRoleWithWebIdentity's default + // expiry duration. See + // https://docs.aws.amazon.com/sdk-for-go/api/service/sts/#STS.AssumeRoleWithWebIdentity + // for more information. + Duration time.Duration + + // The amount of time the credentials will be refreshed before they expire. + // This is useful refresh credentials before they expire to reduce risk of + // using credentials as they expire. If unset, will default to no expiry + // window. ExpiryWindow time.Duration + client stsiface.STSAPI + tokenFetcher TokenFetcher roleARN string roleSessionName string @@ -107,11 +119,18 @@ func (p *WebIdentityRoleProvider) RetrieveWithContext(ctx credentials.Context) ( // uses unix time in nanoseconds to uniquely identify sessions. sessionName = strconv.FormatInt(now().UnixNano(), 10) } + + var duration *int64 + if p.Duration != 0 { + duration = aws.Int64(int64(p.Duration / time.Second)) + } + req, resp := p.client.AssumeRoleWithWebIdentityRequest(&sts.AssumeRoleWithWebIdentityInput{ PolicyArns: p.PolicyArns, RoleArn: &p.roleARN, RoleSessionName: &sessionName, WebIdentityToken: aws.String(string(b)), + DurationSeconds: duration, }) req.SetContext(ctx) diff --git a/vendor/github.com/aws/aws-sdk-go/aws/ec2metadata/service.go b/vendor/github.com/aws/aws-sdk-go/aws/ec2metadata/service.go index b8b2940d744..dc7e051e0c0 100644 --- a/vendor/github.com/aws/aws-sdk-go/aws/ec2metadata/service.go +++ b/vendor/github.com/aws/aws-sdk-go/aws/ec2metadata/service.go @@ -41,7 +41,7 @@ const ( enableTokenProviderHandlerName = "enableTokenProviderHandler" // TTL constants - defaultTTL = 21600 * time.Second + defaultTTL = 21600 * time.Second ttlExpirationWindow = 30 * time.Second ) diff --git a/vendor/github.com/aws/aws-sdk-go/aws/endpoints/defaults.go b/vendor/github.com/aws/aws-sdk-go/aws/endpoints/defaults.go index 829923c28cc..b7be4901ce7 100644 --- a/vendor/github.com/aws/aws-sdk-go/aws/endpoints/defaults.go +++ b/vendor/github.com/aws/aws-sdk-go/aws/endpoints/defaults.go @@ -452,6 +452,30 @@ var awsPartition = partition{ Region: "eu-west-3", }, }, + "fips-dkr-us-east-1": endpoint{ + Hostname: "ecr-fips.us-east-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-east-1", + }, + }, + "fips-dkr-us-east-2": endpoint{ + Hostname: "ecr-fips.us-east-2.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-east-2", + }, + }, + "fips-dkr-us-west-1": endpoint{ + Hostname: "ecr-fips.us-west-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-west-1", + }, + }, + "fips-dkr-us-west-2": endpoint{ + Hostname: "ecr-fips.us-west-2.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-west-2", + }, + }, "fips-us-east-1": endpoint{ Hostname: "ecr-fips.us-east-1.amazonaws.com", CredentialScope: credentialScope{ @@ -2084,6 +2108,7 @@ var awsPartition = partition{ Protocols: []string{"http", "https"}, }, Endpoints: endpoints{ + "af-south-1": endpoint{}, "ap-east-1": endpoint{}, "ap-northeast-1": endpoint{}, "ap-northeast-2": endpoint{}, @@ -2093,6 +2118,7 @@ var awsPartition = partition{ "ca-central-1": endpoint{}, "eu-central-1": endpoint{}, "eu-north-1": endpoint{}, + "eu-south-1": endpoint{}, "eu-west-1": endpoint{}, "eu-west-2": endpoint{}, "eu-west-3": endpoint{}, @@ -3959,6 +3985,12 @@ var awsPartition = partition{ "neptune": service{ Endpoints: endpoints{ + "ap-east-1": endpoint{ + Hostname: "rds.ap-east-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "ap-east-1", + }, + }, "ap-northeast-1": endpoint{ Hostname: "rds.ap-northeast-1.amazonaws.com", CredentialScope: credentialScope{ @@ -4031,6 +4063,12 @@ var awsPartition = partition{ Region: "me-south-1", }, }, + "sa-east-1": endpoint{ + Hostname: "rds.sa-east-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "sa-east-1", + }, + }, "us-east-1": endpoint{ Hostname: "rds.us-east-1.amazonaws.com", CredentialScope: credentialScope{ @@ -7232,6 +7270,18 @@ var awsusgovPartition = partition{ "api.ecr": service{ Endpoints: endpoints{ + "fips-dkr-us-gov-east-1": endpoint{ + Hostname: "ecr-fips.us-gov-east-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-gov-east-1", + }, + }, + "fips-dkr-us-gov-west-1": endpoint{ + Hostname: "ecr-fips.us-gov-west-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-gov-west-1", + }, + }, "fips-us-gov-east-1": endpoint{ Hostname: "ecr-fips.us-gov-east-1.amazonaws.com", CredentialScope: credentialScope{ diff --git a/vendor/github.com/aws/aws-sdk-go/aws/request/connection_reset_error.go b/vendor/github.com/aws/aws-sdk-go/aws/request/connection_reset_error.go index d9b37f4d32a..2ba3c56c11f 100644 --- a/vendor/github.com/aws/aws-sdk-go/aws/request/connection_reset_error.go +++ b/vendor/github.com/aws/aws-sdk-go/aws/request/connection_reset_error.go @@ -9,7 +9,8 @@ func isErrConnectionReset(err error) bool { return false } - if strings.Contains(err.Error(), "connection reset") || + if strings.Contains(err.Error(), "use of closed network connection") || + strings.Contains(err.Error(), "connection reset") || strings.Contains(err.Error(), "broken pipe") { return true } diff --git a/vendor/github.com/aws/aws-sdk-go/aws/version.go b/vendor/github.com/aws/aws-sdk-go/aws/version.go index c3b5b8db296..e0ec21b76fe 100644 --- a/vendor/github.com/aws/aws-sdk-go/aws/version.go +++ b/vendor/github.com/aws/aws-sdk-go/aws/version.go @@ -5,4 +5,4 @@ package aws const SDKName = "aws-sdk-go" // SDKVersion is the version of this SDK -const SDKVersion = "1.33.21" +const SDKVersion = "1.34.4" diff --git a/vendor/github.com/aws/aws-sdk-go/private/protocol/json/jsonutil/unmarshal.go b/vendor/github.com/aws/aws-sdk-go/private/protocol/json/jsonutil/unmarshal.go index 5e9499699ba..8b2c9bbeba0 100644 --- a/vendor/github.com/aws/aws-sdk-go/private/protocol/json/jsonutil/unmarshal.go +++ b/vendor/github.com/aws/aws-sdk-go/private/protocol/json/jsonutil/unmarshal.go @@ -6,6 +6,7 @@ import ( "encoding/json" "fmt" "io" + "math/big" "reflect" "strings" "time" @@ -15,6 +16,8 @@ import ( "github.com/aws/aws-sdk-go/private/protocol" ) +var millisecondsFloat = new(big.Float).SetInt64(1e3) + // UnmarshalJSONError unmarshal's the reader's JSON document into the passed in // type. The value to unmarshal the json document into must be a pointer to the // type. @@ -39,7 +42,9 @@ func UnmarshalJSONError(v interface{}, stream io.Reader) error { func UnmarshalJSON(v interface{}, stream io.Reader) error { var out interface{} - err := json.NewDecoder(stream).Decode(&out) + decoder := json.NewDecoder(stream) + decoder.UseNumber() + err := decoder.Decode(&out) if err == io.EOF { return nil } else if err != nil { @@ -54,7 +59,9 @@ func UnmarshalJSON(v interface{}, stream io.Reader) error { func UnmarshalJSONCaseInsensitive(v interface{}, stream io.Reader) error { var out interface{} - err := json.NewDecoder(stream).Decode(&out) + decoder := json.NewDecoder(stream) + decoder.UseNumber() + err := decoder.Decode(&out) if err == io.EOF { return nil } else if err != nil { @@ -254,16 +261,31 @@ func (u unmarshaler) unmarshalScalar(value reflect.Value, data interface{}, tag default: return fmt.Errorf("unsupported value: %v (%s)", value.Interface(), value.Type()) } - case float64: + case json.Number: switch value.Interface().(type) { case *int64: - di := int64(d) + // Retain the old behavior where we would just truncate the float64 + // calling d.Int64() here could cause an invalid syntax error due to the usage of strconv.ParseInt + f, err := d.Float64() + if err != nil { + return err + } + di := int64(f) value.Set(reflect.ValueOf(&di)) case *float64: - value.Set(reflect.ValueOf(&d)) + f, err := d.Float64() + if err != nil { + return err + } + value.Set(reflect.ValueOf(&f)) case *time.Time: - // Time unmarshaled from a float64 can only be epoch seconds - t := time.Unix(int64(d), 0).UTC() + float, ok := new(big.Float).SetString(d.String()) + if !ok { + return fmt.Errorf("unsupported float time representation: %v", d.String()) + } + float = float.Mul(float, millisecondsFloat) + ms, _ := float.Int64() + t := time.Unix(0, ms*1e6).UTC() value.Set(reflect.ValueOf(&t)) default: return fmt.Errorf("unsupported value: %v (%s)", value.Interface(), value.Type()) diff --git a/vendor/github.com/aws/aws-sdk-go/service/accessanalyzer/api.go b/vendor/github.com/aws/aws-sdk-go/service/accessanalyzer/api.go index 16ad2d2e603..8ae4e0cfebd 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/accessanalyzer/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/accessanalyzer/api.go @@ -4878,6 +4878,16 @@ const ( AnalyzerStatusFailed = "FAILED" ) +// AnalyzerStatus_Values returns all elements of the AnalyzerStatus enum +func AnalyzerStatus_Values() []string { + return []string{ + AnalyzerStatusActive, + AnalyzerStatusCreating, + AnalyzerStatusDisabled, + AnalyzerStatusFailed, + } +} + const ( // FindingSourceTypeBucketAcl is a FindingSourceType enum value FindingSourceTypeBucketAcl = "BUCKET_ACL" @@ -4889,6 +4899,15 @@ const ( FindingSourceTypeS3AccessPoint = "S3_ACCESS_POINT" ) +// FindingSourceType_Values returns all elements of the FindingSourceType enum +func FindingSourceType_Values() []string { + return []string{ + FindingSourceTypeBucketAcl, + FindingSourceTypePolicy, + FindingSourceTypeS3AccessPoint, + } +} + const ( // FindingStatusActive is a FindingStatus enum value FindingStatusActive = "ACTIVE" @@ -4900,6 +4919,15 @@ const ( FindingStatusResolved = "RESOLVED" ) +// FindingStatus_Values returns all elements of the FindingStatus enum +func FindingStatus_Values() []string { + return []string{ + FindingStatusActive, + FindingStatusArchived, + FindingStatusResolved, + } +} + const ( // FindingStatusUpdateActive is a FindingStatusUpdate enum value FindingStatusUpdateActive = "ACTIVE" @@ -4908,6 +4936,14 @@ const ( FindingStatusUpdateArchived = "ARCHIVED" ) +// FindingStatusUpdate_Values returns all elements of the FindingStatusUpdate enum +func FindingStatusUpdate_Values() []string { + return []string{ + FindingStatusUpdateActive, + FindingStatusUpdateArchived, + } +} + const ( // OrderByAsc is a OrderBy enum value OrderByAsc = "ASC" @@ -4916,6 +4952,14 @@ const ( OrderByDesc = "DESC" ) +// OrderBy_Values returns all elements of the OrderBy enum +func OrderBy_Values() []string { + return []string{ + OrderByAsc, + OrderByDesc, + } +} + const ( // ReasonCodeAwsServiceAccessDisabled is a ReasonCode enum value ReasonCodeAwsServiceAccessDisabled = "AWS_SERVICE_ACCESS_DISABLED" @@ -4930,6 +4974,16 @@ const ( ReasonCodeServiceLinkedRoleCreationFailed = "SERVICE_LINKED_ROLE_CREATION_FAILED" ) +// ReasonCode_Values returns all elements of the ReasonCode enum +func ReasonCode_Values() []string { + return []string{ + ReasonCodeAwsServiceAccessDisabled, + ReasonCodeDelegatedAdministratorDeregistered, + ReasonCodeOrganizationDeleted, + ReasonCodeServiceLinkedRoleCreationFailed, + } +} + const ( // ResourceTypeAwsIamRole is a ResourceType enum value ResourceTypeAwsIamRole = "AWS::IAM::Role" @@ -4950,6 +5004,18 @@ const ( ResourceTypeAwsSqsQueue = "AWS::SQS::Queue" ) +// ResourceType_Values returns all elements of the ResourceType enum +func ResourceType_Values() []string { + return []string{ + ResourceTypeAwsIamRole, + ResourceTypeAwsKmsKey, + ResourceTypeAwsLambdaFunction, + ResourceTypeAwsLambdaLayerVersion, + ResourceTypeAwsS3Bucket, + ResourceTypeAwsSqsQueue, + } +} + const ( // TypeAccount is a Type enum value TypeAccount = "ACCOUNT" @@ -4958,6 +5024,14 @@ const ( TypeOrganization = "ORGANIZATION" ) +// Type_Values returns all elements of the Type enum +func Type_Values() []string { + return []string{ + TypeAccount, + TypeOrganization, + } +} + const ( // ValidationExceptionReasonCannotParse is a ValidationExceptionReason enum value ValidationExceptionReasonCannotParse = "cannotParse" @@ -4971,3 +5045,13 @@ const ( // ValidationExceptionReasonUnknownOperation is a ValidationExceptionReason enum value ValidationExceptionReasonUnknownOperation = "unknownOperation" ) + +// ValidationExceptionReason_Values returns all elements of the ValidationExceptionReason enum +func ValidationExceptionReason_Values() []string { + return []string{ + ValidationExceptionReasonCannotParse, + ValidationExceptionReasonFieldValidationFailed, + ValidationExceptionReasonOther, + ValidationExceptionReasonUnknownOperation, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/acm/api.go b/vendor/github.com/aws/aws-sdk-go/service/acm/api.go index f643d683a69..51c26a35f10 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/acm/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/acm/api.go @@ -4142,6 +4142,19 @@ const ( CertificateStatusFailed = "FAILED" ) +// CertificateStatus_Values returns all elements of the CertificateStatus enum +func CertificateStatus_Values() []string { + return []string{ + CertificateStatusPendingValidation, + CertificateStatusIssued, + CertificateStatusInactive, + CertificateStatusExpired, + CertificateStatusValidationTimedOut, + CertificateStatusRevoked, + CertificateStatusFailed, + } +} + const ( // CertificateTransparencyLoggingPreferenceEnabled is a CertificateTransparencyLoggingPreference enum value CertificateTransparencyLoggingPreferenceEnabled = "ENABLED" @@ -4150,6 +4163,14 @@ const ( CertificateTransparencyLoggingPreferenceDisabled = "DISABLED" ) +// CertificateTransparencyLoggingPreference_Values returns all elements of the CertificateTransparencyLoggingPreference enum +func CertificateTransparencyLoggingPreference_Values() []string { + return []string{ + CertificateTransparencyLoggingPreferenceEnabled, + CertificateTransparencyLoggingPreferenceDisabled, + } +} + const ( // CertificateTypeImported is a CertificateType enum value CertificateTypeImported = "IMPORTED" @@ -4161,6 +4182,15 @@ const ( CertificateTypePrivate = "PRIVATE" ) +// CertificateType_Values returns all elements of the CertificateType enum +func CertificateType_Values() []string { + return []string{ + CertificateTypeImported, + CertificateTypeAmazonIssued, + CertificateTypePrivate, + } +} + const ( // DomainStatusPendingValidation is a DomainStatus enum value DomainStatusPendingValidation = "PENDING_VALIDATION" @@ -4172,6 +4202,15 @@ const ( DomainStatusFailed = "FAILED" ) +// DomainStatus_Values returns all elements of the DomainStatus enum +func DomainStatus_Values() []string { + return []string{ + DomainStatusPendingValidation, + DomainStatusSuccess, + DomainStatusFailed, + } +} + const ( // ExtendedKeyUsageNameTlsWebServerAuthentication is a ExtendedKeyUsageName enum value ExtendedKeyUsageNameTlsWebServerAuthentication = "TLS_WEB_SERVER_AUTHENTICATION" @@ -4210,6 +4249,24 @@ const ( ExtendedKeyUsageNameCustom = "CUSTOM" ) +// ExtendedKeyUsageName_Values returns all elements of the ExtendedKeyUsageName enum +func ExtendedKeyUsageName_Values() []string { + return []string{ + ExtendedKeyUsageNameTlsWebServerAuthentication, + ExtendedKeyUsageNameTlsWebClientAuthentication, + ExtendedKeyUsageNameCodeSigning, + ExtendedKeyUsageNameEmailProtection, + ExtendedKeyUsageNameTimeStamping, + ExtendedKeyUsageNameOcspSigning, + ExtendedKeyUsageNameIpsecEndSystem, + ExtendedKeyUsageNameIpsecTunnel, + ExtendedKeyUsageNameIpsecUser, + ExtendedKeyUsageNameAny, + ExtendedKeyUsageNameNone, + ExtendedKeyUsageNameCustom, + } +} + const ( // FailureReasonNoAvailableContacts is a FailureReason enum value FailureReasonNoAvailableContacts = "NO_AVAILABLE_CONTACTS" @@ -4260,6 +4317,28 @@ const ( FailureReasonOther = "OTHER" ) +// FailureReason_Values returns all elements of the FailureReason enum +func FailureReason_Values() []string { + return []string{ + FailureReasonNoAvailableContacts, + FailureReasonAdditionalVerificationRequired, + FailureReasonDomainNotAllowed, + FailureReasonInvalidPublicDomain, + FailureReasonDomainValidationDenied, + FailureReasonCaaError, + FailureReasonPcaLimitExceeded, + FailureReasonPcaInvalidArn, + FailureReasonPcaInvalidState, + FailureReasonPcaRequestFailed, + FailureReasonPcaNameConstraintsValidation, + FailureReasonPcaResourceNotFound, + FailureReasonPcaInvalidArgs, + FailureReasonPcaInvalidDuration, + FailureReasonPcaAccessDenied, + FailureReasonOther, + } +} + const ( // KeyAlgorithmRsa2048 is a KeyAlgorithm enum value KeyAlgorithmRsa2048 = "RSA_2048" @@ -4280,6 +4359,18 @@ const ( KeyAlgorithmEcSecp521r1 = "EC_secp521r1" ) +// KeyAlgorithm_Values returns all elements of the KeyAlgorithm enum +func KeyAlgorithm_Values() []string { + return []string{ + KeyAlgorithmRsa2048, + KeyAlgorithmRsa1024, + KeyAlgorithmRsa4096, + KeyAlgorithmEcPrime256v1, + KeyAlgorithmEcSecp384r1, + KeyAlgorithmEcSecp521r1, + } +} + const ( // KeyUsageNameDigitalSignature is a KeyUsageName enum value KeyUsageNameDigitalSignature = "DIGITAL_SIGNATURE" @@ -4315,11 +4406,35 @@ const ( KeyUsageNameCustom = "CUSTOM" ) +// KeyUsageName_Values returns all elements of the KeyUsageName enum +func KeyUsageName_Values() []string { + return []string{ + KeyUsageNameDigitalSignature, + KeyUsageNameNonRepudiation, + KeyUsageNameKeyEncipherment, + KeyUsageNameDataEncipherment, + KeyUsageNameKeyAgreement, + KeyUsageNameCertificateSigning, + KeyUsageNameCrlSigning, + KeyUsageNameEncipherOnly, + KeyUsageNameDecipherOnly, + KeyUsageNameAny, + KeyUsageNameCustom, + } +} + const ( // RecordTypeCname is a RecordType enum value RecordTypeCname = "CNAME" ) +// RecordType_Values returns all elements of the RecordType enum +func RecordType_Values() []string { + return []string{ + RecordTypeCname, + } +} + const ( // RenewalEligibilityEligible is a RenewalEligibility enum value RenewalEligibilityEligible = "ELIGIBLE" @@ -4328,6 +4443,14 @@ const ( RenewalEligibilityIneligible = "INELIGIBLE" ) +// RenewalEligibility_Values returns all elements of the RenewalEligibility enum +func RenewalEligibility_Values() []string { + return []string{ + RenewalEligibilityEligible, + RenewalEligibilityIneligible, + } +} + const ( // RenewalStatusPendingAutoRenewal is a RenewalStatus enum value RenewalStatusPendingAutoRenewal = "PENDING_AUTO_RENEWAL" @@ -4342,6 +4465,16 @@ const ( RenewalStatusFailed = "FAILED" ) +// RenewalStatus_Values returns all elements of the RenewalStatus enum +func RenewalStatus_Values() []string { + return []string{ + RenewalStatusPendingAutoRenewal, + RenewalStatusPendingValidation, + RenewalStatusSuccess, + RenewalStatusFailed, + } +} + const ( // RevocationReasonUnspecified is a RevocationReason enum value RevocationReasonUnspecified = "UNSPECIFIED" @@ -4374,6 +4507,22 @@ const ( RevocationReasonAACompromise = "A_A_COMPROMISE" ) +// RevocationReason_Values returns all elements of the RevocationReason enum +func RevocationReason_Values() []string { + return []string{ + RevocationReasonUnspecified, + RevocationReasonKeyCompromise, + RevocationReasonCaCompromise, + RevocationReasonAffiliationChanged, + RevocationReasonSuperceded, + RevocationReasonCessationOfOperation, + RevocationReasonCertificateHold, + RevocationReasonRemoveFromCrl, + RevocationReasonPrivilegeWithdrawn, + RevocationReasonAACompromise, + } +} + const ( // ValidationMethodEmail is a ValidationMethod enum value ValidationMethodEmail = "EMAIL" @@ -4381,3 +4530,11 @@ const ( // ValidationMethodDns is a ValidationMethod enum value ValidationMethodDns = "DNS" ) + +// ValidationMethod_Values returns all elements of the ValidationMethod enum +func ValidationMethod_Values() []string { + return []string{ + ValidationMethodEmail, + ValidationMethodDns, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/acmpca/api.go b/vendor/github.com/aws/aws-sdk-go/service/acmpca/api.go index 22cca109ef4..dc6eabe52f4 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/acmpca/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/acmpca/api.go @@ -5882,6 +5882,15 @@ const ( ActionTypeListPermissions = "ListPermissions" ) +// ActionType_Values returns all elements of the ActionType enum +func ActionType_Values() []string { + return []string{ + ActionTypeIssueCertificate, + ActionTypeGetCertificate, + ActionTypeListPermissions, + } +} + const ( // AuditReportResponseFormatJson is a AuditReportResponseFormat enum value AuditReportResponseFormatJson = "JSON" @@ -5890,6 +5899,14 @@ const ( AuditReportResponseFormatCsv = "CSV" ) +// AuditReportResponseFormat_Values returns all elements of the AuditReportResponseFormat enum +func AuditReportResponseFormat_Values() []string { + return []string{ + AuditReportResponseFormatJson, + AuditReportResponseFormatCsv, + } +} + const ( // AuditReportStatusCreating is a AuditReportStatus enum value AuditReportStatusCreating = "CREATING" @@ -5901,6 +5918,15 @@ const ( AuditReportStatusFailed = "FAILED" ) +// AuditReportStatus_Values returns all elements of the AuditReportStatus enum +func AuditReportStatus_Values() []string { + return []string{ + AuditReportStatusCreating, + AuditReportStatusSuccess, + AuditReportStatusFailed, + } +} + const ( // CertificateAuthorityStatusCreating is a CertificateAuthorityStatus enum value CertificateAuthorityStatusCreating = "CREATING" @@ -5924,6 +5950,19 @@ const ( CertificateAuthorityStatusFailed = "FAILED" ) +// CertificateAuthorityStatus_Values returns all elements of the CertificateAuthorityStatus enum +func CertificateAuthorityStatus_Values() []string { + return []string{ + CertificateAuthorityStatusCreating, + CertificateAuthorityStatusPendingCertificate, + CertificateAuthorityStatusActive, + CertificateAuthorityStatusDeleted, + CertificateAuthorityStatusDisabled, + CertificateAuthorityStatusExpired, + CertificateAuthorityStatusFailed, + } +} + const ( // CertificateAuthorityTypeRoot is a CertificateAuthorityType enum value CertificateAuthorityTypeRoot = "ROOT" @@ -5932,6 +5971,14 @@ const ( CertificateAuthorityTypeSubordinate = "SUBORDINATE" ) +// CertificateAuthorityType_Values returns all elements of the CertificateAuthorityType enum +func CertificateAuthorityType_Values() []string { + return []string{ + CertificateAuthorityTypeRoot, + CertificateAuthorityTypeSubordinate, + } +} + const ( // FailureReasonRequestTimedOut is a FailureReason enum value FailureReasonRequestTimedOut = "REQUEST_TIMED_OUT" @@ -5943,6 +5990,15 @@ const ( FailureReasonOther = "OTHER" ) +// FailureReason_Values returns all elements of the FailureReason enum +func FailureReason_Values() []string { + return []string{ + FailureReasonRequestTimedOut, + FailureReasonUnsupportedAlgorithm, + FailureReasonOther, + } +} + const ( // KeyAlgorithmRsa2048 is a KeyAlgorithm enum value KeyAlgorithmRsa2048 = "RSA_2048" @@ -5957,6 +6013,16 @@ const ( KeyAlgorithmEcSecp384r1 = "EC_secp384r1" ) +// KeyAlgorithm_Values returns all elements of the KeyAlgorithm enum +func KeyAlgorithm_Values() []string { + return []string{ + KeyAlgorithmRsa2048, + KeyAlgorithmRsa4096, + KeyAlgorithmEcPrime256v1, + KeyAlgorithmEcSecp384r1, + } +} + const ( // RevocationReasonUnspecified is a RevocationReason enum value RevocationReasonUnspecified = "UNSPECIFIED" @@ -5983,6 +6049,20 @@ const ( RevocationReasonAACompromise = "A_A_COMPROMISE" ) +// RevocationReason_Values returns all elements of the RevocationReason enum +func RevocationReason_Values() []string { + return []string{ + RevocationReasonUnspecified, + RevocationReasonKeyCompromise, + RevocationReasonCertificateAuthorityCompromise, + RevocationReasonAffiliationChanged, + RevocationReasonSuperseded, + RevocationReasonCessationOfOperation, + RevocationReasonPrivilegeWithdrawn, + RevocationReasonAACompromise, + } +} + const ( // SigningAlgorithmSha256withecdsa is a SigningAlgorithm enum value SigningAlgorithmSha256withecdsa = "SHA256WITHECDSA" @@ -6003,6 +6083,18 @@ const ( SigningAlgorithmSha512withrsa = "SHA512WITHRSA" ) +// SigningAlgorithm_Values returns all elements of the SigningAlgorithm enum +func SigningAlgorithm_Values() []string { + return []string{ + SigningAlgorithmSha256withecdsa, + SigningAlgorithmSha384withecdsa, + SigningAlgorithmSha512withecdsa, + SigningAlgorithmSha256withrsa, + SigningAlgorithmSha384withrsa, + SigningAlgorithmSha512withrsa, + } +} + const ( // ValidityPeriodTypeEndDate is a ValidityPeriodType enum value ValidityPeriodTypeEndDate = "END_DATE" @@ -6019,3 +6111,14 @@ const ( // ValidityPeriodTypeYears is a ValidityPeriodType enum value ValidityPeriodTypeYears = "YEARS" ) + +// ValidityPeriodType_Values returns all elements of the ValidityPeriodType enum +func ValidityPeriodType_Values() []string { + return []string{ + ValidityPeriodTypeEndDate, + ValidityPeriodTypeAbsolute, + ValidityPeriodTypeDays, + ValidityPeriodTypeMonths, + ValidityPeriodTypeYears, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/amplify/api.go b/vendor/github.com/aws/aws-sdk-go/service/amplify/api.go index c12ac6bd1d3..b89dddfb021 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/amplify/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/amplify/api.go @@ -9338,6 +9338,20 @@ const ( DomainStatusUpdating = "UPDATING" ) +// DomainStatus_Values returns all elements of the DomainStatus enum +func DomainStatus_Values() []string { + return []string{ + DomainStatusPendingVerification, + DomainStatusInProgress, + DomainStatusAvailable, + DomainStatusPendingDeployment, + DomainStatusFailed, + DomainStatusCreating, + DomainStatusRequestingCertificate, + DomainStatusUpdating, + } +} + const ( // JobStatusPending is a JobStatus enum value JobStatusPending = "PENDING" @@ -9361,6 +9375,19 @@ const ( JobStatusCancelled = "CANCELLED" ) +// JobStatus_Values returns all elements of the JobStatus enum +func JobStatus_Values() []string { + return []string{ + JobStatusPending, + JobStatusProvisioning, + JobStatusRunning, + JobStatusFailed, + JobStatusSucceed, + JobStatusCancelling, + JobStatusCancelled, + } +} + const ( // JobTypeRelease is a JobType enum value JobTypeRelease = "RELEASE" @@ -9375,11 +9402,28 @@ const ( JobTypeWebHook = "WEB_HOOK" ) +// JobType_Values returns all elements of the JobType enum +func JobType_Values() []string { + return []string{ + JobTypeRelease, + JobTypeRetry, + JobTypeManual, + JobTypeWebHook, + } +} + const ( // PlatformWeb is a Platform enum value PlatformWeb = "WEB" ) +// Platform_Values returns all elements of the Platform enum +func Platform_Values() []string { + return []string{ + PlatformWeb, + } +} + const ( // StageProduction is a Stage enum value StageProduction = "PRODUCTION" @@ -9396,3 +9440,14 @@ const ( // StagePullRequest is a Stage enum value StagePullRequest = "PULL_REQUEST" ) + +// Stage_Values returns all elements of the Stage enum +func Stage_Values() []string { + return []string{ + StageProduction, + StageBeta, + StageDevelopment, + StageExperimental, + StagePullRequest, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/apigateway/api.go b/vendor/github.com/aws/aws-sdk-go/service/apigateway/api.go index 751c10ab453..835db5e32e9 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/apigateway/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/apigateway/api.go @@ -25456,11 +25456,26 @@ const ( ApiKeySourceTypeAuthorizer = "AUTHORIZER" ) +// ApiKeySourceType_Values returns all elements of the ApiKeySourceType enum +func ApiKeySourceType_Values() []string { + return []string{ + ApiKeySourceTypeHeader, + ApiKeySourceTypeAuthorizer, + } +} + const ( // ApiKeysFormatCsv is a ApiKeysFormat enum value ApiKeysFormatCsv = "csv" ) +// ApiKeysFormat_Values returns all elements of the ApiKeysFormat enum +func ApiKeysFormat_Values() []string { + return []string{ + ApiKeysFormatCsv, + } +} + // The authorizer type. Valid values are TOKEN for a Lambda function using a // single authorization token submitted in a custom header, REQUEST for a Lambda // function using incoming request parameters, and COGNITO_USER_POOLS for using @@ -25476,6 +25491,15 @@ const ( AuthorizerTypeCognitoUserPools = "COGNITO_USER_POOLS" ) +// AuthorizerType_Values returns all elements of the AuthorizerType enum +func AuthorizerType_Values() []string { + return []string{ + AuthorizerTypeToken, + AuthorizerTypeRequest, + AuthorizerTypeCognitoUserPools, + } +} + // Returns the size of the CacheCluster. const ( // CacheClusterSize05 is a CacheClusterSize enum value @@ -25503,6 +25527,20 @@ const ( CacheClusterSize237 = "237" ) +// CacheClusterSize_Values returns all elements of the CacheClusterSize enum +func CacheClusterSize_Values() []string { + return []string{ + CacheClusterSize05, + CacheClusterSize16, + CacheClusterSize61, + CacheClusterSize135, + CacheClusterSize284, + CacheClusterSize582, + CacheClusterSize118, + CacheClusterSize237, + } +} + // Returns the status of the CacheCluster. const ( // CacheClusterStatusCreateInProgress is a CacheClusterStatus enum value @@ -25521,6 +25559,17 @@ const ( CacheClusterStatusFlushInProgress = "FLUSH_IN_PROGRESS" ) +// CacheClusterStatus_Values returns all elements of the CacheClusterStatus enum +func CacheClusterStatus_Values() []string { + return []string{ + CacheClusterStatusCreateInProgress, + CacheClusterStatusAvailable, + CacheClusterStatusDeleteInProgress, + CacheClusterStatusNotAvailable, + CacheClusterStatusFlushInProgress, + } +} + const ( // ConnectionTypeInternet is a ConnectionType enum value ConnectionTypeInternet = "INTERNET" @@ -25529,6 +25578,14 @@ const ( ConnectionTypeVpcLink = "VPC_LINK" ) +// ConnectionType_Values returns all elements of the ConnectionType enum +func ConnectionType_Values() []string { + return []string{ + ConnectionTypeInternet, + ConnectionTypeVpcLink, + } +} + const ( // ContentHandlingStrategyConvertToBinary is a ContentHandlingStrategy enum value ContentHandlingStrategyConvertToBinary = "CONVERT_TO_BINARY" @@ -25537,6 +25594,14 @@ const ( ContentHandlingStrategyConvertToText = "CONVERT_TO_TEXT" ) +// ContentHandlingStrategy_Values returns all elements of the ContentHandlingStrategy enum +func ContentHandlingStrategy_Values() []string { + return []string{ + ContentHandlingStrategyConvertToBinary, + ContentHandlingStrategyConvertToText, + } +} + const ( // DocumentationPartTypeApi is a DocumentationPartType enum value DocumentationPartTypeApi = "API" @@ -25575,6 +25640,24 @@ const ( DocumentationPartTypeResponseBody = "RESPONSE_BODY" ) +// DocumentationPartType_Values returns all elements of the DocumentationPartType enum +func DocumentationPartType_Values() []string { + return []string{ + DocumentationPartTypeApi, + DocumentationPartTypeAuthorizer, + DocumentationPartTypeModel, + DocumentationPartTypeResource, + DocumentationPartTypeMethod, + DocumentationPartTypePathParameter, + DocumentationPartTypeQueryParameter, + DocumentationPartTypeRequestHeader, + DocumentationPartTypeRequestBody, + DocumentationPartTypeResponse, + DocumentationPartTypeResponseHeader, + DocumentationPartTypeResponseBody, + } +} + const ( // DomainNameStatusAvailable is a DomainNameStatus enum value DomainNameStatusAvailable = "AVAILABLE" @@ -25586,6 +25669,15 @@ const ( DomainNameStatusPending = "PENDING" ) +// DomainNameStatus_Values returns all elements of the DomainNameStatus enum +func DomainNameStatus_Values() []string { + return []string{ + DomainNameStatusAvailable, + DomainNameStatusUpdating, + DomainNameStatusPending, + } +} + // The endpoint type. The valid values are EDGE for edge-optimized API setup, // most suitable for mobile applications; REGIONAL for regional API endpoint // setup, most suitable for calling from AWS Region; and PRIVATE for private @@ -25601,6 +25693,15 @@ const ( EndpointTypePrivate = "PRIVATE" ) +// EndpointType_Values returns all elements of the EndpointType enum +func EndpointType_Values() []string { + return []string{ + EndpointTypeRegional, + EndpointTypeEdge, + EndpointTypePrivate, + } +} + const ( // GatewayResponseTypeDefault4xx is a GatewayResponseType enum value GatewayResponseTypeDefault4xx = "DEFAULT_4XX" @@ -25663,6 +25764,32 @@ const ( GatewayResponseTypeQuotaExceeded = "QUOTA_EXCEEDED" ) +// GatewayResponseType_Values returns all elements of the GatewayResponseType enum +func GatewayResponseType_Values() []string { + return []string{ + GatewayResponseTypeDefault4xx, + GatewayResponseTypeDefault5xx, + GatewayResponseTypeResourceNotFound, + GatewayResponseTypeUnauthorized, + GatewayResponseTypeInvalidApiKey, + GatewayResponseTypeAccessDenied, + GatewayResponseTypeAuthorizerFailure, + GatewayResponseTypeAuthorizerConfigurationError, + GatewayResponseTypeInvalidSignature, + GatewayResponseTypeExpiredToken, + GatewayResponseTypeMissingAuthenticationToken, + GatewayResponseTypeIntegrationFailure, + GatewayResponseTypeIntegrationTimeout, + GatewayResponseTypeApiConfigurationError, + GatewayResponseTypeUnsupportedMediaType, + GatewayResponseTypeBadRequestParameters, + GatewayResponseTypeBadRequestBody, + GatewayResponseTypeRequestTooLarge, + GatewayResponseTypeThrottled, + GatewayResponseTypeQuotaExceeded, + } +} + // The integration type. The valid value is HTTP for integrating an API method // with an HTTP backend; AWS with any AWS service endpoints; MOCK for testing // without actually invoking the backend; HTTP_PROXY for integrating with the @@ -25684,6 +25811,17 @@ const ( IntegrationTypeAwsProxy = "AWS_PROXY" ) +// IntegrationType_Values returns all elements of the IntegrationType enum +func IntegrationType_Values() []string { + return []string{ + IntegrationTypeHttp, + IntegrationTypeAws, + IntegrationTypeMock, + IntegrationTypeHttpProxy, + IntegrationTypeAwsProxy, + } +} + const ( // LocationStatusTypeDocumented is a LocationStatusType enum value LocationStatusTypeDocumented = "DOCUMENTED" @@ -25692,6 +25830,14 @@ const ( LocationStatusTypeUndocumented = "UNDOCUMENTED" ) +// LocationStatusType_Values returns all elements of the LocationStatusType enum +func LocationStatusType_Values() []string { + return []string{ + LocationStatusTypeDocumented, + LocationStatusTypeUndocumented, + } +} + const ( // OpAdd is a Op enum value OpAdd = "add" @@ -25712,6 +25858,18 @@ const ( OpTest = "test" ) +// Op_Values returns all elements of the Op enum +func Op_Values() []string { + return []string{ + OpAdd, + OpRemove, + OpReplace, + OpMove, + OpCopy, + OpTest, + } +} + const ( // PutModeMerge is a PutMode enum value PutModeMerge = "merge" @@ -25720,6 +25878,14 @@ const ( PutModeOverwrite = "overwrite" ) +// PutMode_Values returns all elements of the PutMode enum +func PutMode_Values() []string { + return []string{ + PutModeMerge, + PutModeOverwrite, + } +} + const ( // QuotaPeriodTypeDay is a QuotaPeriodType enum value QuotaPeriodTypeDay = "DAY" @@ -25731,6 +25897,15 @@ const ( QuotaPeriodTypeMonth = "MONTH" ) +// QuotaPeriodType_Values returns all elements of the QuotaPeriodType enum +func QuotaPeriodType_Values() []string { + return []string{ + QuotaPeriodTypeDay, + QuotaPeriodTypeWeek, + QuotaPeriodTypeMonth, + } +} + const ( // SecurityPolicyTls10 is a SecurityPolicy enum value SecurityPolicyTls10 = "TLS_1_0" @@ -25739,6 +25914,14 @@ const ( SecurityPolicyTls12 = "TLS_1_2" ) +// SecurityPolicy_Values returns all elements of the SecurityPolicy enum +func SecurityPolicy_Values() []string { + return []string{ + SecurityPolicyTls10, + SecurityPolicyTls12, + } +} + const ( // UnauthorizedCacheControlHeaderStrategyFailWith403 is a UnauthorizedCacheControlHeaderStrategy enum value UnauthorizedCacheControlHeaderStrategyFailWith403 = "FAIL_WITH_403" @@ -25750,6 +25933,15 @@ const ( UnauthorizedCacheControlHeaderStrategySucceedWithoutResponseHeader = "SUCCEED_WITHOUT_RESPONSE_HEADER" ) +// UnauthorizedCacheControlHeaderStrategy_Values returns all elements of the UnauthorizedCacheControlHeaderStrategy enum +func UnauthorizedCacheControlHeaderStrategy_Values() []string { + return []string{ + UnauthorizedCacheControlHeaderStrategyFailWith403, + UnauthorizedCacheControlHeaderStrategySucceedWithResponseHeader, + UnauthorizedCacheControlHeaderStrategySucceedWithoutResponseHeader, + } +} + const ( // VpcLinkStatusAvailable is a VpcLinkStatus enum value VpcLinkStatusAvailable = "AVAILABLE" @@ -25763,3 +25955,13 @@ const ( // VpcLinkStatusFailed is a VpcLinkStatus enum value VpcLinkStatusFailed = "FAILED" ) + +// VpcLinkStatus_Values returns all elements of the VpcLinkStatus enum +func VpcLinkStatus_Values() []string { + return []string{ + VpcLinkStatusAvailable, + VpcLinkStatusPending, + VpcLinkStatusDeleting, + VpcLinkStatusFailed, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/apigatewayv2/api.go b/vendor/github.com/aws/aws-sdk-go/service/apigatewayv2/api.go index f191a64b8a1..6077267c78e 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/apigatewayv2/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/apigatewayv2/api.go @@ -18128,6 +18128,16 @@ const ( AuthorizationTypeJwt = "JWT" ) +// AuthorizationType_Values returns all elements of the AuthorizationType enum +func AuthorizationType_Values() []string { + return []string{ + AuthorizationTypeNone, + AuthorizationTypeAwsIam, + AuthorizationTypeCustom, + AuthorizationTypeJwt, + } +} + // The authorizer type. For WebSocket APIs, specify REQUEST for a Lambda function // using incoming request parameters. For HTTP APIs, specify JWT to use JSON // Web Tokens. @@ -18139,6 +18149,14 @@ const ( AuthorizerTypeJwt = "JWT" ) +// AuthorizerType_Values returns all elements of the AuthorizerType enum +func AuthorizerType_Values() []string { + return []string{ + AuthorizerTypeRequest, + AuthorizerTypeJwt, + } +} + // Represents a connection type. const ( // ConnectionTypeInternet is a ConnectionType enum value @@ -18148,6 +18166,14 @@ const ( ConnectionTypeVpcLink = "VPC_LINK" ) +// ConnectionType_Values returns all elements of the ConnectionType enum +func ConnectionType_Values() []string { + return []string{ + ConnectionTypeInternet, + ConnectionTypeVpcLink, + } +} + // Specifies how to handle response payload content type conversions. Supported // only for WebSocket APIs. const ( @@ -18158,6 +18184,14 @@ const ( ContentHandlingStrategyConvertToText = "CONVERT_TO_TEXT" ) +// ContentHandlingStrategy_Values returns all elements of the ContentHandlingStrategy enum +func ContentHandlingStrategy_Values() []string { + return []string{ + ContentHandlingStrategyConvertToBinary, + ContentHandlingStrategyConvertToText, + } +} + // Represents a deployment status. const ( // DeploymentStatusPending is a DeploymentStatus enum value @@ -18170,6 +18204,15 @@ const ( DeploymentStatusDeployed = "DEPLOYED" ) +// DeploymentStatus_Values returns all elements of the DeploymentStatus enum +func DeploymentStatus_Values() []string { + return []string{ + DeploymentStatusPending, + DeploymentStatusFailed, + DeploymentStatusDeployed, + } +} + // The status of the domain name migration. The valid values are AVAILABLE and // UPDATING. If the status is UPDATING, the domain cannot be modified further // until the existing operation is complete. If it is AVAILABLE, the domain @@ -18182,6 +18225,14 @@ const ( DomainNameStatusUpdating = "UPDATING" ) +// DomainNameStatus_Values returns all elements of the DomainNameStatus enum +func DomainNameStatus_Values() []string { + return []string{ + DomainNameStatusAvailable, + DomainNameStatusUpdating, + } +} + // Represents an endpoint type. const ( // EndpointTypeRegional is a EndpointType enum value @@ -18191,6 +18242,14 @@ const ( EndpointTypeEdge = "EDGE" ) +// EndpointType_Values returns all elements of the EndpointType enum +func EndpointType_Values() []string { + return []string{ + EndpointTypeRegional, + EndpointTypeEdge, + } +} + // Represents an API method integration type. const ( // IntegrationTypeAws is a IntegrationType enum value @@ -18209,6 +18268,17 @@ const ( IntegrationTypeAwsProxy = "AWS_PROXY" ) +// IntegrationType_Values returns all elements of the IntegrationType enum +func IntegrationType_Values() []string { + return []string{ + IntegrationTypeAws, + IntegrationTypeHttp, + IntegrationTypeMock, + IntegrationTypeHttpProxy, + IntegrationTypeAwsProxy, + } +} + // The logging level. const ( // LoggingLevelError is a LoggingLevel enum value @@ -18221,6 +18291,15 @@ const ( LoggingLevelOff = "OFF" ) +// LoggingLevel_Values returns all elements of the LoggingLevel enum +func LoggingLevel_Values() []string { + return []string{ + LoggingLevelError, + LoggingLevelInfo, + LoggingLevelOff, + } +} + // Represents passthrough behavior for an integration response. Supported only // for WebSocket APIs. const ( @@ -18234,6 +18313,15 @@ const ( PassthroughBehaviorWhenNoTemplates = "WHEN_NO_TEMPLATES" ) +// PassthroughBehavior_Values returns all elements of the PassthroughBehavior enum +func PassthroughBehavior_Values() []string { + return []string{ + PassthroughBehaviorWhenNoMatch, + PassthroughBehaviorNever, + PassthroughBehaviorWhenNoTemplates, + } +} + // Represents a protocol type. const ( // ProtocolTypeWebsocket is a ProtocolType enum value @@ -18243,6 +18331,14 @@ const ( ProtocolTypeHttp = "HTTP" ) +// ProtocolType_Values returns all elements of the ProtocolType enum +func ProtocolType_Values() []string { + return []string{ + ProtocolTypeWebsocket, + ProtocolTypeHttp, + } +} + // The Transport Layer Security (TLS) version of the security policy for this // domain name. The valid values are TLS_1_0 and TLS_1_2. const ( @@ -18253,6 +18349,14 @@ const ( SecurityPolicyTls12 = "TLS_1_2" ) +// SecurityPolicy_Values returns all elements of the SecurityPolicy enum +func SecurityPolicy_Values() []string { + return []string{ + SecurityPolicyTls10, + SecurityPolicyTls12, + } +} + // The status of the VPC link. const ( // VpcLinkStatusPending is a VpcLinkStatus enum value @@ -18271,8 +18375,26 @@ const ( VpcLinkStatusInactive = "INACTIVE" ) +// VpcLinkStatus_Values returns all elements of the VpcLinkStatus enum +func VpcLinkStatus_Values() []string { + return []string{ + VpcLinkStatusPending, + VpcLinkStatusAvailable, + VpcLinkStatusDeleting, + VpcLinkStatusFailed, + VpcLinkStatusInactive, + } +} + // The version of the VPC link. const ( // VpcLinkVersionV2 is a VpcLinkVersion enum value VpcLinkVersionV2 = "V2" ) + +// VpcLinkVersion_Values returns all elements of the VpcLinkVersion enum +func VpcLinkVersion_Values() []string { + return []string{ + VpcLinkVersionV2, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/applicationautoscaling/api.go b/vendor/github.com/aws/aws-sdk-go/service/applicationautoscaling/api.go index a9d77bc4b9c..df23d218c7f 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/applicationautoscaling/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/applicationautoscaling/api.go @@ -5508,6 +5508,15 @@ const ( AdjustmentTypeExactCapacity = "ExactCapacity" ) +// AdjustmentType_Values returns all elements of the AdjustmentType enum +func AdjustmentType_Values() []string { + return []string{ + AdjustmentTypeChangeInCapacity, + AdjustmentTypePercentChangeInCapacity, + AdjustmentTypeExactCapacity, + } +} + const ( // MetricAggregationTypeAverage is a MetricAggregationType enum value MetricAggregationTypeAverage = "Average" @@ -5519,6 +5528,15 @@ const ( MetricAggregationTypeMaximum = "Maximum" ) +// MetricAggregationType_Values returns all elements of the MetricAggregationType enum +func MetricAggregationType_Values() []string { + return []string{ + MetricAggregationTypeAverage, + MetricAggregationTypeMinimum, + MetricAggregationTypeMaximum, + } +} + const ( // MetricStatisticAverage is a MetricStatistic enum value MetricStatisticAverage = "Average" @@ -5536,6 +5554,17 @@ const ( MetricStatisticSum = "Sum" ) +// MetricStatistic_Values returns all elements of the MetricStatistic enum +func MetricStatistic_Values() []string { + return []string{ + MetricStatisticAverage, + MetricStatisticMinimum, + MetricStatisticMaximum, + MetricStatisticSampleCount, + MetricStatisticSum, + } +} + const ( // MetricTypeDynamoDbreadCapacityUtilization is a MetricType enum value MetricTypeDynamoDbreadCapacityUtilization = "DynamoDBReadCapacityUtilization" @@ -5586,6 +5615,28 @@ const ( MetricTypeCassandraWriteCapacityUtilization = "CassandraWriteCapacityUtilization" ) +// MetricType_Values returns all elements of the MetricType enum +func MetricType_Values() []string { + return []string{ + MetricTypeDynamoDbreadCapacityUtilization, + MetricTypeDynamoDbwriteCapacityUtilization, + MetricTypeAlbrequestCountPerTarget, + MetricTypeRdsreaderAverageCpuutilization, + MetricTypeRdsreaderAverageDatabaseConnections, + MetricTypeEc2spotFleetRequestAverageCpuutilization, + MetricTypeEc2spotFleetRequestAverageNetworkIn, + MetricTypeEc2spotFleetRequestAverageNetworkOut, + MetricTypeSageMakerVariantInvocationsPerInstance, + MetricTypeEcsserviceAverageCpuutilization, + MetricTypeEcsserviceAverageMemoryUtilization, + MetricTypeAppStreamAverageCapacityUtilization, + MetricTypeComprehendInferenceUtilization, + MetricTypeLambdaProvisionedConcurrencyUtilization, + MetricTypeCassandraReadCapacityUtilization, + MetricTypeCassandraWriteCapacityUtilization, + } +} + const ( // PolicyTypeStepScaling is a PolicyType enum value PolicyTypeStepScaling = "StepScaling" @@ -5594,6 +5645,14 @@ const ( PolicyTypeTargetTrackingScaling = "TargetTrackingScaling" ) +// PolicyType_Values returns all elements of the PolicyType enum +func PolicyType_Values() []string { + return []string{ + PolicyTypeStepScaling, + PolicyTypeTargetTrackingScaling, + } +} + const ( // ScalableDimensionEcsServiceDesiredCount is a ScalableDimension enum value ScalableDimensionEcsServiceDesiredCount = "ecs:service:DesiredCount" @@ -5641,6 +5700,27 @@ const ( ScalableDimensionCassandraTableWriteCapacityUnits = "cassandra:table:WriteCapacityUnits" ) +// ScalableDimension_Values returns all elements of the ScalableDimension enum +func ScalableDimension_Values() []string { + return []string{ + ScalableDimensionEcsServiceDesiredCount, + ScalableDimensionEc2SpotFleetRequestTargetCapacity, + ScalableDimensionElasticmapreduceInstancegroupInstanceCount, + ScalableDimensionAppstreamFleetDesiredCapacity, + ScalableDimensionDynamodbTableReadCapacityUnits, + ScalableDimensionDynamodbTableWriteCapacityUnits, + ScalableDimensionDynamodbIndexReadCapacityUnits, + ScalableDimensionDynamodbIndexWriteCapacityUnits, + ScalableDimensionRdsClusterReadReplicaCount, + ScalableDimensionSagemakerVariantDesiredInstanceCount, + ScalableDimensionCustomResourceResourceTypeProperty, + ScalableDimensionComprehendDocumentClassifierEndpointDesiredInferenceUnits, + ScalableDimensionLambdaFunctionProvisionedConcurrency, + ScalableDimensionCassandraTableReadCapacityUnits, + ScalableDimensionCassandraTableWriteCapacityUnits, + } +} + const ( // ScalingActivityStatusCodePending is a ScalingActivityStatusCode enum value ScalingActivityStatusCodePending = "Pending" @@ -5661,6 +5741,18 @@ const ( ScalingActivityStatusCodeFailed = "Failed" ) +// ScalingActivityStatusCode_Values returns all elements of the ScalingActivityStatusCode enum +func ScalingActivityStatusCode_Values() []string { + return []string{ + ScalingActivityStatusCodePending, + ScalingActivityStatusCodeInProgress, + ScalingActivityStatusCodeSuccessful, + ScalingActivityStatusCodeOverridden, + ScalingActivityStatusCodeUnfulfilled, + ScalingActivityStatusCodeFailed, + } +} + const ( // ServiceNamespaceEcs is a ServiceNamespace enum value ServiceNamespaceEcs = "ecs" @@ -5695,3 +5787,20 @@ const ( // ServiceNamespaceCassandra is a ServiceNamespace enum value ServiceNamespaceCassandra = "cassandra" ) + +// ServiceNamespace_Values returns all elements of the ServiceNamespace enum +func ServiceNamespace_Values() []string { + return []string{ + ServiceNamespaceEcs, + ServiceNamespaceElasticmapreduce, + ServiceNamespaceEc2, + ServiceNamespaceAppstream, + ServiceNamespaceDynamodb, + ServiceNamespaceRds, + ServiceNamespaceSagemaker, + ServiceNamespaceCustomResource, + ServiceNamespaceComprehend, + ServiceNamespaceLambda, + ServiceNamespaceCassandra, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/applicationinsights/api.go b/vendor/github.com/aws/aws-sdk-go/service/applicationinsights/api.go index ba09f52950e..3c330256374 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/applicationinsights/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/applicationinsights/api.go @@ -6393,6 +6393,15 @@ const ( CloudWatchEventSourceHealth = "HEALTH" ) +// CloudWatchEventSource_Values returns all elements of the CloudWatchEventSource enum +func CloudWatchEventSource_Values() []string { + return []string{ + CloudWatchEventSourceEc2, + CloudWatchEventSourceCodeDeploy, + CloudWatchEventSourceHealth, + } +} + const ( // ConfigurationEventResourceTypeCloudwatchAlarm is a ConfigurationEventResourceType enum value ConfigurationEventResourceTypeCloudwatchAlarm = "CLOUDWATCH_ALARM" @@ -6404,6 +6413,15 @@ const ( ConfigurationEventResourceTypeSsmAssociation = "SSM_ASSOCIATION" ) +// ConfigurationEventResourceType_Values returns all elements of the ConfigurationEventResourceType enum +func ConfigurationEventResourceType_Values() []string { + return []string{ + ConfigurationEventResourceTypeCloudwatchAlarm, + ConfigurationEventResourceTypeCloudformation, + ConfigurationEventResourceTypeSsmAssociation, + } +} + const ( // ConfigurationEventStatusInfo is a ConfigurationEventStatus enum value ConfigurationEventStatusInfo = "INFO" @@ -6415,11 +6433,27 @@ const ( ConfigurationEventStatusError = "ERROR" ) +// ConfigurationEventStatus_Values returns all elements of the ConfigurationEventStatus enum +func ConfigurationEventStatus_Values() []string { + return []string{ + ConfigurationEventStatusInfo, + ConfigurationEventStatusWarn, + ConfigurationEventStatusError, + } +} + const ( // FeedbackKeyInsightsFeedback is a FeedbackKey enum value FeedbackKeyInsightsFeedback = "INSIGHTS_FEEDBACK" ) +// FeedbackKey_Values returns all elements of the FeedbackKey enum +func FeedbackKey_Values() []string { + return []string{ + FeedbackKeyInsightsFeedback, + } +} + const ( // FeedbackValueNotSpecified is a FeedbackValue enum value FeedbackValueNotSpecified = "NOT_SPECIFIED" @@ -6431,6 +6465,15 @@ const ( FeedbackValueNotUseful = "NOT_USEFUL" ) +// FeedbackValue_Values returns all elements of the FeedbackValue enum +func FeedbackValue_Values() []string { + return []string{ + FeedbackValueNotSpecified, + FeedbackValueUseful, + FeedbackValueNotUseful, + } +} + const ( // LogFilterError is a LogFilter enum value LogFilterError = "ERROR" @@ -6442,6 +6485,15 @@ const ( LogFilterInfo = "INFO" ) +// LogFilter_Values returns all elements of the LogFilter enum +func LogFilter_Values() []string { + return []string{ + LogFilterError, + LogFilterWarn, + LogFilterInfo, + } +} + const ( // SeverityLevelLow is a SeverityLevel enum value SeverityLevelLow = "Low" @@ -6453,6 +6505,15 @@ const ( SeverityLevelHigh = "High" ) +// SeverityLevel_Values returns all elements of the SeverityLevel enum +func SeverityLevel_Values() []string { + return []string{ + SeverityLevelLow, + SeverityLevelMedium, + SeverityLevelHigh, + } +} + const ( // StatusIgnore is a Status enum value StatusIgnore = "IGNORE" @@ -6464,6 +6525,15 @@ const ( StatusPending = "PENDING" ) +// Status_Values returns all elements of the Status enum +func Status_Values() []string { + return []string{ + StatusIgnore, + StatusResolved, + StatusPending, + } +} + const ( // TierDefault is a Tier enum value TierDefault = "DEFAULT" @@ -6480,3 +6550,14 @@ const ( // TierSqlServer is a Tier enum value TierSqlServer = "SQL_SERVER" ) + +// Tier_Values returns all elements of the Tier enum +func Tier_Values() []string { + return []string{ + TierDefault, + TierDotNetCore, + TierDotNetWorker, + TierDotNetWeb, + TierSqlServer, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/appmesh/api.go b/vendor/github.com/aws/aws-sdk-go/service/appmesh/api.go index b9f33c52388..8f436c9ae13 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/appmesh/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/appmesh/api.go @@ -14725,6 +14725,14 @@ const ( DurationUnitS = "s" ) +// DurationUnit_Values returns all elements of the DurationUnit enum +func DurationUnit_Values() []string { + return []string{ + DurationUnitMs, + DurationUnitS, + } +} + const ( // EgressFilterTypeAllowAll is a EgressFilterType enum value EgressFilterTypeAllowAll = "ALLOW_ALL" @@ -14733,6 +14741,14 @@ const ( EgressFilterTypeDropAll = "DROP_ALL" ) +// EgressFilterType_Values returns all elements of the EgressFilterType enum +func EgressFilterType_Values() []string { + return []string{ + EgressFilterTypeAllowAll, + EgressFilterTypeDropAll, + } +} + const ( // GatewayRouteStatusCodeActive is a GatewayRouteStatusCode enum value GatewayRouteStatusCodeActive = "ACTIVE" @@ -14744,6 +14760,15 @@ const ( GatewayRouteStatusCodeInactive = "INACTIVE" ) +// GatewayRouteStatusCode_Values returns all elements of the GatewayRouteStatusCode enum +func GatewayRouteStatusCode_Values() []string { + return []string{ + GatewayRouteStatusCodeActive, + GatewayRouteStatusCodeDeleted, + GatewayRouteStatusCodeInactive, + } +} + const ( // GrpcRetryPolicyEventCancelled is a GrpcRetryPolicyEvent enum value GrpcRetryPolicyEventCancelled = "cancelled" @@ -14761,6 +14786,17 @@ const ( GrpcRetryPolicyEventUnavailable = "unavailable" ) +// GrpcRetryPolicyEvent_Values returns all elements of the GrpcRetryPolicyEvent enum +func GrpcRetryPolicyEvent_Values() []string { + return []string{ + GrpcRetryPolicyEventCancelled, + GrpcRetryPolicyEventDeadlineExceeded, + GrpcRetryPolicyEventInternal, + GrpcRetryPolicyEventResourceExhausted, + GrpcRetryPolicyEventUnavailable, + } +} + const ( // HttpMethodConnect is a HttpMethod enum value HttpMethodConnect = "CONNECT" @@ -14790,6 +14826,21 @@ const ( HttpMethodTrace = "TRACE" ) +// HttpMethod_Values returns all elements of the HttpMethod enum +func HttpMethod_Values() []string { + return []string{ + HttpMethodConnect, + HttpMethodDelete, + HttpMethodGet, + HttpMethodHead, + HttpMethodOptions, + HttpMethodPatch, + HttpMethodPost, + HttpMethodPut, + HttpMethodTrace, + } +} + const ( // HttpSchemeHttp is a HttpScheme enum value HttpSchemeHttp = "http" @@ -14798,6 +14849,14 @@ const ( HttpSchemeHttps = "https" ) +// HttpScheme_Values returns all elements of the HttpScheme enum +func HttpScheme_Values() []string { + return []string{ + HttpSchemeHttp, + HttpSchemeHttps, + } +} + const ( // ListenerTlsModeDisabled is a ListenerTlsMode enum value ListenerTlsModeDisabled = "DISABLED" @@ -14809,6 +14868,15 @@ const ( ListenerTlsModeStrict = "STRICT" ) +// ListenerTlsMode_Values returns all elements of the ListenerTlsMode enum +func ListenerTlsMode_Values() []string { + return []string{ + ListenerTlsModeDisabled, + ListenerTlsModePermissive, + ListenerTlsModeStrict, + } +} + const ( // MeshStatusCodeActive is a MeshStatusCode enum value MeshStatusCodeActive = "ACTIVE" @@ -14820,6 +14888,15 @@ const ( MeshStatusCodeInactive = "INACTIVE" ) +// MeshStatusCode_Values returns all elements of the MeshStatusCode enum +func MeshStatusCode_Values() []string { + return []string{ + MeshStatusCodeActive, + MeshStatusCodeDeleted, + MeshStatusCodeInactive, + } +} + const ( // PortProtocolGrpc is a PortProtocol enum value PortProtocolGrpc = "grpc" @@ -14834,6 +14911,16 @@ const ( PortProtocolTcp = "tcp" ) +// PortProtocol_Values returns all elements of the PortProtocol enum +func PortProtocol_Values() []string { + return []string{ + PortProtocolGrpc, + PortProtocolHttp, + PortProtocolHttp2, + PortProtocolTcp, + } +} + const ( // RouteStatusCodeActive is a RouteStatusCode enum value RouteStatusCodeActive = "ACTIVE" @@ -14845,11 +14932,27 @@ const ( RouteStatusCodeInactive = "INACTIVE" ) +// RouteStatusCode_Values returns all elements of the RouteStatusCode enum +func RouteStatusCode_Values() []string { + return []string{ + RouteStatusCodeActive, + RouteStatusCodeDeleted, + RouteStatusCodeInactive, + } +} + const ( // TcpRetryPolicyEventConnectionError is a TcpRetryPolicyEvent enum value TcpRetryPolicyEventConnectionError = "connection-error" ) +// TcpRetryPolicyEvent_Values returns all elements of the TcpRetryPolicyEvent enum +func TcpRetryPolicyEvent_Values() []string { + return []string{ + TcpRetryPolicyEventConnectionError, + } +} + const ( // VirtualGatewayListenerTlsModeDisabled is a VirtualGatewayListenerTlsMode enum value VirtualGatewayListenerTlsModeDisabled = "DISABLED" @@ -14861,6 +14964,15 @@ const ( VirtualGatewayListenerTlsModeStrict = "STRICT" ) +// VirtualGatewayListenerTlsMode_Values returns all elements of the VirtualGatewayListenerTlsMode enum +func VirtualGatewayListenerTlsMode_Values() []string { + return []string{ + VirtualGatewayListenerTlsModeDisabled, + VirtualGatewayListenerTlsModePermissive, + VirtualGatewayListenerTlsModeStrict, + } +} + const ( // VirtualGatewayPortProtocolGrpc is a VirtualGatewayPortProtocol enum value VirtualGatewayPortProtocolGrpc = "grpc" @@ -14872,6 +14984,15 @@ const ( VirtualGatewayPortProtocolHttp2 = "http2" ) +// VirtualGatewayPortProtocol_Values returns all elements of the VirtualGatewayPortProtocol enum +func VirtualGatewayPortProtocol_Values() []string { + return []string{ + VirtualGatewayPortProtocolGrpc, + VirtualGatewayPortProtocolHttp, + VirtualGatewayPortProtocolHttp2, + } +} + const ( // VirtualGatewayStatusCodeActive is a VirtualGatewayStatusCode enum value VirtualGatewayStatusCodeActive = "ACTIVE" @@ -14883,6 +15004,15 @@ const ( VirtualGatewayStatusCodeInactive = "INACTIVE" ) +// VirtualGatewayStatusCode_Values returns all elements of the VirtualGatewayStatusCode enum +func VirtualGatewayStatusCode_Values() []string { + return []string{ + VirtualGatewayStatusCodeActive, + VirtualGatewayStatusCodeDeleted, + VirtualGatewayStatusCodeInactive, + } +} + const ( // VirtualNodeStatusCodeActive is a VirtualNodeStatusCode enum value VirtualNodeStatusCodeActive = "ACTIVE" @@ -14894,6 +15024,15 @@ const ( VirtualNodeStatusCodeInactive = "INACTIVE" ) +// VirtualNodeStatusCode_Values returns all elements of the VirtualNodeStatusCode enum +func VirtualNodeStatusCode_Values() []string { + return []string{ + VirtualNodeStatusCodeActive, + VirtualNodeStatusCodeDeleted, + VirtualNodeStatusCodeInactive, + } +} + const ( // VirtualRouterStatusCodeActive is a VirtualRouterStatusCode enum value VirtualRouterStatusCodeActive = "ACTIVE" @@ -14905,6 +15044,15 @@ const ( VirtualRouterStatusCodeInactive = "INACTIVE" ) +// VirtualRouterStatusCode_Values returns all elements of the VirtualRouterStatusCode enum +func VirtualRouterStatusCode_Values() []string { + return []string{ + VirtualRouterStatusCodeActive, + VirtualRouterStatusCodeDeleted, + VirtualRouterStatusCodeInactive, + } +} + const ( // VirtualServiceStatusCodeActive is a VirtualServiceStatusCode enum value VirtualServiceStatusCodeActive = "ACTIVE" @@ -14915,3 +15063,12 @@ const ( // VirtualServiceStatusCodeInactive is a VirtualServiceStatusCode enum value VirtualServiceStatusCodeInactive = "INACTIVE" ) + +// VirtualServiceStatusCode_Values returns all elements of the VirtualServiceStatusCode enum +func VirtualServiceStatusCode_Values() []string { + return []string{ + VirtualServiceStatusCodeActive, + VirtualServiceStatusCodeDeleted, + VirtualServiceStatusCodeInactive, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/appstream/api.go b/vendor/github.com/aws/aws-sdk-go/service/appstream/api.go index 7d4306f2f07..0335bb7e0ed 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/appstream/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/appstream/api.go @@ -11664,6 +11664,13 @@ const ( AccessEndpointTypeStreaming = "STREAMING" ) +// AccessEndpointType_Values returns all elements of the AccessEndpointType enum +func AccessEndpointType_Values() []string { + return []string{ + AccessEndpointTypeStreaming, + } +} + const ( // ActionClipboardCopyFromLocalDevice is a Action enum value ActionClipboardCopyFromLocalDevice = "CLIPBOARD_COPY_FROM_LOCAL_DEVICE" @@ -11681,6 +11688,17 @@ const ( ActionPrintingToLocalDevice = "PRINTING_TO_LOCAL_DEVICE" ) +// Action_Values returns all elements of the Action enum +func Action_Values() []string { + return []string{ + ActionClipboardCopyFromLocalDevice, + ActionClipboardCopyToLocalDevice, + ActionFileUpload, + ActionFileDownload, + ActionPrintingToLocalDevice, + } +} + const ( // AuthenticationTypeApi is a AuthenticationType enum value AuthenticationTypeApi = "API" @@ -11692,6 +11710,15 @@ const ( AuthenticationTypeUserpool = "USERPOOL" ) +// AuthenticationType_Values returns all elements of the AuthenticationType enum +func AuthenticationType_Values() []string { + return []string{ + AuthenticationTypeApi, + AuthenticationTypeSaml, + AuthenticationTypeUserpool, + } +} + // The fleet attribute. const ( // FleetAttributeVpcConfiguration is a FleetAttribute enum value @@ -11707,6 +11734,16 @@ const ( FleetAttributeIamRoleArn = "IAM_ROLE_ARN" ) +// FleetAttribute_Values returns all elements of the FleetAttribute enum +func FleetAttribute_Values() []string { + return []string{ + FleetAttributeVpcConfiguration, + FleetAttributeVpcConfigurationSecurityGroupIds, + FleetAttributeDomainJoinInfo, + FleetAttributeIamRoleArn, + } +} + const ( // FleetErrorCodeIamServiceRoleMissingEniDescribeAction is a FleetErrorCode enum value FleetErrorCodeIamServiceRoleMissingEniDescribeAction = "IAM_SERVICE_ROLE_MISSING_ENI_DESCRIBE_ACTION" @@ -11793,6 +11830,40 @@ const ( FleetErrorCodeDomainJoinInternalServiceError = "DOMAIN_JOIN_INTERNAL_SERVICE_ERROR" ) +// FleetErrorCode_Values returns all elements of the FleetErrorCode enum +func FleetErrorCode_Values() []string { + return []string{ + FleetErrorCodeIamServiceRoleMissingEniDescribeAction, + FleetErrorCodeIamServiceRoleMissingEniCreateAction, + FleetErrorCodeIamServiceRoleMissingEniDeleteAction, + FleetErrorCodeNetworkInterfaceLimitExceeded, + FleetErrorCodeInternalServiceError, + FleetErrorCodeIamServiceRoleIsMissing, + FleetErrorCodeMachineRoleIsMissing, + FleetErrorCodeStsDisabledInRegion, + FleetErrorCodeSubnetHasInsufficientIpAddresses, + FleetErrorCodeIamServiceRoleMissingDescribeSubnetAction, + FleetErrorCodeSubnetNotFound, + FleetErrorCodeImageNotFound, + FleetErrorCodeInvalidSubnetConfiguration, + FleetErrorCodeSecurityGroupsNotFound, + FleetErrorCodeIgwNotAttached, + FleetErrorCodeIamServiceRoleMissingDescribeSecurityGroupsAction, + FleetErrorCodeDomainJoinErrorFileNotFound, + FleetErrorCodeDomainJoinErrorAccessDenied, + FleetErrorCodeDomainJoinErrorLogonFailure, + FleetErrorCodeDomainJoinErrorInvalidParameter, + FleetErrorCodeDomainJoinErrorMoreData, + FleetErrorCodeDomainJoinErrorNoSuchDomain, + FleetErrorCodeDomainJoinErrorNotSupported, + FleetErrorCodeDomainJoinNerrInvalidWorkgroupName, + FleetErrorCodeDomainJoinNerrWorkstationNotStarted, + FleetErrorCodeDomainJoinErrorDsMachineAccountQuotaExceeded, + FleetErrorCodeDomainJoinNerrPasswordExpired, + FleetErrorCodeDomainJoinInternalServiceError, + } +} + const ( // FleetStateStarting is a FleetState enum value FleetStateStarting = "STARTING" @@ -11807,6 +11878,16 @@ const ( FleetStateStopped = "STOPPED" ) +// FleetState_Values returns all elements of the FleetState enum +func FleetState_Values() []string { + return []string{ + FleetStateStarting, + FleetStateRunning, + FleetStateStopping, + FleetStateStopped, + } +} + const ( // FleetTypeAlwaysOn is a FleetType enum value FleetTypeAlwaysOn = "ALWAYS_ON" @@ -11815,6 +11896,14 @@ const ( FleetTypeOnDemand = "ON_DEMAND" ) +// FleetType_Values returns all elements of the FleetType enum +func FleetType_Values() []string { + return []string{ + FleetTypeAlwaysOn, + FleetTypeOnDemand, + } +} + const ( // ImageBuilderStatePending is a ImageBuilderState enum value ImageBuilderStatePending = "PENDING" @@ -11844,6 +11933,21 @@ const ( ImageBuilderStateFailed = "FAILED" ) +// ImageBuilderState_Values returns all elements of the ImageBuilderState enum +func ImageBuilderState_Values() []string { + return []string{ + ImageBuilderStatePending, + ImageBuilderStateUpdatingAgent, + ImageBuilderStateRunning, + ImageBuilderStateStopping, + ImageBuilderStateStopped, + ImageBuilderStateRebooting, + ImageBuilderStateSnapshotting, + ImageBuilderStateDeleting, + ImageBuilderStateFailed, + } +} + const ( // ImageBuilderStateChangeReasonCodeInternalError is a ImageBuilderStateChangeReasonCode enum value ImageBuilderStateChangeReasonCodeInternalError = "INTERNAL_ERROR" @@ -11852,6 +11956,14 @@ const ( ImageBuilderStateChangeReasonCodeImageUnavailable = "IMAGE_UNAVAILABLE" ) +// ImageBuilderStateChangeReasonCode_Values returns all elements of the ImageBuilderStateChangeReasonCode enum +func ImageBuilderStateChangeReasonCode_Values() []string { + return []string{ + ImageBuilderStateChangeReasonCodeInternalError, + ImageBuilderStateChangeReasonCodeImageUnavailable, + } +} + const ( // ImageStatePending is a ImageState enum value ImageStatePending = "PENDING" @@ -11869,6 +11981,17 @@ const ( ImageStateDeleting = "DELETING" ) +// ImageState_Values returns all elements of the ImageState enum +func ImageState_Values() []string { + return []string{ + ImageStatePending, + ImageStateAvailable, + ImageStateFailed, + ImageStateCopying, + ImageStateDeleting, + } +} + const ( // ImageStateChangeReasonCodeInternalError is a ImageStateChangeReasonCode enum value ImageStateChangeReasonCodeInternalError = "INTERNAL_ERROR" @@ -11880,6 +12003,15 @@ const ( ImageStateChangeReasonCodeImageCopyFailure = "IMAGE_COPY_FAILURE" ) +// ImageStateChangeReasonCode_Values returns all elements of the ImageStateChangeReasonCode enum +func ImageStateChangeReasonCode_Values() []string { + return []string{ + ImageStateChangeReasonCodeInternalError, + ImageStateChangeReasonCodeImageBuilderNotAvailable, + ImageStateChangeReasonCodeImageCopyFailure, + } +} + const ( // MessageActionSuppress is a MessageAction enum value MessageActionSuppress = "SUPPRESS" @@ -11888,6 +12020,14 @@ const ( MessageActionResend = "RESEND" ) +// MessageAction_Values returns all elements of the MessageAction enum +func MessageAction_Values() []string { + return []string{ + MessageActionSuppress, + MessageActionResend, + } +} + const ( // PermissionEnabled is a Permission enum value PermissionEnabled = "ENABLED" @@ -11896,6 +12036,14 @@ const ( PermissionDisabled = "DISABLED" ) +// Permission_Values returns all elements of the Permission enum +func Permission_Values() []string { + return []string{ + PermissionEnabled, + PermissionDisabled, + } +} + const ( // PlatformTypeWindows is a PlatformType enum value PlatformTypeWindows = "WINDOWS" @@ -11907,6 +12055,15 @@ const ( PlatformTypeWindowsServer2019 = "WINDOWS_SERVER_2019" ) +// PlatformType_Values returns all elements of the PlatformType enum +func PlatformType_Values() []string { + return []string{ + PlatformTypeWindows, + PlatformTypeWindowsServer2016, + PlatformTypeWindowsServer2019, + } +} + const ( // SessionConnectionStateConnected is a SessionConnectionState enum value SessionConnectionStateConnected = "CONNECTED" @@ -11915,6 +12072,14 @@ const ( SessionConnectionStateNotConnected = "NOT_CONNECTED" ) +// SessionConnectionState_Values returns all elements of the SessionConnectionState enum +func SessionConnectionState_Values() []string { + return []string{ + SessionConnectionStateConnected, + SessionConnectionStateNotConnected, + } +} + // Possible values for the state of a streaming session. const ( // SessionStateActive is a SessionState enum value @@ -11927,6 +12092,15 @@ const ( SessionStateExpired = "EXPIRED" ) +// SessionState_Values returns all elements of the SessionState enum +func SessionState_Values() []string { + return []string{ + SessionStateActive, + SessionStatePending, + SessionStateExpired, + } +} + const ( // StackAttributeStorageConnectors is a StackAttribute enum value StackAttributeStorageConnectors = "STORAGE_CONNECTORS" @@ -11962,6 +12136,23 @@ const ( StackAttributeAccessEndpoints = "ACCESS_ENDPOINTS" ) +// StackAttribute_Values returns all elements of the StackAttribute enum +func StackAttribute_Values() []string { + return []string{ + StackAttributeStorageConnectors, + StackAttributeStorageConnectorHomefolders, + StackAttributeStorageConnectorGoogleDrive, + StackAttributeStorageConnectorOneDrive, + StackAttributeRedirectUrl, + StackAttributeFeedbackUrl, + StackAttributeThemeName, + StackAttributeUserSettings, + StackAttributeEmbedHostDomains, + StackAttributeIamRoleArn, + StackAttributeAccessEndpoints, + } +} + const ( // StackErrorCodeStorageConnectorError is a StackErrorCode enum value StackErrorCodeStorageConnectorError = "STORAGE_CONNECTOR_ERROR" @@ -11970,6 +12161,14 @@ const ( StackErrorCodeInternalServiceError = "INTERNAL_SERVICE_ERROR" ) +// StackErrorCode_Values returns all elements of the StackErrorCode enum +func StackErrorCode_Values() []string { + return []string{ + StackErrorCodeStorageConnectorError, + StackErrorCodeInternalServiceError, + } +} + // The type of storage connector. const ( // StorageConnectorTypeHomefolders is a StorageConnectorType enum value @@ -11982,6 +12181,15 @@ const ( StorageConnectorTypeOneDrive = "ONE_DRIVE" ) +// StorageConnectorType_Values returns all elements of the StorageConnectorType enum +func StorageConnectorType_Values() []string { + return []string{ + StorageConnectorTypeHomefolders, + StorageConnectorTypeGoogleDrive, + StorageConnectorTypeOneDrive, + } +} + const ( // UsageReportExecutionErrorCodeResourceNotFound is a UsageReportExecutionErrorCode enum value UsageReportExecutionErrorCodeResourceNotFound = "RESOURCE_NOT_FOUND" @@ -11993,11 +12201,27 @@ const ( UsageReportExecutionErrorCodeInternalServiceError = "INTERNAL_SERVICE_ERROR" ) +// UsageReportExecutionErrorCode_Values returns all elements of the UsageReportExecutionErrorCode enum +func UsageReportExecutionErrorCode_Values() []string { + return []string{ + UsageReportExecutionErrorCodeResourceNotFound, + UsageReportExecutionErrorCodeAccessDenied, + UsageReportExecutionErrorCodeInternalServiceError, + } +} + const ( // UsageReportScheduleDaily is a UsageReportSchedule enum value UsageReportScheduleDaily = "DAILY" ) +// UsageReportSchedule_Values returns all elements of the UsageReportSchedule enum +func UsageReportSchedule_Values() []string { + return []string{ + UsageReportScheduleDaily, + } +} + const ( // UserStackAssociationErrorCodeStackNotFound is a UserStackAssociationErrorCode enum value UserStackAssociationErrorCodeStackNotFound = "STACK_NOT_FOUND" @@ -12009,6 +12233,15 @@ const ( UserStackAssociationErrorCodeInternalError = "INTERNAL_ERROR" ) +// UserStackAssociationErrorCode_Values returns all elements of the UserStackAssociationErrorCode enum +func UserStackAssociationErrorCode_Values() []string { + return []string{ + UserStackAssociationErrorCodeStackNotFound, + UserStackAssociationErrorCodeUserNameNotFound, + UserStackAssociationErrorCodeInternalError, + } +} + const ( // VisibilityTypePublic is a VisibilityType enum value VisibilityTypePublic = "PUBLIC" @@ -12019,3 +12252,12 @@ const ( // VisibilityTypeShared is a VisibilityType enum value VisibilityTypeShared = "SHARED" ) + +// VisibilityType_Values returns all elements of the VisibilityType enum +func VisibilityType_Values() []string { + return []string{ + VisibilityTypePublic, + VisibilityTypePrivate, + VisibilityTypeShared, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/appsync/api.go b/vendor/github.com/aws/aws-sdk-go/service/appsync/api.go index ae36e3888a2..1c3c2fce829 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/appsync/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/appsync/api.go @@ -4471,8 +4471,8 @@ type CachingConfig struct { // The caching keys for a resolver that has caching enabled. // - // Valid values are entries from the $context.identity and $context.arguments - // maps. + // Valid values are entries from the $context.arguments, $context.source, and + // $context.identity maps. CachingKeys []*string `locationName:"cachingKeys" type:"list"` // The TTL in seconds for a resolver that has caching enabled. @@ -5398,6 +5398,10 @@ type CreateResolverInput struct { // A resolver uses a request mapping template to convert a GraphQL expression // into a format that a data source can understand. Mapping templates are written // in Apache Velocity Template Language (VTL). + // + // VTL request mapping templates are optional when using a Lambda data source. + // For all other data sources, VTL request and response mapping templates are + // required. RequestMappingTemplate *string `locationName:"requestMappingTemplate" min:"1" type:"string"` // The mapping template to be used for responses from the data source. @@ -9996,6 +10000,14 @@ type UpdateResolverInput struct { PipelineConfig *PipelineConfig `locationName:"pipelineConfig" type:"structure"` // The new request mapping template. + // + // A resolver uses a request mapping template to convert a GraphQL expression + // into a format that a data source can understand. Mapping templates are written + // in Apache Velocity Template Language (VTL). + // + // VTL request mapping templates are optional when using a Lambda data source. + // For all other data sources, VTL request and response mapping templates are + // required. RequestMappingTemplate *string `locationName:"requestMappingTemplate" min:"1" type:"string"` // The new response mapping template. @@ -10340,6 +10352,17 @@ const ( ApiCacheStatusFailed = "FAILED" ) +// ApiCacheStatus_Values returns all elements of the ApiCacheStatus enum +func ApiCacheStatus_Values() []string { + return []string{ + ApiCacheStatusAvailable, + ApiCacheStatusCreating, + ApiCacheStatusDeleting, + ApiCacheStatusModifying, + ApiCacheStatusFailed, + } +} + const ( // ApiCacheTypeT2Small is a ApiCacheType enum value ApiCacheTypeT2Small = "T2_SMALL" @@ -10387,6 +10410,27 @@ const ( ApiCacheTypeLarge12x = "LARGE_12X" ) +// ApiCacheType_Values returns all elements of the ApiCacheType enum +func ApiCacheType_Values() []string { + return []string{ + ApiCacheTypeT2Small, + ApiCacheTypeT2Medium, + ApiCacheTypeR4Large, + ApiCacheTypeR4Xlarge, + ApiCacheTypeR42xlarge, + ApiCacheTypeR44xlarge, + ApiCacheTypeR48xlarge, + ApiCacheTypeSmall, + ApiCacheTypeMedium, + ApiCacheTypeLarge, + ApiCacheTypeXlarge, + ApiCacheTypeLarge2x, + ApiCacheTypeLarge4x, + ApiCacheTypeLarge8x, + ApiCacheTypeLarge12x, + } +} + const ( // ApiCachingBehaviorFullRequestCaching is a ApiCachingBehavior enum value ApiCachingBehaviorFullRequestCaching = "FULL_REQUEST_CACHING" @@ -10395,6 +10439,14 @@ const ( ApiCachingBehaviorPerResolverCaching = "PER_RESOLVER_CACHING" ) +// ApiCachingBehavior_Values returns all elements of the ApiCachingBehavior enum +func ApiCachingBehavior_Values() []string { + return []string{ + ApiCachingBehaviorFullRequestCaching, + ApiCachingBehaviorPerResolverCaching, + } +} + const ( // AuthenticationTypeApiKey is a AuthenticationType enum value AuthenticationTypeApiKey = "API_KEY" @@ -10409,11 +10461,28 @@ const ( AuthenticationTypeOpenidConnect = "OPENID_CONNECT" ) +// AuthenticationType_Values returns all elements of the AuthenticationType enum +func AuthenticationType_Values() []string { + return []string{ + AuthenticationTypeApiKey, + AuthenticationTypeAwsIam, + AuthenticationTypeAmazonCognitoUserPools, + AuthenticationTypeOpenidConnect, + } +} + const ( // AuthorizationTypeAwsIam is a AuthorizationType enum value AuthorizationTypeAwsIam = "AWS_IAM" ) +// AuthorizationType_Values returns all elements of the AuthorizationType enum +func AuthorizationType_Values() []string { + return []string{ + AuthorizationTypeAwsIam, + } +} + const ( // ConflictDetectionTypeVersion is a ConflictDetectionType enum value ConflictDetectionTypeVersion = "VERSION" @@ -10422,6 +10491,14 @@ const ( ConflictDetectionTypeNone = "NONE" ) +// ConflictDetectionType_Values returns all elements of the ConflictDetectionType enum +func ConflictDetectionType_Values() []string { + return []string{ + ConflictDetectionTypeVersion, + ConflictDetectionTypeNone, + } +} + const ( // ConflictHandlerTypeOptimisticConcurrency is a ConflictHandlerType enum value ConflictHandlerTypeOptimisticConcurrency = "OPTIMISTIC_CONCURRENCY" @@ -10436,6 +10513,16 @@ const ( ConflictHandlerTypeNone = "NONE" ) +// ConflictHandlerType_Values returns all elements of the ConflictHandlerType enum +func ConflictHandlerType_Values() []string { + return []string{ + ConflictHandlerTypeOptimisticConcurrency, + ConflictHandlerTypeLambda, + ConflictHandlerTypeAutomerge, + ConflictHandlerTypeNone, + } +} + const ( // DataSourceTypeAwsLambda is a DataSourceType enum value DataSourceTypeAwsLambda = "AWS_LAMBDA" @@ -10456,6 +10543,18 @@ const ( DataSourceTypeRelationalDatabase = "RELATIONAL_DATABASE" ) +// DataSourceType_Values returns all elements of the DataSourceType enum +func DataSourceType_Values() []string { + return []string{ + DataSourceTypeAwsLambda, + DataSourceTypeAmazonDynamodb, + DataSourceTypeAmazonElasticsearch, + DataSourceTypeNone, + DataSourceTypeHttp, + DataSourceTypeRelationalDatabase, + } +} + const ( // DefaultActionAllow is a DefaultAction enum value DefaultActionAllow = "ALLOW" @@ -10464,6 +10563,14 @@ const ( DefaultActionDeny = "DENY" ) +// DefaultAction_Values returns all elements of the DefaultAction enum +func DefaultAction_Values() []string { + return []string{ + DefaultActionAllow, + DefaultActionDeny, + } +} + const ( // FieldLogLevelNone is a FieldLogLevel enum value FieldLogLevelNone = "NONE" @@ -10475,6 +10582,15 @@ const ( FieldLogLevelAll = "ALL" ) +// FieldLogLevel_Values returns all elements of the FieldLogLevel enum +func FieldLogLevel_Values() []string { + return []string{ + FieldLogLevelNone, + FieldLogLevelError, + FieldLogLevelAll, + } +} + const ( // OutputTypeSdl is a OutputType enum value OutputTypeSdl = "SDL" @@ -10483,11 +10599,26 @@ const ( OutputTypeJson = "JSON" ) +// OutputType_Values returns all elements of the OutputType enum +func OutputType_Values() []string { + return []string{ + OutputTypeSdl, + OutputTypeJson, + } +} + const ( // RelationalDatabaseSourceTypeRdsHttpEndpoint is a RelationalDatabaseSourceType enum value RelationalDatabaseSourceTypeRdsHttpEndpoint = "RDS_HTTP_ENDPOINT" ) +// RelationalDatabaseSourceType_Values returns all elements of the RelationalDatabaseSourceType enum +func RelationalDatabaseSourceType_Values() []string { + return []string{ + RelationalDatabaseSourceTypeRdsHttpEndpoint, + } +} + const ( // ResolverKindUnit is a ResolverKind enum value ResolverKindUnit = "UNIT" @@ -10496,6 +10627,14 @@ const ( ResolverKindPipeline = "PIPELINE" ) +// ResolverKind_Values returns all elements of the ResolverKind enum +func ResolverKind_Values() []string { + return []string{ + ResolverKindUnit, + ResolverKindPipeline, + } +} + const ( // SchemaStatusProcessing is a SchemaStatus enum value SchemaStatusProcessing = "PROCESSING" @@ -10516,6 +10655,18 @@ const ( SchemaStatusNotApplicable = "NOT_APPLICABLE" ) +// SchemaStatus_Values returns all elements of the SchemaStatus enum +func SchemaStatus_Values() []string { + return []string{ + SchemaStatusProcessing, + SchemaStatusActive, + SchemaStatusDeleting, + SchemaStatusFailed, + SchemaStatusSuccess, + SchemaStatusNotApplicable, + } +} + const ( // TypeDefinitionFormatSdl is a TypeDefinitionFormat enum value TypeDefinitionFormatSdl = "SDL" @@ -10523,3 +10674,11 @@ const ( // TypeDefinitionFormatJson is a TypeDefinitionFormat enum value TypeDefinitionFormatJson = "JSON" ) + +// TypeDefinitionFormat_Values returns all elements of the TypeDefinitionFormat enum +func TypeDefinitionFormat_Values() []string { + return []string{ + TypeDefinitionFormatSdl, + TypeDefinitionFormatJson, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/athena/api.go b/vendor/github.com/aws/aws-sdk-go/service/athena/api.go index 0b934bfa932..7e5303a78b0 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/athena/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/athena/api.go @@ -7206,6 +7206,15 @@ const ( ColumnNullableUnknown = "UNKNOWN" ) +// ColumnNullable_Values returns all elements of the ColumnNullable enum +func ColumnNullable_Values() []string { + return []string{ + ColumnNullableNotNull, + ColumnNullableNullable, + ColumnNullableUnknown, + } +} + const ( // DataCatalogTypeLambda is a DataCatalogType enum value DataCatalogTypeLambda = "LAMBDA" @@ -7217,6 +7226,15 @@ const ( DataCatalogTypeHive = "HIVE" ) +// DataCatalogType_Values returns all elements of the DataCatalogType enum +func DataCatalogType_Values() []string { + return []string{ + DataCatalogTypeLambda, + DataCatalogTypeGlue, + DataCatalogTypeHive, + } +} + const ( // EncryptionOptionSseS3 is a EncryptionOption enum value EncryptionOptionSseS3 = "SSE_S3" @@ -7228,6 +7246,15 @@ const ( EncryptionOptionCseKms = "CSE_KMS" ) +// EncryptionOption_Values returns all elements of the EncryptionOption enum +func EncryptionOption_Values() []string { + return []string{ + EncryptionOptionSseS3, + EncryptionOptionSseKms, + EncryptionOptionCseKms, + } +} + const ( // QueryExecutionStateQueued is a QueryExecutionState enum value QueryExecutionStateQueued = "QUEUED" @@ -7245,6 +7272,17 @@ const ( QueryExecutionStateCancelled = "CANCELLED" ) +// QueryExecutionState_Values returns all elements of the QueryExecutionState enum +func QueryExecutionState_Values() []string { + return []string{ + QueryExecutionStateQueued, + QueryExecutionStateRunning, + QueryExecutionStateSucceeded, + QueryExecutionStateFailed, + QueryExecutionStateCancelled, + } +} + const ( // StatementTypeDdl is a StatementType enum value StatementTypeDdl = "DDL" @@ -7256,6 +7294,15 @@ const ( StatementTypeUtility = "UTILITY" ) +// StatementType_Values returns all elements of the StatementType enum +func StatementType_Values() []string { + return []string{ + StatementTypeDdl, + StatementTypeDml, + StatementTypeUtility, + } +} + // The reason for the query throttling, for example, when it exceeds the concurrent // query limit. const ( @@ -7263,6 +7310,13 @@ const ( ThrottleReasonConcurrentQueryLimitExceeded = "CONCURRENT_QUERY_LIMIT_EXCEEDED" ) +// ThrottleReason_Values returns all elements of the ThrottleReason enum +func ThrottleReason_Values() []string { + return []string{ + ThrottleReasonConcurrentQueryLimitExceeded, + } +} + const ( // WorkGroupStateEnabled is a WorkGroupState enum value WorkGroupStateEnabled = "ENABLED" @@ -7270,3 +7324,11 @@ const ( // WorkGroupStateDisabled is a WorkGroupState enum value WorkGroupStateDisabled = "DISABLED" ) + +// WorkGroupState_Values returns all elements of the WorkGroupState enum +func WorkGroupState_Values() []string { + return []string{ + WorkGroupStateEnabled, + WorkGroupStateDisabled, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/autoscaling/api.go b/vendor/github.com/aws/aws-sdk-go/service/autoscaling/api.go index 2b7b553c960..bea102a8869 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/autoscaling/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/autoscaling/api.go @@ -14854,6 +14854,14 @@ const ( InstanceMetadataEndpointStateEnabled = "enabled" ) +// InstanceMetadataEndpointState_Values returns all elements of the InstanceMetadataEndpointState enum +func InstanceMetadataEndpointState_Values() []string { + return []string{ + InstanceMetadataEndpointStateDisabled, + InstanceMetadataEndpointStateEnabled, + } +} + const ( // InstanceMetadataHttpTokensStateOptional is a InstanceMetadataHttpTokensState enum value InstanceMetadataHttpTokensStateOptional = "optional" @@ -14862,6 +14870,14 @@ const ( InstanceMetadataHttpTokensStateRequired = "required" ) +// InstanceMetadataHttpTokensState_Values returns all elements of the InstanceMetadataHttpTokensState enum +func InstanceMetadataHttpTokensState_Values() []string { + return []string{ + InstanceMetadataHttpTokensStateOptional, + InstanceMetadataHttpTokensStateRequired, + } +} + const ( // InstanceRefreshStatusPending is a InstanceRefreshStatus enum value InstanceRefreshStatusPending = "Pending" @@ -14882,6 +14898,18 @@ const ( InstanceRefreshStatusCancelled = "Cancelled" ) +// InstanceRefreshStatus_Values returns all elements of the InstanceRefreshStatus enum +func InstanceRefreshStatus_Values() []string { + return []string{ + InstanceRefreshStatusPending, + InstanceRefreshStatusInProgress, + InstanceRefreshStatusSuccessful, + InstanceRefreshStatusFailed, + InstanceRefreshStatusCancelling, + InstanceRefreshStatusCancelled, + } +} + const ( // LifecycleStatePending is a LifecycleState enum value LifecycleStatePending = "Pending" @@ -14923,6 +14951,25 @@ const ( LifecycleStateStandby = "Standby" ) +// LifecycleState_Values returns all elements of the LifecycleState enum +func LifecycleState_Values() []string { + return []string{ + LifecycleStatePending, + LifecycleStatePendingWait, + LifecycleStatePendingProceed, + LifecycleStateQuarantined, + LifecycleStateInService, + LifecycleStateTerminating, + LifecycleStateTerminatingWait, + LifecycleStateTerminatingProceed, + LifecycleStateTerminated, + LifecycleStateDetaching, + LifecycleStateDetached, + LifecycleStateEnteringStandby, + LifecycleStateStandby, + } +} + const ( // MetricStatisticAverage is a MetricStatistic enum value MetricStatisticAverage = "Average" @@ -14940,6 +14987,17 @@ const ( MetricStatisticSum = "Sum" ) +// MetricStatistic_Values returns all elements of the MetricStatistic enum +func MetricStatistic_Values() []string { + return []string{ + MetricStatisticAverage, + MetricStatisticMinimum, + MetricStatisticMaximum, + MetricStatisticSampleCount, + MetricStatisticSum, + } +} + const ( // MetricTypeAsgaverageCpuutilization is a MetricType enum value MetricTypeAsgaverageCpuutilization = "ASGAverageCPUUtilization" @@ -14954,11 +15012,28 @@ const ( MetricTypeAlbrequestCountPerTarget = "ALBRequestCountPerTarget" ) +// MetricType_Values returns all elements of the MetricType enum +func MetricType_Values() []string { + return []string{ + MetricTypeAsgaverageCpuutilization, + MetricTypeAsgaverageNetworkIn, + MetricTypeAsgaverageNetworkOut, + MetricTypeAlbrequestCountPerTarget, + } +} + const ( // RefreshStrategyRolling is a RefreshStrategy enum value RefreshStrategyRolling = "Rolling" ) +// RefreshStrategy_Values returns all elements of the RefreshStrategy enum +func RefreshStrategy_Values() []string { + return []string{ + RefreshStrategyRolling, + } +} + const ( // ScalingActivityStatusCodePendingSpotBidPlacement is a ScalingActivityStatusCode enum value ScalingActivityStatusCodePendingSpotBidPlacement = "PendingSpotBidPlacement" @@ -14996,3 +15071,21 @@ const ( // ScalingActivityStatusCodeCancelled is a ScalingActivityStatusCode enum value ScalingActivityStatusCodeCancelled = "Cancelled" ) + +// ScalingActivityStatusCode_Values returns all elements of the ScalingActivityStatusCode enum +func ScalingActivityStatusCode_Values() []string { + return []string{ + ScalingActivityStatusCodePendingSpotBidPlacement, + ScalingActivityStatusCodeWaitingForSpotInstanceRequestId, + ScalingActivityStatusCodeWaitingForSpotInstanceId, + ScalingActivityStatusCodeWaitingForInstanceId, + ScalingActivityStatusCodePreInService, + ScalingActivityStatusCodeInProgress, + ScalingActivityStatusCodeWaitingForElbconnectionDraining, + ScalingActivityStatusCodeMidLifecycleAction, + ScalingActivityStatusCodeWaitingForInstanceWarmup, + ScalingActivityStatusCodeSuccessful, + ScalingActivityStatusCodeFailed, + ScalingActivityStatusCodeCancelled, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/autoscalingplans/api.go b/vendor/github.com/aws/aws-sdk-go/service/autoscalingplans/api.go index 128cfeb8f35..da115a42b19 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/autoscalingplans/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/autoscalingplans/api.go @@ -2946,6 +2946,16 @@ const ( ForecastDataTypeScheduledActionMaxCapacity = "ScheduledActionMaxCapacity" ) +// ForecastDataType_Values returns all elements of the ForecastDataType enum +func ForecastDataType_Values() []string { + return []string{ + ForecastDataTypeCapacityForecast, + ForecastDataTypeLoadForecast, + ForecastDataTypeScheduledActionMinCapacity, + ForecastDataTypeScheduledActionMaxCapacity, + } +} + const ( // LoadMetricTypeAsgtotalCpuutilization is a LoadMetricType enum value LoadMetricTypeAsgtotalCpuutilization = "ASGTotalCPUUtilization" @@ -2960,6 +2970,16 @@ const ( LoadMetricTypeAlbtargetGroupRequestCount = "ALBTargetGroupRequestCount" ) +// LoadMetricType_Values returns all elements of the LoadMetricType enum +func LoadMetricType_Values() []string { + return []string{ + LoadMetricTypeAsgtotalCpuutilization, + LoadMetricTypeAsgtotalNetworkIn, + LoadMetricTypeAsgtotalNetworkOut, + LoadMetricTypeAlbtargetGroupRequestCount, + } +} + const ( // MetricStatisticAverage is a MetricStatistic enum value MetricStatisticAverage = "Average" @@ -2977,11 +2997,29 @@ const ( MetricStatisticSum = "Sum" ) +// MetricStatistic_Values returns all elements of the MetricStatistic enum +func MetricStatistic_Values() []string { + return []string{ + MetricStatisticAverage, + MetricStatisticMinimum, + MetricStatisticMaximum, + MetricStatisticSampleCount, + MetricStatisticSum, + } +} + const ( // PolicyTypeTargetTrackingScaling is a PolicyType enum value PolicyTypeTargetTrackingScaling = "TargetTrackingScaling" ) +// PolicyType_Values returns all elements of the PolicyType enum +func PolicyType_Values() []string { + return []string{ + PolicyTypeTargetTrackingScaling, + } +} + const ( // PredictiveScalingMaxCapacityBehaviorSetForecastCapacityToMaxCapacity is a PredictiveScalingMaxCapacityBehavior enum value PredictiveScalingMaxCapacityBehaviorSetForecastCapacityToMaxCapacity = "SetForecastCapacityToMaxCapacity" @@ -2993,6 +3031,15 @@ const ( PredictiveScalingMaxCapacityBehaviorSetMaxCapacityAboveForecastCapacity = "SetMaxCapacityAboveForecastCapacity" ) +// PredictiveScalingMaxCapacityBehavior_Values returns all elements of the PredictiveScalingMaxCapacityBehavior enum +func PredictiveScalingMaxCapacityBehavior_Values() []string { + return []string{ + PredictiveScalingMaxCapacityBehaviorSetForecastCapacityToMaxCapacity, + PredictiveScalingMaxCapacityBehaviorSetMaxCapacityToForecastCapacity, + PredictiveScalingMaxCapacityBehaviorSetMaxCapacityAboveForecastCapacity, + } +} + const ( // PredictiveScalingModeForecastAndScale is a PredictiveScalingMode enum value PredictiveScalingModeForecastAndScale = "ForecastAndScale" @@ -3001,6 +3048,14 @@ const ( PredictiveScalingModeForecastOnly = "ForecastOnly" ) +// PredictiveScalingMode_Values returns all elements of the PredictiveScalingMode enum +func PredictiveScalingMode_Values() []string { + return []string{ + PredictiveScalingModeForecastAndScale, + PredictiveScalingModeForecastOnly, + } +} + const ( // ScalableDimensionAutoscalingAutoScalingGroupDesiredCapacity is a ScalableDimension enum value ScalableDimensionAutoscalingAutoScalingGroupDesiredCapacity = "autoscaling:autoScalingGroup:DesiredCapacity" @@ -3027,6 +3082,20 @@ const ( ScalableDimensionDynamodbIndexWriteCapacityUnits = "dynamodb:index:WriteCapacityUnits" ) +// ScalableDimension_Values returns all elements of the ScalableDimension enum +func ScalableDimension_Values() []string { + return []string{ + ScalableDimensionAutoscalingAutoScalingGroupDesiredCapacity, + ScalableDimensionEcsServiceDesiredCount, + ScalableDimensionEc2SpotFleetRequestTargetCapacity, + ScalableDimensionRdsClusterReadReplicaCount, + ScalableDimensionDynamodbTableReadCapacityUnits, + ScalableDimensionDynamodbTableWriteCapacityUnits, + ScalableDimensionDynamodbIndexReadCapacityUnits, + ScalableDimensionDynamodbIndexWriteCapacityUnits, + } +} + const ( // ScalingMetricTypeAsgaverageCpuutilization is a ScalingMetricType enum value ScalingMetricTypeAsgaverageCpuutilization = "ASGAverageCPUUtilization" @@ -3068,6 +3137,25 @@ const ( ScalingMetricTypeEc2spotFleetRequestAverageNetworkOut = "EC2SpotFleetRequestAverageNetworkOut" ) +// ScalingMetricType_Values returns all elements of the ScalingMetricType enum +func ScalingMetricType_Values() []string { + return []string{ + ScalingMetricTypeAsgaverageCpuutilization, + ScalingMetricTypeAsgaverageNetworkIn, + ScalingMetricTypeAsgaverageNetworkOut, + ScalingMetricTypeDynamoDbreadCapacityUtilization, + ScalingMetricTypeDynamoDbwriteCapacityUtilization, + ScalingMetricTypeEcsserviceAverageCpuutilization, + ScalingMetricTypeEcsserviceAverageMemoryUtilization, + ScalingMetricTypeAlbrequestCountPerTarget, + ScalingMetricTypeRdsreaderAverageCpuutilization, + ScalingMetricTypeRdsreaderAverageDatabaseConnections, + ScalingMetricTypeEc2spotFleetRequestAverageCpuutilization, + ScalingMetricTypeEc2spotFleetRequestAverageNetworkIn, + ScalingMetricTypeEc2spotFleetRequestAverageNetworkOut, + } +} + const ( // ScalingPlanStatusCodeActive is a ScalingPlanStatusCode enum value ScalingPlanStatusCodeActive = "Active" @@ -3094,6 +3182,20 @@ const ( ScalingPlanStatusCodeUpdateFailed = "UpdateFailed" ) +// ScalingPlanStatusCode_Values returns all elements of the ScalingPlanStatusCode enum +func ScalingPlanStatusCode_Values() []string { + return []string{ + ScalingPlanStatusCodeActive, + ScalingPlanStatusCodeActiveWithProblems, + ScalingPlanStatusCodeCreationInProgress, + ScalingPlanStatusCodeCreationFailed, + ScalingPlanStatusCodeDeletionInProgress, + ScalingPlanStatusCodeDeletionFailed, + ScalingPlanStatusCodeUpdateInProgress, + ScalingPlanStatusCodeUpdateFailed, + } +} + const ( // ScalingPolicyUpdateBehaviorKeepExternalPolicies is a ScalingPolicyUpdateBehavior enum value ScalingPolicyUpdateBehaviorKeepExternalPolicies = "KeepExternalPolicies" @@ -3102,6 +3204,14 @@ const ( ScalingPolicyUpdateBehaviorReplaceExternalPolicies = "ReplaceExternalPolicies" ) +// ScalingPolicyUpdateBehavior_Values returns all elements of the ScalingPolicyUpdateBehavior enum +func ScalingPolicyUpdateBehavior_Values() []string { + return []string{ + ScalingPolicyUpdateBehaviorKeepExternalPolicies, + ScalingPolicyUpdateBehaviorReplaceExternalPolicies, + } +} + const ( // ScalingStatusCodeInactive is a ScalingStatusCode enum value ScalingStatusCodeInactive = "Inactive" @@ -3113,6 +3223,15 @@ const ( ScalingStatusCodeActive = "Active" ) +// ScalingStatusCode_Values returns all elements of the ScalingStatusCode enum +func ScalingStatusCode_Values() []string { + return []string{ + ScalingStatusCodeInactive, + ScalingStatusCodePartiallyActive, + ScalingStatusCodeActive, + } +} + const ( // ServiceNamespaceAutoscaling is a ServiceNamespace enum value ServiceNamespaceAutoscaling = "autoscaling" @@ -3129,3 +3248,14 @@ const ( // ServiceNamespaceDynamodb is a ServiceNamespace enum value ServiceNamespaceDynamodb = "dynamodb" ) + +// ServiceNamespace_Values returns all elements of the ServiceNamespace enum +func ServiceNamespace_Values() []string { + return []string{ + ServiceNamespaceAutoscaling, + ServiceNamespaceEcs, + ServiceNamespaceEc2, + ServiceNamespaceRds, + ServiceNamespaceDynamodb, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/backup/api.go b/vendor/github.com/aws/aws-sdk-go/service/backup/api.go index 914a9d67f27..f9bd26b3672 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/backup/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/backup/api.go @@ -12469,6 +12469,13 @@ const ( ConditionTypeStringequals = "STRINGEQUALS" ) +// ConditionType_Values returns all elements of the ConditionType enum +func ConditionType_Values() []string { + return []string{ + ConditionTypeStringequals, + } +} + const ( // CopyJobStateCreated is a CopyJobState enum value CopyJobStateCreated = "CREATED" @@ -12483,6 +12490,16 @@ const ( CopyJobStateFailed = "FAILED" ) +// CopyJobState_Values returns all elements of the CopyJobState enum +func CopyJobState_Values() []string { + return []string{ + CopyJobStateCreated, + CopyJobStateRunning, + CopyJobStateCompleted, + CopyJobStateFailed, + } +} + const ( // JobStateCreated is a JobState enum value JobStateCreated = "CREATED" @@ -12509,6 +12526,20 @@ const ( JobStateExpired = "EXPIRED" ) +// JobState_Values returns all elements of the JobState enum +func JobState_Values() []string { + return []string{ + JobStateCreated, + JobStatePending, + JobStateRunning, + JobStateAborting, + JobStateAborted, + JobStateCompleted, + JobStateFailed, + JobStateExpired, + } +} + const ( // RecoveryPointStatusCompleted is a RecoveryPointStatus enum value RecoveryPointStatusCompleted = "COMPLETED" @@ -12523,6 +12554,16 @@ const ( RecoveryPointStatusExpired = "EXPIRED" ) +// RecoveryPointStatus_Values returns all elements of the RecoveryPointStatus enum +func RecoveryPointStatus_Values() []string { + return []string{ + RecoveryPointStatusCompleted, + RecoveryPointStatusPartial, + RecoveryPointStatusDeleting, + RecoveryPointStatusExpired, + } +} + const ( // RestoreJobStatusPending is a RestoreJobStatus enum value RestoreJobStatusPending = "PENDING" @@ -12540,6 +12581,17 @@ const ( RestoreJobStatusFailed = "FAILED" ) +// RestoreJobStatus_Values returns all elements of the RestoreJobStatus enum +func RestoreJobStatus_Values() []string { + return []string{ + RestoreJobStatusPending, + RestoreJobStatusRunning, + RestoreJobStatusCompleted, + RestoreJobStatusAborted, + RestoreJobStatusFailed, + } +} + const ( // StorageClassWarm is a StorageClass enum value StorageClassWarm = "WARM" @@ -12551,6 +12603,15 @@ const ( StorageClassDeleted = "DELETED" ) +// StorageClass_Values returns all elements of the StorageClass enum +func StorageClass_Values() []string { + return []string{ + StorageClassWarm, + StorageClassCold, + StorageClassDeleted, + } +} + const ( // VaultEventBackupJobStarted is a VaultEvent enum value VaultEventBackupJobStarted = "BACKUP_JOB_STARTED" @@ -12597,3 +12658,24 @@ const ( // VaultEventBackupPlanModified is a VaultEvent enum value VaultEventBackupPlanModified = "BACKUP_PLAN_MODIFIED" ) + +// VaultEvent_Values returns all elements of the VaultEvent enum +func VaultEvent_Values() []string { + return []string{ + VaultEventBackupJobStarted, + VaultEventBackupJobCompleted, + VaultEventBackupJobSuccessful, + VaultEventBackupJobFailed, + VaultEventBackupJobExpired, + VaultEventRestoreJobStarted, + VaultEventRestoreJobCompleted, + VaultEventRestoreJobSuccessful, + VaultEventRestoreJobFailed, + VaultEventCopyJobStarted, + VaultEventCopyJobSuccessful, + VaultEventCopyJobFailed, + VaultEventRecoveryPointModified, + VaultEventBackupPlanCreated, + VaultEventBackupPlanModified, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/batch/api.go b/vendor/github.com/aws/aws-sdk-go/service/batch/api.go index 025c323950d..32cfab98d83 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/batch/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/batch/api.go @@ -6180,6 +6180,14 @@ const ( ArrayJobDependencySequential = "SEQUENTIAL" ) +// ArrayJobDependency_Values returns all elements of the ArrayJobDependency enum +func ArrayJobDependency_Values() []string { + return []string{ + ArrayJobDependencyNToN, + ArrayJobDependencySequential, + } +} + const ( // CEStateEnabled is a CEState enum value CEStateEnabled = "ENABLED" @@ -6188,6 +6196,14 @@ const ( CEStateDisabled = "DISABLED" ) +// CEState_Values returns all elements of the CEState enum +func CEState_Values() []string { + return []string{ + CEStateEnabled, + CEStateDisabled, + } +} + const ( // CEStatusCreating is a CEStatus enum value CEStatusCreating = "CREATING" @@ -6208,6 +6224,18 @@ const ( CEStatusInvalid = "INVALID" ) +// CEStatus_Values returns all elements of the CEStatus enum +func CEStatus_Values() []string { + return []string{ + CEStatusCreating, + CEStatusUpdating, + CEStatusDeleting, + CEStatusDeleted, + CEStatusValid, + CEStatusInvalid, + } +} + const ( // CETypeManaged is a CEType enum value CETypeManaged = "MANAGED" @@ -6216,6 +6244,14 @@ const ( CETypeUnmanaged = "UNMANAGED" ) +// CEType_Values returns all elements of the CEType enum +func CEType_Values() []string { + return []string{ + CETypeManaged, + CETypeUnmanaged, + } +} + const ( // CRAllocationStrategyBestFit is a CRAllocationStrategy enum value CRAllocationStrategyBestFit = "BEST_FIT" @@ -6227,6 +6263,15 @@ const ( CRAllocationStrategySpotCapacityOptimized = "SPOT_CAPACITY_OPTIMIZED" ) +// CRAllocationStrategy_Values returns all elements of the CRAllocationStrategy enum +func CRAllocationStrategy_Values() []string { + return []string{ + CRAllocationStrategyBestFit, + CRAllocationStrategyBestFitProgressive, + CRAllocationStrategySpotCapacityOptimized, + } +} + const ( // CRTypeEc2 is a CRType enum value CRTypeEc2 = "EC2" @@ -6235,6 +6280,14 @@ const ( CRTypeSpot = "SPOT" ) +// CRType_Values returns all elements of the CRType enum +func CRType_Values() []string { + return []string{ + CRTypeEc2, + CRTypeSpot, + } +} + const ( // DeviceCgroupPermissionRead is a DeviceCgroupPermission enum value DeviceCgroupPermissionRead = "READ" @@ -6246,6 +6299,15 @@ const ( DeviceCgroupPermissionMknod = "MKNOD" ) +// DeviceCgroupPermission_Values returns all elements of the DeviceCgroupPermission enum +func DeviceCgroupPermission_Values() []string { + return []string{ + DeviceCgroupPermissionRead, + DeviceCgroupPermissionWrite, + DeviceCgroupPermissionMknod, + } +} + const ( // JQStateEnabled is a JQState enum value JQStateEnabled = "ENABLED" @@ -6254,6 +6316,14 @@ const ( JQStateDisabled = "DISABLED" ) +// JQState_Values returns all elements of the JQState enum +func JQState_Values() []string { + return []string{ + JQStateEnabled, + JQStateDisabled, + } +} + const ( // JQStatusCreating is a JQStatus enum value JQStatusCreating = "CREATING" @@ -6274,6 +6344,18 @@ const ( JQStatusInvalid = "INVALID" ) +// JQStatus_Values returns all elements of the JQStatus enum +func JQStatus_Values() []string { + return []string{ + JQStatusCreating, + JQStatusUpdating, + JQStatusDeleting, + JQStatusDeleted, + JQStatusValid, + JQStatusInvalid, + } +} + const ( // JobDefinitionTypeContainer is a JobDefinitionType enum value JobDefinitionTypeContainer = "container" @@ -6282,6 +6364,14 @@ const ( JobDefinitionTypeMultinode = "multinode" ) +// JobDefinitionType_Values returns all elements of the JobDefinitionType enum +func JobDefinitionType_Values() []string { + return []string{ + JobDefinitionTypeContainer, + JobDefinitionTypeMultinode, + } +} + const ( // JobStatusSubmitted is a JobStatus enum value JobStatusSubmitted = "SUBMITTED" @@ -6305,7 +6395,27 @@ const ( JobStatusFailed = "FAILED" ) +// JobStatus_Values returns all elements of the JobStatus enum +func JobStatus_Values() []string { + return []string{ + JobStatusSubmitted, + JobStatusPending, + JobStatusRunnable, + JobStatusStarting, + JobStatusRunning, + JobStatusSucceeded, + JobStatusFailed, + } +} + const ( // ResourceTypeGpu is a ResourceType enum value ResourceTypeGpu = "GPU" ) + +// ResourceType_Values returns all elements of the ResourceType enum +func ResourceType_Values() []string { + return []string{ + ResourceTypeGpu, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/budgets/api.go b/vendor/github.com/aws/aws-sdk-go/service/budgets/api.go index 0673e50561e..9e2944a0a09 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/budgets/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/budgets/api.go @@ -4210,6 +4210,18 @@ const ( BudgetTypeSavingsPlansCoverage = "SAVINGS_PLANS_COVERAGE" ) +// BudgetType_Values returns all elements of the BudgetType enum +func BudgetType_Values() []string { + return []string{ + BudgetTypeUsage, + BudgetTypeCost, + BudgetTypeRiUtilization, + BudgetTypeRiCoverage, + BudgetTypeSavingsPlansUtilization, + BudgetTypeSavingsPlansCoverage, + } +} + // The comparison operator of a notification. Currently the service supports // the following operators: // @@ -4225,6 +4237,15 @@ const ( ComparisonOperatorEqualTo = "EQUAL_TO" ) +// ComparisonOperator_Values returns all elements of the ComparisonOperator enum +func ComparisonOperator_Values() []string { + return []string{ + ComparisonOperatorGreaterThan, + ComparisonOperatorLessThan, + ComparisonOperatorEqualTo, + } +} + const ( // NotificationStateOk is a NotificationState enum value NotificationStateOk = "OK" @@ -4233,6 +4254,14 @@ const ( NotificationStateAlarm = "ALARM" ) +// NotificationState_Values returns all elements of the NotificationState enum +func NotificationState_Values() []string { + return []string{ + NotificationStateOk, + NotificationStateAlarm, + } +} + // The type of a notification. It must be ACTUAL or FORECASTED. const ( // NotificationTypeActual is a NotificationType enum value @@ -4242,6 +4271,14 @@ const ( NotificationTypeForecasted = "FORECASTED" ) +// NotificationType_Values returns all elements of the NotificationType enum +func NotificationType_Values() []string { + return []string{ + NotificationTypeActual, + NotificationTypeForecasted, + } +} + // The subscription type of the subscriber. It can be SMS or EMAIL. const ( // SubscriptionTypeSns is a SubscriptionType enum value @@ -4251,6 +4288,14 @@ const ( SubscriptionTypeEmail = "EMAIL" ) +// SubscriptionType_Values returns all elements of the SubscriptionType enum +func SubscriptionType_Values() []string { + return []string{ + SubscriptionTypeSns, + SubscriptionTypeEmail, + } +} + // The type of threshold for a notification. It can be PERCENTAGE or ABSOLUTE_VALUE. const ( // ThresholdTypePercentage is a ThresholdType enum value @@ -4260,6 +4305,14 @@ const ( ThresholdTypeAbsoluteValue = "ABSOLUTE_VALUE" ) +// ThresholdType_Values returns all elements of the ThresholdType enum +func ThresholdType_Values() []string { + return []string{ + ThresholdTypePercentage, + ThresholdTypeAbsoluteValue, + } +} + // The time unit of the budget, such as MONTHLY or QUARTERLY. const ( // TimeUnitDaily is a TimeUnit enum value @@ -4274,3 +4327,13 @@ const ( // TimeUnitAnnually is a TimeUnit enum value TimeUnitAnnually = "ANNUALLY" ) + +// TimeUnit_Values returns all elements of the TimeUnit enum +func TimeUnit_Values() []string { + return []string{ + TimeUnitDaily, + TimeUnitMonthly, + TimeUnitQuarterly, + TimeUnitAnnually, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/cloud9/api.go b/vendor/github.com/aws/aws-sdk-go/service/cloud9/api.go index fd1fea5ce78..df2c680ef50 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/cloud9/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/cloud9/api.go @@ -1063,6 +1063,9 @@ func (c *Cloud9) TagResourceRequest(input *TagResourceInput) (req *request.Reque // * BadRequestException // The target request is invalid. // +// * ConcurrentAccessException +// A concurrent access issue occurred. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/TagResource func (c *Cloud9) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { req, out := c.TagResourceRequest(input) @@ -1149,6 +1152,9 @@ func (c *Cloud9) UntagResourceRequest(input *UntagResourceInput) (req *request.R // * BadRequestException // The target request is invalid. // +// * ConcurrentAccessException +// A concurrent access issue occurred. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/UntagResource func (c *Cloud9) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { req, out := c.UntagResourceRequest(input) @@ -1423,6 +1429,62 @@ func (s *BadRequestException) RequestID() string { return s.RespMetadata.RequestID } +// A concurrent access issue occurred. +type ConcurrentAccessException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` +} + +// String returns the string representation +func (s ConcurrentAccessException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ConcurrentAccessException) GoString() string { + return s.String() +} + +func newErrorConcurrentAccessException(v protocol.ResponseMetadata) error { + return &ConcurrentAccessException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *ConcurrentAccessException) Code() string { + return "ConcurrentAccessException" +} + +// Message returns the exception's message. +func (s *ConcurrentAccessException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ConcurrentAccessException) OrigErr() error { + return nil +} + +func (s *ConcurrentAccessException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *ConcurrentAccessException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ConcurrentAccessException) RequestID() string { + return s.RespMetadata.RequestID +} + // A conflict occurred. type ConflictException struct { _ struct{} `type:"structure"` @@ -1493,6 +1555,9 @@ type CreateEnvironmentEC2Input struct { // in the Amazon EC2 API Reference. ClientRequestToken *string `locationName:"clientRequestToken" type:"string"` + // The connection type used for connecting to an Amazon EC2 environment. + ConnectionType *string `locationName:"connectionType" type:"string" enum:"ConnectionType"` + // The description of the environment to create. Description *string `locationName:"description" type:"string" sensitive:"true"` @@ -1579,6 +1644,12 @@ func (s *CreateEnvironmentEC2Input) SetClientRequestToken(v string) *CreateEnvir return s } +// SetConnectionType sets the ConnectionType field's value. +func (s *CreateEnvironmentEC2Input) SetConnectionType(v string) *CreateEnvironmentEC2Input { + s.ConnectionType = &v + return s +} + // SetDescription sets the Description field's value. func (s *CreateEnvironmentEC2Input) SetDescription(v string) *CreateEnvironmentEC2Input { s.Description = &v @@ -2117,6 +2188,9 @@ type Environment struct { // The Amazon Resource Name (ARN) of the environment. Arn *string `locationName:"arn" type:"string"` + // The connection type used for connecting to an Amazon EC2 environment. + ConnectionType *string `locationName:"connectionType" type:"string" enum:"ConnectionType"` + // The description for the environment. Description *string `locationName:"description" type:"string" sensitive:"true"` @@ -2157,6 +2231,12 @@ func (s *Environment) SetArn(v string) *Environment { return s } +// SetConnectionType sets the ConnectionType field's value. +func (s *Environment) SetConnectionType(v string) *Environment { + s.ConnectionType = &v + return s +} + // SetDescription sets the Description field's value. func (s *Environment) SetDescription(v string) *Environment { s.Description = &v @@ -3104,6 +3184,22 @@ func (s UpdateEnvironmentOutput) GoString() string { return s.String() } +const ( + // ConnectionTypeConnectSsh is a ConnectionType enum value + ConnectionTypeConnectSsh = "CONNECT_SSH" + + // ConnectionTypeConnectSsm is a ConnectionType enum value + ConnectionTypeConnectSsm = "CONNECT_SSM" +) + +// ConnectionType_Values returns all elements of the ConnectionType enum +func ConnectionType_Values() []string { + return []string{ + ConnectionTypeConnectSsh, + ConnectionTypeConnectSsm, + } +} + const ( // EnvironmentLifecycleStatusCreating is a EnvironmentLifecycleStatus enum value EnvironmentLifecycleStatusCreating = "CREATING" @@ -3121,6 +3217,17 @@ const ( EnvironmentLifecycleStatusDeleteFailed = "DELETE_FAILED" ) +// EnvironmentLifecycleStatus_Values returns all elements of the EnvironmentLifecycleStatus enum +func EnvironmentLifecycleStatus_Values() []string { + return []string{ + EnvironmentLifecycleStatusCreating, + EnvironmentLifecycleStatusCreated, + EnvironmentLifecycleStatusCreateFailed, + EnvironmentLifecycleStatusDeleting, + EnvironmentLifecycleStatusDeleteFailed, + } +} + const ( // EnvironmentStatusError is a EnvironmentStatus enum value EnvironmentStatusError = "error" @@ -3144,6 +3251,19 @@ const ( EnvironmentStatusDeleting = "deleting" ) +// EnvironmentStatus_Values returns all elements of the EnvironmentStatus enum +func EnvironmentStatus_Values() []string { + return []string{ + EnvironmentStatusError, + EnvironmentStatusCreating, + EnvironmentStatusConnecting, + EnvironmentStatusReady, + EnvironmentStatusStopping, + EnvironmentStatusStopped, + EnvironmentStatusDeleting, + } +} + const ( // EnvironmentTypeSsh is a EnvironmentType enum value EnvironmentTypeSsh = "ssh" @@ -3152,6 +3272,14 @@ const ( EnvironmentTypeEc2 = "ec2" ) +// EnvironmentType_Values returns all elements of the EnvironmentType enum +func EnvironmentType_Values() []string { + return []string{ + EnvironmentTypeSsh, + EnvironmentTypeEc2, + } +} + const ( // MemberPermissionsReadWrite is a MemberPermissions enum value MemberPermissionsReadWrite = "read-write" @@ -3160,6 +3288,14 @@ const ( MemberPermissionsReadOnly = "read-only" ) +// MemberPermissions_Values returns all elements of the MemberPermissions enum +func MemberPermissions_Values() []string { + return []string{ + MemberPermissionsReadWrite, + MemberPermissionsReadOnly, + } +} + const ( // PermissionsOwner is a Permissions enum value PermissionsOwner = "owner" @@ -3170,3 +3306,12 @@ const ( // PermissionsReadOnly is a Permissions enum value PermissionsReadOnly = "read-only" ) + +// Permissions_Values returns all elements of the Permissions enum +func Permissions_Values() []string { + return []string{ + PermissionsOwner, + PermissionsReadWrite, + PermissionsReadOnly, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/cloud9/errors.go b/vendor/github.com/aws/aws-sdk-go/service/cloud9/errors.go index 0318a99b302..308ab4f0b0d 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/cloud9/errors.go +++ b/vendor/github.com/aws/aws-sdk-go/service/cloud9/errors.go @@ -14,6 +14,12 @@ const ( // The target request is invalid. ErrCodeBadRequestException = "BadRequestException" + // ErrCodeConcurrentAccessException for service response error code + // "ConcurrentAccessException". + // + // A concurrent access issue occurred. + ErrCodeConcurrentAccessException = "ConcurrentAccessException" + // ErrCodeConflictException for service response error code // "ConflictException". // @@ -53,6 +59,7 @@ const ( var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ "BadRequestException": newErrorBadRequestException, + "ConcurrentAccessException": newErrorConcurrentAccessException, "ConflictException": newErrorConflictException, "ForbiddenException": newErrorForbiddenException, "InternalServerErrorException": newErrorInternalServerErrorException, diff --git a/vendor/github.com/aws/aws-sdk-go/service/cloudformation/api.go b/vendor/github.com/aws/aws-sdk-go/service/cloudformation/api.go index ed6994101c3..f8b384c0a65 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/cloudformation/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/cloudformation/api.go @@ -17154,6 +17154,15 @@ const ( AccountGateStatusSkipped = "SKIPPED" ) +// AccountGateStatus_Values returns all elements of the AccountGateStatus enum +func AccountGateStatus_Values() []string { + return []string{ + AccountGateStatusSucceeded, + AccountGateStatusFailed, + AccountGateStatusSkipped, + } +} + const ( // CapabilityCapabilityIam is a Capability enum value CapabilityCapabilityIam = "CAPABILITY_IAM" @@ -17165,6 +17174,15 @@ const ( CapabilityCapabilityAutoExpand = "CAPABILITY_AUTO_EXPAND" ) +// Capability_Values returns all elements of the Capability enum +func Capability_Values() []string { + return []string{ + CapabilityCapabilityIam, + CapabilityCapabilityNamedIam, + CapabilityCapabilityAutoExpand, + } +} + const ( // ChangeActionAdd is a ChangeAction enum value ChangeActionAdd = "Add" @@ -17179,6 +17197,16 @@ const ( ChangeActionImport = "Import" ) +// ChangeAction_Values returns all elements of the ChangeAction enum +func ChangeAction_Values() []string { + return []string{ + ChangeActionAdd, + ChangeActionModify, + ChangeActionRemove, + ChangeActionImport, + } +} + const ( // ChangeSetStatusCreatePending is a ChangeSetStatus enum value ChangeSetStatusCreatePending = "CREATE_PENDING" @@ -17196,6 +17224,17 @@ const ( ChangeSetStatusFailed = "FAILED" ) +// ChangeSetStatus_Values returns all elements of the ChangeSetStatus enum +func ChangeSetStatus_Values() []string { + return []string{ + ChangeSetStatusCreatePending, + ChangeSetStatusCreateInProgress, + ChangeSetStatusCreateComplete, + ChangeSetStatusDeleteComplete, + ChangeSetStatusFailed, + } +} + const ( // ChangeSetTypeCreate is a ChangeSetType enum value ChangeSetTypeCreate = "CREATE" @@ -17207,6 +17246,15 @@ const ( ChangeSetTypeImport = "IMPORT" ) +// ChangeSetType_Values returns all elements of the ChangeSetType enum +func ChangeSetType_Values() []string { + return []string{ + ChangeSetTypeCreate, + ChangeSetTypeUpdate, + ChangeSetTypeImport, + } +} + const ( // ChangeSourceResourceReference is a ChangeSource enum value ChangeSourceResourceReference = "ResourceReference" @@ -17224,11 +17272,29 @@ const ( ChangeSourceAutomatic = "Automatic" ) +// ChangeSource_Values returns all elements of the ChangeSource enum +func ChangeSource_Values() []string { + return []string{ + ChangeSourceResourceReference, + ChangeSourceParameterReference, + ChangeSourceResourceAttribute, + ChangeSourceDirectModification, + ChangeSourceAutomatic, + } +} + const ( // ChangeTypeResource is a ChangeType enum value ChangeTypeResource = "Resource" ) +// ChangeType_Values returns all elements of the ChangeType enum +func ChangeType_Values() []string { + return []string{ + ChangeTypeResource, + } +} + const ( // DeprecatedStatusLive is a DeprecatedStatus enum value DeprecatedStatusLive = "LIVE" @@ -17237,6 +17303,14 @@ const ( DeprecatedStatusDeprecated = "DEPRECATED" ) +// DeprecatedStatus_Values returns all elements of the DeprecatedStatus enum +func DeprecatedStatus_Values() []string { + return []string{ + DeprecatedStatusLive, + DeprecatedStatusDeprecated, + } +} + const ( // DifferenceTypeAdd is a DifferenceType enum value DifferenceTypeAdd = "ADD" @@ -17248,6 +17322,15 @@ const ( DifferenceTypeNotEqual = "NOT_EQUAL" ) +// DifferenceType_Values returns all elements of the DifferenceType enum +func DifferenceType_Values() []string { + return []string{ + DifferenceTypeAdd, + DifferenceTypeRemove, + DifferenceTypeNotEqual, + } +} + const ( // EvaluationTypeStatic is a EvaluationType enum value EvaluationTypeStatic = "Static" @@ -17256,6 +17339,14 @@ const ( EvaluationTypeDynamic = "Dynamic" ) +// EvaluationType_Values returns all elements of the EvaluationType enum +func EvaluationType_Values() []string { + return []string{ + EvaluationTypeStatic, + EvaluationTypeDynamic, + } +} + const ( // ExecutionStatusUnavailable is a ExecutionStatus enum value ExecutionStatusUnavailable = "UNAVAILABLE" @@ -17276,6 +17367,18 @@ const ( ExecutionStatusObsolete = "OBSOLETE" ) +// ExecutionStatus_Values returns all elements of the ExecutionStatus enum +func ExecutionStatus_Values() []string { + return []string{ + ExecutionStatusUnavailable, + ExecutionStatusAvailable, + ExecutionStatusExecuteInProgress, + ExecutionStatusExecuteComplete, + ExecutionStatusExecuteFailed, + ExecutionStatusObsolete, + } +} + const ( // HandlerErrorCodeNotUpdatable is a HandlerErrorCode enum value HandlerErrorCodeNotUpdatable = "NotUpdatable" @@ -17320,6 +17423,26 @@ const ( HandlerErrorCodeInternalFailure = "InternalFailure" ) +// HandlerErrorCode_Values returns all elements of the HandlerErrorCode enum +func HandlerErrorCode_Values() []string { + return []string{ + HandlerErrorCodeNotUpdatable, + HandlerErrorCodeInvalidRequest, + HandlerErrorCodeAccessDenied, + HandlerErrorCodeInvalidCredentials, + HandlerErrorCodeAlreadyExists, + HandlerErrorCodeNotFound, + HandlerErrorCodeResourceConflict, + HandlerErrorCodeThrottling, + HandlerErrorCodeServiceLimitExceeded, + HandlerErrorCodeNotStabilized, + HandlerErrorCodeGeneralServiceException, + HandlerErrorCodeServiceInternalError, + HandlerErrorCodeNetworkFailure, + HandlerErrorCodeInternalFailure, + } +} + const ( // OnFailureDoNothing is a OnFailure enum value OnFailureDoNothing = "DO_NOTHING" @@ -17331,6 +17454,15 @@ const ( OnFailureDelete = "DELETE" ) +// OnFailure_Values returns all elements of the OnFailure enum +func OnFailure_Values() []string { + return []string{ + OnFailureDoNothing, + OnFailureRollback, + OnFailureDelete, + } +} + const ( // OperationStatusPending is a OperationStatus enum value OperationStatusPending = "PENDING" @@ -17345,6 +17477,16 @@ const ( OperationStatusFailed = "FAILED" ) +// OperationStatus_Values returns all elements of the OperationStatus enum +func OperationStatus_Values() []string { + return []string{ + OperationStatusPending, + OperationStatusInProgress, + OperationStatusSuccess, + OperationStatusFailed, + } +} + const ( // PermissionModelsServiceManaged is a PermissionModels enum value PermissionModelsServiceManaged = "SERVICE_MANAGED" @@ -17353,6 +17495,14 @@ const ( PermissionModelsSelfManaged = "SELF_MANAGED" ) +// PermissionModels_Values returns all elements of the PermissionModels enum +func PermissionModels_Values() []string { + return []string{ + PermissionModelsServiceManaged, + PermissionModelsSelfManaged, + } +} + const ( // ProvisioningTypeNonProvisionable is a ProvisioningType enum value ProvisioningTypeNonProvisionable = "NON_PROVISIONABLE" @@ -17364,6 +17514,15 @@ const ( ProvisioningTypeFullyMutable = "FULLY_MUTABLE" ) +// ProvisioningType_Values returns all elements of the ProvisioningType enum +func ProvisioningType_Values() []string { + return []string{ + ProvisioningTypeNonProvisionable, + ProvisioningTypeImmutable, + ProvisioningTypeFullyMutable, + } +} + const ( // RegistrationStatusComplete is a RegistrationStatus enum value RegistrationStatusComplete = "COMPLETE" @@ -17375,11 +17534,27 @@ const ( RegistrationStatusFailed = "FAILED" ) +// RegistrationStatus_Values returns all elements of the RegistrationStatus enum +func RegistrationStatus_Values() []string { + return []string{ + RegistrationStatusComplete, + RegistrationStatusInProgress, + RegistrationStatusFailed, + } +} + const ( // RegistryTypeResource is a RegistryType enum value RegistryTypeResource = "RESOURCE" ) +// RegistryType_Values returns all elements of the RegistryType enum +func RegistryType_Values() []string { + return []string{ + RegistryTypeResource, + } +} + const ( // ReplacementTrue is a Replacement enum value ReplacementTrue = "True" @@ -17391,6 +17566,15 @@ const ( ReplacementConditional = "Conditional" ) +// Replacement_Values returns all elements of the Replacement enum +func Replacement_Values() []string { + return []string{ + ReplacementTrue, + ReplacementFalse, + ReplacementConditional, + } +} + const ( // RequiresRecreationNever is a RequiresRecreation enum value RequiresRecreationNever = "Never" @@ -17402,6 +17586,15 @@ const ( RequiresRecreationAlways = "Always" ) +// RequiresRecreation_Values returns all elements of the RequiresRecreation enum +func RequiresRecreation_Values() []string { + return []string{ + RequiresRecreationNever, + RequiresRecreationConditionally, + RequiresRecreationAlways, + } +} + const ( // ResourceAttributeProperties is a ResourceAttribute enum value ResourceAttributeProperties = "Properties" @@ -17422,6 +17615,18 @@ const ( ResourceAttributeTags = "Tags" ) +// ResourceAttribute_Values returns all elements of the ResourceAttribute enum +func ResourceAttribute_Values() []string { + return []string{ + ResourceAttributeProperties, + ResourceAttributeMetadata, + ResourceAttributeCreationPolicy, + ResourceAttributeUpdatePolicy, + ResourceAttributeDeletionPolicy, + ResourceAttributeTags, + } +} + const ( // ResourceSignalStatusSuccess is a ResourceSignalStatus enum value ResourceSignalStatusSuccess = "SUCCESS" @@ -17430,6 +17635,14 @@ const ( ResourceSignalStatusFailure = "FAILURE" ) +// ResourceSignalStatus_Values returns all elements of the ResourceSignalStatus enum +func ResourceSignalStatus_Values() []string { + return []string{ + ResourceSignalStatusSuccess, + ResourceSignalStatusFailure, + } +} + const ( // ResourceStatusCreateInProgress is a ResourceStatus enum value ResourceStatusCreateInProgress = "CREATE_IN_PROGRESS" @@ -17480,6 +17693,28 @@ const ( ResourceStatusImportRollbackComplete = "IMPORT_ROLLBACK_COMPLETE" ) +// ResourceStatus_Values returns all elements of the ResourceStatus enum +func ResourceStatus_Values() []string { + return []string{ + ResourceStatusCreateInProgress, + ResourceStatusCreateFailed, + ResourceStatusCreateComplete, + ResourceStatusDeleteInProgress, + ResourceStatusDeleteFailed, + ResourceStatusDeleteComplete, + ResourceStatusDeleteSkipped, + ResourceStatusUpdateInProgress, + ResourceStatusUpdateFailed, + ResourceStatusUpdateComplete, + ResourceStatusImportFailed, + ResourceStatusImportComplete, + ResourceStatusImportInProgress, + ResourceStatusImportRollbackInProgress, + ResourceStatusImportRollbackFailed, + ResourceStatusImportRollbackComplete, + } +} + const ( // StackDriftDetectionStatusDetectionInProgress is a StackDriftDetectionStatus enum value StackDriftDetectionStatusDetectionInProgress = "DETECTION_IN_PROGRESS" @@ -17491,6 +17726,15 @@ const ( StackDriftDetectionStatusDetectionComplete = "DETECTION_COMPLETE" ) +// StackDriftDetectionStatus_Values returns all elements of the StackDriftDetectionStatus enum +func StackDriftDetectionStatus_Values() []string { + return []string{ + StackDriftDetectionStatusDetectionInProgress, + StackDriftDetectionStatusDetectionFailed, + StackDriftDetectionStatusDetectionComplete, + } +} + const ( // StackDriftStatusDrifted is a StackDriftStatus enum value StackDriftStatusDrifted = "DRIFTED" @@ -17505,6 +17749,16 @@ const ( StackDriftStatusNotChecked = "NOT_CHECKED" ) +// StackDriftStatus_Values returns all elements of the StackDriftStatus enum +func StackDriftStatus_Values() []string { + return []string{ + StackDriftStatusDrifted, + StackDriftStatusInSync, + StackDriftStatusUnknown, + StackDriftStatusNotChecked, + } +} + const ( // StackInstanceDetailedStatusPending is a StackInstanceDetailedStatus enum value StackInstanceDetailedStatusPending = "PENDING" @@ -17525,11 +17779,30 @@ const ( StackInstanceDetailedStatusInoperable = "INOPERABLE" ) +// StackInstanceDetailedStatus_Values returns all elements of the StackInstanceDetailedStatus enum +func StackInstanceDetailedStatus_Values() []string { + return []string{ + StackInstanceDetailedStatusPending, + StackInstanceDetailedStatusRunning, + StackInstanceDetailedStatusSucceeded, + StackInstanceDetailedStatusFailed, + StackInstanceDetailedStatusCancelled, + StackInstanceDetailedStatusInoperable, + } +} + const ( // StackInstanceFilterNameDetailedStatus is a StackInstanceFilterName enum value StackInstanceFilterNameDetailedStatus = "DETAILED_STATUS" ) +// StackInstanceFilterName_Values returns all elements of the StackInstanceFilterName enum +func StackInstanceFilterName_Values() []string { + return []string{ + StackInstanceFilterNameDetailedStatus, + } +} + const ( // StackInstanceStatusCurrent is a StackInstanceStatus enum value StackInstanceStatusCurrent = "CURRENT" @@ -17541,6 +17814,15 @@ const ( StackInstanceStatusInoperable = "INOPERABLE" ) +// StackInstanceStatus_Values returns all elements of the StackInstanceStatus enum +func StackInstanceStatus_Values() []string { + return []string{ + StackInstanceStatusCurrent, + StackInstanceStatusOutdated, + StackInstanceStatusInoperable, + } +} + const ( // StackResourceDriftStatusInSync is a StackResourceDriftStatus enum value StackResourceDriftStatusInSync = "IN_SYNC" @@ -17555,6 +17837,16 @@ const ( StackResourceDriftStatusNotChecked = "NOT_CHECKED" ) +// StackResourceDriftStatus_Values returns all elements of the StackResourceDriftStatus enum +func StackResourceDriftStatus_Values() []string { + return []string{ + StackResourceDriftStatusInSync, + StackResourceDriftStatusModified, + StackResourceDriftStatusDeleted, + StackResourceDriftStatusNotChecked, + } +} + const ( // StackSetDriftDetectionStatusCompleted is a StackSetDriftDetectionStatus enum value StackSetDriftDetectionStatusCompleted = "COMPLETED" @@ -17572,6 +17864,17 @@ const ( StackSetDriftDetectionStatusStopped = "STOPPED" ) +// StackSetDriftDetectionStatus_Values returns all elements of the StackSetDriftDetectionStatus enum +func StackSetDriftDetectionStatus_Values() []string { + return []string{ + StackSetDriftDetectionStatusCompleted, + StackSetDriftDetectionStatusFailed, + StackSetDriftDetectionStatusPartialSuccess, + StackSetDriftDetectionStatusInProgress, + StackSetDriftDetectionStatusStopped, + } +} + const ( // StackSetDriftStatusDrifted is a StackSetDriftStatus enum value StackSetDriftStatusDrifted = "DRIFTED" @@ -17583,6 +17886,15 @@ const ( StackSetDriftStatusNotChecked = "NOT_CHECKED" ) +// StackSetDriftStatus_Values returns all elements of the StackSetDriftStatus enum +func StackSetDriftStatus_Values() []string { + return []string{ + StackSetDriftStatusDrifted, + StackSetDriftStatusInSync, + StackSetDriftStatusNotChecked, + } +} + const ( // StackSetOperationActionCreate is a StackSetOperationAction enum value StackSetOperationActionCreate = "CREATE" @@ -17597,6 +17909,16 @@ const ( StackSetOperationActionDetectDrift = "DETECT_DRIFT" ) +// StackSetOperationAction_Values returns all elements of the StackSetOperationAction enum +func StackSetOperationAction_Values() []string { + return []string{ + StackSetOperationActionCreate, + StackSetOperationActionUpdate, + StackSetOperationActionDelete, + StackSetOperationActionDetectDrift, + } +} + const ( // StackSetOperationResultStatusPending is a StackSetOperationResultStatus enum value StackSetOperationResultStatusPending = "PENDING" @@ -17614,6 +17936,17 @@ const ( StackSetOperationResultStatusCancelled = "CANCELLED" ) +// StackSetOperationResultStatus_Values returns all elements of the StackSetOperationResultStatus enum +func StackSetOperationResultStatus_Values() []string { + return []string{ + StackSetOperationResultStatusPending, + StackSetOperationResultStatusRunning, + StackSetOperationResultStatusSucceeded, + StackSetOperationResultStatusFailed, + StackSetOperationResultStatusCancelled, + } +} + const ( // StackSetOperationStatusRunning is a StackSetOperationStatus enum value StackSetOperationStatusRunning = "RUNNING" @@ -17634,6 +17967,18 @@ const ( StackSetOperationStatusQueued = "QUEUED" ) +// StackSetOperationStatus_Values returns all elements of the StackSetOperationStatus enum +func StackSetOperationStatus_Values() []string { + return []string{ + StackSetOperationStatusRunning, + StackSetOperationStatusSucceeded, + StackSetOperationStatusFailed, + StackSetOperationStatusStopping, + StackSetOperationStatusStopped, + StackSetOperationStatusQueued, + } +} + const ( // StackSetStatusActive is a StackSetStatus enum value StackSetStatusActive = "ACTIVE" @@ -17642,6 +17987,14 @@ const ( StackSetStatusDeleted = "DELETED" ) +// StackSetStatus_Values returns all elements of the StackSetStatus enum +func StackSetStatus_Values() []string { + return []string{ + StackSetStatusActive, + StackSetStatusDeleted, + } +} + const ( // StackStatusCreateInProgress is a StackStatus enum value StackStatusCreateInProgress = "CREATE_IN_PROGRESS" @@ -17710,6 +18063,34 @@ const ( StackStatusImportRollbackComplete = "IMPORT_ROLLBACK_COMPLETE" ) +// StackStatus_Values returns all elements of the StackStatus enum +func StackStatus_Values() []string { + return []string{ + StackStatusCreateInProgress, + StackStatusCreateFailed, + StackStatusCreateComplete, + StackStatusRollbackInProgress, + StackStatusRollbackFailed, + StackStatusRollbackComplete, + StackStatusDeleteInProgress, + StackStatusDeleteFailed, + StackStatusDeleteComplete, + StackStatusUpdateInProgress, + StackStatusUpdateCompleteCleanupInProgress, + StackStatusUpdateComplete, + StackStatusUpdateRollbackInProgress, + StackStatusUpdateRollbackFailed, + StackStatusUpdateRollbackCompleteCleanupInProgress, + StackStatusUpdateRollbackComplete, + StackStatusReviewInProgress, + StackStatusImportInProgress, + StackStatusImportComplete, + StackStatusImportRollbackInProgress, + StackStatusImportRollbackFailed, + StackStatusImportRollbackComplete, + } +} + const ( // TemplateStageOriginal is a TemplateStage enum value TemplateStageOriginal = "Original" @@ -17718,6 +18099,14 @@ const ( TemplateStageProcessed = "Processed" ) +// TemplateStage_Values returns all elements of the TemplateStage enum +func TemplateStage_Values() []string { + return []string{ + TemplateStageOriginal, + TemplateStageProcessed, + } +} + const ( // VisibilityPublic is a Visibility enum value VisibilityPublic = "PUBLIC" @@ -17725,3 +18114,11 @@ const ( // VisibilityPrivate is a Visibility enum value VisibilityPrivate = "PRIVATE" ) + +// Visibility_Values returns all elements of the Visibility enum +func Visibility_Values() []string { + return []string{ + VisibilityPublic, + VisibilityPrivate, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/cloudfront/api.go b/vendor/github.com/aws/aws-sdk-go/service/cloudfront/api.go index 58e63221183..c20e519f03a 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/cloudfront/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/cloudfront/api.go @@ -19408,6 +19408,16 @@ const ( CachePolicyCookieBehaviorAll = "all" ) +// CachePolicyCookieBehavior_Values returns all elements of the CachePolicyCookieBehavior enum +func CachePolicyCookieBehavior_Values() []string { + return []string{ + CachePolicyCookieBehaviorNone, + CachePolicyCookieBehaviorWhitelist, + CachePolicyCookieBehaviorAllExcept, + CachePolicyCookieBehaviorAll, + } +} + const ( // CachePolicyHeaderBehaviorNone is a CachePolicyHeaderBehavior enum value CachePolicyHeaderBehaviorNone = "none" @@ -19416,6 +19426,14 @@ const ( CachePolicyHeaderBehaviorWhitelist = "whitelist" ) +// CachePolicyHeaderBehavior_Values returns all elements of the CachePolicyHeaderBehavior enum +func CachePolicyHeaderBehavior_Values() []string { + return []string{ + CachePolicyHeaderBehaviorNone, + CachePolicyHeaderBehaviorWhitelist, + } +} + const ( // CachePolicyQueryStringBehaviorNone is a CachePolicyQueryStringBehavior enum value CachePolicyQueryStringBehaviorNone = "none" @@ -19430,6 +19448,16 @@ const ( CachePolicyQueryStringBehaviorAll = "all" ) +// CachePolicyQueryStringBehavior_Values returns all elements of the CachePolicyQueryStringBehavior enum +func CachePolicyQueryStringBehavior_Values() []string { + return []string{ + CachePolicyQueryStringBehaviorNone, + CachePolicyQueryStringBehaviorWhitelist, + CachePolicyQueryStringBehaviorAllExcept, + CachePolicyQueryStringBehaviorAll, + } +} + const ( // CachePolicyTypeManaged is a CachePolicyType enum value CachePolicyTypeManaged = "managed" @@ -19438,6 +19466,14 @@ const ( CachePolicyTypeCustom = "custom" ) +// CachePolicyType_Values returns all elements of the CachePolicyType enum +func CachePolicyType_Values() []string { + return []string{ + CachePolicyTypeManaged, + CachePolicyTypeCustom, + } +} + const ( // CertificateSourceCloudfront is a CertificateSource enum value CertificateSourceCloudfront = "cloudfront" @@ -19449,6 +19485,15 @@ const ( CertificateSourceAcm = "acm" ) +// CertificateSource_Values returns all elements of the CertificateSource enum +func CertificateSource_Values() []string { + return []string{ + CertificateSourceCloudfront, + CertificateSourceIam, + CertificateSourceAcm, + } +} + const ( // EventTypeViewerRequest is a EventType enum value EventTypeViewerRequest = "viewer-request" @@ -19463,11 +19508,28 @@ const ( EventTypeOriginResponse = "origin-response" ) +// EventType_Values returns all elements of the EventType enum +func EventType_Values() []string { + return []string{ + EventTypeViewerRequest, + EventTypeViewerResponse, + EventTypeOriginRequest, + EventTypeOriginResponse, + } +} + const ( // FormatUrlencoded is a Format enum value FormatUrlencoded = "URLEncoded" ) +// Format_Values returns all elements of the Format enum +func Format_Values() []string { + return []string{ + FormatUrlencoded, + } +} + const ( // GeoRestrictionTypeBlacklist is a GeoRestrictionType enum value GeoRestrictionTypeBlacklist = "blacklist" @@ -19479,6 +19541,15 @@ const ( GeoRestrictionTypeNone = "none" ) +// GeoRestrictionType_Values returns all elements of the GeoRestrictionType enum +func GeoRestrictionType_Values() []string { + return []string{ + GeoRestrictionTypeBlacklist, + GeoRestrictionTypeWhitelist, + GeoRestrictionTypeNone, + } +} + const ( // HttpVersionHttp11 is a HttpVersion enum value HttpVersionHttp11 = "http1.1" @@ -19487,6 +19558,14 @@ const ( HttpVersionHttp2 = "http2" ) +// HttpVersion_Values returns all elements of the HttpVersion enum +func HttpVersion_Values() []string { + return []string{ + HttpVersionHttp11, + HttpVersionHttp2, + } +} + const ( // ICPRecordalStatusApproved is a ICPRecordalStatus enum value ICPRecordalStatusApproved = "APPROVED" @@ -19498,6 +19577,15 @@ const ( ICPRecordalStatusPending = "PENDING" ) +// ICPRecordalStatus_Values returns all elements of the ICPRecordalStatus enum +func ICPRecordalStatus_Values() []string { + return []string{ + ICPRecordalStatusApproved, + ICPRecordalStatusSuspended, + ICPRecordalStatusPending, + } +} + const ( // ItemSelectionNone is a ItemSelection enum value ItemSelectionNone = "none" @@ -19509,6 +19597,15 @@ const ( ItemSelectionAll = "all" ) +// ItemSelection_Values returns all elements of the ItemSelection enum +func ItemSelection_Values() []string { + return []string{ + ItemSelectionNone, + ItemSelectionWhitelist, + ItemSelectionAll, + } +} + const ( // MethodGet is a Method enum value MethodGet = "GET" @@ -19532,6 +19629,19 @@ const ( MethodDelete = "DELETE" ) +// Method_Values returns all elements of the Method enum +func Method_Values() []string { + return []string{ + MethodGet, + MethodHead, + MethodPost, + MethodPut, + MethodPatch, + MethodOptions, + MethodDelete, + } +} + const ( // MinimumProtocolVersionSslv3 is a MinimumProtocolVersion enum value MinimumProtocolVersionSslv3 = "SSLv3" @@ -19552,6 +19662,18 @@ const ( MinimumProtocolVersionTlsv122019 = "TLSv1.2_2019" ) +// MinimumProtocolVersion_Values returns all elements of the MinimumProtocolVersion enum +func MinimumProtocolVersion_Values() []string { + return []string{ + MinimumProtocolVersionSslv3, + MinimumProtocolVersionTlsv1, + MinimumProtocolVersionTlsv12016, + MinimumProtocolVersionTlsv112016, + MinimumProtocolVersionTlsv122018, + MinimumProtocolVersionTlsv122019, + } +} + const ( // OriginProtocolPolicyHttpOnly is a OriginProtocolPolicy enum value OriginProtocolPolicyHttpOnly = "http-only" @@ -19563,6 +19685,15 @@ const ( OriginProtocolPolicyHttpsOnly = "https-only" ) +// OriginProtocolPolicy_Values returns all elements of the OriginProtocolPolicy enum +func OriginProtocolPolicy_Values() []string { + return []string{ + OriginProtocolPolicyHttpOnly, + OriginProtocolPolicyMatchViewer, + OriginProtocolPolicyHttpsOnly, + } +} + const ( // OriginRequestPolicyCookieBehaviorNone is a OriginRequestPolicyCookieBehavior enum value OriginRequestPolicyCookieBehaviorNone = "none" @@ -19574,6 +19705,15 @@ const ( OriginRequestPolicyCookieBehaviorAll = "all" ) +// OriginRequestPolicyCookieBehavior_Values returns all elements of the OriginRequestPolicyCookieBehavior enum +func OriginRequestPolicyCookieBehavior_Values() []string { + return []string{ + OriginRequestPolicyCookieBehaviorNone, + OriginRequestPolicyCookieBehaviorWhitelist, + OriginRequestPolicyCookieBehaviorAll, + } +} + const ( // OriginRequestPolicyHeaderBehaviorNone is a OriginRequestPolicyHeaderBehavior enum value OriginRequestPolicyHeaderBehaviorNone = "none" @@ -19588,6 +19728,16 @@ const ( OriginRequestPolicyHeaderBehaviorAllViewerAndWhitelistCloudFront = "allViewerAndWhitelistCloudFront" ) +// OriginRequestPolicyHeaderBehavior_Values returns all elements of the OriginRequestPolicyHeaderBehavior enum +func OriginRequestPolicyHeaderBehavior_Values() []string { + return []string{ + OriginRequestPolicyHeaderBehaviorNone, + OriginRequestPolicyHeaderBehaviorWhitelist, + OriginRequestPolicyHeaderBehaviorAllViewer, + OriginRequestPolicyHeaderBehaviorAllViewerAndWhitelistCloudFront, + } +} + const ( // OriginRequestPolicyQueryStringBehaviorNone is a OriginRequestPolicyQueryStringBehavior enum value OriginRequestPolicyQueryStringBehaviorNone = "none" @@ -19599,6 +19749,15 @@ const ( OriginRequestPolicyQueryStringBehaviorAll = "all" ) +// OriginRequestPolicyQueryStringBehavior_Values returns all elements of the OriginRequestPolicyQueryStringBehavior enum +func OriginRequestPolicyQueryStringBehavior_Values() []string { + return []string{ + OriginRequestPolicyQueryStringBehaviorNone, + OriginRequestPolicyQueryStringBehaviorWhitelist, + OriginRequestPolicyQueryStringBehaviorAll, + } +} + const ( // OriginRequestPolicyTypeManaged is a OriginRequestPolicyType enum value OriginRequestPolicyTypeManaged = "managed" @@ -19607,6 +19766,14 @@ const ( OriginRequestPolicyTypeCustom = "custom" ) +// OriginRequestPolicyType_Values returns all elements of the OriginRequestPolicyType enum +func OriginRequestPolicyType_Values() []string { + return []string{ + OriginRequestPolicyTypeManaged, + OriginRequestPolicyTypeCustom, + } +} + const ( // PriceClassPriceClass100 is a PriceClass enum value PriceClassPriceClass100 = "PriceClass_100" @@ -19618,6 +19785,15 @@ const ( PriceClassPriceClassAll = "PriceClass_All" ) +// PriceClass_Values returns all elements of the PriceClass enum +func PriceClass_Values() []string { + return []string{ + PriceClassPriceClass100, + PriceClassPriceClass200, + PriceClassPriceClassAll, + } +} + const ( // SSLSupportMethodSniOnly is a SSLSupportMethod enum value SSLSupportMethodSniOnly = "sni-only" @@ -19626,6 +19802,14 @@ const ( SSLSupportMethodVip = "vip" ) +// SSLSupportMethod_Values returns all elements of the SSLSupportMethod enum +func SSLSupportMethod_Values() []string { + return []string{ + SSLSupportMethodSniOnly, + SSLSupportMethodVip, + } +} + const ( // SslProtocolSslv3 is a SslProtocol enum value SslProtocolSslv3 = "SSLv3" @@ -19640,6 +19824,16 @@ const ( SslProtocolTlsv12 = "TLSv1.2" ) +// SslProtocol_Values returns all elements of the SslProtocol enum +func SslProtocol_Values() []string { + return []string{ + SslProtocolSslv3, + SslProtocolTlsv1, + SslProtocolTlsv11, + SslProtocolTlsv12, + } +} + const ( // ViewerProtocolPolicyAllowAll is a ViewerProtocolPolicy enum value ViewerProtocolPolicyAllowAll = "allow-all" @@ -19650,3 +19844,12 @@ const ( // ViewerProtocolPolicyRedirectToHttps is a ViewerProtocolPolicy enum value ViewerProtocolPolicyRedirectToHttps = "redirect-to-https" ) + +// ViewerProtocolPolicy_Values returns all elements of the ViewerProtocolPolicy enum +func ViewerProtocolPolicy_Values() []string { + return []string{ + ViewerProtocolPolicyAllowAll, + ViewerProtocolPolicyHttpsOnly, + ViewerProtocolPolicyRedirectToHttps, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/cloudhsmv2/api.go b/vendor/github.com/aws/aws-sdk-go/service/cloudhsmv2/api.go index b86f0fcea8d..7d3fdaac015 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/cloudhsmv2/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/cloudhsmv2/api.go @@ -3476,6 +3476,13 @@ const ( BackupPolicyDefault = "DEFAULT" ) +// BackupPolicy_Values returns all elements of the BackupPolicy enum +func BackupPolicy_Values() []string { + return []string{ + BackupPolicyDefault, + } +} + const ( // BackupStateCreateInProgress is a BackupState enum value BackupStateCreateInProgress = "CREATE_IN_PROGRESS" @@ -3490,6 +3497,16 @@ const ( BackupStatePendingDeletion = "PENDING_DELETION" ) +// BackupState_Values returns all elements of the BackupState enum +func BackupState_Values() []string { + return []string{ + BackupStateCreateInProgress, + BackupStateReady, + BackupStateDeleted, + BackupStatePendingDeletion, + } +} + const ( // ClusterStateCreateInProgress is a ClusterState enum value ClusterStateCreateInProgress = "CREATE_IN_PROGRESS" @@ -3519,6 +3536,21 @@ const ( ClusterStateDegraded = "DEGRADED" ) +// ClusterState_Values returns all elements of the ClusterState enum +func ClusterState_Values() []string { + return []string{ + ClusterStateCreateInProgress, + ClusterStateUninitialized, + ClusterStateInitializeInProgress, + ClusterStateInitialized, + ClusterStateActive, + ClusterStateUpdateInProgress, + ClusterStateDeleteInProgress, + ClusterStateDeleted, + ClusterStateDegraded, + } +} + const ( // HsmStateCreateInProgress is a HsmState enum value HsmStateCreateInProgress = "CREATE_IN_PROGRESS" @@ -3535,3 +3567,14 @@ const ( // HsmStateDeleted is a HsmState enum value HsmStateDeleted = "DELETED" ) + +// HsmState_Values returns all elements of the HsmState enum +func HsmState_Values() []string { + return []string{ + HsmStateCreateInProgress, + HsmStateActive, + HsmStateDegraded, + HsmStateDeleteInProgress, + HsmStateDeleted, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/cloudsearch/api.go b/vendor/github.com/aws/aws-sdk-go/service/cloudsearch/api.go index a39be361ffd..7cb304fd405 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/cloudsearch/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/cloudsearch/api.go @@ -6625,6 +6625,16 @@ const ( AlgorithmicStemmingFull = "full" ) +// AlgorithmicStemming_Values returns all elements of the AlgorithmicStemming enum +func AlgorithmicStemming_Values() []string { + return []string{ + AlgorithmicStemmingNone, + AlgorithmicStemmingMinimal, + AlgorithmicStemmingLight, + AlgorithmicStemmingFull, + } +} + // An IETF RFC 4646 (http://tools.ietf.org/html/rfc4646) language code or mul // for multiple languages. const ( @@ -6734,6 +6744,47 @@ const ( AnalysisSchemeLanguageZhHant = "zh-Hant" ) +// AnalysisSchemeLanguage_Values returns all elements of the AnalysisSchemeLanguage enum +func AnalysisSchemeLanguage_Values() []string { + return []string{ + AnalysisSchemeLanguageAr, + AnalysisSchemeLanguageBg, + AnalysisSchemeLanguageCa, + AnalysisSchemeLanguageCs, + AnalysisSchemeLanguageDa, + AnalysisSchemeLanguageDe, + AnalysisSchemeLanguageEl, + AnalysisSchemeLanguageEn, + AnalysisSchemeLanguageEs, + AnalysisSchemeLanguageEu, + AnalysisSchemeLanguageFa, + AnalysisSchemeLanguageFi, + AnalysisSchemeLanguageFr, + AnalysisSchemeLanguageGa, + AnalysisSchemeLanguageGl, + AnalysisSchemeLanguageHe, + AnalysisSchemeLanguageHi, + AnalysisSchemeLanguageHu, + AnalysisSchemeLanguageHy, + AnalysisSchemeLanguageId, + AnalysisSchemeLanguageIt, + AnalysisSchemeLanguageJa, + AnalysisSchemeLanguageKo, + AnalysisSchemeLanguageLv, + AnalysisSchemeLanguageMul, + AnalysisSchemeLanguageNl, + AnalysisSchemeLanguageNo, + AnalysisSchemeLanguagePt, + AnalysisSchemeLanguageRo, + AnalysisSchemeLanguageRu, + AnalysisSchemeLanguageSv, + AnalysisSchemeLanguageTh, + AnalysisSchemeLanguageTr, + AnalysisSchemeLanguageZhHans, + AnalysisSchemeLanguageZhHant, + } +} + // The type of field. The valid options for a field depend on the field type. // For more information about the supported field types, see Configuring Index // Fields (http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-index-fields.html) @@ -6773,6 +6824,23 @@ const ( IndexFieldTypeDateArray = "date-array" ) +// IndexFieldType_Values returns all elements of the IndexFieldType enum +func IndexFieldType_Values() []string { + return []string{ + IndexFieldTypeInt, + IndexFieldTypeDouble, + IndexFieldTypeLiteral, + IndexFieldTypeText, + IndexFieldTypeDate, + IndexFieldTypeLatlon, + IndexFieldTypeIntArray, + IndexFieldTypeDoubleArray, + IndexFieldTypeLiteralArray, + IndexFieldTypeTextArray, + IndexFieldTypeDateArray, + } +} + // The state of processing a change to an option. One of: // // * RequiresIndexDocuments: The option's latest value will not be deployed @@ -6799,6 +6867,16 @@ const ( OptionStateFailedToValidate = "FailedToValidate" ) +// OptionState_Values returns all elements of the OptionState enum +func OptionState_Values() []string { + return []string{ + OptionStateRequiresIndexDocuments, + OptionStateProcessing, + OptionStateActive, + OptionStateFailedToValidate, + } +} + // The instance type (such as search.m1.small) on which an index partition is // hosted. const ( @@ -6827,6 +6905,20 @@ const ( PartitionInstanceTypeSearchM32xlarge = "search.m3.2xlarge" ) +// PartitionInstanceType_Values returns all elements of the PartitionInstanceType enum +func PartitionInstanceType_Values() []string { + return []string{ + PartitionInstanceTypeSearchM1Small, + PartitionInstanceTypeSearchM1Large, + PartitionInstanceTypeSearchM2Xlarge, + PartitionInstanceTypeSearchM22xlarge, + PartitionInstanceTypeSearchM3Medium, + PartitionInstanceTypeSearchM3Large, + PartitionInstanceTypeSearchM3Xlarge, + PartitionInstanceTypeSearchM32xlarge, + } +} + const ( // SuggesterFuzzyMatchingNone is a SuggesterFuzzyMatching enum value SuggesterFuzzyMatchingNone = "none" @@ -6838,6 +6930,15 @@ const ( SuggesterFuzzyMatchingHigh = "high" ) +// SuggesterFuzzyMatching_Values returns all elements of the SuggesterFuzzyMatching enum +func SuggesterFuzzyMatching_Values() []string { + return []string{ + SuggesterFuzzyMatchingNone, + SuggesterFuzzyMatchingLow, + SuggesterFuzzyMatchingHigh, + } +} + // The minimum required TLS version. const ( // TLSSecurityPolicyPolicyMinTls10201907 is a TLSSecurityPolicy enum value @@ -6846,3 +6947,11 @@ const ( // TLSSecurityPolicyPolicyMinTls12201907 is a TLSSecurityPolicy enum value TLSSecurityPolicyPolicyMinTls12201907 = "Policy-Min-TLS-1-2-2019-07" ) + +// TLSSecurityPolicy_Values returns all elements of the TLSSecurityPolicy enum +func TLSSecurityPolicy_Values() []string { + return []string{ + TLSSecurityPolicyPolicyMinTls10201907, + TLSSecurityPolicyPolicyMinTls12201907, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/cloudtrail/api.go b/vendor/github.com/aws/aws-sdk-go/service/cloudtrail/api.go index 3dcad2dafde..5c1a5889e42 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/cloudtrail/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/cloudtrail/api.go @@ -7845,11 +7845,25 @@ const ( EventCategoryInsight = "insight" ) +// EventCategory_Values returns all elements of the EventCategory enum +func EventCategory_Values() []string { + return []string{ + EventCategoryInsight, + } +} + const ( // InsightTypeApiCallRateInsight is a InsightType enum value InsightTypeApiCallRateInsight = "ApiCallRateInsight" ) +// InsightType_Values returns all elements of the InsightType enum +func InsightType_Values() []string { + return []string{ + InsightTypeApiCallRateInsight, + } +} + const ( // LookupAttributeKeyEventId is a LookupAttributeKey enum value LookupAttributeKeyEventId = "EventId" @@ -7876,6 +7890,20 @@ const ( LookupAttributeKeyAccessKeyId = "AccessKeyId" ) +// LookupAttributeKey_Values returns all elements of the LookupAttributeKey enum +func LookupAttributeKey_Values() []string { + return []string{ + LookupAttributeKeyEventId, + LookupAttributeKeyEventName, + LookupAttributeKeyReadOnly, + LookupAttributeKeyUsername, + LookupAttributeKeyResourceType, + LookupAttributeKeyResourceName, + LookupAttributeKeyEventSource, + LookupAttributeKeyAccessKeyId, + } +} + const ( // ReadWriteTypeReadOnly is a ReadWriteType enum value ReadWriteTypeReadOnly = "ReadOnly" @@ -7886,3 +7914,12 @@ const ( // ReadWriteTypeAll is a ReadWriteType enum value ReadWriteTypeAll = "All" ) + +// ReadWriteType_Values returns all elements of the ReadWriteType enum +func ReadWriteType_Values() []string { + return []string{ + ReadWriteTypeReadOnly, + ReadWriteTypeWriteOnly, + ReadWriteTypeAll, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/cloudwatch/api.go b/vendor/github.com/aws/aws-sdk-go/service/cloudwatch/api.go index 5d7f1bb2a4f..7a2d4b2d189 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/cloudwatch/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/cloudwatch/api.go @@ -8908,6 +8908,14 @@ const ( AlarmTypeMetricAlarm = "MetricAlarm" ) +// AlarmType_Values returns all elements of the AlarmType enum +func AlarmType_Values() []string { + return []string{ + AlarmTypeCompositeAlarm, + AlarmTypeMetricAlarm, + } +} + const ( // AnomalyDetectorStateValuePendingTraining is a AnomalyDetectorStateValue enum value AnomalyDetectorStateValuePendingTraining = "PENDING_TRAINING" @@ -8919,6 +8927,15 @@ const ( AnomalyDetectorStateValueTrained = "TRAINED" ) +// AnomalyDetectorStateValue_Values returns all elements of the AnomalyDetectorStateValue enum +func AnomalyDetectorStateValue_Values() []string { + return []string{ + AnomalyDetectorStateValuePendingTraining, + AnomalyDetectorStateValueTrainedInsufficientData, + AnomalyDetectorStateValueTrained, + } +} + const ( // ComparisonOperatorGreaterThanOrEqualToThreshold is a ComparisonOperator enum value ComparisonOperatorGreaterThanOrEqualToThreshold = "GreaterThanOrEqualToThreshold" @@ -8942,6 +8959,19 @@ const ( ComparisonOperatorGreaterThanUpperThreshold = "GreaterThanUpperThreshold" ) +// ComparisonOperator_Values returns all elements of the ComparisonOperator enum +func ComparisonOperator_Values() []string { + return []string{ + ComparisonOperatorGreaterThanOrEqualToThreshold, + ComparisonOperatorGreaterThanThreshold, + ComparisonOperatorLessThanThreshold, + ComparisonOperatorLessThanOrEqualToThreshold, + ComparisonOperatorLessThanLowerOrGreaterThanUpperThreshold, + ComparisonOperatorLessThanLowerThreshold, + ComparisonOperatorGreaterThanUpperThreshold, + } +} + const ( // HistoryItemTypeConfigurationUpdate is a HistoryItemType enum value HistoryItemTypeConfigurationUpdate = "ConfigurationUpdate" @@ -8953,11 +8983,27 @@ const ( HistoryItemTypeAction = "Action" ) +// HistoryItemType_Values returns all elements of the HistoryItemType enum +func HistoryItemType_Values() []string { + return []string{ + HistoryItemTypeConfigurationUpdate, + HistoryItemTypeStateUpdate, + HistoryItemTypeAction, + } +} + const ( // RecentlyActivePt3h is a RecentlyActive enum value RecentlyActivePt3h = "PT3H" ) +// RecentlyActive_Values returns all elements of the RecentlyActive enum +func RecentlyActive_Values() []string { + return []string{ + RecentlyActivePt3h, + } +} + const ( // ScanByTimestampDescending is a ScanBy enum value ScanByTimestampDescending = "TimestampDescending" @@ -8966,6 +9012,14 @@ const ( ScanByTimestampAscending = "TimestampAscending" ) +// ScanBy_Values returns all elements of the ScanBy enum +func ScanBy_Values() []string { + return []string{ + ScanByTimestampDescending, + ScanByTimestampAscending, + } +} + const ( // StandardUnitSeconds is a StandardUnit enum value StandardUnitSeconds = "Seconds" @@ -9049,6 +9103,39 @@ const ( StandardUnitNone = "None" ) +// StandardUnit_Values returns all elements of the StandardUnit enum +func StandardUnit_Values() []string { + return []string{ + StandardUnitSeconds, + StandardUnitMicroseconds, + StandardUnitMilliseconds, + StandardUnitBytes, + StandardUnitKilobytes, + StandardUnitMegabytes, + StandardUnitGigabytes, + StandardUnitTerabytes, + StandardUnitBits, + StandardUnitKilobits, + StandardUnitMegabits, + StandardUnitGigabits, + StandardUnitTerabits, + StandardUnitPercent, + StandardUnitCount, + StandardUnitBytesSecond, + StandardUnitKilobytesSecond, + StandardUnitMegabytesSecond, + StandardUnitGigabytesSecond, + StandardUnitTerabytesSecond, + StandardUnitBitsSecond, + StandardUnitKilobitsSecond, + StandardUnitMegabitsSecond, + StandardUnitGigabitsSecond, + StandardUnitTerabitsSecond, + StandardUnitCountSecond, + StandardUnitNone, + } +} + const ( // StateValueOk is a StateValue enum value StateValueOk = "OK" @@ -9060,6 +9147,15 @@ const ( StateValueInsufficientData = "INSUFFICIENT_DATA" ) +// StateValue_Values returns all elements of the StateValue enum +func StateValue_Values() []string { + return []string{ + StateValueOk, + StateValueAlarm, + StateValueInsufficientData, + } +} + const ( // StatisticSampleCount is a Statistic enum value StatisticSampleCount = "SampleCount" @@ -9077,6 +9173,17 @@ const ( StatisticMaximum = "Maximum" ) +// Statistic_Values returns all elements of the Statistic enum +func Statistic_Values() []string { + return []string{ + StatisticSampleCount, + StatisticAverage, + StatisticSum, + StatisticMinimum, + StatisticMaximum, + } +} + const ( // StatusCodeComplete is a StatusCode enum value StatusCodeComplete = "Complete" @@ -9087,3 +9194,12 @@ const ( // StatusCodePartialData is a StatusCode enum value StatusCodePartialData = "PartialData" ) + +// StatusCode_Values returns all elements of the StatusCode enum +func StatusCode_Values() []string { + return []string{ + StatusCodeComplete, + StatusCodeInternalError, + StatusCodePartialData, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/cloudwatchevents/api.go b/vendor/github.com/aws/aws-sdk-go/service/cloudwatchevents/api.go index afcd2604448..570b5a51be3 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/cloudwatchevents/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/cloudwatchevents/api.go @@ -8084,6 +8084,14 @@ const ( AssignPublicIpDisabled = "DISABLED" ) +// AssignPublicIp_Values returns all elements of the AssignPublicIp enum +func AssignPublicIp_Values() []string { + return []string{ + AssignPublicIpEnabled, + AssignPublicIpDisabled, + } +} + const ( // EventSourceStatePending is a EventSourceState enum value EventSourceStatePending = "PENDING" @@ -8095,6 +8103,15 @@ const ( EventSourceStateDeleted = "DELETED" ) +// EventSourceState_Values returns all elements of the EventSourceState enum +func EventSourceState_Values() []string { + return []string{ + EventSourceStatePending, + EventSourceStateActive, + EventSourceStateDeleted, + } +} + const ( // LaunchTypeEc2 is a LaunchType enum value LaunchTypeEc2 = "EC2" @@ -8103,6 +8120,14 @@ const ( LaunchTypeFargate = "FARGATE" ) +// LaunchType_Values returns all elements of the LaunchType enum +func LaunchType_Values() []string { + return []string{ + LaunchTypeEc2, + LaunchTypeFargate, + } +} + const ( // RuleStateEnabled is a RuleState enum value RuleStateEnabled = "ENABLED" @@ -8110,3 +8135,11 @@ const ( // RuleStateDisabled is a RuleState enum value RuleStateDisabled = "DISABLED" ) + +// RuleState_Values returns all elements of the RuleState enum +func RuleState_Values() []string { + return []string{ + RuleStateEnabled, + RuleStateDisabled, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/cloudwatchlogs/api.go b/vendor/github.com/aws/aws-sdk-go/service/cloudwatchlogs/api.go index 6ea344e5e52..f8a8ce658b8 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/cloudwatchlogs/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/cloudwatchlogs/api.go @@ -10023,6 +10023,14 @@ const ( DistributionByLogStream = "ByLogStream" ) +// Distribution_Values returns all elements of the Distribution enum +func Distribution_Values() []string { + return []string{ + DistributionRandom, + DistributionByLogStream, + } +} + const ( // ExportTaskStatusCodeCancelled is a ExportTaskStatusCode enum value ExportTaskStatusCodeCancelled = "CANCELLED" @@ -10043,6 +10051,18 @@ const ( ExportTaskStatusCodeRunning = "RUNNING" ) +// ExportTaskStatusCode_Values returns all elements of the ExportTaskStatusCode enum +func ExportTaskStatusCode_Values() []string { + return []string{ + ExportTaskStatusCodeCancelled, + ExportTaskStatusCodeCompleted, + ExportTaskStatusCodeFailed, + ExportTaskStatusCodePending, + ExportTaskStatusCodePendingCancel, + ExportTaskStatusCodeRunning, + } +} + const ( // OrderByLogStreamName is a OrderBy enum value OrderByLogStreamName = "LogStreamName" @@ -10051,6 +10071,14 @@ const ( OrderByLastEventTime = "LastEventTime" ) +// OrderBy_Values returns all elements of the OrderBy enum +func OrderBy_Values() []string { + return []string{ + OrderByLogStreamName, + OrderByLastEventTime, + } +} + const ( // QueryStatusScheduled is a QueryStatus enum value QueryStatusScheduled = "Scheduled" @@ -10067,3 +10095,14 @@ const ( // QueryStatusCancelled is a QueryStatus enum value QueryStatusCancelled = "Cancelled" ) + +// QueryStatus_Values returns all elements of the QueryStatus enum +func QueryStatus_Values() []string { + return []string{ + QueryStatusScheduled, + QueryStatusRunning, + QueryStatusComplete, + QueryStatusFailed, + QueryStatusCancelled, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/codeartifact/api.go b/vendor/github.com/aws/aws-sdk-go/service/codeartifact/api.go index a459d70ab59..32dee23aba5 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/codeartifact/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/codeartifact/api.go @@ -9390,11 +9390,26 @@ const ( DomainStatusDeleted = "Deleted" ) +// DomainStatus_Values returns all elements of the DomainStatus enum +func DomainStatus_Values() []string { + return []string{ + DomainStatusActive, + DomainStatusDeleted, + } +} + const ( // ExternalConnectionStatusAvailable is a ExternalConnectionStatus enum value ExternalConnectionStatusAvailable = "Available" ) +// ExternalConnectionStatus_Values returns all elements of the ExternalConnectionStatus enum +func ExternalConnectionStatus_Values() []string { + return []string{ + ExternalConnectionStatusAvailable, + } +} + const ( // HashAlgorithmMd5 is a HashAlgorithm enum value HashAlgorithmMd5 = "MD5" @@ -9409,6 +9424,16 @@ const ( HashAlgorithmSha512 = "SHA-512" ) +// HashAlgorithm_Values returns all elements of the HashAlgorithm enum +func HashAlgorithm_Values() []string { + return []string{ + HashAlgorithmMd5, + HashAlgorithmSha1, + HashAlgorithmSha256, + HashAlgorithmSha512, + } +} + const ( // PackageFormatNpm is a PackageFormat enum value PackageFormatNpm = "npm" @@ -9420,6 +9445,15 @@ const ( PackageFormatMaven = "maven" ) +// PackageFormat_Values returns all elements of the PackageFormat enum +func PackageFormat_Values() []string { + return []string{ + PackageFormatNpm, + PackageFormatPypi, + PackageFormatMaven, + } +} + const ( // PackageVersionErrorCodeAlreadyExists is a PackageVersionErrorCode enum value PackageVersionErrorCodeAlreadyExists = "ALREADY_EXISTS" @@ -9440,11 +9474,30 @@ const ( PackageVersionErrorCodeSkipped = "SKIPPED" ) +// PackageVersionErrorCode_Values returns all elements of the PackageVersionErrorCode enum +func PackageVersionErrorCode_Values() []string { + return []string{ + PackageVersionErrorCodeAlreadyExists, + PackageVersionErrorCodeMismatchedRevision, + PackageVersionErrorCodeMismatchedStatus, + PackageVersionErrorCodeNotAllowed, + PackageVersionErrorCodeNotFound, + PackageVersionErrorCodeSkipped, + } +} + const ( // PackageVersionSortTypePublishedTime is a PackageVersionSortType enum value PackageVersionSortTypePublishedTime = "PUBLISHED_TIME" ) +// PackageVersionSortType_Values returns all elements of the PackageVersionSortType enum +func PackageVersionSortType_Values() []string { + return []string{ + PackageVersionSortTypePublishedTime, + } +} + const ( // PackageVersionStatusPublished is a PackageVersionStatus enum value PackageVersionStatusPublished = "Published" @@ -9465,6 +9518,18 @@ const ( PackageVersionStatusDeleted = "Deleted" ) +// PackageVersionStatus_Values returns all elements of the PackageVersionStatus enum +func PackageVersionStatus_Values() []string { + return []string{ + PackageVersionStatusPublished, + PackageVersionStatusUnfinished, + PackageVersionStatusUnlisted, + PackageVersionStatusArchived, + PackageVersionStatusDisposed, + PackageVersionStatusDeleted, + } +} + const ( // ResourceTypeDomain is a ResourceType enum value ResourceTypeDomain = "domain" @@ -9482,6 +9547,17 @@ const ( ResourceTypeAsset = "asset" ) +// ResourceType_Values returns all elements of the ResourceType enum +func ResourceType_Values() []string { + return []string{ + ResourceTypeDomain, + ResourceTypeRepository, + ResourceTypePackage, + ResourceTypePackageVersion, + ResourceTypeAsset, + } +} + const ( // ValidationExceptionReasonCannotParse is a ValidationExceptionReason enum value ValidationExceptionReasonCannotParse = "CANNOT_PARSE" @@ -9498,3 +9574,14 @@ const ( // ValidationExceptionReasonOther is a ValidationExceptionReason enum value ValidationExceptionReasonOther = "OTHER" ) + +// ValidationExceptionReason_Values returns all elements of the ValidationExceptionReason enum +func ValidationExceptionReason_Values() []string { + return []string{ + ValidationExceptionReasonCannotParse, + ValidationExceptionReasonEncryptionKeyError, + ValidationExceptionReasonFieldValidationFailed, + ValidationExceptionReasonUnknownOperation, + ValidationExceptionReasonOther, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/codebuild/api.go b/vendor/github.com/aws/aws-sdk-go/service/codebuild/api.go index cc89d30723e..5d32f44fdc6 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/codebuild/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/codebuild/api.go @@ -14125,6 +14125,14 @@ const ( ArtifactNamespaceBuildId = "BUILD_ID" ) +// ArtifactNamespace_Values returns all elements of the ArtifactNamespace enum +func ArtifactNamespace_Values() []string { + return []string{ + ArtifactNamespaceNone, + ArtifactNamespaceBuildId, + } +} + const ( // ArtifactPackagingNone is a ArtifactPackaging enum value ArtifactPackagingNone = "NONE" @@ -14133,6 +14141,14 @@ const ( ArtifactPackagingZip = "ZIP" ) +// ArtifactPackaging_Values returns all elements of the ArtifactPackaging enum +func ArtifactPackaging_Values() []string { + return []string{ + ArtifactPackagingNone, + ArtifactPackagingZip, + } +} + const ( // ArtifactsTypeCodepipeline is a ArtifactsType enum value ArtifactsTypeCodepipeline = "CODEPIPELINE" @@ -14144,6 +14160,15 @@ const ( ArtifactsTypeNoArtifacts = "NO_ARTIFACTS" ) +// ArtifactsType_Values returns all elements of the ArtifactsType enum +func ArtifactsType_Values() []string { + return []string{ + ArtifactsTypeCodepipeline, + ArtifactsTypeS3, + ArtifactsTypeNoArtifacts, + } +} + const ( // AuthTypeOauth is a AuthType enum value AuthTypeOauth = "OAUTH" @@ -14155,6 +14180,15 @@ const ( AuthTypePersonalAccessToken = "PERSONAL_ACCESS_TOKEN" ) +// AuthType_Values returns all elements of the AuthType enum +func AuthType_Values() []string { + return []string{ + AuthTypeOauth, + AuthTypeBasicAuth, + AuthTypePersonalAccessToken, + } +} + const ( // BuildBatchPhaseTypeSubmitted is a BuildBatchPhaseType enum value BuildBatchPhaseTypeSubmitted = "SUBMITTED" @@ -14178,6 +14212,19 @@ const ( BuildBatchPhaseTypeStopped = "STOPPED" ) +// BuildBatchPhaseType_Values returns all elements of the BuildBatchPhaseType enum +func BuildBatchPhaseType_Values() []string { + return []string{ + BuildBatchPhaseTypeSubmitted, + BuildBatchPhaseTypeDownloadBatchspec, + BuildBatchPhaseTypeInProgress, + BuildBatchPhaseTypeCombineArtifacts, + BuildBatchPhaseTypeSucceeded, + BuildBatchPhaseTypeFailed, + BuildBatchPhaseTypeStopped, + } +} + const ( // BuildPhaseTypeSubmitted is a BuildPhaseType enum value BuildPhaseTypeSubmitted = "SUBMITTED" @@ -14213,6 +14260,23 @@ const ( BuildPhaseTypeCompleted = "COMPLETED" ) +// BuildPhaseType_Values returns all elements of the BuildPhaseType enum +func BuildPhaseType_Values() []string { + return []string{ + BuildPhaseTypeSubmitted, + BuildPhaseTypeQueued, + BuildPhaseTypeProvisioning, + BuildPhaseTypeDownloadSource, + BuildPhaseTypeInstall, + BuildPhaseTypePreBuild, + BuildPhaseTypeBuild, + BuildPhaseTypePostBuild, + BuildPhaseTypeUploadArtifacts, + BuildPhaseTypeFinalizing, + BuildPhaseTypeCompleted, + } +} + const ( // CacheModeLocalDockerLayerCache is a CacheMode enum value CacheModeLocalDockerLayerCache = "LOCAL_DOCKER_LAYER_CACHE" @@ -14224,6 +14288,15 @@ const ( CacheModeLocalCustomCache = "LOCAL_CUSTOM_CACHE" ) +// CacheMode_Values returns all elements of the CacheMode enum +func CacheMode_Values() []string { + return []string{ + CacheModeLocalDockerLayerCache, + CacheModeLocalSourceCache, + CacheModeLocalCustomCache, + } +} + const ( // CacheTypeNoCache is a CacheType enum value CacheTypeNoCache = "NO_CACHE" @@ -14235,6 +14308,15 @@ const ( CacheTypeLocal = "LOCAL" ) +// CacheType_Values returns all elements of the CacheType enum +func CacheType_Values() []string { + return []string{ + CacheTypeNoCache, + CacheTypeS3, + CacheTypeLocal, + } +} + const ( // ComputeTypeBuildGeneral1Small is a ComputeType enum value ComputeTypeBuildGeneral1Small = "BUILD_GENERAL1_SMALL" @@ -14249,11 +14331,28 @@ const ( ComputeTypeBuildGeneral12xlarge = "BUILD_GENERAL1_2XLARGE" ) +// ComputeType_Values returns all elements of the ComputeType enum +func ComputeType_Values() []string { + return []string{ + ComputeTypeBuildGeneral1Small, + ComputeTypeBuildGeneral1Medium, + ComputeTypeBuildGeneral1Large, + ComputeTypeBuildGeneral12xlarge, + } +} + const ( // CredentialProviderTypeSecretsManager is a CredentialProviderType enum value CredentialProviderTypeSecretsManager = "SECRETS_MANAGER" ) +// CredentialProviderType_Values returns all elements of the CredentialProviderType enum +func CredentialProviderType_Values() []string { + return []string{ + CredentialProviderTypeSecretsManager, + } +} + const ( // EnvironmentTypeWindowsContainer is a EnvironmentType enum value EnvironmentTypeWindowsContainer = "WINDOWS_CONTAINER" @@ -14271,6 +14370,17 @@ const ( EnvironmentTypeWindowsServer2019Container = "WINDOWS_SERVER_2019_CONTAINER" ) +// EnvironmentType_Values returns all elements of the EnvironmentType enum +func EnvironmentType_Values() []string { + return []string{ + EnvironmentTypeWindowsContainer, + EnvironmentTypeLinuxContainer, + EnvironmentTypeLinuxGpuContainer, + EnvironmentTypeArmContainer, + EnvironmentTypeWindowsServer2019Container, + } +} + const ( // EnvironmentVariableTypePlaintext is a EnvironmentVariableType enum value EnvironmentVariableTypePlaintext = "PLAINTEXT" @@ -14282,11 +14392,27 @@ const ( EnvironmentVariableTypeSecretsManager = "SECRETS_MANAGER" ) +// EnvironmentVariableType_Values returns all elements of the EnvironmentVariableType enum +func EnvironmentVariableType_Values() []string { + return []string{ + EnvironmentVariableTypePlaintext, + EnvironmentVariableTypeParameterStore, + EnvironmentVariableTypeSecretsManager, + } +} + const ( // FileSystemTypeEfs is a FileSystemType enum value FileSystemTypeEfs = "EFS" ) +// FileSystemType_Values returns all elements of the FileSystemType enum +func FileSystemType_Values() []string { + return []string{ + FileSystemTypeEfs, + } +} + const ( // ImagePullCredentialsTypeCodebuild is a ImagePullCredentialsType enum value ImagePullCredentialsTypeCodebuild = "CODEBUILD" @@ -14295,6 +14421,14 @@ const ( ImagePullCredentialsTypeServiceRole = "SERVICE_ROLE" ) +// ImagePullCredentialsType_Values returns all elements of the ImagePullCredentialsType enum +func ImagePullCredentialsType_Values() []string { + return []string{ + ImagePullCredentialsTypeCodebuild, + ImagePullCredentialsTypeServiceRole, + } +} + const ( // LanguageTypeJava is a LanguageType enum value LanguageTypeJava = "JAVA" @@ -14327,6 +14461,22 @@ const ( LanguageTypePhp = "PHP" ) +// LanguageType_Values returns all elements of the LanguageType enum +func LanguageType_Values() []string { + return []string{ + LanguageTypeJava, + LanguageTypePython, + LanguageTypeNodeJs, + LanguageTypeRuby, + LanguageTypeGolang, + LanguageTypeDocker, + LanguageTypeAndroid, + LanguageTypeDotnet, + LanguageTypeBase, + LanguageTypePhp, + } +} + const ( // LogsConfigStatusTypeEnabled is a LogsConfigStatusType enum value LogsConfigStatusTypeEnabled = "ENABLED" @@ -14335,6 +14485,14 @@ const ( LogsConfigStatusTypeDisabled = "DISABLED" ) +// LogsConfigStatusType_Values returns all elements of the LogsConfigStatusType enum +func LogsConfigStatusType_Values() []string { + return []string{ + LogsConfigStatusTypeEnabled, + LogsConfigStatusTypeDisabled, + } +} + const ( // PlatformTypeDebian is a PlatformType enum value PlatformTypeDebian = "DEBIAN" @@ -14349,6 +14507,16 @@ const ( PlatformTypeWindowsServer = "WINDOWS_SERVER" ) +// PlatformType_Values returns all elements of the PlatformType enum +func PlatformType_Values() []string { + return []string{ + PlatformTypeDebian, + PlatformTypeAmazonLinux, + PlatformTypeUbuntu, + PlatformTypeWindowsServer, + } +} + const ( // ProjectSortByTypeName is a ProjectSortByType enum value ProjectSortByTypeName = "NAME" @@ -14360,6 +14528,15 @@ const ( ProjectSortByTypeLastModifiedTime = "LAST_MODIFIED_TIME" ) +// ProjectSortByType_Values returns all elements of the ProjectSortByType enum +func ProjectSortByType_Values() []string { + return []string{ + ProjectSortByTypeName, + ProjectSortByTypeCreatedTime, + ProjectSortByTypeLastModifiedTime, + } +} + const ( // ReportCodeCoverageSortByTypeLineCoveragePercentage is a ReportCodeCoverageSortByType enum value ReportCodeCoverageSortByTypeLineCoveragePercentage = "LINE_COVERAGE_PERCENTAGE" @@ -14368,6 +14545,14 @@ const ( ReportCodeCoverageSortByTypeFilePath = "FILE_PATH" ) +// ReportCodeCoverageSortByType_Values returns all elements of the ReportCodeCoverageSortByType enum +func ReportCodeCoverageSortByType_Values() []string { + return []string{ + ReportCodeCoverageSortByTypeLineCoveragePercentage, + ReportCodeCoverageSortByTypeFilePath, + } +} + const ( // ReportExportConfigTypeS3 is a ReportExportConfigType enum value ReportExportConfigTypeS3 = "S3" @@ -14376,6 +14561,14 @@ const ( ReportExportConfigTypeNoExport = "NO_EXPORT" ) +// ReportExportConfigType_Values returns all elements of the ReportExportConfigType enum +func ReportExportConfigType_Values() []string { + return []string{ + ReportExportConfigTypeS3, + ReportExportConfigTypeNoExport, + } +} + const ( // ReportGroupSortByTypeName is a ReportGroupSortByType enum value ReportGroupSortByTypeName = "NAME" @@ -14387,6 +14580,15 @@ const ( ReportGroupSortByTypeLastModifiedTime = "LAST_MODIFIED_TIME" ) +// ReportGroupSortByType_Values returns all elements of the ReportGroupSortByType enum +func ReportGroupSortByType_Values() []string { + return []string{ + ReportGroupSortByTypeName, + ReportGroupSortByTypeCreatedTime, + ReportGroupSortByTypeLastModifiedTime, + } +} + const ( // ReportPackagingTypeZip is a ReportPackagingType enum value ReportPackagingTypeZip = "ZIP" @@ -14395,6 +14597,14 @@ const ( ReportPackagingTypeNone = "NONE" ) +// ReportPackagingType_Values returns all elements of the ReportPackagingType enum +func ReportPackagingType_Values() []string { + return []string{ + ReportPackagingTypeZip, + ReportPackagingTypeNone, + } +} + const ( // ReportStatusTypeGenerating is a ReportStatusType enum value ReportStatusTypeGenerating = "GENERATING" @@ -14412,6 +14622,17 @@ const ( ReportStatusTypeDeleting = "DELETING" ) +// ReportStatusType_Values returns all elements of the ReportStatusType enum +func ReportStatusType_Values() []string { + return []string{ + ReportStatusTypeGenerating, + ReportStatusTypeSucceeded, + ReportStatusTypeFailed, + ReportStatusTypeIncomplete, + ReportStatusTypeDeleting, + } +} + const ( // ReportTypeTest is a ReportType enum value ReportTypeTest = "TEST" @@ -14420,6 +14641,14 @@ const ( ReportTypeCodeCoverage = "CODE_COVERAGE" ) +// ReportType_Values returns all elements of the ReportType enum +func ReportType_Values() []string { + return []string{ + ReportTypeTest, + ReportTypeCodeCoverage, + } +} + const ( // RetryBuildBatchTypeRetryAllBuilds is a RetryBuildBatchType enum value RetryBuildBatchTypeRetryAllBuilds = "RETRY_ALL_BUILDS" @@ -14428,6 +14657,14 @@ const ( RetryBuildBatchTypeRetryFailedBuilds = "RETRY_FAILED_BUILDS" ) +// RetryBuildBatchType_Values returns all elements of the RetryBuildBatchType enum +func RetryBuildBatchType_Values() []string { + return []string{ + RetryBuildBatchTypeRetryAllBuilds, + RetryBuildBatchTypeRetryFailedBuilds, + } +} + const ( // ServerTypeGithub is a ServerType enum value ServerTypeGithub = "GITHUB" @@ -14439,6 +14676,15 @@ const ( ServerTypeGithubEnterprise = "GITHUB_ENTERPRISE" ) +// ServerType_Values returns all elements of the ServerType enum +func ServerType_Values() []string { + return []string{ + ServerTypeGithub, + ServerTypeBitbucket, + ServerTypeGithubEnterprise, + } +} + const ( // SharedResourceSortByTypeArn is a SharedResourceSortByType enum value SharedResourceSortByTypeArn = "ARN" @@ -14447,6 +14693,14 @@ const ( SharedResourceSortByTypeModifiedTime = "MODIFIED_TIME" ) +// SharedResourceSortByType_Values returns all elements of the SharedResourceSortByType enum +func SharedResourceSortByType_Values() []string { + return []string{ + SharedResourceSortByTypeArn, + SharedResourceSortByTypeModifiedTime, + } +} + const ( // SortOrderTypeAscending is a SortOrderType enum value SortOrderTypeAscending = "ASCENDING" @@ -14455,11 +14709,26 @@ const ( SortOrderTypeDescending = "DESCENDING" ) +// SortOrderType_Values returns all elements of the SortOrderType enum +func SortOrderType_Values() []string { + return []string{ + SortOrderTypeAscending, + SortOrderTypeDescending, + } +} + const ( // SourceAuthTypeOauth is a SourceAuthType enum value SourceAuthTypeOauth = "OAUTH" ) +// SourceAuthType_Values returns all elements of the SourceAuthType enum +func SourceAuthType_Values() []string { + return []string{ + SourceAuthTypeOauth, + } +} + const ( // SourceTypeCodecommit is a SourceType enum value SourceTypeCodecommit = "CODECOMMIT" @@ -14483,6 +14752,19 @@ const ( SourceTypeNoSource = "NO_SOURCE" ) +// SourceType_Values returns all elements of the SourceType enum +func SourceType_Values() []string { + return []string{ + SourceTypeCodecommit, + SourceTypeCodepipeline, + SourceTypeGithub, + SourceTypeS3, + SourceTypeBitbucket, + SourceTypeGithubEnterprise, + SourceTypeNoSource, + } +} + const ( // StatusTypeSucceeded is a StatusType enum value StatusTypeSucceeded = "SUCCEEDED" @@ -14503,6 +14785,18 @@ const ( StatusTypeStopped = "STOPPED" ) +// StatusType_Values returns all elements of the StatusType enum +func StatusType_Values() []string { + return []string{ + StatusTypeSucceeded, + StatusTypeFailed, + StatusTypeFault, + StatusTypeTimedOut, + StatusTypeInProgress, + StatusTypeStopped, + } +} + const ( // WebhookBuildTypeBuild is a WebhookBuildType enum value WebhookBuildTypeBuild = "BUILD" @@ -14511,6 +14805,14 @@ const ( WebhookBuildTypeBuildBatch = "BUILD_BATCH" ) +// WebhookBuildType_Values returns all elements of the WebhookBuildType enum +func WebhookBuildType_Values() []string { + return []string{ + WebhookBuildTypeBuild, + WebhookBuildTypeBuildBatch, + } +} + const ( // WebhookFilterTypeEvent is a WebhookFilterType enum value WebhookFilterTypeEvent = "EVENT" @@ -14530,3 +14832,15 @@ const ( // WebhookFilterTypeCommitMessage is a WebhookFilterType enum value WebhookFilterTypeCommitMessage = "COMMIT_MESSAGE" ) + +// WebhookFilterType_Values returns all elements of the WebhookFilterType enum +func WebhookFilterType_Values() []string { + return []string{ + WebhookFilterTypeEvent, + WebhookFilterTypeBaseRef, + WebhookFilterTypeHeadRef, + WebhookFilterTypeActorAccountId, + WebhookFilterTypeFilePath, + WebhookFilterTypeCommitMessage, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/codecommit/api.go b/vendor/github.com/aws/aws-sdk-go/service/codecommit/api.go index ff597abfa85..a8d53f46244 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/codecommit/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/codecommit/api.go @@ -32781,6 +32781,14 @@ const ( ApprovalStateRevoke = "REVOKE" ) +// ApprovalState_Values returns all elements of the ApprovalState enum +func ApprovalState_Values() []string { + return []string{ + ApprovalStateApprove, + ApprovalStateRevoke, + } +} + const ( // ChangeTypeEnumA is a ChangeTypeEnum enum value ChangeTypeEnumA = "A" @@ -32792,6 +32800,15 @@ const ( ChangeTypeEnumD = "D" ) +// ChangeTypeEnum_Values returns all elements of the ChangeTypeEnum enum +func ChangeTypeEnum_Values() []string { + return []string{ + ChangeTypeEnumA, + ChangeTypeEnumM, + ChangeTypeEnumD, + } +} + const ( // ConflictDetailLevelTypeEnumFileLevel is a ConflictDetailLevelTypeEnum enum value ConflictDetailLevelTypeEnumFileLevel = "FILE_LEVEL" @@ -32800,6 +32817,14 @@ const ( ConflictDetailLevelTypeEnumLineLevel = "LINE_LEVEL" ) +// ConflictDetailLevelTypeEnum_Values returns all elements of the ConflictDetailLevelTypeEnum enum +func ConflictDetailLevelTypeEnum_Values() []string { + return []string{ + ConflictDetailLevelTypeEnumFileLevel, + ConflictDetailLevelTypeEnumLineLevel, + } +} + const ( // ConflictResolutionStrategyTypeEnumNone is a ConflictResolutionStrategyTypeEnum enum value ConflictResolutionStrategyTypeEnumNone = "NONE" @@ -32814,6 +32839,16 @@ const ( ConflictResolutionStrategyTypeEnumAutomerge = "AUTOMERGE" ) +// ConflictResolutionStrategyTypeEnum_Values returns all elements of the ConflictResolutionStrategyTypeEnum enum +func ConflictResolutionStrategyTypeEnum_Values() []string { + return []string{ + ConflictResolutionStrategyTypeEnumNone, + ConflictResolutionStrategyTypeEnumAcceptSource, + ConflictResolutionStrategyTypeEnumAcceptDestination, + ConflictResolutionStrategyTypeEnumAutomerge, + } +} + const ( // FileModeTypeEnumExecutable is a FileModeTypeEnum enum value FileModeTypeEnumExecutable = "EXECUTABLE" @@ -32825,6 +32860,15 @@ const ( FileModeTypeEnumSymlink = "SYMLINK" ) +// FileModeTypeEnum_Values returns all elements of the FileModeTypeEnum enum +func FileModeTypeEnum_Values() []string { + return []string{ + FileModeTypeEnumExecutable, + FileModeTypeEnumNormal, + FileModeTypeEnumSymlink, + } +} + const ( // MergeOptionTypeEnumFastForwardMerge is a MergeOptionTypeEnum enum value MergeOptionTypeEnumFastForwardMerge = "FAST_FORWARD_MERGE" @@ -32836,6 +32880,15 @@ const ( MergeOptionTypeEnumThreeWayMerge = "THREE_WAY_MERGE" ) +// MergeOptionTypeEnum_Values returns all elements of the MergeOptionTypeEnum enum +func MergeOptionTypeEnum_Values() []string { + return []string{ + MergeOptionTypeEnumFastForwardMerge, + MergeOptionTypeEnumSquashMerge, + MergeOptionTypeEnumThreeWayMerge, + } +} + const ( // ObjectTypeEnumFile is a ObjectTypeEnum enum value ObjectTypeEnumFile = "FILE" @@ -32850,6 +32903,16 @@ const ( ObjectTypeEnumSymbolicLink = "SYMBOLIC_LINK" ) +// ObjectTypeEnum_Values returns all elements of the ObjectTypeEnum enum +func ObjectTypeEnum_Values() []string { + return []string{ + ObjectTypeEnumFile, + ObjectTypeEnumDirectory, + ObjectTypeEnumGitLink, + ObjectTypeEnumSymbolicLink, + } +} + const ( // OrderEnumAscending is a OrderEnum enum value OrderEnumAscending = "ascending" @@ -32858,6 +32921,14 @@ const ( OrderEnumDescending = "descending" ) +// OrderEnum_Values returns all elements of the OrderEnum enum +func OrderEnum_Values() []string { + return []string{ + OrderEnumAscending, + OrderEnumDescending, + } +} + const ( // OverrideStatusOverride is a OverrideStatus enum value OverrideStatusOverride = "OVERRIDE" @@ -32866,6 +32937,14 @@ const ( OverrideStatusRevoke = "REVOKE" ) +// OverrideStatus_Values returns all elements of the OverrideStatus enum +func OverrideStatus_Values() []string { + return []string{ + OverrideStatusOverride, + OverrideStatusRevoke, + } +} + const ( // PullRequestEventTypePullRequestCreated is a PullRequestEventType enum value PullRequestEventTypePullRequestCreated = "PULL_REQUEST_CREATED" @@ -32895,6 +32974,21 @@ const ( PullRequestEventTypePullRequestApprovalStateChanged = "PULL_REQUEST_APPROVAL_STATE_CHANGED" ) +// PullRequestEventType_Values returns all elements of the PullRequestEventType enum +func PullRequestEventType_Values() []string { + return []string{ + PullRequestEventTypePullRequestCreated, + PullRequestEventTypePullRequestStatusChanged, + PullRequestEventTypePullRequestSourceReferenceUpdated, + PullRequestEventTypePullRequestMergeStateChanged, + PullRequestEventTypePullRequestApprovalRuleCreated, + PullRequestEventTypePullRequestApprovalRuleUpdated, + PullRequestEventTypePullRequestApprovalRuleDeleted, + PullRequestEventTypePullRequestApprovalRuleOverridden, + PullRequestEventTypePullRequestApprovalStateChanged, + } +} + const ( // PullRequestStatusEnumOpen is a PullRequestStatusEnum enum value PullRequestStatusEnumOpen = "OPEN" @@ -32903,6 +32997,14 @@ const ( PullRequestStatusEnumClosed = "CLOSED" ) +// PullRequestStatusEnum_Values returns all elements of the PullRequestStatusEnum enum +func PullRequestStatusEnum_Values() []string { + return []string{ + PullRequestStatusEnumOpen, + PullRequestStatusEnumClosed, + } +} + const ( // RelativeFileVersionEnumBefore is a RelativeFileVersionEnum enum value RelativeFileVersionEnumBefore = "BEFORE" @@ -32911,6 +33013,14 @@ const ( RelativeFileVersionEnumAfter = "AFTER" ) +// RelativeFileVersionEnum_Values returns all elements of the RelativeFileVersionEnum enum +func RelativeFileVersionEnum_Values() []string { + return []string{ + RelativeFileVersionEnumBefore, + RelativeFileVersionEnumAfter, + } +} + const ( // ReplacementTypeEnumKeepBase is a ReplacementTypeEnum enum value ReplacementTypeEnumKeepBase = "KEEP_BASE" @@ -32925,6 +33035,16 @@ const ( ReplacementTypeEnumUseNewContent = "USE_NEW_CONTENT" ) +// ReplacementTypeEnum_Values returns all elements of the ReplacementTypeEnum enum +func ReplacementTypeEnum_Values() []string { + return []string{ + ReplacementTypeEnumKeepBase, + ReplacementTypeEnumKeepSource, + ReplacementTypeEnumKeepDestination, + ReplacementTypeEnumUseNewContent, + } +} + const ( // RepositoryTriggerEventEnumAll is a RepositoryTriggerEventEnum enum value RepositoryTriggerEventEnumAll = "all" @@ -32939,6 +33059,16 @@ const ( RepositoryTriggerEventEnumDeleteReference = "deleteReference" ) +// RepositoryTriggerEventEnum_Values returns all elements of the RepositoryTriggerEventEnum enum +func RepositoryTriggerEventEnum_Values() []string { + return []string{ + RepositoryTriggerEventEnumAll, + RepositoryTriggerEventEnumUpdateReference, + RepositoryTriggerEventEnumCreateReference, + RepositoryTriggerEventEnumDeleteReference, + } +} + const ( // SortByEnumRepositoryName is a SortByEnum enum value SortByEnumRepositoryName = "repositoryName" @@ -32946,3 +33076,11 @@ const ( // SortByEnumLastModifiedDate is a SortByEnum enum value SortByEnumLastModifiedDate = "lastModifiedDate" ) + +// SortByEnum_Values returns all elements of the SortByEnum enum +func SortByEnum_Values() []string { + return []string{ + SortByEnumRepositoryName, + SortByEnumLastModifiedDate, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/codedeploy/api.go b/vendor/github.com/aws/aws-sdk-go/service/codedeploy/api.go index 13b9566952d..9cbd7b88dd4 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/codedeploy/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/codedeploy/api.go @@ -18594,6 +18594,15 @@ const ( ApplicationRevisionSortByLastUsedTime = "lastUsedTime" ) +// ApplicationRevisionSortBy_Values returns all elements of the ApplicationRevisionSortBy enum +func ApplicationRevisionSortBy_Values() []string { + return []string{ + ApplicationRevisionSortByRegisterTime, + ApplicationRevisionSortByFirstUsedTime, + ApplicationRevisionSortByLastUsedTime, + } +} + const ( // AutoRollbackEventDeploymentFailure is a AutoRollbackEvent enum value AutoRollbackEventDeploymentFailure = "DEPLOYMENT_FAILURE" @@ -18605,6 +18614,15 @@ const ( AutoRollbackEventDeploymentStopOnRequest = "DEPLOYMENT_STOP_ON_REQUEST" ) +// AutoRollbackEvent_Values returns all elements of the AutoRollbackEvent enum +func AutoRollbackEvent_Values() []string { + return []string{ + AutoRollbackEventDeploymentFailure, + AutoRollbackEventDeploymentStopOnAlarm, + AutoRollbackEventDeploymentStopOnRequest, + } +} + const ( // BundleTypeTar is a BundleType enum value BundleTypeTar = "tar" @@ -18622,6 +18640,17 @@ const ( BundleTypeJson = "JSON" ) +// BundleType_Values returns all elements of the BundleType enum +func BundleType_Values() []string { + return []string{ + BundleTypeTar, + BundleTypeTgz, + BundleTypeZip, + BundleTypeYaml, + BundleTypeJson, + } +} + const ( // ComputePlatformServer is a ComputePlatform enum value ComputePlatformServer = "Server" @@ -18633,6 +18662,15 @@ const ( ComputePlatformEcs = "ECS" ) +// ComputePlatform_Values returns all elements of the ComputePlatform enum +func ComputePlatform_Values() []string { + return []string{ + ComputePlatformServer, + ComputePlatformLambda, + ComputePlatformEcs, + } +} + const ( // DeploymentCreatorUser is a DeploymentCreator enum value DeploymentCreatorUser = "user" @@ -18653,6 +18691,18 @@ const ( DeploymentCreatorCloudFormationRollback = "CloudFormationRollback" ) +// DeploymentCreator_Values returns all elements of the DeploymentCreator enum +func DeploymentCreator_Values() []string { + return []string{ + DeploymentCreatorUser, + DeploymentCreatorAutoscaling, + DeploymentCreatorCodeDeployRollback, + DeploymentCreatorCodeDeploy, + DeploymentCreatorCloudFormation, + DeploymentCreatorCloudFormationRollback, + } +} + const ( // DeploymentOptionWithTrafficControl is a DeploymentOption enum value DeploymentOptionWithTrafficControl = "WITH_TRAFFIC_CONTROL" @@ -18661,6 +18711,14 @@ const ( DeploymentOptionWithoutTrafficControl = "WITHOUT_TRAFFIC_CONTROL" ) +// DeploymentOption_Values returns all elements of the DeploymentOption enum +func DeploymentOption_Values() []string { + return []string{ + DeploymentOptionWithTrafficControl, + DeploymentOptionWithoutTrafficControl, + } +} + const ( // DeploymentReadyActionContinueDeployment is a DeploymentReadyAction enum value DeploymentReadyActionContinueDeployment = "CONTINUE_DEPLOYMENT" @@ -18669,6 +18727,14 @@ const ( DeploymentReadyActionStopDeployment = "STOP_DEPLOYMENT" ) +// DeploymentReadyAction_Values returns all elements of the DeploymentReadyAction enum +func DeploymentReadyAction_Values() []string { + return []string{ + DeploymentReadyActionContinueDeployment, + DeploymentReadyActionStopDeployment, + } +} + const ( // DeploymentStatusCreated is a DeploymentStatus enum value DeploymentStatusCreated = "Created" @@ -18695,6 +18761,20 @@ const ( DeploymentStatusReady = "Ready" ) +// DeploymentStatus_Values returns all elements of the DeploymentStatus enum +func DeploymentStatus_Values() []string { + return []string{ + DeploymentStatusCreated, + DeploymentStatusQueued, + DeploymentStatusInProgress, + DeploymentStatusBaking, + DeploymentStatusSucceeded, + DeploymentStatusFailed, + DeploymentStatusStopped, + DeploymentStatusReady, + } +} + const ( // DeploymentTargetTypeInstanceTarget is a DeploymentTargetType enum value DeploymentTargetTypeInstanceTarget = "InstanceTarget" @@ -18709,6 +18789,16 @@ const ( DeploymentTargetTypeCloudFormationTarget = "CloudFormationTarget" ) +// DeploymentTargetType_Values returns all elements of the DeploymentTargetType enum +func DeploymentTargetType_Values() []string { + return []string{ + DeploymentTargetTypeInstanceTarget, + DeploymentTargetTypeLambdaTarget, + DeploymentTargetTypeEcstarget, + DeploymentTargetTypeCloudFormationTarget, + } +} + const ( // DeploymentTypeInPlace is a DeploymentType enum value DeploymentTypeInPlace = "IN_PLACE" @@ -18717,6 +18807,14 @@ const ( DeploymentTypeBlueGreen = "BLUE_GREEN" ) +// DeploymentType_Values returns all elements of the DeploymentType enum +func DeploymentType_Values() []string { + return []string{ + DeploymentTypeInPlace, + DeploymentTypeBlueGreen, + } +} + const ( // DeploymentWaitTypeReadyWait is a DeploymentWaitType enum value DeploymentWaitTypeReadyWait = "READY_WAIT" @@ -18725,6 +18823,14 @@ const ( DeploymentWaitTypeTerminationWait = "TERMINATION_WAIT" ) +// DeploymentWaitType_Values returns all elements of the DeploymentWaitType enum +func DeploymentWaitType_Values() []string { + return []string{ + DeploymentWaitTypeReadyWait, + DeploymentWaitTypeTerminationWait, + } +} + const ( // EC2TagFilterTypeKeyOnly is a EC2TagFilterType enum value EC2TagFilterTypeKeyOnly = "KEY_ONLY" @@ -18736,6 +18842,15 @@ const ( EC2TagFilterTypeKeyAndValue = "KEY_AND_VALUE" ) +// EC2TagFilterType_Values returns all elements of the EC2TagFilterType enum +func EC2TagFilterType_Values() []string { + return []string{ + EC2TagFilterTypeKeyOnly, + EC2TagFilterTypeValueOnly, + EC2TagFilterTypeKeyAndValue, + } +} + const ( // ErrorCodeAgentIssue is a ErrorCode enum value ErrorCodeAgentIssue = "AGENT_ISSUE" @@ -18840,6 +18955,46 @@ const ( ErrorCodeCloudformationStackFailure = "CLOUDFORMATION_STACK_FAILURE" ) +// ErrorCode_Values returns all elements of the ErrorCode enum +func ErrorCode_Values() []string { + return []string{ + ErrorCodeAgentIssue, + ErrorCodeAlarmActive, + ErrorCodeApplicationMissing, + ErrorCodeAutoscalingValidationError, + ErrorCodeAutoScalingConfiguration, + ErrorCodeAutoScalingIamRolePermissions, + ErrorCodeCodedeployResourceCannotBeFound, + ErrorCodeCustomerApplicationUnhealthy, + ErrorCodeDeploymentGroupMissing, + ErrorCodeEcsUpdateError, + ErrorCodeElasticLoadBalancingInvalid, + ErrorCodeElbInvalidInstance, + ErrorCodeHealthConstraints, + ErrorCodeHealthConstraintsInvalid, + ErrorCodeHookExecutionFailure, + ErrorCodeIamRoleMissing, + ErrorCodeIamRolePermissions, + ErrorCodeInternalError, + ErrorCodeInvalidEcsService, + ErrorCodeInvalidLambdaConfiguration, + ErrorCodeInvalidLambdaFunction, + ErrorCodeInvalidRevision, + ErrorCodeManualStop, + ErrorCodeMissingBlueGreenDeploymentConfiguration, + ErrorCodeMissingElbInformation, + ErrorCodeMissingGithubToken, + ErrorCodeNoEc2Subscription, + ErrorCodeNoInstances, + ErrorCodeOverMaxInstances, + ErrorCodeResourceLimitExceeded, + ErrorCodeRevisionMissing, + ErrorCodeThrottled, + ErrorCodeTimeout, + ErrorCodeCloudformationStackFailure, + } +} + const ( // FileExistsBehaviorDisallow is a FileExistsBehavior enum value FileExistsBehaviorDisallow = "DISALLOW" @@ -18851,6 +19006,15 @@ const ( FileExistsBehaviorRetain = "RETAIN" ) +// FileExistsBehavior_Values returns all elements of the FileExistsBehavior enum +func FileExistsBehavior_Values() []string { + return []string{ + FileExistsBehaviorDisallow, + FileExistsBehaviorOverwrite, + FileExistsBehaviorRetain, + } +} + const ( // GreenFleetProvisioningActionDiscoverExisting is a GreenFleetProvisioningAction enum value GreenFleetProvisioningActionDiscoverExisting = "DISCOVER_EXISTING" @@ -18859,6 +19023,14 @@ const ( GreenFleetProvisioningActionCopyAutoScalingGroup = "COPY_AUTO_SCALING_GROUP" ) +// GreenFleetProvisioningAction_Values returns all elements of the GreenFleetProvisioningAction enum +func GreenFleetProvisioningAction_Values() []string { + return []string{ + GreenFleetProvisioningActionDiscoverExisting, + GreenFleetProvisioningActionCopyAutoScalingGroup, + } +} + const ( // InstanceActionTerminate is a InstanceAction enum value InstanceActionTerminate = "TERMINATE" @@ -18867,6 +19039,14 @@ const ( InstanceActionKeepAlive = "KEEP_ALIVE" ) +// InstanceAction_Values returns all elements of the InstanceAction enum +func InstanceAction_Values() []string { + return []string{ + InstanceActionTerminate, + InstanceActionKeepAlive, + } +} + const ( // InstanceStatusPending is a InstanceStatus enum value InstanceStatusPending = "Pending" @@ -18890,6 +19070,19 @@ const ( InstanceStatusReady = "Ready" ) +// InstanceStatus_Values returns all elements of the InstanceStatus enum +func InstanceStatus_Values() []string { + return []string{ + InstanceStatusPending, + InstanceStatusInProgress, + InstanceStatusSucceeded, + InstanceStatusFailed, + InstanceStatusSkipped, + InstanceStatusUnknown, + InstanceStatusReady, + } +} + const ( // InstanceTypeBlue is a InstanceType enum value InstanceTypeBlue = "Blue" @@ -18898,6 +19091,14 @@ const ( InstanceTypeGreen = "Green" ) +// InstanceType_Values returns all elements of the InstanceType enum +func InstanceType_Values() []string { + return []string{ + InstanceTypeBlue, + InstanceTypeGreen, + } +} + const ( // LifecycleErrorCodeSuccess is a LifecycleErrorCode enum value LifecycleErrorCodeSuccess = "Success" @@ -18918,6 +19119,18 @@ const ( LifecycleErrorCodeUnknownError = "UnknownError" ) +// LifecycleErrorCode_Values returns all elements of the LifecycleErrorCode enum +func LifecycleErrorCode_Values() []string { + return []string{ + LifecycleErrorCodeSuccess, + LifecycleErrorCodeScriptMissing, + LifecycleErrorCodeScriptNotExecutable, + LifecycleErrorCodeScriptTimedOut, + LifecycleErrorCodeScriptFailed, + LifecycleErrorCodeUnknownError, + } +} + const ( // LifecycleEventStatusPending is a LifecycleEventStatus enum value LifecycleEventStatusPending = "Pending" @@ -18938,6 +19151,18 @@ const ( LifecycleEventStatusUnknown = "Unknown" ) +// LifecycleEventStatus_Values returns all elements of the LifecycleEventStatus enum +func LifecycleEventStatus_Values() []string { + return []string{ + LifecycleEventStatusPending, + LifecycleEventStatusInProgress, + LifecycleEventStatusSucceeded, + LifecycleEventStatusFailed, + LifecycleEventStatusSkipped, + LifecycleEventStatusUnknown, + } +} + const ( // ListStateFilterActionInclude is a ListStateFilterAction enum value ListStateFilterActionInclude = "include" @@ -18949,6 +19174,15 @@ const ( ListStateFilterActionIgnore = "ignore" ) +// ListStateFilterAction_Values returns all elements of the ListStateFilterAction enum +func ListStateFilterAction_Values() []string { + return []string{ + ListStateFilterActionInclude, + ListStateFilterActionExclude, + ListStateFilterActionIgnore, + } +} + const ( // MinimumHealthyHostsTypeHostCount is a MinimumHealthyHostsType enum value MinimumHealthyHostsTypeHostCount = "HOST_COUNT" @@ -18957,6 +19191,14 @@ const ( MinimumHealthyHostsTypeFleetPercent = "FLEET_PERCENT" ) +// MinimumHealthyHostsType_Values returns all elements of the MinimumHealthyHostsType enum +func MinimumHealthyHostsType_Values() []string { + return []string{ + MinimumHealthyHostsTypeHostCount, + MinimumHealthyHostsTypeFleetPercent, + } +} + const ( // RegistrationStatusRegistered is a RegistrationStatus enum value RegistrationStatusRegistered = "Registered" @@ -18965,6 +19207,14 @@ const ( RegistrationStatusDeregistered = "Deregistered" ) +// RegistrationStatus_Values returns all elements of the RegistrationStatus enum +func RegistrationStatus_Values() []string { + return []string{ + RegistrationStatusRegistered, + RegistrationStatusDeregistered, + } +} + const ( // RevisionLocationTypeS3 is a RevisionLocationType enum value RevisionLocationTypeS3 = "S3" @@ -18979,6 +19229,16 @@ const ( RevisionLocationTypeAppSpecContent = "AppSpecContent" ) +// RevisionLocationType_Values returns all elements of the RevisionLocationType enum +func RevisionLocationType_Values() []string { + return []string{ + RevisionLocationTypeS3, + RevisionLocationTypeGitHub, + RevisionLocationTypeString, + RevisionLocationTypeAppSpecContent, + } +} + const ( // SortOrderAscending is a SortOrder enum value SortOrderAscending = "ascending" @@ -18987,6 +19247,14 @@ const ( SortOrderDescending = "descending" ) +// SortOrder_Values returns all elements of the SortOrder enum +func SortOrder_Values() []string { + return []string{ + SortOrderAscending, + SortOrderDescending, + } +} + const ( // StopStatusPending is a StopStatus enum value StopStatusPending = "Pending" @@ -18995,6 +19263,14 @@ const ( StopStatusSucceeded = "Succeeded" ) +// StopStatus_Values returns all elements of the StopStatus enum +func StopStatus_Values() []string { + return []string{ + StopStatusPending, + StopStatusSucceeded, + } +} + const ( // TagFilterTypeKeyOnly is a TagFilterType enum value TagFilterTypeKeyOnly = "KEY_ONLY" @@ -19006,6 +19282,15 @@ const ( TagFilterTypeKeyAndValue = "KEY_AND_VALUE" ) +// TagFilterType_Values returns all elements of the TagFilterType enum +func TagFilterType_Values() []string { + return []string{ + TagFilterTypeKeyOnly, + TagFilterTypeValueOnly, + TagFilterTypeKeyAndValue, + } +} + const ( // TargetFilterNameTargetStatus is a TargetFilterName enum value TargetFilterNameTargetStatus = "TargetStatus" @@ -19014,6 +19299,14 @@ const ( TargetFilterNameServerInstanceLabel = "ServerInstanceLabel" ) +// TargetFilterName_Values returns all elements of the TargetFilterName enum +func TargetFilterName_Values() []string { + return []string{ + TargetFilterNameTargetStatus, + TargetFilterNameServerInstanceLabel, + } +} + const ( // TargetLabelBlue is a TargetLabel enum value TargetLabelBlue = "Blue" @@ -19022,6 +19315,14 @@ const ( TargetLabelGreen = "Green" ) +// TargetLabel_Values returns all elements of the TargetLabel enum +func TargetLabel_Values() []string { + return []string{ + TargetLabelBlue, + TargetLabelGreen, + } +} + const ( // TargetStatusPending is a TargetStatus enum value TargetStatusPending = "Pending" @@ -19045,6 +19346,19 @@ const ( TargetStatusReady = "Ready" ) +// TargetStatus_Values returns all elements of the TargetStatus enum +func TargetStatus_Values() []string { + return []string{ + TargetStatusPending, + TargetStatusInProgress, + TargetStatusSucceeded, + TargetStatusFailed, + TargetStatusSkipped, + TargetStatusUnknown, + TargetStatusReady, + } +} + const ( // TrafficRoutingTypeTimeBasedCanary is a TrafficRoutingType enum value TrafficRoutingTypeTimeBasedCanary = "TimeBasedCanary" @@ -19056,6 +19370,15 @@ const ( TrafficRoutingTypeAllAtOnce = "AllAtOnce" ) +// TrafficRoutingType_Values returns all elements of the TrafficRoutingType enum +func TrafficRoutingType_Values() []string { + return []string{ + TrafficRoutingTypeTimeBasedCanary, + TrafficRoutingTypeTimeBasedLinear, + TrafficRoutingTypeAllAtOnce, + } +} + const ( // TriggerEventTypeDeploymentStart is a TriggerEventType enum value TriggerEventTypeDeploymentStart = "DeploymentStart" @@ -19087,3 +19410,19 @@ const ( // TriggerEventTypeInstanceReady is a TriggerEventType enum value TriggerEventTypeInstanceReady = "InstanceReady" ) + +// TriggerEventType_Values returns all elements of the TriggerEventType enum +func TriggerEventType_Values() []string { + return []string{ + TriggerEventTypeDeploymentStart, + TriggerEventTypeDeploymentSuccess, + TriggerEventTypeDeploymentFailure, + TriggerEventTypeDeploymentStop, + TriggerEventTypeDeploymentRollback, + TriggerEventTypeDeploymentReady, + TriggerEventTypeInstanceStart, + TriggerEventTypeInstanceSuccess, + TriggerEventTypeInstanceFailure, + TriggerEventTypeInstanceReady, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/codepipeline/api.go b/vendor/github.com/aws/aws-sdk-go/service/codepipeline/api.go index 0c40af453e0..9d13004e466 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/codepipeline/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/codepipeline/api.go @@ -12747,6 +12747,18 @@ const ( ActionCategoryApproval = "Approval" ) +// ActionCategory_Values returns all elements of the ActionCategory enum +func ActionCategory_Values() []string { + return []string{ + ActionCategorySource, + ActionCategoryBuild, + ActionCategoryDeploy, + ActionCategoryTest, + ActionCategoryInvoke, + ActionCategoryApproval, + } +} + const ( // ActionConfigurationPropertyTypeString is a ActionConfigurationPropertyType enum value ActionConfigurationPropertyTypeString = "String" @@ -12758,6 +12770,15 @@ const ( ActionConfigurationPropertyTypeBoolean = "Boolean" ) +// ActionConfigurationPropertyType_Values returns all elements of the ActionConfigurationPropertyType enum +func ActionConfigurationPropertyType_Values() []string { + return []string{ + ActionConfigurationPropertyTypeString, + ActionConfigurationPropertyTypeNumber, + ActionConfigurationPropertyTypeBoolean, + } +} + const ( // ActionExecutionStatusInProgress is a ActionExecutionStatus enum value ActionExecutionStatusInProgress = "InProgress" @@ -12772,6 +12793,16 @@ const ( ActionExecutionStatusFailed = "Failed" ) +// ActionExecutionStatus_Values returns all elements of the ActionExecutionStatus enum +func ActionExecutionStatus_Values() []string { + return []string{ + ActionExecutionStatusInProgress, + ActionExecutionStatusAbandoned, + ActionExecutionStatusSucceeded, + ActionExecutionStatusFailed, + } +} + const ( // ActionOwnerAws is a ActionOwner enum value ActionOwnerAws = "AWS" @@ -12783,6 +12814,15 @@ const ( ActionOwnerCustom = "Custom" ) +// ActionOwner_Values returns all elements of the ActionOwner enum +func ActionOwner_Values() []string { + return []string{ + ActionOwnerAws, + ActionOwnerThirdParty, + ActionOwnerCustom, + } +} + const ( // ApprovalStatusApproved is a ApprovalStatus enum value ApprovalStatusApproved = "Approved" @@ -12791,26 +12831,62 @@ const ( ApprovalStatusRejected = "Rejected" ) +// ApprovalStatus_Values returns all elements of the ApprovalStatus enum +func ApprovalStatus_Values() []string { + return []string{ + ApprovalStatusApproved, + ApprovalStatusRejected, + } +} + const ( // ArtifactLocationTypeS3 is a ArtifactLocationType enum value ArtifactLocationTypeS3 = "S3" ) +// ArtifactLocationType_Values returns all elements of the ArtifactLocationType enum +func ArtifactLocationType_Values() []string { + return []string{ + ArtifactLocationTypeS3, + } +} + const ( // ArtifactStoreTypeS3 is a ArtifactStoreType enum value ArtifactStoreTypeS3 = "S3" ) +// ArtifactStoreType_Values returns all elements of the ArtifactStoreType enum +func ArtifactStoreType_Values() []string { + return []string{ + ArtifactStoreTypeS3, + } +} + const ( // BlockerTypeSchedule is a BlockerType enum value BlockerTypeSchedule = "Schedule" ) +// BlockerType_Values returns all elements of the BlockerType enum +func BlockerType_Values() []string { + return []string{ + BlockerTypeSchedule, + } +} + const ( // EncryptionKeyTypeKms is a EncryptionKeyType enum value EncryptionKeyTypeKms = "KMS" ) +// EncryptionKeyType_Values returns all elements of the EncryptionKeyType enum +func EncryptionKeyType_Values() []string { + return []string{ + EncryptionKeyTypeKms, + } +} + const ( // FailureTypeJobFailed is a FailureType enum value FailureTypeJobFailed = "JobFailed" @@ -12831,6 +12907,18 @@ const ( FailureTypeSystemUnavailable = "SystemUnavailable" ) +// FailureType_Values returns all elements of the FailureType enum +func FailureType_Values() []string { + return []string{ + FailureTypeJobFailed, + FailureTypeConfigurationError, + FailureTypePermissionError, + FailureTypeRevisionOutOfSync, + FailureTypeRevisionUnavailable, + FailureTypeSystemUnavailable, + } +} + const ( // JobStatusCreated is a JobStatus enum value JobStatusCreated = "Created" @@ -12854,6 +12942,19 @@ const ( JobStatusFailed = "Failed" ) +// JobStatus_Values returns all elements of the JobStatus enum +func JobStatus_Values() []string { + return []string{ + JobStatusCreated, + JobStatusQueued, + JobStatusDispatched, + JobStatusInProgress, + JobStatusTimedOut, + JobStatusSucceeded, + JobStatusFailed, + } +} + const ( // PipelineExecutionStatusInProgress is a PipelineExecutionStatus enum value PipelineExecutionStatusInProgress = "InProgress" @@ -12874,6 +12975,18 @@ const ( PipelineExecutionStatusFailed = "Failed" ) +// PipelineExecutionStatus_Values returns all elements of the PipelineExecutionStatus enum +func PipelineExecutionStatus_Values() []string { + return []string{ + PipelineExecutionStatusInProgress, + PipelineExecutionStatusStopped, + PipelineExecutionStatusStopping, + PipelineExecutionStatusSucceeded, + PipelineExecutionStatusSuperseded, + PipelineExecutionStatusFailed, + } +} + const ( // StageExecutionStatusInProgress is a StageExecutionStatus enum value StageExecutionStatusInProgress = "InProgress" @@ -12891,11 +13004,29 @@ const ( StageExecutionStatusSucceeded = "Succeeded" ) +// StageExecutionStatus_Values returns all elements of the StageExecutionStatus enum +func StageExecutionStatus_Values() []string { + return []string{ + StageExecutionStatusInProgress, + StageExecutionStatusFailed, + StageExecutionStatusStopped, + StageExecutionStatusStopping, + StageExecutionStatusSucceeded, + } +} + const ( // StageRetryModeFailedActions is a StageRetryMode enum value StageRetryModeFailedActions = "FAILED_ACTIONS" ) +// StageRetryMode_Values returns all elements of the StageRetryMode enum +func StageRetryMode_Values() []string { + return []string{ + StageRetryModeFailedActions, + } +} + const ( // StageTransitionTypeInbound is a StageTransitionType enum value StageTransitionTypeInbound = "Inbound" @@ -12904,6 +13035,14 @@ const ( StageTransitionTypeOutbound = "Outbound" ) +// StageTransitionType_Values returns all elements of the StageTransitionType enum +func StageTransitionType_Values() []string { + return []string{ + StageTransitionTypeInbound, + StageTransitionTypeOutbound, + } +} + const ( // TriggerTypeCreatePipeline is a TriggerType enum value TriggerTypeCreatePipeline = "CreatePipeline" @@ -12924,6 +13063,18 @@ const ( TriggerTypePutActionRevision = "PutActionRevision" ) +// TriggerType_Values returns all elements of the TriggerType enum +func TriggerType_Values() []string { + return []string{ + TriggerTypeCreatePipeline, + TriggerTypeStartPipelineExecution, + TriggerTypePollForSourceChanges, + TriggerTypeWebhook, + TriggerTypeCloudWatchEvent, + TriggerTypePutActionRevision, + } +} + const ( // WebhookAuthenticationTypeGithubHmac is a WebhookAuthenticationType enum value WebhookAuthenticationTypeGithubHmac = "GITHUB_HMAC" @@ -12934,3 +13085,12 @@ const ( // WebhookAuthenticationTypeUnauthenticated is a WebhookAuthenticationType enum value WebhookAuthenticationTypeUnauthenticated = "UNAUTHENTICATED" ) + +// WebhookAuthenticationType_Values returns all elements of the WebhookAuthenticationType enum +func WebhookAuthenticationType_Values() []string { + return []string{ + WebhookAuthenticationTypeGithubHmac, + WebhookAuthenticationTypeIp, + WebhookAuthenticationTypeUnauthenticated, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/codestarnotifications/api.go b/vendor/github.com/aws/aws-sdk-go/service/codestarnotifications/api.go index 9f8640133b4..8f4a3324665 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/codestarnotifications/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/codestarnotifications/api.go @@ -3374,6 +3374,14 @@ const ( DetailTypeFull = "FULL" ) +// DetailType_Values returns all elements of the DetailType enum +func DetailType_Values() []string { + return []string{ + DetailTypeBasic, + DetailTypeFull, + } +} + const ( // ListEventTypesFilterNameResourceType is a ListEventTypesFilterName enum value ListEventTypesFilterNameResourceType = "RESOURCE_TYPE" @@ -3382,6 +3390,14 @@ const ( ListEventTypesFilterNameServiceName = "SERVICE_NAME" ) +// ListEventTypesFilterName_Values returns all elements of the ListEventTypesFilterName enum +func ListEventTypesFilterName_Values() []string { + return []string{ + ListEventTypesFilterNameResourceType, + ListEventTypesFilterNameServiceName, + } +} + const ( // ListNotificationRulesFilterNameEventTypeId is a ListNotificationRulesFilterName enum value ListNotificationRulesFilterNameEventTypeId = "EVENT_TYPE_ID" @@ -3396,6 +3412,16 @@ const ( ListNotificationRulesFilterNameTargetAddress = "TARGET_ADDRESS" ) +// ListNotificationRulesFilterName_Values returns all elements of the ListNotificationRulesFilterName enum +func ListNotificationRulesFilterName_Values() []string { + return []string{ + ListNotificationRulesFilterNameEventTypeId, + ListNotificationRulesFilterNameCreatedBy, + ListNotificationRulesFilterNameResource, + ListNotificationRulesFilterNameTargetAddress, + } +} + const ( // ListTargetsFilterNameTargetType is a ListTargetsFilterName enum value ListTargetsFilterNameTargetType = "TARGET_TYPE" @@ -3407,6 +3433,15 @@ const ( ListTargetsFilterNameTargetStatus = "TARGET_STATUS" ) +// ListTargetsFilterName_Values returns all elements of the ListTargetsFilterName enum +func ListTargetsFilterName_Values() []string { + return []string{ + ListTargetsFilterNameTargetType, + ListTargetsFilterNameTargetAddress, + ListTargetsFilterNameTargetStatus, + } +} + const ( // NotificationRuleStatusEnabled is a NotificationRuleStatus enum value NotificationRuleStatusEnabled = "ENABLED" @@ -3415,6 +3450,14 @@ const ( NotificationRuleStatusDisabled = "DISABLED" ) +// NotificationRuleStatus_Values returns all elements of the NotificationRuleStatus enum +func NotificationRuleStatus_Values() []string { + return []string{ + NotificationRuleStatusEnabled, + NotificationRuleStatusDisabled, + } +} + const ( // TargetStatusPending is a TargetStatus enum value TargetStatusPending = "PENDING" @@ -3431,3 +3474,14 @@ const ( // TargetStatusDeactivated is a TargetStatus enum value TargetStatusDeactivated = "DEACTIVATED" ) + +// TargetStatus_Values returns all elements of the TargetStatus enum +func TargetStatus_Values() []string { + return []string{ + TargetStatusPending, + TargetStatusActive, + TargetStatusUnreachable, + TargetStatusInactive, + TargetStatusDeactivated, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/cognitoidentity/api.go b/vendor/github.com/aws/aws-sdk-go/service/cognitoidentity/api.go index adea5962eaa..07c69827869 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/cognitoidentity/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/cognitoidentity/api.go @@ -5240,6 +5240,14 @@ const ( AmbiguousRoleResolutionTypeDeny = "Deny" ) +// AmbiguousRoleResolutionType_Values returns all elements of the AmbiguousRoleResolutionType enum +func AmbiguousRoleResolutionType_Values() []string { + return []string{ + AmbiguousRoleResolutionTypeAuthenticatedRole, + AmbiguousRoleResolutionTypeDeny, + } +} + const ( // ErrorCodeAccessDenied is a ErrorCode enum value ErrorCodeAccessDenied = "AccessDenied" @@ -5248,6 +5256,14 @@ const ( ErrorCodeInternalServerError = "InternalServerError" ) +// ErrorCode_Values returns all elements of the ErrorCode enum +func ErrorCode_Values() []string { + return []string{ + ErrorCodeAccessDenied, + ErrorCodeInternalServerError, + } +} + const ( // MappingRuleMatchTypeEquals is a MappingRuleMatchType enum value MappingRuleMatchTypeEquals = "Equals" @@ -5262,6 +5278,16 @@ const ( MappingRuleMatchTypeNotEqual = "NotEqual" ) +// MappingRuleMatchType_Values returns all elements of the MappingRuleMatchType enum +func MappingRuleMatchType_Values() []string { + return []string{ + MappingRuleMatchTypeEquals, + MappingRuleMatchTypeContains, + MappingRuleMatchTypeStartsWith, + MappingRuleMatchTypeNotEqual, + } +} + const ( // RoleMappingTypeToken is a RoleMappingType enum value RoleMappingTypeToken = "Token" @@ -5269,3 +5295,11 @@ const ( // RoleMappingTypeRules is a RoleMappingType enum value RoleMappingTypeRules = "Rules" ) + +// RoleMappingType_Values returns all elements of the RoleMappingType enum +func RoleMappingType_Values() []string { + return []string{ + RoleMappingTypeToken, + RoleMappingTypeRules, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/cognitoidentityprovider/api.go b/vendor/github.com/aws/aws-sdk-go/service/cognitoidentityprovider/api.go index 19b374454bc..bc509c4b25b 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/cognitoidentityprovider/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/cognitoidentityprovider/api.go @@ -383,9 +383,9 @@ func (c *CognitoIdentityProvider) AdminCreateUserRequest(input *AdminCreateUserI // If MessageAction is not set, the default is to send a welcome message via // email or phone (SMS). // -// This message is based on a template that you configured in your call to or -// . This template includes your custom sign-up instructions and placeholders -// for user name and temporary password. +// This message is based on a template that you configured in your call to create +// or update a user pool. This template includes your custom sign-up instructions +// and placeholders for user name and temporary password. // // Alternatively, you can call AdminCreateUser with “SUPPRESS” for the MessageAction // parameter, and Amazon Cognito will not send any email. @@ -737,7 +737,7 @@ func (c *CognitoIdentityProvider) AdminDisableProviderForUserRequest(input *Admi // sign-in. If the user to disable is a linked external IdP user, any link between // that user and an existing user is removed. The next time the external user // (no longer attached to the previously linked DestinationUser) signs in, they -// must create a new user account. See . +// must create a new user account. See AdminLinkProviderForUser (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AdminLinkProviderForUser.html). // // This action is enabled only for admin access and requires developer credentials. // @@ -756,10 +756,11 @@ func (c *CognitoIdentityProvider) AdminDisableProviderForUserRequest(input *Admi // For de-linking a SAML identity, there are two scenarios. If the linked identity // has not yet been used to sign-in, the ProviderAttributeName and ProviderAttributeValue // must be the same values that were used for the SourceUser when the identities -// were originally linked in the call. (If the linking was done with ProviderAttributeName -// set to Cognito_Subject, the same applies here). However, if the user has -// already signed in, the ProviderAttributeName must be Cognito_Subject and -// ProviderAttributeValue must be the subject of the SAML assertion. +// were originally linked using AdminLinkProviderForUser call. (If the linking +// was done with ProviderAttributeName set to Cognito_Subject, the same applies +// here). However, if the user has already signed in, the ProviderAttributeName +// must be Cognito_Subject and ProviderAttributeValue must be the subject of +// the SAML assertion. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1510,13 +1511,13 @@ func (c *CognitoIdentityProvider) AdminLinkProviderForUserRequest(input *AdminLi // API links that user to a federated user identity, so that when the federated // user identity is used, the user signs in as the existing user account. // +// The maximum number of federated identities linked to a user is 5. +// // Because this API allows a user with an external federated identity to sign // in as an existing user in the user pool, it is critical that it only be used // with external identity providers and provider attributes that have been trusted // by the application owner. // -// See also . -// // This action is enabled only for admin access and requires developer credentials. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -2656,7 +2657,8 @@ func (c *CognitoIdentityProvider) AdminSetUserSettingsRequest(input *AdminSetUse // // This action is no longer supported. You can use it to configure only SMS // MFA. You can't use it to configure TOTP software token MFA. To configure -// either type of MFA, use the AdminSetUserMFAPreference action instead. +// either type of MFA, use AdminSetUserMFAPreference (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AdminSetUserMFAPreference.html) +// instead. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3208,6 +3210,9 @@ func (c *CognitoIdentityProvider) AssociateSoftwareTokenRequest(input *Associate // API operation AssociateSoftwareToken for usage and error information. // // Returned Error Types: +// * ConcurrentModificationException +// This exception is thrown if two or more modifications are happening concurrently. +// // * InvalidParameterException // This exception is thrown when the Amazon Cognito service encounters an invalid // parameter. @@ -6064,10 +6069,11 @@ func (c *CognitoIdentityProvider) ForgotPasswordRequest(input *ForgotPasswordInp // code that is required to change the user's password. For the Username parameter, // you can use the username or user alias. The method used to send the confirmation // code is sent according to the specified AccountRecoverySetting. For more -// information, see Recovering User Accounts in the Amazon Cognito Developer -// Guide. If neither a verified phone number nor a verified email exists, an -// InvalidParameterException is thrown. To use the confirmation code for resetting -// the password, call . +// information, see Recovering User Accounts (https://docs.aws.amazon.com/cognito/latest/developerguide/how-to-recover-a-user-account.html) +// in the Amazon Cognito Developer Guide. If neither a verified phone number +// nor a verified email exists, an InvalidParameterException is thrown. To use +// the confirmation code for resetting the password, call ConfirmForgotPassword +// (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_ConfirmForgotPassword.html). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -8998,8 +9004,6 @@ func (c *CognitoIdentityProvider) SetRiskConfigurationRequest(input *SetRiskConf // To enable Amazon Cognito advanced security features, update the user pool // to include the UserPoolAddOns keyAdvancedSecurityMode. // -// See . -// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -9420,7 +9424,8 @@ func (c *CognitoIdentityProvider) SetUserSettingsRequest(input *SetUserSettingsI // // This action is no longer supported. You can use it to configure only SMS // MFA. You can't use it to configure TOTP software token MFA. To configure -// either type of MFA, use the SetUserMFAPreference action instead. +// either type of MFA, use SetUserMFAPreference (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_SetUserMFAPreference.html) +// instead. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -10705,7 +10710,7 @@ func (c *CognitoIdentityProvider) UpdateUserPoolRequest(input *UpdateUserPoolInp // UpdateUserPool API operation for Amazon Cognito Identity Provider. // // Updates the specified user pool with the specified attributes. You can get -// a list of the current user pool settings with . +// a list of the current user pool settings using DescribeUserPool (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_DescribeUserPool.html). // // If you don't provide a value for an attribute, it will be set to the default // value. @@ -10827,7 +10832,8 @@ func (c *CognitoIdentityProvider) UpdateUserPoolClientRequest(input *UpdateUserP // UpdateUserPoolClient API operation for Amazon Cognito Identity Provider. // // Updates the specified user pool app client with the specified attributes. -// You can get a list of the current user pool app client settings with . +// You can get a list of the current user pool app client settings using DescribeUserPoolClient +// (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_DescribeUserPoolClient.html). // // If you don't provide a value for an attribute, it will be set to the default // value. @@ -11912,9 +11918,9 @@ type AdminCreateUserInput struct { // An array of name-value pairs that contain user attributes and attribute values // to be set for the user to be created. You can create a user without specifying // any attributes other than Username. However, any attributes that you specify - // as required (in or in the Attributes tab of the console) must be supplied - // either by you (in your call to AdminCreateUser) or by the user (when he or - // she signs up in response to your welcome message). + // as required (when creating a user pool or in the Attributes tab of the console) + // must be supplied either by you (in your call to AdminCreateUser) or by the + // user (when he or she signs up in response to your welcome message). // // For custom attributes, you must prepend the custom: prefix to the attribute // name. @@ -11926,7 +11932,7 @@ type AdminCreateUserInput struct { // // In your call to AdminCreateUser, you can set the email_verified attribute // to True, and you can set the phone_number_verified attribute to True. (You - // can also do this by calling .) + // can also do this by calling AdminUpdateUserAttributes (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AdminUpdateUserAttributes.html).) // // * email: The email address of the user to whom the message that contains // the code and username will be sent. Required if the email_verified attribute @@ -12748,7 +12754,7 @@ type AdminGetUserOutput struct { // This response parameter is no longer supported. It provides information only // about SMS MFA configurations. It doesn't provide information about TOTP software // token MFA configurations. To look up information about either type of MFA - // configuration, use the AdminGetUserResponse$UserMFASettingList response instead. + // configuration, use UserMFASettingList instead. MFAOptions []*MFAOptionType `type:"list"` // The user's preferred MFA setting. @@ -12908,16 +12914,18 @@ type AdminInitiateAuthInput struct { // that you are invoking. The required values depend on the value of AuthFlow: // // * For USER_SRP_AUTH: USERNAME (required), SRP_A (required), SECRET_HASH - // (required if the app client is configured with a client secret), DEVICE_KEY + // (required if the app client is configured with a client secret), DEVICE_KEY. // // * For REFRESH_TOKEN_AUTH/REFRESH_TOKEN: REFRESH_TOKEN (required), SECRET_HASH - // (required if the app client is configured with a client secret), DEVICE_KEY + // (required if the app client is configured with a client secret), DEVICE_KEY. // // * For ADMIN_NO_SRP_AUTH: USERNAME (required), SECRET_HASH (if app client - // is configured with client secret), PASSWORD (required), DEVICE_KEY + // is configured with client secret), PASSWORD (required), DEVICE_KEY. // // * For CUSTOM_AUTH: USERNAME (required), SECRET_HASH (if app client is - // configured with client secret), DEVICE_KEY + // configured with client secret), DEVICE_KEY. To start the authentication + // flow with password verification, include ChallengeName: SRP_A and SRP_A: + // (The SRP_A Value). AuthParameters map[string]*string `type:"map" sensitive:"true"` // The app client ID. @@ -13840,7 +13848,7 @@ type AdminRespondToAuthChallengeInput struct { // calls. AnalyticsMetadata *AnalyticsMetadataType `type:"structure"` - // The challenge name. For more information, see . + // The challenge name. For more information, see AdminInitiateAuth (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AdminInitiateAuth.html). // // ChallengeName is a required field ChallengeName *string `type:"string" required:"true" enum:"ChallengeNameType"` @@ -14021,17 +14029,16 @@ type AdminRespondToAuthChallengeOutput struct { // The result returned by the server in response to the authentication request. AuthenticationResult *AuthenticationResultType `type:"structure"` - // The name of the challenge. For more information, see . + // The name of the challenge. For more information, see AdminInitiateAuth (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AdminInitiateAuth.html). ChallengeName *string `type:"string" enum:"ChallengeNameType"` - // The challenge parameters. For more information, see . + // The challenge parameters. For more information, see AdminInitiateAuth (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AdminInitiateAuth.html). ChallengeParameters map[string]*string `type:"map"` // The session which should be passed both ways in challenge-response calls - // to the service. If the or API call determines that the caller needs to go - // through another challenge, they return a session with other challenge parameters. - // This session should be passed as it is to the next RespondToAuthChallenge - // API call. + // to the service. If the caller needs to go through another challenge, they + // return a session with other challenge parameters. This session should be + // passed as it is to the next RespondToAuthChallenge API call. Session *string `min:"20" type:"string"` } @@ -14837,9 +14844,10 @@ func (s *AliasExistsException) RequestID() string { // The Amazon Pinpoint analytics configuration for collecting metrics for a // user pool. // -// Cognito User Pools only supports sending events to Amazon Pinpoint projects -// in the US East (N. Virginia) us-east-1 Region, regardless of the region in -// which the user pool resides. +// In regions where Pinpoint is not available, Cognito User Pools only supports +// sending events to Amazon Pinpoint projects in us-east-1. In regions where +// Pinpoint is available, Cognito User Pools will support sending events to +// Amazon Pinpoint projects within that same region. type AnalyticsConfigurationType struct { _ struct{} `type:"structure"` @@ -15817,7 +15825,7 @@ type ConfirmForgotPasswordInput struct { ClientMetadata map[string]*string `type:"map"` // The confirmation code sent by a user's request to retrieve a forgotten password. - // For more information, see + // For more information, see ForgotPassword (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_ForgotPassword.html). // // ConfirmationCode is a required field ConfirmationCode *string `min:"1" type:"string" required:"true"` @@ -16359,8 +16367,9 @@ type CreateIdentityProviderInput struct { // The identity provider details. The following list describes the provider // detail keys for each identity provider type. // - // * For Google, Facebook and Login with Amazon: client_id client_secret - // authorize_scopes + // * For Google and Login with Amazon: client_id client_secret authorize_scopes + // + // * For Facebook: client_id client_secret authorize_scopes api_version // // * For Sign in with Apple: client_id team_id key_id private_key authorize_scopes // @@ -16369,7 +16378,7 @@ type CreateIdentityProviderInput struct { // URL specified by oidc_issuer key token_url if not available from discovery // URL specified by oidc_issuer key attributes_url if not available from // discovery URL specified by oidc_issuer key jwks_uri if not available from - // discovery URL specified by oidc_issuer key authorize_scopes + // discovery URL specified by oidc_issuer key // // * For SAML providers: MetadataFile OR MetadataURL IDPSignout optional // @@ -16716,6 +16725,11 @@ func (s *CreateUserImportJobOutput) SetUserImportJob(v *UserImportJobType) *Crea type CreateUserPoolClientInput struct { _ struct{} `type:"structure"` + // The time limit, between 5 minutes and 1 day, after which the access token + // is no longer valid and cannot be used. This value will be overridden if you + // have entered a value in TokenValidityUnits. + AccessTokenValidity *int64 `min:"1" type:"integer"` + // The allowed OAuth flows. // // Set to code to initiate a code grant flow, which provides an authorization @@ -16742,9 +16756,10 @@ type CreateUserPoolClientInput struct { // The Amazon Pinpoint analytics configuration for collecting metrics for this // user pool. // - // Cognito User Pools only supports sending events to Amazon Pinpoint projects - // in the US East (N. Virginia) us-east-1 Region, regardless of the region in - // which the user pool resides. + // In regions where Pinpoint is not available, Cognito User Pools only supports + // sending events to Amazon Pinpoint projects in us-east-1. In regions where + // Pinpoint is available, Cognito User Pools will support sending events to + // Amazon Pinpoint projects within that same region. AnalyticsConfiguration *AnalyticsConfigurationType `type:"structure"` // A list of allowed redirect (callback) URLs for the identity providers. @@ -16816,6 +16831,11 @@ type CreateUserPoolClientInput struct { // client being created. GenerateSecret *bool `type:"boolean"` + // The time limit, between 5 minutes and 1 day, after which the ID token is + // no longer valid and cannot be used. This value will be overridden if you + // have entered a value in TokenValidityUnits. + IdTokenValidity *int64 `min:"1" type:"integer"` + // A list of allowed logout URLs for the identity providers. LogoutURLs []*string `type:"list"` @@ -16835,24 +16855,6 @@ type CreateUserPoolClientInput struct { // * LEGACY - This represents the old behavior of Cognito where user existence // related errors are not prevented. // - // This setting affects the behavior of following APIs: - // - // * AdminInitiateAuth - // - // * AdminRespondToAuthChallenge - // - // * InitiateAuth - // - // * RespondToAuthChallenge - // - // * ForgotPassword - // - // * ConfirmForgotPassword - // - // * ConfirmSignUp - // - // * ResendConfirmationCode - // // After February 15th 2020, the value of PreventUserExistenceErrors will default // to ENABLED for newly created user pool clients if no value is provided. PreventUserExistenceErrors *string `type:"string" enum:"PreventUserExistenceErrorTypes"` @@ -16868,6 +16870,10 @@ type CreateUserPoolClientInput struct { // this client. The following are supported: COGNITO, Facebook, Google and LoginWithAmazon. SupportedIdentityProviders []*string `type:"list"` + // The units in which the validity times are represented in. Default for RefreshToken + // is days, and default for ID and access tokens are hours. + TokenValidityUnits *TokenValidityUnitsType `type:"structure"` + // The user pool ID for the user pool where you want to create a user pool client. // // UserPoolId is a required field @@ -16898,6 +16904,9 @@ func (s CreateUserPoolClientInput) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *CreateUserPoolClientInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "CreateUserPoolClientInput"} + if s.AccessTokenValidity != nil && *s.AccessTokenValidity < 1 { + invalidParams.Add(request.NewErrParamMinValue("AccessTokenValidity", 1)) + } if s.ClientName == nil { invalidParams.Add(request.NewErrParamRequired("ClientName")) } @@ -16907,6 +16916,9 @@ func (s *CreateUserPoolClientInput) Validate() error { if s.DefaultRedirectURI != nil && len(*s.DefaultRedirectURI) < 1 { invalidParams.Add(request.NewErrParamMinLen("DefaultRedirectURI", 1)) } + if s.IdTokenValidity != nil && *s.IdTokenValidity < 1 { + invalidParams.Add(request.NewErrParamMinValue("IdTokenValidity", 1)) + } if s.UserPoolId == nil { invalidParams.Add(request.NewErrParamRequired("UserPoolId")) } @@ -16925,6 +16937,12 @@ func (s *CreateUserPoolClientInput) Validate() error { return nil } +// SetAccessTokenValidity sets the AccessTokenValidity field's value. +func (s *CreateUserPoolClientInput) SetAccessTokenValidity(v int64) *CreateUserPoolClientInput { + s.AccessTokenValidity = &v + return s +} + // SetAllowedOAuthFlows sets the AllowedOAuthFlows field's value. func (s *CreateUserPoolClientInput) SetAllowedOAuthFlows(v []*string) *CreateUserPoolClientInput { s.AllowedOAuthFlows = v @@ -16979,6 +16997,12 @@ func (s *CreateUserPoolClientInput) SetGenerateSecret(v bool) *CreateUserPoolCli return s } +// SetIdTokenValidity sets the IdTokenValidity field's value. +func (s *CreateUserPoolClientInput) SetIdTokenValidity(v int64) *CreateUserPoolClientInput { + s.IdTokenValidity = &v + return s +} + // SetLogoutURLs sets the LogoutURLs field's value. func (s *CreateUserPoolClientInput) SetLogoutURLs(v []*string) *CreateUserPoolClientInput { s.LogoutURLs = v @@ -17009,6 +17033,12 @@ func (s *CreateUserPoolClientInput) SetSupportedIdentityProviders(v []*string) * return s } +// SetTokenValidityUnits sets the TokenValidityUnits field's value. +func (s *CreateUserPoolClientInput) SetTokenValidityUnits(v *TokenValidityUnitsType) *CreateUserPoolClientInput { + s.TokenValidityUnits = v + return s +} + // SetUserPoolId sets the UserPoolId field's value. func (s *CreateUserPoolClientInput) SetUserPoolId(v string) *CreateUserPoolClientInput { s.UserPoolId = &v @@ -17160,10 +17190,6 @@ type CreateUserPoolInput struct { // if the user also has SMS MFA enabled. In the absence of this setting, Cognito // uses the legacy behavior to determine the recovery method where SMS is preferred // over email. - // - // Starting February 1, 2020, the value of AccountRecoverySetting will default - // to verified_email first and verified_phone_number as the second option for - // newly created user pools if no value is provided. AccountRecoverySetting *AccountRecoverySettingType `type:"structure"` // The configuration for AdminCreateUser requests. @@ -17240,7 +17266,8 @@ type CreateUserPoolInput struct { // You can choose to set case sensitivity on the username input for the selected // sign-in option. For example, when this is set to False, users will be able // to sign in using either "username" or "Username". This configuration is immutable - // once it has been set. For more information, see . + // once it has been set. For more information, see UsernameConfigurationType + // (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_UsernameConfigurationType.html). UsernameConfiguration *UsernameConfigurationType `type:"structure"` // The template for the verification message that the user sees when the app @@ -20149,8 +20176,7 @@ type GetUserOutput struct { // This response parameter is no longer supported. It provides information only // about SMS MFA configurations. It doesn't provide information about TOTP software // token MFA configurations. To look up information about either type of MFA - // configuration, use the use the GetUserResponse$UserMFASettingList response - // instead. + // configuration, use UserMFASettingList instead. MFAOptions []*MFAOptionType `type:"list"` // The user's preferred MFA setting. @@ -20558,8 +20584,9 @@ type IdentityProviderType struct { // The identity provider details. The following list describes the provider // detail keys for each identity provider type. // - // * For Google, Facebook and Login with Amazon: client_id client_secret - // authorize_scopes + // * For Google and Login with Amazon: client_id client_secret authorize_scopes + // + // * For Facebook: client_id client_secret authorize_scopes api_version // // * For Sign in with Apple: client_id team_id key_id private_key authorize_scopes // @@ -20690,13 +20717,15 @@ type InitiateAuthInput struct { // that you are invoking. The required values depend on the value of AuthFlow: // // * For USER_SRP_AUTH: USERNAME (required), SRP_A (required), SECRET_HASH - // (required if the app client is configured with a client secret), DEVICE_KEY + // (required if the app client is configured with a client secret), DEVICE_KEY. // // * For REFRESH_TOKEN_AUTH/REFRESH_TOKEN: REFRESH_TOKEN (required), SECRET_HASH - // (required if the app client is configured with a client secret), DEVICE_KEY + // (required if the app client is configured with a client secret), DEVICE_KEY. // // * For CUSTOM_AUTH: USERNAME (required), SECRET_HASH (if app client is - // configured with client secret), DEVICE_KEY + // configured with client secret), DEVICE_KEY. To start the authentication + // flow with password verification, include ChallengeName: SRP_A and SRP_A: + // (The SRP_A Value). AuthParameters map[string]*string `type:"map" sensitive:"true"` // The app client ID. @@ -20877,10 +20906,9 @@ type InitiateAuthOutput struct { ChallengeParameters map[string]*string `type:"map"` // The session which should be passed both ways in challenge-response calls - // to the service. If the or API call determines that the caller needs to go - // through another challenge, they return a session with other challenge parameters. - // This session should be passed as it is to the next RespondToAuthChallenge - // API call. + // to the service. If the caller needs to go through another challenge, they + // return a session with other challenge parameters. This session should be + // passed as it is to the next RespondToAuthChallenge API call. Session *string `min:"20" type:"string"` } @@ -22727,12 +22755,6 @@ func (s *MFAMethodNotFoundException) RequestID() string { // This data type is no longer supported. You can use it only for SMS MFA configurations. // You can't use it for TOTP software token MFA configurations. -// -// To set either type of MFA configuration, use the AdminSetUserMFAPreference -// or SetUserMFAPreference actions. -// -// To look up information about either type of MFA configuration, use the AdminGetUserResponse$UserMFASettingList -// or GetUserResponse$UserMFASettingList responses. type MFAOptionType struct { _ struct{} `type:"structure"` @@ -23841,7 +23863,7 @@ type RespondToAuthChallengeInput struct { // calls. AnalyticsMetadata *AnalyticsMetadataType `type:"structure"` - // The challenge name. For more information, see . + // The challenge name. For more information, see InitiateAuth (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_InitiateAuth.html). // // ADMIN_NO_SRP_AUTH is not a valid value. // @@ -24003,17 +24025,16 @@ type RespondToAuthChallengeOutput struct { // the authentication challenge. AuthenticationResult *AuthenticationResultType `type:"structure"` - // The challenge name. For more information, see . + // The challenge name. For more information, see InitiateAuth (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_InitiateAuth.html). ChallengeName *string `type:"string" enum:"ChallengeNameType"` - // The challenge parameters. For more information, see . + // The challenge parameters. For more information, see InitiateAuth (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_InitiateAuth.html). ChallengeParameters map[string]*string `type:"map"` // The session which should be passed both ways in challenge-response calls - // to the service. If the or API call determines that the caller needs to go - // through another challenge, they return a session with other challenge parameters. - // This session should be passed as it is to the next RespondToAuthChallenge - // API call. + // to the service. If the caller needs to go through another challenge, they + // return a session with other challenge parameters. This session should be + // passed as it is to the next RespondToAuthChallenge API call. Session *string `min:"20" type:"string"` } @@ -24206,7 +24227,7 @@ type SchemaAttributeType struct { // Specifies whether the attribute type is developer only. This attribute can // only be modified by an administrator. Users will not be able to modify this // attribute using their access token. For example, DeveloperOnlyAttribute can - // be modified using the API but cannot be updated using the API. + // be modified using AdminUpdateUserAttributes but cannot be updated using UpdateUserAttributes. DeveloperOnlyAttribute *bool `type:"boolean"` // Specifies whether the value of the attribute can be changed. @@ -25586,6 +25607,52 @@ func (s TagResourceOutput) GoString() string { return s.String() } +// The data type for TokenValidityUnits that specifics the time measurements +// for token validity. +type TokenValidityUnitsType struct { + _ struct{} `type:"structure"` + + // A time unit in “seconds”, “minutes”, “hours” or “days” for + // the value in AccessTokenValidity, defaults to hours. + AccessToken *string `type:"string" enum:"TimeUnitsType"` + + // A time unit in “seconds”, “minutes”, “hours” or “days” for + // the value in IdTokenValidity, defaults to hours. + IdToken *string `type:"string" enum:"TimeUnitsType"` + + // A time unit in “seconds”, “minutes”, “hours” or “days” for + // the value in RefreshTokenValidity, defaults to days. + RefreshToken *string `type:"string" enum:"TimeUnitsType"` +} + +// String returns the string representation +func (s TokenValidityUnitsType) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s TokenValidityUnitsType) GoString() string { + return s.String() +} + +// SetAccessToken sets the AccessToken field's value. +func (s *TokenValidityUnitsType) SetAccessToken(v string) *TokenValidityUnitsType { + s.AccessToken = &v + return s +} + +// SetIdToken sets the IdToken field's value. +func (s *TokenValidityUnitsType) SetIdToken(v string) *TokenValidityUnitsType { + s.IdToken = &v + return s +} + +// SetRefreshToken sets the RefreshToken field's value. +func (s *TokenValidityUnitsType) SetRefreshToken(v string) *TokenValidityUnitsType { + s.RefreshToken = &v + return s +} + // This exception is thrown when the user has made too many failed attempts // for a given action (e.g., sign in). type TooManyFailedAttemptsException struct { @@ -26234,7 +26301,7 @@ type UpdateGroupInput struct { GroupName *string `min:"1" type:"string" required:"true"` // The new precedence value for the group. For more information about this parameter, - // see . + // see CreateGroup (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_CreateGroup.html). Precedence *int64 `type:"integer"` // The new role ARN for the group. This is used for setting the cognito:roles @@ -26696,6 +26763,10 @@ func (s *UpdateUserAttributesOutput) SetCodeDeliveryDetailsList(v []*CodeDeliver type UpdateUserPoolClientInput struct { _ struct{} `type:"structure"` + // The time limit, after which the access token is no longer valid and cannot + // be used. + AccessTokenValidity *int64 `min:"1" type:"integer"` + // The allowed OAuth flows. // // Set to code to initiate a code grant flow, which provides an authorization @@ -26722,9 +26793,10 @@ type UpdateUserPoolClientInput struct { // The Amazon Pinpoint analytics configuration for collecting metrics for this // user pool. // - // Cognito User Pools only supports sending events to Amazon Pinpoint projects - // in the US East (N. Virginia) us-east-1 Region, regardless of the region in - // which the user pool resides. + // In regions where Pinpoint is not available, Cognito User Pools only supports + // sending events to Amazon Pinpoint projects in us-east-1. In regions where + // Pinpoint is available, Cognito User Pools will support sending events to + // Amazon Pinpoint projects within that same region. AnalyticsConfiguration *AnalyticsConfigurationType `type:"structure"` // A list of allowed redirect (callback) URLs for the identity providers. @@ -26795,6 +26867,10 @@ type UpdateUserPoolClientInput struct { // * ALLOW_REFRESH_TOKEN_AUTH: Enable authflow to refresh tokens. ExplicitAuthFlows []*string `type:"list"` + // The time limit, after which the ID token is no longer valid and cannot be + // used. + IdTokenValidity *int64 `min:"1" type:"integer"` + // A list of allowed logout URLs for the identity providers. LogoutURLs []*string `type:"list"` @@ -26814,24 +26890,6 @@ type UpdateUserPoolClientInput struct { // * LEGACY - This represents the old behavior of Cognito where user existence // related errors are not prevented. // - // This setting affects the behavior of following APIs: - // - // * AdminInitiateAuth - // - // * AdminRespondToAuthChallenge - // - // * InitiateAuth - // - // * RespondToAuthChallenge - // - // * ForgotPassword - // - // * ConfirmForgotPassword - // - // * ConfirmSignUp - // - // * ResendConfirmationCode - // // After February 15th 2020, the value of PreventUserExistenceErrors will default // to ENABLED for newly created user pool clients if no value is provided. PreventUserExistenceErrors *string `type:"string" enum:"PreventUserExistenceErrorTypes"` @@ -26847,6 +26905,10 @@ type UpdateUserPoolClientInput struct { // this client. SupportedIdentityProviders []*string `type:"list"` + // The units in which the validity times are represented in. Default for RefreshToken + // is days, and default for ID and access tokens are hours. + TokenValidityUnits *TokenValidityUnitsType `type:"structure"` + // The user pool ID for the user pool where you want to update the user pool // client. // @@ -26870,6 +26932,9 @@ func (s UpdateUserPoolClientInput) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *UpdateUserPoolClientInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "UpdateUserPoolClientInput"} + if s.AccessTokenValidity != nil && *s.AccessTokenValidity < 1 { + invalidParams.Add(request.NewErrParamMinValue("AccessTokenValidity", 1)) + } if s.ClientId == nil { invalidParams.Add(request.NewErrParamRequired("ClientId")) } @@ -26882,6 +26947,9 @@ func (s *UpdateUserPoolClientInput) Validate() error { if s.DefaultRedirectURI != nil && len(*s.DefaultRedirectURI) < 1 { invalidParams.Add(request.NewErrParamMinLen("DefaultRedirectURI", 1)) } + if s.IdTokenValidity != nil && *s.IdTokenValidity < 1 { + invalidParams.Add(request.NewErrParamMinValue("IdTokenValidity", 1)) + } if s.UserPoolId == nil { invalidParams.Add(request.NewErrParamRequired("UserPoolId")) } @@ -26900,6 +26968,12 @@ func (s *UpdateUserPoolClientInput) Validate() error { return nil } +// SetAccessTokenValidity sets the AccessTokenValidity field's value. +func (s *UpdateUserPoolClientInput) SetAccessTokenValidity(v int64) *UpdateUserPoolClientInput { + s.AccessTokenValidity = &v + return s +} + // SetAllowedOAuthFlows sets the AllowedOAuthFlows field's value. func (s *UpdateUserPoolClientInput) SetAllowedOAuthFlows(v []*string) *UpdateUserPoolClientInput { s.AllowedOAuthFlows = v @@ -26954,6 +27028,12 @@ func (s *UpdateUserPoolClientInput) SetExplicitAuthFlows(v []*string) *UpdateUse return s } +// SetIdTokenValidity sets the IdTokenValidity field's value. +func (s *UpdateUserPoolClientInput) SetIdTokenValidity(v int64) *UpdateUserPoolClientInput { + s.IdTokenValidity = &v + return s +} + // SetLogoutURLs sets the LogoutURLs field's value. func (s *UpdateUserPoolClientInput) SetLogoutURLs(v []*string) *UpdateUserPoolClientInput { s.LogoutURLs = v @@ -26984,6 +27064,12 @@ func (s *UpdateUserPoolClientInput) SetSupportedIdentityProviders(v []*string) * return s } +// SetTokenValidityUnits sets the TokenValidityUnits field's value. +func (s *UpdateUserPoolClientInput) SetTokenValidityUnits(v *TokenValidityUnitsType) *UpdateUserPoolClientInput { + s.TokenValidityUnits = v + return s +} + // SetUserPoolId sets the UserPoolId field's value. func (s *UpdateUserPoolClientInput) SetUserPoolId(v string) *UpdateUserPoolClientInput { s.UserPoolId = &v @@ -27962,6 +28048,10 @@ func (s *UserPoolClientDescription) SetUserPoolId(v string) *UserPoolClientDescr type UserPoolClientType struct { _ struct{} `type:"structure"` + // The time limit, specified by tokenValidityUnits, defaulting to hours, after + // which the access token is no longer valid and cannot be used. + AccessTokenValidity *int64 `min:"1" type:"integer"` + // The allowed OAuth flows. // // Set to code to initiate a code grant flow, which provides an authorization @@ -28064,6 +28154,10 @@ type UserPoolClientType struct { // * ALLOW_REFRESH_TOKEN_AUTH: Enable authflow to refresh tokens. ExplicitAuthFlows []*string `type:"list"` + // The time limit, specified by tokenValidityUnits, defaulting to hours, after + // which the refresh token is no longer valid and cannot be used. + IdTokenValidity *int64 `min:"1" type:"integer"` + // The date the user pool client was last modified. LastModifiedDate *time.Time `type:"timestamp"` @@ -28086,24 +28180,6 @@ type UserPoolClientType struct { // * LEGACY - This represents the old behavior of Cognito where user existence // related errors are not prevented. // - // This setting affects the behavior of following APIs: - // - // * AdminInitiateAuth - // - // * AdminRespondToAuthChallenge - // - // * InitiateAuth - // - // * RespondToAuthChallenge - // - // * ForgotPassword - // - // * ConfirmForgotPassword - // - // * ConfirmSignUp - // - // * ResendConfirmationCode - // // After February 15th 2020, the value of PreventUserExistenceErrors will default // to ENABLED for newly created user pool clients if no value is provided. PreventUserExistenceErrors *string `type:"string" enum:"PreventUserExistenceErrorTypes"` @@ -28119,6 +28195,10 @@ type UserPoolClientType struct { // this client. SupportedIdentityProviders []*string `type:"list"` + // The time units used to specify the token validity times of their respective + // token. + TokenValidityUnits *TokenValidityUnitsType `type:"structure"` + // The user pool ID for the user pool client. UserPoolId *string `min:"1" type:"string"` @@ -28136,6 +28216,12 @@ func (s UserPoolClientType) GoString() string { return s.String() } +// SetAccessTokenValidity sets the AccessTokenValidity field's value. +func (s *UserPoolClientType) SetAccessTokenValidity(v int64) *UserPoolClientType { + s.AccessTokenValidity = &v + return s +} + // SetAllowedOAuthFlows sets the AllowedOAuthFlows field's value. func (s *UserPoolClientType) SetAllowedOAuthFlows(v []*string) *UserPoolClientType { s.AllowedOAuthFlows = v @@ -28202,6 +28288,12 @@ func (s *UserPoolClientType) SetExplicitAuthFlows(v []*string) *UserPoolClientTy return s } +// SetIdTokenValidity sets the IdTokenValidity field's value. +func (s *UserPoolClientType) SetIdTokenValidity(v int64) *UserPoolClientType { + s.IdTokenValidity = &v + return s +} + // SetLastModifiedDate sets the LastModifiedDate field's value. func (s *UserPoolClientType) SetLastModifiedDate(v time.Time) *UserPoolClientType { s.LastModifiedDate = &v @@ -28238,6 +28330,12 @@ func (s *UserPoolClientType) SetSupportedIdentityProviders(v []*string) *UserPoo return s } +// SetTokenValidityUnits sets the TokenValidityUnits field's value. +func (s *UserPoolClientType) SetTokenValidityUnits(v *TokenValidityUnitsType) *UserPoolClientType { + s.TokenValidityUnits = v + return s +} + // SetUserPoolId sets the UserPoolId field's value. func (s *UserPoolClientType) SetUserPoolId(v string) *UserPoolClientType { s.UserPoolId = &v @@ -28530,7 +28628,8 @@ type UserPoolType struct { // You can choose to enable case sensitivity on the username input for the selected // sign-in option. For example, when this is set to False, users will be able // to sign in using either "username" or "Username". This configuration is immutable - // once it has been set. For more information, see . + // once it has been set. For more information, see UsernameConfigurationType + // (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_UsernameConfigurationType.html). UsernameConfiguration *UsernameConfigurationType `type:"structure"` // The template for verification messages. @@ -29045,7 +29144,8 @@ type VerifySoftwareTokenInput struct { // to the service. Session *string `min:"20" type:"string"` - // The one time password computed using the secret code returned by + // The one time password computed using the secret code returned by AssociateSoftwareToken" + // (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AssociateSoftwareToken.html). // // UserCode is a required field UserCode *string `min:"6" type:"string" required:"true"` @@ -29240,6 +29340,16 @@ const ( AccountTakeoverEventActionTypeNoAction = "NO_ACTION" ) +// AccountTakeoverEventActionType_Values returns all elements of the AccountTakeoverEventActionType enum +func AccountTakeoverEventActionType_Values() []string { + return []string{ + AccountTakeoverEventActionTypeBlock, + AccountTakeoverEventActionTypeMfaIfConfigured, + AccountTakeoverEventActionTypeMfaRequired, + AccountTakeoverEventActionTypeNoAction, + } +} + const ( // AdvancedSecurityModeTypeOff is a AdvancedSecurityModeType enum value AdvancedSecurityModeTypeOff = "OFF" @@ -29251,6 +29361,15 @@ const ( AdvancedSecurityModeTypeEnforced = "ENFORCED" ) +// AdvancedSecurityModeType_Values returns all elements of the AdvancedSecurityModeType enum +func AdvancedSecurityModeType_Values() []string { + return []string{ + AdvancedSecurityModeTypeOff, + AdvancedSecurityModeTypeAudit, + AdvancedSecurityModeTypeEnforced, + } +} + const ( // AliasAttributeTypePhoneNumber is a AliasAttributeType enum value AliasAttributeTypePhoneNumber = "phone_number" @@ -29262,6 +29381,15 @@ const ( AliasAttributeTypePreferredUsername = "preferred_username" ) +// AliasAttributeType_Values returns all elements of the AliasAttributeType enum +func AliasAttributeType_Values() []string { + return []string{ + AliasAttributeTypePhoneNumber, + AliasAttributeTypeEmail, + AliasAttributeTypePreferredUsername, + } +} + const ( // AttributeDataTypeString is a AttributeDataType enum value AttributeDataTypeString = "String" @@ -29276,6 +29404,16 @@ const ( AttributeDataTypeBoolean = "Boolean" ) +// AttributeDataType_Values returns all elements of the AttributeDataType enum +func AttributeDataType_Values() []string { + return []string{ + AttributeDataTypeString, + AttributeDataTypeNumber, + AttributeDataTypeDateTime, + AttributeDataTypeBoolean, + } +} + const ( // AuthFlowTypeUserSrpAuth is a AuthFlowType enum value AuthFlowTypeUserSrpAuth = "USER_SRP_AUTH" @@ -29299,6 +29437,19 @@ const ( AuthFlowTypeAdminUserPasswordAuth = "ADMIN_USER_PASSWORD_AUTH" ) +// AuthFlowType_Values returns all elements of the AuthFlowType enum +func AuthFlowType_Values() []string { + return []string{ + AuthFlowTypeUserSrpAuth, + AuthFlowTypeRefreshTokenAuth, + AuthFlowTypeRefreshToken, + AuthFlowTypeCustomAuth, + AuthFlowTypeAdminNoSrpAuth, + AuthFlowTypeUserPasswordAuth, + AuthFlowTypeAdminUserPasswordAuth, + } +} + const ( // ChallengeNamePassword is a ChallengeName enum value ChallengeNamePassword = "Password" @@ -29307,6 +29458,14 @@ const ( ChallengeNameMfa = "Mfa" ) +// ChallengeName_Values returns all elements of the ChallengeName enum +func ChallengeName_Values() []string { + return []string{ + ChallengeNamePassword, + ChallengeNameMfa, + } +} + const ( // ChallengeNameTypeSmsMfa is a ChallengeNameType enum value ChallengeNameTypeSmsMfa = "SMS_MFA" @@ -29339,6 +29498,22 @@ const ( ChallengeNameTypeNewPasswordRequired = "NEW_PASSWORD_REQUIRED" ) +// ChallengeNameType_Values returns all elements of the ChallengeNameType enum +func ChallengeNameType_Values() []string { + return []string{ + ChallengeNameTypeSmsMfa, + ChallengeNameTypeSoftwareTokenMfa, + ChallengeNameTypeSelectMfaType, + ChallengeNameTypeMfaSetup, + ChallengeNameTypePasswordVerifier, + ChallengeNameTypeCustomChallenge, + ChallengeNameTypeDeviceSrpAuth, + ChallengeNameTypeDevicePasswordVerifier, + ChallengeNameTypeAdminNoSrpAuth, + ChallengeNameTypeNewPasswordRequired, + } +} + const ( // ChallengeResponseSuccess is a ChallengeResponse enum value ChallengeResponseSuccess = "Success" @@ -29347,6 +29522,14 @@ const ( ChallengeResponseFailure = "Failure" ) +// ChallengeResponse_Values returns all elements of the ChallengeResponse enum +func ChallengeResponse_Values() []string { + return []string{ + ChallengeResponseSuccess, + ChallengeResponseFailure, + } +} + const ( // CompromisedCredentialsEventActionTypeBlock is a CompromisedCredentialsEventActionType enum value CompromisedCredentialsEventActionTypeBlock = "BLOCK" @@ -29355,6 +29538,14 @@ const ( CompromisedCredentialsEventActionTypeNoAction = "NO_ACTION" ) +// CompromisedCredentialsEventActionType_Values returns all elements of the CompromisedCredentialsEventActionType enum +func CompromisedCredentialsEventActionType_Values() []string { + return []string{ + CompromisedCredentialsEventActionTypeBlock, + CompromisedCredentialsEventActionTypeNoAction, + } +} + const ( // DefaultEmailOptionTypeConfirmWithLink is a DefaultEmailOptionType enum value DefaultEmailOptionTypeConfirmWithLink = "CONFIRM_WITH_LINK" @@ -29363,6 +29554,14 @@ const ( DefaultEmailOptionTypeConfirmWithCode = "CONFIRM_WITH_CODE" ) +// DefaultEmailOptionType_Values returns all elements of the DefaultEmailOptionType enum +func DefaultEmailOptionType_Values() []string { + return []string{ + DefaultEmailOptionTypeConfirmWithLink, + DefaultEmailOptionTypeConfirmWithCode, + } +} + const ( // DeliveryMediumTypeSms is a DeliveryMediumType enum value DeliveryMediumTypeSms = "SMS" @@ -29371,6 +29570,14 @@ const ( DeliveryMediumTypeEmail = "EMAIL" ) +// DeliveryMediumType_Values returns all elements of the DeliveryMediumType enum +func DeliveryMediumType_Values() []string { + return []string{ + DeliveryMediumTypeSms, + DeliveryMediumTypeEmail, + } +} + const ( // DeviceRememberedStatusTypeRemembered is a DeviceRememberedStatusType enum value DeviceRememberedStatusTypeRemembered = "remembered" @@ -29379,6 +29586,14 @@ const ( DeviceRememberedStatusTypeNotRemembered = "not_remembered" ) +// DeviceRememberedStatusType_Values returns all elements of the DeviceRememberedStatusType enum +func DeviceRememberedStatusType_Values() []string { + return []string{ + DeviceRememberedStatusTypeRemembered, + DeviceRememberedStatusTypeNotRemembered, + } +} + const ( // DomainStatusTypeCreating is a DomainStatusType enum value DomainStatusTypeCreating = "CREATING" @@ -29396,6 +29611,17 @@ const ( DomainStatusTypeFailed = "FAILED" ) +// DomainStatusType_Values returns all elements of the DomainStatusType enum +func DomainStatusType_Values() []string { + return []string{ + DomainStatusTypeCreating, + DomainStatusTypeDeleting, + DomainStatusTypeUpdating, + DomainStatusTypeActive, + DomainStatusTypeFailed, + } +} + const ( // EmailSendingAccountTypeCognitoDefault is a EmailSendingAccountType enum value EmailSendingAccountTypeCognitoDefault = "COGNITO_DEFAULT" @@ -29404,6 +29630,14 @@ const ( EmailSendingAccountTypeDeveloper = "DEVELOPER" ) +// EmailSendingAccountType_Values returns all elements of the EmailSendingAccountType enum +func EmailSendingAccountType_Values() []string { + return []string{ + EmailSendingAccountTypeCognitoDefault, + EmailSendingAccountTypeDeveloper, + } +} + const ( // EventFilterTypeSignIn is a EventFilterType enum value EventFilterTypeSignIn = "SIGN_IN" @@ -29415,6 +29649,15 @@ const ( EventFilterTypeSignUp = "SIGN_UP" ) +// EventFilterType_Values returns all elements of the EventFilterType enum +func EventFilterType_Values() []string { + return []string{ + EventFilterTypeSignIn, + EventFilterTypePasswordChange, + EventFilterTypeSignUp, + } +} + const ( // EventResponseTypeSuccess is a EventResponseType enum value EventResponseTypeSuccess = "Success" @@ -29423,6 +29666,14 @@ const ( EventResponseTypeFailure = "Failure" ) +// EventResponseType_Values returns all elements of the EventResponseType enum +func EventResponseType_Values() []string { + return []string{ + EventResponseTypeSuccess, + EventResponseTypeFailure, + } +} + const ( // EventTypeSignIn is a EventType enum value EventTypeSignIn = "SignIn" @@ -29434,6 +29685,15 @@ const ( EventTypeForgotPassword = "ForgotPassword" ) +// EventType_Values returns all elements of the EventType enum +func EventType_Values() []string { + return []string{ + EventTypeSignIn, + EventTypeSignUp, + EventTypeForgotPassword, + } +} + const ( // ExplicitAuthFlowsTypeAdminNoSrpAuth is a ExplicitAuthFlowsType enum value ExplicitAuthFlowsTypeAdminNoSrpAuth = "ADMIN_NO_SRP_AUTH" @@ -29460,6 +29720,20 @@ const ( ExplicitAuthFlowsTypeAllowRefreshTokenAuth = "ALLOW_REFRESH_TOKEN_AUTH" ) +// ExplicitAuthFlowsType_Values returns all elements of the ExplicitAuthFlowsType enum +func ExplicitAuthFlowsType_Values() []string { + return []string{ + ExplicitAuthFlowsTypeAdminNoSrpAuth, + ExplicitAuthFlowsTypeCustomAuthFlowOnly, + ExplicitAuthFlowsTypeUserPasswordAuth, + ExplicitAuthFlowsTypeAllowAdminUserPasswordAuth, + ExplicitAuthFlowsTypeAllowCustomAuth, + ExplicitAuthFlowsTypeAllowUserPasswordAuth, + ExplicitAuthFlowsTypeAllowUserSrpAuth, + ExplicitAuthFlowsTypeAllowRefreshTokenAuth, + } +} + const ( // FeedbackValueTypeValid is a FeedbackValueType enum value FeedbackValueTypeValid = "Valid" @@ -29468,6 +29742,14 @@ const ( FeedbackValueTypeInvalid = "Invalid" ) +// FeedbackValueType_Values returns all elements of the FeedbackValueType enum +func FeedbackValueType_Values() []string { + return []string{ + FeedbackValueTypeValid, + FeedbackValueTypeInvalid, + } +} + const ( // IdentityProviderTypeTypeSaml is a IdentityProviderTypeType enum value IdentityProviderTypeTypeSaml = "SAML" @@ -29488,6 +29770,18 @@ const ( IdentityProviderTypeTypeOidc = "OIDC" ) +// IdentityProviderTypeType_Values returns all elements of the IdentityProviderTypeType enum +func IdentityProviderTypeType_Values() []string { + return []string{ + IdentityProviderTypeTypeSaml, + IdentityProviderTypeTypeFacebook, + IdentityProviderTypeTypeGoogle, + IdentityProviderTypeTypeLoginWithAmazon, + IdentityProviderTypeTypeSignInWithApple, + IdentityProviderTypeTypeOidc, + } +} + const ( // MessageActionTypeResend is a MessageActionType enum value MessageActionTypeResend = "RESEND" @@ -29496,6 +29790,14 @@ const ( MessageActionTypeSuppress = "SUPPRESS" ) +// MessageActionType_Values returns all elements of the MessageActionType enum +func MessageActionType_Values() []string { + return []string{ + MessageActionTypeResend, + MessageActionTypeSuppress, + } +} + const ( // OAuthFlowTypeCode is a OAuthFlowType enum value OAuthFlowTypeCode = "code" @@ -29507,6 +29809,15 @@ const ( OAuthFlowTypeClientCredentials = "client_credentials" ) +// OAuthFlowType_Values returns all elements of the OAuthFlowType enum +func OAuthFlowType_Values() []string { + return []string{ + OAuthFlowTypeCode, + OAuthFlowTypeImplicit, + OAuthFlowTypeClientCredentials, + } +} + const ( // PreventUserExistenceErrorTypesLegacy is a PreventUserExistenceErrorTypes enum value PreventUserExistenceErrorTypesLegacy = "LEGACY" @@ -29515,6 +29826,14 @@ const ( PreventUserExistenceErrorTypesEnabled = "ENABLED" ) +// PreventUserExistenceErrorTypes_Values returns all elements of the PreventUserExistenceErrorTypes enum +func PreventUserExistenceErrorTypes_Values() []string { + return []string{ + PreventUserExistenceErrorTypesLegacy, + PreventUserExistenceErrorTypesEnabled, + } +} + const ( // RecoveryOptionNameTypeVerifiedEmail is a RecoveryOptionNameType enum value RecoveryOptionNameTypeVerifiedEmail = "verified_email" @@ -29526,6 +29845,15 @@ const ( RecoveryOptionNameTypeAdminOnly = "admin_only" ) +// RecoveryOptionNameType_Values returns all elements of the RecoveryOptionNameType enum +func RecoveryOptionNameType_Values() []string { + return []string{ + RecoveryOptionNameTypeVerifiedEmail, + RecoveryOptionNameTypeVerifiedPhoneNumber, + RecoveryOptionNameTypeAdminOnly, + } +} + const ( // RiskDecisionTypeNoRisk is a RiskDecisionType enum value RiskDecisionTypeNoRisk = "NoRisk" @@ -29537,6 +29865,15 @@ const ( RiskDecisionTypeBlock = "Block" ) +// RiskDecisionType_Values returns all elements of the RiskDecisionType enum +func RiskDecisionType_Values() []string { + return []string{ + RiskDecisionTypeNoRisk, + RiskDecisionTypeAccountTakeover, + RiskDecisionTypeBlock, + } +} + const ( // RiskLevelTypeLow is a RiskLevelType enum value RiskLevelTypeLow = "Low" @@ -29548,6 +29885,15 @@ const ( RiskLevelTypeHigh = "High" ) +// RiskLevelType_Values returns all elements of the RiskLevelType enum +func RiskLevelType_Values() []string { + return []string{ + RiskLevelTypeLow, + RiskLevelTypeMedium, + RiskLevelTypeHigh, + } +} + const ( // StatusTypeEnabled is a StatusType enum value StatusTypeEnabled = "Enabled" @@ -29556,6 +29902,38 @@ const ( StatusTypeDisabled = "Disabled" ) +// StatusType_Values returns all elements of the StatusType enum +func StatusType_Values() []string { + return []string{ + StatusTypeEnabled, + StatusTypeDisabled, + } +} + +const ( + // TimeUnitsTypeSeconds is a TimeUnitsType enum value + TimeUnitsTypeSeconds = "seconds" + + // TimeUnitsTypeMinutes is a TimeUnitsType enum value + TimeUnitsTypeMinutes = "minutes" + + // TimeUnitsTypeHours is a TimeUnitsType enum value + TimeUnitsTypeHours = "hours" + + // TimeUnitsTypeDays is a TimeUnitsType enum value + TimeUnitsTypeDays = "days" +) + +// TimeUnitsType_Values returns all elements of the TimeUnitsType enum +func TimeUnitsType_Values() []string { + return []string{ + TimeUnitsTypeSeconds, + TimeUnitsTypeMinutes, + TimeUnitsTypeHours, + TimeUnitsTypeDays, + } +} + const ( // UserImportJobStatusTypeCreated is a UserImportJobStatusType enum value UserImportJobStatusTypeCreated = "Created" @@ -29582,6 +29960,20 @@ const ( UserImportJobStatusTypeSucceeded = "Succeeded" ) +// UserImportJobStatusType_Values returns all elements of the UserImportJobStatusType enum +func UserImportJobStatusType_Values() []string { + return []string{ + UserImportJobStatusTypeCreated, + UserImportJobStatusTypePending, + UserImportJobStatusTypeInProgress, + UserImportJobStatusTypeStopping, + UserImportJobStatusTypeExpired, + UserImportJobStatusTypeStopped, + UserImportJobStatusTypeFailed, + UserImportJobStatusTypeSucceeded, + } +} + const ( // UserPoolMfaTypeOff is a UserPoolMfaType enum value UserPoolMfaTypeOff = "OFF" @@ -29593,6 +29985,15 @@ const ( UserPoolMfaTypeOptional = "OPTIONAL" ) +// UserPoolMfaType_Values returns all elements of the UserPoolMfaType enum +func UserPoolMfaType_Values() []string { + return []string{ + UserPoolMfaTypeOff, + UserPoolMfaTypeOn, + UserPoolMfaTypeOptional, + } +} + const ( // UserStatusTypeUnconfirmed is a UserStatusType enum value UserStatusTypeUnconfirmed = "UNCONFIRMED" @@ -29616,6 +30017,19 @@ const ( UserStatusTypeForceChangePassword = "FORCE_CHANGE_PASSWORD" ) +// UserStatusType_Values returns all elements of the UserStatusType enum +func UserStatusType_Values() []string { + return []string{ + UserStatusTypeUnconfirmed, + UserStatusTypeConfirmed, + UserStatusTypeArchived, + UserStatusTypeCompromised, + UserStatusTypeUnknown, + UserStatusTypeResetRequired, + UserStatusTypeForceChangePassword, + } +} + const ( // UsernameAttributeTypePhoneNumber is a UsernameAttributeType enum value UsernameAttributeTypePhoneNumber = "phone_number" @@ -29624,6 +30038,14 @@ const ( UsernameAttributeTypeEmail = "email" ) +// UsernameAttributeType_Values returns all elements of the UsernameAttributeType enum +func UsernameAttributeType_Values() []string { + return []string{ + UsernameAttributeTypePhoneNumber, + UsernameAttributeTypeEmail, + } +} + const ( // VerifiedAttributeTypePhoneNumber is a VerifiedAttributeType enum value VerifiedAttributeTypePhoneNumber = "phone_number" @@ -29632,6 +30054,14 @@ const ( VerifiedAttributeTypeEmail = "email" ) +// VerifiedAttributeType_Values returns all elements of the VerifiedAttributeType enum +func VerifiedAttributeType_Values() []string { + return []string{ + VerifiedAttributeTypePhoneNumber, + VerifiedAttributeTypeEmail, + } +} + const ( // VerifySoftwareTokenResponseTypeSuccess is a VerifySoftwareTokenResponseType enum value VerifySoftwareTokenResponseTypeSuccess = "SUCCESS" @@ -29639,3 +30069,11 @@ const ( // VerifySoftwareTokenResponseTypeError is a VerifySoftwareTokenResponseType enum value VerifySoftwareTokenResponseTypeError = "ERROR" ) + +// VerifySoftwareTokenResponseType_Values returns all elements of the VerifySoftwareTokenResponseType enum +func VerifySoftwareTokenResponseType_Values() []string { + return []string{ + VerifySoftwareTokenResponseTypeSuccess, + VerifySoftwareTokenResponseTypeError, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/configservice/api.go b/vendor/github.com/aws/aws-sdk-go/service/configservice/api.go index 1d642bb8207..9fc050a16b4 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/configservice/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/configservice/api.go @@ -23401,6 +23401,15 @@ const ( AggregatedSourceStatusTypeOutdated = "OUTDATED" ) +// AggregatedSourceStatusType_Values returns all elements of the AggregatedSourceStatusType enum +func AggregatedSourceStatusType_Values() []string { + return []string{ + AggregatedSourceStatusTypeFailed, + AggregatedSourceStatusTypeSucceeded, + AggregatedSourceStatusTypeOutdated, + } +} + const ( // AggregatedSourceTypeAccount is a AggregatedSourceType enum value AggregatedSourceTypeAccount = "ACCOUNT" @@ -23409,6 +23418,14 @@ const ( AggregatedSourceTypeOrganization = "ORGANIZATION" ) +// AggregatedSourceType_Values returns all elements of the AggregatedSourceType enum +func AggregatedSourceType_Values() []string { + return []string{ + AggregatedSourceTypeAccount, + AggregatedSourceTypeOrganization, + } +} + const ( // ChronologicalOrderReverse is a ChronologicalOrder enum value ChronologicalOrderReverse = "Reverse" @@ -23417,6 +23434,14 @@ const ( ChronologicalOrderForward = "Forward" ) +// ChronologicalOrder_Values returns all elements of the ChronologicalOrder enum +func ChronologicalOrder_Values() []string { + return []string{ + ChronologicalOrderReverse, + ChronologicalOrderForward, + } +} + const ( // ComplianceTypeCompliant is a ComplianceType enum value ComplianceTypeCompliant = "COMPLIANT" @@ -23431,6 +23456,16 @@ const ( ComplianceTypeInsufficientData = "INSUFFICIENT_DATA" ) +// ComplianceType_Values returns all elements of the ComplianceType enum +func ComplianceType_Values() []string { + return []string{ + ComplianceTypeCompliant, + ComplianceTypeNonCompliant, + ComplianceTypeNotApplicable, + ComplianceTypeInsufficientData, + } +} + const ( // ConfigRuleComplianceSummaryGroupKeyAccountId is a ConfigRuleComplianceSummaryGroupKey enum value ConfigRuleComplianceSummaryGroupKeyAccountId = "ACCOUNT_ID" @@ -23439,6 +23474,14 @@ const ( ConfigRuleComplianceSummaryGroupKeyAwsRegion = "AWS_REGION" ) +// ConfigRuleComplianceSummaryGroupKey_Values returns all elements of the ConfigRuleComplianceSummaryGroupKey enum +func ConfigRuleComplianceSummaryGroupKey_Values() []string { + return []string{ + ConfigRuleComplianceSummaryGroupKeyAccountId, + ConfigRuleComplianceSummaryGroupKeyAwsRegion, + } +} + const ( // ConfigRuleStateActive is a ConfigRuleState enum value ConfigRuleStateActive = "ACTIVE" @@ -23453,6 +23496,16 @@ const ( ConfigRuleStateEvaluating = "EVALUATING" ) +// ConfigRuleState_Values returns all elements of the ConfigRuleState enum +func ConfigRuleState_Values() []string { + return []string{ + ConfigRuleStateActive, + ConfigRuleStateDeleting, + ConfigRuleStateDeletingResults, + ConfigRuleStateEvaluating, + } +} + const ( // ConfigurationItemStatusOk is a ConfigurationItemStatus enum value ConfigurationItemStatusOk = "OK" @@ -23470,6 +23523,17 @@ const ( ConfigurationItemStatusResourceDeletedNotRecorded = "ResourceDeletedNotRecorded" ) +// ConfigurationItemStatus_Values returns all elements of the ConfigurationItemStatus enum +func ConfigurationItemStatus_Values() []string { + return []string{ + ConfigurationItemStatusOk, + ConfigurationItemStatusResourceDiscovered, + ConfigurationItemStatusResourceNotRecorded, + ConfigurationItemStatusResourceDeleted, + ConfigurationItemStatusResourceDeletedNotRecorded, + } +} + const ( // ConformancePackComplianceTypeCompliant is a ConformancePackComplianceType enum value ConformancePackComplianceTypeCompliant = "COMPLIANT" @@ -23478,6 +23542,14 @@ const ( ConformancePackComplianceTypeNonCompliant = "NON_COMPLIANT" ) +// ConformancePackComplianceType_Values returns all elements of the ConformancePackComplianceType enum +func ConformancePackComplianceType_Values() []string { + return []string{ + ConformancePackComplianceTypeCompliant, + ConformancePackComplianceTypeNonCompliant, + } +} + const ( // ConformancePackStateCreateInProgress is a ConformancePackState enum value ConformancePackStateCreateInProgress = "CREATE_IN_PROGRESS" @@ -23495,6 +23567,17 @@ const ( ConformancePackStateDeleteFailed = "DELETE_FAILED" ) +// ConformancePackState_Values returns all elements of the ConformancePackState enum +func ConformancePackState_Values() []string { + return []string{ + ConformancePackStateCreateInProgress, + ConformancePackStateCreateComplete, + ConformancePackStateCreateFailed, + ConformancePackStateDeleteInProgress, + ConformancePackStateDeleteFailed, + } +} + const ( // DeliveryStatusSuccess is a DeliveryStatus enum value DeliveryStatusSuccess = "Success" @@ -23506,11 +23589,27 @@ const ( DeliveryStatusNotApplicable = "Not_Applicable" ) +// DeliveryStatus_Values returns all elements of the DeliveryStatus enum +func DeliveryStatus_Values() []string { + return []string{ + DeliveryStatusSuccess, + DeliveryStatusFailure, + DeliveryStatusNotApplicable, + } +} + const ( // EventSourceAwsConfig is a EventSource enum value EventSourceAwsConfig = "aws.config" ) +// EventSource_Values returns all elements of the EventSource enum +func EventSource_Values() []string { + return []string{ + EventSourceAwsConfig, + } +} + const ( // MaximumExecutionFrequencyOneHour is a MaximumExecutionFrequency enum value MaximumExecutionFrequencyOneHour = "One_Hour" @@ -23528,6 +23627,17 @@ const ( MaximumExecutionFrequencyTwentyFourHours = "TwentyFour_Hours" ) +// MaximumExecutionFrequency_Values returns all elements of the MaximumExecutionFrequency enum +func MaximumExecutionFrequency_Values() []string { + return []string{ + MaximumExecutionFrequencyOneHour, + MaximumExecutionFrequencyThreeHours, + MaximumExecutionFrequencySixHours, + MaximumExecutionFrequencyTwelveHours, + MaximumExecutionFrequencyTwentyFourHours, + } +} + const ( // MemberAccountRuleStatusCreateSuccessful is a MemberAccountRuleStatus enum value MemberAccountRuleStatusCreateSuccessful = "CREATE_SUCCESSFUL" @@ -23557,6 +23667,21 @@ const ( MemberAccountRuleStatusUpdateFailed = "UPDATE_FAILED" ) +// MemberAccountRuleStatus_Values returns all elements of the MemberAccountRuleStatus enum +func MemberAccountRuleStatus_Values() []string { + return []string{ + MemberAccountRuleStatusCreateSuccessful, + MemberAccountRuleStatusCreateInProgress, + MemberAccountRuleStatusCreateFailed, + MemberAccountRuleStatusDeleteSuccessful, + MemberAccountRuleStatusDeleteFailed, + MemberAccountRuleStatusDeleteInProgress, + MemberAccountRuleStatusUpdateSuccessful, + MemberAccountRuleStatusUpdateInProgress, + MemberAccountRuleStatusUpdateFailed, + } +} + const ( // MessageTypeConfigurationItemChangeNotification is a MessageType enum value MessageTypeConfigurationItemChangeNotification = "ConfigurationItemChangeNotification" @@ -23571,6 +23696,16 @@ const ( MessageTypeOversizedConfigurationItemChangeNotification = "OversizedConfigurationItemChangeNotification" ) +// MessageType_Values returns all elements of the MessageType enum +func MessageType_Values() []string { + return []string{ + MessageTypeConfigurationItemChangeNotification, + MessageTypeConfigurationSnapshotDeliveryCompleted, + MessageTypeScheduledNotification, + MessageTypeOversizedConfigurationItemChangeNotification, + } +} + const ( // OrganizationConfigRuleTriggerTypeConfigurationItemChangeNotification is a OrganizationConfigRuleTriggerType enum value OrganizationConfigRuleTriggerTypeConfigurationItemChangeNotification = "ConfigurationItemChangeNotification" @@ -23582,6 +23717,15 @@ const ( OrganizationConfigRuleTriggerTypeScheduledNotification = "ScheduledNotification" ) +// OrganizationConfigRuleTriggerType_Values returns all elements of the OrganizationConfigRuleTriggerType enum +func OrganizationConfigRuleTriggerType_Values() []string { + return []string{ + OrganizationConfigRuleTriggerTypeConfigurationItemChangeNotification, + OrganizationConfigRuleTriggerTypeOversizedConfigurationItemChangeNotification, + OrganizationConfigRuleTriggerTypeScheduledNotification, + } +} + const ( // OrganizationResourceDetailedStatusCreateSuccessful is a OrganizationResourceDetailedStatus enum value OrganizationResourceDetailedStatusCreateSuccessful = "CREATE_SUCCESSFUL" @@ -23611,6 +23755,21 @@ const ( OrganizationResourceDetailedStatusUpdateFailed = "UPDATE_FAILED" ) +// OrganizationResourceDetailedStatus_Values returns all elements of the OrganizationResourceDetailedStatus enum +func OrganizationResourceDetailedStatus_Values() []string { + return []string{ + OrganizationResourceDetailedStatusCreateSuccessful, + OrganizationResourceDetailedStatusCreateInProgress, + OrganizationResourceDetailedStatusCreateFailed, + OrganizationResourceDetailedStatusDeleteSuccessful, + OrganizationResourceDetailedStatusDeleteFailed, + OrganizationResourceDetailedStatusDeleteInProgress, + OrganizationResourceDetailedStatusUpdateSuccessful, + OrganizationResourceDetailedStatusUpdateInProgress, + OrganizationResourceDetailedStatusUpdateFailed, + } +} + const ( // OrganizationResourceStatusCreateSuccessful is a OrganizationResourceStatus enum value OrganizationResourceStatusCreateSuccessful = "CREATE_SUCCESSFUL" @@ -23640,6 +23799,21 @@ const ( OrganizationResourceStatusUpdateFailed = "UPDATE_FAILED" ) +// OrganizationResourceStatus_Values returns all elements of the OrganizationResourceStatus enum +func OrganizationResourceStatus_Values() []string { + return []string{ + OrganizationResourceStatusCreateSuccessful, + OrganizationResourceStatusCreateInProgress, + OrganizationResourceStatusCreateFailed, + OrganizationResourceStatusDeleteSuccessful, + OrganizationResourceStatusDeleteFailed, + OrganizationResourceStatusDeleteInProgress, + OrganizationResourceStatusUpdateSuccessful, + OrganizationResourceStatusUpdateInProgress, + OrganizationResourceStatusUpdateFailed, + } +} + const ( // OrganizationRuleStatusCreateSuccessful is a OrganizationRuleStatus enum value OrganizationRuleStatusCreateSuccessful = "CREATE_SUCCESSFUL" @@ -23669,6 +23843,21 @@ const ( OrganizationRuleStatusUpdateFailed = "UPDATE_FAILED" ) +// OrganizationRuleStatus_Values returns all elements of the OrganizationRuleStatus enum +func OrganizationRuleStatus_Values() []string { + return []string{ + OrganizationRuleStatusCreateSuccessful, + OrganizationRuleStatusCreateInProgress, + OrganizationRuleStatusCreateFailed, + OrganizationRuleStatusDeleteSuccessful, + OrganizationRuleStatusDeleteFailed, + OrganizationRuleStatusDeleteInProgress, + OrganizationRuleStatusUpdateSuccessful, + OrganizationRuleStatusUpdateInProgress, + OrganizationRuleStatusUpdateFailed, + } +} + const ( // OwnerCustomLambda is a Owner enum value OwnerCustomLambda = "CUSTOM_LAMBDA" @@ -23677,6 +23866,14 @@ const ( OwnerAws = "AWS" ) +// Owner_Values returns all elements of the Owner enum +func Owner_Values() []string { + return []string{ + OwnerCustomLambda, + OwnerAws, + } +} + const ( // RecorderStatusPending is a RecorderStatus enum value RecorderStatusPending = "Pending" @@ -23688,6 +23885,15 @@ const ( RecorderStatusFailure = "Failure" ) +// RecorderStatus_Values returns all elements of the RecorderStatus enum +func RecorderStatus_Values() []string { + return []string{ + RecorderStatusPending, + RecorderStatusSuccess, + RecorderStatusFailure, + } +} + const ( // RemediationExecutionStateQueued is a RemediationExecutionState enum value RemediationExecutionStateQueued = "QUEUED" @@ -23702,6 +23908,16 @@ const ( RemediationExecutionStateFailed = "FAILED" ) +// RemediationExecutionState_Values returns all elements of the RemediationExecutionState enum +func RemediationExecutionState_Values() []string { + return []string{ + RemediationExecutionStateQueued, + RemediationExecutionStateInProgress, + RemediationExecutionStateSucceeded, + RemediationExecutionStateFailed, + } +} + const ( // RemediationExecutionStepStateSucceeded is a RemediationExecutionStepState enum value RemediationExecutionStepStateSucceeded = "SUCCEEDED" @@ -23713,11 +23929,27 @@ const ( RemediationExecutionStepStateFailed = "FAILED" ) +// RemediationExecutionStepState_Values returns all elements of the RemediationExecutionStepState enum +func RemediationExecutionStepState_Values() []string { + return []string{ + RemediationExecutionStepStateSucceeded, + RemediationExecutionStepStatePending, + RemediationExecutionStepStateFailed, + } +} + const ( // RemediationTargetTypeSsmDocument is a RemediationTargetType enum value RemediationTargetTypeSsmDocument = "SSM_DOCUMENT" ) +// RemediationTargetType_Values returns all elements of the RemediationTargetType enum +func RemediationTargetType_Values() []string { + return []string{ + RemediationTargetTypeSsmDocument, + } +} + const ( // ResourceCountGroupKeyResourceType is a ResourceCountGroupKey enum value ResourceCountGroupKeyResourceType = "RESOURCE_TYPE" @@ -23729,6 +23961,15 @@ const ( ResourceCountGroupKeyAwsRegion = "AWS_REGION" ) +// ResourceCountGroupKey_Values returns all elements of the ResourceCountGroupKey enum +func ResourceCountGroupKey_Values() []string { + return []string{ + ResourceCountGroupKeyResourceType, + ResourceCountGroupKeyAccountId, + ResourceCountGroupKeyAwsRegion, + } +} + const ( // ResourceTypeAwsEc2CustomerGateway is a ResourceType enum value ResourceTypeAwsEc2CustomerGateway = "AWS::EC2::CustomerGateway" @@ -24010,7 +24251,113 @@ const ( ResourceTypeAwsSsmFileData = "AWS::SSM::FileData" ) +// ResourceType_Values returns all elements of the ResourceType enum +func ResourceType_Values() []string { + return []string{ + ResourceTypeAwsEc2CustomerGateway, + ResourceTypeAwsEc2Eip, + ResourceTypeAwsEc2Host, + ResourceTypeAwsEc2Instance, + ResourceTypeAwsEc2InternetGateway, + ResourceTypeAwsEc2NetworkAcl, + ResourceTypeAwsEc2NetworkInterface, + ResourceTypeAwsEc2RouteTable, + ResourceTypeAwsEc2SecurityGroup, + ResourceTypeAwsEc2Subnet, + ResourceTypeAwsCloudTrailTrail, + ResourceTypeAwsEc2Volume, + ResourceTypeAwsEc2Vpc, + ResourceTypeAwsEc2Vpnconnection, + ResourceTypeAwsEc2Vpngateway, + ResourceTypeAwsEc2RegisteredHainstance, + ResourceTypeAwsEc2NatGateway, + ResourceTypeAwsEc2EgressOnlyInternetGateway, + ResourceTypeAwsEc2Vpcendpoint, + ResourceTypeAwsEc2VpcendpointService, + ResourceTypeAwsEc2FlowLog, + ResourceTypeAwsEc2VpcpeeringConnection, + ResourceTypeAwsElasticsearchDomain, + ResourceTypeAwsIamGroup, + ResourceTypeAwsIamPolicy, + ResourceTypeAwsIamRole, + ResourceTypeAwsIamUser, + ResourceTypeAwsElasticLoadBalancingV2LoadBalancer, + ResourceTypeAwsAcmCertificate, + ResourceTypeAwsRdsDbinstance, + ResourceTypeAwsRdsDbsubnetGroup, + ResourceTypeAwsRdsDbsecurityGroup, + ResourceTypeAwsRdsDbsnapshot, + ResourceTypeAwsRdsDbcluster, + ResourceTypeAwsRdsDbclusterSnapshot, + ResourceTypeAwsRdsEventSubscription, + ResourceTypeAwsS3Bucket, + ResourceTypeAwsS3AccountPublicAccessBlock, + ResourceTypeAwsRedshiftCluster, + ResourceTypeAwsRedshiftClusterSnapshot, + ResourceTypeAwsRedshiftClusterParameterGroup, + ResourceTypeAwsRedshiftClusterSecurityGroup, + ResourceTypeAwsRedshiftClusterSubnetGroup, + ResourceTypeAwsRedshiftEventSubscription, + ResourceTypeAwsSsmManagedInstanceInventory, + ResourceTypeAwsCloudWatchAlarm, + ResourceTypeAwsCloudFormationStack, + ResourceTypeAwsElasticLoadBalancingLoadBalancer, + ResourceTypeAwsAutoScalingAutoScalingGroup, + ResourceTypeAwsAutoScalingLaunchConfiguration, + ResourceTypeAwsAutoScalingScalingPolicy, + ResourceTypeAwsAutoScalingScheduledAction, + ResourceTypeAwsDynamoDbTable, + ResourceTypeAwsCodeBuildProject, + ResourceTypeAwsWafRateBasedRule, + ResourceTypeAwsWafRule, + ResourceTypeAwsWafRuleGroup, + ResourceTypeAwsWafWebAcl, + ResourceTypeAwsWafregionalRateBasedRule, + ResourceTypeAwsWafregionalRule, + ResourceTypeAwsWafregionalRuleGroup, + ResourceTypeAwsWafregionalWebAcl, + ResourceTypeAwsCloudFrontDistribution, + ResourceTypeAwsCloudFrontStreamingDistribution, + ResourceTypeAwsLambdaFunction, + ResourceTypeAwsElasticBeanstalkApplication, + ResourceTypeAwsElasticBeanstalkApplicationVersion, + ResourceTypeAwsElasticBeanstalkEnvironment, + ResourceTypeAwsWafv2WebAcl, + ResourceTypeAwsWafv2RuleGroup, + ResourceTypeAwsWafv2Ipset, + ResourceTypeAwsWafv2RegexPatternSet, + ResourceTypeAwsWafv2ManagedRuleSet, + ResourceTypeAwsXrayEncryptionConfig, + ResourceTypeAwsSsmAssociationCompliance, + ResourceTypeAwsSsmPatchCompliance, + ResourceTypeAwsShieldProtection, + ResourceTypeAwsShieldRegionalProtection, + ResourceTypeAwsConfigResourceCompliance, + ResourceTypeAwsApiGatewayStage, + ResourceTypeAwsApiGatewayRestApi, + ResourceTypeAwsApiGatewayV2Stage, + ResourceTypeAwsApiGatewayV2Api, + ResourceTypeAwsCodePipelinePipeline, + ResourceTypeAwsServiceCatalogCloudFormationProvisionedProduct, + ResourceTypeAwsServiceCatalogCloudFormationProduct, + ResourceTypeAwsServiceCatalogPortfolio, + ResourceTypeAwsSqsQueue, + ResourceTypeAwsKmsKey, + ResourceTypeAwsQldbLedger, + ResourceTypeAwsSecretsManagerSecret, + ResourceTypeAwsSnsTopic, + ResourceTypeAwsSsmFileData, + } +} + const ( // ResourceValueTypeResourceId is a ResourceValueType enum value ResourceValueTypeResourceId = "RESOURCE_ID" ) + +// ResourceValueType_Values returns all elements of the ResourceValueType enum +func ResourceValueType_Values() []string { + return []string{ + ResourceValueTypeResourceId, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/costandusagereportservice/api.go b/vendor/github.com/aws/aws-sdk-go/service/costandusagereportservice/api.go index 0c07466c9c7..92f4fc59584 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/costandusagereportservice/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/costandusagereportservice/api.go @@ -1112,6 +1112,23 @@ const ( AWSRegionApEast1 = "ap-east-1" ) +// AWSRegion_Values returns all elements of the AWSRegion enum +func AWSRegion_Values() []string { + return []string{ + AWSRegionUsEast1, + AWSRegionUsWest1, + AWSRegionUsWest2, + AWSRegionEuCentral1, + AWSRegionEuWest1, + AWSRegionApSoutheast1, + AWSRegionApSoutheast2, + AWSRegionApNortheast1, + AWSRegionEuNorth1, + AWSRegionApNortheast3, + AWSRegionApEast1, + } +} + // The types of manifest that you want AWS to create for this report. const ( // AdditionalArtifactRedshift is a AdditionalArtifact enum value @@ -1124,6 +1141,15 @@ const ( AdditionalArtifactAthena = "ATHENA" ) +// AdditionalArtifact_Values returns all elements of the AdditionalArtifact enum +func AdditionalArtifact_Values() []string { + return []string{ + AdditionalArtifactRedshift, + AdditionalArtifactQuicksight, + AdditionalArtifactAthena, + } +} + // The compression format that AWS uses for the report. const ( // CompressionFormatZip is a CompressionFormat enum value @@ -1136,6 +1162,15 @@ const ( CompressionFormatParquet = "Parquet" ) +// CompressionFormat_Values returns all elements of the CompressionFormat enum +func CompressionFormat_Values() []string { + return []string{ + CompressionFormatZip, + CompressionFormatGzip, + CompressionFormatParquet, + } +} + // The format that AWS saves the report in. const ( // ReportFormatTextOrcsv is a ReportFormat enum value @@ -1145,6 +1180,14 @@ const ( ReportFormatParquet = "Parquet" ) +// ReportFormat_Values returns all elements of the ReportFormat enum +func ReportFormat_Values() []string { + return []string{ + ReportFormatTextOrcsv, + ReportFormatParquet, + } +} + const ( // ReportVersioningCreateNewReport is a ReportVersioning enum value ReportVersioningCreateNewReport = "CREATE_NEW_REPORT" @@ -1153,12 +1196,27 @@ const ( ReportVersioningOverwriteReport = "OVERWRITE_REPORT" ) +// ReportVersioning_Values returns all elements of the ReportVersioning enum +func ReportVersioning_Values() []string { + return []string{ + ReportVersioningCreateNewReport, + ReportVersioningOverwriteReport, + } +} + // Whether or not AWS includes resource IDs in the report. const ( // SchemaElementResources is a SchemaElement enum value SchemaElementResources = "RESOURCES" ) +// SchemaElement_Values returns all elements of the SchemaElement enum +func SchemaElement_Values() []string { + return []string{ + SchemaElementResources, + } +} + // The length of time covered by the report. const ( // TimeUnitHourly is a TimeUnit enum value @@ -1167,3 +1225,11 @@ const ( // TimeUnitDaily is a TimeUnit enum value TimeUnitDaily = "DAILY" ) + +// TimeUnit_Values returns all elements of the TimeUnit enum +func TimeUnit_Values() []string { + return []string{ + TimeUnitHourly, + TimeUnitDaily, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/databasemigrationservice/api.go b/vendor/github.com/aws/aws-sdk-go/service/databasemigrationservice/api.go index 6a926afa588..6794691418e 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/databasemigrationservice/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/databasemigrationservice/api.go @@ -17432,6 +17432,15 @@ const ( AuthMechanismValueScramSha1 = "scram_sha_1" ) +// AuthMechanismValue_Values returns all elements of the AuthMechanismValue enum +func AuthMechanismValue_Values() []string { + return []string{ + AuthMechanismValueDefault, + AuthMechanismValueMongodbCr, + AuthMechanismValueScramSha1, + } +} + const ( // AuthTypeValueNo is a AuthTypeValue enum value AuthTypeValueNo = "no" @@ -17440,6 +17449,14 @@ const ( AuthTypeValuePassword = "password" ) +// AuthTypeValue_Values returns all elements of the AuthTypeValue enum +func AuthTypeValue_Values() []string { + return []string{ + AuthTypeValueNo, + AuthTypeValuePassword, + } +} + const ( // CompressionTypeValueNone is a CompressionTypeValue enum value CompressionTypeValueNone = "none" @@ -17448,6 +17465,14 @@ const ( CompressionTypeValueGzip = "gzip" ) +// CompressionTypeValue_Values returns all elements of the CompressionTypeValue enum +func CompressionTypeValue_Values() []string { + return []string{ + CompressionTypeValueNone, + CompressionTypeValueGzip, + } +} + const ( // DataFormatValueCsv is a DataFormatValue enum value DataFormatValueCsv = "csv" @@ -17456,6 +17481,14 @@ const ( DataFormatValueParquet = "parquet" ) +// DataFormatValue_Values returns all elements of the DataFormatValue enum +func DataFormatValue_Values() []string { + return []string{ + DataFormatValueCsv, + DataFormatValueParquet, + } +} + const ( // DmsSslModeValueNone is a DmsSslModeValue enum value DmsSslModeValueNone = "none" @@ -17470,6 +17503,16 @@ const ( DmsSslModeValueVerifyFull = "verify-full" ) +// DmsSslModeValue_Values returns all elements of the DmsSslModeValue enum +func DmsSslModeValue_Values() []string { + return []string{ + DmsSslModeValueNone, + DmsSslModeValueRequire, + DmsSslModeValueVerifyCa, + DmsSslModeValueVerifyFull, + } +} + const ( // EncodingTypeValuePlain is a EncodingTypeValue enum value EncodingTypeValuePlain = "plain" @@ -17481,6 +17524,15 @@ const ( EncodingTypeValueRleDictionary = "rle-dictionary" ) +// EncodingTypeValue_Values returns all elements of the EncodingTypeValue enum +func EncodingTypeValue_Values() []string { + return []string{ + EncodingTypeValuePlain, + EncodingTypeValuePlainDictionary, + EncodingTypeValueRleDictionary, + } +} + const ( // EncryptionModeValueSseS3 is a EncryptionModeValue enum value EncryptionModeValueSseS3 = "sse-s3" @@ -17489,6 +17541,14 @@ const ( EncryptionModeValueSseKms = "sse-kms" ) +// EncryptionModeValue_Values returns all elements of the EncryptionModeValue enum +func EncryptionModeValue_Values() []string { + return []string{ + EncryptionModeValueSseS3, + EncryptionModeValueSseKms, + } +} + const ( // MessageFormatValueJson is a MessageFormatValue enum value MessageFormatValueJson = "json" @@ -17497,6 +17557,14 @@ const ( MessageFormatValueJsonUnformatted = "json-unformatted" ) +// MessageFormatValue_Values returns all elements of the MessageFormatValue enum +func MessageFormatValue_Values() []string { + return []string{ + MessageFormatValueJson, + MessageFormatValueJsonUnformatted, + } +} + const ( // MigrationTypeValueFullLoad is a MigrationTypeValue enum value MigrationTypeValueFullLoad = "full-load" @@ -17508,6 +17576,15 @@ const ( MigrationTypeValueFullLoadAndCdc = "full-load-and-cdc" ) +// MigrationTypeValue_Values returns all elements of the MigrationTypeValue enum +func MigrationTypeValue_Values() []string { + return []string{ + MigrationTypeValueFullLoad, + MigrationTypeValueCdc, + MigrationTypeValueFullLoadAndCdc, + } +} + const ( // NestingLevelValueNone is a NestingLevelValue enum value NestingLevelValueNone = "none" @@ -17516,6 +17593,14 @@ const ( NestingLevelValueOne = "one" ) +// NestingLevelValue_Values returns all elements of the NestingLevelValue enum +func NestingLevelValue_Values() []string { + return []string{ + NestingLevelValueNone, + NestingLevelValueOne, + } +} + const ( // ParquetVersionValueParquet10 is a ParquetVersionValue enum value ParquetVersionValueParquet10 = "parquet-1-0" @@ -17524,6 +17609,14 @@ const ( ParquetVersionValueParquet20 = "parquet-2-0" ) +// ParquetVersionValue_Values returns all elements of the ParquetVersionValue enum +func ParquetVersionValue_Values() []string { + return []string{ + ParquetVersionValueParquet10, + ParquetVersionValueParquet20, + } +} + const ( // RefreshSchemasStatusTypeValueSuccessful is a RefreshSchemasStatusTypeValue enum value RefreshSchemasStatusTypeValueSuccessful = "successful" @@ -17535,11 +17628,27 @@ const ( RefreshSchemasStatusTypeValueRefreshing = "refreshing" ) +// RefreshSchemasStatusTypeValue_Values returns all elements of the RefreshSchemasStatusTypeValue enum +func RefreshSchemasStatusTypeValue_Values() []string { + return []string{ + RefreshSchemasStatusTypeValueSuccessful, + RefreshSchemasStatusTypeValueFailed, + RefreshSchemasStatusTypeValueRefreshing, + } +} + const ( // ReleaseStatusValuesBeta is a ReleaseStatusValues enum value ReleaseStatusValuesBeta = "beta" ) +// ReleaseStatusValues_Values returns all elements of the ReleaseStatusValues enum +func ReleaseStatusValues_Values() []string { + return []string{ + ReleaseStatusValuesBeta, + } +} + const ( // ReloadOptionValueDataReload is a ReloadOptionValue enum value ReloadOptionValueDataReload = "data-reload" @@ -17548,6 +17657,14 @@ const ( ReloadOptionValueValidateOnly = "validate-only" ) +// ReloadOptionValue_Values returns all elements of the ReloadOptionValue enum +func ReloadOptionValue_Values() []string { + return []string{ + ReloadOptionValueDataReload, + ReloadOptionValueValidateOnly, + } +} + const ( // ReplicationEndpointTypeValueSource is a ReplicationEndpointTypeValue enum value ReplicationEndpointTypeValueSource = "source" @@ -17556,11 +17673,26 @@ const ( ReplicationEndpointTypeValueTarget = "target" ) +// ReplicationEndpointTypeValue_Values returns all elements of the ReplicationEndpointTypeValue enum +func ReplicationEndpointTypeValue_Values() []string { + return []string{ + ReplicationEndpointTypeValueSource, + ReplicationEndpointTypeValueTarget, + } +} + const ( // SourceTypeReplicationInstance is a SourceType enum value SourceTypeReplicationInstance = "replication-instance" ) +// SourceType_Values returns all elements of the SourceType enum +func SourceType_Values() []string { + return []string{ + SourceTypeReplicationInstance, + } +} + const ( // StartReplicationTaskTypeValueStartReplication is a StartReplicationTaskTypeValue enum value StartReplicationTaskTypeValueStartReplication = "start-replication" @@ -17571,3 +17703,12 @@ const ( // StartReplicationTaskTypeValueReloadTarget is a StartReplicationTaskTypeValue enum value StartReplicationTaskTypeValueReloadTarget = "reload-target" ) + +// StartReplicationTaskTypeValue_Values returns all elements of the StartReplicationTaskTypeValue enum +func StartReplicationTaskTypeValue_Values() []string { + return []string{ + StartReplicationTaskTypeValueStartReplication, + StartReplicationTaskTypeValueResumeProcessing, + StartReplicationTaskTypeValueReloadTarget, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/dataexchange/api.go b/vendor/github.com/aws/aws-sdk-go/service/dataexchange/api.go index 4c2d95b46bc..9eb037715ac 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/dataexchange/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/dataexchange/api.go @@ -6661,6 +6661,13 @@ const ( AssetTypeS3Snapshot = "S3_SNAPSHOT" ) +// AssetType_Values returns all elements of the AssetType enum +func AssetType_Values() []string { + return []string{ + AssetTypeS3Snapshot, + } +} + const ( // CodeAccessDeniedException is a Code enum value CodeAccessDeniedException = "ACCESS_DENIED_EXCEPTION" @@ -6684,6 +6691,19 @@ const ( CodeMalwareScanEncryptedFile = "MALWARE_SCAN_ENCRYPTED_FILE" ) +// Code_Values returns all elements of the Code enum +func Code_Values() []string { + return []string{ + CodeAccessDeniedException, + CodeInternalServerException, + CodeMalwareDetected, + CodeResourceNotFoundException, + CodeServiceQuotaExceededException, + CodeValidationException, + CodeMalwareScanEncryptedFile, + } +} + // The name of the limit that was reached. const ( // JobErrorLimitNameAssetsperrevision is a JobErrorLimitName enum value @@ -6693,6 +6713,14 @@ const ( JobErrorLimitNameAssetsizeinGb = "Asset size in GB" ) +// JobErrorLimitName_Values returns all elements of the JobErrorLimitName enum +func JobErrorLimitName_Values() []string { + return []string{ + JobErrorLimitNameAssetsperrevision, + JobErrorLimitNameAssetsizeinGb, + } +} + // The types of resource which the job error can apply to. const ( // JobErrorResourceTypesRevision is a JobErrorResourceTypes enum value @@ -6702,6 +6730,14 @@ const ( JobErrorResourceTypesAsset = "ASSET" ) +// JobErrorResourceTypes_Values returns all elements of the JobErrorResourceTypes enum +func JobErrorResourceTypes_Values() []string { + return []string{ + JobErrorResourceTypesRevision, + JobErrorResourceTypesAsset, + } +} + const ( // LimitNameProductsperaccount is a LimitName enum value LimitNameProductsperaccount = "Products per account" @@ -6740,6 +6776,24 @@ const ( LimitNameConcurrentinprogressjobstoexportassetstoasignedUrl = "Concurrent in progress jobs to export assets to a signed URL" ) +// LimitName_Values returns all elements of the LimitName enum +func LimitName_Values() []string { + return []string{ + LimitNameProductsperaccount, + LimitNameDatasetsperaccount, + LimitNameDatasetsperproduct, + LimitNameRevisionsperdataset, + LimitNameAssetsperrevision, + LimitNameAssetsperimportjobfromAmazonS3, + LimitNameAssetperexportjobfromAmazonS3, + LimitNameAssetsizeinGb, + LimitNameConcurrentinprogressjobstoimportassetsfromAmazonS3, + LimitNameConcurrentinprogressjobstoimportassetsfromasignedUrl, + LimitNameConcurrentinprogressjobstoexportassetstoAmazonS3, + LimitNameConcurrentinprogressjobstoexportassetstoasignedUrl, + } +} + // A property that defines the data set as OWNED by the account (for providers) // or ENTITLED to the account (for subscribers). When an owned data set is published // in a product, AWS Data Exchange creates a copy of the data set. Subscribers @@ -6752,6 +6806,14 @@ const ( OriginEntitled = "ENTITLED" ) +// Origin_Values returns all elements of the Origin enum +func Origin_Values() []string { + return []string{ + OriginOwned, + OriginEntitled, + } +} + const ( // ResourceTypeDataSet is a ResourceType enum value ResourceTypeDataSet = "DATA_SET" @@ -6766,6 +6828,16 @@ const ( ResourceTypeJob = "JOB" ) +// ResourceType_Values returns all elements of the ResourceType enum +func ResourceType_Values() []string { + return []string{ + ResourceTypeDataSet, + ResourceTypeRevision, + ResourceTypeAsset, + ResourceTypeJob, + } +} + // The types of encryption supported in export jobs to Amazon S3. const ( // ServerSideEncryptionTypesAwsKms is a ServerSideEncryptionTypes enum value @@ -6775,6 +6847,14 @@ const ( ServerSideEncryptionTypesAes256 = "AES256" ) +// ServerSideEncryptionTypes_Values returns all elements of the ServerSideEncryptionTypes enum +func ServerSideEncryptionTypes_Values() []string { + return []string{ + ServerSideEncryptionTypesAwsKms, + ServerSideEncryptionTypesAes256, + } +} + const ( // StateWaiting is a State enum value StateWaiting = "WAITING" @@ -6795,6 +6875,18 @@ const ( StateTimedOut = "TIMED_OUT" ) +// State_Values returns all elements of the State enum +func State_Values() []string { + return []string{ + StateWaiting, + StateInProgress, + StateError, + StateCompleted, + StateCancelled, + StateTimedOut, + } +} + const ( // TypeImportAssetsFromS3 is a Type enum value TypeImportAssetsFromS3 = "IMPORT_ASSETS_FROM_S3" @@ -6808,3 +6900,13 @@ const ( // TypeExportAssetToSignedUrl is a Type enum value TypeExportAssetToSignedUrl = "EXPORT_ASSET_TO_SIGNED_URL" ) + +// Type_Values returns all elements of the Type enum +func Type_Values() []string { + return []string{ + TypeImportAssetsFromS3, + TypeImportAssetFromSignedUrl, + TypeExportAssetsToS3, + TypeExportAssetToSignedUrl, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/datapipeline/api.go b/vendor/github.com/aws/aws-sdk-go/service/datapipeline/api.go index d4067601430..66aef55f79d 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/datapipeline/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/datapipeline/api.go @@ -4956,6 +4956,17 @@ const ( OperatorTypeBetween = "BETWEEN" ) +// OperatorType_Values returns all elements of the OperatorType enum +func OperatorType_Values() []string { + return []string{ + OperatorTypeEq, + OperatorTypeRefEq, + OperatorTypeLe, + OperatorTypeGe, + OperatorTypeBetween, + } +} + const ( // TaskStatusFinished is a TaskStatus enum value TaskStatusFinished = "FINISHED" @@ -4966,3 +4977,12 @@ const ( // TaskStatusFalse is a TaskStatus enum value TaskStatusFalse = "FALSE" ) + +// TaskStatus_Values returns all elements of the TaskStatus enum +func TaskStatus_Values() []string { + return []string{ + TaskStatusFinished, + TaskStatusFailed, + TaskStatusFalse, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/datasync/api.go b/vendor/github.com/aws/aws-sdk-go/service/datasync/api.go index 3473737cf83..0ce90849d06 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/datasync/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/datasync/api.go @@ -7486,6 +7486,14 @@ const ( AgentStatusOffline = "OFFLINE" ) +// AgentStatus_Values returns all elements of the AgentStatus enum +func AgentStatus_Values() []string { + return []string{ + AgentStatusOnline, + AgentStatusOffline, + } +} + const ( // AtimeNone is a Atime enum value AtimeNone = "NONE" @@ -7494,6 +7502,14 @@ const ( AtimeBestEffort = "BEST_EFFORT" ) +// Atime_Values returns all elements of the Atime enum +func Atime_Values() []string { + return []string{ + AtimeNone, + AtimeBestEffort, + } +} + const ( // EndpointTypePublic is a EndpointType enum value EndpointTypePublic = "PUBLIC" @@ -7505,11 +7521,27 @@ const ( EndpointTypeFips = "FIPS" ) +// EndpointType_Values returns all elements of the EndpointType enum +func EndpointType_Values() []string { + return []string{ + EndpointTypePublic, + EndpointTypePrivateLink, + EndpointTypeFips, + } +} + const ( // FilterTypeSimplePattern is a FilterType enum value FilterTypeSimplePattern = "SIMPLE_PATTERN" ) +// FilterType_Values returns all elements of the FilterType enum +func FilterType_Values() []string { + return []string{ + FilterTypeSimplePattern, + } +} + const ( // GidNone is a Gid enum value GidNone = "NONE" @@ -7524,6 +7556,16 @@ const ( GidBoth = "BOTH" ) +// Gid_Values returns all elements of the Gid enum +func Gid_Values() []string { + return []string{ + GidNone, + GidIntValue, + GidName, + GidBoth, + } +} + const ( // LogLevelOff is a LogLevel enum value LogLevelOff = "OFF" @@ -7535,6 +7577,15 @@ const ( LogLevelTransfer = "TRANSFER" ) +// LogLevel_Values returns all elements of the LogLevel enum +func LogLevel_Values() []string { + return []string{ + LogLevelOff, + LogLevelBasic, + LogLevelTransfer, + } +} + const ( // MtimeNone is a Mtime enum value MtimeNone = "NONE" @@ -7543,6 +7594,14 @@ const ( MtimePreserve = "PRESERVE" ) +// Mtime_Values returns all elements of the Mtime enum +func Mtime_Values() []string { + return []string{ + MtimeNone, + MtimePreserve, + } +} + const ( // NfsVersionAutomatic is a NfsVersion enum value NfsVersionAutomatic = "AUTOMATIC" @@ -7557,6 +7616,16 @@ const ( NfsVersionNfs41 = "NFS4_1" ) +// NfsVersion_Values returns all elements of the NfsVersion enum +func NfsVersion_Values() []string { + return []string{ + NfsVersionAutomatic, + NfsVersionNfs3, + NfsVersionNfs40, + NfsVersionNfs41, + } +} + const ( // ObjectStorageServerProtocolHttps is a ObjectStorageServerProtocol enum value ObjectStorageServerProtocolHttps = "HTTPS" @@ -7565,6 +7634,14 @@ const ( ObjectStorageServerProtocolHttp = "HTTP" ) +// ObjectStorageServerProtocol_Values returns all elements of the ObjectStorageServerProtocol enum +func ObjectStorageServerProtocol_Values() []string { + return []string{ + ObjectStorageServerProtocolHttps, + ObjectStorageServerProtocolHttp, + } +} + const ( // OverwriteModeAlways is a OverwriteMode enum value OverwriteModeAlways = "ALWAYS" @@ -7573,6 +7650,14 @@ const ( OverwriteModeNever = "NEVER" ) +// OverwriteMode_Values returns all elements of the OverwriteMode enum +func OverwriteMode_Values() []string { + return []string{ + OverwriteModeAlways, + OverwriteModeNever, + } +} + const ( // PhaseStatusPending is a PhaseStatus enum value PhaseStatusPending = "PENDING" @@ -7584,6 +7669,15 @@ const ( PhaseStatusError = "ERROR" ) +// PhaseStatus_Values returns all elements of the PhaseStatus enum +func PhaseStatus_Values() []string { + return []string{ + PhaseStatusPending, + PhaseStatusSuccess, + PhaseStatusError, + } +} + const ( // PosixPermissionsNone is a PosixPermissions enum value PosixPermissionsNone = "NONE" @@ -7592,6 +7686,14 @@ const ( PosixPermissionsPreserve = "PRESERVE" ) +// PosixPermissions_Values returns all elements of the PosixPermissions enum +func PosixPermissions_Values() []string { + return []string{ + PosixPermissionsNone, + PosixPermissionsPreserve, + } +} + const ( // PreserveDeletedFilesPreserve is a PreserveDeletedFiles enum value PreserveDeletedFilesPreserve = "PRESERVE" @@ -7600,6 +7702,14 @@ const ( PreserveDeletedFilesRemove = "REMOVE" ) +// PreserveDeletedFiles_Values returns all elements of the PreserveDeletedFiles enum +func PreserveDeletedFiles_Values() []string { + return []string{ + PreserveDeletedFilesPreserve, + PreserveDeletedFilesRemove, + } +} + const ( // PreserveDevicesNone is a PreserveDevices enum value PreserveDevicesNone = "NONE" @@ -7608,6 +7718,14 @@ const ( PreserveDevicesPreserve = "PRESERVE" ) +// PreserveDevices_Values returns all elements of the PreserveDevices enum +func PreserveDevices_Values() []string { + return []string{ + PreserveDevicesNone, + PreserveDevicesPreserve, + } +} + const ( // S3StorageClassStandard is a S3StorageClass enum value S3StorageClassStandard = "STANDARD" @@ -7628,6 +7746,18 @@ const ( S3StorageClassDeepArchive = "DEEP_ARCHIVE" ) +// S3StorageClass_Values returns all elements of the S3StorageClass enum +func S3StorageClass_Values() []string { + return []string{ + S3StorageClassStandard, + S3StorageClassStandardIa, + S3StorageClassOnezoneIa, + S3StorageClassIntelligentTiering, + S3StorageClassGlacier, + S3StorageClassDeepArchive, + } +} + const ( // SmbVersionAutomatic is a SmbVersion enum value SmbVersionAutomatic = "AUTOMATIC" @@ -7639,6 +7769,15 @@ const ( SmbVersionSmb3 = "SMB3" ) +// SmbVersion_Values returns all elements of the SmbVersion enum +func SmbVersion_Values() []string { + return []string{ + SmbVersionAutomatic, + SmbVersionSmb2, + SmbVersionSmb3, + } +} + const ( // TaskExecutionStatusQueued is a TaskExecutionStatus enum value TaskExecutionStatusQueued = "QUEUED" @@ -7662,6 +7801,19 @@ const ( TaskExecutionStatusError = "ERROR" ) +// TaskExecutionStatus_Values returns all elements of the TaskExecutionStatus enum +func TaskExecutionStatus_Values() []string { + return []string{ + TaskExecutionStatusQueued, + TaskExecutionStatusLaunching, + TaskExecutionStatusPreparing, + TaskExecutionStatusTransferring, + TaskExecutionStatusVerifying, + TaskExecutionStatusSuccess, + TaskExecutionStatusError, + } +} + const ( // TaskQueueingEnabled is a TaskQueueing enum value TaskQueueingEnabled = "ENABLED" @@ -7670,6 +7822,14 @@ const ( TaskQueueingDisabled = "DISABLED" ) +// TaskQueueing_Values returns all elements of the TaskQueueing enum +func TaskQueueing_Values() []string { + return []string{ + TaskQueueingEnabled, + TaskQueueingDisabled, + } +} + const ( // TaskStatusAvailable is a TaskStatus enum value TaskStatusAvailable = "AVAILABLE" @@ -7687,6 +7847,17 @@ const ( TaskStatusUnavailable = "UNAVAILABLE" ) +// TaskStatus_Values returns all elements of the TaskStatus enum +func TaskStatus_Values() []string { + return []string{ + TaskStatusAvailable, + TaskStatusCreating, + TaskStatusQueued, + TaskStatusRunning, + TaskStatusUnavailable, + } +} + const ( // TransferModeChanged is a TransferMode enum value TransferModeChanged = "CHANGED" @@ -7695,6 +7866,14 @@ const ( TransferModeAll = "ALL" ) +// TransferMode_Values returns all elements of the TransferMode enum +func TransferMode_Values() []string { + return []string{ + TransferModeChanged, + TransferModeAll, + } +} + const ( // UidNone is a Uid enum value UidNone = "NONE" @@ -7709,6 +7888,16 @@ const ( UidBoth = "BOTH" ) +// Uid_Values returns all elements of the Uid enum +func Uid_Values() []string { + return []string{ + UidNone, + UidIntValue, + UidName, + UidBoth, + } +} + const ( // VerifyModePointInTimeConsistent is a VerifyMode enum value VerifyModePointInTimeConsistent = "POINT_IN_TIME_CONSISTENT" @@ -7719,3 +7908,12 @@ const ( // VerifyModeNone is a VerifyMode enum value VerifyModeNone = "NONE" ) + +// VerifyMode_Values returns all elements of the VerifyMode enum +func VerifyMode_Values() []string { + return []string{ + VerifyModePointInTimeConsistent, + VerifyModeOnlyFilesTransferred, + VerifyModeNone, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/dax/api.go b/vendor/github.com/aws/aws-sdk-go/service/dax/api.go index 8a2add4a30e..1d3195713aa 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/dax/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/dax/api.go @@ -6218,6 +6218,14 @@ const ( ChangeTypeRequiresReboot = "REQUIRES_REBOOT" ) +// ChangeType_Values returns all elements of the ChangeType enum +func ChangeType_Values() []string { + return []string{ + ChangeTypeImmediate, + ChangeTypeRequiresReboot, + } +} + const ( // IsModifiableTrue is a IsModifiable enum value IsModifiableTrue = "TRUE" @@ -6229,6 +6237,15 @@ const ( IsModifiableConditional = "CONDITIONAL" ) +// IsModifiable_Values returns all elements of the IsModifiable enum +func IsModifiable_Values() []string { + return []string{ + IsModifiableTrue, + IsModifiableFalse, + IsModifiableConditional, + } +} + const ( // ParameterTypeDefault is a ParameterType enum value ParameterTypeDefault = "DEFAULT" @@ -6237,6 +6254,14 @@ const ( ParameterTypeNodeTypeSpecific = "NODE_TYPE_SPECIFIC" ) +// ParameterType_Values returns all elements of the ParameterType enum +func ParameterType_Values() []string { + return []string{ + ParameterTypeDefault, + ParameterTypeNodeTypeSpecific, + } +} + const ( // SSEStatusEnabling is a SSEStatus enum value SSEStatusEnabling = "ENABLING" @@ -6251,6 +6276,16 @@ const ( SSEStatusDisabled = "DISABLED" ) +// SSEStatus_Values returns all elements of the SSEStatus enum +func SSEStatus_Values() []string { + return []string{ + SSEStatusEnabling, + SSEStatusEnabled, + SSEStatusDisabling, + SSEStatusDisabled, + } +} + const ( // SourceTypeCluster is a SourceType enum value SourceTypeCluster = "CLUSTER" @@ -6261,3 +6296,12 @@ const ( // SourceTypeSubnetGroup is a SourceType enum value SourceTypeSubnetGroup = "SUBNET_GROUP" ) + +// SourceType_Values returns all elements of the SourceType enum +func SourceType_Values() []string { + return []string{ + SourceTypeCluster, + SourceTypeParameterGroup, + SourceTypeSubnetGroup, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/devicefarm/api.go b/vendor/github.com/aws/aws-sdk-go/service/devicefarm/api.go index 794dbc5c295..81646ad64ce 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/devicefarm/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/devicefarm/api.go @@ -19903,6 +19903,15 @@ const ( ArtifactCategoryLog = "LOG" ) +// ArtifactCategory_Values returns all elements of the ArtifactCategory enum +func ArtifactCategory_Values() []string { + return []string{ + ArtifactCategoryScreenshot, + ArtifactCategoryFile, + ArtifactCategoryLog, + } +} + const ( // ArtifactTypeUnknown is a ArtifactType enum value ArtifactTypeUnknown = "UNKNOWN" @@ -19989,6 +19998,40 @@ const ( ArtifactTypeTestspecOutput = "TESTSPEC_OUTPUT" ) +// ArtifactType_Values returns all elements of the ArtifactType enum +func ArtifactType_Values() []string { + return []string{ + ArtifactTypeUnknown, + ArtifactTypeScreenshot, + ArtifactTypeDeviceLog, + ArtifactTypeMessageLog, + ArtifactTypeVideoLog, + ArtifactTypeResultLog, + ArtifactTypeServiceLog, + ArtifactTypeWebkitLog, + ArtifactTypeInstrumentationOutput, + ArtifactTypeExerciserMonkeyOutput, + ArtifactTypeCalabashJsonOutput, + ArtifactTypeCalabashPrettyOutput, + ArtifactTypeCalabashStandardOutput, + ArtifactTypeCalabashJavaXmlOutput, + ArtifactTypeAutomationOutput, + ArtifactTypeAppiumServerOutput, + ArtifactTypeAppiumJavaOutput, + ArtifactTypeAppiumJavaXmlOutput, + ArtifactTypeAppiumPythonOutput, + ArtifactTypeAppiumPythonXmlOutput, + ArtifactTypeExplorerEventLog, + ArtifactTypeExplorerSummaryLog, + ArtifactTypeApplicationCrashReport, + ArtifactTypeXctestLog, + ArtifactTypeVideo, + ArtifactTypeCustomerArtifact, + ArtifactTypeCustomerArtifactLog, + ArtifactTypeTestspecOutput, + } +} + const ( // BillingMethodMetered is a BillingMethod enum value BillingMethodMetered = "METERED" @@ -19997,11 +20040,26 @@ const ( BillingMethodUnmetered = "UNMETERED" ) +// BillingMethod_Values returns all elements of the BillingMethod enum +func BillingMethod_Values() []string { + return []string{ + BillingMethodMetered, + BillingMethodUnmetered, + } +} + const ( // CurrencyCodeUsd is a CurrencyCode enum value CurrencyCodeUsd = "USD" ) +// CurrencyCode_Values returns all elements of the CurrencyCode enum +func CurrencyCode_Values() []string { + return []string{ + CurrencyCodeUsd, + } +} + const ( // DeviceAttributeArn is a DeviceAttribute enum value DeviceAttributeArn = "ARN" @@ -20043,6 +20101,25 @@ const ( DeviceAttributeAvailability = "AVAILABILITY" ) +// DeviceAttribute_Values returns all elements of the DeviceAttribute enum +func DeviceAttribute_Values() []string { + return []string{ + DeviceAttributeArn, + DeviceAttributePlatform, + DeviceAttributeFormFactor, + DeviceAttributeManufacturer, + DeviceAttributeRemoteAccessEnabled, + DeviceAttributeRemoteDebugEnabled, + DeviceAttributeAppiumVersion, + DeviceAttributeInstanceArn, + DeviceAttributeInstanceLabels, + DeviceAttributeFleetType, + DeviceAttributeOsVersion, + DeviceAttributeModel, + DeviceAttributeAvailability, + } +} + const ( // DeviceAvailabilityTemporaryNotAvailable is a DeviceAvailability enum value DeviceAvailabilityTemporaryNotAvailable = "TEMPORARY_NOT_AVAILABLE" @@ -20057,6 +20134,16 @@ const ( DeviceAvailabilityHighlyAvailable = "HIGHLY_AVAILABLE" ) +// DeviceAvailability_Values returns all elements of the DeviceAvailability enum +func DeviceAvailability_Values() []string { + return []string{ + DeviceAvailabilityTemporaryNotAvailable, + DeviceAvailabilityBusy, + DeviceAvailabilityAvailable, + DeviceAvailabilityHighlyAvailable, + } +} + const ( // DeviceFilterAttributeArn is a DeviceFilterAttribute enum value DeviceFilterAttributeArn = "ARN" @@ -20095,6 +20182,24 @@ const ( DeviceFilterAttributeFleetType = "FLEET_TYPE" ) +// DeviceFilterAttribute_Values returns all elements of the DeviceFilterAttribute enum +func DeviceFilterAttribute_Values() []string { + return []string{ + DeviceFilterAttributeArn, + DeviceFilterAttributePlatform, + DeviceFilterAttributeOsVersion, + DeviceFilterAttributeModel, + DeviceFilterAttributeAvailability, + DeviceFilterAttributeFormFactor, + DeviceFilterAttributeManufacturer, + DeviceFilterAttributeRemoteAccessEnabled, + DeviceFilterAttributeRemoteDebugEnabled, + DeviceFilterAttributeInstanceArn, + DeviceFilterAttributeInstanceLabels, + DeviceFilterAttributeFleetType, + } +} + const ( // DeviceFormFactorPhone is a DeviceFormFactor enum value DeviceFormFactorPhone = "PHONE" @@ -20103,6 +20208,14 @@ const ( DeviceFormFactorTablet = "TABLET" ) +// DeviceFormFactor_Values returns all elements of the DeviceFormFactor enum +func DeviceFormFactor_Values() []string { + return []string{ + DeviceFormFactorPhone, + DeviceFormFactorTablet, + } +} + const ( // DevicePlatformAndroid is a DevicePlatform enum value DevicePlatformAndroid = "ANDROID" @@ -20111,6 +20224,14 @@ const ( DevicePlatformIos = "IOS" ) +// DevicePlatform_Values returns all elements of the DevicePlatform enum +func DevicePlatform_Values() []string { + return []string{ + DevicePlatformAndroid, + DevicePlatformIos, + } +} + const ( // DevicePoolTypeCurated is a DevicePoolType enum value DevicePoolTypeCurated = "CURATED" @@ -20119,6 +20240,14 @@ const ( DevicePoolTypePrivate = "PRIVATE" ) +// DevicePoolType_Values returns all elements of the DevicePoolType enum +func DevicePoolType_Values() []string { + return []string{ + DevicePoolTypeCurated, + DevicePoolTypePrivate, + } +} + const ( // ExecutionResultPending is a ExecutionResult enum value ExecutionResultPending = "PENDING" @@ -20142,6 +20271,19 @@ const ( ExecutionResultStopped = "STOPPED" ) +// ExecutionResult_Values returns all elements of the ExecutionResult enum +func ExecutionResult_Values() []string { + return []string{ + ExecutionResultPending, + ExecutionResultPassed, + ExecutionResultWarned, + ExecutionResultFailed, + ExecutionResultSkipped, + ExecutionResultErrored, + ExecutionResultStopped, + } +} + const ( // ExecutionResultCodeParsingFailed is a ExecutionResultCode enum value ExecutionResultCodeParsingFailed = "PARSING_FAILED" @@ -20150,6 +20292,14 @@ const ( ExecutionResultCodeVpcEndpointSetupFailed = "VPC_ENDPOINT_SETUP_FAILED" ) +// ExecutionResultCode_Values returns all elements of the ExecutionResultCode enum +func ExecutionResultCode_Values() []string { + return []string{ + ExecutionResultCodeParsingFailed, + ExecutionResultCodeVpcEndpointSetupFailed, + } +} + const ( // ExecutionStatusPending is a ExecutionStatus enum value ExecutionStatusPending = "PENDING" @@ -20179,6 +20329,21 @@ const ( ExecutionStatusStopping = "STOPPING" ) +// ExecutionStatus_Values returns all elements of the ExecutionStatus enum +func ExecutionStatus_Values() []string { + return []string{ + ExecutionStatusPending, + ExecutionStatusPendingConcurrency, + ExecutionStatusPendingDevice, + ExecutionStatusProcessing, + ExecutionStatusScheduling, + ExecutionStatusPreparing, + ExecutionStatusRunning, + ExecutionStatusCompleted, + ExecutionStatusStopping, + } +} + const ( // InstanceStatusInUse is a InstanceStatus enum value InstanceStatusInUse = "IN_USE" @@ -20193,6 +20358,16 @@ const ( InstanceStatusNotAvailable = "NOT_AVAILABLE" ) +// InstanceStatus_Values returns all elements of the InstanceStatus enum +func InstanceStatus_Values() []string { + return []string{ + InstanceStatusInUse, + InstanceStatusPreparing, + InstanceStatusAvailable, + InstanceStatusNotAvailable, + } +} + const ( // InteractionModeInteractive is a InteractionMode enum value InteractionModeInteractive = "INTERACTIVE" @@ -20204,6 +20379,15 @@ const ( InteractionModeVideoOnly = "VIDEO_ONLY" ) +// InteractionMode_Values returns all elements of the InteractionMode enum +func InteractionMode_Values() []string { + return []string{ + InteractionModeInteractive, + InteractionModeNoVideo, + InteractionModeVideoOnly, + } +} + const ( // NetworkProfileTypeCurated is a NetworkProfileType enum value NetworkProfileTypeCurated = "CURATED" @@ -20212,6 +20396,14 @@ const ( NetworkProfileTypePrivate = "PRIVATE" ) +// NetworkProfileType_Values returns all elements of the NetworkProfileType enum +func NetworkProfileType_Values() []string { + return []string{ + NetworkProfileTypeCurated, + NetworkProfileTypePrivate, + } +} + const ( // OfferingTransactionTypePurchase is a OfferingTransactionType enum value OfferingTransactionTypePurchase = "PURCHASE" @@ -20223,16 +20415,39 @@ const ( OfferingTransactionTypeSystem = "SYSTEM" ) +// OfferingTransactionType_Values returns all elements of the OfferingTransactionType enum +func OfferingTransactionType_Values() []string { + return []string{ + OfferingTransactionTypePurchase, + OfferingTransactionTypeRenew, + OfferingTransactionTypeSystem, + } +} + const ( // OfferingTypeRecurring is a OfferingType enum value OfferingTypeRecurring = "RECURRING" ) +// OfferingType_Values returns all elements of the OfferingType enum +func OfferingType_Values() []string { + return []string{ + OfferingTypeRecurring, + } +} + const ( // RecurringChargeFrequencyMonthly is a RecurringChargeFrequency enum value RecurringChargeFrequencyMonthly = "MONTHLY" ) +// RecurringChargeFrequency_Values returns all elements of the RecurringChargeFrequency enum +func RecurringChargeFrequency_Values() []string { + return []string{ + RecurringChargeFrequencyMonthly, + } +} + const ( // RuleOperatorEquals is a RuleOperator enum value RuleOperatorEquals = "EQUALS" @@ -20259,6 +20474,20 @@ const ( RuleOperatorContains = "CONTAINS" ) +// RuleOperator_Values returns all elements of the RuleOperator enum +func RuleOperator_Values() []string { + return []string{ + RuleOperatorEquals, + RuleOperatorLessThan, + RuleOperatorLessThanOrEquals, + RuleOperatorGreaterThan, + RuleOperatorGreaterThanOrEquals, + RuleOperatorIn, + RuleOperatorNotIn, + RuleOperatorContains, + } +} + const ( // SampleTypeCpu is a SampleType enum value SampleTypeCpu = "CPU" @@ -20312,6 +20541,29 @@ const ( SampleTypeOpenglMaxDrawtime = "OPENGL_MAX_DRAWTIME" ) +// SampleType_Values returns all elements of the SampleType enum +func SampleType_Values() []string { + return []string{ + SampleTypeCpu, + SampleTypeMemory, + SampleTypeThreads, + SampleTypeRxRate, + SampleTypeTxRate, + SampleTypeRx, + SampleTypeTx, + SampleTypeNativeFrames, + SampleTypeNativeFps, + SampleTypeNativeMinDrawtime, + SampleTypeNativeAvgDrawtime, + SampleTypeNativeMaxDrawtime, + SampleTypeOpenglFrames, + SampleTypeOpenglFps, + SampleTypeOpenglMinDrawtime, + SampleTypeOpenglAvgDrawtime, + SampleTypeOpenglMaxDrawtime, + } +} + const ( // TestGridSessionArtifactCategoryVideo is a TestGridSessionArtifactCategory enum value TestGridSessionArtifactCategoryVideo = "VIDEO" @@ -20320,6 +20572,14 @@ const ( TestGridSessionArtifactCategoryLog = "LOG" ) +// TestGridSessionArtifactCategory_Values returns all elements of the TestGridSessionArtifactCategory enum +func TestGridSessionArtifactCategory_Values() []string { + return []string{ + TestGridSessionArtifactCategoryVideo, + TestGridSessionArtifactCategoryLog, + } +} + const ( // TestGridSessionArtifactTypeUnknown is a TestGridSessionArtifactType enum value TestGridSessionArtifactTypeUnknown = "UNKNOWN" @@ -20331,6 +20591,15 @@ const ( TestGridSessionArtifactTypeSeleniumLog = "SELENIUM_LOG" ) +// TestGridSessionArtifactType_Values returns all elements of the TestGridSessionArtifactType enum +func TestGridSessionArtifactType_Values() []string { + return []string{ + TestGridSessionArtifactTypeUnknown, + TestGridSessionArtifactTypeVideo, + TestGridSessionArtifactTypeSeleniumLog, + } +} + const ( // TestGridSessionStatusActive is a TestGridSessionStatus enum value TestGridSessionStatusActive = "ACTIVE" @@ -20342,6 +20611,15 @@ const ( TestGridSessionStatusErrored = "ERRORED" ) +// TestGridSessionStatus_Values returns all elements of the TestGridSessionStatus enum +func TestGridSessionStatus_Values() []string { + return []string{ + TestGridSessionStatusActive, + TestGridSessionStatusClosed, + TestGridSessionStatusErrored, + } +} + const ( // TestTypeBuiltinFuzz is a TestType enum value TestTypeBuiltinFuzz = "BUILTIN_FUZZ" @@ -20407,6 +20685,33 @@ const ( TestTypeRemoteAccessReplay = "REMOTE_ACCESS_REPLAY" ) +// TestType_Values returns all elements of the TestType enum +func TestType_Values() []string { + return []string{ + TestTypeBuiltinFuzz, + TestTypeBuiltinExplorer, + TestTypeWebPerformanceProfile, + TestTypeAppiumJavaJunit, + TestTypeAppiumJavaTestng, + TestTypeAppiumPython, + TestTypeAppiumNode, + TestTypeAppiumRuby, + TestTypeAppiumWebJavaJunit, + TestTypeAppiumWebJavaTestng, + TestTypeAppiumWebPython, + TestTypeAppiumWebNode, + TestTypeAppiumWebRuby, + TestTypeCalabash, + TestTypeInstrumentation, + TestTypeUiautomation, + TestTypeUiautomator, + TestTypeXctest, + TestTypeXctestUi, + TestTypeRemoteAccessRecord, + TestTypeRemoteAccessReplay, + } +} + const ( // UploadCategoryCurated is a UploadCategory enum value UploadCategoryCurated = "CURATED" @@ -20415,6 +20720,14 @@ const ( UploadCategoryPrivate = "PRIVATE" ) +// UploadCategory_Values returns all elements of the UploadCategory enum +func UploadCategory_Values() []string { + return []string{ + UploadCategoryCurated, + UploadCategoryPrivate, + } +} + const ( // UploadStatusInitialized is a UploadStatus enum value UploadStatusInitialized = "INITIALIZED" @@ -20429,6 +20742,16 @@ const ( UploadStatusFailed = "FAILED" ) +// UploadStatus_Values returns all elements of the UploadStatus enum +func UploadStatus_Values() []string { + return []string{ + UploadStatusInitialized, + UploadStatusProcessing, + UploadStatusSucceeded, + UploadStatusFailed, + } +} + const ( // UploadTypeAndroidApp is a UploadType enum value UploadTypeAndroidApp = "ANDROID_APP" @@ -20526,3 +20849,41 @@ const ( // UploadTypeXctestUiTestSpec is a UploadType enum value UploadTypeXctestUiTestSpec = "XCTEST_UI_TEST_SPEC" ) + +// UploadType_Values returns all elements of the UploadType enum +func UploadType_Values() []string { + return []string{ + UploadTypeAndroidApp, + UploadTypeIosApp, + UploadTypeWebApp, + UploadTypeExternalData, + UploadTypeAppiumJavaJunitTestPackage, + UploadTypeAppiumJavaTestngTestPackage, + UploadTypeAppiumPythonTestPackage, + UploadTypeAppiumNodeTestPackage, + UploadTypeAppiumRubyTestPackage, + UploadTypeAppiumWebJavaJunitTestPackage, + UploadTypeAppiumWebJavaTestngTestPackage, + UploadTypeAppiumWebPythonTestPackage, + UploadTypeAppiumWebNodeTestPackage, + UploadTypeAppiumWebRubyTestPackage, + UploadTypeCalabashTestPackage, + UploadTypeInstrumentationTestPackage, + UploadTypeUiautomationTestPackage, + UploadTypeUiautomatorTestPackage, + UploadTypeXctestTestPackage, + UploadTypeXctestUiTestPackage, + UploadTypeAppiumJavaJunitTestSpec, + UploadTypeAppiumJavaTestngTestSpec, + UploadTypeAppiumPythonTestSpec, + UploadTypeAppiumNodeTestSpec, + UploadTypeAppiumRubyTestSpec, + UploadTypeAppiumWebJavaJunitTestSpec, + UploadTypeAppiumWebJavaTestngTestSpec, + UploadTypeAppiumWebPythonTestSpec, + UploadTypeAppiumWebNodeTestSpec, + UploadTypeAppiumWebRubyTestSpec, + UploadTypeInstrumentationTestSpec, + UploadTypeXctestUiTestSpec, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/directconnect/api.go b/vendor/github.com/aws/aws-sdk-go/service/directconnect/api.go index e68e32007c6..bb67a8efe42 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/directconnect/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/directconnect/api.go @@ -12212,6 +12212,14 @@ const ( AddressFamilyIpv6 = "ipv6" ) +// AddressFamily_Values returns all elements of the AddressFamily enum +func AddressFamily_Values() []string { + return []string{ + AddressFamilyIpv4, + AddressFamilyIpv6, + } +} + const ( // BGPPeerStateVerifying is a BGPPeerState enum value BGPPeerStateVerifying = "verifying" @@ -12229,6 +12237,17 @@ const ( BGPPeerStateDeleted = "deleted" ) +// BGPPeerState_Values returns all elements of the BGPPeerState enum +func BGPPeerState_Values() []string { + return []string{ + BGPPeerStateVerifying, + BGPPeerStatePending, + BGPPeerStateAvailable, + BGPPeerStateDeleting, + BGPPeerStateDeleted, + } +} + const ( // BGPStatusUp is a BGPStatus enum value BGPStatusUp = "up" @@ -12240,6 +12259,15 @@ const ( BGPStatusUnknown = "unknown" ) +// BGPStatus_Values returns all elements of the BGPStatus enum +func BGPStatus_Values() []string { + return []string{ + BGPStatusUp, + BGPStatusDown, + BGPStatusUnknown, + } +} + const ( // ConnectionStateOrdering is a ConnectionState enum value ConnectionStateOrdering = "ordering" @@ -12269,6 +12297,21 @@ const ( ConnectionStateUnknown = "unknown" ) +// ConnectionState_Values returns all elements of the ConnectionState enum +func ConnectionState_Values() []string { + return []string{ + ConnectionStateOrdering, + ConnectionStateRequested, + ConnectionStatePending, + ConnectionStateAvailable, + ConnectionStateDown, + ConnectionStateDeleting, + ConnectionStateDeleted, + ConnectionStateRejected, + ConnectionStateUnknown, + } +} + const ( // GatewayAssociationProposalStateRequested is a GatewayAssociationProposalState enum value GatewayAssociationProposalStateRequested = "requested" @@ -12280,6 +12323,15 @@ const ( GatewayAssociationProposalStateDeleted = "deleted" ) +// GatewayAssociationProposalState_Values returns all elements of the GatewayAssociationProposalState enum +func GatewayAssociationProposalState_Values() []string { + return []string{ + GatewayAssociationProposalStateRequested, + GatewayAssociationProposalStateAccepted, + GatewayAssociationProposalStateDeleted, + } +} + const ( // GatewayAssociationStateAssociating is a GatewayAssociationState enum value GatewayAssociationStateAssociating = "associating" @@ -12297,6 +12349,17 @@ const ( GatewayAssociationStateUpdating = "updating" ) +// GatewayAssociationState_Values returns all elements of the GatewayAssociationState enum +func GatewayAssociationState_Values() []string { + return []string{ + GatewayAssociationStateAssociating, + GatewayAssociationStateAssociated, + GatewayAssociationStateDisassociating, + GatewayAssociationStateDisassociated, + GatewayAssociationStateUpdating, + } +} + const ( // GatewayAttachmentStateAttaching is a GatewayAttachmentState enum value GatewayAttachmentStateAttaching = "attaching" @@ -12311,6 +12374,16 @@ const ( GatewayAttachmentStateDetached = "detached" ) +// GatewayAttachmentState_Values returns all elements of the GatewayAttachmentState enum +func GatewayAttachmentState_Values() []string { + return []string{ + GatewayAttachmentStateAttaching, + GatewayAttachmentStateAttached, + GatewayAttachmentStateDetaching, + GatewayAttachmentStateDetached, + } +} + const ( // GatewayAttachmentTypeTransitVirtualInterface is a GatewayAttachmentType enum value GatewayAttachmentTypeTransitVirtualInterface = "TransitVirtualInterface" @@ -12319,6 +12392,14 @@ const ( GatewayAttachmentTypePrivateVirtualInterface = "PrivateVirtualInterface" ) +// GatewayAttachmentType_Values returns all elements of the GatewayAttachmentType enum +func GatewayAttachmentType_Values() []string { + return []string{ + GatewayAttachmentTypeTransitVirtualInterface, + GatewayAttachmentTypePrivateVirtualInterface, + } +} + const ( // GatewayStatePending is a GatewayState enum value GatewayStatePending = "pending" @@ -12333,6 +12414,16 @@ const ( GatewayStateDeleted = "deleted" ) +// GatewayState_Values returns all elements of the GatewayState enum +func GatewayState_Values() []string { + return []string{ + GatewayStatePending, + GatewayStateAvailable, + GatewayStateDeleting, + GatewayStateDeleted, + } +} + const ( // GatewayTypeVirtualPrivateGateway is a GatewayType enum value GatewayTypeVirtualPrivateGateway = "virtualPrivateGateway" @@ -12341,6 +12432,14 @@ const ( GatewayTypeTransitGateway = "transitGateway" ) +// GatewayType_Values returns all elements of the GatewayType enum +func GatewayType_Values() []string { + return []string{ + GatewayTypeVirtualPrivateGateway, + GatewayTypeTransitGateway, + } +} + const ( // HasLogicalRedundancyUnknown is a HasLogicalRedundancy enum value HasLogicalRedundancyUnknown = "unknown" @@ -12352,6 +12451,15 @@ const ( HasLogicalRedundancyNo = "no" ) +// HasLogicalRedundancy_Values returns all elements of the HasLogicalRedundancy enum +func HasLogicalRedundancy_Values() []string { + return []string{ + HasLogicalRedundancyUnknown, + HasLogicalRedundancyYes, + HasLogicalRedundancyNo, + } +} + const ( // InterconnectStateRequested is a InterconnectState enum value InterconnectStateRequested = "requested" @@ -12375,6 +12483,19 @@ const ( InterconnectStateUnknown = "unknown" ) +// InterconnectState_Values returns all elements of the InterconnectState enum +func InterconnectState_Values() []string { + return []string{ + InterconnectStateRequested, + InterconnectStatePending, + InterconnectStateAvailable, + InterconnectStateDown, + InterconnectStateDeleting, + InterconnectStateDeleted, + InterconnectStateUnknown, + } +} + const ( // LagStateRequested is a LagState enum value LagStateRequested = "requested" @@ -12398,11 +12519,31 @@ const ( LagStateUnknown = "unknown" ) +// LagState_Values returns all elements of the LagState enum +func LagState_Values() []string { + return []string{ + LagStateRequested, + LagStatePending, + LagStateAvailable, + LagStateDown, + LagStateDeleting, + LagStateDeleted, + LagStateUnknown, + } +} + const ( // LoaContentTypeApplicationPdf is a LoaContentType enum value LoaContentTypeApplicationPdf = "application/pdf" ) +// LoaContentType_Values returns all elements of the LoaContentType enum +func LoaContentType_Values() []string { + return []string{ + LoaContentTypeApplicationPdf, + } +} + const ( // VirtualInterfaceStateConfirming is a VirtualInterfaceState enum value VirtualInterfaceStateConfirming = "confirming" @@ -12431,3 +12572,18 @@ const ( // VirtualInterfaceStateUnknown is a VirtualInterfaceState enum value VirtualInterfaceStateUnknown = "unknown" ) + +// VirtualInterfaceState_Values returns all elements of the VirtualInterfaceState enum +func VirtualInterfaceState_Values() []string { + return []string{ + VirtualInterfaceStateConfirming, + VirtualInterfaceStateVerifying, + VirtualInterfaceStatePending, + VirtualInterfaceStateAvailable, + VirtualInterfaceStateDown, + VirtualInterfaceStateDeleting, + VirtualInterfaceStateDeleted, + VirtualInterfaceStateRejected, + VirtualInterfaceStateUnknown, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/directoryservice/api.go b/vendor/github.com/aws/aws-sdk-go/service/directoryservice/api.go index 231dfd334d1..b53745a3019 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/directoryservice/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/directoryservice/api.go @@ -14162,6 +14162,18 @@ const ( CertificateStateDeregisterFailed = "DeregisterFailed" ) +// CertificateState_Values returns all elements of the CertificateState enum +func CertificateState_Values() []string { + return []string{ + CertificateStateRegistering, + CertificateStateRegistered, + CertificateStateRegisterFailed, + CertificateStateDeregistering, + CertificateStateDeregistered, + CertificateStateDeregisterFailed, + } +} + const ( // DirectoryEditionEnterprise is a DirectoryEdition enum value DirectoryEditionEnterprise = "Enterprise" @@ -14170,6 +14182,14 @@ const ( DirectoryEditionStandard = "Standard" ) +// DirectoryEdition_Values returns all elements of the DirectoryEdition enum +func DirectoryEdition_Values() []string { + return []string{ + DirectoryEditionEnterprise, + DirectoryEditionStandard, + } +} + const ( // DirectorySizeSmall is a DirectorySize enum value DirectorySizeSmall = "Small" @@ -14178,6 +14198,14 @@ const ( DirectorySizeLarge = "Large" ) +// DirectorySize_Values returns all elements of the DirectorySize enum +func DirectorySize_Values() []string { + return []string{ + DirectorySizeSmall, + DirectorySizeLarge, + } +} + const ( // DirectoryStageRequested is a DirectoryStage enum value DirectoryStageRequested = "Requested" @@ -14213,6 +14241,23 @@ const ( DirectoryStageFailed = "Failed" ) +// DirectoryStage_Values returns all elements of the DirectoryStage enum +func DirectoryStage_Values() []string { + return []string{ + DirectoryStageRequested, + DirectoryStageCreating, + DirectoryStageCreated, + DirectoryStageActive, + DirectoryStageInoperable, + DirectoryStageImpaired, + DirectoryStageRestoring, + DirectoryStageRestoreFailed, + DirectoryStageDeleting, + DirectoryStageDeleted, + DirectoryStageFailed, + } +} + const ( // DirectoryTypeSimpleAd is a DirectoryType enum value DirectoryTypeSimpleAd = "SimpleAD" @@ -14227,6 +14272,16 @@ const ( DirectoryTypeSharedMicrosoftAd = "SharedMicrosoftAD" ) +// DirectoryType_Values returns all elements of the DirectoryType enum +func DirectoryType_Values() []string { + return []string{ + DirectoryTypeSimpleAd, + DirectoryTypeAdconnector, + DirectoryTypeMicrosoftAd, + DirectoryTypeSharedMicrosoftAd, + } +} + const ( // DomainControllerStatusCreating is a DomainControllerStatus enum value DomainControllerStatusCreating = "Creating" @@ -14250,6 +14305,19 @@ const ( DomainControllerStatusFailed = "Failed" ) +// DomainControllerStatus_Values returns all elements of the DomainControllerStatus enum +func DomainControllerStatus_Values() []string { + return []string{ + DomainControllerStatusCreating, + DomainControllerStatusActive, + DomainControllerStatusImpaired, + DomainControllerStatusRestoring, + DomainControllerStatusDeleting, + DomainControllerStatusDeleted, + DomainControllerStatusFailed, + } +} + const ( // IpRouteStatusMsgAdding is a IpRouteStatusMsg enum value IpRouteStatusMsgAdding = "Adding" @@ -14270,6 +14338,18 @@ const ( IpRouteStatusMsgRemoveFailed = "RemoveFailed" ) +// IpRouteStatusMsg_Values returns all elements of the IpRouteStatusMsg enum +func IpRouteStatusMsg_Values() []string { + return []string{ + IpRouteStatusMsgAdding, + IpRouteStatusMsgAdded, + IpRouteStatusMsgRemoving, + IpRouteStatusMsgRemoved, + IpRouteStatusMsgAddFailed, + IpRouteStatusMsgRemoveFailed, + } +} + const ( // LDAPSStatusEnabling is a LDAPSStatus enum value LDAPSStatusEnabling = "Enabling" @@ -14284,11 +14364,28 @@ const ( LDAPSStatusDisabled = "Disabled" ) +// LDAPSStatus_Values returns all elements of the LDAPSStatus enum +func LDAPSStatus_Values() []string { + return []string{ + LDAPSStatusEnabling, + LDAPSStatusEnabled, + LDAPSStatusEnableFailed, + LDAPSStatusDisabled, + } +} + const ( // LDAPSTypeClient is a LDAPSType enum value LDAPSTypeClient = "Client" ) +// LDAPSType_Values returns all elements of the LDAPSType enum +func LDAPSType_Values() []string { + return []string{ + LDAPSTypeClient, + } +} + const ( // RadiusAuthenticationProtocolPap is a RadiusAuthenticationProtocol enum value RadiusAuthenticationProtocolPap = "PAP" @@ -14303,6 +14400,16 @@ const ( RadiusAuthenticationProtocolMsChapv2 = "MS-CHAPv2" ) +// RadiusAuthenticationProtocol_Values returns all elements of the RadiusAuthenticationProtocol enum +func RadiusAuthenticationProtocol_Values() []string { + return []string{ + RadiusAuthenticationProtocolPap, + RadiusAuthenticationProtocolChap, + RadiusAuthenticationProtocolMsChapv1, + RadiusAuthenticationProtocolMsChapv2, + } +} + const ( // RadiusStatusCreating is a RadiusStatus enum value RadiusStatusCreating = "Creating" @@ -14314,11 +14421,27 @@ const ( RadiusStatusFailed = "Failed" ) +// RadiusStatus_Values returns all elements of the RadiusStatus enum +func RadiusStatus_Values() []string { + return []string{ + RadiusStatusCreating, + RadiusStatusCompleted, + RadiusStatusFailed, + } +} + const ( // ReplicationScopeDomain is a ReplicationScope enum value ReplicationScopeDomain = "Domain" ) +// ReplicationScope_Values returns all elements of the ReplicationScope enum +func ReplicationScope_Values() []string { + return []string{ + ReplicationScopeDomain, + } +} + const ( // SchemaExtensionStatusInitializing is a SchemaExtensionStatus enum value SchemaExtensionStatusInitializing = "Initializing" @@ -14348,6 +14471,21 @@ const ( SchemaExtensionStatusCompleted = "Completed" ) +// SchemaExtensionStatus_Values returns all elements of the SchemaExtensionStatus enum +func SchemaExtensionStatus_Values() []string { + return []string{ + SchemaExtensionStatusInitializing, + SchemaExtensionStatusCreatingSnapshot, + SchemaExtensionStatusUpdatingSchema, + SchemaExtensionStatusReplicating, + SchemaExtensionStatusCancelInProgress, + SchemaExtensionStatusRollbackInProgress, + SchemaExtensionStatusCancelled, + SchemaExtensionStatusFailed, + SchemaExtensionStatusCompleted, + } +} + const ( // SelectiveAuthEnabled is a SelectiveAuth enum value SelectiveAuthEnabled = "Enabled" @@ -14356,6 +14494,14 @@ const ( SelectiveAuthDisabled = "Disabled" ) +// SelectiveAuth_Values returns all elements of the SelectiveAuth enum +func SelectiveAuth_Values() []string { + return []string{ + SelectiveAuthEnabled, + SelectiveAuthDisabled, + } +} + const ( // ShareMethodOrganizations is a ShareMethod enum value ShareMethodOrganizations = "ORGANIZATIONS" @@ -14364,6 +14510,14 @@ const ( ShareMethodHandshake = "HANDSHAKE" ) +// ShareMethod_Values returns all elements of the ShareMethod enum +func ShareMethod_Values() []string { + return []string{ + ShareMethodOrganizations, + ShareMethodHandshake, + } +} + const ( // ShareStatusShared is a ShareStatus enum value ShareStatusShared = "Shared" @@ -14393,6 +14547,21 @@ const ( ShareStatusDeleting = "Deleting" ) +// ShareStatus_Values returns all elements of the ShareStatus enum +func ShareStatus_Values() []string { + return []string{ + ShareStatusShared, + ShareStatusPendingAcceptance, + ShareStatusRejected, + ShareStatusRejecting, + ShareStatusRejectFailed, + ShareStatusSharing, + ShareStatusShareFailed, + ShareStatusDeleted, + ShareStatusDeleting, + } +} + const ( // SnapshotStatusCreating is a SnapshotStatus enum value SnapshotStatusCreating = "Creating" @@ -14404,6 +14573,15 @@ const ( SnapshotStatusFailed = "Failed" ) +// SnapshotStatus_Values returns all elements of the SnapshotStatus enum +func SnapshotStatus_Values() []string { + return []string{ + SnapshotStatusCreating, + SnapshotStatusCompleted, + SnapshotStatusFailed, + } +} + const ( // SnapshotTypeAuto is a SnapshotType enum value SnapshotTypeAuto = "Auto" @@ -14412,11 +14590,26 @@ const ( SnapshotTypeManual = "Manual" ) +// SnapshotType_Values returns all elements of the SnapshotType enum +func SnapshotType_Values() []string { + return []string{ + SnapshotTypeAuto, + SnapshotTypeManual, + } +} + const ( // TargetTypeAccount is a TargetType enum value TargetTypeAccount = "ACCOUNT" ) +// TargetType_Values returns all elements of the TargetType enum +func TargetType_Values() []string { + return []string{ + TargetTypeAccount, + } +} + const ( // TopicStatusRegistered is a TopicStatus enum value TopicStatusRegistered = "Registered" @@ -14431,6 +14624,16 @@ const ( TopicStatusDeleted = "Deleted" ) +// TopicStatus_Values returns all elements of the TopicStatus enum +func TopicStatus_Values() []string { + return []string{ + TopicStatusRegistered, + TopicStatusTopicnotfound, + TopicStatusFailed, + TopicStatusDeleted, + } +} + const ( // TrustDirectionOneWayOutgoing is a TrustDirection enum value TrustDirectionOneWayOutgoing = "One-Way: Outgoing" @@ -14442,6 +14645,15 @@ const ( TrustDirectionTwoWay = "Two-Way" ) +// TrustDirection_Values returns all elements of the TrustDirection enum +func TrustDirection_Values() []string { + return []string{ + TrustDirectionOneWayOutgoing, + TrustDirectionOneWayIncoming, + TrustDirectionTwoWay, + } +} + const ( // TrustStateCreating is a TrustState enum value TrustStateCreating = "Creating" @@ -14477,6 +14689,23 @@ const ( TrustStateFailed = "Failed" ) +// TrustState_Values returns all elements of the TrustState enum +func TrustState_Values() []string { + return []string{ + TrustStateCreating, + TrustStateCreated, + TrustStateVerifying, + TrustStateVerifyFailed, + TrustStateVerified, + TrustStateUpdating, + TrustStateUpdateFailed, + TrustStateUpdated, + TrustStateDeleting, + TrustStateDeleted, + TrustStateFailed, + } +} + const ( // TrustTypeForest is a TrustType enum value TrustTypeForest = "Forest" @@ -14484,3 +14713,11 @@ const ( // TrustTypeExternal is a TrustType enum value TrustTypeExternal = "External" ) + +// TrustType_Values returns all elements of the TrustType enum +func TrustType_Values() []string { + return []string{ + TrustTypeForest, + TrustTypeExternal, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/dlm/api.go b/vendor/github.com/aws/aws-sdk-go/service/dlm/api.go index 5dba373071e..0450eebcc94 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/dlm/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/dlm/api.go @@ -2453,16 +2453,39 @@ const ( GettablePolicyStateValuesError = "ERROR" ) +// GettablePolicyStateValues_Values returns all elements of the GettablePolicyStateValues enum +func GettablePolicyStateValues_Values() []string { + return []string{ + GettablePolicyStateValuesEnabled, + GettablePolicyStateValuesDisabled, + GettablePolicyStateValuesError, + } +} + const ( // IntervalUnitValuesHours is a IntervalUnitValues enum value IntervalUnitValuesHours = "HOURS" ) +// IntervalUnitValues_Values returns all elements of the IntervalUnitValues enum +func IntervalUnitValues_Values() []string { + return []string{ + IntervalUnitValuesHours, + } +} + const ( // PolicyTypeValuesEbsSnapshotManagement is a PolicyTypeValues enum value PolicyTypeValuesEbsSnapshotManagement = "EBS_SNAPSHOT_MANAGEMENT" ) +// PolicyTypeValues_Values returns all elements of the PolicyTypeValues enum +func PolicyTypeValues_Values() []string { + return []string{ + PolicyTypeValuesEbsSnapshotManagement, + } +} + const ( // ResourceTypeValuesVolume is a ResourceTypeValues enum value ResourceTypeValuesVolume = "VOLUME" @@ -2471,6 +2494,14 @@ const ( ResourceTypeValuesInstance = "INSTANCE" ) +// ResourceTypeValues_Values returns all elements of the ResourceTypeValues enum +func ResourceTypeValues_Values() []string { + return []string{ + ResourceTypeValuesVolume, + ResourceTypeValuesInstance, + } +} + const ( // RetentionIntervalUnitValuesDays is a RetentionIntervalUnitValues enum value RetentionIntervalUnitValuesDays = "DAYS" @@ -2485,6 +2516,16 @@ const ( RetentionIntervalUnitValuesYears = "YEARS" ) +// RetentionIntervalUnitValues_Values returns all elements of the RetentionIntervalUnitValues enum +func RetentionIntervalUnitValues_Values() []string { + return []string{ + RetentionIntervalUnitValuesDays, + RetentionIntervalUnitValuesWeeks, + RetentionIntervalUnitValuesMonths, + RetentionIntervalUnitValuesYears, + } +} + const ( // SettablePolicyStateValuesEnabled is a SettablePolicyStateValues enum value SettablePolicyStateValuesEnabled = "ENABLED" @@ -2492,3 +2533,11 @@ const ( // SettablePolicyStateValuesDisabled is a SettablePolicyStateValues enum value SettablePolicyStateValuesDisabled = "DISABLED" ) + +// SettablePolicyStateValues_Values returns all elements of the SettablePolicyStateValues enum +func SettablePolicyStateValues_Values() []string { + return []string{ + SettablePolicyStateValuesEnabled, + SettablePolicyStateValuesDisabled, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/docdb/api.go b/vendor/github.com/aws/aws-sdk-go/service/docdb/api.go index c95a1db72a9..bda1563ca85 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/docdb/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/docdb/api.go @@ -11628,6 +11628,14 @@ const ( ApplyMethodPendingReboot = "pending-reboot" ) +// ApplyMethod_Values returns all elements of the ApplyMethod enum +func ApplyMethod_Values() []string { + return []string{ + ApplyMethodImmediate, + ApplyMethodPendingReboot, + } +} + const ( // SourceTypeDbInstance is a SourceType enum value SourceTypeDbInstance = "db-instance" @@ -11647,3 +11655,15 @@ const ( // SourceTypeDbClusterSnapshot is a SourceType enum value SourceTypeDbClusterSnapshot = "db-cluster-snapshot" ) + +// SourceType_Values returns all elements of the SourceType enum +func SourceType_Values() []string { + return []string{ + SourceTypeDbInstance, + SourceTypeDbParameterGroup, + SourceTypeDbSecurityGroup, + SourceTypeDbSnapshot, + SourceTypeDbCluster, + SourceTypeDbClusterSnapshot, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/dynamodb/api.go b/vendor/github.com/aws/aws-sdk-go/service/dynamodb/api.go index f6ca35dce25..e1e0b1b8f93 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/dynamodb/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/dynamodb/api.go @@ -19885,6 +19885,15 @@ const ( AttributeActionDelete = "DELETE" ) +// AttributeAction_Values returns all elements of the AttributeAction enum +func AttributeAction_Values() []string { + return []string{ + AttributeActionAdd, + AttributeActionPut, + AttributeActionDelete, + } +} + const ( // BackupStatusCreating is a BackupStatus enum value BackupStatusCreating = "CREATING" @@ -19896,6 +19905,15 @@ const ( BackupStatusAvailable = "AVAILABLE" ) +// BackupStatus_Values returns all elements of the BackupStatus enum +func BackupStatus_Values() []string { + return []string{ + BackupStatusCreating, + BackupStatusDeleted, + BackupStatusAvailable, + } +} + const ( // BackupTypeUser is a BackupType enum value BackupTypeUser = "USER" @@ -19907,6 +19925,15 @@ const ( BackupTypeAwsBackup = "AWS_BACKUP" ) +// BackupType_Values returns all elements of the BackupType enum +func BackupType_Values() []string { + return []string{ + BackupTypeUser, + BackupTypeSystem, + BackupTypeAwsBackup, + } +} + const ( // BackupTypeFilterUser is a BackupTypeFilter enum value BackupTypeFilterUser = "USER" @@ -19921,6 +19948,16 @@ const ( BackupTypeFilterAll = "ALL" ) +// BackupTypeFilter_Values returns all elements of the BackupTypeFilter enum +func BackupTypeFilter_Values() []string { + return []string{ + BackupTypeFilterUser, + BackupTypeFilterSystem, + BackupTypeFilterAwsBackup, + BackupTypeFilterAll, + } +} + const ( // BillingModeProvisioned is a BillingMode enum value BillingModeProvisioned = "PROVISIONED" @@ -19929,6 +19966,14 @@ const ( BillingModePayPerRequest = "PAY_PER_REQUEST" ) +// BillingMode_Values returns all elements of the BillingMode enum +func BillingMode_Values() []string { + return []string{ + BillingModeProvisioned, + BillingModePayPerRequest, + } +} + const ( // ComparisonOperatorEq is a ComparisonOperator enum value ComparisonOperatorEq = "EQ" @@ -19970,6 +20015,25 @@ const ( ComparisonOperatorBeginsWith = "BEGINS_WITH" ) +// ComparisonOperator_Values returns all elements of the ComparisonOperator enum +func ComparisonOperator_Values() []string { + return []string{ + ComparisonOperatorEq, + ComparisonOperatorNe, + ComparisonOperatorIn, + ComparisonOperatorLe, + ComparisonOperatorLt, + ComparisonOperatorGe, + ComparisonOperatorGt, + ComparisonOperatorBetween, + ComparisonOperatorNotNull, + ComparisonOperatorNull, + ComparisonOperatorContains, + ComparisonOperatorNotContains, + ComparisonOperatorBeginsWith, + } +} + const ( // ConditionalOperatorAnd is a ConditionalOperator enum value ConditionalOperatorAnd = "AND" @@ -19978,6 +20042,14 @@ const ( ConditionalOperatorOr = "OR" ) +// ConditionalOperator_Values returns all elements of the ConditionalOperator enum +func ConditionalOperator_Values() []string { + return []string{ + ConditionalOperatorAnd, + ConditionalOperatorOr, + } +} + const ( // ContinuousBackupsStatusEnabled is a ContinuousBackupsStatus enum value ContinuousBackupsStatusEnabled = "ENABLED" @@ -19986,6 +20058,14 @@ const ( ContinuousBackupsStatusDisabled = "DISABLED" ) +// ContinuousBackupsStatus_Values returns all elements of the ContinuousBackupsStatus enum +func ContinuousBackupsStatus_Values() []string { + return []string{ + ContinuousBackupsStatusEnabled, + ContinuousBackupsStatusDisabled, + } +} + const ( // ContributorInsightsActionEnable is a ContributorInsightsAction enum value ContributorInsightsActionEnable = "ENABLE" @@ -19994,6 +20074,14 @@ const ( ContributorInsightsActionDisable = "DISABLE" ) +// ContributorInsightsAction_Values returns all elements of the ContributorInsightsAction enum +func ContributorInsightsAction_Values() []string { + return []string{ + ContributorInsightsActionEnable, + ContributorInsightsActionDisable, + } +} + const ( // ContributorInsightsStatusEnabling is a ContributorInsightsStatus enum value ContributorInsightsStatusEnabling = "ENABLING" @@ -20011,6 +20099,17 @@ const ( ContributorInsightsStatusFailed = "FAILED" ) +// ContributorInsightsStatus_Values returns all elements of the ContributorInsightsStatus enum +func ContributorInsightsStatus_Values() []string { + return []string{ + ContributorInsightsStatusEnabling, + ContributorInsightsStatusEnabled, + ContributorInsightsStatusDisabling, + ContributorInsightsStatusDisabled, + ContributorInsightsStatusFailed, + } +} + const ( // GlobalTableStatusCreating is a GlobalTableStatus enum value GlobalTableStatusCreating = "CREATING" @@ -20025,6 +20124,16 @@ const ( GlobalTableStatusUpdating = "UPDATING" ) +// GlobalTableStatus_Values returns all elements of the GlobalTableStatus enum +func GlobalTableStatus_Values() []string { + return []string{ + GlobalTableStatusCreating, + GlobalTableStatusActive, + GlobalTableStatusDeleting, + GlobalTableStatusUpdating, + } +} + const ( // IndexStatusCreating is a IndexStatus enum value IndexStatusCreating = "CREATING" @@ -20039,6 +20148,16 @@ const ( IndexStatusActive = "ACTIVE" ) +// IndexStatus_Values returns all elements of the IndexStatus enum +func IndexStatus_Values() []string { + return []string{ + IndexStatusCreating, + IndexStatusUpdating, + IndexStatusDeleting, + IndexStatusActive, + } +} + const ( // KeyTypeHash is a KeyType enum value KeyTypeHash = "HASH" @@ -20047,6 +20166,14 @@ const ( KeyTypeRange = "RANGE" ) +// KeyType_Values returns all elements of the KeyType enum +func KeyType_Values() []string { + return []string{ + KeyTypeHash, + KeyTypeRange, + } +} + const ( // PointInTimeRecoveryStatusEnabled is a PointInTimeRecoveryStatus enum value PointInTimeRecoveryStatusEnabled = "ENABLED" @@ -20055,6 +20182,14 @@ const ( PointInTimeRecoveryStatusDisabled = "DISABLED" ) +// PointInTimeRecoveryStatus_Values returns all elements of the PointInTimeRecoveryStatus enum +func PointInTimeRecoveryStatus_Values() []string { + return []string{ + PointInTimeRecoveryStatusEnabled, + PointInTimeRecoveryStatusDisabled, + } +} + const ( // ProjectionTypeAll is a ProjectionType enum value ProjectionTypeAll = "ALL" @@ -20066,6 +20201,15 @@ const ( ProjectionTypeInclude = "INCLUDE" ) +// ProjectionType_Values returns all elements of the ProjectionType enum +func ProjectionType_Values() []string { + return []string{ + ProjectionTypeAll, + ProjectionTypeKeysOnly, + ProjectionTypeInclude, + } +} + const ( // ReplicaStatusCreating is a ReplicaStatus enum value ReplicaStatusCreating = "CREATING" @@ -20083,6 +20227,17 @@ const ( ReplicaStatusActive = "ACTIVE" ) +// ReplicaStatus_Values returns all elements of the ReplicaStatus enum +func ReplicaStatus_Values() []string { + return []string{ + ReplicaStatusCreating, + ReplicaStatusCreationFailed, + ReplicaStatusUpdating, + ReplicaStatusDeleting, + ReplicaStatusActive, + } +} + // Determines the level of detail about provisioned throughput consumption that // is returned in the response: // @@ -20107,6 +20262,15 @@ const ( ReturnConsumedCapacityNone = "NONE" ) +// ReturnConsumedCapacity_Values returns all elements of the ReturnConsumedCapacity enum +func ReturnConsumedCapacity_Values() []string { + return []string{ + ReturnConsumedCapacityIndexes, + ReturnConsumedCapacityTotal, + ReturnConsumedCapacityNone, + } +} + const ( // ReturnItemCollectionMetricsSize is a ReturnItemCollectionMetrics enum value ReturnItemCollectionMetricsSize = "SIZE" @@ -20115,6 +20279,14 @@ const ( ReturnItemCollectionMetricsNone = "NONE" ) +// ReturnItemCollectionMetrics_Values returns all elements of the ReturnItemCollectionMetrics enum +func ReturnItemCollectionMetrics_Values() []string { + return []string{ + ReturnItemCollectionMetricsSize, + ReturnItemCollectionMetricsNone, + } +} + const ( // ReturnValueNone is a ReturnValue enum value ReturnValueNone = "NONE" @@ -20132,6 +20304,17 @@ const ( ReturnValueUpdatedNew = "UPDATED_NEW" ) +// ReturnValue_Values returns all elements of the ReturnValue enum +func ReturnValue_Values() []string { + return []string{ + ReturnValueNone, + ReturnValueAllOld, + ReturnValueUpdatedOld, + ReturnValueAllNew, + ReturnValueUpdatedNew, + } +} + const ( // ReturnValuesOnConditionCheckFailureAllOld is a ReturnValuesOnConditionCheckFailure enum value ReturnValuesOnConditionCheckFailureAllOld = "ALL_OLD" @@ -20140,6 +20323,14 @@ const ( ReturnValuesOnConditionCheckFailureNone = "NONE" ) +// ReturnValuesOnConditionCheckFailure_Values returns all elements of the ReturnValuesOnConditionCheckFailure enum +func ReturnValuesOnConditionCheckFailure_Values() []string { + return []string{ + ReturnValuesOnConditionCheckFailureAllOld, + ReturnValuesOnConditionCheckFailureNone, + } +} + const ( // SSEStatusEnabling is a SSEStatus enum value SSEStatusEnabling = "ENABLING" @@ -20157,6 +20348,17 @@ const ( SSEStatusUpdating = "UPDATING" ) +// SSEStatus_Values returns all elements of the SSEStatus enum +func SSEStatus_Values() []string { + return []string{ + SSEStatusEnabling, + SSEStatusEnabled, + SSEStatusDisabling, + SSEStatusDisabled, + SSEStatusUpdating, + } +} + const ( // SSETypeAes256 is a SSEType enum value SSETypeAes256 = "AES256" @@ -20165,6 +20367,14 @@ const ( SSETypeKms = "KMS" ) +// SSEType_Values returns all elements of the SSEType enum +func SSEType_Values() []string { + return []string{ + SSETypeAes256, + SSETypeKms, + } +} + const ( // ScalarAttributeTypeS is a ScalarAttributeType enum value ScalarAttributeTypeS = "S" @@ -20176,6 +20386,15 @@ const ( ScalarAttributeTypeB = "B" ) +// ScalarAttributeType_Values returns all elements of the ScalarAttributeType enum +func ScalarAttributeType_Values() []string { + return []string{ + ScalarAttributeTypeS, + ScalarAttributeTypeN, + ScalarAttributeTypeB, + } +} + const ( // SelectAllAttributes is a Select enum value SelectAllAttributes = "ALL_ATTRIBUTES" @@ -20190,6 +20409,16 @@ const ( SelectCount = "COUNT" ) +// Select_Values returns all elements of the Select enum +func Select_Values() []string { + return []string{ + SelectAllAttributes, + SelectAllProjectedAttributes, + SelectSpecificAttributes, + SelectCount, + } +} + const ( // StreamViewTypeNewImage is a StreamViewType enum value StreamViewTypeNewImage = "NEW_IMAGE" @@ -20204,6 +20433,16 @@ const ( StreamViewTypeKeysOnly = "KEYS_ONLY" ) +// StreamViewType_Values returns all elements of the StreamViewType enum +func StreamViewType_Values() []string { + return []string{ + StreamViewTypeNewImage, + StreamViewTypeOldImage, + StreamViewTypeNewAndOldImages, + StreamViewTypeKeysOnly, + } +} + const ( // TableStatusCreating is a TableStatus enum value TableStatusCreating = "CREATING" @@ -20227,6 +20466,19 @@ const ( TableStatusArchived = "ARCHIVED" ) +// TableStatus_Values returns all elements of the TableStatus enum +func TableStatus_Values() []string { + return []string{ + TableStatusCreating, + TableStatusUpdating, + TableStatusDeleting, + TableStatusActive, + TableStatusInaccessibleEncryptionCredentials, + TableStatusArchiving, + TableStatusArchived, + } +} + const ( // TimeToLiveStatusEnabling is a TimeToLiveStatus enum value TimeToLiveStatusEnabling = "ENABLING" @@ -20240,3 +20492,13 @@ const ( // TimeToLiveStatusDisabled is a TimeToLiveStatus enum value TimeToLiveStatusDisabled = "DISABLED" ) + +// TimeToLiveStatus_Values returns all elements of the TimeToLiveStatus enum +func TimeToLiveStatus_Values() []string { + return []string{ + TimeToLiveStatusEnabling, + TimeToLiveStatusDisabling, + TimeToLiveStatusEnabled, + TimeToLiveStatusDisabled, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/ec2/api.go b/vendor/github.com/aws/aws-sdk-go/service/ec2/api.go index b20ea843819..aeea19bf33c 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/ec2/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/ec2/api.go @@ -7779,15 +7779,15 @@ func (c *EC2) CreateVpnConnectionRequest(input *CreateVpnConnectionInput) (req * // CreateVpnConnection API operation for Amazon Elastic Compute Cloud. // -// Creates a VPN connection between an existing virtual private gateway and -// a VPN customer gateway. The supported connection type is ipsec.1. +// Creates a VPN connection between an existing virtual private gateway or transit +// gateway and a customer gateway. The supported connection type is ipsec.1. // // The response includes information that you need to give to your network administrator // to configure your customer gateway. // // We strongly recommend that you use HTTPS when calling this operation because // the response contains sensitive cryptographic information for configuring -// your customer gateway. +// your customer gateway device. // // If you decide to shut down your VPN connection for any reason and later create // a new VPN connection, you must reconfigure your customer gateway with the @@ -92605,19 +92605,19 @@ type ModifyVpnTunnelOptionsSpecification struct { // One or more Diffie-Hellman group numbers that are permitted for the VPN tunnel // for phase 1 IKE negotiations. // - // Valid values: 2 | 14 | 15 | 16 | 17 | 18 | 22 | 23 | 24 + // Valid values: 2 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 Phase1DHGroupNumbers []*Phase1DHGroupNumbersRequestListValue `locationName:"Phase1DHGroupNumber" locationNameList:"item" type:"list"` // One or more encryption algorithms that are permitted for the VPN tunnel for // phase 1 IKE negotiations. // - // Valid values: AES128 | AES256 + // Valid values: AES128 | AES256 | AES128-GCM-16 | AES256-GCM-16 Phase1EncryptionAlgorithms []*Phase1EncryptionAlgorithmsRequestListValue `locationName:"Phase1EncryptionAlgorithm" locationNameList:"item" type:"list"` // One or more integrity algorithms that are permitted for the VPN tunnel for // phase 1 IKE negotiations. // - // Valid values: SHA1 | SHA2-256 + // Valid values: SHA1 | SHA2-256 | SHA2-384 | SHA2-512 Phase1IntegrityAlgorithms []*Phase1IntegrityAlgorithmsRequestListValue `locationName:"Phase1IntegrityAlgorithm" locationNameList:"item" type:"list"` // The lifetime for phase 1 of the IKE negotiation, in seconds. @@ -92630,19 +92630,19 @@ type ModifyVpnTunnelOptionsSpecification struct { // One or more Diffie-Hellman group numbers that are permitted for the VPN tunnel // for phase 2 IKE negotiations. // - // Valid values: 2 | 5 | 14 | 15 | 16 | 17 | 18 | 22 | 23 | 24 + // Valid values: 2 | 5 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 Phase2DHGroupNumbers []*Phase2DHGroupNumbersRequestListValue `locationName:"Phase2DHGroupNumber" locationNameList:"item" type:"list"` // One or more encryption algorithms that are permitted for the VPN tunnel for // phase 2 IKE negotiations. // - // Valid values: AES128 | AES256 + // Valid values: AES128 | AES256 | AES128-GCM-16 | AES256-GCM-16 Phase2EncryptionAlgorithms []*Phase2EncryptionAlgorithmsRequestListValue `locationName:"Phase2EncryptionAlgorithm" locationNameList:"item" type:"list"` // One or more integrity algorithms that are permitted for the VPN tunnel for // phase 2 IKE negotiations. // - // Valid values: SHA1 | SHA2-256 + // Valid values: SHA1 | SHA2-256 | SHA2-384 | SHA2-512 Phase2IntegrityAlgorithms []*Phase2IntegrityAlgorithmsRequestListValue `locationName:"Phase2IntegrityAlgorithm" locationNameList:"item" type:"list"` // The lifetime for phase 2 of the IKE negotiation, in seconds. @@ -92685,7 +92685,7 @@ type ModifyVpnTunnelOptionsSpecification struct { // Default: 1024 ReplayWindowSize *int64 `type:"integer"` - // The range of inside IP addresses for the tunnel. Any specified CIDR blocks + // The range of inside IPv4 addresses for the tunnel. Any specified CIDR blocks // must be unique across all VPN connections that use the same virtual private // gateway. // @@ -92706,6 +92706,12 @@ type ModifyVpnTunnelOptionsSpecification struct { // // * 169.254.169.252/30 TunnelInsideCidr *string `type:"string"` + + // The range of inside IPv6 addresses for the tunnel. Any specified CIDR blocks + // must be unique across all VPN connections that use the same transit gateway. + // + // Constraints: A size /126 CIDR block from the local fd00::/8 range. + TunnelInsideIpv6Cidr *string `type:"string"` } // String returns the string representation @@ -92808,6 +92814,12 @@ func (s *ModifyVpnTunnelOptionsSpecification) SetTunnelInsideCidr(v string) *Mod return s } +// SetTunnelInsideIpv6Cidr sets the TunnelInsideIpv6Cidr field's value. +func (s *ModifyVpnTunnelOptionsSpecification) SetTunnelInsideIpv6Cidr(v string) *ModifyVpnTunnelOptionsSpecification { + s.TunnelInsideIpv6Cidr = &v + return s +} + type MonitorInstancesInput struct { _ struct{} `type:"structure"` @@ -93739,6 +93751,9 @@ type NetworkInterfaceAssociation struct { // is associated with a Wavelength Zone. CarrierIp *string `locationName:"carrierIp" type:"string"` + // The customer-owned IP address associated with the network interface. + CustomerOwnedIp *string `locationName:"customerOwnedIp" type:"string"` + // The ID of the Elastic IP address owner. IpOwnerId *string `locationName:"ipOwnerId" type:"string"` @@ -93778,6 +93793,12 @@ func (s *NetworkInterfaceAssociation) SetCarrierIp(v string) *NetworkInterfaceAs return s } +// SetCustomerOwnedIp sets the CustomerOwnedIp field's value. +func (s *NetworkInterfaceAssociation) SetCustomerOwnedIp(v string) *NetworkInterfaceAssociation { + s.CustomerOwnedIp = &v + return s +} + // SetIpOwnerId sets the IpOwnerId field's value. func (s *NetworkInterfaceAssociation) SetIpOwnerId(v string) *NetworkInterfaceAssociation { s.IpOwnerId = &v @@ -109884,8 +109905,11 @@ type TunnelOption struct { // The number of packets in an IKE replay window. ReplayWindowSize *int64 `locationName:"replayWindowSize" type:"integer"` - // The range of inside IP addresses for the tunnel. + // The range of inside IPv4 addresses for the tunnel. TunnelInsideCidr *string `locationName:"tunnelInsideCidr" type:"string"` + + // The range of inside IPv6 addresses for the tunnel. + TunnelInsideIpv6Cidr *string `locationName:"tunnelInsideIpv6Cidr" type:"string"` } // String returns the string representation @@ -109994,6 +110018,12 @@ func (s *TunnelOption) SetTunnelInsideCidr(v string) *TunnelOption { return s } +// SetTunnelInsideIpv6Cidr sets the TunnelInsideIpv6Cidr field's value. +func (s *TunnelOption) SetTunnelInsideIpv6Cidr(v string) *TunnelOption { + s.TunnelInsideIpv6Cidr = &v + return s +} + type UnassignIpv6AddressesInput struct { _ struct{} `type:"structure"` @@ -112554,6 +112584,9 @@ type VpnConnectionOptions struct { // must be used for devices that don't support BGP. StaticRoutesOnly *bool `locationName:"staticRoutesOnly" type:"boolean"` + // Indicates whether the VPN tunnels process IPv4 or IPv6 traffic. + TunnelInsideIpVersion *string `locationName:"tunnelInsideIpVersion" type:"string" enum:"TunnelInsideIpVersion"` + // Indicates the VPN tunnel options. TunnelOptions []*TunnelOption `locationName:"tunnelOptionSet" locationNameList:"item" type:"list"` } @@ -112580,6 +112613,12 @@ func (s *VpnConnectionOptions) SetStaticRoutesOnly(v bool) *VpnConnectionOptions return s } +// SetTunnelInsideIpVersion sets the TunnelInsideIpVersion field's value. +func (s *VpnConnectionOptions) SetTunnelInsideIpVersion(v string) *VpnConnectionOptions { + s.TunnelInsideIpVersion = &v + return s +} + // SetTunnelOptions sets the TunnelOptions field's value. func (s *VpnConnectionOptions) SetTunnelOptions(v []*TunnelOption) *VpnConnectionOptions { s.TunnelOptions = v @@ -112602,6 +112641,11 @@ type VpnConnectionOptionsSpecification struct { // Default: false StaticRoutesOnly *bool `locationName:"staticRoutesOnly" type:"boolean"` + // Indicate whether the VPN tunnels process IPv4 or IPv6 traffic. + // + // Default: ipv4 + TunnelInsideIpVersion *string `type:"string" enum:"TunnelInsideIpVersion"` + // The tunnel options for the VPN connection. TunnelOptions []*VpnTunnelOptionsSpecification `type:"list"` } @@ -112628,6 +112672,12 @@ func (s *VpnConnectionOptionsSpecification) SetStaticRoutesOnly(v bool) *VpnConn return s } +// SetTunnelInsideIpVersion sets the TunnelInsideIpVersion field's value. +func (s *VpnConnectionOptionsSpecification) SetTunnelInsideIpVersion(v string) *VpnConnectionOptionsSpecification { + s.TunnelInsideIpVersion = &v + return s +} + // SetTunnelOptions sets the TunnelOptions field's value. func (s *VpnConnectionOptionsSpecification) SetTunnelOptions(v []*VpnTunnelOptionsSpecification) *VpnConnectionOptionsSpecification { s.TunnelOptions = v @@ -112774,19 +112824,19 @@ type VpnTunnelOptionsSpecification struct { // One or more Diffie-Hellman group numbers that are permitted for the VPN tunnel // for phase 1 IKE negotiations. // - // Valid values: 2 | 14 | 15 | 16 | 17 | 18 | 22 | 23 | 24 + // Valid values: 2 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 Phase1DHGroupNumbers []*Phase1DHGroupNumbersRequestListValue `locationName:"Phase1DHGroupNumber" locationNameList:"item" type:"list"` // One or more encryption algorithms that are permitted for the VPN tunnel for // phase 1 IKE negotiations. // - // Valid values: AES128 | AES256 + // Valid values: AES128 | AES256 | AES128-GCM-16 | AES256-GCM-16 Phase1EncryptionAlgorithms []*Phase1EncryptionAlgorithmsRequestListValue `locationName:"Phase1EncryptionAlgorithm" locationNameList:"item" type:"list"` // One or more integrity algorithms that are permitted for the VPN tunnel for // phase 1 IKE negotiations. // - // Valid values: SHA1 | SHA2-256 + // Valid values: SHA1 | SHA2-256 | SHA2-384 | SHA2-512 Phase1IntegrityAlgorithms []*Phase1IntegrityAlgorithmsRequestListValue `locationName:"Phase1IntegrityAlgorithm" locationNameList:"item" type:"list"` // The lifetime for phase 1 of the IKE negotiation, in seconds. @@ -112799,19 +112849,19 @@ type VpnTunnelOptionsSpecification struct { // One or more Diffie-Hellman group numbers that are permitted for the VPN tunnel // for phase 2 IKE negotiations. // - // Valid values: 2 | 5 | 14 | 15 | 16 | 17 | 18 | 22 | 23 | 24 + // Valid values: 2 | 5 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 Phase2DHGroupNumbers []*Phase2DHGroupNumbersRequestListValue `locationName:"Phase2DHGroupNumber" locationNameList:"item" type:"list"` // One or more encryption algorithms that are permitted for the VPN tunnel for // phase 2 IKE negotiations. // - // Valid values: AES128 | AES256 + // Valid values: AES128 | AES256 | AES128-GCM-16 | AES256-GCM-16 Phase2EncryptionAlgorithms []*Phase2EncryptionAlgorithmsRequestListValue `locationName:"Phase2EncryptionAlgorithm" locationNameList:"item" type:"list"` // One or more integrity algorithms that are permitted for the VPN tunnel for // phase 2 IKE negotiations. // - // Valid values: SHA1 | SHA2-256 + // Valid values: SHA1 | SHA2-256 | SHA2-384 | SHA2-512 Phase2IntegrityAlgorithms []*Phase2IntegrityAlgorithmsRequestListValue `locationName:"Phase2IntegrityAlgorithm" locationNameList:"item" type:"list"` // The lifetime for phase 2 of the IKE negotiation, in seconds. @@ -112854,7 +112904,7 @@ type VpnTunnelOptionsSpecification struct { // Default: 1024 ReplayWindowSize *int64 `type:"integer"` - // The range of inside IP addresses for the tunnel. Any specified CIDR blocks + // The range of inside IPv4 addresses for the tunnel. Any specified CIDR blocks // must be unique across all VPN connections that use the same virtual private // gateway. // @@ -112875,6 +112925,12 @@ type VpnTunnelOptionsSpecification struct { // // * 169.254.169.252/30 TunnelInsideCidr *string `type:"string"` + + // The range of inside IPv6 addresses for the tunnel. Any specified CIDR blocks + // must be unique across all VPN connections that use the same transit gateway. + // + // Constraints: A size /126 CIDR block from the local fd00::/8 range. + TunnelInsideIpv6Cidr *string `type:"string"` } // String returns the string representation @@ -112977,6 +113033,12 @@ func (s *VpnTunnelOptionsSpecification) SetTunnelInsideCidr(v string) *VpnTunnel return s } +// SetTunnelInsideIpv6Cidr sets the TunnelInsideIpv6Cidr field's value. +func (s *VpnTunnelOptionsSpecification) SetTunnelInsideIpv6Cidr(v string) *VpnTunnelOptionsSpecification { + s.TunnelInsideIpv6Cidr = &v + return s +} + type WithdrawByoipCidrInput struct { _ struct{} `type:"structure"` @@ -113058,6 +113120,14 @@ const ( AccountAttributeNameDefaultVpc = "default-vpc" ) +// AccountAttributeName_Values returns all elements of the AccountAttributeName enum +func AccountAttributeName_Values() []string { + return []string{ + AccountAttributeNameSupportedPlatforms, + AccountAttributeNameDefaultVpc, + } +} + const ( // ActivityStatusError is a ActivityStatus enum value ActivityStatusError = "error" @@ -113072,6 +113142,16 @@ const ( ActivityStatusFulfilled = "fulfilled" ) +// ActivityStatus_Values returns all elements of the ActivityStatus enum +func ActivityStatus_Values() []string { + return []string{ + ActivityStatusError, + ActivityStatusPendingFulfillment, + ActivityStatusPendingTermination, + ActivityStatusFulfilled, + } +} + const ( // AffinityDefault is a Affinity enum value AffinityDefault = "default" @@ -113080,6 +113160,14 @@ const ( AffinityHost = "host" ) +// Affinity_Values returns all elements of the Affinity enum +func Affinity_Values() []string { + return []string{ + AffinityDefault, + AffinityHost, + } +} + const ( // AllocationStateAvailable is a AllocationState enum value AllocationStateAvailable = "available" @@ -113100,6 +113188,18 @@ const ( AllocationStatePending = "pending" ) +// AllocationState_Values returns all elements of the AllocationState enum +func AllocationState_Values() []string { + return []string{ + AllocationStateAvailable, + AllocationStateUnderAssessment, + AllocationStatePermanentFailure, + AllocationStateReleased, + AllocationStateReleasedPermanentFailure, + AllocationStatePending, + } +} + const ( // AllocationStrategyLowestPrice is a AllocationStrategy enum value AllocationStrategyLowestPrice = "lowestPrice" @@ -113111,6 +113211,15 @@ const ( AllocationStrategyCapacityOptimized = "capacityOptimized" ) +// AllocationStrategy_Values returns all elements of the AllocationStrategy enum +func AllocationStrategy_Values() []string { + return []string{ + AllocationStrategyLowestPrice, + AllocationStrategyDiversified, + AllocationStrategyCapacityOptimized, + } +} + const ( // AllowsMultipleInstanceTypesOn is a AllowsMultipleInstanceTypes enum value AllowsMultipleInstanceTypesOn = "on" @@ -113119,6 +113228,14 @@ const ( AllowsMultipleInstanceTypesOff = "off" ) +// AllowsMultipleInstanceTypes_Values returns all elements of the AllowsMultipleInstanceTypes enum +func AllowsMultipleInstanceTypes_Values() []string { + return []string{ + AllowsMultipleInstanceTypesOn, + AllowsMultipleInstanceTypesOff, + } +} + const ( // ArchitectureTypeI386 is a ArchitectureType enum value ArchitectureTypeI386 = "i386" @@ -113130,6 +113247,15 @@ const ( ArchitectureTypeArm64 = "arm64" ) +// ArchitectureType_Values returns all elements of the ArchitectureType enum +func ArchitectureType_Values() []string { + return []string{ + ArchitectureTypeI386, + ArchitectureTypeX8664, + ArchitectureTypeArm64, + } +} + const ( // ArchitectureValuesI386 is a ArchitectureValues enum value ArchitectureValuesI386 = "i386" @@ -113141,11 +113267,27 @@ const ( ArchitectureValuesArm64 = "arm64" ) +// ArchitectureValues_Values returns all elements of the ArchitectureValues enum +func ArchitectureValues_Values() []string { + return []string{ + ArchitectureValuesI386, + ArchitectureValuesX8664, + ArchitectureValuesArm64, + } +} + const ( // AssociatedNetworkTypeVpc is a AssociatedNetworkType enum value AssociatedNetworkTypeVpc = "vpc" ) +// AssociatedNetworkType_Values returns all elements of the AssociatedNetworkType enum +func AssociatedNetworkType_Values() []string { + return []string{ + AssociatedNetworkTypeVpc, + } +} + const ( // AssociationStatusCodeAssociating is a AssociationStatusCode enum value AssociationStatusCodeAssociating = "associating" @@ -113163,6 +113305,17 @@ const ( AssociationStatusCodeDisassociated = "disassociated" ) +// AssociationStatusCode_Values returns all elements of the AssociationStatusCode enum +func AssociationStatusCode_Values() []string { + return []string{ + AssociationStatusCodeAssociating, + AssociationStatusCodeAssociated, + AssociationStatusCodeAssociationFailed, + AssociationStatusCodeDisassociating, + AssociationStatusCodeDisassociated, + } +} + const ( // AttachmentStatusAttaching is a AttachmentStatus enum value AttachmentStatusAttaching = "attaching" @@ -113177,6 +113330,16 @@ const ( AttachmentStatusDetached = "detached" ) +// AttachmentStatus_Values returns all elements of the AttachmentStatus enum +func AttachmentStatus_Values() []string { + return []string{ + AttachmentStatusAttaching, + AttachmentStatusAttached, + AttachmentStatusDetaching, + AttachmentStatusDetached, + } +} + const ( // AutoAcceptSharedAttachmentsValueEnable is a AutoAcceptSharedAttachmentsValue enum value AutoAcceptSharedAttachmentsValueEnable = "enable" @@ -113185,6 +113348,14 @@ const ( AutoAcceptSharedAttachmentsValueDisable = "disable" ) +// AutoAcceptSharedAttachmentsValue_Values returns all elements of the AutoAcceptSharedAttachmentsValue enum +func AutoAcceptSharedAttachmentsValue_Values() []string { + return []string{ + AutoAcceptSharedAttachmentsValueEnable, + AutoAcceptSharedAttachmentsValueDisable, + } +} + const ( // AutoPlacementOn is a AutoPlacement enum value AutoPlacementOn = "on" @@ -113193,6 +113364,14 @@ const ( AutoPlacementOff = "off" ) +// AutoPlacement_Values returns all elements of the AutoPlacement enum +func AutoPlacement_Values() []string { + return []string{ + AutoPlacementOn, + AutoPlacementOff, + } +} + const ( // AvailabilityZoneOptInStatusOptInNotRequired is a AvailabilityZoneOptInStatus enum value AvailabilityZoneOptInStatusOptInNotRequired = "opt-in-not-required" @@ -113204,6 +113383,15 @@ const ( AvailabilityZoneOptInStatusNotOptedIn = "not-opted-in" ) +// AvailabilityZoneOptInStatus_Values returns all elements of the AvailabilityZoneOptInStatus enum +func AvailabilityZoneOptInStatus_Values() []string { + return []string{ + AvailabilityZoneOptInStatusOptInNotRequired, + AvailabilityZoneOptInStatusOptedIn, + AvailabilityZoneOptInStatusNotOptedIn, + } +} + const ( // AvailabilityZoneStateAvailable is a AvailabilityZoneState enum value AvailabilityZoneStateAvailable = "available" @@ -113218,6 +113406,16 @@ const ( AvailabilityZoneStateUnavailable = "unavailable" ) +// AvailabilityZoneState_Values returns all elements of the AvailabilityZoneState enum +func AvailabilityZoneState_Values() []string { + return []string{ + AvailabilityZoneStateAvailable, + AvailabilityZoneStateInformation, + AvailabilityZoneStateImpaired, + AvailabilityZoneStateUnavailable, + } +} + const ( // BatchStateSubmitted is a BatchState enum value BatchStateSubmitted = "submitted" @@ -113241,6 +113439,19 @@ const ( BatchStateModifying = "modifying" ) +// BatchState_Values returns all elements of the BatchState enum +func BatchState_Values() []string { + return []string{ + BatchStateSubmitted, + BatchStateActive, + BatchStateCancelled, + BatchStateFailed, + BatchStateCancelledRunning, + BatchStateCancelledTerminating, + BatchStateModifying, + } +} + const ( // BundleTaskStatePending is a BundleTaskState enum value BundleTaskStatePending = "pending" @@ -113264,6 +113475,19 @@ const ( BundleTaskStateFailed = "failed" ) +// BundleTaskState_Values returns all elements of the BundleTaskState enum +func BundleTaskState_Values() []string { + return []string{ + BundleTaskStatePending, + BundleTaskStateWaitingForShutdown, + BundleTaskStateBundling, + BundleTaskStateStoring, + BundleTaskStateCancelling, + BundleTaskStateComplete, + BundleTaskStateFailed, + } +} + const ( // ByoipCidrStateAdvertised is a ByoipCidrState enum value ByoipCidrStateAdvertised = "advertised" @@ -113290,6 +113514,20 @@ const ( ByoipCidrStateProvisionedNotPubliclyAdvertisable = "provisioned-not-publicly-advertisable" ) +// ByoipCidrState_Values returns all elements of the ByoipCidrState enum +func ByoipCidrState_Values() []string { + return []string{ + ByoipCidrStateAdvertised, + ByoipCidrStateDeprovisioned, + ByoipCidrStateFailedDeprovision, + ByoipCidrStateFailedProvision, + ByoipCidrStatePendingDeprovision, + ByoipCidrStatePendingProvision, + ByoipCidrStateProvisioned, + ByoipCidrStateProvisionedNotPubliclyAdvertisable, + } +} + const ( // CancelBatchErrorCodeFleetRequestIdDoesNotExist is a CancelBatchErrorCode enum value CancelBatchErrorCodeFleetRequestIdDoesNotExist = "fleetRequestIdDoesNotExist" @@ -113304,6 +113542,16 @@ const ( CancelBatchErrorCodeUnexpectedError = "unexpectedError" ) +// CancelBatchErrorCode_Values returns all elements of the CancelBatchErrorCode enum +func CancelBatchErrorCode_Values() []string { + return []string{ + CancelBatchErrorCodeFleetRequestIdDoesNotExist, + CancelBatchErrorCodeFleetRequestIdMalformed, + CancelBatchErrorCodeFleetRequestNotInCancellableState, + CancelBatchErrorCodeUnexpectedError, + } +} + const ( // CancelSpotInstanceRequestStateActive is a CancelSpotInstanceRequestState enum value CancelSpotInstanceRequestStateActive = "active" @@ -113321,6 +113569,17 @@ const ( CancelSpotInstanceRequestStateCompleted = "completed" ) +// CancelSpotInstanceRequestState_Values returns all elements of the CancelSpotInstanceRequestState enum +func CancelSpotInstanceRequestState_Values() []string { + return []string{ + CancelSpotInstanceRequestStateActive, + CancelSpotInstanceRequestStateOpen, + CancelSpotInstanceRequestStateClosed, + CancelSpotInstanceRequestStateCancelled, + CancelSpotInstanceRequestStateCompleted, + } +} + const ( // CapacityReservationInstancePlatformLinuxUnix is a CapacityReservationInstancePlatform enum value CapacityReservationInstancePlatformLinuxUnix = "Linux/UNIX" @@ -113354,11 +113613,25 @@ const ( // CapacityReservationInstancePlatformLinuxwithSqlserverEnterprise is a CapacityReservationInstancePlatform enum value CapacityReservationInstancePlatformLinuxwithSqlserverEnterprise = "Linux with SQL Server Enterprise" - - // CapacityReservationInstancePlatformWindowsByol is a CapacityReservationInstancePlatform enum value - CapacityReservationInstancePlatformWindowsByol = "Windows BYOL" ) +// CapacityReservationInstancePlatform_Values returns all elements of the CapacityReservationInstancePlatform enum +func CapacityReservationInstancePlatform_Values() []string { + return []string{ + CapacityReservationInstancePlatformLinuxUnix, + CapacityReservationInstancePlatformRedHatEnterpriseLinux, + CapacityReservationInstancePlatformSuselinux, + CapacityReservationInstancePlatformWindows, + CapacityReservationInstancePlatformWindowswithSqlserver, + CapacityReservationInstancePlatformWindowswithSqlserverEnterprise, + CapacityReservationInstancePlatformWindowswithSqlserverStandard, + CapacityReservationInstancePlatformWindowswithSqlserverWeb, + CapacityReservationInstancePlatformLinuxwithSqlserverStandard, + CapacityReservationInstancePlatformLinuxwithSqlserverWeb, + CapacityReservationInstancePlatformLinuxwithSqlserverEnterprise, + } +} + const ( // CapacityReservationPreferenceOpen is a CapacityReservationPreference enum value CapacityReservationPreferenceOpen = "open" @@ -113367,6 +113640,14 @@ const ( CapacityReservationPreferenceNone = "none" ) +// CapacityReservationPreference_Values returns all elements of the CapacityReservationPreference enum +func CapacityReservationPreference_Values() []string { + return []string{ + CapacityReservationPreferenceOpen, + CapacityReservationPreferenceNone, + } +} + const ( // CapacityReservationStateActive is a CapacityReservationState enum value CapacityReservationStateActive = "active" @@ -113384,6 +113665,17 @@ const ( CapacityReservationStateFailed = "failed" ) +// CapacityReservationState_Values returns all elements of the CapacityReservationState enum +func CapacityReservationState_Values() []string { + return []string{ + CapacityReservationStateActive, + CapacityReservationStateExpired, + CapacityReservationStateCancelled, + CapacityReservationStatePending, + CapacityReservationStateFailed, + } +} + const ( // CapacityReservationTenancyDefault is a CapacityReservationTenancy enum value CapacityReservationTenancyDefault = "default" @@ -113392,6 +113684,14 @@ const ( CapacityReservationTenancyDedicated = "dedicated" ) +// CapacityReservationTenancy_Values returns all elements of the CapacityReservationTenancy enum +func CapacityReservationTenancy_Values() []string { + return []string{ + CapacityReservationTenancyDefault, + CapacityReservationTenancyDedicated, + } +} + const ( // CarrierGatewayStatePending is a CarrierGatewayState enum value CarrierGatewayStatePending = "pending" @@ -113406,6 +113706,16 @@ const ( CarrierGatewayStateDeleted = "deleted" ) +// CarrierGatewayState_Values returns all elements of the CarrierGatewayState enum +func CarrierGatewayState_Values() []string { + return []string{ + CarrierGatewayStatePending, + CarrierGatewayStateAvailable, + CarrierGatewayStateDeleting, + CarrierGatewayStateDeleted, + } +} + const ( // ClientCertificateRevocationListStatusCodePending is a ClientCertificateRevocationListStatusCode enum value ClientCertificateRevocationListStatusCodePending = "pending" @@ -113414,6 +113724,14 @@ const ( ClientCertificateRevocationListStatusCodeActive = "active" ) +// ClientCertificateRevocationListStatusCode_Values returns all elements of the ClientCertificateRevocationListStatusCode enum +func ClientCertificateRevocationListStatusCode_Values() []string { + return []string{ + ClientCertificateRevocationListStatusCodePending, + ClientCertificateRevocationListStatusCodeActive, + } +} + const ( // ClientVpnAuthenticationTypeCertificateAuthentication is a ClientVpnAuthenticationType enum value ClientVpnAuthenticationTypeCertificateAuthentication = "certificate-authentication" @@ -113425,6 +113743,15 @@ const ( ClientVpnAuthenticationTypeFederatedAuthentication = "federated-authentication" ) +// ClientVpnAuthenticationType_Values returns all elements of the ClientVpnAuthenticationType enum +func ClientVpnAuthenticationType_Values() []string { + return []string{ + ClientVpnAuthenticationTypeCertificateAuthentication, + ClientVpnAuthenticationTypeDirectoryServiceAuthentication, + ClientVpnAuthenticationTypeFederatedAuthentication, + } +} + const ( // ClientVpnAuthorizationRuleStatusCodeAuthorizing is a ClientVpnAuthorizationRuleStatusCode enum value ClientVpnAuthorizationRuleStatusCodeAuthorizing = "authorizing" @@ -113439,6 +113766,16 @@ const ( ClientVpnAuthorizationRuleStatusCodeRevoking = "revoking" ) +// ClientVpnAuthorizationRuleStatusCode_Values returns all elements of the ClientVpnAuthorizationRuleStatusCode enum +func ClientVpnAuthorizationRuleStatusCode_Values() []string { + return []string{ + ClientVpnAuthorizationRuleStatusCodeAuthorizing, + ClientVpnAuthorizationRuleStatusCodeActive, + ClientVpnAuthorizationRuleStatusCodeFailed, + ClientVpnAuthorizationRuleStatusCodeRevoking, + } +} + const ( // ClientVpnConnectionStatusCodeActive is a ClientVpnConnectionStatusCode enum value ClientVpnConnectionStatusCodeActive = "active" @@ -113453,6 +113790,16 @@ const ( ClientVpnConnectionStatusCodeTerminated = "terminated" ) +// ClientVpnConnectionStatusCode_Values returns all elements of the ClientVpnConnectionStatusCode enum +func ClientVpnConnectionStatusCode_Values() []string { + return []string{ + ClientVpnConnectionStatusCodeActive, + ClientVpnConnectionStatusCodeFailedToTerminate, + ClientVpnConnectionStatusCodeTerminating, + ClientVpnConnectionStatusCodeTerminated, + } +} + const ( // ClientVpnEndpointStatusCodePendingAssociate is a ClientVpnEndpointStatusCode enum value ClientVpnEndpointStatusCodePendingAssociate = "pending-associate" @@ -113467,6 +113814,16 @@ const ( ClientVpnEndpointStatusCodeDeleted = "deleted" ) +// ClientVpnEndpointStatusCode_Values returns all elements of the ClientVpnEndpointStatusCode enum +func ClientVpnEndpointStatusCode_Values() []string { + return []string{ + ClientVpnEndpointStatusCodePendingAssociate, + ClientVpnEndpointStatusCodeAvailable, + ClientVpnEndpointStatusCodeDeleting, + ClientVpnEndpointStatusCodeDeleted, + } +} + const ( // ClientVpnRouteStatusCodeCreating is a ClientVpnRouteStatusCode enum value ClientVpnRouteStatusCodeCreating = "creating" @@ -113481,6 +113838,16 @@ const ( ClientVpnRouteStatusCodeDeleting = "deleting" ) +// ClientVpnRouteStatusCode_Values returns all elements of the ClientVpnRouteStatusCode enum +func ClientVpnRouteStatusCode_Values() []string { + return []string{ + ClientVpnRouteStatusCodeCreating, + ClientVpnRouteStatusCodeActive, + ClientVpnRouteStatusCodeFailed, + ClientVpnRouteStatusCodeDeleting, + } +} + const ( // ConnectionNotificationStateEnabled is a ConnectionNotificationState enum value ConnectionNotificationStateEnabled = "Enabled" @@ -113489,16 +113856,38 @@ const ( ConnectionNotificationStateDisabled = "Disabled" ) +// ConnectionNotificationState_Values returns all elements of the ConnectionNotificationState enum +func ConnectionNotificationState_Values() []string { + return []string{ + ConnectionNotificationStateEnabled, + ConnectionNotificationStateDisabled, + } +} + const ( // ConnectionNotificationTypeTopic is a ConnectionNotificationType enum value ConnectionNotificationTypeTopic = "Topic" ) +// ConnectionNotificationType_Values returns all elements of the ConnectionNotificationType enum +func ConnectionNotificationType_Values() []string { + return []string{ + ConnectionNotificationTypeTopic, + } +} + const ( // ContainerFormatOva is a ContainerFormat enum value ContainerFormatOva = "ova" ) +// ContainerFormat_Values returns all elements of the ContainerFormat enum +func ContainerFormat_Values() []string { + return []string{ + ContainerFormatOva, + } +} + const ( // ConversionTaskStateActive is a ConversionTaskState enum value ConversionTaskStateActive = "active" @@ -113513,16 +113902,40 @@ const ( ConversionTaskStateCompleted = "completed" ) +// ConversionTaskState_Values returns all elements of the ConversionTaskState enum +func ConversionTaskState_Values() []string { + return []string{ + ConversionTaskStateActive, + ConversionTaskStateCancelling, + ConversionTaskStateCancelled, + ConversionTaskStateCompleted, + } +} + const ( // CopyTagsFromSourceVolume is a CopyTagsFromSource enum value CopyTagsFromSourceVolume = "volume" ) +// CopyTagsFromSource_Values returns all elements of the CopyTagsFromSource enum +func CopyTagsFromSource_Values() []string { + return []string{ + CopyTagsFromSourceVolume, + } +} + const ( // CurrencyCodeValuesUsd is a CurrencyCodeValues enum value CurrencyCodeValuesUsd = "USD" ) +// CurrencyCodeValues_Values returns all elements of the CurrencyCodeValues enum +func CurrencyCodeValues_Values() []string { + return []string{ + CurrencyCodeValuesUsd, + } +} + const ( // DatafeedSubscriptionStateActive is a DatafeedSubscriptionState enum value DatafeedSubscriptionStateActive = "Active" @@ -113531,6 +113944,14 @@ const ( DatafeedSubscriptionStateInactive = "Inactive" ) +// DatafeedSubscriptionState_Values returns all elements of the DatafeedSubscriptionState enum +func DatafeedSubscriptionState_Values() []string { + return []string{ + DatafeedSubscriptionStateActive, + DatafeedSubscriptionStateInactive, + } +} + const ( // DefaultRouteTableAssociationValueEnable is a DefaultRouteTableAssociationValue enum value DefaultRouteTableAssociationValueEnable = "enable" @@ -113539,6 +113960,14 @@ const ( DefaultRouteTableAssociationValueDisable = "disable" ) +// DefaultRouteTableAssociationValue_Values returns all elements of the DefaultRouteTableAssociationValue enum +func DefaultRouteTableAssociationValue_Values() []string { + return []string{ + DefaultRouteTableAssociationValueEnable, + DefaultRouteTableAssociationValueDisable, + } +} + const ( // DefaultRouteTablePropagationValueEnable is a DefaultRouteTablePropagationValue enum value DefaultRouteTablePropagationValueEnable = "enable" @@ -113547,6 +113976,14 @@ const ( DefaultRouteTablePropagationValueDisable = "disable" ) +// DefaultRouteTablePropagationValue_Values returns all elements of the DefaultRouteTablePropagationValue enum +func DefaultRouteTablePropagationValue_Values() []string { + return []string{ + DefaultRouteTablePropagationValueEnable, + DefaultRouteTablePropagationValueDisable, + } +} + const ( // DefaultTargetCapacityTypeSpot is a DefaultTargetCapacityType enum value DefaultTargetCapacityTypeSpot = "spot" @@ -113555,6 +113992,14 @@ const ( DefaultTargetCapacityTypeOnDemand = "on-demand" ) +// DefaultTargetCapacityType_Values returns all elements of the DefaultTargetCapacityType enum +func DefaultTargetCapacityType_Values() []string { + return []string{ + DefaultTargetCapacityTypeSpot, + DefaultTargetCapacityTypeOnDemand, + } +} + const ( // DeleteFleetErrorCodeFleetIdDoesNotExist is a DeleteFleetErrorCode enum value DeleteFleetErrorCodeFleetIdDoesNotExist = "fleetIdDoesNotExist" @@ -113569,6 +114014,16 @@ const ( DeleteFleetErrorCodeUnexpectedError = "unexpectedError" ) +// DeleteFleetErrorCode_Values returns all elements of the DeleteFleetErrorCode enum +func DeleteFleetErrorCode_Values() []string { + return []string{ + DeleteFleetErrorCodeFleetIdDoesNotExist, + DeleteFleetErrorCodeFleetIdMalformed, + DeleteFleetErrorCodeFleetNotInDeletableState, + DeleteFleetErrorCodeUnexpectedError, + } +} + const ( // DeleteQueuedReservedInstancesErrorCodeReservedInstancesIdInvalid is a DeleteQueuedReservedInstancesErrorCode enum value DeleteQueuedReservedInstancesErrorCodeReservedInstancesIdInvalid = "reserved-instances-id-invalid" @@ -113580,6 +114035,15 @@ const ( DeleteQueuedReservedInstancesErrorCodeUnexpectedError = "unexpected-error" ) +// DeleteQueuedReservedInstancesErrorCode_Values returns all elements of the DeleteQueuedReservedInstancesErrorCode enum +func DeleteQueuedReservedInstancesErrorCode_Values() []string { + return []string{ + DeleteQueuedReservedInstancesErrorCodeReservedInstancesIdInvalid, + DeleteQueuedReservedInstancesErrorCodeReservedInstancesNotInQueuedState, + DeleteQueuedReservedInstancesErrorCodeUnexpectedError, + } +} + const ( // DeviceTypeEbs is a DeviceType enum value DeviceTypeEbs = "ebs" @@ -113588,6 +114052,14 @@ const ( DeviceTypeInstanceStore = "instance-store" ) +// DeviceType_Values returns all elements of the DeviceType enum +func DeviceType_Values() []string { + return []string{ + DeviceTypeEbs, + DeviceTypeInstanceStore, + } +} + const ( // DiskImageFormatVmdk is a DiskImageFormat enum value DiskImageFormatVmdk = "VMDK" @@ -113599,6 +114071,15 @@ const ( DiskImageFormatVhd = "VHD" ) +// DiskImageFormat_Values returns all elements of the DiskImageFormat enum +func DiskImageFormat_Values() []string { + return []string{ + DiskImageFormatVmdk, + DiskImageFormatRaw, + DiskImageFormatVhd, + } +} + const ( // DiskTypeHdd is a DiskType enum value DiskTypeHdd = "hdd" @@ -113607,6 +114088,14 @@ const ( DiskTypeSsd = "ssd" ) +// DiskType_Values returns all elements of the DiskType enum +func DiskType_Values() []string { + return []string{ + DiskTypeHdd, + DiskTypeSsd, + } +} + const ( // DnsNameStatePendingVerification is a DnsNameState enum value DnsNameStatePendingVerification = "pendingVerification" @@ -113618,6 +114107,15 @@ const ( DnsNameStateFailed = "failed" ) +// DnsNameState_Values returns all elements of the DnsNameState enum +func DnsNameState_Values() []string { + return []string{ + DnsNameStatePendingVerification, + DnsNameStateVerified, + DnsNameStateFailed, + } +} + const ( // DnsSupportValueEnable is a DnsSupportValue enum value DnsSupportValueEnable = "enable" @@ -113626,6 +114124,14 @@ const ( DnsSupportValueDisable = "disable" ) +// DnsSupportValue_Values returns all elements of the DnsSupportValue enum +func DnsSupportValue_Values() []string { + return []string{ + DnsSupportValueEnable, + DnsSupportValueDisable, + } +} + const ( // DomainTypeVpc is a DomainType enum value DomainTypeVpc = "vpc" @@ -113634,6 +114140,14 @@ const ( DomainTypeStandard = "standard" ) +// DomainType_Values returns all elements of the DomainType enum +func DomainType_Values() []string { + return []string{ + DomainTypeVpc, + DomainTypeStandard, + } +} + const ( // EbsEncryptionSupportUnsupported is a EbsEncryptionSupport enum value EbsEncryptionSupportUnsupported = "unsupported" @@ -113642,6 +114156,14 @@ const ( EbsEncryptionSupportSupported = "supported" ) +// EbsEncryptionSupport_Values returns all elements of the EbsEncryptionSupport enum +func EbsEncryptionSupport_Values() []string { + return []string{ + EbsEncryptionSupportUnsupported, + EbsEncryptionSupportSupported, + } +} + const ( // EbsNvmeSupportUnsupported is a EbsNvmeSupport enum value EbsNvmeSupportUnsupported = "unsupported" @@ -113653,6 +114175,15 @@ const ( EbsNvmeSupportRequired = "required" ) +// EbsNvmeSupport_Values returns all elements of the EbsNvmeSupport enum +func EbsNvmeSupport_Values() []string { + return []string{ + EbsNvmeSupportUnsupported, + EbsNvmeSupportSupported, + EbsNvmeSupportRequired, + } +} + const ( // EbsOptimizedSupportUnsupported is a EbsOptimizedSupport enum value EbsOptimizedSupportUnsupported = "unsupported" @@ -113664,11 +114195,27 @@ const ( EbsOptimizedSupportDefault = "default" ) +// EbsOptimizedSupport_Values returns all elements of the EbsOptimizedSupport enum +func EbsOptimizedSupport_Values() []string { + return []string{ + EbsOptimizedSupportUnsupported, + EbsOptimizedSupportSupported, + EbsOptimizedSupportDefault, + } +} + const ( // ElasticGpuStateAttached is a ElasticGpuState enum value ElasticGpuStateAttached = "ATTACHED" ) +// ElasticGpuState_Values returns all elements of the ElasticGpuState enum +func ElasticGpuState_Values() []string { + return []string{ + ElasticGpuStateAttached, + } +} + const ( // ElasticGpuStatusOk is a ElasticGpuStatus enum value ElasticGpuStatusOk = "OK" @@ -113677,6 +114224,14 @@ const ( ElasticGpuStatusImpaired = "IMPAIRED" ) +// ElasticGpuStatus_Values returns all elements of the ElasticGpuStatus enum +func ElasticGpuStatus_Values() []string { + return []string{ + ElasticGpuStatusOk, + ElasticGpuStatusImpaired, + } +} + const ( // EnaSupportUnsupported is a EnaSupport enum value EnaSupportUnsupported = "unsupported" @@ -113688,6 +114243,15 @@ const ( EnaSupportRequired = "required" ) +// EnaSupport_Values returns all elements of the EnaSupport enum +func EnaSupport_Values() []string { + return []string{ + EnaSupportUnsupported, + EnaSupportSupported, + EnaSupportRequired, + } +} + const ( // EndDateTypeUnlimited is a EndDateType enum value EndDateTypeUnlimited = "unlimited" @@ -113696,6 +114260,14 @@ const ( EndDateTypeLimited = "limited" ) +// EndDateType_Values returns all elements of the EndDateType enum +func EndDateType_Values() []string { + return []string{ + EndDateTypeUnlimited, + EndDateTypeLimited, + } +} + const ( // EventCodeInstanceReboot is a EventCode enum value EventCodeInstanceReboot = "instance-reboot" @@ -113713,6 +114285,17 @@ const ( EventCodeInstanceStop = "instance-stop" ) +// EventCode_Values returns all elements of the EventCode enum +func EventCode_Values() []string { + return []string{ + EventCodeInstanceReboot, + EventCodeSystemReboot, + EventCodeSystemMaintenance, + EventCodeInstanceRetirement, + EventCodeInstanceStop, + } +} + const ( // EventTypeInstanceChange is a EventType enum value EventTypeInstanceChange = "instanceChange" @@ -113727,6 +114310,16 @@ const ( EventTypeInformation = "information" ) +// EventType_Values returns all elements of the EventType enum +func EventType_Values() []string { + return []string{ + EventTypeInstanceChange, + EventTypeFleetRequestChange, + EventTypeError, + EventTypeInformation, + } +} + const ( // ExcessCapacityTerminationPolicyNoTermination is a ExcessCapacityTerminationPolicy enum value ExcessCapacityTerminationPolicyNoTermination = "noTermination" @@ -113735,6 +114328,14 @@ const ( ExcessCapacityTerminationPolicyDefault = "default" ) +// ExcessCapacityTerminationPolicy_Values returns all elements of the ExcessCapacityTerminationPolicy enum +func ExcessCapacityTerminationPolicy_Values() []string { + return []string{ + ExcessCapacityTerminationPolicyNoTermination, + ExcessCapacityTerminationPolicyDefault, + } +} + const ( // ExportEnvironmentCitrix is a ExportEnvironment enum value ExportEnvironmentCitrix = "citrix" @@ -113746,6 +114347,15 @@ const ( ExportEnvironmentMicrosoft = "microsoft" ) +// ExportEnvironment_Values returns all elements of the ExportEnvironment enum +func ExportEnvironment_Values() []string { + return []string{ + ExportEnvironmentCitrix, + ExportEnvironmentVmware, + ExportEnvironmentMicrosoft, + } +} + const ( // ExportTaskStateActive is a ExportTaskState enum value ExportTaskStateActive = "active" @@ -113760,6 +114370,16 @@ const ( ExportTaskStateCompleted = "completed" ) +// ExportTaskState_Values returns all elements of the ExportTaskState enum +func ExportTaskState_Values() []string { + return []string{ + ExportTaskStateActive, + ExportTaskStateCancelling, + ExportTaskStateCancelled, + ExportTaskStateCompleted, + } +} + const ( // FastSnapshotRestoreStateCodeEnabling is a FastSnapshotRestoreStateCode enum value FastSnapshotRestoreStateCodeEnabling = "enabling" @@ -113777,6 +114397,17 @@ const ( FastSnapshotRestoreStateCodeDisabled = "disabled" ) +// FastSnapshotRestoreStateCode_Values returns all elements of the FastSnapshotRestoreStateCode enum +func FastSnapshotRestoreStateCode_Values() []string { + return []string{ + FastSnapshotRestoreStateCodeEnabling, + FastSnapshotRestoreStateCodeOptimizing, + FastSnapshotRestoreStateCodeEnabled, + FastSnapshotRestoreStateCodeDisabling, + FastSnapshotRestoreStateCodeDisabled, + } +} + const ( // FleetActivityStatusError is a FleetActivityStatus enum value FleetActivityStatusError = "error" @@ -113791,11 +114422,28 @@ const ( FleetActivityStatusFulfilled = "fulfilled" ) +// FleetActivityStatus_Values returns all elements of the FleetActivityStatus enum +func FleetActivityStatus_Values() []string { + return []string{ + FleetActivityStatusError, + FleetActivityStatusPendingFulfillment, + FleetActivityStatusPendingTermination, + FleetActivityStatusFulfilled, + } +} + const ( // FleetCapacityReservationUsageStrategyUseCapacityReservationsFirst is a FleetCapacityReservationUsageStrategy enum value FleetCapacityReservationUsageStrategyUseCapacityReservationsFirst = "use-capacity-reservations-first" ) +// FleetCapacityReservationUsageStrategy_Values returns all elements of the FleetCapacityReservationUsageStrategy enum +func FleetCapacityReservationUsageStrategy_Values() []string { + return []string{ + FleetCapacityReservationUsageStrategyUseCapacityReservationsFirst, + } +} + const ( // FleetEventTypeInstanceChange is a FleetEventType enum value FleetEventTypeInstanceChange = "instance-change" @@ -113807,6 +114455,15 @@ const ( FleetEventTypeServiceError = "service-error" ) +// FleetEventType_Values returns all elements of the FleetEventType enum +func FleetEventType_Values() []string { + return []string{ + FleetEventTypeInstanceChange, + FleetEventTypeFleetChange, + FleetEventTypeServiceError, + } +} + const ( // FleetExcessCapacityTerminationPolicyNoTermination is a FleetExcessCapacityTerminationPolicy enum value FleetExcessCapacityTerminationPolicyNoTermination = "no-termination" @@ -113815,6 +114472,14 @@ const ( FleetExcessCapacityTerminationPolicyTermination = "termination" ) +// FleetExcessCapacityTerminationPolicy_Values returns all elements of the FleetExcessCapacityTerminationPolicy enum +func FleetExcessCapacityTerminationPolicy_Values() []string { + return []string{ + FleetExcessCapacityTerminationPolicyNoTermination, + FleetExcessCapacityTerminationPolicyTermination, + } +} + const ( // FleetOnDemandAllocationStrategyLowestPrice is a FleetOnDemandAllocationStrategy enum value FleetOnDemandAllocationStrategyLowestPrice = "lowest-price" @@ -113823,6 +114488,14 @@ const ( FleetOnDemandAllocationStrategyPrioritized = "prioritized" ) +// FleetOnDemandAllocationStrategy_Values returns all elements of the FleetOnDemandAllocationStrategy enum +func FleetOnDemandAllocationStrategy_Values() []string { + return []string{ + FleetOnDemandAllocationStrategyLowestPrice, + FleetOnDemandAllocationStrategyPrioritized, + } +} + const ( // FleetStateCodeSubmitted is a FleetStateCode enum value FleetStateCodeSubmitted = "submitted" @@ -113846,6 +114519,19 @@ const ( FleetStateCodeModifying = "modifying" ) +// FleetStateCode_Values returns all elements of the FleetStateCode enum +func FleetStateCode_Values() []string { + return []string{ + FleetStateCodeSubmitted, + FleetStateCodeActive, + FleetStateCodeDeleted, + FleetStateCodeFailed, + FleetStateCodeDeletedRunning, + FleetStateCodeDeletedTerminating, + FleetStateCodeModifying, + } +} + const ( // FleetTypeRequest is a FleetType enum value FleetTypeRequest = "request" @@ -113857,6 +114543,15 @@ const ( FleetTypeInstant = "instant" ) +// FleetType_Values returns all elements of the FleetType enum +func FleetType_Values() []string { + return []string{ + FleetTypeRequest, + FleetTypeMaintain, + FleetTypeInstant, + } +} + const ( // FlowLogsResourceTypeVpc is a FlowLogsResourceType enum value FlowLogsResourceTypeVpc = "VPC" @@ -113868,6 +114563,15 @@ const ( FlowLogsResourceTypeNetworkInterface = "NetworkInterface" ) +// FlowLogsResourceType_Values returns all elements of the FlowLogsResourceType enum +func FlowLogsResourceType_Values() []string { + return []string{ + FlowLogsResourceTypeVpc, + FlowLogsResourceTypeSubnet, + FlowLogsResourceTypeNetworkInterface, + } +} + const ( // FpgaImageAttributeNameDescription is a FpgaImageAttributeName enum value FpgaImageAttributeNameDescription = "description" @@ -113882,6 +114586,16 @@ const ( FpgaImageAttributeNameProductCodes = "productCodes" ) +// FpgaImageAttributeName_Values returns all elements of the FpgaImageAttributeName enum +func FpgaImageAttributeName_Values() []string { + return []string{ + FpgaImageAttributeNameDescription, + FpgaImageAttributeNameName, + FpgaImageAttributeNameLoadPermission, + FpgaImageAttributeNameProductCodes, + } +} + const ( // FpgaImageStateCodePending is a FpgaImageStateCode enum value FpgaImageStateCodePending = "pending" @@ -113896,11 +114610,28 @@ const ( FpgaImageStateCodeUnavailable = "unavailable" ) +// FpgaImageStateCode_Values returns all elements of the FpgaImageStateCode enum +func FpgaImageStateCode_Values() []string { + return []string{ + FpgaImageStateCodePending, + FpgaImageStateCodeFailed, + FpgaImageStateCodeAvailable, + FpgaImageStateCodeUnavailable, + } +} + const ( // GatewayTypeIpsec1 is a GatewayType enum value GatewayTypeIpsec1 = "ipsec.1" ) +// GatewayType_Values returns all elements of the GatewayType enum +func GatewayType_Values() []string { + return []string{ + GatewayTypeIpsec1, + } +} + const ( // HostRecoveryOn is a HostRecovery enum value HostRecoveryOn = "on" @@ -113909,6 +114640,14 @@ const ( HostRecoveryOff = "off" ) +// HostRecovery_Values returns all elements of the HostRecovery enum +func HostRecovery_Values() []string { + return []string{ + HostRecoveryOn, + HostRecoveryOff, + } +} + const ( // HostTenancyDedicated is a HostTenancy enum value HostTenancyDedicated = "dedicated" @@ -113917,6 +114656,14 @@ const ( HostTenancyHost = "host" ) +// HostTenancy_Values returns all elements of the HostTenancy enum +func HostTenancy_Values() []string { + return []string{ + HostTenancyDedicated, + HostTenancyHost, + } +} + const ( // HttpTokensStateOptional is a HttpTokensState enum value HttpTokensStateOptional = "optional" @@ -113925,6 +114672,14 @@ const ( HttpTokensStateRequired = "required" ) +// HttpTokensState_Values returns all elements of the HttpTokensState enum +func HttpTokensState_Values() []string { + return []string{ + HttpTokensStateOptional, + HttpTokensStateRequired, + } +} + const ( // HypervisorTypeOvm is a HypervisorType enum value HypervisorTypeOvm = "ovm" @@ -113933,6 +114688,14 @@ const ( HypervisorTypeXen = "xen" ) +// HypervisorType_Values returns all elements of the HypervisorType enum +func HypervisorType_Values() []string { + return []string{ + HypervisorTypeOvm, + HypervisorTypeXen, + } +} + const ( // IamInstanceProfileAssociationStateAssociating is a IamInstanceProfileAssociationState enum value IamInstanceProfileAssociationStateAssociating = "associating" @@ -113947,6 +114710,16 @@ const ( IamInstanceProfileAssociationStateDisassociated = "disassociated" ) +// IamInstanceProfileAssociationState_Values returns all elements of the IamInstanceProfileAssociationState enum +func IamInstanceProfileAssociationState_Values() []string { + return []string{ + IamInstanceProfileAssociationStateAssociating, + IamInstanceProfileAssociationStateAssociated, + IamInstanceProfileAssociationStateDisassociating, + IamInstanceProfileAssociationStateDisassociated, + } +} + const ( // ImageAttributeNameDescription is a ImageAttributeName enum value ImageAttributeNameDescription = "description" @@ -113970,6 +114743,19 @@ const ( ImageAttributeNameSriovNetSupport = "sriovNetSupport" ) +// ImageAttributeName_Values returns all elements of the ImageAttributeName enum +func ImageAttributeName_Values() []string { + return []string{ + ImageAttributeNameDescription, + ImageAttributeNameKernel, + ImageAttributeNameRamdisk, + ImageAttributeNameLaunchPermission, + ImageAttributeNameProductCodes, + ImageAttributeNameBlockDeviceMapping, + ImageAttributeNameSriovNetSupport, + } +} + const ( // ImageStatePending is a ImageState enum value ImageStatePending = "pending" @@ -113993,6 +114779,19 @@ const ( ImageStateError = "error" ) +// ImageState_Values returns all elements of the ImageState enum +func ImageState_Values() []string { + return []string{ + ImageStatePending, + ImageStateAvailable, + ImageStateInvalid, + ImageStateDeregistered, + ImageStateTransient, + ImageStateFailed, + ImageStateError, + } +} + const ( // ImageTypeValuesMachine is a ImageTypeValues enum value ImageTypeValuesMachine = "machine" @@ -114004,6 +114803,15 @@ const ( ImageTypeValuesRamdisk = "ramdisk" ) +// ImageTypeValues_Values returns all elements of the ImageTypeValues enum +func ImageTypeValues_Values() []string { + return []string{ + ImageTypeValuesMachine, + ImageTypeValuesKernel, + ImageTypeValuesRamdisk, + } +} + const ( // InstanceAttributeNameInstanceType is a InstanceAttributeName enum value InstanceAttributeNameInstanceType = "instanceType" @@ -114048,6 +114856,26 @@ const ( InstanceAttributeNameEnaSupport = "enaSupport" ) +// InstanceAttributeName_Values returns all elements of the InstanceAttributeName enum +func InstanceAttributeName_Values() []string { + return []string{ + InstanceAttributeNameInstanceType, + InstanceAttributeNameKernel, + InstanceAttributeNameRamdisk, + InstanceAttributeNameUserData, + InstanceAttributeNameDisableApiTermination, + InstanceAttributeNameInstanceInitiatedShutdownBehavior, + InstanceAttributeNameRootDeviceName, + InstanceAttributeNameBlockDeviceMapping, + InstanceAttributeNameProductCodes, + InstanceAttributeNameSourceDestCheck, + InstanceAttributeNameGroupSet, + InstanceAttributeNameEbsOptimized, + InstanceAttributeNameSriovNetSupport, + InstanceAttributeNameEnaSupport, + } +} + const ( // InstanceHealthStatusHealthy is a InstanceHealthStatus enum value InstanceHealthStatusHealthy = "healthy" @@ -114056,6 +114884,14 @@ const ( InstanceHealthStatusUnhealthy = "unhealthy" ) +// InstanceHealthStatus_Values returns all elements of the InstanceHealthStatus enum +func InstanceHealthStatus_Values() []string { + return []string{ + InstanceHealthStatusHealthy, + InstanceHealthStatusUnhealthy, + } +} + const ( // InstanceInterruptionBehaviorHibernate is a InstanceInterruptionBehavior enum value InstanceInterruptionBehaviorHibernate = "hibernate" @@ -114067,6 +114903,15 @@ const ( InstanceInterruptionBehaviorTerminate = "terminate" ) +// InstanceInterruptionBehavior_Values returns all elements of the InstanceInterruptionBehavior enum +func InstanceInterruptionBehavior_Values() []string { + return []string{ + InstanceInterruptionBehaviorHibernate, + InstanceInterruptionBehaviorStop, + InstanceInterruptionBehaviorTerminate, + } +} + const ( // InstanceLifecycleSpot is a InstanceLifecycle enum value InstanceLifecycleSpot = "spot" @@ -114075,6 +114920,14 @@ const ( InstanceLifecycleOnDemand = "on-demand" ) +// InstanceLifecycle_Values returns all elements of the InstanceLifecycle enum +func InstanceLifecycle_Values() []string { + return []string{ + InstanceLifecycleSpot, + InstanceLifecycleOnDemand, + } +} + const ( // InstanceLifecycleTypeSpot is a InstanceLifecycleType enum value InstanceLifecycleTypeSpot = "spot" @@ -114083,6 +114936,14 @@ const ( InstanceLifecycleTypeScheduled = "scheduled" ) +// InstanceLifecycleType_Values returns all elements of the InstanceLifecycleType enum +func InstanceLifecycleType_Values() []string { + return []string{ + InstanceLifecycleTypeSpot, + InstanceLifecycleTypeScheduled, + } +} + const ( // InstanceMatchCriteriaOpen is a InstanceMatchCriteria enum value InstanceMatchCriteriaOpen = "open" @@ -114091,6 +114952,14 @@ const ( InstanceMatchCriteriaTargeted = "targeted" ) +// InstanceMatchCriteria_Values returns all elements of the InstanceMatchCriteria enum +func InstanceMatchCriteria_Values() []string { + return []string{ + InstanceMatchCriteriaOpen, + InstanceMatchCriteriaTargeted, + } +} + const ( // InstanceMetadataEndpointStateDisabled is a InstanceMetadataEndpointState enum value InstanceMetadataEndpointStateDisabled = "disabled" @@ -114099,6 +114968,14 @@ const ( InstanceMetadataEndpointStateEnabled = "enabled" ) +// InstanceMetadataEndpointState_Values returns all elements of the InstanceMetadataEndpointState enum +func InstanceMetadataEndpointState_Values() []string { + return []string{ + InstanceMetadataEndpointStateDisabled, + InstanceMetadataEndpointStateEnabled, + } +} + const ( // InstanceMetadataOptionsStatePending is a InstanceMetadataOptionsState enum value InstanceMetadataOptionsStatePending = "pending" @@ -114107,6 +114984,14 @@ const ( InstanceMetadataOptionsStateApplied = "applied" ) +// InstanceMetadataOptionsState_Values returns all elements of the InstanceMetadataOptionsState enum +func InstanceMetadataOptionsState_Values() []string { + return []string{ + InstanceMetadataOptionsStatePending, + InstanceMetadataOptionsStateApplied, + } +} + const ( // InstanceStateNamePending is a InstanceStateName enum value InstanceStateNamePending = "pending" @@ -114127,6 +115012,18 @@ const ( InstanceStateNameStopped = "stopped" ) +// InstanceStateName_Values returns all elements of the InstanceStateName enum +func InstanceStateName_Values() []string { + return []string{ + InstanceStateNamePending, + InstanceStateNameRunning, + InstanceStateNameShuttingDown, + InstanceStateNameTerminated, + InstanceStateNameStopping, + InstanceStateNameStopped, + } +} + const ( // InstanceTypeT1Micro is a InstanceType enum value InstanceTypeT1Micro = "t1.micro" @@ -115131,6 +116028,346 @@ const ( InstanceTypeM6gd16xlarge = "m6gd.16xlarge" ) +// InstanceType_Values returns all elements of the InstanceType enum +func InstanceType_Values() []string { + return []string{ + InstanceTypeT1Micro, + InstanceTypeT2Nano, + InstanceTypeT2Micro, + InstanceTypeT2Small, + InstanceTypeT2Medium, + InstanceTypeT2Large, + InstanceTypeT2Xlarge, + InstanceTypeT22xlarge, + InstanceTypeT3Nano, + InstanceTypeT3Micro, + InstanceTypeT3Small, + InstanceTypeT3Medium, + InstanceTypeT3Large, + InstanceTypeT3Xlarge, + InstanceTypeT32xlarge, + InstanceTypeT3aNano, + InstanceTypeT3aMicro, + InstanceTypeT3aSmall, + InstanceTypeT3aMedium, + InstanceTypeT3aLarge, + InstanceTypeT3aXlarge, + InstanceTypeT3a2xlarge, + InstanceTypeM1Small, + InstanceTypeM1Medium, + InstanceTypeM1Large, + InstanceTypeM1Xlarge, + InstanceTypeM3Medium, + InstanceTypeM3Large, + InstanceTypeM3Xlarge, + InstanceTypeM32xlarge, + InstanceTypeM4Large, + InstanceTypeM4Xlarge, + InstanceTypeM42xlarge, + InstanceTypeM44xlarge, + InstanceTypeM410xlarge, + InstanceTypeM416xlarge, + InstanceTypeM2Xlarge, + InstanceTypeM22xlarge, + InstanceTypeM24xlarge, + InstanceTypeCr18xlarge, + InstanceTypeR3Large, + InstanceTypeR3Xlarge, + InstanceTypeR32xlarge, + InstanceTypeR34xlarge, + InstanceTypeR38xlarge, + InstanceTypeR4Large, + InstanceTypeR4Xlarge, + InstanceTypeR42xlarge, + InstanceTypeR44xlarge, + InstanceTypeR48xlarge, + InstanceTypeR416xlarge, + InstanceTypeR5Large, + InstanceTypeR5Xlarge, + InstanceTypeR52xlarge, + InstanceTypeR54xlarge, + InstanceTypeR58xlarge, + InstanceTypeR512xlarge, + InstanceTypeR516xlarge, + InstanceTypeR524xlarge, + InstanceTypeR5Metal, + InstanceTypeR5aLarge, + InstanceTypeR5aXlarge, + InstanceTypeR5a2xlarge, + InstanceTypeR5a4xlarge, + InstanceTypeR5a8xlarge, + InstanceTypeR5a12xlarge, + InstanceTypeR5a16xlarge, + InstanceTypeR5a24xlarge, + InstanceTypeR5dLarge, + InstanceTypeR5dXlarge, + InstanceTypeR5d2xlarge, + InstanceTypeR5d4xlarge, + InstanceTypeR5d8xlarge, + InstanceTypeR5d12xlarge, + InstanceTypeR5d16xlarge, + InstanceTypeR5d24xlarge, + InstanceTypeR5dMetal, + InstanceTypeR5adLarge, + InstanceTypeR5adXlarge, + InstanceTypeR5ad2xlarge, + InstanceTypeR5ad4xlarge, + InstanceTypeR5ad8xlarge, + InstanceTypeR5ad12xlarge, + InstanceTypeR5ad16xlarge, + InstanceTypeR5ad24xlarge, + InstanceTypeR6gMetal, + InstanceTypeR6gMedium, + InstanceTypeR6gLarge, + InstanceTypeR6gXlarge, + InstanceTypeR6g2xlarge, + InstanceTypeR6g4xlarge, + InstanceTypeR6g8xlarge, + InstanceTypeR6g12xlarge, + InstanceTypeR6g16xlarge, + InstanceTypeR6gdMetal, + InstanceTypeR6gdMedium, + InstanceTypeR6gdLarge, + InstanceTypeR6gdXlarge, + InstanceTypeR6gd2xlarge, + InstanceTypeR6gd4xlarge, + InstanceTypeR6gd8xlarge, + InstanceTypeR6gd12xlarge, + InstanceTypeR6gd16xlarge, + InstanceTypeX116xlarge, + InstanceTypeX132xlarge, + InstanceTypeX1eXlarge, + InstanceTypeX1e2xlarge, + InstanceTypeX1e4xlarge, + InstanceTypeX1e8xlarge, + InstanceTypeX1e16xlarge, + InstanceTypeX1e32xlarge, + InstanceTypeI2Xlarge, + InstanceTypeI22xlarge, + InstanceTypeI24xlarge, + InstanceTypeI28xlarge, + InstanceTypeI3Large, + InstanceTypeI3Xlarge, + InstanceTypeI32xlarge, + InstanceTypeI34xlarge, + InstanceTypeI38xlarge, + InstanceTypeI316xlarge, + InstanceTypeI3Metal, + InstanceTypeI3enLarge, + InstanceTypeI3enXlarge, + InstanceTypeI3en2xlarge, + InstanceTypeI3en3xlarge, + InstanceTypeI3en6xlarge, + InstanceTypeI3en12xlarge, + InstanceTypeI3en24xlarge, + InstanceTypeI3enMetal, + InstanceTypeHi14xlarge, + InstanceTypeHs18xlarge, + InstanceTypeC1Medium, + InstanceTypeC1Xlarge, + InstanceTypeC3Large, + InstanceTypeC3Xlarge, + InstanceTypeC32xlarge, + InstanceTypeC34xlarge, + InstanceTypeC38xlarge, + InstanceTypeC4Large, + InstanceTypeC4Xlarge, + InstanceTypeC42xlarge, + InstanceTypeC44xlarge, + InstanceTypeC48xlarge, + InstanceTypeC5Large, + InstanceTypeC5Xlarge, + InstanceTypeC52xlarge, + InstanceTypeC54xlarge, + InstanceTypeC59xlarge, + InstanceTypeC512xlarge, + InstanceTypeC518xlarge, + InstanceTypeC524xlarge, + InstanceTypeC5Metal, + InstanceTypeC5aLarge, + InstanceTypeC5aXlarge, + InstanceTypeC5a2xlarge, + InstanceTypeC5a4xlarge, + InstanceTypeC5a8xlarge, + InstanceTypeC5a12xlarge, + InstanceTypeC5a16xlarge, + InstanceTypeC5a24xlarge, + InstanceTypeC5dLarge, + InstanceTypeC5dXlarge, + InstanceTypeC5d2xlarge, + InstanceTypeC5d4xlarge, + InstanceTypeC5d9xlarge, + InstanceTypeC5d12xlarge, + InstanceTypeC5d18xlarge, + InstanceTypeC5d24xlarge, + InstanceTypeC5dMetal, + InstanceTypeC5nLarge, + InstanceTypeC5nXlarge, + InstanceTypeC5n2xlarge, + InstanceTypeC5n4xlarge, + InstanceTypeC5n9xlarge, + InstanceTypeC5n18xlarge, + InstanceTypeC6gMetal, + InstanceTypeC6gMedium, + InstanceTypeC6gLarge, + InstanceTypeC6gXlarge, + InstanceTypeC6g2xlarge, + InstanceTypeC6g4xlarge, + InstanceTypeC6g8xlarge, + InstanceTypeC6g12xlarge, + InstanceTypeC6g16xlarge, + InstanceTypeC6gdMetal, + InstanceTypeC6gdMedium, + InstanceTypeC6gdLarge, + InstanceTypeC6gdXlarge, + InstanceTypeC6gd2xlarge, + InstanceTypeC6gd4xlarge, + InstanceTypeC6gd8xlarge, + InstanceTypeC6gd12xlarge, + InstanceTypeC6gd16xlarge, + InstanceTypeCc14xlarge, + InstanceTypeCc28xlarge, + InstanceTypeG22xlarge, + InstanceTypeG28xlarge, + InstanceTypeG34xlarge, + InstanceTypeG38xlarge, + InstanceTypeG316xlarge, + InstanceTypeG3sXlarge, + InstanceTypeG4dnXlarge, + InstanceTypeG4dn2xlarge, + InstanceTypeG4dn4xlarge, + InstanceTypeG4dn8xlarge, + InstanceTypeG4dn12xlarge, + InstanceTypeG4dn16xlarge, + InstanceTypeG4dnMetal, + InstanceTypeCg14xlarge, + InstanceTypeP2Xlarge, + InstanceTypeP28xlarge, + InstanceTypeP216xlarge, + InstanceTypeP32xlarge, + InstanceTypeP38xlarge, + InstanceTypeP316xlarge, + InstanceTypeP3dn24xlarge, + InstanceTypeD2Xlarge, + InstanceTypeD22xlarge, + InstanceTypeD24xlarge, + InstanceTypeD28xlarge, + InstanceTypeF12xlarge, + InstanceTypeF14xlarge, + InstanceTypeF116xlarge, + InstanceTypeM5Large, + InstanceTypeM5Xlarge, + InstanceTypeM52xlarge, + InstanceTypeM54xlarge, + InstanceTypeM58xlarge, + InstanceTypeM512xlarge, + InstanceTypeM516xlarge, + InstanceTypeM524xlarge, + InstanceTypeM5Metal, + InstanceTypeM5aLarge, + InstanceTypeM5aXlarge, + InstanceTypeM5a2xlarge, + InstanceTypeM5a4xlarge, + InstanceTypeM5a8xlarge, + InstanceTypeM5a12xlarge, + InstanceTypeM5a16xlarge, + InstanceTypeM5a24xlarge, + InstanceTypeM5dLarge, + InstanceTypeM5dXlarge, + InstanceTypeM5d2xlarge, + InstanceTypeM5d4xlarge, + InstanceTypeM5d8xlarge, + InstanceTypeM5d12xlarge, + InstanceTypeM5d16xlarge, + InstanceTypeM5d24xlarge, + InstanceTypeM5dMetal, + InstanceTypeM5adLarge, + InstanceTypeM5adXlarge, + InstanceTypeM5ad2xlarge, + InstanceTypeM5ad4xlarge, + InstanceTypeM5ad8xlarge, + InstanceTypeM5ad12xlarge, + InstanceTypeM5ad16xlarge, + InstanceTypeM5ad24xlarge, + InstanceTypeH12xlarge, + InstanceTypeH14xlarge, + InstanceTypeH18xlarge, + InstanceTypeH116xlarge, + InstanceTypeZ1dLarge, + InstanceTypeZ1dXlarge, + InstanceTypeZ1d2xlarge, + InstanceTypeZ1d3xlarge, + InstanceTypeZ1d6xlarge, + InstanceTypeZ1d12xlarge, + InstanceTypeZ1dMetal, + InstanceTypeU6tb1Metal, + InstanceTypeU9tb1Metal, + InstanceTypeU12tb1Metal, + InstanceTypeU18tb1Metal, + InstanceTypeU24tb1Metal, + InstanceTypeA1Medium, + InstanceTypeA1Large, + InstanceTypeA1Xlarge, + InstanceTypeA12xlarge, + InstanceTypeA14xlarge, + InstanceTypeA1Metal, + InstanceTypeM5dnLarge, + InstanceTypeM5dnXlarge, + InstanceTypeM5dn2xlarge, + InstanceTypeM5dn4xlarge, + InstanceTypeM5dn8xlarge, + InstanceTypeM5dn12xlarge, + InstanceTypeM5dn16xlarge, + InstanceTypeM5dn24xlarge, + InstanceTypeM5nLarge, + InstanceTypeM5nXlarge, + InstanceTypeM5n2xlarge, + InstanceTypeM5n4xlarge, + InstanceTypeM5n8xlarge, + InstanceTypeM5n12xlarge, + InstanceTypeM5n16xlarge, + InstanceTypeM5n24xlarge, + InstanceTypeR5dnLarge, + InstanceTypeR5dnXlarge, + InstanceTypeR5dn2xlarge, + InstanceTypeR5dn4xlarge, + InstanceTypeR5dn8xlarge, + InstanceTypeR5dn12xlarge, + InstanceTypeR5dn16xlarge, + InstanceTypeR5dn24xlarge, + InstanceTypeR5nLarge, + InstanceTypeR5nXlarge, + InstanceTypeR5n2xlarge, + InstanceTypeR5n4xlarge, + InstanceTypeR5n8xlarge, + InstanceTypeR5n12xlarge, + InstanceTypeR5n16xlarge, + InstanceTypeR5n24xlarge, + InstanceTypeInf1Xlarge, + InstanceTypeInf12xlarge, + InstanceTypeInf16xlarge, + InstanceTypeInf124xlarge, + InstanceTypeM6gMetal, + InstanceTypeM6gMedium, + InstanceTypeM6gLarge, + InstanceTypeM6gXlarge, + InstanceTypeM6g2xlarge, + InstanceTypeM6g4xlarge, + InstanceTypeM6g8xlarge, + InstanceTypeM6g12xlarge, + InstanceTypeM6g16xlarge, + InstanceTypeM6gdMetal, + InstanceTypeM6gdMedium, + InstanceTypeM6gdLarge, + InstanceTypeM6gdXlarge, + InstanceTypeM6gd2xlarge, + InstanceTypeM6gd4xlarge, + InstanceTypeM6gd8xlarge, + InstanceTypeM6gd12xlarge, + InstanceTypeM6gd16xlarge, + } +} + const ( // InstanceTypeHypervisorNitro is a InstanceTypeHypervisor enum value InstanceTypeHypervisorNitro = "nitro" @@ -115139,6 +116376,14 @@ const ( InstanceTypeHypervisorXen = "xen" ) +// InstanceTypeHypervisor_Values returns all elements of the InstanceTypeHypervisor enum +func InstanceTypeHypervisor_Values() []string { + return []string{ + InstanceTypeHypervisorNitro, + InstanceTypeHypervisorXen, + } +} + const ( // InterfacePermissionTypeInstanceAttach is a InterfacePermissionType enum value InterfacePermissionTypeInstanceAttach = "INSTANCE-ATTACH" @@ -115147,6 +116392,14 @@ const ( InterfacePermissionTypeEipAssociate = "EIP-ASSOCIATE" ) +// InterfacePermissionType_Values returns all elements of the InterfacePermissionType enum +func InterfacePermissionType_Values() []string { + return []string{ + InterfacePermissionTypeInstanceAttach, + InterfacePermissionTypeEipAssociate, + } +} + const ( // Ipv6SupportValueEnable is a Ipv6SupportValue enum value Ipv6SupportValueEnable = "enable" @@ -115155,6 +116408,14 @@ const ( Ipv6SupportValueDisable = "disable" ) +// Ipv6SupportValue_Values returns all elements of the Ipv6SupportValue enum +func Ipv6SupportValue_Values() []string { + return []string{ + Ipv6SupportValueEnable, + Ipv6SupportValueDisable, + } +} + const ( // LaunchTemplateErrorCodeLaunchTemplateIdDoesNotExist is a LaunchTemplateErrorCode enum value LaunchTemplateErrorCodeLaunchTemplateIdDoesNotExist = "launchTemplateIdDoesNotExist" @@ -115175,6 +116436,18 @@ const ( LaunchTemplateErrorCodeUnexpectedError = "unexpectedError" ) +// LaunchTemplateErrorCode_Values returns all elements of the LaunchTemplateErrorCode enum +func LaunchTemplateErrorCode_Values() []string { + return []string{ + LaunchTemplateErrorCodeLaunchTemplateIdDoesNotExist, + LaunchTemplateErrorCodeLaunchTemplateIdMalformed, + LaunchTemplateErrorCodeLaunchTemplateNameDoesNotExist, + LaunchTemplateErrorCodeLaunchTemplateNameMalformed, + LaunchTemplateErrorCodeLaunchTemplateVersionDoesNotExist, + LaunchTemplateErrorCodeUnexpectedError, + } +} + const ( // LaunchTemplateHttpTokensStateOptional is a LaunchTemplateHttpTokensState enum value LaunchTemplateHttpTokensStateOptional = "optional" @@ -115183,6 +116456,14 @@ const ( LaunchTemplateHttpTokensStateRequired = "required" ) +// LaunchTemplateHttpTokensState_Values returns all elements of the LaunchTemplateHttpTokensState enum +func LaunchTemplateHttpTokensState_Values() []string { + return []string{ + LaunchTemplateHttpTokensStateOptional, + LaunchTemplateHttpTokensStateRequired, + } +} + const ( // LaunchTemplateInstanceMetadataEndpointStateDisabled is a LaunchTemplateInstanceMetadataEndpointState enum value LaunchTemplateInstanceMetadataEndpointStateDisabled = "disabled" @@ -115191,6 +116472,14 @@ const ( LaunchTemplateInstanceMetadataEndpointStateEnabled = "enabled" ) +// LaunchTemplateInstanceMetadataEndpointState_Values returns all elements of the LaunchTemplateInstanceMetadataEndpointState enum +func LaunchTemplateInstanceMetadataEndpointState_Values() []string { + return []string{ + LaunchTemplateInstanceMetadataEndpointStateDisabled, + LaunchTemplateInstanceMetadataEndpointStateEnabled, + } +} + const ( // LaunchTemplateInstanceMetadataOptionsStatePending is a LaunchTemplateInstanceMetadataOptionsState enum value LaunchTemplateInstanceMetadataOptionsStatePending = "pending" @@ -115199,6 +116488,14 @@ const ( LaunchTemplateInstanceMetadataOptionsStateApplied = "applied" ) +// LaunchTemplateInstanceMetadataOptionsState_Values returns all elements of the LaunchTemplateInstanceMetadataOptionsState enum +func LaunchTemplateInstanceMetadataOptionsState_Values() []string { + return []string{ + LaunchTemplateInstanceMetadataOptionsStatePending, + LaunchTemplateInstanceMetadataOptionsStateApplied, + } +} + const ( // ListingStateAvailable is a ListingState enum value ListingStateAvailable = "available" @@ -115213,6 +116510,16 @@ const ( ListingStatePending = "pending" ) +// ListingState_Values returns all elements of the ListingState enum +func ListingState_Values() []string { + return []string{ + ListingStateAvailable, + ListingStateSold, + ListingStateCancelled, + ListingStatePending, + } +} + const ( // ListingStatusActive is a ListingStatus enum value ListingStatusActive = "active" @@ -115227,6 +116534,16 @@ const ( ListingStatusClosed = "closed" ) +// ListingStatus_Values returns all elements of the ListingStatus enum +func ListingStatus_Values() []string { + return []string{ + ListingStatusActive, + ListingStatusPending, + ListingStatusCancelled, + ListingStatusClosed, + } +} + const ( // LocalGatewayRouteStatePending is a LocalGatewayRouteState enum value LocalGatewayRouteStatePending = "pending" @@ -115244,6 +116561,17 @@ const ( LocalGatewayRouteStateDeleted = "deleted" ) +// LocalGatewayRouteState_Values returns all elements of the LocalGatewayRouteState enum +func LocalGatewayRouteState_Values() []string { + return []string{ + LocalGatewayRouteStatePending, + LocalGatewayRouteStateActive, + LocalGatewayRouteStateBlackhole, + LocalGatewayRouteStateDeleting, + LocalGatewayRouteStateDeleted, + } +} + const ( // LocalGatewayRouteTypeStatic is a LocalGatewayRouteType enum value LocalGatewayRouteTypeStatic = "static" @@ -115252,6 +116580,14 @@ const ( LocalGatewayRouteTypePropagated = "propagated" ) +// LocalGatewayRouteType_Values returns all elements of the LocalGatewayRouteType enum +func LocalGatewayRouteType_Values() []string { + return []string{ + LocalGatewayRouteTypeStatic, + LocalGatewayRouteTypePropagated, + } +} + const ( // LocationTypeRegion is a LocationType enum value LocationTypeRegion = "region" @@ -115263,6 +116599,15 @@ const ( LocationTypeAvailabilityZoneId = "availability-zone-id" ) +// LocationType_Values returns all elements of the LocationType enum +func LocationType_Values() []string { + return []string{ + LocationTypeRegion, + LocationTypeAvailabilityZone, + LocationTypeAvailabilityZoneId, + } +} + const ( // LogDestinationTypeCloudWatchLogs is a LogDestinationType enum value LogDestinationTypeCloudWatchLogs = "cloud-watch-logs" @@ -115271,11 +116616,26 @@ const ( LogDestinationTypeS3 = "s3" ) +// LogDestinationType_Values returns all elements of the LogDestinationType enum +func LogDestinationType_Values() []string { + return []string{ + LogDestinationTypeCloudWatchLogs, + LogDestinationTypeS3, + } +} + const ( // MarketTypeSpot is a MarketType enum value MarketTypeSpot = "spot" ) +// MarketType_Values returns all elements of the MarketType enum +func MarketType_Values() []string { + return []string{ + MarketTypeSpot, + } +} + const ( // MembershipTypeStatic is a MembershipType enum value MembershipTypeStatic = "static" @@ -115284,6 +116644,14 @@ const ( MembershipTypeIgmp = "igmp" ) +// MembershipType_Values returns all elements of the MembershipType enum +func MembershipType_Values() []string { + return []string{ + MembershipTypeStatic, + MembershipTypeIgmp, + } +} + const ( // ModifyAvailabilityZoneOptInStatusOptedIn is a ModifyAvailabilityZoneOptInStatus enum value ModifyAvailabilityZoneOptInStatusOptedIn = "opted-in" @@ -115292,6 +116660,14 @@ const ( ModifyAvailabilityZoneOptInStatusNotOptedIn = "not-opted-in" ) +// ModifyAvailabilityZoneOptInStatus_Values returns all elements of the ModifyAvailabilityZoneOptInStatus enum +func ModifyAvailabilityZoneOptInStatus_Values() []string { + return []string{ + ModifyAvailabilityZoneOptInStatusOptedIn, + ModifyAvailabilityZoneOptInStatusNotOptedIn, + } +} + const ( // MonitoringStateDisabled is a MonitoringState enum value MonitoringStateDisabled = "disabled" @@ -115306,6 +116682,16 @@ const ( MonitoringStatePending = "pending" ) +// MonitoringState_Values returns all elements of the MonitoringState enum +func MonitoringState_Values() []string { + return []string{ + MonitoringStateDisabled, + MonitoringStateDisabling, + MonitoringStateEnabled, + MonitoringStatePending, + } +} + const ( // MoveStatusMovingToVpc is a MoveStatus enum value MoveStatusMovingToVpc = "movingToVpc" @@ -115314,6 +116700,14 @@ const ( MoveStatusRestoringToClassic = "restoringToClassic" ) +// MoveStatus_Values returns all elements of the MoveStatus enum +func MoveStatus_Values() []string { + return []string{ + MoveStatusMovingToVpc, + MoveStatusRestoringToClassic, + } +} + const ( // MulticastSupportValueEnable is a MulticastSupportValue enum value MulticastSupportValueEnable = "enable" @@ -115322,6 +116716,14 @@ const ( MulticastSupportValueDisable = "disable" ) +// MulticastSupportValue_Values returns all elements of the MulticastSupportValue enum +func MulticastSupportValue_Values() []string { + return []string{ + MulticastSupportValueEnable, + MulticastSupportValueDisable, + } +} + const ( // NatGatewayStatePending is a NatGatewayState enum value NatGatewayStatePending = "pending" @@ -115339,6 +116741,17 @@ const ( NatGatewayStateDeleted = "deleted" ) +// NatGatewayState_Values returns all elements of the NatGatewayState enum +func NatGatewayState_Values() []string { + return []string{ + NatGatewayStatePending, + NatGatewayStateFailed, + NatGatewayStateAvailable, + NatGatewayStateDeleting, + NatGatewayStateDeleted, + } +} + const ( // NetworkInterfaceAttributeDescription is a NetworkInterfaceAttribute enum value NetworkInterfaceAttributeDescription = "description" @@ -115353,11 +116766,28 @@ const ( NetworkInterfaceAttributeAttachment = "attachment" ) +// NetworkInterfaceAttribute_Values returns all elements of the NetworkInterfaceAttribute enum +func NetworkInterfaceAttribute_Values() []string { + return []string{ + NetworkInterfaceAttributeDescription, + NetworkInterfaceAttributeGroupSet, + NetworkInterfaceAttributeSourceDestCheck, + NetworkInterfaceAttributeAttachment, + } +} + const ( // NetworkInterfaceCreationTypeEfa is a NetworkInterfaceCreationType enum value NetworkInterfaceCreationTypeEfa = "efa" ) +// NetworkInterfaceCreationType_Values returns all elements of the NetworkInterfaceCreationType enum +func NetworkInterfaceCreationType_Values() []string { + return []string{ + NetworkInterfaceCreationTypeEfa, + } +} + const ( // NetworkInterfacePermissionStateCodePending is a NetworkInterfacePermissionStateCode enum value NetworkInterfacePermissionStateCodePending = "pending" @@ -115372,6 +116802,16 @@ const ( NetworkInterfacePermissionStateCodeRevoked = "revoked" ) +// NetworkInterfacePermissionStateCode_Values returns all elements of the NetworkInterfacePermissionStateCode enum +func NetworkInterfacePermissionStateCode_Values() []string { + return []string{ + NetworkInterfacePermissionStateCodePending, + NetworkInterfacePermissionStateCodeGranted, + NetworkInterfacePermissionStateCodeRevoking, + NetworkInterfacePermissionStateCodeRevoked, + } +} + const ( // NetworkInterfaceStatusAvailable is a NetworkInterfaceStatus enum value NetworkInterfaceStatusAvailable = "available" @@ -115389,6 +116829,17 @@ const ( NetworkInterfaceStatusDetaching = "detaching" ) +// NetworkInterfaceStatus_Values returns all elements of the NetworkInterfaceStatus enum +func NetworkInterfaceStatus_Values() []string { + return []string{ + NetworkInterfaceStatusAvailable, + NetworkInterfaceStatusAssociated, + NetworkInterfaceStatusAttaching, + NetworkInterfaceStatusInUse, + NetworkInterfaceStatusDetaching, + } +} + const ( // NetworkInterfaceTypeInterface is a NetworkInterfaceType enum value NetworkInterfaceTypeInterface = "interface" @@ -115400,6 +116851,15 @@ const ( NetworkInterfaceTypeEfa = "efa" ) +// NetworkInterfaceType_Values returns all elements of the NetworkInterfaceType enum +func NetworkInterfaceType_Values() []string { + return []string{ + NetworkInterfaceTypeInterface, + NetworkInterfaceTypeNatGateway, + NetworkInterfaceTypeEfa, + } +} + const ( // OfferingClassTypeStandard is a OfferingClassType enum value OfferingClassTypeStandard = "standard" @@ -115408,6 +116868,14 @@ const ( OfferingClassTypeConvertible = "convertible" ) +// OfferingClassType_Values returns all elements of the OfferingClassType enum +func OfferingClassType_Values() []string { + return []string{ + OfferingClassTypeStandard, + OfferingClassTypeConvertible, + } +} + const ( // OfferingTypeValuesHeavyUtilization is a OfferingTypeValues enum value OfferingTypeValuesHeavyUtilization = "Heavy Utilization" @@ -115428,6 +116896,18 @@ const ( OfferingTypeValuesAllUpfront = "All Upfront" ) +// OfferingTypeValues_Values returns all elements of the OfferingTypeValues enum +func OfferingTypeValues_Values() []string { + return []string{ + OfferingTypeValuesHeavyUtilization, + OfferingTypeValuesMediumUtilization, + OfferingTypeValuesLightUtilization, + OfferingTypeValuesNoUpfront, + OfferingTypeValuesPartialUpfront, + OfferingTypeValuesAllUpfront, + } +} + const ( // OnDemandAllocationStrategyLowestPrice is a OnDemandAllocationStrategy enum value OnDemandAllocationStrategyLowestPrice = "lowestPrice" @@ -115436,6 +116916,14 @@ const ( OnDemandAllocationStrategyPrioritized = "prioritized" ) +// OnDemandAllocationStrategy_Values returns all elements of the OnDemandAllocationStrategy enum +func OnDemandAllocationStrategy_Values() []string { + return []string{ + OnDemandAllocationStrategyLowestPrice, + OnDemandAllocationStrategyPrioritized, + } +} + const ( // OperationTypeAdd is a OperationType enum value OperationTypeAdd = "add" @@ -115444,6 +116932,14 @@ const ( OperationTypeRemove = "remove" ) +// OperationType_Values returns all elements of the OperationType enum +func OperationType_Values() []string { + return []string{ + OperationTypeAdd, + OperationTypeRemove, + } +} + const ( // PaymentOptionAllUpfront is a PaymentOption enum value PaymentOptionAllUpfront = "AllUpfront" @@ -115455,11 +116951,27 @@ const ( PaymentOptionNoUpfront = "NoUpfront" ) +// PaymentOption_Values returns all elements of the PaymentOption enum +func PaymentOption_Values() []string { + return []string{ + PaymentOptionAllUpfront, + PaymentOptionPartialUpfront, + PaymentOptionNoUpfront, + } +} + const ( // PermissionGroupAll is a PermissionGroup enum value PermissionGroupAll = "all" ) +// PermissionGroup_Values returns all elements of the PermissionGroup enum +func PermissionGroup_Values() []string { + return []string{ + PermissionGroupAll, + } +} + const ( // PlacementGroupStatePending is a PlacementGroupState enum value PlacementGroupStatePending = "pending" @@ -115474,6 +116986,16 @@ const ( PlacementGroupStateDeleted = "deleted" ) +// PlacementGroupState_Values returns all elements of the PlacementGroupState enum +func PlacementGroupState_Values() []string { + return []string{ + PlacementGroupStatePending, + PlacementGroupStateAvailable, + PlacementGroupStateDeleting, + PlacementGroupStateDeleted, + } +} + const ( // PlacementGroupStrategyCluster is a PlacementGroupStrategy enum value PlacementGroupStrategyCluster = "cluster" @@ -115485,6 +117007,15 @@ const ( PlacementGroupStrategySpread = "spread" ) +// PlacementGroupStrategy_Values returns all elements of the PlacementGroupStrategy enum +func PlacementGroupStrategy_Values() []string { + return []string{ + PlacementGroupStrategyCluster, + PlacementGroupStrategyPartition, + PlacementGroupStrategySpread, + } +} + const ( // PlacementStrategyCluster is a PlacementStrategy enum value PlacementStrategyCluster = "cluster" @@ -115496,11 +117027,27 @@ const ( PlacementStrategyPartition = "partition" ) +// PlacementStrategy_Values returns all elements of the PlacementStrategy enum +func PlacementStrategy_Values() []string { + return []string{ + PlacementStrategyCluster, + PlacementStrategySpread, + PlacementStrategyPartition, + } +} + const ( // PlatformValuesWindows is a PlatformValues enum value PlatformValuesWindows = "Windows" ) +// PlatformValues_Values returns all elements of the PlatformValues enum +func PlatformValues_Values() []string { + return []string{ + PlatformValuesWindows, + } +} + const ( // PrefixListStateCreateInProgress is a PrefixListState enum value PrefixListStateCreateInProgress = "create-in-progress" @@ -115539,6 +117086,24 @@ const ( PrefixListStateDeleteFailed = "delete-failed" ) +// PrefixListState_Values returns all elements of the PrefixListState enum +func PrefixListState_Values() []string { + return []string{ + PrefixListStateCreateInProgress, + PrefixListStateCreateComplete, + PrefixListStateCreateFailed, + PrefixListStateModifyInProgress, + PrefixListStateModifyComplete, + PrefixListStateModifyFailed, + PrefixListStateRestoreInProgress, + PrefixListStateRestoreComplete, + PrefixListStateRestoreFailed, + PrefixListStateDeleteInProgress, + PrefixListStateDeleteComplete, + PrefixListStateDeleteFailed, + } +} + const ( // PrincipalTypeAll is a PrincipalType enum value PrincipalTypeAll = "All" @@ -115559,6 +117124,18 @@ const ( PrincipalTypeRole = "Role" ) +// PrincipalType_Values returns all elements of the PrincipalType enum +func PrincipalType_Values() []string { + return []string{ + PrincipalTypeAll, + PrincipalTypeService, + PrincipalTypeOrganizationUnit, + PrincipalTypeAccount, + PrincipalTypeUser, + PrincipalTypeRole, + } +} + const ( // ProductCodeValuesDevpay is a ProductCodeValues enum value ProductCodeValuesDevpay = "devpay" @@ -115567,6 +117144,14 @@ const ( ProductCodeValuesMarketplace = "marketplace" ) +// ProductCodeValues_Values returns all elements of the ProductCodeValues enum +func ProductCodeValues_Values() []string { + return []string{ + ProductCodeValuesDevpay, + ProductCodeValuesMarketplace, + } +} + const ( // RIProductDescriptionLinuxUnix is a RIProductDescription enum value RIProductDescriptionLinuxUnix = "Linux/UNIX" @@ -115581,11 +117166,28 @@ const ( RIProductDescriptionWindowsAmazonVpc = "Windows (Amazon VPC)" ) +// RIProductDescription_Values returns all elements of the RIProductDescription enum +func RIProductDescription_Values() []string { + return []string{ + RIProductDescriptionLinuxUnix, + RIProductDescriptionLinuxUnixamazonVpc, + RIProductDescriptionWindows, + RIProductDescriptionWindowsAmazonVpc, + } +} + const ( // RecurringChargeFrequencyHourly is a RecurringChargeFrequency enum value RecurringChargeFrequencyHourly = "Hourly" ) +// RecurringChargeFrequency_Values returns all elements of the RecurringChargeFrequency enum +func RecurringChargeFrequency_Values() []string { + return []string{ + RecurringChargeFrequencyHourly, + } +} + const ( // ReportInstanceReasonCodesInstanceStuckInState is a ReportInstanceReasonCodes enum value ReportInstanceReasonCodesInstanceStuckInState = "instance-stuck-in-state" @@ -115615,6 +117217,21 @@ const ( ReportInstanceReasonCodesOther = "other" ) +// ReportInstanceReasonCodes_Values returns all elements of the ReportInstanceReasonCodes enum +func ReportInstanceReasonCodes_Values() []string { + return []string{ + ReportInstanceReasonCodesInstanceStuckInState, + ReportInstanceReasonCodesUnresponsive, + ReportInstanceReasonCodesNotAcceptingCredentials, + ReportInstanceReasonCodesPasswordNotAvailable, + ReportInstanceReasonCodesPerformanceNetwork, + ReportInstanceReasonCodesPerformanceInstanceStore, + ReportInstanceReasonCodesPerformanceEbsVolume, + ReportInstanceReasonCodesPerformanceOther, + ReportInstanceReasonCodesOther, + } +} + const ( // ReportStatusTypeOk is a ReportStatusType enum value ReportStatusTypeOk = "ok" @@ -115623,6 +117240,14 @@ const ( ReportStatusTypeImpaired = "impaired" ) +// ReportStatusType_Values returns all elements of the ReportStatusType enum +func ReportStatusType_Values() []string { + return []string{ + ReportStatusTypeOk, + ReportStatusTypeImpaired, + } +} + const ( // ReservationStatePaymentPending is a ReservationState enum value ReservationStatePaymentPending = "payment-pending" @@ -115637,6 +117262,16 @@ const ( ReservationStateRetired = "retired" ) +// ReservationState_Values returns all elements of the ReservationState enum +func ReservationState_Values() []string { + return []string{ + ReservationStatePaymentPending, + ReservationStatePaymentFailed, + ReservationStateActive, + ReservationStateRetired, + } +} + const ( // ReservedInstanceStatePaymentPending is a ReservedInstanceState enum value ReservedInstanceStatePaymentPending = "payment-pending" @@ -115657,16 +117292,42 @@ const ( ReservedInstanceStateQueuedDeleted = "queued-deleted" ) +// ReservedInstanceState_Values returns all elements of the ReservedInstanceState enum +func ReservedInstanceState_Values() []string { + return []string{ + ReservedInstanceStatePaymentPending, + ReservedInstanceStateActive, + ReservedInstanceStatePaymentFailed, + ReservedInstanceStateRetired, + ReservedInstanceStateQueued, + ReservedInstanceStateQueuedDeleted, + } +} + const ( // ResetFpgaImageAttributeNameLoadPermission is a ResetFpgaImageAttributeName enum value ResetFpgaImageAttributeNameLoadPermission = "loadPermission" ) +// ResetFpgaImageAttributeName_Values returns all elements of the ResetFpgaImageAttributeName enum +func ResetFpgaImageAttributeName_Values() []string { + return []string{ + ResetFpgaImageAttributeNameLoadPermission, + } +} + const ( // ResetImageAttributeNameLaunchPermission is a ResetImageAttributeName enum value ResetImageAttributeNameLaunchPermission = "launchPermission" ) +// ResetImageAttributeName_Values returns all elements of the ResetImageAttributeName enum +func ResetImageAttributeName_Values() []string { + return []string{ + ResetImageAttributeNameLaunchPermission, + } +} + const ( // ResourceTypeClientVpnEndpoint is a ResourceType enum value ResourceTypeClientVpnEndpoint = "client-vpn-endpoint" @@ -115798,6 +117459,55 @@ const ( ResourceTypeVpcFlowLog = "vpc-flow-log" ) +// ResourceType_Values returns all elements of the ResourceType enum +func ResourceType_Values() []string { + return []string{ + ResourceTypeClientVpnEndpoint, + ResourceTypeCustomerGateway, + ResourceTypeDedicatedHost, + ResourceTypeDhcpOptions, + ResourceTypeElasticIp, + ResourceTypeElasticGpu, + ResourceTypeExportImageTask, + ResourceTypeExportInstanceTask, + ResourceTypeFleet, + ResourceTypeFpgaImage, + ResourceTypeHostReservation, + ResourceTypeImage, + ResourceTypeImportImageTask, + ResourceTypeImportSnapshotTask, + ResourceTypeInstance, + ResourceTypeInternetGateway, + ResourceTypeKeyPair, + ResourceTypeLaunchTemplate, + ResourceTypeLocalGatewayRouteTableVpcAssociation, + ResourceTypeNatgateway, + ResourceTypeNetworkAcl, + ResourceTypeNetworkInterface, + ResourceTypePlacementGroup, + ResourceTypeReservedInstances, + ResourceTypeRouteTable, + ResourceTypeSecurityGroup, + ResourceTypeSnapshot, + ResourceTypeSpotFleetRequest, + ResourceTypeSpotInstancesRequest, + ResourceTypeSubnet, + ResourceTypeTrafficMirrorFilter, + ResourceTypeTrafficMirrorSession, + ResourceTypeTrafficMirrorTarget, + ResourceTypeTransitGateway, + ResourceTypeTransitGatewayAttachment, + ResourceTypeTransitGatewayMulticastDomain, + ResourceTypeTransitGatewayRouteTable, + ResourceTypeVolume, + ResourceTypeVpc, + ResourceTypeVpcPeeringConnection, + ResourceTypeVpnConnection, + ResourceTypeVpnGateway, + ResourceTypeVpcFlowLog, + } +} + const ( // RootDeviceTypeEbs is a RootDeviceType enum value RootDeviceTypeEbs = "ebs" @@ -115806,6 +117516,14 @@ const ( RootDeviceTypeInstanceStore = "instance-store" ) +// RootDeviceType_Values returns all elements of the RootDeviceType enum +func RootDeviceType_Values() []string { + return []string{ + RootDeviceTypeEbs, + RootDeviceTypeInstanceStore, + } +} + const ( // RouteOriginCreateRouteTable is a RouteOrigin enum value RouteOriginCreateRouteTable = "CreateRouteTable" @@ -115817,6 +117535,15 @@ const ( RouteOriginEnableVgwRoutePropagation = "EnableVgwRoutePropagation" ) +// RouteOrigin_Values returns all elements of the RouteOrigin enum +func RouteOrigin_Values() []string { + return []string{ + RouteOriginCreateRouteTable, + RouteOriginCreateRoute, + RouteOriginEnableVgwRoutePropagation, + } +} + const ( // RouteStateActive is a RouteState enum value RouteStateActive = "active" @@ -115825,6 +117552,14 @@ const ( RouteStateBlackhole = "blackhole" ) +// RouteState_Values returns all elements of the RouteState enum +func RouteState_Values() []string { + return []string{ + RouteStateActive, + RouteStateBlackhole, + } +} + const ( // RouteTableAssociationStateCodeAssociating is a RouteTableAssociationStateCode enum value RouteTableAssociationStateCodeAssociating = "associating" @@ -115842,6 +117577,17 @@ const ( RouteTableAssociationStateCodeFailed = "failed" ) +// RouteTableAssociationStateCode_Values returns all elements of the RouteTableAssociationStateCode enum +func RouteTableAssociationStateCode_Values() []string { + return []string{ + RouteTableAssociationStateCodeAssociating, + RouteTableAssociationStateCodeAssociated, + RouteTableAssociationStateCodeDisassociating, + RouteTableAssociationStateCodeDisassociated, + RouteTableAssociationStateCodeFailed, + } +} + const ( // RuleActionAllow is a RuleAction enum value RuleActionAllow = "allow" @@ -115850,6 +117596,14 @@ const ( RuleActionDeny = "deny" ) +// RuleAction_Values returns all elements of the RuleAction enum +func RuleAction_Values() []string { + return []string{ + RuleActionAllow, + RuleActionDeny, + } +} + const ( // ScopeAvailabilityZone is a Scope enum value ScopeAvailabilityZone = "Availability Zone" @@ -115858,6 +117612,14 @@ const ( ScopeRegion = "Region" ) +// Scope_Values returns all elements of the Scope enum +func Scope_Values() []string { + return []string{ + ScopeAvailabilityZone, + ScopeRegion, + } +} + const ( // ServiceStatePending is a ServiceState enum value ServiceStatePending = "Pending" @@ -115875,6 +117637,17 @@ const ( ServiceStateFailed = "Failed" ) +// ServiceState_Values returns all elements of the ServiceState enum +func ServiceState_Values() []string { + return []string{ + ServiceStatePending, + ServiceStateAvailable, + ServiceStateDeleting, + ServiceStateDeleted, + ServiceStateFailed, + } +} + const ( // ServiceTypeInterface is a ServiceType enum value ServiceTypeInterface = "Interface" @@ -115883,6 +117656,14 @@ const ( ServiceTypeGateway = "Gateway" ) +// ServiceType_Values returns all elements of the ServiceType enum +func ServiceType_Values() []string { + return []string{ + ServiceTypeInterface, + ServiceTypeGateway, + } +} + const ( // ShutdownBehaviorStop is a ShutdownBehavior enum value ShutdownBehaviorStop = "stop" @@ -115891,6 +117672,14 @@ const ( ShutdownBehaviorTerminate = "terminate" ) +// ShutdownBehavior_Values returns all elements of the ShutdownBehavior enum +func ShutdownBehavior_Values() []string { + return []string{ + ShutdownBehaviorStop, + ShutdownBehaviorTerminate, + } +} + const ( // SnapshotAttributeNameProductCodes is a SnapshotAttributeName enum value SnapshotAttributeNameProductCodes = "productCodes" @@ -115899,6 +117688,14 @@ const ( SnapshotAttributeNameCreateVolumePermission = "createVolumePermission" ) +// SnapshotAttributeName_Values returns all elements of the SnapshotAttributeName enum +func SnapshotAttributeName_Values() []string { + return []string{ + SnapshotAttributeNameProductCodes, + SnapshotAttributeNameCreateVolumePermission, + } +} + const ( // SnapshotStatePending is a SnapshotState enum value SnapshotStatePending = "pending" @@ -115910,6 +117707,15 @@ const ( SnapshotStateError = "error" ) +// SnapshotState_Values returns all elements of the SnapshotState enum +func SnapshotState_Values() []string { + return []string{ + SnapshotStatePending, + SnapshotStateCompleted, + SnapshotStateError, + } +} + const ( // SpotAllocationStrategyLowestPrice is a SpotAllocationStrategy enum value SpotAllocationStrategyLowestPrice = "lowest-price" @@ -115921,6 +117727,15 @@ const ( SpotAllocationStrategyCapacityOptimized = "capacity-optimized" ) +// SpotAllocationStrategy_Values returns all elements of the SpotAllocationStrategy enum +func SpotAllocationStrategy_Values() []string { + return []string{ + SpotAllocationStrategyLowestPrice, + SpotAllocationStrategyDiversified, + SpotAllocationStrategyCapacityOptimized, + } +} + const ( // SpotInstanceInterruptionBehaviorHibernate is a SpotInstanceInterruptionBehavior enum value SpotInstanceInterruptionBehaviorHibernate = "hibernate" @@ -115932,6 +117747,15 @@ const ( SpotInstanceInterruptionBehaviorTerminate = "terminate" ) +// SpotInstanceInterruptionBehavior_Values returns all elements of the SpotInstanceInterruptionBehavior enum +func SpotInstanceInterruptionBehavior_Values() []string { + return []string{ + SpotInstanceInterruptionBehaviorHibernate, + SpotInstanceInterruptionBehaviorStop, + SpotInstanceInterruptionBehaviorTerminate, + } +} + const ( // SpotInstanceStateOpen is a SpotInstanceState enum value SpotInstanceStateOpen = "open" @@ -115949,6 +117773,17 @@ const ( SpotInstanceStateFailed = "failed" ) +// SpotInstanceState_Values returns all elements of the SpotInstanceState enum +func SpotInstanceState_Values() []string { + return []string{ + SpotInstanceStateOpen, + SpotInstanceStateActive, + SpotInstanceStateClosed, + SpotInstanceStateCancelled, + SpotInstanceStateFailed, + } +} + const ( // SpotInstanceTypeOneTime is a SpotInstanceType enum value SpotInstanceTypeOneTime = "one-time" @@ -115957,6 +117792,14 @@ const ( SpotInstanceTypePersistent = "persistent" ) +// SpotInstanceType_Values returns all elements of the SpotInstanceType enum +func SpotInstanceType_Values() []string { + return []string{ + SpotInstanceTypeOneTime, + SpotInstanceTypePersistent, + } +} + const ( // StatePendingAcceptance is a State enum value StatePendingAcceptance = "PendingAcceptance" @@ -115983,6 +117826,20 @@ const ( StateExpired = "Expired" ) +// State_Values returns all elements of the State enum +func State_Values() []string { + return []string{ + StatePendingAcceptance, + StatePending, + StateAvailable, + StateDeleting, + StateDeleted, + StateRejected, + StateFailed, + StateExpired, + } +} + const ( // StatusMoveInProgress is a Status enum value StatusMoveInProgress = "MoveInProgress" @@ -115994,11 +117851,27 @@ const ( StatusInClassic = "InClassic" ) +// Status_Values returns all elements of the Status enum +func Status_Values() []string { + return []string{ + StatusMoveInProgress, + StatusInVpc, + StatusInClassic, + } +} + const ( // StatusNameReachability is a StatusName enum value StatusNameReachability = "reachability" ) +// StatusName_Values returns all elements of the StatusName enum +func StatusName_Values() []string { + return []string{ + StatusNameReachability, + } +} + const ( // StatusTypePassed is a StatusType enum value StatusTypePassed = "passed" @@ -116013,6 +117886,16 @@ const ( StatusTypeInitializing = "initializing" ) +// StatusType_Values returns all elements of the StatusType enum +func StatusType_Values() []string { + return []string{ + StatusTypePassed, + StatusTypeFailed, + StatusTypeInsufficientData, + StatusTypeInitializing, + } +} + const ( // SubnetCidrBlockStateCodeAssociating is a SubnetCidrBlockStateCode enum value SubnetCidrBlockStateCodeAssociating = "associating" @@ -116033,6 +117916,18 @@ const ( SubnetCidrBlockStateCodeFailed = "failed" ) +// SubnetCidrBlockStateCode_Values returns all elements of the SubnetCidrBlockStateCode enum +func SubnetCidrBlockStateCode_Values() []string { + return []string{ + SubnetCidrBlockStateCodeAssociating, + SubnetCidrBlockStateCodeAssociated, + SubnetCidrBlockStateCodeDisassociating, + SubnetCidrBlockStateCodeDisassociated, + SubnetCidrBlockStateCodeFailing, + SubnetCidrBlockStateCodeFailed, + } +} + const ( // SubnetStatePending is a SubnetState enum value SubnetStatePending = "pending" @@ -116041,6 +117936,14 @@ const ( SubnetStateAvailable = "available" ) +// SubnetState_Values returns all elements of the SubnetState enum +func SubnetState_Values() []string { + return []string{ + SubnetStatePending, + SubnetStateAvailable, + } +} + const ( // SummaryStatusOk is a SummaryStatus enum value SummaryStatusOk = "ok" @@ -116058,6 +117961,17 @@ const ( SummaryStatusInitializing = "initializing" ) +// SummaryStatus_Values returns all elements of the SummaryStatus enum +func SummaryStatus_Values() []string { + return []string{ + SummaryStatusOk, + SummaryStatusImpaired, + SummaryStatusInsufficientData, + SummaryStatusNotApplicable, + SummaryStatusInitializing, + } +} + const ( // TelemetryStatusUp is a TelemetryStatus enum value TelemetryStatusUp = "UP" @@ -116066,6 +117980,14 @@ const ( TelemetryStatusDown = "DOWN" ) +// TelemetryStatus_Values returns all elements of the TelemetryStatus enum +func TelemetryStatus_Values() []string { + return []string{ + TelemetryStatusUp, + TelemetryStatusDown, + } +} + const ( // TenancyDefault is a Tenancy enum value TenancyDefault = "default" @@ -116077,6 +117999,15 @@ const ( TenancyHost = "host" ) +// Tenancy_Values returns all elements of the Tenancy enum +func Tenancy_Values() []string { + return []string{ + TenancyDefault, + TenancyDedicated, + TenancyHost, + } +} + const ( // TrafficDirectionIngress is a TrafficDirection enum value TrafficDirectionIngress = "ingress" @@ -116085,6 +118016,14 @@ const ( TrafficDirectionEgress = "egress" ) +// TrafficDirection_Values returns all elements of the TrafficDirection enum +func TrafficDirection_Values() []string { + return []string{ + TrafficDirectionIngress, + TrafficDirectionEgress, + } +} + const ( // TrafficMirrorFilterRuleFieldDestinationPortRange is a TrafficMirrorFilterRuleField enum value TrafficMirrorFilterRuleFieldDestinationPortRange = "destination-port-range" @@ -116099,11 +118038,28 @@ const ( TrafficMirrorFilterRuleFieldDescription = "description" ) +// TrafficMirrorFilterRuleField_Values returns all elements of the TrafficMirrorFilterRuleField enum +func TrafficMirrorFilterRuleField_Values() []string { + return []string{ + TrafficMirrorFilterRuleFieldDestinationPortRange, + TrafficMirrorFilterRuleFieldSourcePortRange, + TrafficMirrorFilterRuleFieldProtocol, + TrafficMirrorFilterRuleFieldDescription, + } +} + const ( // TrafficMirrorNetworkServiceAmazonDns is a TrafficMirrorNetworkService enum value TrafficMirrorNetworkServiceAmazonDns = "amazon-dns" ) +// TrafficMirrorNetworkService_Values returns all elements of the TrafficMirrorNetworkService enum +func TrafficMirrorNetworkService_Values() []string { + return []string{ + TrafficMirrorNetworkServiceAmazonDns, + } +} + const ( // TrafficMirrorRuleActionAccept is a TrafficMirrorRuleAction enum value TrafficMirrorRuleActionAccept = "accept" @@ -116112,6 +118068,14 @@ const ( TrafficMirrorRuleActionReject = "reject" ) +// TrafficMirrorRuleAction_Values returns all elements of the TrafficMirrorRuleAction enum +func TrafficMirrorRuleAction_Values() []string { + return []string{ + TrafficMirrorRuleActionAccept, + TrafficMirrorRuleActionReject, + } +} + const ( // TrafficMirrorSessionFieldPacketLength is a TrafficMirrorSessionField enum value TrafficMirrorSessionFieldPacketLength = "packet-length" @@ -116123,6 +118087,15 @@ const ( TrafficMirrorSessionFieldVirtualNetworkId = "virtual-network-id" ) +// TrafficMirrorSessionField_Values returns all elements of the TrafficMirrorSessionField enum +func TrafficMirrorSessionField_Values() []string { + return []string{ + TrafficMirrorSessionFieldPacketLength, + TrafficMirrorSessionFieldDescription, + TrafficMirrorSessionFieldVirtualNetworkId, + } +} + const ( // TrafficMirrorTargetTypeNetworkInterface is a TrafficMirrorTargetType enum value TrafficMirrorTargetTypeNetworkInterface = "network-interface" @@ -116131,6 +118104,14 @@ const ( TrafficMirrorTargetTypeNetworkLoadBalancer = "network-load-balancer" ) +// TrafficMirrorTargetType_Values returns all elements of the TrafficMirrorTargetType enum +func TrafficMirrorTargetType_Values() []string { + return []string{ + TrafficMirrorTargetTypeNetworkInterface, + TrafficMirrorTargetTypeNetworkLoadBalancer, + } +} + const ( // TrafficTypeAccept is a TrafficType enum value TrafficTypeAccept = "ACCEPT" @@ -116142,6 +118123,15 @@ const ( TrafficTypeAll = "ALL" ) +// TrafficType_Values returns all elements of the TrafficType enum +func TrafficType_Values() []string { + return []string{ + TrafficTypeAccept, + TrafficTypeReject, + TrafficTypeAll, + } +} + const ( // TransitGatewayAssociationStateAssociating is a TransitGatewayAssociationState enum value TransitGatewayAssociationStateAssociating = "associating" @@ -116156,6 +118146,16 @@ const ( TransitGatewayAssociationStateDisassociated = "disassociated" ) +// TransitGatewayAssociationState_Values returns all elements of the TransitGatewayAssociationState enum +func TransitGatewayAssociationState_Values() []string { + return []string{ + TransitGatewayAssociationStateAssociating, + TransitGatewayAssociationStateAssociated, + TransitGatewayAssociationStateDisassociating, + TransitGatewayAssociationStateDisassociated, + } +} + const ( // TransitGatewayAttachmentResourceTypeVpc is a TransitGatewayAttachmentResourceType enum value TransitGatewayAttachmentResourceTypeVpc = "vpc" @@ -116170,6 +118170,16 @@ const ( TransitGatewayAttachmentResourceTypeTgwPeering = "tgw-peering" ) +// TransitGatewayAttachmentResourceType_Values returns all elements of the TransitGatewayAttachmentResourceType enum +func TransitGatewayAttachmentResourceType_Values() []string { + return []string{ + TransitGatewayAttachmentResourceTypeVpc, + TransitGatewayAttachmentResourceTypeVpn, + TransitGatewayAttachmentResourceTypeDirectConnectGateway, + TransitGatewayAttachmentResourceTypeTgwPeering, + } +} + const ( // TransitGatewayAttachmentStateInitiating is a TransitGatewayAttachmentState enum value TransitGatewayAttachmentStateInitiating = "initiating" @@ -116208,6 +118218,24 @@ const ( TransitGatewayAttachmentStateFailing = "failing" ) +// TransitGatewayAttachmentState_Values returns all elements of the TransitGatewayAttachmentState enum +func TransitGatewayAttachmentState_Values() []string { + return []string{ + TransitGatewayAttachmentStateInitiating, + TransitGatewayAttachmentStatePendingAcceptance, + TransitGatewayAttachmentStateRollingBack, + TransitGatewayAttachmentStatePending, + TransitGatewayAttachmentStateAvailable, + TransitGatewayAttachmentStateModifying, + TransitGatewayAttachmentStateDeleting, + TransitGatewayAttachmentStateDeleted, + TransitGatewayAttachmentStateFailed, + TransitGatewayAttachmentStateRejected, + TransitGatewayAttachmentStateRejecting, + TransitGatewayAttachmentStateFailing, + } +} + const ( // TransitGatewayMulitcastDomainAssociationStateAssociating is a TransitGatewayMulitcastDomainAssociationState enum value TransitGatewayMulitcastDomainAssociationStateAssociating = "associating" @@ -116222,6 +118250,16 @@ const ( TransitGatewayMulitcastDomainAssociationStateDisassociated = "disassociated" ) +// TransitGatewayMulitcastDomainAssociationState_Values returns all elements of the TransitGatewayMulitcastDomainAssociationState enum +func TransitGatewayMulitcastDomainAssociationState_Values() []string { + return []string{ + TransitGatewayMulitcastDomainAssociationStateAssociating, + TransitGatewayMulitcastDomainAssociationStateAssociated, + TransitGatewayMulitcastDomainAssociationStateDisassociating, + TransitGatewayMulitcastDomainAssociationStateDisassociated, + } +} + const ( // TransitGatewayMulticastDomainStatePending is a TransitGatewayMulticastDomainState enum value TransitGatewayMulticastDomainStatePending = "pending" @@ -116236,6 +118274,16 @@ const ( TransitGatewayMulticastDomainStateDeleted = "deleted" ) +// TransitGatewayMulticastDomainState_Values returns all elements of the TransitGatewayMulticastDomainState enum +func TransitGatewayMulticastDomainState_Values() []string { + return []string{ + TransitGatewayMulticastDomainStatePending, + TransitGatewayMulticastDomainStateAvailable, + TransitGatewayMulticastDomainStateDeleting, + TransitGatewayMulticastDomainStateDeleted, + } +} + const ( // TransitGatewayPropagationStateEnabling is a TransitGatewayPropagationState enum value TransitGatewayPropagationStateEnabling = "enabling" @@ -116250,6 +118298,16 @@ const ( TransitGatewayPropagationStateDisabled = "disabled" ) +// TransitGatewayPropagationState_Values returns all elements of the TransitGatewayPropagationState enum +func TransitGatewayPropagationState_Values() []string { + return []string{ + TransitGatewayPropagationStateEnabling, + TransitGatewayPropagationStateEnabled, + TransitGatewayPropagationStateDisabling, + TransitGatewayPropagationStateDisabled, + } +} + const ( // TransitGatewayRouteStatePending is a TransitGatewayRouteState enum value TransitGatewayRouteStatePending = "pending" @@ -116267,6 +118325,17 @@ const ( TransitGatewayRouteStateDeleted = "deleted" ) +// TransitGatewayRouteState_Values returns all elements of the TransitGatewayRouteState enum +func TransitGatewayRouteState_Values() []string { + return []string{ + TransitGatewayRouteStatePending, + TransitGatewayRouteStateActive, + TransitGatewayRouteStateBlackhole, + TransitGatewayRouteStateDeleting, + TransitGatewayRouteStateDeleted, + } +} + const ( // TransitGatewayRouteTableStatePending is a TransitGatewayRouteTableState enum value TransitGatewayRouteTableStatePending = "pending" @@ -116281,6 +118350,16 @@ const ( TransitGatewayRouteTableStateDeleted = "deleted" ) +// TransitGatewayRouteTableState_Values returns all elements of the TransitGatewayRouteTableState enum +func TransitGatewayRouteTableState_Values() []string { + return []string{ + TransitGatewayRouteTableStatePending, + TransitGatewayRouteTableStateAvailable, + TransitGatewayRouteTableStateDeleting, + TransitGatewayRouteTableStateDeleted, + } +} + const ( // TransitGatewayRouteTypeStatic is a TransitGatewayRouteType enum value TransitGatewayRouteTypeStatic = "static" @@ -116289,6 +118368,14 @@ const ( TransitGatewayRouteTypePropagated = "propagated" ) +// TransitGatewayRouteType_Values returns all elements of the TransitGatewayRouteType enum +func TransitGatewayRouteType_Values() []string { + return []string{ + TransitGatewayRouteTypeStatic, + TransitGatewayRouteTypePropagated, + } +} + const ( // TransitGatewayStatePending is a TransitGatewayState enum value TransitGatewayStatePending = "pending" @@ -116306,6 +118393,17 @@ const ( TransitGatewayStateDeleted = "deleted" ) +// TransitGatewayState_Values returns all elements of the TransitGatewayState enum +func TransitGatewayState_Values() []string { + return []string{ + TransitGatewayStatePending, + TransitGatewayStateAvailable, + TransitGatewayStateModifying, + TransitGatewayStateDeleting, + TransitGatewayStateDeleted, + } +} + const ( // TransportProtocolTcp is a TransportProtocol enum value TransportProtocolTcp = "tcp" @@ -116314,6 +118412,30 @@ const ( TransportProtocolUdp = "udp" ) +// TransportProtocol_Values returns all elements of the TransportProtocol enum +func TransportProtocol_Values() []string { + return []string{ + TransportProtocolTcp, + TransportProtocolUdp, + } +} + +const ( + // TunnelInsideIpVersionIpv4 is a TunnelInsideIpVersion enum value + TunnelInsideIpVersionIpv4 = "ipv4" + + // TunnelInsideIpVersionIpv6 is a TunnelInsideIpVersion enum value + TunnelInsideIpVersionIpv6 = "ipv6" +) + +// TunnelInsideIpVersion_Values returns all elements of the TunnelInsideIpVersion enum +func TunnelInsideIpVersion_Values() []string { + return []string{ + TunnelInsideIpVersionIpv4, + TunnelInsideIpVersionIpv6, + } +} + const ( // UnlimitedSupportedInstanceFamilyT2 is a UnlimitedSupportedInstanceFamily enum value UnlimitedSupportedInstanceFamilyT2 = "t2" @@ -116325,6 +118447,15 @@ const ( UnlimitedSupportedInstanceFamilyT3a = "t3a" ) +// UnlimitedSupportedInstanceFamily_Values returns all elements of the UnlimitedSupportedInstanceFamily enum +func UnlimitedSupportedInstanceFamily_Values() []string { + return []string{ + UnlimitedSupportedInstanceFamilyT2, + UnlimitedSupportedInstanceFamilyT3, + UnlimitedSupportedInstanceFamilyT3a, + } +} + const ( // UnsuccessfulInstanceCreditSpecificationErrorCodeInvalidInstanceIdMalformed is a UnsuccessfulInstanceCreditSpecificationErrorCode enum value UnsuccessfulInstanceCreditSpecificationErrorCodeInvalidInstanceIdMalformed = "InvalidInstanceID.Malformed" @@ -116339,6 +118470,16 @@ const ( UnsuccessfulInstanceCreditSpecificationErrorCodeInstanceCreditSpecificationNotSupported = "InstanceCreditSpecification.NotSupported" ) +// UnsuccessfulInstanceCreditSpecificationErrorCode_Values returns all elements of the UnsuccessfulInstanceCreditSpecificationErrorCode enum +func UnsuccessfulInstanceCreditSpecificationErrorCode_Values() []string { + return []string{ + UnsuccessfulInstanceCreditSpecificationErrorCodeInvalidInstanceIdMalformed, + UnsuccessfulInstanceCreditSpecificationErrorCodeInvalidInstanceIdNotFound, + UnsuccessfulInstanceCreditSpecificationErrorCodeIncorrectInstanceState, + UnsuccessfulInstanceCreditSpecificationErrorCodeInstanceCreditSpecificationNotSupported, + } +} + const ( // UsageClassTypeSpot is a UsageClassType enum value UsageClassTypeSpot = "spot" @@ -116347,6 +118488,14 @@ const ( UsageClassTypeOnDemand = "on-demand" ) +// UsageClassType_Values returns all elements of the UsageClassType enum +func UsageClassType_Values() []string { + return []string{ + UsageClassTypeSpot, + UsageClassTypeOnDemand, + } +} + const ( // VirtualizationTypeHvm is a VirtualizationType enum value VirtualizationTypeHvm = "hvm" @@ -116355,6 +118504,14 @@ const ( VirtualizationTypeParavirtual = "paravirtual" ) +// VirtualizationType_Values returns all elements of the VirtualizationType enum +func VirtualizationType_Values() []string { + return []string{ + VirtualizationTypeHvm, + VirtualizationTypeParavirtual, + } +} + const ( // VolumeAttachmentStateAttaching is a VolumeAttachmentState enum value VolumeAttachmentStateAttaching = "attaching" @@ -116372,6 +118529,17 @@ const ( VolumeAttachmentStateBusy = "busy" ) +// VolumeAttachmentState_Values returns all elements of the VolumeAttachmentState enum +func VolumeAttachmentState_Values() []string { + return []string{ + VolumeAttachmentStateAttaching, + VolumeAttachmentStateAttached, + VolumeAttachmentStateDetaching, + VolumeAttachmentStateDetached, + VolumeAttachmentStateBusy, + } +} + const ( // VolumeAttributeNameAutoEnableIo is a VolumeAttributeName enum value VolumeAttributeNameAutoEnableIo = "autoEnableIO" @@ -116380,6 +118548,14 @@ const ( VolumeAttributeNameProductCodes = "productCodes" ) +// VolumeAttributeName_Values returns all elements of the VolumeAttributeName enum +func VolumeAttributeName_Values() []string { + return []string{ + VolumeAttributeNameAutoEnableIo, + VolumeAttributeNameProductCodes, + } +} + const ( // VolumeModificationStateModifying is a VolumeModificationState enum value VolumeModificationStateModifying = "modifying" @@ -116394,6 +118570,16 @@ const ( VolumeModificationStateFailed = "failed" ) +// VolumeModificationState_Values returns all elements of the VolumeModificationState enum +func VolumeModificationState_Values() []string { + return []string{ + VolumeModificationStateModifying, + VolumeModificationStateOptimizing, + VolumeModificationStateCompleted, + VolumeModificationStateFailed, + } +} + const ( // VolumeStateCreating is a VolumeState enum value VolumeStateCreating = "creating" @@ -116414,6 +118600,18 @@ const ( VolumeStateError = "error" ) +// VolumeState_Values returns all elements of the VolumeState enum +func VolumeState_Values() []string { + return []string{ + VolumeStateCreating, + VolumeStateAvailable, + VolumeStateInUse, + VolumeStateDeleting, + VolumeStateDeleted, + VolumeStateError, + } +} + const ( // VolumeStatusInfoStatusOk is a VolumeStatusInfoStatus enum value VolumeStatusInfoStatusOk = "ok" @@ -116425,6 +118623,15 @@ const ( VolumeStatusInfoStatusInsufficientData = "insufficient-data" ) +// VolumeStatusInfoStatus_Values returns all elements of the VolumeStatusInfoStatus enum +func VolumeStatusInfoStatus_Values() []string { + return []string{ + VolumeStatusInfoStatusOk, + VolumeStatusInfoStatusImpaired, + VolumeStatusInfoStatusInsufficientData, + } +} + const ( // VolumeStatusNameIoEnabled is a VolumeStatusName enum value VolumeStatusNameIoEnabled = "io-enabled" @@ -116433,6 +118640,14 @@ const ( VolumeStatusNameIoPerformance = "io-performance" ) +// VolumeStatusName_Values returns all elements of the VolumeStatusName enum +func VolumeStatusName_Values() []string { + return []string{ + VolumeStatusNameIoEnabled, + VolumeStatusNameIoPerformance, + } +} + const ( // VolumeTypeStandard is a VolumeType enum value VolumeTypeStandard = "standard" @@ -116450,6 +118665,17 @@ const ( VolumeTypeSt1 = "st1" ) +// VolumeType_Values returns all elements of the VolumeType enum +func VolumeType_Values() []string { + return []string{ + VolumeTypeStandard, + VolumeTypeIo1, + VolumeTypeGp2, + VolumeTypeSc1, + VolumeTypeSt1, + } +} + const ( // VpcAttributeNameEnableDnsSupport is a VpcAttributeName enum value VpcAttributeNameEnableDnsSupport = "enableDnsSupport" @@ -116458,6 +118684,14 @@ const ( VpcAttributeNameEnableDnsHostnames = "enableDnsHostnames" ) +// VpcAttributeName_Values returns all elements of the VpcAttributeName enum +func VpcAttributeName_Values() []string { + return []string{ + VpcAttributeNameEnableDnsSupport, + VpcAttributeNameEnableDnsHostnames, + } +} + const ( // VpcCidrBlockStateCodeAssociating is a VpcCidrBlockStateCode enum value VpcCidrBlockStateCodeAssociating = "associating" @@ -116478,6 +118712,18 @@ const ( VpcCidrBlockStateCodeFailed = "failed" ) +// VpcCidrBlockStateCode_Values returns all elements of the VpcCidrBlockStateCode enum +func VpcCidrBlockStateCode_Values() []string { + return []string{ + VpcCidrBlockStateCodeAssociating, + VpcCidrBlockStateCodeAssociated, + VpcCidrBlockStateCodeDisassociating, + VpcCidrBlockStateCodeDisassociated, + VpcCidrBlockStateCodeFailing, + VpcCidrBlockStateCodeFailed, + } +} + const ( // VpcEndpointTypeInterface is a VpcEndpointType enum value VpcEndpointTypeInterface = "Interface" @@ -116486,6 +118732,14 @@ const ( VpcEndpointTypeGateway = "Gateway" ) +// VpcEndpointType_Values returns all elements of the VpcEndpointType enum +func VpcEndpointType_Values() []string { + return []string{ + VpcEndpointTypeInterface, + VpcEndpointTypeGateway, + } +} + const ( // VpcPeeringConnectionStateReasonCodeInitiatingRequest is a VpcPeeringConnectionStateReasonCode enum value VpcPeeringConnectionStateReasonCodeInitiatingRequest = "initiating-request" @@ -116515,6 +118769,21 @@ const ( VpcPeeringConnectionStateReasonCodeDeleting = "deleting" ) +// VpcPeeringConnectionStateReasonCode_Values returns all elements of the VpcPeeringConnectionStateReasonCode enum +func VpcPeeringConnectionStateReasonCode_Values() []string { + return []string{ + VpcPeeringConnectionStateReasonCodeInitiatingRequest, + VpcPeeringConnectionStateReasonCodePendingAcceptance, + VpcPeeringConnectionStateReasonCodeActive, + VpcPeeringConnectionStateReasonCodeDeleted, + VpcPeeringConnectionStateReasonCodeRejected, + VpcPeeringConnectionStateReasonCodeFailed, + VpcPeeringConnectionStateReasonCodeExpired, + VpcPeeringConnectionStateReasonCodeProvisioning, + VpcPeeringConnectionStateReasonCodeDeleting, + } +} + const ( // VpcStatePending is a VpcState enum value VpcStatePending = "pending" @@ -116523,11 +118792,26 @@ const ( VpcStateAvailable = "available" ) +// VpcState_Values returns all elements of the VpcState enum +func VpcState_Values() []string { + return []string{ + VpcStatePending, + VpcStateAvailable, + } +} + const ( // VpcTenancyDefault is a VpcTenancy enum value VpcTenancyDefault = "default" ) +// VpcTenancy_Values returns all elements of the VpcTenancy enum +func VpcTenancy_Values() []string { + return []string{ + VpcTenancyDefault, + } +} + const ( // VpnEcmpSupportValueEnable is a VpnEcmpSupportValue enum value VpnEcmpSupportValueEnable = "enable" @@ -116536,11 +118820,26 @@ const ( VpnEcmpSupportValueDisable = "disable" ) +// VpnEcmpSupportValue_Values returns all elements of the VpnEcmpSupportValue enum +func VpnEcmpSupportValue_Values() []string { + return []string{ + VpnEcmpSupportValueEnable, + VpnEcmpSupportValueDisable, + } +} + const ( // VpnProtocolOpenvpn is a VpnProtocol enum value VpnProtocolOpenvpn = "openvpn" ) +// VpnProtocol_Values returns all elements of the VpnProtocol enum +func VpnProtocol_Values() []string { + return []string{ + VpnProtocolOpenvpn, + } +} + const ( // VpnStatePending is a VpnState enum value VpnStatePending = "pending" @@ -116555,7 +118854,24 @@ const ( VpnStateDeleted = "deleted" ) +// VpnState_Values returns all elements of the VpnState enum +func VpnState_Values() []string { + return []string{ + VpnStatePending, + VpnStateAvailable, + VpnStateDeleting, + VpnStateDeleted, + } +} + const ( // VpnStaticRouteSourceStatic is a VpnStaticRouteSource enum value VpnStaticRouteSourceStatic = "Static" ) + +// VpnStaticRouteSource_Values returns all elements of the VpnStaticRouteSource enum +func VpnStaticRouteSource_Values() []string { + return []string{ + VpnStaticRouteSourceStatic, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/ec2/customizations.go b/vendor/github.com/aws/aws-sdk-go/service/ec2/customizations.go index efec8d8a94e..3ad30591894 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/ec2/customizations.go +++ b/vendor/github.com/aws/aws-sdk-go/service/ec2/customizations.go @@ -26,8 +26,12 @@ func init() { // only set the retryer on request if config doesn't have a retryer if r.Config.Retryer == nil && (r.Operation.Name == opModifyNetworkInterfaceAttribute || r.Operation.Name == opAssignPrivateIpAddresses) { + maxRetries := client.DefaultRetryerMaxNumRetries + if m := r.Config.MaxRetries; m != nil && *m != aws.UseServiceDefaultRetries { + maxRetries = *m + } r.Retryer = client.DefaultRetryer{ - NumMaxRetries: client.DefaultRetryerMaxNumRetries, + NumMaxRetries: maxRetries, MinRetryDelay: customRetryerMinRetryDelay, MinThrottleDelay: customRetryerMinRetryDelay, MaxRetryDelay: customRetryerMaxRetryDelay, diff --git a/vendor/github.com/aws/aws-sdk-go/service/ecr/api.go b/vendor/github.com/aws/aws-sdk-go/service/ecr/api.go index 1a185d7c0aa..990eae4ec29 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/ecr/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/ecr/api.go @@ -8975,6 +8975,14 @@ const ( EncryptionTypeKms = "KMS" ) +// EncryptionType_Values returns all elements of the EncryptionType enum +func EncryptionType_Values() []string { + return []string{ + EncryptionTypeAes256, + EncryptionTypeKms, + } +} + const ( // FindingSeverityInformational is a FindingSeverity enum value FindingSeverityInformational = "INFORMATIONAL" @@ -8995,11 +9003,30 @@ const ( FindingSeverityUndefined = "UNDEFINED" ) +// FindingSeverity_Values returns all elements of the FindingSeverity enum +func FindingSeverity_Values() []string { + return []string{ + FindingSeverityInformational, + FindingSeverityLow, + FindingSeverityMedium, + FindingSeverityHigh, + FindingSeverityCritical, + FindingSeverityUndefined, + } +} + const ( // ImageActionTypeExpire is a ImageActionType enum value ImageActionTypeExpire = "EXPIRE" ) +// ImageActionType_Values returns all elements of the ImageActionType enum +func ImageActionType_Values() []string { + return []string{ + ImageActionTypeExpire, + } +} + const ( // ImageFailureCodeInvalidImageDigest is a ImageFailureCode enum value ImageFailureCodeInvalidImageDigest = "InvalidImageDigest" @@ -9023,6 +9050,19 @@ const ( ImageFailureCodeKmsError = "KmsError" ) +// ImageFailureCode_Values returns all elements of the ImageFailureCode enum +func ImageFailureCode_Values() []string { + return []string{ + ImageFailureCodeInvalidImageDigest, + ImageFailureCodeInvalidImageTag, + ImageFailureCodeImageTagDoesNotMatchDigest, + ImageFailureCodeImageNotFound, + ImageFailureCodeMissingDigestAndTag, + ImageFailureCodeImageReferencedByManifestList, + ImageFailureCodeKmsError, + } +} + const ( // ImageTagMutabilityMutable is a ImageTagMutability enum value ImageTagMutabilityMutable = "MUTABLE" @@ -9031,6 +9071,14 @@ const ( ImageTagMutabilityImmutable = "IMMUTABLE" ) +// ImageTagMutability_Values returns all elements of the ImageTagMutability enum +func ImageTagMutability_Values() []string { + return []string{ + ImageTagMutabilityMutable, + ImageTagMutabilityImmutable, + } +} + const ( // LayerAvailabilityAvailable is a LayerAvailability enum value LayerAvailabilityAvailable = "AVAILABLE" @@ -9039,6 +9087,14 @@ const ( LayerAvailabilityUnavailable = "UNAVAILABLE" ) +// LayerAvailability_Values returns all elements of the LayerAvailability enum +func LayerAvailability_Values() []string { + return []string{ + LayerAvailabilityAvailable, + LayerAvailabilityUnavailable, + } +} + const ( // LayerFailureCodeInvalidLayerDigest is a LayerFailureCode enum value LayerFailureCodeInvalidLayerDigest = "InvalidLayerDigest" @@ -9047,6 +9103,14 @@ const ( LayerFailureCodeMissingLayerDigest = "MissingLayerDigest" ) +// LayerFailureCode_Values returns all elements of the LayerFailureCode enum +func LayerFailureCode_Values() []string { + return []string{ + LayerFailureCodeInvalidLayerDigest, + LayerFailureCodeMissingLayerDigest, + } +} + const ( // LifecyclePolicyPreviewStatusInProgress is a LifecyclePolicyPreviewStatus enum value LifecyclePolicyPreviewStatusInProgress = "IN_PROGRESS" @@ -9061,6 +9125,16 @@ const ( LifecyclePolicyPreviewStatusFailed = "FAILED" ) +// LifecyclePolicyPreviewStatus_Values returns all elements of the LifecyclePolicyPreviewStatus enum +func LifecyclePolicyPreviewStatus_Values() []string { + return []string{ + LifecyclePolicyPreviewStatusInProgress, + LifecyclePolicyPreviewStatusComplete, + LifecyclePolicyPreviewStatusExpired, + LifecyclePolicyPreviewStatusFailed, + } +} + const ( // ScanStatusInProgress is a ScanStatus enum value ScanStatusInProgress = "IN_PROGRESS" @@ -9072,6 +9146,15 @@ const ( ScanStatusFailed = "FAILED" ) +// ScanStatus_Values returns all elements of the ScanStatus enum +func ScanStatus_Values() []string { + return []string{ + ScanStatusInProgress, + ScanStatusComplete, + ScanStatusFailed, + } +} + const ( // TagStatusTagged is a TagStatus enum value TagStatusTagged = "TAGGED" @@ -9082,3 +9165,12 @@ const ( // TagStatusAny is a TagStatus enum value TagStatusAny = "ANY" ) + +// TagStatus_Values returns all elements of the TagStatus enum +func TagStatus_Values() []string { + return []string{ + TagStatusTagged, + TagStatusUntagged, + TagStatusAny, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/ecs/api.go b/vendor/github.com/aws/aws-sdk-go/service/ecs/api.go index 0838f1be037..d9f695785b2 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/ecs/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/ecs/api.go @@ -20220,6 +20220,18 @@ const ( AgentUpdateStatusFailed = "FAILED" ) +// AgentUpdateStatus_Values returns all elements of the AgentUpdateStatus enum +func AgentUpdateStatus_Values() []string { + return []string{ + AgentUpdateStatusPending, + AgentUpdateStatusStaging, + AgentUpdateStatusStaged, + AgentUpdateStatusUpdating, + AgentUpdateStatusUpdated, + AgentUpdateStatusFailed, + } +} + const ( // AssignPublicIpEnabled is a AssignPublicIp enum value AssignPublicIpEnabled = "ENABLED" @@ -20228,11 +20240,26 @@ const ( AssignPublicIpDisabled = "DISABLED" ) +// AssignPublicIp_Values returns all elements of the AssignPublicIp enum +func AssignPublicIp_Values() []string { + return []string{ + AssignPublicIpEnabled, + AssignPublicIpDisabled, + } +} + const ( // CapacityProviderFieldTags is a CapacityProviderField enum value CapacityProviderFieldTags = "TAGS" ) +// CapacityProviderField_Values returns all elements of the CapacityProviderField enum +func CapacityProviderField_Values() []string { + return []string{ + CapacityProviderFieldTags, + } +} + const ( // CapacityProviderStatusActive is a CapacityProviderStatus enum value CapacityProviderStatusActive = "ACTIVE" @@ -20241,6 +20268,14 @@ const ( CapacityProviderStatusInactive = "INACTIVE" ) +// CapacityProviderStatus_Values returns all elements of the CapacityProviderStatus enum +func CapacityProviderStatus_Values() []string { + return []string{ + CapacityProviderStatusActive, + CapacityProviderStatusInactive, + } +} + const ( // CapacityProviderUpdateStatusDeleteInProgress is a CapacityProviderUpdateStatus enum value CapacityProviderUpdateStatusDeleteInProgress = "DELETE_IN_PROGRESS" @@ -20252,6 +20287,15 @@ const ( CapacityProviderUpdateStatusDeleteFailed = "DELETE_FAILED" ) +// CapacityProviderUpdateStatus_Values returns all elements of the CapacityProviderUpdateStatus enum +func CapacityProviderUpdateStatus_Values() []string { + return []string{ + CapacityProviderUpdateStatusDeleteInProgress, + CapacityProviderUpdateStatusDeleteComplete, + CapacityProviderUpdateStatusDeleteFailed, + } +} + const ( // ClusterFieldAttachments is a ClusterField enum value ClusterFieldAttachments = "ATTACHMENTS" @@ -20266,11 +20310,28 @@ const ( ClusterFieldTags = "TAGS" ) +// ClusterField_Values returns all elements of the ClusterField enum +func ClusterField_Values() []string { + return []string{ + ClusterFieldAttachments, + ClusterFieldSettings, + ClusterFieldStatistics, + ClusterFieldTags, + } +} + const ( // ClusterSettingNameContainerInsights is a ClusterSettingName enum value ClusterSettingNameContainerInsights = "containerInsights" ) +// ClusterSettingName_Values returns all elements of the ClusterSettingName enum +func ClusterSettingName_Values() []string { + return []string{ + ClusterSettingNameContainerInsights, + } +} + const ( // CompatibilityEc2 is a Compatibility enum value CompatibilityEc2 = "EC2" @@ -20279,6 +20340,14 @@ const ( CompatibilityFargate = "FARGATE" ) +// Compatibility_Values returns all elements of the Compatibility enum +func Compatibility_Values() []string { + return []string{ + CompatibilityEc2, + CompatibilityFargate, + } +} + const ( // ConnectivityConnected is a Connectivity enum value ConnectivityConnected = "CONNECTED" @@ -20287,6 +20356,14 @@ const ( ConnectivityDisconnected = "DISCONNECTED" ) +// Connectivity_Values returns all elements of the Connectivity enum +func Connectivity_Values() []string { + return []string{ + ConnectivityConnected, + ConnectivityDisconnected, + } +} + const ( // ContainerConditionStart is a ContainerCondition enum value ContainerConditionStart = "START" @@ -20301,11 +20378,28 @@ const ( ContainerConditionHealthy = "HEALTHY" ) +// ContainerCondition_Values returns all elements of the ContainerCondition enum +func ContainerCondition_Values() []string { + return []string{ + ContainerConditionStart, + ContainerConditionComplete, + ContainerConditionSuccess, + ContainerConditionHealthy, + } +} + const ( // ContainerInstanceFieldTags is a ContainerInstanceField enum value ContainerInstanceFieldTags = "TAGS" ) +// ContainerInstanceField_Values returns all elements of the ContainerInstanceField enum +func ContainerInstanceField_Values() []string { + return []string{ + ContainerInstanceFieldTags, + } +} + const ( // ContainerInstanceStatusActive is a ContainerInstanceStatus enum value ContainerInstanceStatusActive = "ACTIVE" @@ -20323,6 +20417,17 @@ const ( ContainerInstanceStatusRegistrationFailed = "REGISTRATION_FAILED" ) +// ContainerInstanceStatus_Values returns all elements of the ContainerInstanceStatus enum +func ContainerInstanceStatus_Values() []string { + return []string{ + ContainerInstanceStatusActive, + ContainerInstanceStatusDraining, + ContainerInstanceStatusRegistering, + ContainerInstanceStatusDeregistering, + ContainerInstanceStatusRegistrationFailed, + } +} + const ( // DeploymentControllerTypeEcs is a DeploymentControllerType enum value DeploymentControllerTypeEcs = "ECS" @@ -20334,6 +20439,15 @@ const ( DeploymentControllerTypeExternal = "EXTERNAL" ) +// DeploymentControllerType_Values returns all elements of the DeploymentControllerType enum +func DeploymentControllerType_Values() []string { + return []string{ + DeploymentControllerTypeEcs, + DeploymentControllerTypeCodeDeploy, + DeploymentControllerTypeExternal, + } +} + const ( // DesiredStatusRunning is a DesiredStatus enum value DesiredStatusRunning = "RUNNING" @@ -20345,6 +20459,15 @@ const ( DesiredStatusStopped = "STOPPED" ) +// DesiredStatus_Values returns all elements of the DesiredStatus enum +func DesiredStatus_Values() []string { + return []string{ + DesiredStatusRunning, + DesiredStatusPending, + DesiredStatusStopped, + } +} + const ( // DeviceCgroupPermissionRead is a DeviceCgroupPermission enum value DeviceCgroupPermissionRead = "read" @@ -20356,6 +20479,15 @@ const ( DeviceCgroupPermissionMknod = "mknod" ) +// DeviceCgroupPermission_Values returns all elements of the DeviceCgroupPermission enum +func DeviceCgroupPermission_Values() []string { + return []string{ + DeviceCgroupPermissionRead, + DeviceCgroupPermissionWrite, + DeviceCgroupPermissionMknod, + } +} + const ( // EFSAuthorizationConfigIAMEnabled is a EFSAuthorizationConfigIAM enum value EFSAuthorizationConfigIAMEnabled = "ENABLED" @@ -20364,6 +20496,14 @@ const ( EFSAuthorizationConfigIAMDisabled = "DISABLED" ) +// EFSAuthorizationConfigIAM_Values returns all elements of the EFSAuthorizationConfigIAM enum +func EFSAuthorizationConfigIAM_Values() []string { + return []string{ + EFSAuthorizationConfigIAMEnabled, + EFSAuthorizationConfigIAMDisabled, + } +} + const ( // EFSTransitEncryptionEnabled is a EFSTransitEncryption enum value EFSTransitEncryptionEnabled = "ENABLED" @@ -20372,11 +20512,26 @@ const ( EFSTransitEncryptionDisabled = "DISABLED" ) +// EFSTransitEncryption_Values returns all elements of the EFSTransitEncryption enum +func EFSTransitEncryption_Values() []string { + return []string{ + EFSTransitEncryptionEnabled, + EFSTransitEncryptionDisabled, + } +} + const ( // EnvironmentFileTypeS3 is a EnvironmentFileType enum value EnvironmentFileTypeS3 = "s3" ) +// EnvironmentFileType_Values returns all elements of the EnvironmentFileType enum +func EnvironmentFileType_Values() []string { + return []string{ + EnvironmentFileTypeS3, + } +} + const ( // FirelensConfigurationTypeFluentd is a FirelensConfigurationType enum value FirelensConfigurationTypeFluentd = "fluentd" @@ -20385,6 +20540,14 @@ const ( FirelensConfigurationTypeFluentbit = "fluentbit" ) +// FirelensConfigurationType_Values returns all elements of the FirelensConfigurationType enum +func FirelensConfigurationType_Values() []string { + return []string{ + FirelensConfigurationTypeFluentd, + FirelensConfigurationTypeFluentbit, + } +} + const ( // HealthStatusHealthy is a HealthStatus enum value HealthStatusHealthy = "HEALTHY" @@ -20396,6 +20559,15 @@ const ( HealthStatusUnknown = "UNKNOWN" ) +// HealthStatus_Values returns all elements of the HealthStatus enum +func HealthStatus_Values() []string { + return []string{ + HealthStatusHealthy, + HealthStatusUnhealthy, + HealthStatusUnknown, + } +} + const ( // IpcModeHost is a IpcMode enum value IpcModeHost = "host" @@ -20407,6 +20579,15 @@ const ( IpcModeNone = "none" ) +// IpcMode_Values returns all elements of the IpcMode enum +func IpcMode_Values() []string { + return []string{ + IpcModeHost, + IpcModeTask, + IpcModeNone, + } +} + const ( // LaunchTypeEc2 is a LaunchType enum value LaunchTypeEc2 = "EC2" @@ -20415,6 +20596,14 @@ const ( LaunchTypeFargate = "FARGATE" ) +// LaunchType_Values returns all elements of the LaunchType enum +func LaunchType_Values() []string { + return []string{ + LaunchTypeEc2, + LaunchTypeFargate, + } +} + const ( // LogDriverJsonFile is a LogDriver enum value LogDriverJsonFile = "json-file" @@ -20441,6 +20630,20 @@ const ( LogDriverAwsfirelens = "awsfirelens" ) +// LogDriver_Values returns all elements of the LogDriver enum +func LogDriver_Values() []string { + return []string{ + LogDriverJsonFile, + LogDriverSyslog, + LogDriverJournald, + LogDriverGelf, + LogDriverFluentd, + LogDriverAwslogs, + LogDriverSplunk, + LogDriverAwsfirelens, + } +} + const ( // ManagedScalingStatusEnabled is a ManagedScalingStatus enum value ManagedScalingStatusEnabled = "ENABLED" @@ -20449,6 +20652,14 @@ const ( ManagedScalingStatusDisabled = "DISABLED" ) +// ManagedScalingStatus_Values returns all elements of the ManagedScalingStatus enum +func ManagedScalingStatus_Values() []string { + return []string{ + ManagedScalingStatusEnabled, + ManagedScalingStatusDisabled, + } +} + const ( // ManagedTerminationProtectionEnabled is a ManagedTerminationProtection enum value ManagedTerminationProtectionEnabled = "ENABLED" @@ -20457,6 +20668,14 @@ const ( ManagedTerminationProtectionDisabled = "DISABLED" ) +// ManagedTerminationProtection_Values returns all elements of the ManagedTerminationProtection enum +func ManagedTerminationProtection_Values() []string { + return []string{ + ManagedTerminationProtectionEnabled, + ManagedTerminationProtectionDisabled, + } +} + const ( // NetworkModeBridge is a NetworkMode enum value NetworkModeBridge = "bridge" @@ -20471,6 +20690,16 @@ const ( NetworkModeNone = "none" ) +// NetworkMode_Values returns all elements of the NetworkMode enum +func NetworkMode_Values() []string { + return []string{ + NetworkModeBridge, + NetworkModeHost, + NetworkModeAwsvpc, + NetworkModeNone, + } +} + const ( // PidModeHost is a PidMode enum value PidModeHost = "host" @@ -20479,6 +20708,14 @@ const ( PidModeTask = "task" ) +// PidMode_Values returns all elements of the PidMode enum +func PidMode_Values() []string { + return []string{ + PidModeHost, + PidModeTask, + } +} + const ( // PlacementConstraintTypeDistinctInstance is a PlacementConstraintType enum value PlacementConstraintTypeDistinctInstance = "distinctInstance" @@ -20487,6 +20724,14 @@ const ( PlacementConstraintTypeMemberOf = "memberOf" ) +// PlacementConstraintType_Values returns all elements of the PlacementConstraintType enum +func PlacementConstraintType_Values() []string { + return []string{ + PlacementConstraintTypeDistinctInstance, + PlacementConstraintTypeMemberOf, + } +} + const ( // PlacementStrategyTypeRandom is a PlacementStrategyType enum value PlacementStrategyTypeRandom = "random" @@ -20498,11 +20743,27 @@ const ( PlacementStrategyTypeBinpack = "binpack" ) +// PlacementStrategyType_Values returns all elements of the PlacementStrategyType enum +func PlacementStrategyType_Values() []string { + return []string{ + PlacementStrategyTypeRandom, + PlacementStrategyTypeSpread, + PlacementStrategyTypeBinpack, + } +} + const ( // PlatformDeviceTypeGpu is a PlatformDeviceType enum value PlatformDeviceTypeGpu = "GPU" ) +// PlatformDeviceType_Values returns all elements of the PlatformDeviceType enum +func PlatformDeviceType_Values() []string { + return []string{ + PlatformDeviceTypeGpu, + } +} + const ( // PropagateTagsTaskDefinition is a PropagateTags enum value PropagateTagsTaskDefinition = "TASK_DEFINITION" @@ -20511,11 +20772,26 @@ const ( PropagateTagsService = "SERVICE" ) +// PropagateTags_Values returns all elements of the PropagateTags enum +func PropagateTags_Values() []string { + return []string{ + PropagateTagsTaskDefinition, + PropagateTagsService, + } +} + const ( // ProxyConfigurationTypeAppmesh is a ProxyConfigurationType enum value ProxyConfigurationTypeAppmesh = "APPMESH" ) +// ProxyConfigurationType_Values returns all elements of the ProxyConfigurationType enum +func ProxyConfigurationType_Values() []string { + return []string{ + ProxyConfigurationTypeAppmesh, + } +} + const ( // ResourceTypeGpu is a ResourceType enum value ResourceTypeGpu = "GPU" @@ -20524,11 +20800,26 @@ const ( ResourceTypeInferenceAccelerator = "InferenceAccelerator" ) +// ResourceType_Values returns all elements of the ResourceType enum +func ResourceType_Values() []string { + return []string{ + ResourceTypeGpu, + ResourceTypeInferenceAccelerator, + } +} + const ( // ScaleUnitPercent is a ScaleUnit enum value ScaleUnitPercent = "PERCENT" ) +// ScaleUnit_Values returns all elements of the ScaleUnit enum +func ScaleUnit_Values() []string { + return []string{ + ScaleUnitPercent, + } +} + const ( // SchedulingStrategyReplica is a SchedulingStrategy enum value SchedulingStrategyReplica = "REPLICA" @@ -20537,6 +20828,14 @@ const ( SchedulingStrategyDaemon = "DAEMON" ) +// SchedulingStrategy_Values returns all elements of the SchedulingStrategy enum +func SchedulingStrategy_Values() []string { + return []string{ + SchedulingStrategyReplica, + SchedulingStrategyDaemon, + } +} + const ( // ScopeTask is a Scope enum value ScopeTask = "task" @@ -20545,11 +20844,26 @@ const ( ScopeShared = "shared" ) +// Scope_Values returns all elements of the Scope enum +func Scope_Values() []string { + return []string{ + ScopeTask, + ScopeShared, + } +} + const ( // ServiceFieldTags is a ServiceField enum value ServiceFieldTags = "TAGS" ) +// ServiceField_Values returns all elements of the ServiceField enum +func ServiceField_Values() []string { + return []string{ + ServiceFieldTags, + } +} + const ( // SettingNameServiceLongArnFormat is a SettingName enum value SettingNameServiceLongArnFormat = "serviceLongArnFormat" @@ -20567,6 +20881,17 @@ const ( SettingNameContainerInsights = "containerInsights" ) +// SettingName_Values returns all elements of the SettingName enum +func SettingName_Values() []string { + return []string{ + SettingNameServiceLongArnFormat, + SettingNameTaskLongArnFormat, + SettingNameContainerInstanceLongArnFormat, + SettingNameAwsvpcTrunking, + SettingNameContainerInsights, + } +} + const ( // SortOrderAsc is a SortOrder enum value SortOrderAsc = "ASC" @@ -20575,6 +20900,14 @@ const ( SortOrderDesc = "DESC" ) +// SortOrder_Values returns all elements of the SortOrder enum +func SortOrder_Values() []string { + return []string{ + SortOrderAsc, + SortOrderDesc, + } +} + const ( // StabilityStatusSteadyState is a StabilityStatus enum value StabilityStatusSteadyState = "STEADY_STATE" @@ -20583,11 +20916,26 @@ const ( StabilityStatusStabilizing = "STABILIZING" ) +// StabilityStatus_Values returns all elements of the StabilityStatus enum +func StabilityStatus_Values() []string { + return []string{ + StabilityStatusSteadyState, + StabilityStatusStabilizing, + } +} + const ( // TargetTypeContainerInstance is a TargetType enum value TargetTypeContainerInstance = "container-instance" ) +// TargetType_Values returns all elements of the TargetType enum +func TargetType_Values() []string { + return []string{ + TargetTypeContainerInstance, + } +} + const ( // TaskDefinitionFamilyStatusActive is a TaskDefinitionFamilyStatus enum value TaskDefinitionFamilyStatusActive = "ACTIVE" @@ -20599,16 +20947,39 @@ const ( TaskDefinitionFamilyStatusAll = "ALL" ) +// TaskDefinitionFamilyStatus_Values returns all elements of the TaskDefinitionFamilyStatus enum +func TaskDefinitionFamilyStatus_Values() []string { + return []string{ + TaskDefinitionFamilyStatusActive, + TaskDefinitionFamilyStatusInactive, + TaskDefinitionFamilyStatusAll, + } +} + const ( // TaskDefinitionFieldTags is a TaskDefinitionField enum value TaskDefinitionFieldTags = "TAGS" ) +// TaskDefinitionField_Values returns all elements of the TaskDefinitionField enum +func TaskDefinitionField_Values() []string { + return []string{ + TaskDefinitionFieldTags, + } +} + const ( // TaskDefinitionPlacementConstraintTypeMemberOf is a TaskDefinitionPlacementConstraintType enum value TaskDefinitionPlacementConstraintTypeMemberOf = "memberOf" ) +// TaskDefinitionPlacementConstraintType_Values returns all elements of the TaskDefinitionPlacementConstraintType enum +func TaskDefinitionPlacementConstraintType_Values() []string { + return []string{ + TaskDefinitionPlacementConstraintTypeMemberOf, + } +} + const ( // TaskDefinitionStatusActive is a TaskDefinitionStatus enum value TaskDefinitionStatusActive = "ACTIVE" @@ -20617,16 +20988,38 @@ const ( TaskDefinitionStatusInactive = "INACTIVE" ) +// TaskDefinitionStatus_Values returns all elements of the TaskDefinitionStatus enum +func TaskDefinitionStatus_Values() []string { + return []string{ + TaskDefinitionStatusActive, + TaskDefinitionStatusInactive, + } +} + const ( // TaskFieldTags is a TaskField enum value TaskFieldTags = "TAGS" ) +// TaskField_Values returns all elements of the TaskField enum +func TaskField_Values() []string { + return []string{ + TaskFieldTags, + } +} + const ( // TaskSetFieldTags is a TaskSetField enum value TaskSetFieldTags = "TAGS" ) +// TaskSetField_Values returns all elements of the TaskSetField enum +func TaskSetField_Values() []string { + return []string{ + TaskSetFieldTags, + } +} + const ( // TaskStopCodeTaskFailedToStart is a TaskStopCode enum value TaskStopCodeTaskFailedToStart = "TaskFailedToStart" @@ -20638,6 +21031,15 @@ const ( TaskStopCodeUserInitiated = "UserInitiated" ) +// TaskStopCode_Values returns all elements of the TaskStopCode enum +func TaskStopCode_Values() []string { + return []string{ + TaskStopCodeTaskFailedToStart, + TaskStopCodeEssentialContainerExited, + TaskStopCodeUserInitiated, + } +} + const ( // TransportProtocolTcp is a TransportProtocol enum value TransportProtocolTcp = "tcp" @@ -20646,6 +21048,14 @@ const ( TransportProtocolUdp = "udp" ) +// TransportProtocol_Values returns all elements of the TransportProtocol enum +func TransportProtocol_Values() []string { + return []string{ + TransportProtocolTcp, + TransportProtocolUdp, + } +} + const ( // UlimitNameCore is a UlimitName enum value UlimitNameCore = "core" @@ -20692,3 +21102,24 @@ const ( // UlimitNameStack is a UlimitName enum value UlimitNameStack = "stack" ) + +// UlimitName_Values returns all elements of the UlimitName enum +func UlimitName_Values() []string { + return []string{ + UlimitNameCore, + UlimitNameCpu, + UlimitNameData, + UlimitNameFsize, + UlimitNameLocks, + UlimitNameMemlock, + UlimitNameMsgqueue, + UlimitNameNice, + UlimitNameNofile, + UlimitNameNproc, + UlimitNameRss, + UlimitNameRtprio, + UlimitNameRttime, + UlimitNameSigpending, + UlimitNameStack, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/efs/api.go b/vendor/github.com/aws/aws-sdk-go/service/efs/api.go index f194fbcefb7..32d25cdd2d3 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/efs/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/efs/api.go @@ -7795,6 +7795,17 @@ const ( LifeCycleStateDeleted = "deleted" ) +// LifeCycleState_Values returns all elements of the LifeCycleState enum +func LifeCycleState_Values() []string { + return []string{ + LifeCycleStateCreating, + LifeCycleStateAvailable, + LifeCycleStateUpdating, + LifeCycleStateDeleting, + LifeCycleStateDeleted, + } +} + const ( // PerformanceModeGeneralPurpose is a PerformanceMode enum value PerformanceModeGeneralPurpose = "generalPurpose" @@ -7803,6 +7814,14 @@ const ( PerformanceModeMaxIo = "maxIO" ) +// PerformanceMode_Values returns all elements of the PerformanceMode enum +func PerformanceMode_Values() []string { + return []string{ + PerformanceModeGeneralPurpose, + PerformanceModeMaxIo, + } +} + const ( // StatusEnabled is a Status enum value StatusEnabled = "ENABLED" @@ -7817,6 +7836,16 @@ const ( StatusDisabling = "DISABLING" ) +// Status_Values returns all elements of the Status enum +func Status_Values() []string { + return []string{ + StatusEnabled, + StatusEnabling, + StatusDisabled, + StatusDisabling, + } +} + const ( // ThroughputModeBursting is a ThroughputMode enum value ThroughputModeBursting = "bursting" @@ -7825,6 +7854,14 @@ const ( ThroughputModeProvisioned = "provisioned" ) +// ThroughputMode_Values returns all elements of the ThroughputMode enum +func ThroughputMode_Values() []string { + return []string{ + ThroughputModeBursting, + ThroughputModeProvisioned, + } +} + const ( // TransitionToIARulesAfter7Days is a TransitionToIARules enum value TransitionToIARulesAfter7Days = "AFTER_7_DAYS" @@ -7841,3 +7878,14 @@ const ( // TransitionToIARulesAfter90Days is a TransitionToIARules enum value TransitionToIARulesAfter90Days = "AFTER_90_DAYS" ) + +// TransitionToIARules_Values returns all elements of the TransitionToIARules enum +func TransitionToIARules_Values() []string { + return []string{ + TransitionToIARulesAfter7Days, + TransitionToIARulesAfter14Days, + TransitionToIARulesAfter30Days, + TransitionToIARulesAfter60Days, + TransitionToIARulesAfter90Days, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/eks/api.go b/vendor/github.com/aws/aws-sdk-go/service/eks/api.go index 5c5f2e20ac1..8b0d8e0e1ec 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/eks/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/eks/api.go @@ -335,7 +335,9 @@ func (c *EKS) CreateNodegroupRequest(input *CreateNodegroupInput) (req *request. // Creates a managed worker node group for an Amazon EKS cluster. You can only // create a node group for your cluster that is equal to the current Kubernetes // version for the cluster. All node groups are created with the latest AMI -// release version for the respective minor Kubernetes version of the cluster. +// release version for the respective minor Kubernetes version of the cluster, +// unless you deploy a custom AMI using a launch template. For more information +// about using launch templates, see Launch template support (https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html). // // An Amazon EKS managed node group is an Amazon EC2 Auto Scaling group and // associated Amazon EC2 instances that are managed by AWS for an Amazon EKS @@ -2352,11 +2354,18 @@ func (c *EKS) UpdateNodegroupVersionRequest(input *UpdateNodegroupVersionInput) // Updates the Kubernetes version or AMI version of an Amazon EKS managed node // group. // -// You can update to the latest available AMI version of a node group's current -// Kubernetes version by not specifying a Kubernetes version in the request. -// You can update to the latest AMI version of your cluster's current Kubernetes -// version by specifying your cluster's Kubernetes version in the request. For -// more information, see Amazon EKS-Optimized Linux AMI Versions (https://docs.aws.amazon.com/eks/latest/userguide/eks-linux-ami-versions.html) +// You can update a node group using a launch template only if the node group +// was originally deployed with a launch template. If you need to update a custom +// AMI in a node group that was deployed with a launch template, then update +// your custom AMI, specify the new ID in a new version of the launch template, +// and then update the node group to the new version of the launch template. +// +// If you update without a launch template, then you can update to the latest +// available AMI version of a node group's current Kubernetes version by not +// specifying a Kubernetes version in the request. You can update to the latest +// AMI version of your cluster's current Kubernetes version by specifying your +// cluster's Kubernetes version in the request. For more information, see Amazon +// EKS-Optimized Linux AMI Versions (https://docs.aws.amazon.com/eks/latest/userguide/eks-linux-ami-versions.html) // in the Amazon EKS User Guide. // // You cannot roll back a node group to an earlier Kubernetes version or AMI @@ -2795,8 +2804,8 @@ type CreateClusterInput struct { ResourcesVpcConfig *VpcConfigRequest `locationName:"resourcesVpcConfig" type:"structure" required:"true"` // The Amazon Resource Name (ARN) of the IAM role that provides permissions - // for Amazon EKS to make calls to other AWS API operations on your behalf. - // For more information, see Amazon EKS Service IAM Role (https://docs.aws.amazon.com/eks/latest/userguide/service_IAM_role.html) + // for the Kubernetes control plane to make calls to AWS API operations on your + // behalf. For more information, see Amazon EKS Service IAM Role (https://docs.aws.amazon.com/eks/latest/userguide/service_IAM_role.html) // in the Amazon EKS User Guide . // // RoleArn is a required field @@ -3068,7 +3077,11 @@ type CreateNodegroupInput struct { // The AMI type for your node group. GPU instance types should use the AL2_x86_64_GPU // AMI type, which uses the Amazon EKS-optimized Linux AMI with GPU support. // Non-GPU instances should use the AL2_x86_64 AMI type, which uses the Amazon - // EKS-optimized Linux AMI. + // EKS-optimized Linux AMI. If you specify launchTemplate, and your launch template + // uses a custom AMI, then don't specify amiType, or the node group deployment + // will fail. For more information about using launch templates with Amazon + // EKS, see Launch template support (https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html) + // in the Amazon EKS User Guide. AmiType *string `locationName:"amiType" type:"string" enum:"AMITypes"` // Unique, case-sensitive identifier that you provide to ensure the idempotency @@ -3081,19 +3094,31 @@ type CreateNodegroupInput struct { ClusterName *string `location:"uri" locationName:"name" type:"string" required:"true"` // The root device disk size (in GiB) for your node group instances. The default - // disk size is 20 GiB. + // disk size is 20 GiB. If you specify launchTemplate, then don't specify diskSize, + // or the node group deployment will fail. For more information about using + // launch templates with Amazon EKS, see Launch template support (https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html) + // in the Amazon EKS User Guide. DiskSize *int64 `locationName:"diskSize" type:"integer"` - // The instance type to use for your node group. Currently, you can specify - // a single instance type for a node group. The default value for this parameter - // is t3.medium. If you choose a GPU instance type, be sure to specify the AL2_x86_64_GPU - // with the amiType parameter. + // The instance type to use for your node group. You can specify a single instance + // type for a node group. The default value for instanceTypes is t3.medium. + // If you choose a GPU instance type, be sure to specify AL2_x86_64_GPU with + // the amiType parameter. If you specify launchTemplate, then don't specify + // instanceTypes, or the node group deployment will fail. For more information + // about using launch templates with Amazon EKS, see Launch template support + // (https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html) + // in the Amazon EKS User Guide. InstanceTypes []*string `locationName:"instanceTypes" type:"list"` // The Kubernetes labels to be applied to the nodes in the node group when they // are created. Labels map[string]*string `locationName:"labels" type:"map"` + // An object representing a node group's launch template specification. If specified, + // then do not specify instanceTypes, diskSize, or remoteAccess. If specified, + // make sure that the launch template meets the requirements in launchTemplateSpecification. + LaunchTemplate *LaunchTemplateSpecification `locationName:"launchTemplate" type:"structure"` + // The Amazon Resource Name (ARN) of the IAM role to associate with your node // group. The Amazon EKS worker node kubelet daemon makes calls to AWS APIs // on your behalf. Worker nodes receive permissions for these API calls through @@ -3101,7 +3126,12 @@ type CreateNodegroupInput struct { // nodes and register them into a cluster, you must create an IAM role for those // worker nodes to use when they are launched. For more information, see Amazon // EKS Worker Node IAM Role (https://docs.aws.amazon.com/eks/latest/userguide/worker_node_IAM_role.html) - // in the Amazon EKS User Guide . + // in the Amazon EKS User Guide . If you specify launchTemplate, then don't + // specify IamInstanceProfile (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_IamInstanceProfile.html) + // in your launch template, or the node group deployment will fail. For more + // information about using launch templates with Amazon EKS, see Launch template + // support (https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html) + // in the Amazon EKS User Guide. // // NodeRole is a required field NodeRole *string `locationName:"nodeRole" type:"string" required:"true"` @@ -3115,10 +3145,18 @@ type CreateNodegroupInput struct { // By default, the latest available AMI version for the node group's current // Kubernetes version is used. For more information, see Amazon EKS-Optimized // Linux AMI Versions (https://docs.aws.amazon.com/eks/latest/userguide/eks-linux-ami-versions.html) + // in the Amazon EKS User Guide. If you specify launchTemplate, and your launch + // template uses a custom AMI, then don't specify releaseVersion, or the node + // group deployment will fail. For more information about using launch templates + // with Amazon EKS, see Launch template support (https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html) // in the Amazon EKS User Guide. ReleaseVersion *string `locationName:"releaseVersion" type:"string"` - // The remote access (SSH) configuration to use with your node group. + // The remote access (SSH) configuration to use with your node group. If you + // specify launchTemplate, then don't specify remoteAccess, or the node group + // deployment will fail. For more information about using launch templates with + // Amazon EKS, see Launch template support (https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html) + // in the Amazon EKS User Guide. RemoteAccess *RemoteAccessConfig `locationName:"remoteAccess" type:"structure"` // The scaling configuration details for the Auto Scaling group that is created @@ -3128,7 +3166,11 @@ type CreateNodegroupInput struct { // The subnets to use for the Auto Scaling group that is created for your node // group. These subnets must have the tag key kubernetes.io/cluster/CLUSTER_NAME // with a value of shared, where CLUSTER_NAME is replaced with the name of your - // cluster. + // cluster. If you specify launchTemplate, then don't specify SubnetId (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateNetworkInterface.html) + // in your launch template, or the node group deployment will fail. For more + // information about using launch templates with Amazon EKS, see Launch template + // support (https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html) + // in the Amazon EKS User Guide. // // Subnets is a required field Subnets []*string `locationName:"subnets" type:"list" required:"true"` @@ -3141,6 +3183,11 @@ type CreateNodegroupInput struct { // The Kubernetes version to use for your managed nodes. By default, the Kubernetes // version of the cluster is used, and this is the only accepted specified value. + // If you specify launchTemplate, and your launch template uses a custom AMI, + // then don't specify version, or the node group deployment will fail. For more + // information about using launch templates with Amazon EKS, see Launch template + // support (https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html) + // in the Amazon EKS User Guide. Version *string `locationName:"version" type:"string"` } @@ -3223,6 +3270,12 @@ func (s *CreateNodegroupInput) SetLabels(v map[string]*string) *CreateNodegroupI return s } +// SetLaunchTemplate sets the LaunchTemplate field's value. +func (s *CreateNodegroupInput) SetLaunchTemplate(v *LaunchTemplateSpecification) *CreateNodegroupInput { + s.LaunchTemplate = v + return s +} + // SetNodeRole sets the NodeRole field's value. func (s *CreateNodegroupInput) SetNodeRole(v string) *CreateNodegroupInput { s.NodeRole = &v @@ -4250,6 +4303,14 @@ type Issue struct { // created. You may be able to revert to the version that Amazon EKS created // to recover. // + // * Ec2SubnetInvalidConfiguration: One or more Amazon EC2 subnets specified + // for a node group do not automatically assign public IP addresses to instances + // launched into it. If you want your instances to be assigned a public IP + // address, then you need to enable the auto-assign public IP address setting + // for the subnet. See Modifying the public IPv4 addressing attribute for + // your subnet (https://docs.aws.amazon.com/vpc/latest/userguide/vpc-ip-addressing.html#subnet-public-ip) + // in the Amazon VPC User Guide. + // // * IamInstanceProfileNotFound: We couldn't find the IAM instance profile // for your managed node group. You may be able to recreate an instance profile // with the same settings to recover. @@ -4316,6 +4377,61 @@ func (s *Issue) SetResourceIds(v []*string) *Issue { return s } +// An object representing a node group launch template specification. The launch +// template cannot include SubnetId (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateNetworkInterface.html), +// IamInstanceProfile (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_IamInstanceProfile.html), +// RequestSpotInstances (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotInstances.html), +// HibernationOptions (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_HibernationOptionsRequest.html), +// or TerminateInstances (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_TerminateInstances.html), +// or the node group deployment or update will fail. For more information about +// launch templates, see CreateLaunchTemplate (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateLaunchTemplate.html) +// in the Amazon EC2 API Reference. For more information about using launch +// templates with Amazon EKS, see Launch template support (https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html) +// in the Amazon EKS User Guide. +// +// Specify either name or id, but not both. +type LaunchTemplateSpecification struct { + _ struct{} `type:"structure"` + + // The ID of the launch template. + Id *string `locationName:"id" type:"string"` + + // The name of the launch template. + Name *string `locationName:"name" type:"string"` + + // The version of the launch template to use. If no version is specified, then + // the template's default version is used. + Version *string `locationName:"version" type:"string"` +} + +// String returns the string representation +func (s LaunchTemplateSpecification) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s LaunchTemplateSpecification) GoString() string { + return s.String() +} + +// SetId sets the Id field's value. +func (s *LaunchTemplateSpecification) SetId(v string) *LaunchTemplateSpecification { + s.Id = &v + return s +} + +// SetName sets the Name field's value. +func (s *LaunchTemplateSpecification) SetName(v string) *LaunchTemplateSpecification { + s.Name = &v + return s +} + +// SetVersion sets the Version field's value. +func (s *LaunchTemplateSpecification) SetVersion(v string) *LaunchTemplateSpecification { + s.Version = &v + return s +} + type ListClustersInput struct { _ struct{} `type:"structure"` @@ -4868,10 +4984,9 @@ func (s *Logging) SetClusterLogging(v []*LogSetup) *Logging { type Nodegroup struct { _ struct{} `type:"structure"` - // The AMI type associated with your node group. GPU instance types should use - // the AL2_x86_64_GPU AMI type, which uses the Amazon EKS-optimized Linux AMI - // with GPU support. Non-GPU instances should use the AL2_x86_64 AMI type, which - // uses the Amazon EKS-optimized Linux AMI. + // If the node group was deployed using a launch template with a custom AMI, + // then this is CUSTOM. For node groups that weren't deployed using a launch + // template, this is the AMI type that was specified in the node group configuration. AmiType *string `locationName:"amiType" type:"string" enum:"AMITypes"` // The name of the cluster that the managed node group resides in. @@ -4880,15 +4995,18 @@ type Nodegroup struct { // The Unix epoch timestamp in seconds for when the managed node group was created. CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"` - // The root device disk size (in GiB) for your node group instances. The default - // disk size is 20 GiB. + // If the node group wasn't deployed with a launch template, then this is the + // disk size in the node group configuration. If the node group was deployed + // with a launch template, then diskSize is null. DiskSize *int64 `locationName:"diskSize" type:"integer"` // The health status of the node group. If there are issues with your node group's // health, they are listed here. Health *NodegroupHealth `locationName:"health" type:"structure"` - // The instance types associated with your node group. + // If the node group wasn't deployed with a launch template, then this is the + // instance type that is associated with the node group. If the node group was + // deployed with a launch template, then instanceTypes is null. InstanceTypes []*string `locationName:"instanceTypes" type:"list"` // The Kubernetes labels applied to the nodes in the node group. @@ -4897,6 +5015,10 @@ type Nodegroup struct { // may be other Kubernetes labels applied to the nodes in this group. Labels map[string]*string `locationName:"labels" type:"map"` + // If a launch template was used to create the node group, then this is the + // launch template that was used. + LaunchTemplate *LaunchTemplateSpecification `locationName:"launchTemplate" type:"structure"` + // The Unix epoch timestamp in seconds for when the managed node group was last // modified. ModifiedAt *time.Time `locationName:"modifiedAt" type:"timestamp"` @@ -4904,10 +5026,7 @@ type Nodegroup struct { // The IAM role associated with your node group. The Amazon EKS worker node // kubelet daemon makes calls to AWS APIs on your behalf. Worker nodes receive // permissions for these API calls through an IAM instance profile and associated - // policies. Before you can launch worker nodes and register them into a cluster, - // you must create an IAM role for those worker nodes to use when they are launched. - // For more information, see Amazon EKS Worker Node IAM Role (https://docs.aws.amazon.com/eks/latest/userguide/worker_node_IAM_role.html) - // in the Amazon EKS User Guide . + // policies. NodeRole *string `locationName:"nodeRole" type:"string"` // The Amazon Resource Name (ARN) associated with the managed node group. @@ -4916,12 +5035,15 @@ type Nodegroup struct { // The name associated with an Amazon EKS managed node group. NodegroupName *string `locationName:"nodegroupName" type:"string"` - // The AMI version of the managed node group. For more information, see Amazon - // EKS-Optimized Linux AMI Versions (https://docs.aws.amazon.com/eks/latest/userguide/eks-linux-ami-versions.html) - // in the Amazon EKS User Guide. + // If the node group was deployed using a launch template with a custom AMI, + // then this is the AMI ID that was specified in the launch template. For node + // groups that weren't deployed using a launch template, this is the version + // of the Amazon EKS-optimized AMI that the node group was deployed with. ReleaseVersion *string `locationName:"releaseVersion" type:"string"` - // The remote access (SSH) configuration that is associated with the node group. + // If the node group wasn't deployed with a launch template, then this is the + // remote access configuration that is associated with the node group. If the + // node group was deployed with a launch template, then remoteAccess is null. RemoteAccess *RemoteAccessConfig `locationName:"remoteAccess" type:"structure"` // The resources associated with the node group, such as Auto Scaling groups @@ -4935,9 +5057,8 @@ type Nodegroup struct { // The current status of the managed node group. Status *string `locationName:"status" type:"string" enum:"NodegroupStatus"` - // The subnets allowed for the Auto Scaling group that is associated with your - // node group. These subnets must have the following tag: kubernetes.io/cluster/CLUSTER_NAME, - // where CLUSTER_NAME is replaced with the name of your cluster. + // The subnets that were specified for the Auto Scaling group that is associated + // with your node group. Subnets []*string `locationName:"subnets" type:"list"` // The metadata applied to the node group to assist with categorization and @@ -5002,6 +5123,12 @@ func (s *Nodegroup) SetLabels(v map[string]*string) *Nodegroup { return s } +// SetLaunchTemplate sets the LaunchTemplate field's value. +func (s *Nodegroup) SetLaunchTemplate(v *LaunchTemplateSpecification) *Nodegroup { + s.LaunchTemplate = v + return s +} + // SetModifiedAt sets the ModifiedAt field's value. func (s *Nodegroup) SetModifiedAt(v time.Time) *Nodegroup { s.ModifiedAt = &v @@ -5134,7 +5261,8 @@ func (s *NodegroupResources) SetRemoteAccessSecurityGroup(v string) *NodegroupRe } // An object representing the scaling configuration details for the Auto Scaling -// group that is associated with your node group. +// group that is associated with your node group. If you specify a value for +// any property, then you must specify values for all of the properties. type NodegroupScalingConfig struct { _ struct{} `type:"structure"` @@ -6300,6 +6428,11 @@ type UpdateNodegroupVersionInput struct { // old node whether or not any pods are running on the node. Force *bool `locationName:"force" type:"boolean"` + // An object representing a node group's launch template specification. You + // can only update a node group using a launch template if the node group was + // originally deployed with a launch template. + LaunchTemplate *LaunchTemplateSpecification `locationName:"launchTemplate" type:"structure"` + // The name of the managed node group to update. // // NodegroupName is a required field @@ -6309,13 +6442,21 @@ type UpdateNodegroupVersionInput struct { // default, the latest available AMI version for the node group's Kubernetes // version is used. For more information, see Amazon EKS-Optimized Linux AMI // Versions (https://docs.aws.amazon.com/eks/latest/userguide/eks-linux-ami-versions.html) + // in the Amazon EKS User Guide. If you specify launchTemplate, and your launch + // template uses a custom AMI, then don't specify releaseVersion, or the node + // group update will fail. For more information about using launch templates + // with Amazon EKS, see Launch template support (https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html) // in the Amazon EKS User Guide. ReleaseVersion *string `locationName:"releaseVersion" type:"string"` // The Kubernetes version to update to. If no version is specified, then the // Kubernetes version of the node group does not change. You can specify the // Kubernetes version of the cluster to update the node group to the latest - // AMI version of the cluster's Kubernetes version. + // AMI version of the cluster's Kubernetes version. If you specify launchTemplate, + // and your launch template uses a custom AMI, then don't specify version, or + // the node group update will fail. For more information about using launch + // templates with Amazon EKS, see Launch template support (https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html) + // in the Amazon EKS User Guide. Version *string `locationName:"version" type:"string"` } @@ -6369,6 +6510,12 @@ func (s *UpdateNodegroupVersionInput) SetForce(v bool) *UpdateNodegroupVersionIn return s } +// SetLaunchTemplate sets the LaunchTemplate field's value. +func (s *UpdateNodegroupVersionInput) SetLaunchTemplate(v *LaunchTemplateSpecification) *UpdateNodegroupVersionInput { + s.LaunchTemplate = v + return s +} + // SetNodegroupName sets the NodegroupName field's value. func (s *UpdateNodegroupVersionInput) SetNodegroupName(v string) *UpdateNodegroupVersionInput { s.NodegroupName = &v @@ -6635,8 +6782,20 @@ const ( // AMITypesAl2X8664Gpu is a AMITypes enum value AMITypesAl2X8664Gpu = "AL2_x86_64_GPU" + + // AMITypesAl2Arm64 is a AMITypes enum value + AMITypesAl2Arm64 = "AL2_ARM_64" ) +// AMITypes_Values returns all elements of the AMITypes enum +func AMITypes_Values() []string { + return []string{ + AMITypesAl2X8664, + AMITypesAl2X8664Gpu, + AMITypesAl2Arm64, + } +} + const ( // ClusterStatusCreating is a ClusterStatus enum value ClusterStatusCreating = "CREATING" @@ -6654,6 +6813,17 @@ const ( ClusterStatusUpdating = "UPDATING" ) +// ClusterStatus_Values returns all elements of the ClusterStatus enum +func ClusterStatus_Values() []string { + return []string{ + ClusterStatusCreating, + ClusterStatusActive, + ClusterStatusDeleting, + ClusterStatusFailed, + ClusterStatusUpdating, + } +} + const ( // ErrorCodeSubnetNotFound is a ErrorCode enum value ErrorCodeSubnetNotFound = "SubnetNotFound" @@ -6689,6 +6859,23 @@ const ( ErrorCodeInsufficientFreeAddresses = "InsufficientFreeAddresses" ) +// ErrorCode_Values returns all elements of the ErrorCode enum +func ErrorCode_Values() []string { + return []string{ + ErrorCodeSubnetNotFound, + ErrorCodeSecurityGroupNotFound, + ErrorCodeEniLimitReached, + ErrorCodeIpNotAvailable, + ErrorCodeAccessDenied, + ErrorCodeOperationNotPermitted, + ErrorCodeVpcIdNotFound, + ErrorCodeUnknown, + ErrorCodeNodeCreationFailure, + ErrorCodePodEvictionFailure, + ErrorCodeInsufficientFreeAddresses, + } +} + const ( // FargateProfileStatusCreating is a FargateProfileStatus enum value FargateProfileStatusCreating = "CREATING" @@ -6706,6 +6893,17 @@ const ( FargateProfileStatusDeleteFailed = "DELETE_FAILED" ) +// FargateProfileStatus_Values returns all elements of the FargateProfileStatus enum +func FargateProfileStatus_Values() []string { + return []string{ + FargateProfileStatusCreating, + FargateProfileStatusActive, + FargateProfileStatusDeleting, + FargateProfileStatusCreateFailed, + FargateProfileStatusDeleteFailed, + } +} + const ( // LogTypeApi is a LogType enum value LogTypeApi = "api" @@ -6723,6 +6921,17 @@ const ( LogTypeScheduler = "scheduler" ) +// LogType_Values returns all elements of the LogType enum +func LogType_Values() []string { + return []string{ + LogTypeApi, + LogTypeAudit, + LogTypeAuthenticator, + LogTypeControllerManager, + LogTypeScheduler, + } +} + const ( // NodegroupIssueCodeAutoScalingGroupNotFound is a NodegroupIssueCode enum value NodegroupIssueCodeAutoScalingGroupNotFound = "AutoScalingGroupNotFound" @@ -6776,6 +6985,29 @@ const ( NodegroupIssueCodeInternalFailure = "InternalFailure" ) +// NodegroupIssueCode_Values returns all elements of the NodegroupIssueCode enum +func NodegroupIssueCode_Values() []string { + return []string{ + NodegroupIssueCodeAutoScalingGroupNotFound, + NodegroupIssueCodeAutoScalingGroupInvalidConfiguration, + NodegroupIssueCodeEc2securityGroupNotFound, + NodegroupIssueCodeEc2securityGroupDeletionFailure, + NodegroupIssueCodeEc2launchTemplateNotFound, + NodegroupIssueCodeEc2launchTemplateVersionMismatch, + NodegroupIssueCodeEc2subnetNotFound, + NodegroupIssueCodeEc2subnetInvalidConfiguration, + NodegroupIssueCodeIamInstanceProfileNotFound, + NodegroupIssueCodeIamLimitExceeded, + NodegroupIssueCodeIamNodeRoleNotFound, + NodegroupIssueCodeNodeCreationFailure, + NodegroupIssueCodeAsgInstanceLaunchFailures, + NodegroupIssueCodeInstanceLimitExceeded, + NodegroupIssueCodeInsufficientFreeAddresses, + NodegroupIssueCodeAccessDenied, + NodegroupIssueCodeInternalFailure, + } +} + const ( // NodegroupStatusCreating is a NodegroupStatus enum value NodegroupStatusCreating = "CREATING" @@ -6799,6 +7031,19 @@ const ( NodegroupStatusDegraded = "DEGRADED" ) +// NodegroupStatus_Values returns all elements of the NodegroupStatus enum +func NodegroupStatus_Values() []string { + return []string{ + NodegroupStatusCreating, + NodegroupStatusActive, + NodegroupStatusUpdating, + NodegroupStatusDeleting, + NodegroupStatusCreateFailed, + NodegroupStatusDeleteFailed, + NodegroupStatusDegraded, + } +} + const ( // UpdateParamTypeVersion is a UpdateParamType enum value UpdateParamTypeVersion = "Version" @@ -6837,6 +7082,24 @@ const ( UpdateParamTypePublicAccessCidrs = "PublicAccessCidrs" ) +// UpdateParamType_Values returns all elements of the UpdateParamType enum +func UpdateParamType_Values() []string { + return []string{ + UpdateParamTypeVersion, + UpdateParamTypePlatformVersion, + UpdateParamTypeEndpointPrivateAccess, + UpdateParamTypeEndpointPublicAccess, + UpdateParamTypeClusterLogging, + UpdateParamTypeDesiredSize, + UpdateParamTypeLabelsToAdd, + UpdateParamTypeLabelsToRemove, + UpdateParamTypeMaxSize, + UpdateParamTypeMinSize, + UpdateParamTypeReleaseVersion, + UpdateParamTypePublicAccessCidrs, + } +} + const ( // UpdateStatusInProgress is a UpdateStatus enum value UpdateStatusInProgress = "InProgress" @@ -6851,6 +7114,16 @@ const ( UpdateStatusSuccessful = "Successful" ) +// UpdateStatus_Values returns all elements of the UpdateStatus enum +func UpdateStatus_Values() []string { + return []string{ + UpdateStatusInProgress, + UpdateStatusFailed, + UpdateStatusCancelled, + UpdateStatusSuccessful, + } +} + const ( // UpdateTypeVersionUpdate is a UpdateType enum value UpdateTypeVersionUpdate = "VersionUpdate" @@ -6864,3 +7137,13 @@ const ( // UpdateTypeConfigUpdate is a UpdateType enum value UpdateTypeConfigUpdate = "ConfigUpdate" ) + +// UpdateType_Values returns all elements of the UpdateType enum +func UpdateType_Values() []string { + return []string{ + UpdateTypeVersionUpdate, + UpdateTypeEndpointAccessUpdate, + UpdateTypeLoggingUpdate, + UpdateTypeConfigUpdate, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/elasticache/api.go b/vendor/github.com/aws/aws-sdk-go/service/elasticache/api.go index f8ad7ee87e0..a2767843498 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/elasticache/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/elasticache/api.go @@ -17248,6 +17248,14 @@ const ( AZModeCrossAz = "cross-az" ) +// AZMode_Values returns all elements of the AZMode enum +func AZMode_Values() []string { + return []string{ + AZModeSingleAz, + AZModeCrossAz, + } +} + const ( // AuthTokenUpdateStatusSetting is a AuthTokenUpdateStatus enum value AuthTokenUpdateStatusSetting = "SETTING" @@ -17256,6 +17264,14 @@ const ( AuthTokenUpdateStatusRotating = "ROTATING" ) +// AuthTokenUpdateStatus_Values returns all elements of the AuthTokenUpdateStatus enum +func AuthTokenUpdateStatus_Values() []string { + return []string{ + AuthTokenUpdateStatusSetting, + AuthTokenUpdateStatusRotating, + } +} + const ( // AuthTokenUpdateStrategyTypeSet is a AuthTokenUpdateStrategyType enum value AuthTokenUpdateStrategyTypeSet = "SET" @@ -17264,6 +17280,14 @@ const ( AuthTokenUpdateStrategyTypeRotate = "ROTATE" ) +// AuthTokenUpdateStrategyType_Values returns all elements of the AuthTokenUpdateStrategyType enum +func AuthTokenUpdateStrategyType_Values() []string { + return []string{ + AuthTokenUpdateStrategyTypeSet, + AuthTokenUpdateStrategyTypeRotate, + } +} + const ( // AutomaticFailoverStatusEnabled is a AutomaticFailoverStatus enum value AutomaticFailoverStatusEnabled = "enabled" @@ -17278,6 +17302,16 @@ const ( AutomaticFailoverStatusDisabling = "disabling" ) +// AutomaticFailoverStatus_Values returns all elements of the AutomaticFailoverStatus enum +func AutomaticFailoverStatus_Values() []string { + return []string{ + AutomaticFailoverStatusEnabled, + AutomaticFailoverStatusDisabled, + AutomaticFailoverStatusEnabling, + AutomaticFailoverStatusDisabling, + } +} + const ( // ChangeTypeImmediate is a ChangeType enum value ChangeTypeImmediate = "immediate" @@ -17286,6 +17320,14 @@ const ( ChangeTypeRequiresReboot = "requires-reboot" ) +// ChangeType_Values returns all elements of the ChangeType enum +func ChangeType_Values() []string { + return []string{ + ChangeTypeImmediate, + ChangeTypeRequiresReboot, + } +} + const ( // MultiAZStatusEnabled is a MultiAZStatus enum value MultiAZStatusEnabled = "enabled" @@ -17294,6 +17336,14 @@ const ( MultiAZStatusDisabled = "disabled" ) +// MultiAZStatus_Values returns all elements of the MultiAZStatus enum +func MultiAZStatus_Values() []string { + return []string{ + MultiAZStatusEnabled, + MultiAZStatusDisabled, + } +} + const ( // NodeUpdateInitiatedBySystem is a NodeUpdateInitiatedBy enum value NodeUpdateInitiatedBySystem = "system" @@ -17302,6 +17352,14 @@ const ( NodeUpdateInitiatedByCustomer = "customer" ) +// NodeUpdateInitiatedBy_Values returns all elements of the NodeUpdateInitiatedBy enum +func NodeUpdateInitiatedBy_Values() []string { + return []string{ + NodeUpdateInitiatedBySystem, + NodeUpdateInitiatedByCustomer, + } +} + const ( // NodeUpdateStatusNotApplied is a NodeUpdateStatus enum value NodeUpdateStatusNotApplied = "not-applied" @@ -17322,6 +17380,18 @@ const ( NodeUpdateStatusComplete = "complete" ) +// NodeUpdateStatus_Values returns all elements of the NodeUpdateStatus enum +func NodeUpdateStatus_Values() []string { + return []string{ + NodeUpdateStatusNotApplied, + NodeUpdateStatusWaitingToStart, + NodeUpdateStatusInProgress, + NodeUpdateStatusStopping, + NodeUpdateStatusStopped, + NodeUpdateStatusComplete, + } +} + const ( // PendingAutomaticFailoverStatusEnabled is a PendingAutomaticFailoverStatus enum value PendingAutomaticFailoverStatusEnabled = "enabled" @@ -17330,6 +17400,14 @@ const ( PendingAutomaticFailoverStatusDisabled = "disabled" ) +// PendingAutomaticFailoverStatus_Values returns all elements of the PendingAutomaticFailoverStatus enum +func PendingAutomaticFailoverStatus_Values() []string { + return []string{ + PendingAutomaticFailoverStatusEnabled, + PendingAutomaticFailoverStatusDisabled, + } +} + const ( // ServiceUpdateSeverityCritical is a ServiceUpdateSeverity enum value ServiceUpdateSeverityCritical = "critical" @@ -17344,6 +17422,16 @@ const ( ServiceUpdateSeverityLow = "low" ) +// ServiceUpdateSeverity_Values returns all elements of the ServiceUpdateSeverity enum +func ServiceUpdateSeverity_Values() []string { + return []string{ + ServiceUpdateSeverityCritical, + ServiceUpdateSeverityImportant, + ServiceUpdateSeverityMedium, + ServiceUpdateSeverityLow, + } +} + const ( // ServiceUpdateStatusAvailable is a ServiceUpdateStatus enum value ServiceUpdateStatusAvailable = "available" @@ -17355,11 +17443,27 @@ const ( ServiceUpdateStatusExpired = "expired" ) +// ServiceUpdateStatus_Values returns all elements of the ServiceUpdateStatus enum +func ServiceUpdateStatus_Values() []string { + return []string{ + ServiceUpdateStatusAvailable, + ServiceUpdateStatusCancelled, + ServiceUpdateStatusExpired, + } +} + const ( // ServiceUpdateTypeSecurityUpdate is a ServiceUpdateType enum value ServiceUpdateTypeSecurityUpdate = "security-update" ) +// ServiceUpdateType_Values returns all elements of the ServiceUpdateType enum +func ServiceUpdateType_Values() []string { + return []string{ + ServiceUpdateTypeSecurityUpdate, + } +} + const ( // SlaMetYes is a SlaMet enum value SlaMetYes = "yes" @@ -17371,6 +17475,15 @@ const ( SlaMetNA = "n/a" ) +// SlaMet_Values returns all elements of the SlaMet enum +func SlaMet_Values() []string { + return []string{ + SlaMetYes, + SlaMetNo, + SlaMetNA, + } +} + const ( // SourceTypeCacheCluster is a SourceType enum value SourceTypeCacheCluster = "cache-cluster" @@ -17388,6 +17501,17 @@ const ( SourceTypeReplicationGroup = "replication-group" ) +// SourceType_Values returns all elements of the SourceType enum +func SourceType_Values() []string { + return []string{ + SourceTypeCacheCluster, + SourceTypeCacheParameterGroup, + SourceTypeCacheSecurityGroup, + SourceTypeCacheSubnetGroup, + SourceTypeReplicationGroup, + } +} + const ( // UpdateActionStatusNotApplied is a UpdateActionStatus enum value UpdateActionStatusNotApplied = "not-applied" @@ -17416,3 +17540,18 @@ const ( // UpdateActionStatusNotApplicable is a UpdateActionStatus enum value UpdateActionStatusNotApplicable = "not-applicable" ) + +// UpdateActionStatus_Values returns all elements of the UpdateActionStatus enum +func UpdateActionStatus_Values() []string { + return []string{ + UpdateActionStatusNotApplied, + UpdateActionStatusWaitingToStart, + UpdateActionStatusInProgress, + UpdateActionStatusStopping, + UpdateActionStatusStopped, + UpdateActionStatusComplete, + UpdateActionStatusScheduling, + UpdateActionStatusScheduled, + UpdateActionStatusNotApplicable, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/elasticbeanstalk/api.go b/vendor/github.com/aws/aws-sdk-go/service/elasticbeanstalk/api.go index 5b63f49883b..4f9e06cbe86 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/elasticbeanstalk/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/elasticbeanstalk/api.go @@ -12505,6 +12505,15 @@ const ( ActionHistoryStatusUnknown = "Unknown" ) +// ActionHistoryStatus_Values returns all elements of the ActionHistoryStatus enum +func ActionHistoryStatus_Values() []string { + return []string{ + ActionHistoryStatusCompleted, + ActionHistoryStatusFailed, + ActionHistoryStatusUnknown, + } +} + const ( // ActionStatusScheduled is a ActionStatus enum value ActionStatusScheduled = "Scheduled" @@ -12519,6 +12528,16 @@ const ( ActionStatusUnknown = "Unknown" ) +// ActionStatus_Values returns all elements of the ActionStatus enum +func ActionStatus_Values() []string { + return []string{ + ActionStatusScheduled, + ActionStatusPending, + ActionStatusRunning, + ActionStatusUnknown, + } +} + const ( // ActionTypeInstanceRefresh is a ActionType enum value ActionTypeInstanceRefresh = "InstanceRefresh" @@ -12530,6 +12549,15 @@ const ( ActionTypeUnknown = "Unknown" ) +// ActionType_Values returns all elements of the ActionType enum +func ActionType_Values() []string { + return []string{ + ActionTypeInstanceRefresh, + ActionTypePlatformUpdate, + ActionTypeUnknown, + } +} + const ( // ApplicationVersionStatusProcessed is a ApplicationVersionStatus enum value ApplicationVersionStatusProcessed = "Processed" @@ -12547,6 +12575,17 @@ const ( ApplicationVersionStatusBuilding = "Building" ) +// ApplicationVersionStatus_Values returns all elements of the ApplicationVersionStatus enum +func ApplicationVersionStatus_Values() []string { + return []string{ + ApplicationVersionStatusProcessed, + ApplicationVersionStatusUnprocessed, + ApplicationVersionStatusFailed, + ApplicationVersionStatusProcessing, + ApplicationVersionStatusBuilding, + } +} + const ( // ComputeTypeBuildGeneral1Small is a ComputeType enum value ComputeTypeBuildGeneral1Small = "BUILD_GENERAL1_SMALL" @@ -12558,6 +12597,15 @@ const ( ComputeTypeBuildGeneral1Large = "BUILD_GENERAL1_LARGE" ) +// ComputeType_Values returns all elements of the ComputeType enum +func ComputeType_Values() []string { + return []string{ + ComputeTypeBuildGeneral1Small, + ComputeTypeBuildGeneral1Medium, + ComputeTypeBuildGeneral1Large, + } +} + const ( // ConfigurationDeploymentStatusDeployed is a ConfigurationDeploymentStatus enum value ConfigurationDeploymentStatusDeployed = "deployed" @@ -12569,6 +12617,15 @@ const ( ConfigurationDeploymentStatusFailed = "failed" ) +// ConfigurationDeploymentStatus_Values returns all elements of the ConfigurationDeploymentStatus enum +func ConfigurationDeploymentStatus_Values() []string { + return []string{ + ConfigurationDeploymentStatusDeployed, + ConfigurationDeploymentStatusPending, + ConfigurationDeploymentStatusFailed, + } +} + const ( // ConfigurationOptionValueTypeScalar is a ConfigurationOptionValueType enum value ConfigurationOptionValueTypeScalar = "Scalar" @@ -12577,6 +12634,14 @@ const ( ConfigurationOptionValueTypeList = "List" ) +// ConfigurationOptionValueType_Values returns all elements of the ConfigurationOptionValueType enum +func ConfigurationOptionValueType_Values() []string { + return []string{ + ConfigurationOptionValueTypeScalar, + ConfigurationOptionValueTypeList, + } +} + const ( // EnvironmentHealthGreen is a EnvironmentHealth enum value EnvironmentHealthGreen = "Green" @@ -12591,6 +12656,16 @@ const ( EnvironmentHealthGrey = "Grey" ) +// EnvironmentHealth_Values returns all elements of the EnvironmentHealth enum +func EnvironmentHealth_Values() []string { + return []string{ + EnvironmentHealthGreen, + EnvironmentHealthYellow, + EnvironmentHealthRed, + EnvironmentHealthGrey, + } +} + const ( // EnvironmentHealthAttributeStatus is a EnvironmentHealthAttribute enum value EnvironmentHealthAttributeStatus = "Status" @@ -12617,6 +12692,20 @@ const ( EnvironmentHealthAttributeRefreshedAt = "RefreshedAt" ) +// EnvironmentHealthAttribute_Values returns all elements of the EnvironmentHealthAttribute enum +func EnvironmentHealthAttribute_Values() []string { + return []string{ + EnvironmentHealthAttributeStatus, + EnvironmentHealthAttributeColor, + EnvironmentHealthAttributeCauses, + EnvironmentHealthAttributeApplicationMetrics, + EnvironmentHealthAttributeInstancesHealth, + EnvironmentHealthAttributeAll, + EnvironmentHealthAttributeHealthStatus, + EnvironmentHealthAttributeRefreshedAt, + } +} + const ( // EnvironmentHealthStatusNoData is a EnvironmentHealthStatus enum value EnvironmentHealthStatusNoData = "NoData" @@ -12646,6 +12735,21 @@ const ( EnvironmentHealthStatusSuspended = "Suspended" ) +// EnvironmentHealthStatus_Values returns all elements of the EnvironmentHealthStatus enum +func EnvironmentHealthStatus_Values() []string { + return []string{ + EnvironmentHealthStatusNoData, + EnvironmentHealthStatusUnknown, + EnvironmentHealthStatusPending, + EnvironmentHealthStatusOk, + EnvironmentHealthStatusInfo, + EnvironmentHealthStatusWarning, + EnvironmentHealthStatusDegraded, + EnvironmentHealthStatusSevere, + EnvironmentHealthStatusSuspended, + } +} + const ( // EnvironmentInfoTypeTail is a EnvironmentInfoType enum value EnvironmentInfoTypeTail = "tail" @@ -12654,6 +12758,14 @@ const ( EnvironmentInfoTypeBundle = "bundle" ) +// EnvironmentInfoType_Values returns all elements of the EnvironmentInfoType enum +func EnvironmentInfoType_Values() []string { + return []string{ + EnvironmentInfoTypeTail, + EnvironmentInfoTypeBundle, + } +} + const ( // EnvironmentStatusLaunching is a EnvironmentStatus enum value EnvironmentStatusLaunching = "Launching" @@ -12671,6 +12783,17 @@ const ( EnvironmentStatusTerminated = "Terminated" ) +// EnvironmentStatus_Values returns all elements of the EnvironmentStatus enum +func EnvironmentStatus_Values() []string { + return []string{ + EnvironmentStatusLaunching, + EnvironmentStatusUpdating, + EnvironmentStatusReady, + EnvironmentStatusTerminating, + EnvironmentStatusTerminated, + } +} + const ( // EventSeverityTrace is a EventSeverity enum value EventSeverityTrace = "TRACE" @@ -12691,6 +12814,18 @@ const ( EventSeverityFatal = "FATAL" ) +// EventSeverity_Values returns all elements of the EventSeverity enum +func EventSeverity_Values() []string { + return []string{ + EventSeverityTrace, + EventSeverityDebug, + EventSeverityInfo, + EventSeverityWarn, + EventSeverityError, + EventSeverityFatal, + } +} + const ( // FailureTypeUpdateCancelled is a FailureType enum value FailureTypeUpdateCancelled = "UpdateCancelled" @@ -12714,6 +12849,19 @@ const ( FailureTypePermissionsError = "PermissionsError" ) +// FailureType_Values returns all elements of the FailureType enum +func FailureType_Values() []string { + return []string{ + FailureTypeUpdateCancelled, + FailureTypeCancellationFailed, + FailureTypeRollbackFailed, + FailureTypeRollbackSuccessful, + FailureTypeInternalFailure, + FailureTypeInvalidEnvironmentState, + FailureTypePermissionsError, + } +} + const ( // InstancesHealthAttributeHealthStatus is a InstancesHealthAttribute enum value InstancesHealthAttributeHealthStatus = "HealthStatus" @@ -12749,6 +12897,23 @@ const ( InstancesHealthAttributeAll = "All" ) +// InstancesHealthAttribute_Values returns all elements of the InstancesHealthAttribute enum +func InstancesHealthAttribute_Values() []string { + return []string{ + InstancesHealthAttributeHealthStatus, + InstancesHealthAttributeColor, + InstancesHealthAttributeCauses, + InstancesHealthAttributeApplicationMetrics, + InstancesHealthAttributeRefreshedAt, + InstancesHealthAttributeLaunchedAt, + InstancesHealthAttributeSystem, + InstancesHealthAttributeDeployment, + InstancesHealthAttributeAvailabilityZone, + InstancesHealthAttributeInstanceType, + InstancesHealthAttributeAll, + } +} + const ( // PlatformStatusCreating is a PlatformStatus enum value PlatformStatusCreating = "Creating" @@ -12766,6 +12931,17 @@ const ( PlatformStatusDeleted = "Deleted" ) +// PlatformStatus_Values returns all elements of the PlatformStatus enum +func PlatformStatus_Values() []string { + return []string{ + PlatformStatusCreating, + PlatformStatusFailed, + PlatformStatusReady, + PlatformStatusDeleting, + PlatformStatusDeleted, + } +} + const ( // SourceRepositoryCodeCommit is a SourceRepository enum value SourceRepositoryCodeCommit = "CodeCommit" @@ -12774,6 +12950,14 @@ const ( SourceRepositoryS3 = "S3" ) +// SourceRepository_Values returns all elements of the SourceRepository enum +func SourceRepository_Values() []string { + return []string{ + SourceRepositoryCodeCommit, + SourceRepositoryS3, + } +} + const ( // SourceTypeGit is a SourceType enum value SourceTypeGit = "Git" @@ -12782,6 +12966,14 @@ const ( SourceTypeZip = "Zip" ) +// SourceType_Values returns all elements of the SourceType enum +func SourceType_Values() []string { + return []string{ + SourceTypeGit, + SourceTypeZip, + } +} + const ( // ValidationSeverityError is a ValidationSeverity enum value ValidationSeverityError = "error" @@ -12789,3 +12981,11 @@ const ( // ValidationSeverityWarning is a ValidationSeverity enum value ValidationSeverityWarning = "warning" ) + +// ValidationSeverity_Values returns all elements of the ValidationSeverity enum +func ValidationSeverity_Values() []string { + return []string{ + ValidationSeverityError, + ValidationSeverityWarning, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/elasticsearchservice/api.go b/vendor/github.com/aws/aws-sdk-go/service/elasticsearchservice/api.go index 1db5e8a5ac4..888f303cba3 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/elasticsearchservice/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/elasticsearchservice/api.go @@ -10943,6 +10943,17 @@ const ( DeploymentStatusEligible = "ELIGIBLE" ) +// DeploymentStatus_Values returns all elements of the DeploymentStatus enum +func DeploymentStatus_Values() []string { + return []string{ + DeploymentStatusPendingUpdate, + DeploymentStatusInProgress, + DeploymentStatusCompleted, + DeploymentStatusNotEligible, + DeploymentStatusEligible, + } +} + const ( // DescribePackagesFilterNamePackageId is a DescribePackagesFilterName enum value DescribePackagesFilterNamePackageId = "PackageID" @@ -10954,6 +10965,15 @@ const ( DescribePackagesFilterNamePackageStatus = "PackageStatus" ) +// DescribePackagesFilterName_Values returns all elements of the DescribePackagesFilterName enum +func DescribePackagesFilterName_Values() []string { + return []string{ + DescribePackagesFilterNamePackageId, + DescribePackagesFilterNamePackageName, + DescribePackagesFilterNamePackageStatus, + } +} + const ( // DomainPackageStatusAssociating is a DomainPackageStatus enum value DomainPackageStatusAssociating = "ASSOCIATING" @@ -10971,6 +10991,17 @@ const ( DomainPackageStatusDissociationFailed = "DISSOCIATION_FAILED" ) +// DomainPackageStatus_Values returns all elements of the DomainPackageStatus enum +func DomainPackageStatus_Values() []string { + return []string{ + DomainPackageStatusAssociating, + DomainPackageStatusAssociationFailed, + DomainPackageStatusActive, + DomainPackageStatusDissociating, + DomainPackageStatusDissociationFailed, + } +} + const ( // ESPartitionInstanceTypeM3MediumElasticsearch is a ESPartitionInstanceType enum value ESPartitionInstanceTypeM3MediumElasticsearch = "m3.medium.elasticsearch" @@ -11147,6 +11178,70 @@ const ( ESPartitionInstanceTypeI316xlargeElasticsearch = "i3.16xlarge.elasticsearch" ) +// ESPartitionInstanceType_Values returns all elements of the ESPartitionInstanceType enum +func ESPartitionInstanceType_Values() []string { + return []string{ + ESPartitionInstanceTypeM3MediumElasticsearch, + ESPartitionInstanceTypeM3LargeElasticsearch, + ESPartitionInstanceTypeM3XlargeElasticsearch, + ESPartitionInstanceTypeM32xlargeElasticsearch, + ESPartitionInstanceTypeM4LargeElasticsearch, + ESPartitionInstanceTypeM4XlargeElasticsearch, + ESPartitionInstanceTypeM42xlargeElasticsearch, + ESPartitionInstanceTypeM44xlargeElasticsearch, + ESPartitionInstanceTypeM410xlargeElasticsearch, + ESPartitionInstanceTypeM5LargeElasticsearch, + ESPartitionInstanceTypeM5XlargeElasticsearch, + ESPartitionInstanceTypeM52xlargeElasticsearch, + ESPartitionInstanceTypeM54xlargeElasticsearch, + ESPartitionInstanceTypeM512xlargeElasticsearch, + ESPartitionInstanceTypeR5LargeElasticsearch, + ESPartitionInstanceTypeR5XlargeElasticsearch, + ESPartitionInstanceTypeR52xlargeElasticsearch, + ESPartitionInstanceTypeR54xlargeElasticsearch, + ESPartitionInstanceTypeR512xlargeElasticsearch, + ESPartitionInstanceTypeC5LargeElasticsearch, + ESPartitionInstanceTypeC5XlargeElasticsearch, + ESPartitionInstanceTypeC52xlargeElasticsearch, + ESPartitionInstanceTypeC54xlargeElasticsearch, + ESPartitionInstanceTypeC59xlargeElasticsearch, + ESPartitionInstanceTypeC518xlargeElasticsearch, + ESPartitionInstanceTypeUltrawarm1MediumElasticsearch, + ESPartitionInstanceTypeUltrawarm1LargeElasticsearch, + ESPartitionInstanceTypeT2MicroElasticsearch, + ESPartitionInstanceTypeT2SmallElasticsearch, + ESPartitionInstanceTypeT2MediumElasticsearch, + ESPartitionInstanceTypeR3LargeElasticsearch, + ESPartitionInstanceTypeR3XlargeElasticsearch, + ESPartitionInstanceTypeR32xlargeElasticsearch, + ESPartitionInstanceTypeR34xlargeElasticsearch, + ESPartitionInstanceTypeR38xlargeElasticsearch, + ESPartitionInstanceTypeI2XlargeElasticsearch, + ESPartitionInstanceTypeI22xlargeElasticsearch, + ESPartitionInstanceTypeD2XlargeElasticsearch, + ESPartitionInstanceTypeD22xlargeElasticsearch, + ESPartitionInstanceTypeD24xlargeElasticsearch, + ESPartitionInstanceTypeD28xlargeElasticsearch, + ESPartitionInstanceTypeC4LargeElasticsearch, + ESPartitionInstanceTypeC4XlargeElasticsearch, + ESPartitionInstanceTypeC42xlargeElasticsearch, + ESPartitionInstanceTypeC44xlargeElasticsearch, + ESPartitionInstanceTypeC48xlargeElasticsearch, + ESPartitionInstanceTypeR4LargeElasticsearch, + ESPartitionInstanceTypeR4XlargeElasticsearch, + ESPartitionInstanceTypeR42xlargeElasticsearch, + ESPartitionInstanceTypeR44xlargeElasticsearch, + ESPartitionInstanceTypeR48xlargeElasticsearch, + ESPartitionInstanceTypeR416xlargeElasticsearch, + ESPartitionInstanceTypeI3LargeElasticsearch, + ESPartitionInstanceTypeI3XlargeElasticsearch, + ESPartitionInstanceTypeI32xlargeElasticsearch, + ESPartitionInstanceTypeI34xlargeElasticsearch, + ESPartitionInstanceTypeI38xlargeElasticsearch, + ESPartitionInstanceTypeI316xlargeElasticsearch, + } +} + const ( // ESWarmPartitionInstanceTypeUltrawarm1MediumElasticsearch is a ESWarmPartitionInstanceType enum value ESWarmPartitionInstanceTypeUltrawarm1MediumElasticsearch = "ultrawarm1.medium.elasticsearch" @@ -11155,6 +11250,14 @@ const ( ESWarmPartitionInstanceTypeUltrawarm1LargeElasticsearch = "ultrawarm1.large.elasticsearch" ) +// ESWarmPartitionInstanceType_Values returns all elements of the ESWarmPartitionInstanceType enum +func ESWarmPartitionInstanceType_Values() []string { + return []string{ + ESWarmPartitionInstanceTypeUltrawarm1MediumElasticsearch, + ESWarmPartitionInstanceTypeUltrawarm1LargeElasticsearch, + } +} + const ( // InboundCrossClusterSearchConnectionStatusCodePendingAcceptance is a InboundCrossClusterSearchConnectionStatusCode enum value InboundCrossClusterSearchConnectionStatusCodePendingAcceptance = "PENDING_ACCEPTANCE" @@ -11175,6 +11278,18 @@ const ( InboundCrossClusterSearchConnectionStatusCodeDeleted = "DELETED" ) +// InboundCrossClusterSearchConnectionStatusCode_Values returns all elements of the InboundCrossClusterSearchConnectionStatusCode enum +func InboundCrossClusterSearchConnectionStatusCode_Values() []string { + return []string{ + InboundCrossClusterSearchConnectionStatusCodePendingAcceptance, + InboundCrossClusterSearchConnectionStatusCodeApproved, + InboundCrossClusterSearchConnectionStatusCodeRejecting, + InboundCrossClusterSearchConnectionStatusCodeRejected, + InboundCrossClusterSearchConnectionStatusCodeDeleting, + InboundCrossClusterSearchConnectionStatusCodeDeleted, + } +} + // Type of Log File, it can be one of the following: // * INDEX_SLOW_LOGS: Index slow logs contain insert requests that took more // time than configured index query log threshold to execute. @@ -11196,6 +11311,15 @@ const ( LogTypeEsApplicationLogs = "ES_APPLICATION_LOGS" ) +// LogType_Values returns all elements of the LogType enum +func LogType_Values() []string { + return []string{ + LogTypeIndexSlowLogs, + LogTypeSearchSlowLogs, + LogTypeEsApplicationLogs, + } +} + // The state of a requested change. One of the following: // // * Processing: The request change is still in-process. @@ -11213,6 +11337,15 @@ const ( OptionStateActive = "Active" ) +// OptionState_Values returns all elements of the OptionState enum +func OptionState_Values() []string { + return []string{ + OptionStateRequiresIndexDocuments, + OptionStateProcessing, + OptionStateActive, + } +} + const ( // OutboundCrossClusterSearchConnectionStatusCodePendingAcceptance is a OutboundCrossClusterSearchConnectionStatusCode enum value OutboundCrossClusterSearchConnectionStatusCodePendingAcceptance = "PENDING_ACCEPTANCE" @@ -11239,6 +11372,20 @@ const ( OutboundCrossClusterSearchConnectionStatusCodeDeleted = "DELETED" ) +// OutboundCrossClusterSearchConnectionStatusCode_Values returns all elements of the OutboundCrossClusterSearchConnectionStatusCode enum +func OutboundCrossClusterSearchConnectionStatusCode_Values() []string { + return []string{ + OutboundCrossClusterSearchConnectionStatusCodePendingAcceptance, + OutboundCrossClusterSearchConnectionStatusCodeValidating, + OutboundCrossClusterSearchConnectionStatusCodeValidationFailed, + OutboundCrossClusterSearchConnectionStatusCodeProvisioning, + OutboundCrossClusterSearchConnectionStatusCodeActive, + OutboundCrossClusterSearchConnectionStatusCodeRejected, + OutboundCrossClusterSearchConnectionStatusCodeDeleting, + OutboundCrossClusterSearchConnectionStatusCodeDeleted, + } +} + const ( // PackageStatusCopying is a PackageStatus enum value PackageStatusCopying = "COPYING" @@ -11265,11 +11412,32 @@ const ( PackageStatusDeleteFailed = "DELETE_FAILED" ) +// PackageStatus_Values returns all elements of the PackageStatus enum +func PackageStatus_Values() []string { + return []string{ + PackageStatusCopying, + PackageStatusCopyFailed, + PackageStatusValidating, + PackageStatusValidationFailed, + PackageStatusAvailable, + PackageStatusDeleting, + PackageStatusDeleted, + PackageStatusDeleteFailed, + } +} + const ( // PackageTypeTxtDictionary is a PackageType enum value PackageTypeTxtDictionary = "TXT-DICTIONARY" ) +// PackageType_Values returns all elements of the PackageType enum +func PackageType_Values() []string { + return []string{ + PackageTypeTxtDictionary, + } +} + const ( // ReservedElasticsearchInstancePaymentOptionAllUpfront is a ReservedElasticsearchInstancePaymentOption enum value ReservedElasticsearchInstancePaymentOptionAllUpfront = "ALL_UPFRONT" @@ -11281,6 +11449,15 @@ const ( ReservedElasticsearchInstancePaymentOptionNoUpfront = "NO_UPFRONT" ) +// ReservedElasticsearchInstancePaymentOption_Values returns all elements of the ReservedElasticsearchInstancePaymentOption enum +func ReservedElasticsearchInstancePaymentOption_Values() []string { + return []string{ + ReservedElasticsearchInstancePaymentOptionAllUpfront, + ReservedElasticsearchInstancePaymentOptionPartialUpfront, + ReservedElasticsearchInstancePaymentOptionNoUpfront, + } +} + const ( // TLSSecurityPolicyPolicyMinTls10201907 is a TLSSecurityPolicy enum value TLSSecurityPolicyPolicyMinTls10201907 = "Policy-Min-TLS-1-0-2019-07" @@ -11289,6 +11466,14 @@ const ( TLSSecurityPolicyPolicyMinTls12201907 = "Policy-Min-TLS-1-2-2019-07" ) +// TLSSecurityPolicy_Values returns all elements of the TLSSecurityPolicy enum +func TLSSecurityPolicy_Values() []string { + return []string{ + TLSSecurityPolicyPolicyMinTls10201907, + TLSSecurityPolicyPolicyMinTls12201907, + } +} + const ( // UpgradeStatusInProgress is a UpgradeStatus enum value UpgradeStatusInProgress = "IN_PROGRESS" @@ -11303,6 +11488,16 @@ const ( UpgradeStatusFailed = "FAILED" ) +// UpgradeStatus_Values returns all elements of the UpgradeStatus enum +func UpgradeStatus_Values() []string { + return []string{ + UpgradeStatusInProgress, + UpgradeStatusSucceeded, + UpgradeStatusSucceededWithIssues, + UpgradeStatusFailed, + } +} + const ( // UpgradeStepPreUpgradeCheck is a UpgradeStep enum value UpgradeStepPreUpgradeCheck = "PRE_UPGRADE_CHECK" @@ -11314,6 +11509,15 @@ const ( UpgradeStepUpgrade = "UPGRADE" ) +// UpgradeStep_Values returns all elements of the UpgradeStep enum +func UpgradeStep_Values() []string { + return []string{ + UpgradeStepPreUpgradeCheck, + UpgradeStepSnapshot, + UpgradeStepUpgrade, + } +} + // The type of EBS volume, standard, gp2, or io1. See Configuring EBS-based // Storage (http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-createdomain-configure-ebs)for // more information. @@ -11327,3 +11531,12 @@ const ( // VolumeTypeIo1 is a VolumeType enum value VolumeTypeIo1 = "io1" ) + +// VolumeType_Values returns all elements of the VolumeType enum +func VolumeType_Values() []string { + return []string{ + VolumeTypeStandard, + VolumeTypeGp2, + VolumeTypeIo1, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/elbv2/api.go b/vendor/github.com/aws/aws-sdk-go/service/elbv2/api.go index f64920d3153..de56e7e95a8 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/elbv2/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/elbv2/api.go @@ -9168,6 +9168,17 @@ const ( ActionTypeEnumFixedResponse = "fixed-response" ) +// ActionTypeEnum_Values returns all elements of the ActionTypeEnum enum +func ActionTypeEnum_Values() []string { + return []string{ + ActionTypeEnumForward, + ActionTypeEnumAuthenticateOidc, + ActionTypeEnumAuthenticateCognito, + ActionTypeEnumRedirect, + ActionTypeEnumFixedResponse, + } +} + const ( // AuthenticateCognitoActionConditionalBehaviorEnumDeny is a AuthenticateCognitoActionConditionalBehaviorEnum enum value AuthenticateCognitoActionConditionalBehaviorEnumDeny = "deny" @@ -9179,6 +9190,15 @@ const ( AuthenticateCognitoActionConditionalBehaviorEnumAuthenticate = "authenticate" ) +// AuthenticateCognitoActionConditionalBehaviorEnum_Values returns all elements of the AuthenticateCognitoActionConditionalBehaviorEnum enum +func AuthenticateCognitoActionConditionalBehaviorEnum_Values() []string { + return []string{ + AuthenticateCognitoActionConditionalBehaviorEnumDeny, + AuthenticateCognitoActionConditionalBehaviorEnumAllow, + AuthenticateCognitoActionConditionalBehaviorEnumAuthenticate, + } +} + const ( // AuthenticateOidcActionConditionalBehaviorEnumDeny is a AuthenticateOidcActionConditionalBehaviorEnum enum value AuthenticateOidcActionConditionalBehaviorEnumDeny = "deny" @@ -9190,6 +9210,15 @@ const ( AuthenticateOidcActionConditionalBehaviorEnumAuthenticate = "authenticate" ) +// AuthenticateOidcActionConditionalBehaviorEnum_Values returns all elements of the AuthenticateOidcActionConditionalBehaviorEnum enum +func AuthenticateOidcActionConditionalBehaviorEnum_Values() []string { + return []string{ + AuthenticateOidcActionConditionalBehaviorEnumDeny, + AuthenticateOidcActionConditionalBehaviorEnumAllow, + AuthenticateOidcActionConditionalBehaviorEnumAuthenticate, + } +} + const ( // IpAddressTypeIpv4 is a IpAddressType enum value IpAddressTypeIpv4 = "ipv4" @@ -9198,6 +9227,14 @@ const ( IpAddressTypeDualstack = "dualstack" ) +// IpAddressType_Values returns all elements of the IpAddressType enum +func IpAddressType_Values() []string { + return []string{ + IpAddressTypeIpv4, + IpAddressTypeDualstack, + } +} + const ( // LoadBalancerSchemeEnumInternetFacing is a LoadBalancerSchemeEnum enum value LoadBalancerSchemeEnumInternetFacing = "internet-facing" @@ -9206,6 +9243,14 @@ const ( LoadBalancerSchemeEnumInternal = "internal" ) +// LoadBalancerSchemeEnum_Values returns all elements of the LoadBalancerSchemeEnum enum +func LoadBalancerSchemeEnum_Values() []string { + return []string{ + LoadBalancerSchemeEnumInternetFacing, + LoadBalancerSchemeEnumInternal, + } +} + const ( // LoadBalancerStateEnumActive is a LoadBalancerStateEnum enum value LoadBalancerStateEnumActive = "active" @@ -9220,6 +9265,16 @@ const ( LoadBalancerStateEnumFailed = "failed" ) +// LoadBalancerStateEnum_Values returns all elements of the LoadBalancerStateEnum enum +func LoadBalancerStateEnum_Values() []string { + return []string{ + LoadBalancerStateEnumActive, + LoadBalancerStateEnumProvisioning, + LoadBalancerStateEnumActiveImpaired, + LoadBalancerStateEnumFailed, + } +} + const ( // LoadBalancerTypeEnumApplication is a LoadBalancerTypeEnum enum value LoadBalancerTypeEnumApplication = "application" @@ -9228,6 +9283,14 @@ const ( LoadBalancerTypeEnumNetwork = "network" ) +// LoadBalancerTypeEnum_Values returns all elements of the LoadBalancerTypeEnum enum +func LoadBalancerTypeEnum_Values() []string { + return []string{ + LoadBalancerTypeEnumApplication, + LoadBalancerTypeEnumNetwork, + } +} + const ( // ProtocolEnumHttp is a ProtocolEnum enum value ProtocolEnumHttp = "HTTP" @@ -9248,6 +9311,18 @@ const ( ProtocolEnumTcpUdp = "TCP_UDP" ) +// ProtocolEnum_Values returns all elements of the ProtocolEnum enum +func ProtocolEnum_Values() []string { + return []string{ + ProtocolEnumHttp, + ProtocolEnumHttps, + ProtocolEnumTcp, + ProtocolEnumTls, + ProtocolEnumUdp, + ProtocolEnumTcpUdp, + } +} + const ( // RedirectActionStatusCodeEnumHttp301 is a RedirectActionStatusCodeEnum enum value RedirectActionStatusCodeEnumHttp301 = "HTTP_301" @@ -9256,6 +9331,14 @@ const ( RedirectActionStatusCodeEnumHttp302 = "HTTP_302" ) +// RedirectActionStatusCodeEnum_Values returns all elements of the RedirectActionStatusCodeEnum enum +func RedirectActionStatusCodeEnum_Values() []string { + return []string{ + RedirectActionStatusCodeEnumHttp301, + RedirectActionStatusCodeEnumHttp302, + } +} + const ( // TargetHealthReasonEnumElbRegistrationInProgress is a TargetHealthReasonEnum enum value TargetHealthReasonEnumElbRegistrationInProgress = "Elb.RegistrationInProgress" @@ -9294,6 +9377,24 @@ const ( TargetHealthReasonEnumElbInternalError = "Elb.InternalError" ) +// TargetHealthReasonEnum_Values returns all elements of the TargetHealthReasonEnum enum +func TargetHealthReasonEnum_Values() []string { + return []string{ + TargetHealthReasonEnumElbRegistrationInProgress, + TargetHealthReasonEnumElbInitialHealthChecking, + TargetHealthReasonEnumTargetResponseCodeMismatch, + TargetHealthReasonEnumTargetTimeout, + TargetHealthReasonEnumTargetFailedHealthChecks, + TargetHealthReasonEnumTargetNotRegistered, + TargetHealthReasonEnumTargetNotInUse, + TargetHealthReasonEnumTargetDeregistrationInProgress, + TargetHealthReasonEnumTargetInvalidState, + TargetHealthReasonEnumTargetIpUnusable, + TargetHealthReasonEnumTargetHealthCheckDisabled, + TargetHealthReasonEnumElbInternalError, + } +} + const ( // TargetHealthStateEnumInitial is a TargetHealthStateEnum enum value TargetHealthStateEnumInitial = "initial" @@ -9314,6 +9415,18 @@ const ( TargetHealthStateEnumUnavailable = "unavailable" ) +// TargetHealthStateEnum_Values returns all elements of the TargetHealthStateEnum enum +func TargetHealthStateEnum_Values() []string { + return []string{ + TargetHealthStateEnumInitial, + TargetHealthStateEnumHealthy, + TargetHealthStateEnumUnhealthy, + TargetHealthStateEnumUnused, + TargetHealthStateEnumDraining, + TargetHealthStateEnumUnavailable, + } +} + const ( // TargetTypeEnumInstance is a TargetTypeEnum enum value TargetTypeEnumInstance = "instance" @@ -9324,3 +9437,12 @@ const ( // TargetTypeEnumLambda is a TargetTypeEnum enum value TargetTypeEnumLambda = "lambda" ) + +// TargetTypeEnum_Values returns all elements of the TargetTypeEnum enum +func TargetTypeEnum_Values() []string { + return []string{ + TargetTypeEnumInstance, + TargetTypeEnumIp, + TargetTypeEnumLambda, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/emr/api.go b/vendor/github.com/aws/aws-sdk-go/service/emr/api.go index 418e2d6889c..88123dfabb0 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/emr/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/emr/api.go @@ -11987,6 +11987,16 @@ const ( ActionOnFailureContinue = "CONTINUE" ) +// ActionOnFailure_Values returns all elements of the ActionOnFailure enum +func ActionOnFailure_Values() []string { + return []string{ + ActionOnFailureTerminateJobFlow, + ActionOnFailureTerminateCluster, + ActionOnFailureCancelAndWait, + ActionOnFailureContinue, + } +} + const ( // AdjustmentTypeChangeInCapacity is a AdjustmentType enum value AdjustmentTypeChangeInCapacity = "CHANGE_IN_CAPACITY" @@ -11998,6 +12008,15 @@ const ( AdjustmentTypeExactCapacity = "EXACT_CAPACITY" ) +// AdjustmentType_Values returns all elements of the AdjustmentType enum +func AdjustmentType_Values() []string { + return []string{ + AdjustmentTypeChangeInCapacity, + AdjustmentTypePercentChangeInCapacity, + AdjustmentTypeExactCapacity, + } +} + const ( // AutoScalingPolicyStatePending is a AutoScalingPolicyState enum value AutoScalingPolicyStatePending = "PENDING" @@ -12018,6 +12037,18 @@ const ( AutoScalingPolicyStateFailed = "FAILED" ) +// AutoScalingPolicyState_Values returns all elements of the AutoScalingPolicyState enum +func AutoScalingPolicyState_Values() []string { + return []string{ + AutoScalingPolicyStatePending, + AutoScalingPolicyStateAttaching, + AutoScalingPolicyStateAttached, + AutoScalingPolicyStateDetaching, + AutoScalingPolicyStateDetached, + AutoScalingPolicyStateFailed, + } +} + const ( // AutoScalingPolicyStateChangeReasonCodeUserRequest is a AutoScalingPolicyStateChangeReasonCode enum value AutoScalingPolicyStateChangeReasonCodeUserRequest = "USER_REQUEST" @@ -12029,6 +12060,15 @@ const ( AutoScalingPolicyStateChangeReasonCodeCleanupFailure = "CLEANUP_FAILURE" ) +// AutoScalingPolicyStateChangeReasonCode_Values returns all elements of the AutoScalingPolicyStateChangeReasonCode enum +func AutoScalingPolicyStateChangeReasonCode_Values() []string { + return []string{ + AutoScalingPolicyStateChangeReasonCodeUserRequest, + AutoScalingPolicyStateChangeReasonCodeProvisionFailure, + AutoScalingPolicyStateChangeReasonCodeCleanupFailure, + } +} + const ( // CancelStepsRequestStatusSubmitted is a CancelStepsRequestStatus enum value CancelStepsRequestStatusSubmitted = "SUBMITTED" @@ -12037,6 +12077,14 @@ const ( CancelStepsRequestStatusFailed = "FAILED" ) +// CancelStepsRequestStatus_Values returns all elements of the CancelStepsRequestStatus enum +func CancelStepsRequestStatus_Values() []string { + return []string{ + CancelStepsRequestStatusSubmitted, + CancelStepsRequestStatusFailed, + } +} + const ( // ClusterStateStarting is a ClusterState enum value ClusterStateStarting = "STARTING" @@ -12060,6 +12108,19 @@ const ( ClusterStateTerminatedWithErrors = "TERMINATED_WITH_ERRORS" ) +// ClusterState_Values returns all elements of the ClusterState enum +func ClusterState_Values() []string { + return []string{ + ClusterStateStarting, + ClusterStateBootstrapping, + ClusterStateRunning, + ClusterStateWaiting, + ClusterStateTerminating, + ClusterStateTerminated, + ClusterStateTerminatedWithErrors, + } +} + const ( // ClusterStateChangeReasonCodeInternalError is a ClusterStateChangeReasonCode enum value ClusterStateChangeReasonCodeInternalError = "INTERNAL_ERROR" @@ -12086,6 +12147,20 @@ const ( ClusterStateChangeReasonCodeAllStepsCompleted = "ALL_STEPS_COMPLETED" ) +// ClusterStateChangeReasonCode_Values returns all elements of the ClusterStateChangeReasonCode enum +func ClusterStateChangeReasonCode_Values() []string { + return []string{ + ClusterStateChangeReasonCodeInternalError, + ClusterStateChangeReasonCodeValidationError, + ClusterStateChangeReasonCodeInstanceFailure, + ClusterStateChangeReasonCodeInstanceFleetTimeout, + ClusterStateChangeReasonCodeBootstrapFailure, + ClusterStateChangeReasonCodeUserRequest, + ClusterStateChangeReasonCodeStepFailure, + ClusterStateChangeReasonCodeAllStepsCompleted, + } +} + const ( // ComparisonOperatorGreaterThanOrEqual is a ComparisonOperator enum value ComparisonOperatorGreaterThanOrEqual = "GREATER_THAN_OR_EQUAL" @@ -12100,6 +12175,16 @@ const ( ComparisonOperatorLessThanOrEqual = "LESS_THAN_OR_EQUAL" ) +// ComparisonOperator_Values returns all elements of the ComparisonOperator enum +func ComparisonOperator_Values() []string { + return []string{ + ComparisonOperatorGreaterThanOrEqual, + ComparisonOperatorGreaterThan, + ComparisonOperatorLessThan, + ComparisonOperatorLessThanOrEqual, + } +} + const ( // ComputeLimitsUnitTypeInstanceFleetUnits is a ComputeLimitsUnitType enum value ComputeLimitsUnitTypeInstanceFleetUnits = "InstanceFleetUnits" @@ -12111,6 +12196,15 @@ const ( ComputeLimitsUnitTypeVcpu = "VCPU" ) +// ComputeLimitsUnitType_Values returns all elements of the ComputeLimitsUnitType enum +func ComputeLimitsUnitType_Values() []string { + return []string{ + ComputeLimitsUnitTypeInstanceFleetUnits, + ComputeLimitsUnitTypeInstances, + ComputeLimitsUnitTypeVcpu, + } +} + const ( // InstanceCollectionTypeInstanceFleet is a InstanceCollectionType enum value InstanceCollectionTypeInstanceFleet = "INSTANCE_FLEET" @@ -12119,6 +12213,14 @@ const ( InstanceCollectionTypeInstanceGroup = "INSTANCE_GROUP" ) +// InstanceCollectionType_Values returns all elements of the InstanceCollectionType enum +func InstanceCollectionType_Values() []string { + return []string{ + InstanceCollectionTypeInstanceFleet, + InstanceCollectionTypeInstanceGroup, + } +} + const ( // InstanceFleetStateProvisioning is a InstanceFleetState enum value InstanceFleetStateProvisioning = "PROVISIONING" @@ -12142,6 +12244,19 @@ const ( InstanceFleetStateTerminated = "TERMINATED" ) +// InstanceFleetState_Values returns all elements of the InstanceFleetState enum +func InstanceFleetState_Values() []string { + return []string{ + InstanceFleetStateProvisioning, + InstanceFleetStateBootstrapping, + InstanceFleetStateRunning, + InstanceFleetStateResizing, + InstanceFleetStateSuspended, + InstanceFleetStateTerminating, + InstanceFleetStateTerminated, + } +} + const ( // InstanceFleetStateChangeReasonCodeInternalError is a InstanceFleetStateChangeReasonCode enum value InstanceFleetStateChangeReasonCodeInternalError = "INTERNAL_ERROR" @@ -12156,6 +12271,16 @@ const ( InstanceFleetStateChangeReasonCodeClusterTerminated = "CLUSTER_TERMINATED" ) +// InstanceFleetStateChangeReasonCode_Values returns all elements of the InstanceFleetStateChangeReasonCode enum +func InstanceFleetStateChangeReasonCode_Values() []string { + return []string{ + InstanceFleetStateChangeReasonCodeInternalError, + InstanceFleetStateChangeReasonCodeValidationError, + InstanceFleetStateChangeReasonCodeInstanceFailure, + InstanceFleetStateChangeReasonCodeClusterTerminated, + } +} + const ( // InstanceFleetTypeMaster is a InstanceFleetType enum value InstanceFleetTypeMaster = "MASTER" @@ -12167,6 +12292,15 @@ const ( InstanceFleetTypeTask = "TASK" ) +// InstanceFleetType_Values returns all elements of the InstanceFleetType enum +func InstanceFleetType_Values() []string { + return []string{ + InstanceFleetTypeMaster, + InstanceFleetTypeCore, + InstanceFleetTypeTask, + } +} + const ( // InstanceGroupStateProvisioning is a InstanceGroupState enum value InstanceGroupStateProvisioning = "PROVISIONING" @@ -12202,6 +12336,23 @@ const ( InstanceGroupStateEnded = "ENDED" ) +// InstanceGroupState_Values returns all elements of the InstanceGroupState enum +func InstanceGroupState_Values() []string { + return []string{ + InstanceGroupStateProvisioning, + InstanceGroupStateBootstrapping, + InstanceGroupStateRunning, + InstanceGroupStateReconfiguring, + InstanceGroupStateResizing, + InstanceGroupStateSuspended, + InstanceGroupStateTerminating, + InstanceGroupStateTerminated, + InstanceGroupStateArrested, + InstanceGroupStateShuttingDown, + InstanceGroupStateEnded, + } +} + const ( // InstanceGroupStateChangeReasonCodeInternalError is a InstanceGroupStateChangeReasonCode enum value InstanceGroupStateChangeReasonCodeInternalError = "INTERNAL_ERROR" @@ -12216,6 +12367,16 @@ const ( InstanceGroupStateChangeReasonCodeClusterTerminated = "CLUSTER_TERMINATED" ) +// InstanceGroupStateChangeReasonCode_Values returns all elements of the InstanceGroupStateChangeReasonCode enum +func InstanceGroupStateChangeReasonCode_Values() []string { + return []string{ + InstanceGroupStateChangeReasonCodeInternalError, + InstanceGroupStateChangeReasonCodeValidationError, + InstanceGroupStateChangeReasonCodeInstanceFailure, + InstanceGroupStateChangeReasonCodeClusterTerminated, + } +} + const ( // InstanceGroupTypeMaster is a InstanceGroupType enum value InstanceGroupTypeMaster = "MASTER" @@ -12227,6 +12388,15 @@ const ( InstanceGroupTypeTask = "TASK" ) +// InstanceGroupType_Values returns all elements of the InstanceGroupType enum +func InstanceGroupType_Values() []string { + return []string{ + InstanceGroupTypeMaster, + InstanceGroupTypeCore, + InstanceGroupTypeTask, + } +} + const ( // InstanceRoleTypeMaster is a InstanceRoleType enum value InstanceRoleTypeMaster = "MASTER" @@ -12238,6 +12408,15 @@ const ( InstanceRoleTypeTask = "TASK" ) +// InstanceRoleType_Values returns all elements of the InstanceRoleType enum +func InstanceRoleType_Values() []string { + return []string{ + InstanceRoleTypeMaster, + InstanceRoleTypeCore, + InstanceRoleTypeTask, + } +} + const ( // InstanceStateAwaitingFulfillment is a InstanceState enum value InstanceStateAwaitingFulfillment = "AWAITING_FULFILLMENT" @@ -12255,6 +12434,17 @@ const ( InstanceStateTerminated = "TERMINATED" ) +// InstanceState_Values returns all elements of the InstanceState enum +func InstanceState_Values() []string { + return []string{ + InstanceStateAwaitingFulfillment, + InstanceStateProvisioning, + InstanceStateBootstrapping, + InstanceStateRunning, + InstanceStateTerminated, + } +} + const ( // InstanceStateChangeReasonCodeInternalError is a InstanceStateChangeReasonCode enum value InstanceStateChangeReasonCodeInternalError = "INTERNAL_ERROR" @@ -12272,6 +12462,17 @@ const ( InstanceStateChangeReasonCodeClusterTerminated = "CLUSTER_TERMINATED" ) +// InstanceStateChangeReasonCode_Values returns all elements of the InstanceStateChangeReasonCode enum +func InstanceStateChangeReasonCode_Values() []string { + return []string{ + InstanceStateChangeReasonCodeInternalError, + InstanceStateChangeReasonCodeValidationError, + InstanceStateChangeReasonCodeInstanceFailure, + InstanceStateChangeReasonCodeBootstrapFailure, + InstanceStateChangeReasonCodeClusterTerminated, + } +} + // The type of instance. const ( // JobFlowExecutionStateStarting is a JobFlowExecutionState enum value @@ -12299,6 +12500,20 @@ const ( JobFlowExecutionStateFailed = "FAILED" ) +// JobFlowExecutionState_Values returns all elements of the JobFlowExecutionState enum +func JobFlowExecutionState_Values() []string { + return []string{ + JobFlowExecutionStateStarting, + JobFlowExecutionStateBootstrapping, + JobFlowExecutionStateRunning, + JobFlowExecutionStateWaiting, + JobFlowExecutionStateShuttingDown, + JobFlowExecutionStateTerminated, + JobFlowExecutionStateCompleted, + JobFlowExecutionStateFailed, + } +} + const ( // MarketTypeOnDemand is a MarketType enum value MarketTypeOnDemand = "ON_DEMAND" @@ -12307,11 +12522,26 @@ const ( MarketTypeSpot = "SPOT" ) +// MarketType_Values returns all elements of the MarketType enum +func MarketType_Values() []string { + return []string{ + MarketTypeOnDemand, + MarketTypeSpot, + } +} + const ( // OnDemandProvisioningAllocationStrategyLowestPrice is a OnDemandProvisioningAllocationStrategy enum value OnDemandProvisioningAllocationStrategyLowestPrice = "lowest-price" ) +// OnDemandProvisioningAllocationStrategy_Values returns all elements of the OnDemandProvisioningAllocationStrategy enum +func OnDemandProvisioningAllocationStrategy_Values() []string { + return []string{ + OnDemandProvisioningAllocationStrategyLowestPrice, + } +} + const ( // RepoUpgradeOnBootSecurity is a RepoUpgradeOnBoot enum value RepoUpgradeOnBootSecurity = "SECURITY" @@ -12320,6 +12550,14 @@ const ( RepoUpgradeOnBootNone = "NONE" ) +// RepoUpgradeOnBoot_Values returns all elements of the RepoUpgradeOnBoot enum +func RepoUpgradeOnBoot_Values() []string { + return []string{ + RepoUpgradeOnBootSecurity, + RepoUpgradeOnBootNone, + } +} + const ( // ScaleDownBehaviorTerminateAtInstanceHour is a ScaleDownBehavior enum value ScaleDownBehaviorTerminateAtInstanceHour = "TERMINATE_AT_INSTANCE_HOUR" @@ -12328,11 +12566,26 @@ const ( ScaleDownBehaviorTerminateAtTaskCompletion = "TERMINATE_AT_TASK_COMPLETION" ) +// ScaleDownBehavior_Values returns all elements of the ScaleDownBehavior enum +func ScaleDownBehavior_Values() []string { + return []string{ + ScaleDownBehaviorTerminateAtInstanceHour, + ScaleDownBehaviorTerminateAtTaskCompletion, + } +} + const ( // SpotProvisioningAllocationStrategyCapacityOptimized is a SpotProvisioningAllocationStrategy enum value SpotProvisioningAllocationStrategyCapacityOptimized = "capacity-optimized" ) +// SpotProvisioningAllocationStrategy_Values returns all elements of the SpotProvisioningAllocationStrategy enum +func SpotProvisioningAllocationStrategy_Values() []string { + return []string{ + SpotProvisioningAllocationStrategyCapacityOptimized, + } +} + const ( // SpotProvisioningTimeoutActionSwitchToOnDemand is a SpotProvisioningTimeoutAction enum value SpotProvisioningTimeoutActionSwitchToOnDemand = "SWITCH_TO_ON_DEMAND" @@ -12341,6 +12594,14 @@ const ( SpotProvisioningTimeoutActionTerminateCluster = "TERMINATE_CLUSTER" ) +// SpotProvisioningTimeoutAction_Values returns all elements of the SpotProvisioningTimeoutAction enum +func SpotProvisioningTimeoutAction_Values() []string { + return []string{ + SpotProvisioningTimeoutActionSwitchToOnDemand, + SpotProvisioningTimeoutActionTerminateCluster, + } +} + const ( // StatisticSampleCount is a Statistic enum value StatisticSampleCount = "SAMPLE_COUNT" @@ -12358,6 +12619,17 @@ const ( StatisticMaximum = "MAXIMUM" ) +// Statistic_Values returns all elements of the Statistic enum +func Statistic_Values() []string { + return []string{ + StatisticSampleCount, + StatisticAverage, + StatisticSum, + StatisticMinimum, + StatisticMaximum, + } +} + const ( // StepCancellationOptionSendInterrupt is a StepCancellationOption enum value StepCancellationOptionSendInterrupt = "SEND_INTERRUPT" @@ -12366,6 +12638,14 @@ const ( StepCancellationOptionTerminateProcess = "TERMINATE_PROCESS" ) +// StepCancellationOption_Values returns all elements of the StepCancellationOption enum +func StepCancellationOption_Values() []string { + return []string{ + StepCancellationOptionSendInterrupt, + StepCancellationOptionTerminateProcess, + } +} + const ( // StepExecutionStatePending is a StepExecutionState enum value StepExecutionStatePending = "PENDING" @@ -12389,6 +12669,19 @@ const ( StepExecutionStateInterrupted = "INTERRUPTED" ) +// StepExecutionState_Values returns all elements of the StepExecutionState enum +func StepExecutionState_Values() []string { + return []string{ + StepExecutionStatePending, + StepExecutionStateRunning, + StepExecutionStateContinue, + StepExecutionStateCompleted, + StepExecutionStateCancelled, + StepExecutionStateFailed, + StepExecutionStateInterrupted, + } +} + const ( // StepStatePending is a StepState enum value StepStatePending = "PENDING" @@ -12412,11 +12705,31 @@ const ( StepStateInterrupted = "INTERRUPTED" ) +// StepState_Values returns all elements of the StepState enum +func StepState_Values() []string { + return []string{ + StepStatePending, + StepStateCancelPending, + StepStateRunning, + StepStateCompleted, + StepStateCancelled, + StepStateFailed, + StepStateInterrupted, + } +} + const ( // StepStateChangeReasonCodeNone is a StepStateChangeReasonCode enum value StepStateChangeReasonCodeNone = "NONE" ) +// StepStateChangeReasonCode_Values returns all elements of the StepStateChangeReasonCode enum +func StepStateChangeReasonCode_Values() []string { + return []string{ + StepStateChangeReasonCodeNone, + } +} + const ( // UnitNone is a Unit enum value UnitNone = "NONE" @@ -12499,3 +12812,36 @@ const ( // UnitCountPerSecond is a Unit enum value UnitCountPerSecond = "COUNT_PER_SECOND" ) + +// Unit_Values returns all elements of the Unit enum +func Unit_Values() []string { + return []string{ + UnitNone, + UnitSeconds, + UnitMicroSeconds, + UnitMilliSeconds, + UnitBytes, + UnitKiloBytes, + UnitMegaBytes, + UnitGigaBytes, + UnitTeraBytes, + UnitBits, + UnitKiloBits, + UnitMegaBits, + UnitGigaBits, + UnitTeraBits, + UnitPercent, + UnitCount, + UnitBytesPerSecond, + UnitKiloBytesPerSecond, + UnitMegaBytesPerSecond, + UnitGigaBytesPerSecond, + UnitTeraBytesPerSecond, + UnitBitsPerSecond, + UnitKiloBitsPerSecond, + UnitMegaBitsPerSecond, + UnitGigaBitsPerSecond, + UnitTeraBitsPerSecond, + UnitCountPerSecond, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/firehose/api.go b/vendor/github.com/aws/aws-sdk-go/service/firehose/api.go index eb2a6e099aa..3db7c5a87b2 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/firehose/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/firehose/api.go @@ -8230,6 +8230,17 @@ const ( CompressionFormatHadoopSnappy = "HADOOP_SNAPPY" ) +// CompressionFormat_Values returns all elements of the CompressionFormat enum +func CompressionFormat_Values() []string { + return []string{ + CompressionFormatUncompressed, + CompressionFormatGzip, + CompressionFormatZip, + CompressionFormatSnappy, + CompressionFormatHadoopSnappy, + } +} + const ( // ContentEncodingNone is a ContentEncoding enum value ContentEncodingNone = "NONE" @@ -8238,6 +8249,14 @@ const ( ContentEncodingGzip = "GZIP" ) +// ContentEncoding_Values returns all elements of the ContentEncoding enum +func ContentEncoding_Values() []string { + return []string{ + ContentEncodingNone, + ContentEncodingGzip, + } +} + const ( // DeliveryStreamEncryptionStatusEnabled is a DeliveryStreamEncryptionStatus enum value DeliveryStreamEncryptionStatusEnabled = "ENABLED" @@ -8258,6 +8277,18 @@ const ( DeliveryStreamEncryptionStatusDisablingFailed = "DISABLING_FAILED" ) +// DeliveryStreamEncryptionStatus_Values returns all elements of the DeliveryStreamEncryptionStatus enum +func DeliveryStreamEncryptionStatus_Values() []string { + return []string{ + DeliveryStreamEncryptionStatusEnabled, + DeliveryStreamEncryptionStatusEnabling, + DeliveryStreamEncryptionStatusEnablingFailed, + DeliveryStreamEncryptionStatusDisabled, + DeliveryStreamEncryptionStatusDisabling, + DeliveryStreamEncryptionStatusDisablingFailed, + } +} + const ( // DeliveryStreamFailureTypeRetireKmsGrantFailed is a DeliveryStreamFailureType enum value DeliveryStreamFailureTypeRetireKmsGrantFailed = "RETIRE_KMS_GRANT_FAILED" @@ -8305,6 +8336,27 @@ const ( DeliveryStreamFailureTypeUnknownError = "UNKNOWN_ERROR" ) +// DeliveryStreamFailureType_Values returns all elements of the DeliveryStreamFailureType enum +func DeliveryStreamFailureType_Values() []string { + return []string{ + DeliveryStreamFailureTypeRetireKmsGrantFailed, + DeliveryStreamFailureTypeCreateKmsGrantFailed, + DeliveryStreamFailureTypeKmsAccessDenied, + DeliveryStreamFailureTypeDisabledKmsKey, + DeliveryStreamFailureTypeInvalidKmsKey, + DeliveryStreamFailureTypeKmsKeyNotFound, + DeliveryStreamFailureTypeKmsOptInRequired, + DeliveryStreamFailureTypeCreateEniFailed, + DeliveryStreamFailureTypeDeleteEniFailed, + DeliveryStreamFailureTypeSubnetNotFound, + DeliveryStreamFailureTypeSecurityGroupNotFound, + DeliveryStreamFailureTypeEniAccessDenied, + DeliveryStreamFailureTypeSubnetAccessDenied, + DeliveryStreamFailureTypeSecurityGroupAccessDenied, + DeliveryStreamFailureTypeUnknownError, + } +} + const ( // DeliveryStreamStatusCreating is a DeliveryStreamStatus enum value DeliveryStreamStatusCreating = "CREATING" @@ -8322,6 +8374,17 @@ const ( DeliveryStreamStatusActive = "ACTIVE" ) +// DeliveryStreamStatus_Values returns all elements of the DeliveryStreamStatus enum +func DeliveryStreamStatus_Values() []string { + return []string{ + DeliveryStreamStatusCreating, + DeliveryStreamStatusCreatingFailed, + DeliveryStreamStatusDeleting, + DeliveryStreamStatusDeletingFailed, + DeliveryStreamStatusActive, + } +} + const ( // DeliveryStreamTypeDirectPut is a DeliveryStreamType enum value DeliveryStreamTypeDirectPut = "DirectPut" @@ -8330,6 +8393,14 @@ const ( DeliveryStreamTypeKinesisStreamAsSource = "KinesisStreamAsSource" ) +// DeliveryStreamType_Values returns all elements of the DeliveryStreamType enum +func DeliveryStreamType_Values() []string { + return []string{ + DeliveryStreamTypeDirectPut, + DeliveryStreamTypeKinesisStreamAsSource, + } +} + const ( // ElasticsearchIndexRotationPeriodNoRotation is a ElasticsearchIndexRotationPeriod enum value ElasticsearchIndexRotationPeriodNoRotation = "NoRotation" @@ -8347,6 +8418,17 @@ const ( ElasticsearchIndexRotationPeriodOneMonth = "OneMonth" ) +// ElasticsearchIndexRotationPeriod_Values returns all elements of the ElasticsearchIndexRotationPeriod enum +func ElasticsearchIndexRotationPeriod_Values() []string { + return []string{ + ElasticsearchIndexRotationPeriodNoRotation, + ElasticsearchIndexRotationPeriodOneHour, + ElasticsearchIndexRotationPeriodOneDay, + ElasticsearchIndexRotationPeriodOneWeek, + ElasticsearchIndexRotationPeriodOneMonth, + } +} + const ( // ElasticsearchS3BackupModeFailedDocumentsOnly is a ElasticsearchS3BackupMode enum value ElasticsearchS3BackupModeFailedDocumentsOnly = "FailedDocumentsOnly" @@ -8355,6 +8437,14 @@ const ( ElasticsearchS3BackupModeAllDocuments = "AllDocuments" ) +// ElasticsearchS3BackupMode_Values returns all elements of the ElasticsearchS3BackupMode enum +func ElasticsearchS3BackupMode_Values() []string { + return []string{ + ElasticsearchS3BackupModeFailedDocumentsOnly, + ElasticsearchS3BackupModeAllDocuments, + } +} + const ( // HECEndpointTypeRaw is a HECEndpointType enum value HECEndpointTypeRaw = "Raw" @@ -8363,6 +8453,14 @@ const ( HECEndpointTypeEvent = "Event" ) +// HECEndpointType_Values returns all elements of the HECEndpointType enum +func HECEndpointType_Values() []string { + return []string{ + HECEndpointTypeRaw, + HECEndpointTypeEvent, + } +} + const ( // HttpEndpointS3BackupModeFailedDataOnly is a HttpEndpointS3BackupMode enum value HttpEndpointS3BackupModeFailedDataOnly = "FailedDataOnly" @@ -8371,6 +8469,14 @@ const ( HttpEndpointS3BackupModeAllData = "AllData" ) +// HttpEndpointS3BackupMode_Values returns all elements of the HttpEndpointS3BackupMode enum +func HttpEndpointS3BackupMode_Values() []string { + return []string{ + HttpEndpointS3BackupModeFailedDataOnly, + HttpEndpointS3BackupModeAllData, + } +} + const ( // KeyTypeAwsOwnedCmk is a KeyType enum value KeyTypeAwsOwnedCmk = "AWS_OWNED_CMK" @@ -8379,11 +8485,26 @@ const ( KeyTypeCustomerManagedCmk = "CUSTOMER_MANAGED_CMK" ) +// KeyType_Values returns all elements of the KeyType enum +func KeyType_Values() []string { + return []string{ + KeyTypeAwsOwnedCmk, + KeyTypeCustomerManagedCmk, + } +} + const ( // NoEncryptionConfigNoEncryption is a NoEncryptionConfig enum value NoEncryptionConfigNoEncryption = "NoEncryption" ) +// NoEncryptionConfig_Values returns all elements of the NoEncryptionConfig enum +func NoEncryptionConfig_Values() []string { + return []string{ + NoEncryptionConfigNoEncryption, + } +} + const ( // OrcCompressionNone is a OrcCompression enum value OrcCompressionNone = "NONE" @@ -8395,6 +8516,15 @@ const ( OrcCompressionSnappy = "SNAPPY" ) +// OrcCompression_Values returns all elements of the OrcCompression enum +func OrcCompression_Values() []string { + return []string{ + OrcCompressionNone, + OrcCompressionZlib, + OrcCompressionSnappy, + } +} + const ( // OrcFormatVersionV011 is a OrcFormatVersion enum value OrcFormatVersionV011 = "V0_11" @@ -8403,6 +8533,14 @@ const ( OrcFormatVersionV012 = "V0_12" ) +// OrcFormatVersion_Values returns all elements of the OrcFormatVersion enum +func OrcFormatVersion_Values() []string { + return []string{ + OrcFormatVersionV011, + OrcFormatVersionV012, + } +} + const ( // ParquetCompressionUncompressed is a ParquetCompression enum value ParquetCompressionUncompressed = "UNCOMPRESSED" @@ -8414,6 +8552,15 @@ const ( ParquetCompressionSnappy = "SNAPPY" ) +// ParquetCompression_Values returns all elements of the ParquetCompression enum +func ParquetCompression_Values() []string { + return []string{ + ParquetCompressionUncompressed, + ParquetCompressionGzip, + ParquetCompressionSnappy, + } +} + const ( // ParquetWriterVersionV1 is a ParquetWriterVersion enum value ParquetWriterVersionV1 = "V1" @@ -8422,6 +8569,14 @@ const ( ParquetWriterVersionV2 = "V2" ) +// ParquetWriterVersion_Values returns all elements of the ParquetWriterVersion enum +func ParquetWriterVersion_Values() []string { + return []string{ + ParquetWriterVersionV1, + ParquetWriterVersionV2, + } +} + const ( // ProcessorParameterNameLambdaArn is a ProcessorParameterName enum value ProcessorParameterNameLambdaArn = "LambdaArn" @@ -8439,11 +8594,29 @@ const ( ProcessorParameterNameBufferIntervalInSeconds = "BufferIntervalInSeconds" ) +// ProcessorParameterName_Values returns all elements of the ProcessorParameterName enum +func ProcessorParameterName_Values() []string { + return []string{ + ProcessorParameterNameLambdaArn, + ProcessorParameterNameNumberOfRetries, + ProcessorParameterNameRoleArn, + ProcessorParameterNameBufferSizeInMbs, + ProcessorParameterNameBufferIntervalInSeconds, + } +} + const ( // ProcessorTypeLambda is a ProcessorType enum value ProcessorTypeLambda = "Lambda" ) +// ProcessorType_Values returns all elements of the ProcessorType enum +func ProcessorType_Values() []string { + return []string{ + ProcessorTypeLambda, + } +} + const ( // RedshiftS3BackupModeDisabled is a RedshiftS3BackupMode enum value RedshiftS3BackupModeDisabled = "Disabled" @@ -8452,6 +8625,14 @@ const ( RedshiftS3BackupModeEnabled = "Enabled" ) +// RedshiftS3BackupMode_Values returns all elements of the RedshiftS3BackupMode enum +func RedshiftS3BackupMode_Values() []string { + return []string{ + RedshiftS3BackupModeDisabled, + RedshiftS3BackupModeEnabled, + } +} + const ( // S3BackupModeDisabled is a S3BackupMode enum value S3BackupModeDisabled = "Disabled" @@ -8460,6 +8641,14 @@ const ( S3BackupModeEnabled = "Enabled" ) +// S3BackupMode_Values returns all elements of the S3BackupMode enum +func S3BackupMode_Values() []string { + return []string{ + S3BackupModeDisabled, + S3BackupModeEnabled, + } +} + const ( // SplunkS3BackupModeFailedEventsOnly is a SplunkS3BackupMode enum value SplunkS3BackupModeFailedEventsOnly = "FailedEventsOnly" @@ -8467,3 +8656,11 @@ const ( // SplunkS3BackupModeAllEvents is a SplunkS3BackupMode enum value SplunkS3BackupModeAllEvents = "AllEvents" ) + +// SplunkS3BackupMode_Values returns all elements of the SplunkS3BackupMode enum +func SplunkS3BackupMode_Values() []string { + return []string{ + SplunkS3BackupModeFailedEventsOnly, + SplunkS3BackupModeAllEvents, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/fms/api.go b/vendor/github.com/aws/aws-sdk-go/service/fms/api.go index 9db10be3379..7c40138631b 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/fms/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/fms/api.go @@ -6713,6 +6713,17 @@ const ( AccountRoleStatusDeleted = "DELETED" ) +// AccountRoleStatus_Values returns all elements of the AccountRoleStatus enum +func AccountRoleStatus_Values() []string { + return []string{ + AccountRoleStatusReady, + AccountRoleStatusCreating, + AccountRoleStatusPendingDeletion, + AccountRoleStatusDeleting, + AccountRoleStatusDeleted, + } +} + const ( // CustomerPolicyScopeIdTypeAccount is a CustomerPolicyScopeIdType enum value CustomerPolicyScopeIdTypeAccount = "ACCOUNT" @@ -6721,6 +6732,14 @@ const ( CustomerPolicyScopeIdTypeOrgUnit = "ORG_UNIT" ) +// CustomerPolicyScopeIdType_Values returns all elements of the CustomerPolicyScopeIdType enum +func CustomerPolicyScopeIdType_Values() []string { + return []string{ + CustomerPolicyScopeIdTypeAccount, + CustomerPolicyScopeIdTypeOrgUnit, + } +} + const ( // DependentServiceNameAwsconfig is a DependentServiceName enum value DependentServiceNameAwsconfig = "AWSCONFIG" @@ -6735,6 +6754,16 @@ const ( DependentServiceNameAwsvpc = "AWSVPC" ) +// DependentServiceName_Values returns all elements of the DependentServiceName enum +func DependentServiceName_Values() []string { + return []string{ + DependentServiceNameAwsconfig, + DependentServiceNameAwswaf, + DependentServiceNameAwsshieldAdvanced, + DependentServiceNameAwsvpc, + } +} + const ( // PolicyComplianceStatusTypeCompliant is a PolicyComplianceStatusType enum value PolicyComplianceStatusTypeCompliant = "COMPLIANT" @@ -6743,6 +6772,14 @@ const ( PolicyComplianceStatusTypeNonCompliant = "NON_COMPLIANT" ) +// PolicyComplianceStatusType_Values returns all elements of the PolicyComplianceStatusType enum +func PolicyComplianceStatusType_Values() []string { + return []string{ + PolicyComplianceStatusTypeCompliant, + PolicyComplianceStatusTypeNonCompliant, + } +} + const ( // RemediationActionTypeRemove is a RemediationActionType enum value RemediationActionTypeRemove = "REMOVE" @@ -6751,6 +6788,14 @@ const ( RemediationActionTypeModify = "MODIFY" ) +// RemediationActionType_Values returns all elements of the RemediationActionType enum +func RemediationActionType_Values() []string { + return []string{ + RemediationActionTypeRemove, + RemediationActionTypeModify, + } +} + const ( // SecurityServiceTypeWaf is a SecurityServiceType enum value SecurityServiceTypeWaf = "WAF" @@ -6771,6 +6816,18 @@ const ( SecurityServiceTypeSecurityGroupsUsageAudit = "SECURITY_GROUPS_USAGE_AUDIT" ) +// SecurityServiceType_Values returns all elements of the SecurityServiceType enum +func SecurityServiceType_Values() []string { + return []string{ + SecurityServiceTypeWaf, + SecurityServiceTypeWafv2, + SecurityServiceTypeShieldAdvanced, + SecurityServiceTypeSecurityGroupsCommon, + SecurityServiceTypeSecurityGroupsContentAudit, + SecurityServiceTypeSecurityGroupsUsageAudit, + } +} + const ( // ViolationReasonWebAclMissingRuleGroup is a ViolationReason enum value ViolationReasonWebAclMissingRuleGroup = "WEB_ACL_MISSING_RULE_GROUP" @@ -6799,3 +6856,18 @@ const ( // ViolationReasonSecurityGroupRedundant is a ViolationReason enum value ViolationReasonSecurityGroupRedundant = "SECURITY_GROUP_REDUNDANT" ) + +// ViolationReason_Values returns all elements of the ViolationReason enum +func ViolationReason_Values() []string { + return []string{ + ViolationReasonWebAclMissingRuleGroup, + ViolationReasonResourceMissingWebAcl, + ViolationReasonResourceIncorrectWebAcl, + ViolationReasonResourceMissingShieldProtection, + ViolationReasonResourceMissingWebAclOrShieldProtection, + ViolationReasonResourceMissingSecurityGroup, + ViolationReasonResourceViolatesAuditSecurityGroup, + ViolationReasonSecurityGroupUnused, + ViolationReasonSecurityGroupRedundant, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/forecastservice/api.go b/vendor/github.com/aws/aws-sdk-go/service/forecastservice/api.go index e0428f70d18..1fcdbefb290 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/forecastservice/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/forecastservice/api.go @@ -9287,6 +9287,16 @@ const ( AttributeTypeTimestamp = "timestamp" ) +// AttributeType_Values returns all elements of the AttributeType enum +func AttributeType_Values() []string { + return []string{ + AttributeTypeString, + AttributeTypeInteger, + AttributeTypeFloat, + AttributeTypeTimestamp, + } +} + const ( // DatasetTypeTargetTimeSeries is a DatasetType enum value DatasetTypeTargetTimeSeries = "TARGET_TIME_SERIES" @@ -9298,6 +9308,15 @@ const ( DatasetTypeItemMetadata = "ITEM_METADATA" ) +// DatasetType_Values returns all elements of the DatasetType enum +func DatasetType_Values() []string { + return []string{ + DatasetTypeTargetTimeSeries, + DatasetTypeRelatedTimeSeries, + DatasetTypeItemMetadata, + } +} + const ( // DomainRetail is a Domain enum value DomainRetail = "RETAIL" @@ -9321,6 +9340,19 @@ const ( DomainMetrics = "METRICS" ) +// Domain_Values returns all elements of the Domain enum +func Domain_Values() []string { + return []string{ + DomainRetail, + DomainCustom, + DomainInventoryPlanning, + DomainEc2Capacity, + DomainWorkForce, + DomainWebTraffic, + DomainMetrics, + } +} + const ( // EvaluationTypeSummary is a EvaluationType enum value EvaluationTypeSummary = "SUMMARY" @@ -9329,11 +9361,26 @@ const ( EvaluationTypeComputed = "COMPUTED" ) +// EvaluationType_Values returns all elements of the EvaluationType enum +func EvaluationType_Values() []string { + return []string{ + EvaluationTypeSummary, + EvaluationTypeComputed, + } +} + const ( // FeaturizationMethodNameFilling is a FeaturizationMethodName enum value FeaturizationMethodNameFilling = "filling" ) +// FeaturizationMethodName_Values returns all elements of the FeaturizationMethodName enum +func FeaturizationMethodName_Values() []string { + return []string{ + FeaturizationMethodNameFilling, + } +} + const ( // FilterConditionStringIs is a FilterConditionString enum value FilterConditionStringIs = "IS" @@ -9342,6 +9389,14 @@ const ( FilterConditionStringIsNot = "IS_NOT" ) +// FilterConditionString_Values returns all elements of the FilterConditionString enum +func FilterConditionString_Values() []string { + return []string{ + FilterConditionStringIs, + FilterConditionStringIsNot, + } +} + const ( // ScalingTypeAuto is a ScalingType enum value ScalingTypeAuto = "Auto" @@ -9355,3 +9410,13 @@ const ( // ScalingTypeReverseLogarithmic is a ScalingType enum value ScalingTypeReverseLogarithmic = "ReverseLogarithmic" ) + +// ScalingType_Values returns all elements of the ScalingType enum +func ScalingType_Values() []string { + return []string{ + ScalingTypeAuto, + ScalingTypeLinear, + ScalingTypeLogarithmic, + ScalingTypeReverseLogarithmic, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/fsx/api.go b/vendor/github.com/aws/aws-sdk-go/service/fsx/api.go index 03e58ebc29f..12c80deb9fc 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/fsx/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/fsx/api.go @@ -167,7 +167,7 @@ func (c *FSx) CreateBackupRequest(input *CreateBackupInput) (req *request.Reques // // * a Persistent deployment type // -// * is not linked to a data respository. +// * is not linked to an Amazon S3 data respository. // // For more information about backing up Amazon FSx for Lustre file systems, // see Working with FSx for Lustre backups (https://docs.aws.amazon.com/fsx/latest/LustreGuide/using-backups-fsx.html). @@ -2564,9 +2564,9 @@ func (s *CompletionReport) SetScope(v string) *CompletionReport { type CreateBackupInput struct { _ struct{} `type:"structure"` - // (Optional) A string of up to 64 ASCII characters that Amazon FSx uses to - // ensure idempotent creation. This string is automatically filled on your behalf - // when you use the AWS Command Line Interface (AWS CLI) or an AWS SDK. + // A string of up to 64 ASCII characters that Amazon FSx uses to ensure idempotent + // creation. This string is automatically filled on your behalf when you use + // the AWS Command Line Interface (AWS CLI) or an AWS SDK. ClientRequestToken *string `min:"1" type:"string" idempotencyToken:"true"` // The ID of the file system to back up. @@ -2574,10 +2574,10 @@ type CreateBackupInput struct { // FileSystemId is a required field FileSystemId *string `min:"11" type:"string" required:"true"` - // (Optional) The tags to apply to the backup at backup creation. The key value - // of the Name tag appears in the console as the backup name. If you have set - // CopyTagsToBackups to true, and you specify one or more tags using the CreateBackup - // action, no existing file system tags are copied from the file system to the + // The tags to apply to the backup at backup creation. The key value of the + // Name tag appears in the console as the backup name. If you have set CopyTagsToBackups + // to true, and you specify one or more tags using the CreateBackup action, + // no existing tags on the file system are copied from the file system to the // backup. Tags []*Tag `min:"1" type:"list"` } @@ -3041,11 +3041,11 @@ type CreateFileSystemInput struct { // // For Lustre file systems: // - // * For SCRATCH_2 and PERSISTENT_1 deployment types, valid values are 1200 - // GiB, 2400 GiB, and increments of 2400 GiB. + // * For SCRATCH_2 and PERSISTENT_1 deployment types, valid values are 1.2, + // 2.4, and increments of 2.4 TiB. // - // * For SCRATCH_1 deployment type, valid values are 1200 GiB, 2400 GiB, - // and increments of 3600 GiB. + // * For SCRATCH_1 deployment type, valid values are 1.2, 2.4, and increments + // of 3.6 TiB. // // For Windows file systems: // @@ -3212,42 +3212,43 @@ func (s *CreateFileSystemInput) SetWindowsConfiguration(v *CreateFileSystemWindo type CreateFileSystemLustreConfiguration struct { _ struct{} `type:"structure"` - // (Optional) When you create your file system, your existing S3 objects appear - // as file and directory listings. Use this property to choose how Amazon FSx - // keeps your file and directory listings up to date as you add or modify objects - // in your linked S3 bucket. AutoImportPolicy can have the following values: + // (Optional) Use this property to configure the AutoImport feature on the file + // system's linked Amazon S3 data repository. You use AutoImport to update the + // contents of your FSx for Lustre file system automatically with changes that + // occur in the linked S3 data repository. AutoImportPolicy can have the following + // values: // - // * NONE - (Default) AutoImport is off. Amazon FSx only updates file and - // directory listings from the linked S3 bucket when the file system is created. - // FSx does not update file and directory listings for any new or changed - // objects after choosing this option. + // * NONE - (Default) AutoImport is off. Changes in the linked data repository + // are not reflected on the FSx file system. // - // * NEW - AutoImport is on. Amazon FSx automatically imports directory listings - // of any new objects added to the linked S3 bucket that do not currently - // exist in the FSx file system. + // * NEW - AutoImport is on. New files in the linked data repository that + // do not currently exist in the FSx file system are automatically imported. + // Updates to existing FSx files are not imported to the FSx file system. + // Files deleted from the linked data repository are not deleted from the + // FSx file system. // - // * NEW_CHANGED - AutoImport is on. Amazon FSx automatically imports file - // and directory listings of any new objects added to the S3 bucket and any - // existing objects that are changed in the S3 bucket after you choose this - // option. + // * NEW_CHANGED - AutoImport is on. New files in the linked S3 data repository + // that do not currently exist in the FSx file system are automatically imported. + // Changes to existing FSx files in the linked repository are also automatically + // imported to the FSx file system. Files deleted from the linked data repository + // are not deleted from the FSx file system. // // For more information, see Automatically import updates from your S3 bucket // (https://docs.aws.amazon.com/fsx/latest/LustreGuide/autoimport-data-repo.html). AutoImportPolicy *string `type:"string" enum:"AutoImportPolicyType"` // The number of days to retain automatic backups. Setting this to 0 disables - // automatic backups. You can retain automatic backups for a maximum of 35 days. + // automatic backups. You can retain automatic backups for a maximum of 90 days. // The default is 0. AutomaticBackupRetentionDays *int64 `type:"integer"` - // (Optional) Not available to use with file systems that are linked to a data - // repository. A boolean flag indicating whether tags for the file system should - // be copied to backups. The default value is false. If it's set to true, all - // file system tags are copied to all automatic and user-initiated backups when - // the user doesn't specify any backup-specific tags. If this value is true, - // and you specify one or more backup tags, only the specified tags are copied - // to backups. If you specify one or more tags when creating a user-initiated - // backup, no tags are copied from the file system, regardless of this value. + // A boolean flag indicating whether tags for the file system should be copied + // to backups. This value defaults to false. If it's set to true, all tags for + // the file system are copied to all automatic and user-initiated backups where + // the user doesn't specify tags. If this value is true, and you specify one + // or more tags, only the specified tags are copied to backups. If you specify + // one or more tags when creating a user-initiated backup, no tags are copied + // from the file system, regardless of this value. // // For more information, see Working with backups (https://docs.aws.amazon.com/fsx/latest/LustreGuide/using-backups-fsx.html). CopyTagsToBackups *bool `type:"boolean"` @@ -3275,6 +3276,14 @@ type CreateFileSystemLustreConfiguration struct { // Regions. To learn more, Encrypting Data in Transit (https://docs.aws.amazon.com/fsx/latest/LustreGuide/encryption-in-transit-fsxl.html). DeploymentType *string `type:"string" enum:"LustreDeploymentType"` + // The type of drive cache used by PERSISTENT_1 file systems that are provisioned + // with HDD storage devices. This parameter is required when storage type is + // HDD. Set to READ, improve the performance for frequently accessed files and + // allows 20% of the total storage capacity of the file system to be cached. + // + // This parameter is required when StorageType is set to HDD. + DriveCacheType *string `type:"string" enum:"DriveCacheType"` + // (Optional) The path in Amazon S3 where the root of your Amazon FSx file system // is exported. The path must use the same Amazon S3 bucket as specified in // ImportPath. You can provide an optional prefix to which new and changed data @@ -3316,12 +3325,13 @@ type CreateFileSystemLustreConfiguration struct { // provisioning 50 MB/s/TiB of PerUnitStorageThroughput yields 117 MB/s of file // system throughput. You pay for the amount of throughput that you provision. // - // Valid values are 50, 100, 200. - PerUnitStorageThroughput *int64 `min:"50" type:"integer"` + // Valid values for SSD storage: 50, 100, 200. Valid values for HDD storage: + // 12, 40. + PerUnitStorageThroughput *int64 `min:"12" type:"integer"` - // (Optional) The preferred start time to perform weekly maintenance, formatted - // d:HH:MM in the UTC time zone, where d is the weekday number, from 1 through - // 7, beginning with Monday and ending with Sunday. + // The preferred start time to perform weekly maintenance, formatted d:HH:MM + // in the UTC time zone, where d is the weekday number, from 1 through 7, beginning + // with Monday and ending with Sunday. WeeklyMaintenanceStartTime *string `min:"7" type:"string"` } @@ -3350,8 +3360,8 @@ func (s *CreateFileSystemLustreConfiguration) Validate() error { if s.ImportedFileChunkSize != nil && *s.ImportedFileChunkSize < 1 { invalidParams.Add(request.NewErrParamMinValue("ImportedFileChunkSize", 1)) } - if s.PerUnitStorageThroughput != nil && *s.PerUnitStorageThroughput < 50 { - invalidParams.Add(request.NewErrParamMinValue("PerUnitStorageThroughput", 50)) + if s.PerUnitStorageThroughput != nil && *s.PerUnitStorageThroughput < 12 { + invalidParams.Add(request.NewErrParamMinValue("PerUnitStorageThroughput", 12)) } if s.WeeklyMaintenanceStartTime != nil && len(*s.WeeklyMaintenanceStartTime) < 7 { invalidParams.Add(request.NewErrParamMinLen("WeeklyMaintenanceStartTime", 7)) @@ -3393,6 +3403,12 @@ func (s *CreateFileSystemLustreConfiguration) SetDeploymentType(v string) *Creat return s } +// SetDriveCacheType sets the DriveCacheType field's value. +func (s *CreateFileSystemLustreConfiguration) SetDriveCacheType(v string) *CreateFileSystemLustreConfiguration { + s.DriveCacheType = &v + return s +} + // SetExportPath sets the ExportPath field's value. func (s *CreateFileSystemLustreConfiguration) SetExportPath(v string) *CreateFileSystemLustreConfiguration { s.ExportPath = &v @@ -3458,7 +3474,7 @@ type CreateFileSystemWindowsConfiguration struct { // The number of days to retain automatic backups. The default is to retain // backups for 7 days. Setting this value to 0 disables the creation of automatic - // backups. The maximum retention period for backups is 35 days. + // backups. The maximum retention period for backups is 90 days. AutomaticBackupRetentionDays *int64 `type:"integer"` // A boolean flag indicating whether tags for the file system should be copied @@ -3619,23 +3635,24 @@ type DataRepositoryConfiguration struct { _ struct{} `type:"structure"` // Describes the file system's linked S3 data repository's AutoImportPolicy. - // The AutoImportPolicy configures how Amazon FSx keeps your file and directory - // listings up to date as you add or modify objects in your linked S3 bucket. + // The AutoImportPolicy configures how your FSx for Lustre file system automatically + // updates its contents with changes that occur in the linked S3 data repository. // AutoImportPolicy can have the following values: // - // * NONE - (Default) AutoImport is off. Amazon FSx only updates file and - // directory listings from the linked S3 bucket when the file system is created. - // FSx does not update file and directory listings for any new or changed - // objects after choosing this option. + // * NONE - (Default) AutoImport is off. Changes in the linked data repository + // are not reflected on the FSx file system. // - // * NEW - AutoImport is on. Amazon FSx automatically imports directory listings - // of any new objects added to the linked S3 bucket that do not currently - // exist in the FSx file system. + // * NEW - AutoImport is on. New files in the linked data repository that + // do not currently exist in the FSx file system are automatically imported. + // Updates to existing FSx files are not imported to the FSx file system. + // Files deleted from the linked data repository are not deleted from the + // FSx file system. // - // * NEW_CHANGED - AutoImport is on. Amazon FSx automatically imports file - // and directory listings of any new objects added to the S3 bucket and any - // existing objects that are changed in the S3 bucket after you choose this - // option. + // * NEW_CHANGED - AutoImport is on. New files in the linked S3 data repository + // that do not currently exist in the FSx file system are automatically imported. + // Changes to existing FSx files in the linked repository are also automatically + // imported to the FSx file system. Files deleted from the linked data repository + // are not deleted from the FSx file system. // // For more information, see Automatically import updates from your S3 bucket // (https://docs.aws.amazon.com/fsx/latest/LustreGuide/autoimport-data-repo.html). @@ -5787,7 +5804,7 @@ type LustreFileSystemConfiguration struct { _ struct{} `type:"structure"` // The number of days to retain automatic backups. Setting this to 0 disables - // automatic backups. You can retain automatic backups for a maximum of 35 days. + // automatic backups. You can retain automatic backups for a maximum of 90 days. // The default is 0. AutomaticBackupRetentionDays *int64 `type:"integer"` @@ -5823,6 +5840,14 @@ type LustreFileSystemConfiguration struct { // (Default = SCRATCH_1) DeploymentType *string `type:"string" enum:"LustreDeploymentType"` + // The type of drive cache used by PERSISTENT_1 file systems that are provisioned + // with HDD storage devices. This parameter is required when storage type is + // HDD. Set to READ, improve the performance for frequently accessed files and + // allows 20% of the total storage capacity of the file system to be cached. + // + // This parameter is required when StorageType is set to HDD. + DriveCacheType *string `type:"string" enum:"DriveCacheType"` + // You use the MountName value when mounting the file system. // // For the SCRATCH_1 deployment type, this value is always "fsx". For SCRATCH_2 @@ -5833,9 +5858,11 @@ type LustreFileSystemConfiguration struct { // Per unit storage throughput represents the megabytes per second of read or // write throughput per 1 tebibyte of storage provisioned. File system throughput // capacity is equal to Storage capacity (TiB) * PerUnitStorageThroughput (MB/s/TiB). - // This option is only valid for PERSISTENT_1 deployment types. Valid values - // are 50, 100, 200. - PerUnitStorageThroughput *int64 `min:"50" type:"integer"` + // This option is only valid for PERSISTENT_1 deployment types. + // + // Valid values for SSD storage: 50, 100, 200. Valid values for HDD storage: + // 12, 40. + PerUnitStorageThroughput *int64 `min:"12" type:"integer"` // The preferred start time to perform weekly maintenance, formatted d:HH:MM // in the UTC time zone. d is the weekday number, from 1 through 7, beginning @@ -5883,6 +5910,12 @@ func (s *LustreFileSystemConfiguration) SetDeploymentType(v string) *LustreFileS return s } +// SetDriveCacheType sets the DriveCacheType field's value. +func (s *LustreFileSystemConfiguration) SetDriveCacheType(v string) *LustreFileSystemConfiguration { + s.DriveCacheType = &v + return s +} + // SetMountName sets the MountName field's value. func (s *LustreFileSystemConfiguration) SetMountName(v string) *LustreFileSystemConfiguration { s.MountName = &v @@ -6875,31 +6908,33 @@ func (s *UpdateFileSystemInput) SetWindowsConfiguration(v *UpdateFileSystemWindo type UpdateFileSystemLustreConfiguration struct { _ struct{} `type:"structure"` - // (Optional) When you create your file system, your existing S3 objects appear - // as file and directory listings. Use this property to choose how Amazon FSx - // keeps your file and directory listing up to date as you add or modify objects - // in your linked S3 bucket. AutoImportPolicy can have the following values: + // (Optional) Use this property to configure the AutoImport feature on the file + // system's linked Amazon S3 data repository. You use AutoImport to update the + // contents of your FSx for Lustre file system automatically with changes that + // occur in the linked S3 data repository. AutoImportPolicy can have the following + // values: // - // * NONE - (Default) AutoImport is off. Amazon FSx only updates file and - // directory listings from the linked S3 bucket when the file system is created. - // FSx does not update the file and directory listing for any new or changed - // objects after choosing this option. + // * NONE - (Default) AutoImport is off. Changes in the linked data repository + // are not reflected on the FSx file system. // - // * NEW - AutoImport is on. Amazon FSx automatically imports directory listings - // of any new objects added to the linked S3 bucket that do not currently - // exist in the FSx file system. + // * NEW - AutoImport is on. New files in the linked data repository that + // do not currently exist in the FSx file system are automatically imported. + // Updates to existing FSx files are not imported to the FSx file system. + // Files deleted from the linked data repository are not deleted from the + // FSx file system. // - // * NEW_CHANGED - AutoImport is on. Amazon FSx automatically imports file - // and directory listings of any new objects added to the S3 bucket and any - // existing objects that are changed in the S3 bucket after you choose this - // option. + // * NEW_CHANGED - AutoImport is on. New files in the linked S3 data repository + // that do not currently exist in the FSx file system are automatically imported. + // Changes to existing FSx files in the linked repository are also automatically + // imported to the FSx file system. Files deleted from the linked data repository + // are not deleted from the FSx file system. // // For more information, see Automatically import updates from your S3 bucket // (https://docs.aws.amazon.com/fsx/latest/LustreGuide/autoimport-data-repo.html). AutoImportPolicy *string `type:"string" enum:"AutoImportPolicyType"` // The number of days to retain automatic backups. Setting this to 0 disables - // automatic backups. You can retain automatic backups for a maximum of 35 days. + // automatic backups. You can retain automatic backups for a maximum of 90 days. // The default is 0. AutomaticBackupRetentionDays *int64 `type:"integer"` @@ -6908,9 +6943,9 @@ type UpdateFileSystemLustreConfiguration struct { // 05:00 specifies 5 AM daily. DailyAutomaticBackupStartTime *string `min:"5" type:"string"` - // (Optional) The preferred start time to perform weekly maintenance, formatted - // d:HH:MM in the UTC time zone. d is the weekday number, from 1 through 7, - // beginning with Monday and ending with Sunday. + // The preferred start time to perform weekly maintenance, formatted d:HH:MM + // in the UTC time zone. d is the weekday number, from 1 through 7, beginning + // with Monday and ending with Sunday. WeeklyMaintenanceStartTime *string `min:"7" type:"string"` } @@ -6996,7 +7031,7 @@ type UpdateFileSystemWindowsConfiguration struct { // The number of days to retain automatic daily backups. Setting this to zero // (0) disables automatic daily backups. You can retain automatic daily backups - // for a maximum of 35 days. For more information, see Working with Automatic + // for a maximum of 90 days. For more information, see Working with Automatic // Daily Backups (https://docs.aws.amazon.com/fsx/latest/WindowsGuide/using-backups.html#automatic-backups). AutomaticBackupRetentionDays *int64 `type:"integer"` @@ -7096,7 +7131,7 @@ type WindowsFileSystemConfiguration struct { ActiveDirectoryId *string `min:"12" type:"string"` // The number of days to retain automatic backups. Setting this to 0 disables - // automatic backups. You can retain automatic backups for a maximum of 35 days. + // automatic backups. You can retain automatic backups for a maximum of 90 days. AutomaticBackupRetentionDays *int64 `type:"integer"` // A boolean flag indicating whether tags on the file system should be copied @@ -7277,6 +7312,16 @@ const ( ActiveDirectoryErrorTypeInvalidDomainStage = "INVALID_DOMAIN_STAGE" ) +// ActiveDirectoryErrorType_Values returns all elements of the ActiveDirectoryErrorType enum +func ActiveDirectoryErrorType_Values() []string { + return []string{ + ActiveDirectoryErrorTypeDomainNotFound, + ActiveDirectoryErrorTypeIncompatibleDomainMode, + ActiveDirectoryErrorTypeWrongVpc, + ActiveDirectoryErrorTypeInvalidDomainStage, + } +} + // Describes the type of administrative action, as follows: // // * FILE_SYSTEM_UPDATE - A file system update administrative action initiated @@ -7298,6 +7343,14 @@ const ( AdministrativeActionTypeStorageOptimization = "STORAGE_OPTIMIZATION" ) +// AdministrativeActionType_Values returns all elements of the AdministrativeActionType enum +func AdministrativeActionType_Values() []string { + return []string{ + AdministrativeActionTypeFileSystemUpdate, + AdministrativeActionTypeStorageOptimization, + } +} + const ( // AutoImportPolicyTypeNone is a AutoImportPolicyType enum value AutoImportPolicyTypeNone = "NONE" @@ -7309,6 +7362,15 @@ const ( AutoImportPolicyTypeNewChanged = "NEW_CHANGED" ) +// AutoImportPolicyType_Values returns all elements of the AutoImportPolicyType enum +func AutoImportPolicyType_Values() []string { + return []string{ + AutoImportPolicyTypeNone, + AutoImportPolicyTypeNew, + AutoImportPolicyTypeNewChanged, + } +} + // The lifecycle status of the backup. const ( // BackupLifecycleAvailable is a BackupLifecycle enum value @@ -7317,6 +7379,9 @@ const ( // BackupLifecycleCreating is a BackupLifecycle enum value BackupLifecycleCreating = "CREATING" + // BackupLifecycleTransferring is a BackupLifecycle enum value + BackupLifecycleTransferring = "TRANSFERRING" + // BackupLifecycleDeleted is a BackupLifecycle enum value BackupLifecycleDeleted = "DELETED" @@ -7324,6 +7389,17 @@ const ( BackupLifecycleFailed = "FAILED" ) +// BackupLifecycle_Values returns all elements of the BackupLifecycle enum +func BackupLifecycle_Values() []string { + return []string{ + BackupLifecycleAvailable, + BackupLifecycleCreating, + BackupLifecycleTransferring, + BackupLifecycleDeleted, + BackupLifecycleFailed, + } +} + // The type of the backup. const ( // BackupTypeAutomatic is a BackupType enum value @@ -7333,6 +7409,14 @@ const ( BackupTypeUserInitiated = "USER_INITIATED" ) +// BackupType_Values returns all elements of the BackupType enum +func BackupType_Values() []string { + return []string{ + BackupTypeAutomatic, + BackupTypeUserInitiated, + } +} + const ( // DataRepositoryLifecycleCreating is a DataRepositoryLifecycle enum value DataRepositoryLifecycleCreating = "CREATING" @@ -7350,6 +7434,17 @@ const ( DataRepositoryLifecycleDeleting = "DELETING" ) +// DataRepositoryLifecycle_Values returns all elements of the DataRepositoryLifecycle enum +func DataRepositoryLifecycle_Values() []string { + return []string{ + DataRepositoryLifecycleCreating, + DataRepositoryLifecycleAvailable, + DataRepositoryLifecycleMisconfigured, + DataRepositoryLifecycleUpdating, + DataRepositoryLifecycleDeleting, + } +} + const ( // DataRepositoryTaskFilterNameFileSystemId is a DataRepositoryTaskFilterName enum value DataRepositoryTaskFilterNameFileSystemId = "file-system-id" @@ -7358,6 +7453,14 @@ const ( DataRepositoryTaskFilterNameTaskLifecycle = "task-lifecycle" ) +// DataRepositoryTaskFilterName_Values returns all elements of the DataRepositoryTaskFilterName enum +func DataRepositoryTaskFilterName_Values() []string { + return []string{ + DataRepositoryTaskFilterNameFileSystemId, + DataRepositoryTaskFilterNameTaskLifecycle, + } +} + const ( // DataRepositoryTaskLifecyclePending is a DataRepositoryTaskLifecycle enum value DataRepositoryTaskLifecyclePending = "PENDING" @@ -7378,11 +7481,46 @@ const ( DataRepositoryTaskLifecycleCanceling = "CANCELING" ) +// DataRepositoryTaskLifecycle_Values returns all elements of the DataRepositoryTaskLifecycle enum +func DataRepositoryTaskLifecycle_Values() []string { + return []string{ + DataRepositoryTaskLifecyclePending, + DataRepositoryTaskLifecycleExecuting, + DataRepositoryTaskLifecycleFailed, + DataRepositoryTaskLifecycleSucceeded, + DataRepositoryTaskLifecycleCanceled, + DataRepositoryTaskLifecycleCanceling, + } +} + const ( // DataRepositoryTaskTypeExportToRepository is a DataRepositoryTaskType enum value DataRepositoryTaskTypeExportToRepository = "EXPORT_TO_REPOSITORY" ) +// DataRepositoryTaskType_Values returns all elements of the DataRepositoryTaskType enum +func DataRepositoryTaskType_Values() []string { + return []string{ + DataRepositoryTaskTypeExportToRepository, + } +} + +const ( + // DriveCacheTypeNone is a DriveCacheType enum value + DriveCacheTypeNone = "NONE" + + // DriveCacheTypeRead is a DriveCacheType enum value + DriveCacheTypeRead = "READ" +) + +// DriveCacheType_Values returns all elements of the DriveCacheType enum +func DriveCacheType_Values() []string { + return []string{ + DriveCacheTypeNone, + DriveCacheTypeRead, + } +} + // The lifecycle status of the file system. const ( // FileSystemLifecycleAvailable is a FileSystemLifecycle enum value @@ -7404,6 +7542,18 @@ const ( FileSystemLifecycleUpdating = "UPDATING" ) +// FileSystemLifecycle_Values returns all elements of the FileSystemLifecycle enum +func FileSystemLifecycle_Values() []string { + return []string{ + FileSystemLifecycleAvailable, + FileSystemLifecycleCreating, + FileSystemLifecycleFailed, + FileSystemLifecycleDeleting, + FileSystemLifecycleMisconfigured, + FileSystemLifecycleUpdating, + } +} + // An enumeration specifying the currently ongoing maintenance operation. const ( // FileSystemMaintenanceOperationPatching is a FileSystemMaintenanceOperation enum value @@ -7413,6 +7563,14 @@ const ( FileSystemMaintenanceOperationBackingUp = "BACKING_UP" ) +// FileSystemMaintenanceOperation_Values returns all elements of the FileSystemMaintenanceOperation enum +func FileSystemMaintenanceOperation_Values() []string { + return []string{ + FileSystemMaintenanceOperationPatching, + FileSystemMaintenanceOperationBackingUp, + } +} + // The type of file system. const ( // FileSystemTypeWindows is a FileSystemType enum value @@ -7422,6 +7580,14 @@ const ( FileSystemTypeLustre = "LUSTRE" ) +// FileSystemType_Values returns all elements of the FileSystemType enum +func FileSystemType_Values() []string { + return []string{ + FileSystemTypeWindows, + FileSystemTypeLustre, + } +} + // The name for a filter. const ( // FilterNameFileSystemId is a FilterName enum value @@ -7434,6 +7600,15 @@ const ( FilterNameFileSystemType = "file-system-type" ) +// FilterName_Values returns all elements of the FilterName enum +func FilterName_Values() []string { + return []string{ + FilterNameFileSystemId, + FilterNameBackupType, + FilterNameFileSystemType, + } +} + const ( // LustreDeploymentTypeScratch1 is a LustreDeploymentType enum value LustreDeploymentTypeScratch1 = "SCRATCH_1" @@ -7445,16 +7620,39 @@ const ( LustreDeploymentTypePersistent1 = "PERSISTENT_1" ) +// LustreDeploymentType_Values returns all elements of the LustreDeploymentType enum +func LustreDeploymentType_Values() []string { + return []string{ + LustreDeploymentTypeScratch1, + LustreDeploymentTypeScratch2, + LustreDeploymentTypePersistent1, + } +} + const ( // ReportFormatReportCsv20191124 is a ReportFormat enum value ReportFormatReportCsv20191124 = "REPORT_CSV_20191124" ) +// ReportFormat_Values returns all elements of the ReportFormat enum +func ReportFormat_Values() []string { + return []string{ + ReportFormatReportCsv20191124, + } +} + const ( // ReportScopeFailedFilesOnly is a ReportScope enum value ReportScopeFailedFilesOnly = "FAILED_FILES_ONLY" ) +// ReportScope_Values returns all elements of the ReportScope enum +func ReportScope_Values() []string { + return []string{ + ReportScopeFailedFilesOnly, + } +} + // The types of limits on your service utilization. Limits include file system // count, total throughput capacity, total storage, and total user-initiated // backups. These limits apply for a specific account in a specific AWS Region. @@ -7473,6 +7671,16 @@ const ( ServiceLimitTotalUserInitiatedBackups = "TOTAL_USER_INITIATED_BACKUPS" ) +// ServiceLimit_Values returns all elements of the ServiceLimit enum +func ServiceLimit_Values() []string { + return []string{ + ServiceLimitFileSystemCount, + ServiceLimitTotalThroughputCapacity, + ServiceLimitTotalStorage, + ServiceLimitTotalUserInitiatedBackups, + } +} + const ( // StatusFailed is a Status enum value StatusFailed = "FAILED" @@ -7490,6 +7698,17 @@ const ( StatusUpdatedOptimizing = "UPDATED_OPTIMIZING" ) +// Status_Values returns all elements of the Status enum +func Status_Values() []string { + return []string{ + StatusFailed, + StatusInProgress, + StatusPending, + StatusCompleted, + StatusUpdatedOptimizing, + } +} + // The storage type for your Amazon FSx file system. const ( // StorageTypeSsd is a StorageType enum value @@ -7499,6 +7718,14 @@ const ( StorageTypeHdd = "HDD" ) +// StorageType_Values returns all elements of the StorageType enum +func StorageType_Values() []string { + return []string{ + StorageTypeSsd, + StorageTypeHdd, + } +} + const ( // WindowsDeploymentTypeMultiAz1 is a WindowsDeploymentType enum value WindowsDeploymentTypeMultiAz1 = "MULTI_AZ_1" @@ -7509,3 +7736,12 @@ const ( // WindowsDeploymentTypeSingleAz2 is a WindowsDeploymentType enum value WindowsDeploymentTypeSingleAz2 = "SINGLE_AZ_2" ) + +// WindowsDeploymentType_Values returns all elements of the WindowsDeploymentType enum +func WindowsDeploymentType_Values() []string { + return []string{ + WindowsDeploymentTypeMultiAz1, + WindowsDeploymentTypeSingleAz1, + WindowsDeploymentTypeSingleAz2, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/gamelift/api.go b/vendor/github.com/aws/aws-sdk-go/service/gamelift/api.go index d4e7cf76e2d..2dfc0b4c36e 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/gamelift/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/gamelift/api.go @@ -26088,6 +26088,14 @@ const ( AcceptanceTypeReject = "REJECT" ) +// AcceptanceType_Values returns all elements of the AcceptanceType enum +func AcceptanceType_Values() []string { + return []string{ + AcceptanceTypeAccept, + AcceptanceTypeReject, + } +} + const ( // BackfillModeAutomatic is a BackfillMode enum value BackfillModeAutomatic = "AUTOMATIC" @@ -26096,6 +26104,14 @@ const ( BackfillModeManual = "MANUAL" ) +// BackfillMode_Values returns all elements of the BackfillMode enum +func BackfillMode_Values() []string { + return []string{ + BackfillModeAutomatic, + BackfillModeManual, + } +} + const ( // BalancingStrategySpotOnly is a BalancingStrategy enum value BalancingStrategySpotOnly = "SPOT_ONLY" @@ -26104,6 +26120,14 @@ const ( BalancingStrategySpotPreferred = "SPOT_PREFERRED" ) +// BalancingStrategy_Values returns all elements of the BalancingStrategy enum +func BalancingStrategy_Values() []string { + return []string{ + BalancingStrategySpotOnly, + BalancingStrategySpotPreferred, + } +} + const ( // BuildStatusInitialized is a BuildStatus enum value BuildStatusInitialized = "INITIALIZED" @@ -26115,6 +26139,15 @@ const ( BuildStatusFailed = "FAILED" ) +// BuildStatus_Values returns all elements of the BuildStatus enum +func BuildStatus_Values() []string { + return []string{ + BuildStatusInitialized, + BuildStatusReady, + BuildStatusFailed, + } +} + const ( // CertificateTypeDisabled is a CertificateType enum value CertificateTypeDisabled = "DISABLED" @@ -26123,6 +26156,14 @@ const ( CertificateTypeGenerated = "GENERATED" ) +// CertificateType_Values returns all elements of the CertificateType enum +func CertificateType_Values() []string { + return []string{ + CertificateTypeDisabled, + CertificateTypeGenerated, + } +} + const ( // ComparisonOperatorTypeGreaterThanOrEqualToThreshold is a ComparisonOperatorType enum value ComparisonOperatorTypeGreaterThanOrEqualToThreshold = "GreaterThanOrEqualToThreshold" @@ -26137,6 +26178,16 @@ const ( ComparisonOperatorTypeLessThanOrEqualToThreshold = "LessThanOrEqualToThreshold" ) +// ComparisonOperatorType_Values returns all elements of the ComparisonOperatorType enum +func ComparisonOperatorType_Values() []string { + return []string{ + ComparisonOperatorTypeGreaterThanOrEqualToThreshold, + ComparisonOperatorTypeGreaterThanThreshold, + ComparisonOperatorTypeLessThanThreshold, + ComparisonOperatorTypeLessThanOrEqualToThreshold, + } +} + const ( // EC2InstanceTypeT2Micro is a EC2InstanceType enum value EC2InstanceTypeT2Micro = "t2.micro" @@ -26313,6 +26364,70 @@ const ( EC2InstanceTypeM524xlarge = "m5.24xlarge" ) +// EC2InstanceType_Values returns all elements of the EC2InstanceType enum +func EC2InstanceType_Values() []string { + return []string{ + EC2InstanceTypeT2Micro, + EC2InstanceTypeT2Small, + EC2InstanceTypeT2Medium, + EC2InstanceTypeT2Large, + EC2InstanceTypeC3Large, + EC2InstanceTypeC3Xlarge, + EC2InstanceTypeC32xlarge, + EC2InstanceTypeC34xlarge, + EC2InstanceTypeC38xlarge, + EC2InstanceTypeC4Large, + EC2InstanceTypeC4Xlarge, + EC2InstanceTypeC42xlarge, + EC2InstanceTypeC44xlarge, + EC2InstanceTypeC48xlarge, + EC2InstanceTypeC5Large, + EC2InstanceTypeC5Xlarge, + EC2InstanceTypeC52xlarge, + EC2InstanceTypeC54xlarge, + EC2InstanceTypeC59xlarge, + EC2InstanceTypeC512xlarge, + EC2InstanceTypeC518xlarge, + EC2InstanceTypeC524xlarge, + EC2InstanceTypeR3Large, + EC2InstanceTypeR3Xlarge, + EC2InstanceTypeR32xlarge, + EC2InstanceTypeR34xlarge, + EC2InstanceTypeR38xlarge, + EC2InstanceTypeR4Large, + EC2InstanceTypeR4Xlarge, + EC2InstanceTypeR42xlarge, + EC2InstanceTypeR44xlarge, + EC2InstanceTypeR48xlarge, + EC2InstanceTypeR416xlarge, + EC2InstanceTypeR5Large, + EC2InstanceTypeR5Xlarge, + EC2InstanceTypeR52xlarge, + EC2InstanceTypeR54xlarge, + EC2InstanceTypeR58xlarge, + EC2InstanceTypeR512xlarge, + EC2InstanceTypeR516xlarge, + EC2InstanceTypeR524xlarge, + EC2InstanceTypeM3Medium, + EC2InstanceTypeM3Large, + EC2InstanceTypeM3Xlarge, + EC2InstanceTypeM32xlarge, + EC2InstanceTypeM4Large, + EC2InstanceTypeM4Xlarge, + EC2InstanceTypeM42xlarge, + EC2InstanceTypeM44xlarge, + EC2InstanceTypeM410xlarge, + EC2InstanceTypeM5Large, + EC2InstanceTypeM5Xlarge, + EC2InstanceTypeM52xlarge, + EC2InstanceTypeM54xlarge, + EC2InstanceTypeM58xlarge, + EC2InstanceTypeM512xlarge, + EC2InstanceTypeM516xlarge, + EC2InstanceTypeM524xlarge, + } +} + const ( // EventCodeGenericEvent is a EventCode enum value EventCodeGenericEvent = "GENERIC_EVENT" @@ -26414,11 +26529,57 @@ const ( EventCodeInstanceInterrupted = "INSTANCE_INTERRUPTED" ) +// EventCode_Values returns all elements of the EventCode enum +func EventCode_Values() []string { + return []string{ + EventCodeGenericEvent, + EventCodeFleetCreated, + EventCodeFleetDeleted, + EventCodeFleetScalingEvent, + EventCodeFleetStateDownloading, + EventCodeFleetStateValidating, + EventCodeFleetStateBuilding, + EventCodeFleetStateActivating, + EventCodeFleetStateActive, + EventCodeFleetStateError, + EventCodeFleetInitializationFailed, + EventCodeFleetBinaryDownloadFailed, + EventCodeFleetValidationLaunchPathNotFound, + EventCodeFleetValidationExecutableRuntimeFailure, + EventCodeFleetValidationTimedOut, + EventCodeFleetActivationFailed, + EventCodeFleetActivationFailedNoInstances, + EventCodeFleetNewGameSessionProtectionPolicyUpdated, + EventCodeServerProcessInvalidPath, + EventCodeServerProcessSdkInitializationTimeout, + EventCodeServerProcessProcessReadyTimeout, + EventCodeServerProcessCrashed, + EventCodeServerProcessTerminatedUnhealthy, + EventCodeServerProcessForceTerminated, + EventCodeServerProcessProcessExitTimeout, + EventCodeGameSessionActivationTimeout, + EventCodeFleetCreationExtractingBuild, + EventCodeFleetCreationRunningInstaller, + EventCodeFleetCreationValidatingRuntimeConfig, + EventCodeFleetVpcPeeringSucceeded, + EventCodeFleetVpcPeeringFailed, + EventCodeFleetVpcPeeringDeleted, + EventCodeInstanceInterrupted, + } +} + const ( // FleetActionAutoScaling is a FleetAction enum value FleetActionAutoScaling = "AUTO_SCALING" ) +// FleetAction_Values returns all elements of the FleetAction enum +func FleetAction_Values() []string { + return []string{ + FleetActionAutoScaling, + } +} + const ( // FleetStatusNew is a FleetStatus enum value FleetStatusNew = "NEW" @@ -26448,6 +26609,21 @@ const ( FleetStatusTerminated = "TERMINATED" ) +// FleetStatus_Values returns all elements of the FleetStatus enum +func FleetStatus_Values() []string { + return []string{ + FleetStatusNew, + FleetStatusDownloading, + FleetStatusValidating, + FleetStatusBuilding, + FleetStatusActivating, + FleetStatusActive, + FleetStatusDeleting, + FleetStatusError, + FleetStatusTerminated, + } +} + const ( // FleetTypeOnDemand is a FleetType enum value FleetTypeOnDemand = "ON_DEMAND" @@ -26456,16 +26632,38 @@ const ( FleetTypeSpot = "SPOT" ) +// FleetType_Values returns all elements of the FleetType enum +func FleetType_Values() []string { + return []string{ + FleetTypeOnDemand, + FleetTypeSpot, + } +} + const ( // GameServerClaimStatusClaimed is a GameServerClaimStatus enum value GameServerClaimStatusClaimed = "CLAIMED" ) +// GameServerClaimStatus_Values returns all elements of the GameServerClaimStatus enum +func GameServerClaimStatus_Values() []string { + return []string{ + GameServerClaimStatusClaimed, + } +} + const ( // GameServerGroupActionReplaceInstanceTypes is a GameServerGroupAction enum value GameServerGroupActionReplaceInstanceTypes = "REPLACE_INSTANCE_TYPES" ) +// GameServerGroupAction_Values returns all elements of the GameServerGroupAction enum +func GameServerGroupAction_Values() []string { + return []string{ + GameServerGroupActionReplaceInstanceTypes, + } +} + const ( // GameServerGroupDeleteOptionSafeDelete is a GameServerGroupDeleteOption enum value GameServerGroupDeleteOptionSafeDelete = "SAFE_DELETE" @@ -26477,6 +26675,15 @@ const ( GameServerGroupDeleteOptionRetain = "RETAIN" ) +// GameServerGroupDeleteOption_Values returns all elements of the GameServerGroupDeleteOption enum +func GameServerGroupDeleteOption_Values() []string { + return []string{ + GameServerGroupDeleteOptionSafeDelete, + GameServerGroupDeleteOptionForceDelete, + GameServerGroupDeleteOptionRetain, + } +} + const ( // GameServerGroupInstanceTypeC4Large is a GameServerGroupInstanceType enum value GameServerGroupInstanceTypeC4Large = "c4.large" @@ -26599,6 +26806,52 @@ const ( GameServerGroupInstanceTypeM524xlarge = "m5.24xlarge" ) +// GameServerGroupInstanceType_Values returns all elements of the GameServerGroupInstanceType enum +func GameServerGroupInstanceType_Values() []string { + return []string{ + GameServerGroupInstanceTypeC4Large, + GameServerGroupInstanceTypeC4Xlarge, + GameServerGroupInstanceTypeC42xlarge, + GameServerGroupInstanceTypeC44xlarge, + GameServerGroupInstanceTypeC48xlarge, + GameServerGroupInstanceTypeC5Large, + GameServerGroupInstanceTypeC5Xlarge, + GameServerGroupInstanceTypeC52xlarge, + GameServerGroupInstanceTypeC54xlarge, + GameServerGroupInstanceTypeC59xlarge, + GameServerGroupInstanceTypeC512xlarge, + GameServerGroupInstanceTypeC518xlarge, + GameServerGroupInstanceTypeC524xlarge, + GameServerGroupInstanceTypeR4Large, + GameServerGroupInstanceTypeR4Xlarge, + GameServerGroupInstanceTypeR42xlarge, + GameServerGroupInstanceTypeR44xlarge, + GameServerGroupInstanceTypeR48xlarge, + GameServerGroupInstanceTypeR416xlarge, + GameServerGroupInstanceTypeR5Large, + GameServerGroupInstanceTypeR5Xlarge, + GameServerGroupInstanceTypeR52xlarge, + GameServerGroupInstanceTypeR54xlarge, + GameServerGroupInstanceTypeR58xlarge, + GameServerGroupInstanceTypeR512xlarge, + GameServerGroupInstanceTypeR516xlarge, + GameServerGroupInstanceTypeR524xlarge, + GameServerGroupInstanceTypeM4Large, + GameServerGroupInstanceTypeM4Xlarge, + GameServerGroupInstanceTypeM42xlarge, + GameServerGroupInstanceTypeM44xlarge, + GameServerGroupInstanceTypeM410xlarge, + GameServerGroupInstanceTypeM5Large, + GameServerGroupInstanceTypeM5Xlarge, + GameServerGroupInstanceTypeM52xlarge, + GameServerGroupInstanceTypeM54xlarge, + GameServerGroupInstanceTypeM58xlarge, + GameServerGroupInstanceTypeM512xlarge, + GameServerGroupInstanceTypeM516xlarge, + GameServerGroupInstanceTypeM524xlarge, + } +} + const ( // GameServerGroupStatusNew is a GameServerGroupStatus enum value GameServerGroupStatusNew = "NEW" @@ -26622,11 +26875,31 @@ const ( GameServerGroupStatusError = "ERROR" ) +// GameServerGroupStatus_Values returns all elements of the GameServerGroupStatus enum +func GameServerGroupStatus_Values() []string { + return []string{ + GameServerGroupStatusNew, + GameServerGroupStatusActivating, + GameServerGroupStatusActive, + GameServerGroupStatusDeleteScheduled, + GameServerGroupStatusDeleting, + GameServerGroupStatusDeleted, + GameServerGroupStatusError, + } +} + const ( // GameServerHealthCheckHealthy is a GameServerHealthCheck enum value GameServerHealthCheckHealthy = "HEALTHY" ) +// GameServerHealthCheck_Values returns all elements of the GameServerHealthCheck enum +func GameServerHealthCheck_Values() []string { + return []string{ + GameServerHealthCheckHealthy, + } +} + const ( // GameServerProtectionPolicyNoProtection is a GameServerProtectionPolicy enum value GameServerProtectionPolicyNoProtection = "NO_PROTECTION" @@ -26635,6 +26908,14 @@ const ( GameServerProtectionPolicyFullProtection = "FULL_PROTECTION" ) +// GameServerProtectionPolicy_Values returns all elements of the GameServerProtectionPolicy enum +func GameServerProtectionPolicy_Values() []string { + return []string{ + GameServerProtectionPolicyNoProtection, + GameServerProtectionPolicyFullProtection, + } +} + const ( // GameServerUtilizationStatusAvailable is a GameServerUtilizationStatus enum value GameServerUtilizationStatusAvailable = "AVAILABLE" @@ -26643,6 +26924,14 @@ const ( GameServerUtilizationStatusUtilized = "UTILIZED" ) +// GameServerUtilizationStatus_Values returns all elements of the GameServerUtilizationStatus enum +func GameServerUtilizationStatus_Values() []string { + return []string{ + GameServerUtilizationStatusAvailable, + GameServerUtilizationStatusUtilized, + } +} + const ( // GameSessionPlacementStatePending is a GameSessionPlacementState enum value GameSessionPlacementStatePending = "PENDING" @@ -26660,6 +26949,17 @@ const ( GameSessionPlacementStateFailed = "FAILED" ) +// GameSessionPlacementState_Values returns all elements of the GameSessionPlacementState enum +func GameSessionPlacementState_Values() []string { + return []string{ + GameSessionPlacementStatePending, + GameSessionPlacementStateFulfilled, + GameSessionPlacementStateCancelled, + GameSessionPlacementStateTimedOut, + GameSessionPlacementStateFailed, + } +} + const ( // GameSessionStatusActive is a GameSessionStatus enum value GameSessionStatusActive = "ACTIVE" @@ -26677,11 +26977,29 @@ const ( GameSessionStatusError = "ERROR" ) +// GameSessionStatus_Values returns all elements of the GameSessionStatus enum +func GameSessionStatus_Values() []string { + return []string{ + GameSessionStatusActive, + GameSessionStatusActivating, + GameSessionStatusTerminated, + GameSessionStatusTerminating, + GameSessionStatusError, + } +} + const ( // GameSessionStatusReasonInterrupted is a GameSessionStatusReason enum value GameSessionStatusReasonInterrupted = "INTERRUPTED" ) +// GameSessionStatusReason_Values returns all elements of the GameSessionStatusReason enum +func GameSessionStatusReason_Values() []string { + return []string{ + GameSessionStatusReasonInterrupted, + } +} + const ( // InstanceStatusPending is a InstanceStatus enum value InstanceStatusPending = "PENDING" @@ -26693,6 +27011,15 @@ const ( InstanceStatusTerminating = "TERMINATING" ) +// InstanceStatus_Values returns all elements of the InstanceStatus enum +func InstanceStatus_Values() []string { + return []string{ + InstanceStatusPending, + InstanceStatusActive, + InstanceStatusTerminating, + } +} + const ( // IpProtocolTcp is a IpProtocol enum value IpProtocolTcp = "TCP" @@ -26701,6 +27028,14 @@ const ( IpProtocolUdp = "UDP" ) +// IpProtocol_Values returns all elements of the IpProtocol enum +func IpProtocol_Values() []string { + return []string{ + IpProtocolTcp, + IpProtocolUdp, + } +} + const ( // MatchmakingConfigurationStatusCancelled is a MatchmakingConfigurationStatus enum value MatchmakingConfigurationStatusCancelled = "CANCELLED" @@ -26727,6 +27062,20 @@ const ( MatchmakingConfigurationStatusTimedOut = "TIMED_OUT" ) +// MatchmakingConfigurationStatus_Values returns all elements of the MatchmakingConfigurationStatus enum +func MatchmakingConfigurationStatus_Values() []string { + return []string{ + MatchmakingConfigurationStatusCancelled, + MatchmakingConfigurationStatusCompleted, + MatchmakingConfigurationStatusFailed, + MatchmakingConfigurationStatusPlacing, + MatchmakingConfigurationStatusQueued, + MatchmakingConfigurationStatusRequiresAcceptance, + MatchmakingConfigurationStatusSearching, + MatchmakingConfigurationStatusTimedOut, + } +} + const ( // MetricNameActivatingGameSessions is a MetricName enum value MetricNameActivatingGameSessions = "ActivatingGameSessions" @@ -26762,6 +27111,23 @@ const ( MetricNameWaitTime = "WaitTime" ) +// MetricName_Values returns all elements of the MetricName enum +func MetricName_Values() []string { + return []string{ + MetricNameActivatingGameSessions, + MetricNameActiveGameSessions, + MetricNameActiveInstances, + MetricNameAvailableGameSessions, + MetricNameAvailablePlayerSessions, + MetricNameCurrentPlayerSessions, + MetricNameIdleInstances, + MetricNamePercentAvailableGameSessions, + MetricNamePercentIdleInstances, + MetricNameQueueDepth, + MetricNameWaitTime, + } +} + const ( // OperatingSystemWindows2012 is a OperatingSystem enum value OperatingSystemWindows2012 = "WINDOWS_2012" @@ -26773,6 +27139,15 @@ const ( OperatingSystemAmazonLinux2 = "AMAZON_LINUX_2" ) +// OperatingSystem_Values returns all elements of the OperatingSystem enum +func OperatingSystem_Values() []string { + return []string{ + OperatingSystemWindows2012, + OperatingSystemAmazonLinux, + OperatingSystemAmazonLinux2, + } +} + const ( // PlayerSessionCreationPolicyAcceptAll is a PlayerSessionCreationPolicy enum value PlayerSessionCreationPolicyAcceptAll = "ACCEPT_ALL" @@ -26781,6 +27156,14 @@ const ( PlayerSessionCreationPolicyDenyAll = "DENY_ALL" ) +// PlayerSessionCreationPolicy_Values returns all elements of the PlayerSessionCreationPolicy enum +func PlayerSessionCreationPolicy_Values() []string { + return []string{ + PlayerSessionCreationPolicyAcceptAll, + PlayerSessionCreationPolicyDenyAll, + } +} + const ( // PlayerSessionStatusReserved is a PlayerSessionStatus enum value PlayerSessionStatusReserved = "RESERVED" @@ -26795,6 +27178,16 @@ const ( PlayerSessionStatusTimedout = "TIMEDOUT" ) +// PlayerSessionStatus_Values returns all elements of the PlayerSessionStatus enum +func PlayerSessionStatus_Values() []string { + return []string{ + PlayerSessionStatusReserved, + PlayerSessionStatusActive, + PlayerSessionStatusCompleted, + PlayerSessionStatusTimedout, + } +} + const ( // PolicyTypeRuleBased is a PolicyType enum value PolicyTypeRuleBased = "RuleBased" @@ -26803,6 +27196,14 @@ const ( PolicyTypeTargetBased = "TargetBased" ) +// PolicyType_Values returns all elements of the PolicyType enum +func PolicyType_Values() []string { + return []string{ + PolicyTypeRuleBased, + PolicyTypeTargetBased, + } +} + const ( // ProtectionPolicyNoProtection is a ProtectionPolicy enum value ProtectionPolicyNoProtection = "NoProtection" @@ -26811,6 +27212,14 @@ const ( ProtectionPolicyFullProtection = "FullProtection" ) +// ProtectionPolicy_Values returns all elements of the ProtectionPolicy enum +func ProtectionPolicy_Values() []string { + return []string{ + ProtectionPolicyNoProtection, + ProtectionPolicyFullProtection, + } +} + const ( // RoutingStrategyTypeSimple is a RoutingStrategyType enum value RoutingStrategyTypeSimple = "SIMPLE" @@ -26819,6 +27228,14 @@ const ( RoutingStrategyTypeTerminal = "TERMINAL" ) +// RoutingStrategyType_Values returns all elements of the RoutingStrategyType enum +func RoutingStrategyType_Values() []string { + return []string{ + RoutingStrategyTypeSimple, + RoutingStrategyTypeTerminal, + } +} + const ( // ScalingAdjustmentTypeChangeInCapacity is a ScalingAdjustmentType enum value ScalingAdjustmentTypeChangeInCapacity = "ChangeInCapacity" @@ -26830,6 +27247,15 @@ const ( ScalingAdjustmentTypePercentChangeInCapacity = "PercentChangeInCapacity" ) +// ScalingAdjustmentType_Values returns all elements of the ScalingAdjustmentType enum +func ScalingAdjustmentType_Values() []string { + return []string{ + ScalingAdjustmentTypeChangeInCapacity, + ScalingAdjustmentTypeExactCapacity, + ScalingAdjustmentTypePercentChangeInCapacity, + } +} + const ( // ScalingStatusTypeActive is a ScalingStatusType enum value ScalingStatusTypeActive = "ACTIVE" @@ -26853,6 +27279,19 @@ const ( ScalingStatusTypeError = "ERROR" ) +// ScalingStatusType_Values returns all elements of the ScalingStatusType enum +func ScalingStatusType_Values() []string { + return []string{ + ScalingStatusTypeActive, + ScalingStatusTypeUpdateRequested, + ScalingStatusTypeUpdating, + ScalingStatusTypeDeleteRequested, + ScalingStatusTypeDeleting, + ScalingStatusTypeDeleted, + ScalingStatusTypeError, + } +} + const ( // SortOrderAscending is a SortOrder enum value SortOrderAscending = "ASCENDING" @@ -26860,3 +27299,11 @@ const ( // SortOrderDescending is a SortOrder enum value SortOrderDescending = "DESCENDING" ) + +// SortOrder_Values returns all elements of the SortOrder enum +func SortOrder_Values() []string { + return []string{ + SortOrderAscending, + SortOrderDescending, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/glacier/api.go b/vendor/github.com/aws/aws-sdk-go/service/glacier/api.go index 4ddaba08c45..9201d9da054 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/glacier/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/glacier/api.go @@ -8986,6 +8986,15 @@ const ( ActionCodeSelect = "Select" ) +// ActionCode_Values returns all elements of the ActionCode enum +func ActionCode_Values() []string { + return []string{ + ActionCodeArchiveRetrieval, + ActionCodeInventoryRetrieval, + ActionCodeSelect, + } +} + const ( // CannedACLPrivate is a CannedACL enum value CannedACLPrivate = "private" @@ -9009,6 +9018,19 @@ const ( CannedACLBucketOwnerFullControl = "bucket-owner-full-control" ) +// CannedACL_Values returns all elements of the CannedACL enum +func CannedACL_Values() []string { + return []string{ + CannedACLPrivate, + CannedACLPublicRead, + CannedACLPublicReadWrite, + CannedACLAwsExecRead, + CannedACLAuthenticatedRead, + CannedACLBucketOwnerRead, + CannedACLBucketOwnerFullControl, + } +} + const ( // EncryptionTypeAwsKms is a EncryptionType enum value EncryptionTypeAwsKms = "aws:kms" @@ -9017,11 +9039,26 @@ const ( EncryptionTypeAes256 = "AES256" ) +// EncryptionType_Values returns all elements of the EncryptionType enum +func EncryptionType_Values() []string { + return []string{ + EncryptionTypeAwsKms, + EncryptionTypeAes256, + } +} + const ( // ExpressionTypeSql is a ExpressionType enum value ExpressionTypeSql = "SQL" ) +// ExpressionType_Values returns all elements of the ExpressionType enum +func ExpressionType_Values() []string { + return []string{ + ExpressionTypeSql, + } +} + const ( // FileHeaderInfoUse is a FileHeaderInfo enum value FileHeaderInfoUse = "USE" @@ -9033,6 +9070,15 @@ const ( FileHeaderInfoNone = "NONE" ) +// FileHeaderInfo_Values returns all elements of the FileHeaderInfo enum +func FileHeaderInfo_Values() []string { + return []string{ + FileHeaderInfoUse, + FileHeaderInfoIgnore, + FileHeaderInfoNone, + } +} + const ( // PermissionFullControl is a Permission enum value PermissionFullControl = "FULL_CONTROL" @@ -9050,6 +9096,17 @@ const ( PermissionReadAcp = "READ_ACP" ) +// Permission_Values returns all elements of the Permission enum +func Permission_Values() []string { + return []string{ + PermissionFullControl, + PermissionWrite, + PermissionWriteAcp, + PermissionRead, + PermissionReadAcp, + } +} + const ( // QuoteFieldsAlways is a QuoteFields enum value QuoteFieldsAlways = "ALWAYS" @@ -9058,6 +9115,14 @@ const ( QuoteFieldsAsneeded = "ASNEEDED" ) +// QuoteFields_Values returns all elements of the QuoteFields enum +func QuoteFields_Values() []string { + return []string{ + QuoteFieldsAlways, + QuoteFieldsAsneeded, + } +} + const ( // StatusCodeInProgress is a StatusCode enum value StatusCodeInProgress = "InProgress" @@ -9069,6 +9134,15 @@ const ( StatusCodeFailed = "Failed" ) +// StatusCode_Values returns all elements of the StatusCode enum +func StatusCode_Values() []string { + return []string{ + StatusCodeInProgress, + StatusCodeSucceeded, + StatusCodeFailed, + } +} + const ( // StorageClassStandard is a StorageClass enum value StorageClassStandard = "STANDARD" @@ -9080,6 +9154,15 @@ const ( StorageClassStandardIa = "STANDARD_IA" ) +// StorageClass_Values returns all elements of the StorageClass enum +func StorageClass_Values() []string { + return []string{ + StorageClassStandard, + StorageClassReducedRedundancy, + StorageClassStandardIa, + } +} + const ( // TypeAmazonCustomerByEmail is a Type enum value TypeAmazonCustomerByEmail = "AmazonCustomerByEmail" @@ -9090,3 +9173,12 @@ const ( // TypeGroup is a Type enum value TypeGroup = "Group" ) + +// Type_Values returns all elements of the Type enum +func Type_Values() []string { + return []string{ + TypeAmazonCustomerByEmail, + TypeCanonicalUser, + TypeGroup, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/globalaccelerator/api.go b/vendor/github.com/aws/aws-sdk-go/service/globalaccelerator/api.go index 4f7f98e02e0..49b904885a0 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/globalaccelerator/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/globalaccelerator/api.go @@ -6179,6 +6179,14 @@ const ( AcceleratorStatusInProgress = "IN_PROGRESS" ) +// AcceleratorStatus_Values returns all elements of the AcceleratorStatus enum +func AcceleratorStatus_Values() []string { + return []string{ + AcceleratorStatusDeployed, + AcceleratorStatusInProgress, + } +} + const ( // ByoipCidrStatePendingProvisioning is a ByoipCidrState enum value ByoipCidrStatePendingProvisioning = "PENDING_PROVISIONING" @@ -6214,6 +6222,23 @@ const ( ByoipCidrStateFailedDeprovision = "FAILED_DEPROVISION" ) +// ByoipCidrState_Values returns all elements of the ByoipCidrState enum +func ByoipCidrState_Values() []string { + return []string{ + ByoipCidrStatePendingProvisioning, + ByoipCidrStateReady, + ByoipCidrStatePendingAdvertising, + ByoipCidrStateAdvertising, + ByoipCidrStatePendingWithdrawing, + ByoipCidrStatePendingDeprovisioning, + ByoipCidrStateDeprovisioned, + ByoipCidrStateFailedProvision, + ByoipCidrStateFailedAdvertising, + ByoipCidrStateFailedWithdraw, + ByoipCidrStateFailedDeprovision, + } +} + const ( // ClientAffinityNone is a ClientAffinity enum value ClientAffinityNone = "NONE" @@ -6222,6 +6247,14 @@ const ( ClientAffinitySourceIp = "SOURCE_IP" ) +// ClientAffinity_Values returns all elements of the ClientAffinity enum +func ClientAffinity_Values() []string { + return []string{ + ClientAffinityNone, + ClientAffinitySourceIp, + } +} + const ( // HealthCheckProtocolTcp is a HealthCheckProtocol enum value HealthCheckProtocolTcp = "TCP" @@ -6233,6 +6266,15 @@ const ( HealthCheckProtocolHttps = "HTTPS" ) +// HealthCheckProtocol_Values returns all elements of the HealthCheckProtocol enum +func HealthCheckProtocol_Values() []string { + return []string{ + HealthCheckProtocolTcp, + HealthCheckProtocolHttp, + HealthCheckProtocolHttps, + } +} + const ( // HealthStateInitial is a HealthState enum value HealthStateInitial = "INITIAL" @@ -6244,11 +6286,27 @@ const ( HealthStateUnhealthy = "UNHEALTHY" ) +// HealthState_Values returns all elements of the HealthState enum +func HealthState_Values() []string { + return []string{ + HealthStateInitial, + HealthStateHealthy, + HealthStateUnhealthy, + } +} + const ( // IpAddressTypeIpv4 is a IpAddressType enum value IpAddressTypeIpv4 = "IPV4" ) +// IpAddressType_Values returns all elements of the IpAddressType enum +func IpAddressType_Values() []string { + return []string{ + IpAddressTypeIpv4, + } +} + const ( // ProtocolTcp is a Protocol enum value ProtocolTcp = "TCP" @@ -6256,3 +6314,11 @@ const ( // ProtocolUdp is a Protocol enum value ProtocolUdp = "UDP" ) + +// Protocol_Values returns all elements of the Protocol enum +func Protocol_Values() []string { + return []string{ + ProtocolTcp, + ProtocolUdp, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/glue/api.go b/vendor/github.com/aws/aws-sdk-go/service/glue/api.go index 2983b94b3c9..65c4941a502 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/glue/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/glue/api.go @@ -10481,7 +10481,9 @@ func (c *Glue) ResumeWorkflowRunRequest(input *ResumeWorkflowRunInput) (req *req // ResumeWorkflowRun API operation for AWS Glue. // -// Restarts any completed nodes in a workflow run and resumes the run execution. +// Restarts selected nodes of a previous partially completed workflow run and +// resumes the workflow run. The selected nodes and all nodes that are downstream +// from the selected nodes are run. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -16097,8 +16099,9 @@ type Condition struct { // A logical operator. LogicalOperator *string `type:"string" enum:"LogicalOperator"` - // The condition state. Currently, the values supported are SUCCEEDED, STOPPED, - // TIMEOUT, and FAILED. + // The condition state. Currently, the only job states that a trigger can listen + // for are SUCCEEDED, STOPPED, FAILED, and TIMEOUT. The only crawler states + // that a trigger can listen for are SUCCEEDED, FAILED, and CANCELLED. State *string `type:"string" enum:"JobRunState"` } @@ -16459,6 +16462,9 @@ type ConnectionInput struct { // // * MONGODB - Designates a connection to a MongoDB document database. // + // * NETWORK - Designates a network connection to a data source within an + // Amazon Virtual Private Cloud environment (Amazon VPC). + // // SFTP is not supported. // // ConnectionType is a required field @@ -19573,6 +19579,12 @@ type CreateWorkflowInput struct { // A description of the workflow. Description *string `type:"string"` + // You can use this parameter to prevent unwanted multiple updates to data, + // to control costs, or in some cases, to prevent exceeding the maximum number + // of concurrent runs of any of the component jobs. If you leave this parameter + // blank, there is no limit to the number of concurrent workflow runs. + MaxConcurrentRuns *int64 `type:"integer"` + // The name to be assigned to the workflow. It should be unique within your // account. // @@ -19621,6 +19633,12 @@ func (s *CreateWorkflowInput) SetDescription(v string) *CreateWorkflowInput { return s } +// SetMaxConcurrentRuns sets the MaxConcurrentRuns field's value. +func (s *CreateWorkflowInput) SetMaxConcurrentRuns(v int64) *CreateWorkflowInput { + s.MaxConcurrentRuns = &v + return s +} + // SetName sets the Name field's value. func (s *CreateWorkflowInput) SetName(v string) *CreateWorkflowInput { s.Name = &v @@ -28199,7 +28217,8 @@ type JobRun struct { // The name of the job definition being used in this run. JobName *string `min:"1" type:"string"` - // The current state of the job run. + // The current state of the job run. For more information about the statuses + // of jobs that have terminated abnormally, see AWS Glue Job Run Statuses (https://docs.aws.amazon.com/glue/latest/dg/job-run-statuses.html). JobRunState *string `type:"string" enum:"JobRunState"` // The last time that this job run was modified. @@ -31143,7 +31162,7 @@ type ResumeWorkflowRunInput struct { Name *string `min:"1" type:"string" required:"true"` // A list of the node IDs for the nodes you want to restart. The nodes that - // are to be restarted must have an execution attempt in the original run. + // are to be restarted must have a run attempt in the original run. // // NodeIds is a required field NodeIds []*string `type:"list" required:"true"` @@ -31277,6 +31296,10 @@ func (s *S3Encryption) SetS3EncryptionMode(v string) *S3Encryption { type S3Target struct { _ struct{} `type:"structure"` + // The name of a connection which allows a job or crawler to access data in + // Amazon S3 within an Amazon Virtual Private Cloud environment (Amazon VPC). + ConnectionName *string `type:"string"` + // A list of glob patterns used to exclude from the crawl. For more information, // see Catalog Tables with a Crawler (https://docs.aws.amazon.com/glue/latest/dg/add-crawler.html). Exclusions []*string `type:"list"` @@ -31295,6 +31318,12 @@ func (s S3Target) GoString() string { return s.String() } +// SetConnectionName sets the ConnectionName field's value. +func (s *S3Target) SetConnectionName(v string) *S3Target { + s.ConnectionName = &v + return s +} + // SetExclusions sets the Exclusions field's value. func (s *S3Target) SetExclusions(v []*string) *S3Target { s.Exclusions = v @@ -36529,6 +36558,12 @@ type UpdateWorkflowInput struct { // The description of the workflow. Description *string `type:"string"` + // You can use this parameter to prevent unwanted multiple updates to data, + // to control costs, or in some cases, to prevent exceeding the maximum number + // of concurrent runs of any of the component jobs. If you leave this parameter + // blank, there is no limit to the number of concurrent workflow runs. + MaxConcurrentRuns *int64 `type:"integer"` + // Name of the workflow to be updated. // // Name is a required field @@ -36573,6 +36608,12 @@ func (s *UpdateWorkflowInput) SetDescription(v string) *UpdateWorkflowInput { return s } +// SetMaxConcurrentRuns sets the MaxConcurrentRuns field's value. +func (s *UpdateWorkflowInput) SetMaxConcurrentRuns(v int64) *UpdateWorkflowInput { + s.MaxConcurrentRuns = &v + return s +} + // SetName sets the Name field's value. func (s *UpdateWorkflowInput) SetName(v string) *UpdateWorkflowInput { s.Name = &v @@ -36980,6 +37021,12 @@ type Workflow struct { // The information about the last execution of the workflow. LastRun *WorkflowRun `type:"structure"` + // You can use this parameter to prevent unwanted multiple updates to data, + // to control costs, or in some cases, to prevent exceeding the maximum number + // of concurrent runs of any of the component jobs. If you leave this parameter + // blank, there is no limit to the number of concurrent workflow runs. + MaxConcurrentRuns *int64 `type:"integer"` + // The name of the workflow representing the flow. Name *string `min:"1" type:"string"` } @@ -37030,6 +37077,12 @@ func (s *Workflow) SetLastRun(v *WorkflowRun) *Workflow { return s } +// SetMaxConcurrentRuns sets the MaxConcurrentRuns field's value. +func (s *Workflow) SetMaxConcurrentRuns(v int64) *Workflow { + s.MaxConcurrentRuns = &v + return s +} + // SetName sets the Name field's value. func (s *Workflow) SetName(v string) *Workflow { s.Name = &v @@ -37080,6 +37133,11 @@ type WorkflowRun struct { // The date and time when the workflow run completed. CompletedOn *time.Time `type:"timestamp"` + // This error message describes any error that may have occurred in starting + // the workflow run. Currently the only error message is "Concurrent runs exceeded + // for workflow: foo." + ErrorMessage *string `type:"string"` + // The graph representing all the AWS Glue components that belong to the workflow // as nodes and directed connections between them as edges. Graph *WorkflowGraph `type:"structure"` @@ -37122,6 +37180,12 @@ func (s *WorkflowRun) SetCompletedOn(v time.Time) *WorkflowRun { return s } +// SetErrorMessage sets the ErrorMessage field's value. +func (s *WorkflowRun) SetErrorMessage(v string) *WorkflowRun { + s.ErrorMessage = &v + return s +} + // SetGraph sets the Graph field's value. func (s *WorkflowRun) SetGraph(v *WorkflowGraph) *WorkflowRun { s.Graph = v @@ -37324,6 +37388,14 @@ const ( CatalogEncryptionModeSseKms = "SSE-KMS" ) +// CatalogEncryptionMode_Values returns all elements of the CatalogEncryptionMode enum +func CatalogEncryptionMode_Values() []string { + return []string{ + CatalogEncryptionModeDisabled, + CatalogEncryptionModeSseKms, + } +} + const ( // CloudWatchEncryptionModeDisabled is a CloudWatchEncryptionMode enum value CloudWatchEncryptionModeDisabled = "DISABLED" @@ -37332,6 +37404,14 @@ const ( CloudWatchEncryptionModeSseKms = "SSE-KMS" ) +// CloudWatchEncryptionMode_Values returns all elements of the CloudWatchEncryptionMode enum +func CloudWatchEncryptionMode_Values() []string { + return []string{ + CloudWatchEncryptionModeDisabled, + CloudWatchEncryptionModeSseKms, + } +} + const ( // ColumnStatisticsTypeBoolean is a ColumnStatisticsType enum value ColumnStatisticsTypeBoolean = "BOOLEAN" @@ -37355,6 +37435,19 @@ const ( ColumnStatisticsTypeBinary = "BINARY" ) +// ColumnStatisticsType_Values returns all elements of the ColumnStatisticsType enum +func ColumnStatisticsType_Values() []string { + return []string{ + ColumnStatisticsTypeBoolean, + ColumnStatisticsTypeDate, + ColumnStatisticsTypeDecimal, + ColumnStatisticsTypeDouble, + ColumnStatisticsTypeLong, + ColumnStatisticsTypeString, + ColumnStatisticsTypeBinary, + } +} + const ( // ComparatorEquals is a Comparator enum value ComparatorEquals = "EQUALS" @@ -37372,6 +37465,17 @@ const ( ComparatorLessThanEquals = "LESS_THAN_EQUALS" ) +// Comparator_Values returns all elements of the Comparator enum +func Comparator_Values() []string { + return []string{ + ComparatorEquals, + ComparatorGreaterThan, + ComparatorLessThan, + ComparatorGreaterThanEquals, + ComparatorLessThanEquals, + } +} + const ( // ConnectionPropertyKeyHost is a ConnectionPropertyKey enum value ConnectionPropertyKeyHost = "HOST" @@ -37437,6 +37541,33 @@ const ( ConnectionPropertyKeyKafkaSkipCustomCertValidation = "KAFKA_SKIP_CUSTOM_CERT_VALIDATION" ) +// ConnectionPropertyKey_Values returns all elements of the ConnectionPropertyKey enum +func ConnectionPropertyKey_Values() []string { + return []string{ + ConnectionPropertyKeyHost, + ConnectionPropertyKeyPort, + ConnectionPropertyKeyUsername, + ConnectionPropertyKeyPassword, + ConnectionPropertyKeyEncryptedPassword, + ConnectionPropertyKeyJdbcDriverJarUri, + ConnectionPropertyKeyJdbcDriverClassName, + ConnectionPropertyKeyJdbcEngine, + ConnectionPropertyKeyJdbcEngineVersion, + ConnectionPropertyKeyConfigFiles, + ConnectionPropertyKeyInstanceId, + ConnectionPropertyKeyJdbcConnectionUrl, + ConnectionPropertyKeyJdbcEnforceSsl, + ConnectionPropertyKeyCustomJdbcCert, + ConnectionPropertyKeySkipCustomJdbcCertValidation, + ConnectionPropertyKeyCustomJdbcCertString, + ConnectionPropertyKeyConnectionUrl, + ConnectionPropertyKeyKafkaBootstrapServers, + ConnectionPropertyKeyKafkaSslEnabled, + ConnectionPropertyKeyKafkaCustomCert, + ConnectionPropertyKeyKafkaSkipCustomCertValidation, + } +} + const ( // ConnectionTypeJdbc is a ConnectionType enum value ConnectionTypeJdbc = "JDBC" @@ -37449,8 +37580,22 @@ const ( // ConnectionTypeKafka is a ConnectionType enum value ConnectionTypeKafka = "KAFKA" + + // ConnectionTypeNetwork is a ConnectionType enum value + ConnectionTypeNetwork = "NETWORK" ) +// ConnectionType_Values returns all elements of the ConnectionType enum +func ConnectionType_Values() []string { + return []string{ + ConnectionTypeJdbc, + ConnectionTypeSftp, + ConnectionTypeMongodb, + ConnectionTypeKafka, + ConnectionTypeNetwork, + } +} + const ( // CrawlStateRunning is a CrawlState enum value CrawlStateRunning = "RUNNING" @@ -37468,6 +37613,17 @@ const ( CrawlStateFailed = "FAILED" ) +// CrawlState_Values returns all elements of the CrawlState enum +func CrawlState_Values() []string { + return []string{ + CrawlStateRunning, + CrawlStateCancelling, + CrawlStateCancelled, + CrawlStateSucceeded, + CrawlStateFailed, + } +} + const ( // CrawlerStateReady is a CrawlerState enum value CrawlerStateReady = "READY" @@ -37479,6 +37635,15 @@ const ( CrawlerStateStopping = "STOPPING" ) +// CrawlerState_Values returns all elements of the CrawlerState enum +func CrawlerState_Values() []string { + return []string{ + CrawlerStateReady, + CrawlerStateRunning, + CrawlerStateStopping, + } +} + const ( // CsvHeaderOptionUnknown is a CsvHeaderOption enum value CsvHeaderOptionUnknown = "UNKNOWN" @@ -37490,6 +37655,15 @@ const ( CsvHeaderOptionAbsent = "ABSENT" ) +// CsvHeaderOption_Values returns all elements of the CsvHeaderOption enum +func CsvHeaderOption_Values() []string { + return []string{ + CsvHeaderOptionUnknown, + CsvHeaderOptionPresent, + CsvHeaderOptionAbsent, + } +} + const ( // DeleteBehaviorLog is a DeleteBehavior enum value DeleteBehaviorLog = "LOG" @@ -37501,6 +37675,15 @@ const ( DeleteBehaviorDeprecateInDatabase = "DEPRECATE_IN_DATABASE" ) +// DeleteBehavior_Values returns all elements of the DeleteBehavior enum +func DeleteBehavior_Values() []string { + return []string{ + DeleteBehaviorLog, + DeleteBehaviorDeleteFromDatabase, + DeleteBehaviorDeprecateInDatabase, + } +} + const ( // EnableHybridValuesTrue is a EnableHybridValues enum value EnableHybridValuesTrue = "TRUE" @@ -37509,6 +37692,14 @@ const ( EnableHybridValuesFalse = "FALSE" ) +// EnableHybridValues_Values returns all elements of the EnableHybridValues enum +func EnableHybridValues_Values() []string { + return []string{ + EnableHybridValuesTrue, + EnableHybridValuesFalse, + } +} + const ( // ExistConditionMustExist is a ExistCondition enum value ExistConditionMustExist = "MUST_EXIST" @@ -37520,6 +37711,15 @@ const ( ExistConditionNone = "NONE" ) +// ExistCondition_Values returns all elements of the ExistCondition enum +func ExistCondition_Values() []string { + return []string{ + ExistConditionMustExist, + ExistConditionNotExist, + ExistConditionNone, + } +} + const ( // JobBookmarksEncryptionModeDisabled is a JobBookmarksEncryptionMode enum value JobBookmarksEncryptionModeDisabled = "DISABLED" @@ -37528,6 +37728,14 @@ const ( JobBookmarksEncryptionModeCseKms = "CSE-KMS" ) +// JobBookmarksEncryptionMode_Values returns all elements of the JobBookmarksEncryptionMode enum +func JobBookmarksEncryptionMode_Values() []string { + return []string{ + JobBookmarksEncryptionModeDisabled, + JobBookmarksEncryptionModeCseKms, + } +} + const ( // JobRunStateStarting is a JobRunState enum value JobRunStateStarting = "STARTING" @@ -37551,6 +37759,19 @@ const ( JobRunStateTimeout = "TIMEOUT" ) +// JobRunState_Values returns all elements of the JobRunState enum +func JobRunState_Values() []string { + return []string{ + JobRunStateStarting, + JobRunStateRunning, + JobRunStateStopping, + JobRunStateStopped, + JobRunStateSucceeded, + JobRunStateFailed, + JobRunStateTimeout, + } +} + const ( // LanguagePython is a Language enum value LanguagePython = "PYTHON" @@ -37559,6 +37780,14 @@ const ( LanguageScala = "SCALA" ) +// Language_Values returns all elements of the Language enum +func Language_Values() []string { + return []string{ + LanguagePython, + LanguageScala, + } +} + const ( // LastCrawlStatusSucceeded is a LastCrawlStatus enum value LastCrawlStatusSucceeded = "SUCCEEDED" @@ -37570,6 +37799,15 @@ const ( LastCrawlStatusFailed = "FAILED" ) +// LastCrawlStatus_Values returns all elements of the LastCrawlStatus enum +func LastCrawlStatus_Values() []string { + return []string{ + LastCrawlStatusSucceeded, + LastCrawlStatusCancelled, + LastCrawlStatusFailed, + } +} + const ( // LogicalAnd is a Logical enum value LogicalAnd = "AND" @@ -37578,11 +37816,26 @@ const ( LogicalAny = "ANY" ) +// Logical_Values returns all elements of the Logical enum +func Logical_Values() []string { + return []string{ + LogicalAnd, + LogicalAny, + } +} + const ( // LogicalOperatorEquals is a LogicalOperator enum value LogicalOperatorEquals = "EQUALS" ) +// LogicalOperator_Values returns all elements of the LogicalOperator enum +func LogicalOperator_Values() []string { + return []string{ + LogicalOperatorEquals, + } +} + const ( // NodeTypeCrawler is a NodeType enum value NodeTypeCrawler = "CRAWLER" @@ -37594,6 +37847,15 @@ const ( NodeTypeTrigger = "TRIGGER" ) +// NodeType_Values returns all elements of the NodeType enum +func NodeType_Values() []string { + return []string{ + NodeTypeCrawler, + NodeTypeJob, + NodeTypeTrigger, + } +} + const ( // PermissionAll is a Permission enum value PermissionAll = "ALL" @@ -37623,6 +37885,21 @@ const ( PermissionDataLocationAccess = "DATA_LOCATION_ACCESS" ) +// Permission_Values returns all elements of the Permission enum +func Permission_Values() []string { + return []string{ + PermissionAll, + PermissionSelect, + PermissionAlter, + PermissionDrop, + PermissionDelete, + PermissionInsert, + PermissionCreateDatabase, + PermissionCreateTable, + PermissionDataLocationAccess, + } +} + const ( // PrincipalTypeUser is a PrincipalType enum value PrincipalTypeUser = "USER" @@ -37634,6 +37911,15 @@ const ( PrincipalTypeGroup = "GROUP" ) +// PrincipalType_Values returns all elements of the PrincipalType enum +func PrincipalType_Values() []string { + return []string{ + PrincipalTypeUser, + PrincipalTypeRole, + PrincipalTypeGroup, + } +} + const ( // ResourceShareTypeForeign is a ResourceShareType enum value ResourceShareTypeForeign = "FOREIGN" @@ -37642,6 +37928,14 @@ const ( ResourceShareTypeAll = "ALL" ) +// ResourceShareType_Values returns all elements of the ResourceShareType enum +func ResourceShareType_Values() []string { + return []string{ + ResourceShareTypeForeign, + ResourceShareTypeAll, + } +} + const ( // ResourceTypeJar is a ResourceType enum value ResourceTypeJar = "JAR" @@ -37653,6 +37947,15 @@ const ( ResourceTypeArchive = "ARCHIVE" ) +// ResourceType_Values returns all elements of the ResourceType enum +func ResourceType_Values() []string { + return []string{ + ResourceTypeJar, + ResourceTypeFile, + ResourceTypeArchive, + } +} + const ( // S3EncryptionModeDisabled is a S3EncryptionMode enum value S3EncryptionModeDisabled = "DISABLED" @@ -37664,6 +37967,15 @@ const ( S3EncryptionModeSseS3 = "SSE-S3" ) +// S3EncryptionMode_Values returns all elements of the S3EncryptionMode enum +func S3EncryptionMode_Values() []string { + return []string{ + S3EncryptionModeDisabled, + S3EncryptionModeSseKms, + S3EncryptionModeSseS3, + } +} + const ( // ScheduleStateScheduled is a ScheduleState enum value ScheduleStateScheduled = "SCHEDULED" @@ -37675,6 +37987,15 @@ const ( ScheduleStateTransitioning = "TRANSITIONING" ) +// ScheduleState_Values returns all elements of the ScheduleState enum +func ScheduleState_Values() []string { + return []string{ + ScheduleStateScheduled, + ScheduleStateNotScheduled, + ScheduleStateTransitioning, + } +} + const ( // SortAsc is a Sort enum value SortAsc = "ASC" @@ -37683,6 +38004,14 @@ const ( SortDesc = "DESC" ) +// Sort_Values returns all elements of the Sort enum +func Sort_Values() []string { + return []string{ + SortAsc, + SortDesc, + } +} + const ( // SortDirectionTypeDescending is a SortDirectionType enum value SortDirectionTypeDescending = "DESCENDING" @@ -37691,6 +38020,14 @@ const ( SortDirectionTypeAscending = "ASCENDING" ) +// SortDirectionType_Values returns all elements of the SortDirectionType enum +func SortDirectionType_Values() []string { + return []string{ + SortDirectionTypeDescending, + SortDirectionTypeAscending, + } +} + const ( // TaskRunSortColumnTypeTaskRunType is a TaskRunSortColumnType enum value TaskRunSortColumnTypeTaskRunType = "TASK_RUN_TYPE" @@ -37702,6 +38039,15 @@ const ( TaskRunSortColumnTypeStarted = "STARTED" ) +// TaskRunSortColumnType_Values returns all elements of the TaskRunSortColumnType enum +func TaskRunSortColumnType_Values() []string { + return []string{ + TaskRunSortColumnTypeTaskRunType, + TaskRunSortColumnTypeStatus, + TaskRunSortColumnTypeStarted, + } +} + const ( // TaskStatusTypeStarting is a TaskStatusType enum value TaskStatusTypeStarting = "STARTING" @@ -37725,6 +38071,19 @@ const ( TaskStatusTypeTimeout = "TIMEOUT" ) +// TaskStatusType_Values returns all elements of the TaskStatusType enum +func TaskStatusType_Values() []string { + return []string{ + TaskStatusTypeStarting, + TaskStatusTypeRunning, + TaskStatusTypeStopping, + TaskStatusTypeStopped, + TaskStatusTypeSucceeded, + TaskStatusTypeFailed, + TaskStatusTypeTimeout, + } +} + const ( // TaskTypeEvaluation is a TaskType enum value TaskTypeEvaluation = "EVALUATION" @@ -37742,6 +38101,17 @@ const ( TaskTypeFindMatches = "FIND_MATCHES" ) +// TaskType_Values returns all elements of the TaskType enum +func TaskType_Values() []string { + return []string{ + TaskTypeEvaluation, + TaskTypeLabelingSetGeneration, + TaskTypeImportLabels, + TaskTypeExportLabels, + TaskTypeFindMatches, + } +} + const ( // TransformSortColumnTypeName is a TransformSortColumnType enum value TransformSortColumnTypeName = "NAME" @@ -37759,6 +38129,17 @@ const ( TransformSortColumnTypeLastModified = "LAST_MODIFIED" ) +// TransformSortColumnType_Values returns all elements of the TransformSortColumnType enum +func TransformSortColumnType_Values() []string { + return []string{ + TransformSortColumnTypeName, + TransformSortColumnTypeTransformType, + TransformSortColumnTypeStatus, + TransformSortColumnTypeCreated, + TransformSortColumnTypeLastModified, + } +} + const ( // TransformStatusTypeNotReady is a TransformStatusType enum value TransformStatusTypeNotReady = "NOT_READY" @@ -37770,11 +38151,27 @@ const ( TransformStatusTypeDeleting = "DELETING" ) +// TransformStatusType_Values returns all elements of the TransformStatusType enum +func TransformStatusType_Values() []string { + return []string{ + TransformStatusTypeNotReady, + TransformStatusTypeReady, + TransformStatusTypeDeleting, + } +} + const ( // TransformTypeFindMatches is a TransformType enum value TransformTypeFindMatches = "FIND_MATCHES" ) +// TransformType_Values returns all elements of the TransformType enum +func TransformType_Values() []string { + return []string{ + TransformTypeFindMatches, + } +} + const ( // TriggerStateCreating is a TriggerState enum value TriggerStateCreating = "CREATING" @@ -37801,6 +38198,20 @@ const ( TriggerStateUpdating = "UPDATING" ) +// TriggerState_Values returns all elements of the TriggerState enum +func TriggerState_Values() []string { + return []string{ + TriggerStateCreating, + TriggerStateCreated, + TriggerStateActivating, + TriggerStateActivated, + TriggerStateDeactivating, + TriggerStateDeactivated, + TriggerStateDeleting, + TriggerStateUpdating, + } +} + const ( // TriggerTypeScheduled is a TriggerType enum value TriggerTypeScheduled = "SCHEDULED" @@ -37812,6 +38223,15 @@ const ( TriggerTypeOnDemand = "ON_DEMAND" ) +// TriggerType_Values returns all elements of the TriggerType enum +func TriggerType_Values() []string { + return []string{ + TriggerTypeScheduled, + TriggerTypeConditional, + TriggerTypeOnDemand, + } +} + const ( // UpdateBehaviorLog is a UpdateBehavior enum value UpdateBehaviorLog = "LOG" @@ -37820,6 +38240,14 @@ const ( UpdateBehaviorUpdateInDatabase = "UPDATE_IN_DATABASE" ) +// UpdateBehavior_Values returns all elements of the UpdateBehavior enum +func UpdateBehavior_Values() []string { + return []string{ + UpdateBehaviorLog, + UpdateBehaviorUpdateInDatabase, + } +} + const ( // WorkerTypeStandard is a WorkerType enum value WorkerTypeStandard = "Standard" @@ -37831,6 +38259,15 @@ const ( WorkerTypeG2x = "G.2X" ) +// WorkerType_Values returns all elements of the WorkerType enum +func WorkerType_Values() []string { + return []string{ + WorkerTypeStandard, + WorkerTypeG1x, + WorkerTypeG2x, + } +} + const ( // WorkflowRunStatusRunning is a WorkflowRunStatus enum value WorkflowRunStatusRunning = "RUNNING" @@ -37843,4 +38280,18 @@ const ( // WorkflowRunStatusStopped is a WorkflowRunStatus enum value WorkflowRunStatusStopped = "STOPPED" + + // WorkflowRunStatusError is a WorkflowRunStatus enum value + WorkflowRunStatusError = "ERROR" ) + +// WorkflowRunStatus_Values returns all elements of the WorkflowRunStatus enum +func WorkflowRunStatus_Values() []string { + return []string{ + WorkflowRunStatusRunning, + WorkflowRunStatusCompleted, + WorkflowRunStatusStopping, + WorkflowRunStatusStopped, + WorkflowRunStatusError, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/greengrass/api.go b/vendor/github.com/aws/aws-sdk-go/service/greengrass/api.go index e67104de93f..7d864204ccc 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/greengrass/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/greengrass/api.go @@ -17704,6 +17704,18 @@ const ( BulkDeploymentStatusFailed = "Failed" ) +// BulkDeploymentStatus_Values returns all elements of the BulkDeploymentStatus enum +func BulkDeploymentStatus_Values() []string { + return []string{ + BulkDeploymentStatusInitializing, + BulkDeploymentStatusRunning, + BulkDeploymentStatusCompleted, + BulkDeploymentStatusStopping, + BulkDeploymentStatusStopped, + BulkDeploymentStatusFailed, + } +} + // The type of deployment. When used for ''CreateDeployment'', only ''NewDeployment'' // and ''Redeployment'' are valid. const ( @@ -17720,6 +17732,16 @@ const ( DeploymentTypeForceResetDeployment = "ForceResetDeployment" ) +// DeploymentType_Values returns all elements of the DeploymentType enum +func DeploymentType_Values() []string { + return []string{ + DeploymentTypeNewDeployment, + DeploymentTypeRedeployment, + DeploymentTypeResetDeployment, + DeploymentTypeForceResetDeployment, + } +} + const ( // EncodingTypeBinary is a EncodingType enum value EncodingTypeBinary = "binary" @@ -17728,6 +17750,14 @@ const ( EncodingTypeJson = "json" ) +// EncodingType_Values returns all elements of the EncodingType enum +func EncodingType_Values() []string { + return []string{ + EncodingTypeBinary, + EncodingTypeJson, + } +} + // Specifies whether the Lambda function runs in a Greengrass container (default) // or without containerization. Unless your scenario requires that you run without // containerization, we recommend that you run in a Greengrass container. Omit @@ -17741,6 +17771,14 @@ const ( FunctionIsolationModeNoContainer = "NoContainer" ) +// FunctionIsolationMode_Values returns all elements of the FunctionIsolationMode enum +func FunctionIsolationMode_Values() []string { + return []string{ + FunctionIsolationModeGreengrassContainer, + FunctionIsolationModeNoContainer, + } +} + const ( // LoggerComponentGreengrassSystem is a LoggerComponent enum value LoggerComponentGreengrassSystem = "GreengrassSystem" @@ -17749,6 +17787,14 @@ const ( LoggerComponentLambda = "Lambda" ) +// LoggerComponent_Values returns all elements of the LoggerComponent enum +func LoggerComponent_Values() []string { + return []string{ + LoggerComponentGreengrassSystem, + LoggerComponentLambda, + } +} + const ( // LoggerLevelDebug is a LoggerLevel enum value LoggerLevelDebug = "DEBUG" @@ -17766,6 +17812,17 @@ const ( LoggerLevelFatal = "FATAL" ) +// LoggerLevel_Values returns all elements of the LoggerLevel enum +func LoggerLevel_Values() []string { + return []string{ + LoggerLevelDebug, + LoggerLevelInfo, + LoggerLevelWarn, + LoggerLevelError, + LoggerLevelFatal, + } +} + const ( // LoggerTypeFileSystem is a LoggerType enum value LoggerTypeFileSystem = "FileSystem" @@ -17774,6 +17831,14 @@ const ( LoggerTypeAwscloudWatch = "AWSCloudWatch" ) +// LoggerType_Values returns all elements of the LoggerType enum +func LoggerType_Values() []string { + return []string{ + LoggerTypeFileSystem, + LoggerTypeAwscloudWatch, + } +} + // The type of permission a function has to access a resource. const ( // PermissionRo is a Permission enum value @@ -17783,6 +17848,14 @@ const ( PermissionRw = "rw" ) +// Permission_Values returns all elements of the Permission enum +func Permission_Values() []string { + return []string{ + PermissionRo, + PermissionRw, + } +} + // The piece of software on the Greengrass core that will be updated. const ( // SoftwareToUpdateCore is a SoftwareToUpdate enum value @@ -17792,6 +17865,14 @@ const ( SoftwareToUpdateOtaAgent = "ota_agent" ) +// SoftwareToUpdate_Values returns all elements of the SoftwareToUpdate enum +func SoftwareToUpdate_Values() []string { + return []string{ + SoftwareToUpdateCore, + SoftwareToUpdateOtaAgent, + } +} + // The minimum level of log statements that should be logged by the OTA Agent // during an update. const ( @@ -17820,6 +17901,20 @@ const ( UpdateAgentLogLevelFatal = "FATAL" ) +// UpdateAgentLogLevel_Values returns all elements of the UpdateAgentLogLevel enum +func UpdateAgentLogLevel_Values() []string { + return []string{ + UpdateAgentLogLevelNone, + UpdateAgentLogLevelTrace, + UpdateAgentLogLevelDebug, + UpdateAgentLogLevelVerbose, + UpdateAgentLogLevelInfo, + UpdateAgentLogLevelWarn, + UpdateAgentLogLevelError, + UpdateAgentLogLevelFatal, + } +} + // The architecture of the cores which are the targets of an update. const ( // UpdateTargetsArchitectureArmv6l is a UpdateTargetsArchitecture enum value @@ -17835,6 +17930,16 @@ const ( UpdateTargetsArchitectureAarch64 = "aarch64" ) +// UpdateTargetsArchitecture_Values returns all elements of the UpdateTargetsArchitecture enum +func UpdateTargetsArchitecture_Values() []string { + return []string{ + UpdateTargetsArchitectureArmv6l, + UpdateTargetsArchitectureArmv7l, + UpdateTargetsArchitectureX8664, + UpdateTargetsArchitectureAarch64, + } +} + // The operating system of the cores which are the targets of an update. const ( // UpdateTargetsOperatingSystemUbuntu is a UpdateTargetsOperatingSystem enum value @@ -17849,3 +17954,13 @@ const ( // UpdateTargetsOperatingSystemOpenwrt is a UpdateTargetsOperatingSystem enum value UpdateTargetsOperatingSystemOpenwrt = "openwrt" ) + +// UpdateTargetsOperatingSystem_Values returns all elements of the UpdateTargetsOperatingSystem enum +func UpdateTargetsOperatingSystem_Values() []string { + return []string{ + UpdateTargetsOperatingSystemUbuntu, + UpdateTargetsOperatingSystemRaspbian, + UpdateTargetsOperatingSystemAmazonLinux, + UpdateTargetsOperatingSystemOpenwrt, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/guardduty/api.go b/vendor/github.com/aws/aws-sdk-go/service/guardduty/api.go index d1d3711f585..afae1141d29 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/guardduty/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/guardduty/api.go @@ -14299,6 +14299,14 @@ const ( AdminStatusDisableInProgress = "DISABLE_IN_PROGRESS" ) +// AdminStatus_Values returns all elements of the AdminStatus enum +func AdminStatus_Values() []string { + return []string{ + AdminStatusEnabled, + AdminStatusDisableInProgress, + } +} + const ( // DataSourceFlowLogs is a DataSource enum value DataSourceFlowLogs = "FLOW_LOGS" @@ -14313,6 +14321,16 @@ const ( DataSourceS3Logs = "S3_LOGS" ) +// DataSource_Values returns all elements of the DataSource enum +func DataSource_Values() []string { + return []string{ + DataSourceFlowLogs, + DataSourceCloudTrail, + DataSourceDnsLogs, + DataSourceS3Logs, + } +} + const ( // DataSourceStatusEnabled is a DataSourceStatus enum value DataSourceStatusEnabled = "ENABLED" @@ -14321,11 +14339,26 @@ const ( DataSourceStatusDisabled = "DISABLED" ) +// DataSourceStatus_Values returns all elements of the DataSourceStatus enum +func DataSourceStatus_Values() []string { + return []string{ + DataSourceStatusEnabled, + DataSourceStatusDisabled, + } +} + const ( // DestinationTypeS3 is a DestinationType enum value DestinationTypeS3 = "S3" ) +// DestinationType_Values returns all elements of the DestinationType enum +func DestinationType_Values() []string { + return []string{ + DestinationTypeS3, + } +} + const ( // DetectorStatusEnabled is a DetectorStatus enum value DetectorStatusEnabled = "ENABLED" @@ -14334,6 +14367,14 @@ const ( DetectorStatusDisabled = "DISABLED" ) +// DetectorStatus_Values returns all elements of the DetectorStatus enum +func DetectorStatus_Values() []string { + return []string{ + DetectorStatusEnabled, + DetectorStatusDisabled, + } +} + const ( // FeedbackUseful is a Feedback enum value FeedbackUseful = "USEFUL" @@ -14342,6 +14383,14 @@ const ( FeedbackNotUseful = "NOT_USEFUL" ) +// Feedback_Values returns all elements of the Feedback enum +func Feedback_Values() []string { + return []string{ + FeedbackUseful, + FeedbackNotUseful, + } +} + const ( // FilterActionNoop is a FilterAction enum value FilterActionNoop = "NOOP" @@ -14350,6 +14399,14 @@ const ( FilterActionArchive = "ARCHIVE" ) +// FilterAction_Values returns all elements of the FilterAction enum +func FilterAction_Values() []string { + return []string{ + FilterActionNoop, + FilterActionArchive, + } +} + const ( // FindingPublishingFrequencyFifteenMinutes is a FindingPublishingFrequency enum value FindingPublishingFrequencyFifteenMinutes = "FIFTEEN_MINUTES" @@ -14361,11 +14418,27 @@ const ( FindingPublishingFrequencySixHours = "SIX_HOURS" ) +// FindingPublishingFrequency_Values returns all elements of the FindingPublishingFrequency enum +func FindingPublishingFrequency_Values() []string { + return []string{ + FindingPublishingFrequencyFifteenMinutes, + FindingPublishingFrequencyOneHour, + FindingPublishingFrequencySixHours, + } +} + const ( // FindingStatisticTypeCountBySeverity is a FindingStatisticType enum value FindingStatisticTypeCountBySeverity = "COUNT_BY_SEVERITY" ) +// FindingStatisticType_Values returns all elements of the FindingStatisticType enum +func FindingStatisticType_Values() []string { + return []string{ + FindingStatisticTypeCountBySeverity, + } +} + const ( // IpSetFormatTxt is a IpSetFormat enum value IpSetFormatTxt = "TXT" @@ -14386,6 +14459,18 @@ const ( IpSetFormatFireEye = "FIRE_EYE" ) +// IpSetFormat_Values returns all elements of the IpSetFormat enum +func IpSetFormat_Values() []string { + return []string{ + IpSetFormatTxt, + IpSetFormatStix, + IpSetFormatOtxCsv, + IpSetFormatAlienVault, + IpSetFormatProofPoint, + IpSetFormatFireEye, + } +} + const ( // IpSetStatusInactive is a IpSetStatus enum value IpSetStatusInactive = "INACTIVE" @@ -14409,6 +14494,19 @@ const ( IpSetStatusDeleted = "DELETED" ) +// IpSetStatus_Values returns all elements of the IpSetStatus enum +func IpSetStatus_Values() []string { + return []string{ + IpSetStatusInactive, + IpSetStatusActivating, + IpSetStatusActive, + IpSetStatusDeactivating, + IpSetStatusError, + IpSetStatusDeletePending, + IpSetStatusDeleted, + } +} + const ( // OrderByAsc is a OrderBy enum value OrderByAsc = "ASC" @@ -14417,6 +14515,14 @@ const ( OrderByDesc = "DESC" ) +// OrderBy_Values returns all elements of the OrderBy enum +func OrderBy_Values() []string { + return []string{ + OrderByAsc, + OrderByDesc, + } +} + const ( // PublishingStatusPendingVerification is a PublishingStatus enum value PublishingStatusPendingVerification = "PENDING_VERIFICATION" @@ -14431,6 +14537,16 @@ const ( PublishingStatusStopped = "STOPPED" ) +// PublishingStatus_Values returns all elements of the PublishingStatus enum +func PublishingStatus_Values() []string { + return []string{ + PublishingStatusPendingVerification, + PublishingStatusPublishing, + PublishingStatusUnableToPublishFixDestinationProperty, + PublishingStatusStopped, + } +} + const ( // ThreatIntelSetFormatTxt is a ThreatIntelSetFormat enum value ThreatIntelSetFormatTxt = "TXT" @@ -14451,6 +14567,18 @@ const ( ThreatIntelSetFormatFireEye = "FIRE_EYE" ) +// ThreatIntelSetFormat_Values returns all elements of the ThreatIntelSetFormat enum +func ThreatIntelSetFormat_Values() []string { + return []string{ + ThreatIntelSetFormatTxt, + ThreatIntelSetFormatStix, + ThreatIntelSetFormatOtxCsv, + ThreatIntelSetFormatAlienVault, + ThreatIntelSetFormatProofPoint, + ThreatIntelSetFormatFireEye, + } +} + const ( // ThreatIntelSetStatusInactive is a ThreatIntelSetStatus enum value ThreatIntelSetStatusInactive = "INACTIVE" @@ -14474,6 +14602,19 @@ const ( ThreatIntelSetStatusDeleted = "DELETED" ) +// ThreatIntelSetStatus_Values returns all elements of the ThreatIntelSetStatus enum +func ThreatIntelSetStatus_Values() []string { + return []string{ + ThreatIntelSetStatusInactive, + ThreatIntelSetStatusActivating, + ThreatIntelSetStatusActive, + ThreatIntelSetStatusDeactivating, + ThreatIntelSetStatusError, + ThreatIntelSetStatusDeletePending, + ThreatIntelSetStatusDeleted, + } +} + const ( // UsageStatisticTypeSumByAccount is a UsageStatisticType enum value UsageStatisticTypeSumByAccount = "SUM_BY_ACCOUNT" @@ -14487,3 +14628,13 @@ const ( // UsageStatisticTypeTopResources is a UsageStatisticType enum value UsageStatisticTypeTopResources = "TOP_RESOURCES" ) + +// UsageStatisticType_Values returns all elements of the UsageStatisticType enum +func UsageStatisticType_Values() []string { + return []string{ + UsageStatisticTypeSumByAccount, + UsageStatisticTypeSumByDataSource, + UsageStatisticTypeSumByResource, + UsageStatisticTypeTopResources, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/iam/api.go b/vendor/github.com/aws/aws-sdk-go/service/iam/api.go index 0744bc7b0ba..7c3a5dd0dc9 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/iam/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/iam/api.go @@ -33274,6 +33274,14 @@ const ( AccessAdvisorUsageGranularityTypeActionLevel = "ACTION_LEVEL" ) +// AccessAdvisorUsageGranularityType_Values returns all elements of the AccessAdvisorUsageGranularityType enum +func AccessAdvisorUsageGranularityType_Values() []string { + return []string{ + AccessAdvisorUsageGranularityTypeServiceLevel, + AccessAdvisorUsageGranularityTypeActionLevel, + } +} + const ( // AssignmentStatusTypeAssigned is a AssignmentStatusType enum value AssignmentStatusTypeAssigned = "Assigned" @@ -33285,6 +33293,15 @@ const ( AssignmentStatusTypeAny = "Any" ) +// AssignmentStatusType_Values returns all elements of the AssignmentStatusType enum +func AssignmentStatusType_Values() []string { + return []string{ + AssignmentStatusTypeAssigned, + AssignmentStatusTypeUnassigned, + AssignmentStatusTypeAny, + } +} + const ( // ContextKeyTypeEnumString is a ContextKeyTypeEnum enum value ContextKeyTypeEnumString = "string" @@ -33323,6 +33340,24 @@ const ( ContextKeyTypeEnumDateList = "dateList" ) +// ContextKeyTypeEnum_Values returns all elements of the ContextKeyTypeEnum enum +func ContextKeyTypeEnum_Values() []string { + return []string{ + ContextKeyTypeEnumString, + ContextKeyTypeEnumStringList, + ContextKeyTypeEnumNumeric, + ContextKeyTypeEnumNumericList, + ContextKeyTypeEnumBoolean, + ContextKeyTypeEnumBooleanList, + ContextKeyTypeEnumIp, + ContextKeyTypeEnumIpList, + ContextKeyTypeEnumBinary, + ContextKeyTypeEnumBinaryList, + ContextKeyTypeEnumDate, + ContextKeyTypeEnumDateList, + } +} + const ( // DeletionTaskStatusTypeSucceeded is a DeletionTaskStatusType enum value DeletionTaskStatusTypeSucceeded = "SUCCEEDED" @@ -33337,6 +33372,16 @@ const ( DeletionTaskStatusTypeNotStarted = "NOT_STARTED" ) +// DeletionTaskStatusType_Values returns all elements of the DeletionTaskStatusType enum +func DeletionTaskStatusType_Values() []string { + return []string{ + DeletionTaskStatusTypeSucceeded, + DeletionTaskStatusTypeInProgress, + DeletionTaskStatusTypeFailed, + DeletionTaskStatusTypeNotStarted, + } +} + const ( // EncodingTypeSsh is a EncodingType enum value EncodingTypeSsh = "SSH" @@ -33345,6 +33390,14 @@ const ( EncodingTypePem = "PEM" ) +// EncodingType_Values returns all elements of the EncodingType enum +func EncodingType_Values() []string { + return []string{ + EncodingTypeSsh, + EncodingTypePem, + } +} + const ( // EntityTypeUser is a EntityType enum value EntityTypeUser = "User" @@ -33362,6 +33415,17 @@ const ( EntityTypeAwsmanagedPolicy = "AWSManagedPolicy" ) +// EntityType_Values returns all elements of the EntityType enum +func EntityType_Values() []string { + return []string{ + EntityTypeUser, + EntityTypeRole, + EntityTypeGroup, + EntityTypeLocalManagedPolicy, + EntityTypeAwsmanagedPolicy, + } +} + const ( // GlobalEndpointTokenVersionV1token is a GlobalEndpointTokenVersion enum value GlobalEndpointTokenVersionV1token = "v1Token" @@ -33370,6 +33434,14 @@ const ( GlobalEndpointTokenVersionV2token = "v2Token" ) +// GlobalEndpointTokenVersion_Values returns all elements of the GlobalEndpointTokenVersion enum +func GlobalEndpointTokenVersion_Values() []string { + return []string{ + GlobalEndpointTokenVersionV1token, + GlobalEndpointTokenVersionV2token, + } +} + const ( // JobStatusTypeInProgress is a JobStatusType enum value JobStatusTypeInProgress = "IN_PROGRESS" @@ -33381,11 +33453,27 @@ const ( JobStatusTypeFailed = "FAILED" ) +// JobStatusType_Values returns all elements of the JobStatusType enum +func JobStatusType_Values() []string { + return []string{ + JobStatusTypeInProgress, + JobStatusTypeCompleted, + JobStatusTypeFailed, + } +} + const ( // PermissionsBoundaryAttachmentTypePermissionsBoundaryPolicy is a PermissionsBoundaryAttachmentType enum value PermissionsBoundaryAttachmentTypePermissionsBoundaryPolicy = "PermissionsBoundaryPolicy" ) +// PermissionsBoundaryAttachmentType_Values returns all elements of the PermissionsBoundaryAttachmentType enum +func PermissionsBoundaryAttachmentType_Values() []string { + return []string{ + PermissionsBoundaryAttachmentTypePermissionsBoundaryPolicy, + } +} + const ( // PolicyEvaluationDecisionTypeAllowed is a PolicyEvaluationDecisionType enum value PolicyEvaluationDecisionTypeAllowed = "allowed" @@ -33397,6 +33485,15 @@ const ( PolicyEvaluationDecisionTypeImplicitDeny = "implicitDeny" ) +// PolicyEvaluationDecisionType_Values returns all elements of the PolicyEvaluationDecisionType enum +func PolicyEvaluationDecisionType_Values() []string { + return []string{ + PolicyEvaluationDecisionTypeAllowed, + PolicyEvaluationDecisionTypeExplicitDeny, + PolicyEvaluationDecisionTypeImplicitDeny, + } +} + const ( // PolicyOwnerEntityTypeUser is a PolicyOwnerEntityType enum value PolicyOwnerEntityTypeUser = "USER" @@ -33408,6 +33505,15 @@ const ( PolicyOwnerEntityTypeGroup = "GROUP" ) +// PolicyOwnerEntityType_Values returns all elements of the PolicyOwnerEntityType enum +func PolicyOwnerEntityType_Values() []string { + return []string{ + PolicyOwnerEntityTypeUser, + PolicyOwnerEntityTypeRole, + PolicyOwnerEntityTypeGroup, + } +} + const ( // PolicyScopeTypeAll is a PolicyScopeType enum value PolicyScopeTypeAll = "All" @@ -33419,6 +33525,15 @@ const ( PolicyScopeTypeLocal = "Local" ) +// PolicyScopeType_Values returns all elements of the PolicyScopeType enum +func PolicyScopeType_Values() []string { + return []string{ + PolicyScopeTypeAll, + PolicyScopeTypeAws, + PolicyScopeTypeLocal, + } +} + const ( // PolicySourceTypeUser is a PolicySourceType enum value PolicySourceTypeUser = "user" @@ -33442,6 +33557,19 @@ const ( PolicySourceTypeNone = "none" ) +// PolicySourceType_Values returns all elements of the PolicySourceType enum +func PolicySourceType_Values() []string { + return []string{ + PolicySourceTypeUser, + PolicySourceTypeGroup, + PolicySourceTypeRole, + PolicySourceTypeAwsManaged, + PolicySourceTypeUserManaged, + PolicySourceTypeResource, + PolicySourceTypeNone, + } +} + const ( // PolicyTypeInline is a PolicyType enum value PolicyTypeInline = "INLINE" @@ -33450,6 +33578,14 @@ const ( PolicyTypeManaged = "MANAGED" ) +// PolicyType_Values returns all elements of the PolicyType enum +func PolicyType_Values() []string { + return []string{ + PolicyTypeInline, + PolicyTypeManaged, + } +} + // The policy usage type that indicates whether the policy is used as a permissions // policy or as the permissions boundary for an entity. // @@ -33464,11 +33600,26 @@ const ( PolicyUsageTypePermissionsBoundary = "PermissionsBoundary" ) +// PolicyUsageType_Values returns all elements of the PolicyUsageType enum +func PolicyUsageType_Values() []string { + return []string{ + PolicyUsageTypePermissionsPolicy, + PolicyUsageTypePermissionsBoundary, + } +} + const ( // ReportFormatTypeTextCsv is a ReportFormatType enum value ReportFormatTypeTextCsv = "text/csv" ) +// ReportFormatType_Values returns all elements of the ReportFormatType enum +func ReportFormatType_Values() []string { + return []string{ + ReportFormatTypeTextCsv, + } +} + const ( // ReportStateTypeStarted is a ReportStateType enum value ReportStateTypeStarted = "STARTED" @@ -33480,6 +33631,15 @@ const ( ReportStateTypeComplete = "COMPLETE" ) +// ReportStateType_Values returns all elements of the ReportStateType enum +func ReportStateType_Values() []string { + return []string{ + ReportStateTypeStarted, + ReportStateTypeInprogress, + ReportStateTypeComplete, + } +} + const ( // SortKeyTypeServiceNamespaceAscending is a SortKeyType enum value SortKeyTypeServiceNamespaceAscending = "SERVICE_NAMESPACE_ASCENDING" @@ -33494,6 +33654,16 @@ const ( SortKeyTypeLastAuthenticatedTimeDescending = "LAST_AUTHENTICATED_TIME_DESCENDING" ) +// SortKeyType_Values returns all elements of the SortKeyType enum +func SortKeyType_Values() []string { + return []string{ + SortKeyTypeServiceNamespaceAscending, + SortKeyTypeServiceNamespaceDescending, + SortKeyTypeLastAuthenticatedTimeAscending, + SortKeyTypeLastAuthenticatedTimeDescending, + } +} + const ( // StatusTypeActive is a StatusType enum value StatusTypeActive = "Active" @@ -33502,6 +33672,14 @@ const ( StatusTypeInactive = "Inactive" ) +// StatusType_Values returns all elements of the StatusType enum +func StatusType_Values() []string { + return []string{ + StatusTypeActive, + StatusTypeInactive, + } +} + const ( // SummaryKeyTypeUsers is a SummaryKeyType enum value SummaryKeyTypeUsers = "Users" @@ -33581,3 +33759,35 @@ const ( // SummaryKeyTypeGlobalEndpointTokenVersion is a SummaryKeyType enum value SummaryKeyTypeGlobalEndpointTokenVersion = "GlobalEndpointTokenVersion" ) + +// SummaryKeyType_Values returns all elements of the SummaryKeyType enum +func SummaryKeyType_Values() []string { + return []string{ + SummaryKeyTypeUsers, + SummaryKeyTypeUsersQuota, + SummaryKeyTypeGroups, + SummaryKeyTypeGroupsQuota, + SummaryKeyTypeServerCertificates, + SummaryKeyTypeServerCertificatesQuota, + SummaryKeyTypeUserPolicySizeQuota, + SummaryKeyTypeGroupPolicySizeQuota, + SummaryKeyTypeGroupsPerUserQuota, + SummaryKeyTypeSigningCertificatesPerUserQuota, + SummaryKeyTypeAccessKeysPerUserQuota, + SummaryKeyTypeMfadevices, + SummaryKeyTypeMfadevicesInUse, + SummaryKeyTypeAccountMfaenabled, + SummaryKeyTypeAccountAccessKeysPresent, + SummaryKeyTypeAccountSigningCertificatesPresent, + SummaryKeyTypeAttachedPoliciesPerGroupQuota, + SummaryKeyTypeAttachedPoliciesPerRoleQuota, + SummaryKeyTypeAttachedPoliciesPerUserQuota, + SummaryKeyTypePolicies, + SummaryKeyTypePoliciesQuota, + SummaryKeyTypePolicySizeQuota, + SummaryKeyTypePolicyVersionsInUse, + SummaryKeyTypePolicyVersionsInUseQuota, + SummaryKeyTypeVersionsPerPolicyQuota, + SummaryKeyTypeGlobalEndpointTokenVersion, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/imagebuilder/api.go b/vendor/github.com/aws/aws-sdk-go/service/imagebuilder/api.go index d3702242c19..ea48fda27f7 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/imagebuilder/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/imagebuilder/api.go @@ -12678,6 +12678,13 @@ const ( ComponentFormatShell = "SHELL" ) +// ComponentFormat_Values returns all elements of the ComponentFormat enum +func ComponentFormat_Values() []string { + return []string{ + ComponentFormatShell, + } +} + const ( // ComponentTypeBuild is a ComponentType enum value ComponentTypeBuild = "BUILD" @@ -12686,6 +12693,14 @@ const ( ComponentTypeTest = "TEST" ) +// ComponentType_Values returns all elements of the ComponentType enum +func ComponentType_Values() []string { + return []string{ + ComponentTypeBuild, + ComponentTypeTest, + } +} + const ( // EbsVolumeTypeStandard is a EbsVolumeType enum value EbsVolumeTypeStandard = "standard" @@ -12703,6 +12718,17 @@ const ( EbsVolumeTypeSt1 = "st1" ) +// EbsVolumeType_Values returns all elements of the EbsVolumeType enum +func EbsVolumeType_Values() []string { + return []string{ + EbsVolumeTypeStandard, + EbsVolumeTypeIo1, + EbsVolumeTypeGp2, + EbsVolumeTypeSc1, + EbsVolumeTypeSt1, + } +} + const ( // ImageStatusPending is a ImageStatus enum value ImageStatusPending = "PENDING" @@ -12738,6 +12764,23 @@ const ( ImageStatusDeleted = "DELETED" ) +// ImageStatus_Values returns all elements of the ImageStatus enum +func ImageStatus_Values() []string { + return []string{ + ImageStatusPending, + ImageStatusCreating, + ImageStatusBuilding, + ImageStatusTesting, + ImageStatusDistributing, + ImageStatusIntegrating, + ImageStatusAvailable, + ImageStatusCancelled, + ImageStatusFailed, + ImageStatusDeprecated, + ImageStatusDeleted, + } +} + const ( // OwnershipSelf is a Ownership enum value OwnershipSelf = "Self" @@ -12749,6 +12792,15 @@ const ( OwnershipAmazon = "Amazon" ) +// Ownership_Values returns all elements of the Ownership enum +func Ownership_Values() []string { + return []string{ + OwnershipSelf, + OwnershipShared, + OwnershipAmazon, + } +} + const ( // PipelineExecutionStartConditionExpressionMatchOnly is a PipelineExecutionStartCondition enum value PipelineExecutionStartConditionExpressionMatchOnly = "EXPRESSION_MATCH_ONLY" @@ -12757,6 +12809,14 @@ const ( PipelineExecutionStartConditionExpressionMatchAndDependencyUpdatesAvailable = "EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE" ) +// PipelineExecutionStartCondition_Values returns all elements of the PipelineExecutionStartCondition enum +func PipelineExecutionStartCondition_Values() []string { + return []string{ + PipelineExecutionStartConditionExpressionMatchOnly, + PipelineExecutionStartConditionExpressionMatchAndDependencyUpdatesAvailable, + } +} + const ( // PipelineStatusDisabled is a PipelineStatus enum value PipelineStatusDisabled = "DISABLED" @@ -12765,6 +12825,14 @@ const ( PipelineStatusEnabled = "ENABLED" ) +// PipelineStatus_Values returns all elements of the PipelineStatus enum +func PipelineStatus_Values() []string { + return []string{ + PipelineStatusDisabled, + PipelineStatusEnabled, + } +} + const ( // PlatformWindows is a Platform enum value PlatformWindows = "Windows" @@ -12772,3 +12840,11 @@ const ( // PlatformLinux is a Platform enum value PlatformLinux = "Linux" ) + +// Platform_Values returns all elements of the Platform enum +func Platform_Values() []string { + return []string{ + PlatformWindows, + PlatformLinux, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/inspector/api.go b/vendor/github.com/aws/aws-sdk-go/service/inspector/api.go index f7e27d35cc4..bffa5642d2e 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/inspector/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/inspector/api.go @@ -10339,6 +10339,20 @@ const ( AccessDeniedErrorCodeAccessDeniedToIamRole = "ACCESS_DENIED_TO_IAM_ROLE" ) +// AccessDeniedErrorCode_Values returns all elements of the AccessDeniedErrorCode enum +func AccessDeniedErrorCode_Values() []string { + return []string{ + AccessDeniedErrorCodeAccessDeniedToAssessmentTarget, + AccessDeniedErrorCodeAccessDeniedToAssessmentTemplate, + AccessDeniedErrorCodeAccessDeniedToAssessmentRun, + AccessDeniedErrorCodeAccessDeniedToFinding, + AccessDeniedErrorCodeAccessDeniedToResourceGroup, + AccessDeniedErrorCodeAccessDeniedToRulesPackage, + AccessDeniedErrorCodeAccessDeniedToSnsTopic, + AccessDeniedErrorCodeAccessDeniedToIamRole, + } +} + const ( // AgentHealthHealthy is a AgentHealth enum value AgentHealthHealthy = "HEALTHY" @@ -10350,6 +10364,15 @@ const ( AgentHealthUnknown = "UNKNOWN" ) +// AgentHealth_Values returns all elements of the AgentHealth enum +func AgentHealth_Values() []string { + return []string{ + AgentHealthHealthy, + AgentHealthUnhealthy, + AgentHealthUnknown, + } +} + const ( // AgentHealthCodeIdle is a AgentHealthCode enum value AgentHealthCodeIdle = "IDLE" @@ -10370,6 +10393,18 @@ const ( AgentHealthCodeUnknown = "UNKNOWN" ) +// AgentHealthCode_Values returns all elements of the AgentHealthCode enum +func AgentHealthCode_Values() []string { + return []string{ + AgentHealthCodeIdle, + AgentHealthCodeRunning, + AgentHealthCodeShutdown, + AgentHealthCodeUnhealthy, + AgentHealthCodeThrottled, + AgentHealthCodeUnknown, + } +} + const ( // AssessmentRunNotificationSnsStatusCodeSuccess is a AssessmentRunNotificationSnsStatusCode enum value AssessmentRunNotificationSnsStatusCodeSuccess = "SUCCESS" @@ -10384,6 +10419,16 @@ const ( AssessmentRunNotificationSnsStatusCodeInternalError = "INTERNAL_ERROR" ) +// AssessmentRunNotificationSnsStatusCode_Values returns all elements of the AssessmentRunNotificationSnsStatusCode enum +func AssessmentRunNotificationSnsStatusCode_Values() []string { + return []string{ + AssessmentRunNotificationSnsStatusCodeSuccess, + AssessmentRunNotificationSnsStatusCodeTopicDoesNotExist, + AssessmentRunNotificationSnsStatusCodeAccessDenied, + AssessmentRunNotificationSnsStatusCodeInternalError, + } +} + const ( // AssessmentRunStateCreated is a AssessmentRunState enum value AssessmentRunStateCreated = "CREATED" @@ -10425,11 +10470,37 @@ const ( AssessmentRunStateCanceled = "CANCELED" ) +// AssessmentRunState_Values returns all elements of the AssessmentRunState enum +func AssessmentRunState_Values() []string { + return []string{ + AssessmentRunStateCreated, + AssessmentRunStateStartDataCollectionPending, + AssessmentRunStateStartDataCollectionInProgress, + AssessmentRunStateCollectingData, + AssessmentRunStateStopDataCollectionPending, + AssessmentRunStateDataCollected, + AssessmentRunStateStartEvaluatingRulesPending, + AssessmentRunStateEvaluatingRules, + AssessmentRunStateFailed, + AssessmentRunStateError, + AssessmentRunStateCompleted, + AssessmentRunStateCompletedWithErrors, + AssessmentRunStateCanceled, + } +} + const ( // AssetTypeEc2Instance is a AssetType enum value AssetTypeEc2Instance = "ec2-instance" ) +// AssetType_Values returns all elements of the AssetType enum +func AssetType_Values() []string { + return []string{ + AssetTypeEc2Instance, + } +} + const ( // EventAssessmentRunStarted is a Event enum value EventAssessmentRunStarted = "ASSESSMENT_RUN_STARTED" @@ -10447,6 +10518,17 @@ const ( EventOther = "OTHER" ) +// Event_Values returns all elements of the Event enum +func Event_Values() []string { + return []string{ + EventAssessmentRunStarted, + EventAssessmentRunCompleted, + EventAssessmentRunStateChanged, + EventFindingReported, + EventOther, + } +} + const ( // FailedItemErrorCodeInvalidArn is a FailedItemErrorCode enum value FailedItemErrorCodeInvalidArn = "INVALID_ARN" @@ -10467,6 +10549,18 @@ const ( FailedItemErrorCodeInternalError = "INTERNAL_ERROR" ) +// FailedItemErrorCode_Values returns all elements of the FailedItemErrorCode enum +func FailedItemErrorCode_Values() []string { + return []string{ + FailedItemErrorCodeInvalidArn, + FailedItemErrorCodeDuplicateArn, + FailedItemErrorCodeItemDoesNotExist, + FailedItemErrorCodeAccessDenied, + FailedItemErrorCodeLimitExceeded, + FailedItemErrorCodeInternalError, + } +} + const ( // InvalidCrossAccountRoleErrorCodeRoleDoesNotExistOrInvalidTrustRelationship is a InvalidCrossAccountRoleErrorCode enum value InvalidCrossAccountRoleErrorCodeRoleDoesNotExistOrInvalidTrustRelationship = "ROLE_DOES_NOT_EXIST_OR_INVALID_TRUST_RELATIONSHIP" @@ -10475,6 +10569,14 @@ const ( InvalidCrossAccountRoleErrorCodeRoleDoesNotHaveCorrectPolicy = "ROLE_DOES_NOT_HAVE_CORRECT_POLICY" ) +// InvalidCrossAccountRoleErrorCode_Values returns all elements of the InvalidCrossAccountRoleErrorCode enum +func InvalidCrossAccountRoleErrorCode_Values() []string { + return []string{ + InvalidCrossAccountRoleErrorCodeRoleDoesNotExistOrInvalidTrustRelationship, + InvalidCrossAccountRoleErrorCodeRoleDoesNotHaveCorrectPolicy, + } +} + const ( // InvalidInputErrorCodeInvalidAssessmentTargetArn is a InvalidInputErrorCode enum value InvalidInputErrorCodeInvalidAssessmentTargetArn = "INVALID_ASSESSMENT_TARGET_ARN" @@ -10639,6 +10741,66 @@ const ( InvalidInputErrorCodeInvalidNumberOfSeverities = "INVALID_NUMBER_OF_SEVERITIES" ) +// InvalidInputErrorCode_Values returns all elements of the InvalidInputErrorCode enum +func InvalidInputErrorCode_Values() []string { + return []string{ + InvalidInputErrorCodeInvalidAssessmentTargetArn, + InvalidInputErrorCodeInvalidAssessmentTemplateArn, + InvalidInputErrorCodeInvalidAssessmentRunArn, + InvalidInputErrorCodeInvalidFindingArn, + InvalidInputErrorCodeInvalidResourceGroupArn, + InvalidInputErrorCodeInvalidRulesPackageArn, + InvalidInputErrorCodeInvalidResourceArn, + InvalidInputErrorCodeInvalidSnsTopicArn, + InvalidInputErrorCodeInvalidIamRoleArn, + InvalidInputErrorCodeInvalidAssessmentTargetName, + InvalidInputErrorCodeInvalidAssessmentTargetNamePattern, + InvalidInputErrorCodeInvalidAssessmentTemplateName, + InvalidInputErrorCodeInvalidAssessmentTemplateNamePattern, + InvalidInputErrorCodeInvalidAssessmentTemplateDuration, + InvalidInputErrorCodeInvalidAssessmentTemplateDurationRange, + InvalidInputErrorCodeInvalidAssessmentRunDurationRange, + InvalidInputErrorCodeInvalidAssessmentRunStartTimeRange, + InvalidInputErrorCodeInvalidAssessmentRunCompletionTimeRange, + InvalidInputErrorCodeInvalidAssessmentRunStateChangeTimeRange, + InvalidInputErrorCodeInvalidAssessmentRunState, + InvalidInputErrorCodeInvalidTag, + InvalidInputErrorCodeInvalidTagKey, + InvalidInputErrorCodeInvalidTagValue, + InvalidInputErrorCodeInvalidResourceGroupTagKey, + InvalidInputErrorCodeInvalidResourceGroupTagValue, + InvalidInputErrorCodeInvalidAttribute, + InvalidInputErrorCodeInvalidUserAttribute, + InvalidInputErrorCodeInvalidUserAttributeKey, + InvalidInputErrorCodeInvalidUserAttributeValue, + InvalidInputErrorCodeInvalidPaginationToken, + InvalidInputErrorCodeInvalidMaxResults, + InvalidInputErrorCodeInvalidAgentId, + InvalidInputErrorCodeInvalidAutoScalingGroup, + InvalidInputErrorCodeInvalidRuleName, + InvalidInputErrorCodeInvalidSeverity, + InvalidInputErrorCodeInvalidLocale, + InvalidInputErrorCodeInvalidEvent, + InvalidInputErrorCodeAssessmentTargetNameAlreadyTaken, + InvalidInputErrorCodeAssessmentTemplateNameAlreadyTaken, + InvalidInputErrorCodeInvalidNumberOfAssessmentTargetArns, + InvalidInputErrorCodeInvalidNumberOfAssessmentTemplateArns, + InvalidInputErrorCodeInvalidNumberOfAssessmentRunArns, + InvalidInputErrorCodeInvalidNumberOfFindingArns, + InvalidInputErrorCodeInvalidNumberOfResourceGroupArns, + InvalidInputErrorCodeInvalidNumberOfRulesPackageArns, + InvalidInputErrorCodeInvalidNumberOfAssessmentRunStates, + InvalidInputErrorCodeInvalidNumberOfTags, + InvalidInputErrorCodeInvalidNumberOfResourceGroupTags, + InvalidInputErrorCodeInvalidNumberOfAttributes, + InvalidInputErrorCodeInvalidNumberOfUserAttributes, + InvalidInputErrorCodeInvalidNumberOfAgentIds, + InvalidInputErrorCodeInvalidNumberOfAutoScalingGroups, + InvalidInputErrorCodeInvalidNumberOfRuleNames, + InvalidInputErrorCodeInvalidNumberOfSeverities, + } +} + const ( // LimitExceededErrorCodeAssessmentTargetLimitExceeded is a LimitExceededErrorCode enum value LimitExceededErrorCodeAssessmentTargetLimitExceeded = "ASSESSMENT_TARGET_LIMIT_EXCEEDED" @@ -10656,11 +10818,29 @@ const ( LimitExceededErrorCodeEventSubscriptionLimitExceeded = "EVENT_SUBSCRIPTION_LIMIT_EXCEEDED" ) +// LimitExceededErrorCode_Values returns all elements of the LimitExceededErrorCode enum +func LimitExceededErrorCode_Values() []string { + return []string{ + LimitExceededErrorCodeAssessmentTargetLimitExceeded, + LimitExceededErrorCodeAssessmentTemplateLimitExceeded, + LimitExceededErrorCodeAssessmentRunLimitExceeded, + LimitExceededErrorCodeResourceGroupLimitExceeded, + LimitExceededErrorCodeEventSubscriptionLimitExceeded, + } +} + const ( // LocaleEnUs is a Locale enum value LocaleEnUs = "EN_US" ) +// Locale_Values returns all elements of the Locale enum +func Locale_Values() []string { + return []string{ + LocaleEnUs, + } +} + const ( // NoSuchEntityErrorCodeAssessmentTargetDoesNotExist is a NoSuchEntityErrorCode enum value NoSuchEntityErrorCodeAssessmentTargetDoesNotExist = "ASSESSMENT_TARGET_DOES_NOT_EXIST" @@ -10687,6 +10867,20 @@ const ( NoSuchEntityErrorCodeIamRoleDoesNotExist = "IAM_ROLE_DOES_NOT_EXIST" ) +// NoSuchEntityErrorCode_Values returns all elements of the NoSuchEntityErrorCode enum +func NoSuchEntityErrorCode_Values() []string { + return []string{ + NoSuchEntityErrorCodeAssessmentTargetDoesNotExist, + NoSuchEntityErrorCodeAssessmentTemplateDoesNotExist, + NoSuchEntityErrorCodeAssessmentRunDoesNotExist, + NoSuchEntityErrorCodeFindingDoesNotExist, + NoSuchEntityErrorCodeResourceGroupDoesNotExist, + NoSuchEntityErrorCodeRulesPackageDoesNotExist, + NoSuchEntityErrorCodeSnsTopicDoesNotExist, + NoSuchEntityErrorCodeIamRoleDoesNotExist, + } +} + const ( // PreviewStatusWorkInProgress is a PreviewStatus enum value PreviewStatusWorkInProgress = "WORK_IN_PROGRESS" @@ -10695,6 +10889,14 @@ const ( PreviewStatusCompleted = "COMPLETED" ) +// PreviewStatus_Values returns all elements of the PreviewStatus enum +func PreviewStatus_Values() []string { + return []string{ + PreviewStatusWorkInProgress, + PreviewStatusCompleted, + } +} + const ( // ReportFileFormatHtml is a ReportFileFormat enum value ReportFileFormatHtml = "HTML" @@ -10703,6 +10905,14 @@ const ( ReportFileFormatPdf = "PDF" ) +// ReportFileFormat_Values returns all elements of the ReportFileFormat enum +func ReportFileFormat_Values() []string { + return []string{ + ReportFileFormatHtml, + ReportFileFormatPdf, + } +} + const ( // ReportStatusWorkInProgress is a ReportStatus enum value ReportStatusWorkInProgress = "WORK_IN_PROGRESS" @@ -10714,6 +10924,15 @@ const ( ReportStatusCompleted = "COMPLETED" ) +// ReportStatus_Values returns all elements of the ReportStatus enum +func ReportStatus_Values() []string { + return []string{ + ReportStatusWorkInProgress, + ReportStatusFailed, + ReportStatusCompleted, + } +} + const ( // ReportTypeFinding is a ReportType enum value ReportTypeFinding = "FINDING" @@ -10722,6 +10941,14 @@ const ( ReportTypeFull = "FULL" ) +// ReportType_Values returns all elements of the ReportType enum +func ReportType_Values() []string { + return []string{ + ReportTypeFinding, + ReportTypeFull, + } +} + const ( // ScopeTypeInstanceId is a ScopeType enum value ScopeTypeInstanceId = "INSTANCE_ID" @@ -10730,6 +10957,14 @@ const ( ScopeTypeRulesPackageArn = "RULES_PACKAGE_ARN" ) +// ScopeType_Values returns all elements of the ScopeType enum +func ScopeType_Values() []string { + return []string{ + ScopeTypeInstanceId, + ScopeTypeRulesPackageArn, + } +} + const ( // SeverityLow is a Severity enum value SeverityLow = "Low" @@ -10747,6 +10982,17 @@ const ( SeverityUndefined = "Undefined" ) +// Severity_Values returns all elements of the Severity enum +func Severity_Values() []string { + return []string{ + SeverityLow, + SeverityMedium, + SeverityHigh, + SeverityInformational, + SeverityUndefined, + } +} + const ( // StopActionStartEvaluation is a StopAction enum value StopActionStartEvaluation = "START_EVALUATION" @@ -10754,3 +11000,11 @@ const ( // StopActionSkipEvaluation is a StopAction enum value StopActionSkipEvaluation = "SKIP_EVALUATION" ) + +// StopAction_Values returns all elements of the StopAction enum +func StopAction_Values() []string { + return []string{ + StopActionStartEvaluation, + StopActionSkipEvaluation, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/iot/api.go b/vendor/github.com/aws/aws-sdk-go/service/iot/api.go index 3c1e3322532..0c4177de470 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/iot/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/iot/api.go @@ -1417,6 +1417,95 @@ func (c *IoT) ConfirmTopicRuleDestinationWithContext(ctx aws.Context, input *Con return out, req.Send() } +const opCreateAuditSuppression = "CreateAuditSuppression" + +// CreateAuditSuppressionRequest generates a "aws/request.Request" representing the +// client's request for the CreateAuditSuppression operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateAuditSuppression for more information on using the CreateAuditSuppression +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the CreateAuditSuppressionRequest method. +// req, resp := client.CreateAuditSuppressionRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *IoT) CreateAuditSuppressionRequest(input *CreateAuditSuppressionInput) (req *request.Request, output *CreateAuditSuppressionOutput) { + op := &request.Operation{ + Name: opCreateAuditSuppression, + HTTPMethod: "POST", + HTTPPath: "/audit/suppressions/create", + } + + if input == nil { + input = &CreateAuditSuppressionInput{} + } + + output = &CreateAuditSuppressionOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// CreateAuditSuppression API operation for AWS IoT. +// +// Creates a Device Defender audit suppression. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS IoT's +// API operation CreateAuditSuppression for usage and error information. +// +// Returned Error Types: +// * InvalidRequestException +// The request is not valid. +// +// * ResourceAlreadyExistsException +// The resource already exists. +// +// * ThrottlingException +// The rate exceeds the limit. +// +// * InternalFailureException +// An unexpected error has occurred. +// +// * LimitExceededException +// A limit has been exceeded. +// +func (c *IoT) CreateAuditSuppression(input *CreateAuditSuppressionInput) (*CreateAuditSuppressionOutput, error) { + req, out := c.CreateAuditSuppressionRequest(input) + return out, req.Send() +} + +// CreateAuditSuppressionWithContext is the same as CreateAuditSuppression with the addition of +// the ability to pass a context and additional request options. +// +// See CreateAuditSuppression for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) CreateAuditSuppressionWithContext(ctx aws.Context, input *CreateAuditSuppressionInput, opts ...request.Option) (*CreateAuditSuppressionOutput, error) { + req, out := c.CreateAuditSuppressionRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opCreateAuthorizer = "CreateAuthorizer" // CreateAuthorizerRequest generates a "aws/request.Request" representing the @@ -2236,6 +2325,8 @@ func (c *IoT) CreateMitigationActionRequest(input *CreateMitigationActionInput) // CreateMitigationAction API operation for AWS IoT. // // Defines an action that can be applied to audit findings by using StartAuditMitigationActionsTask. +// Only certain types of mitigation actions can be applied to specific check +// names. For more information, see Mitigation actions (https://docs.aws.amazon.com/iot/latest/developerguide/device-defender-mitigation-actions.html). // Each mitigation action can apply only one type of change. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -3776,6 +3867,89 @@ func (c *IoT) DeleteAccountAuditConfigurationWithContext(ctx aws.Context, input return out, req.Send() } +const opDeleteAuditSuppression = "DeleteAuditSuppression" + +// DeleteAuditSuppressionRequest generates a "aws/request.Request" representing the +// client's request for the DeleteAuditSuppression operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteAuditSuppression for more information on using the DeleteAuditSuppression +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeleteAuditSuppressionRequest method. +// req, resp := client.DeleteAuditSuppressionRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *IoT) DeleteAuditSuppressionRequest(input *DeleteAuditSuppressionInput) (req *request.Request, output *DeleteAuditSuppressionOutput) { + op := &request.Operation{ + Name: opDeleteAuditSuppression, + HTTPMethod: "POST", + HTTPPath: "/audit/suppressions/delete", + } + + if input == nil { + input = &DeleteAuditSuppressionInput{} + } + + output = &DeleteAuditSuppressionOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// DeleteAuditSuppression API operation for AWS IoT. +// +// Deletes a Device Defender audit suppression. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS IoT's +// API operation DeleteAuditSuppression for usage and error information. +// +// Returned Error Types: +// * InvalidRequestException +// The request is not valid. +// +// * ThrottlingException +// The rate exceeds the limit. +// +// * InternalFailureException +// An unexpected error has occurred. +// +func (c *IoT) DeleteAuditSuppression(input *DeleteAuditSuppressionInput) (*DeleteAuditSuppressionOutput, error) { + req, out := c.DeleteAuditSuppressionRequest(input) + return out, req.Send() +} + +// DeleteAuditSuppressionWithContext is the same as DeleteAuditSuppression with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteAuditSuppression for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) DeleteAuditSuppressionWithContext(ctx aws.Context, input *DeleteAuditSuppressionInput, opts ...request.Option) (*DeleteAuditSuppressionOutput, error) { + req, out := c.DeleteAuditSuppressionRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDeleteAuthorizer = "DeleteAuthorizer" // DeleteAuthorizerRequest generates a "aws/request.Request" representing the @@ -6524,6 +6698,91 @@ func (c *IoT) DescribeAuditMitigationActionsTaskWithContext(ctx aws.Context, inp return out, req.Send() } +const opDescribeAuditSuppression = "DescribeAuditSuppression" + +// DescribeAuditSuppressionRequest generates a "aws/request.Request" representing the +// client's request for the DescribeAuditSuppression operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeAuditSuppression for more information on using the DescribeAuditSuppression +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DescribeAuditSuppressionRequest method. +// req, resp := client.DescribeAuditSuppressionRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *IoT) DescribeAuditSuppressionRequest(input *DescribeAuditSuppressionInput) (req *request.Request, output *DescribeAuditSuppressionOutput) { + op := &request.Operation{ + Name: opDescribeAuditSuppression, + HTTPMethod: "POST", + HTTPPath: "/audit/suppressions/describe", + } + + if input == nil { + input = &DescribeAuditSuppressionInput{} + } + + output = &DescribeAuditSuppressionOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeAuditSuppression API operation for AWS IoT. +// +// Gets information about a Device Defender audit suppression. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS IoT's +// API operation DescribeAuditSuppression for usage and error information. +// +// Returned Error Types: +// * InvalidRequestException +// The request is not valid. +// +// * ResourceNotFoundException +// The specified resource does not exist. +// +// * ThrottlingException +// The rate exceeds the limit. +// +// * InternalFailureException +// An unexpected error has occurred. +// +func (c *IoT) DescribeAuditSuppression(input *DescribeAuditSuppressionInput) (*DescribeAuditSuppressionOutput, error) { + req, out := c.DescribeAuditSuppressionRequest(input) + return out, req.Send() +} + +// DescribeAuditSuppressionWithContext is the same as DescribeAuditSuppression with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeAuditSuppression for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) DescribeAuditSuppressionWithContext(ctx aws.Context, input *DescribeAuditSuppressionInput, opts ...request.Option) (*DescribeAuditSuppressionOutput, error) { + req, out := c.DescribeAuditSuppressionRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDescribeAuditTask = "DescribeAuditTask" // DescribeAuditTaskRequest generates a "aws/request.Request" representing the @@ -10494,6 +10753,12 @@ func (c *IoT) ListActiveViolationsRequest(input *ListActiveViolationsInput) (req Name: opListActiveViolations, HTTPMethod: "GET", HTTPPath: "/active-violations", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { @@ -10550,6 +10815,58 @@ func (c *IoT) ListActiveViolationsWithContext(ctx aws.Context, input *ListActive return out, req.Send() } +// ListActiveViolationsPages iterates over the pages of a ListActiveViolations operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListActiveViolations method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListActiveViolations operation. +// pageNum := 0 +// err := client.ListActiveViolationsPages(params, +// func(page *iot.ListActiveViolationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *IoT) ListActiveViolationsPages(input *ListActiveViolationsInput, fn func(*ListActiveViolationsOutput, bool) bool) error { + return c.ListActiveViolationsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListActiveViolationsPagesWithContext same as ListActiveViolationsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListActiveViolationsPagesWithContext(ctx aws.Context, input *ListActiveViolationsInput, fn func(*ListActiveViolationsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListActiveViolationsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListActiveViolationsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListActiveViolationsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListAttachedPolicies = "ListAttachedPolicies" // ListAttachedPoliciesRequest generates a "aws/request.Request" representing the @@ -10579,6 +10896,12 @@ func (c *IoT) ListAttachedPoliciesRequest(input *ListAttachedPoliciesInput) (req Name: opListAttachedPolicies, HTTPMethod: "POST", HTTPPath: "/attached-policies/{target}", + Paginator: &request.Paginator{ + InputTokens: []string{"marker"}, + OutputTokens: []string{"nextMarker"}, + LimitToken: "pageSize", + TruncationToken: "", + }, } if input == nil { @@ -10644,6 +10967,58 @@ func (c *IoT) ListAttachedPoliciesWithContext(ctx aws.Context, input *ListAttach return out, req.Send() } +// ListAttachedPoliciesPages iterates over the pages of a ListAttachedPolicies operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListAttachedPolicies method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListAttachedPolicies operation. +// pageNum := 0 +// err := client.ListAttachedPoliciesPages(params, +// func(page *iot.ListAttachedPoliciesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *IoT) ListAttachedPoliciesPages(input *ListAttachedPoliciesInput, fn func(*ListAttachedPoliciesOutput, bool) bool) error { + return c.ListAttachedPoliciesPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListAttachedPoliciesPagesWithContext same as ListAttachedPoliciesPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListAttachedPoliciesPagesWithContext(ctx aws.Context, input *ListAttachedPoliciesInput, fn func(*ListAttachedPoliciesOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListAttachedPoliciesInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListAttachedPoliciesRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListAttachedPoliciesOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListAuditFindings = "ListAuditFindings" // ListAuditFindingsRequest generates a "aws/request.Request" representing the @@ -10673,6 +11048,12 @@ func (c *IoT) ListAuditFindingsRequest(input *ListAuditFindingsInput) (req *requ Name: opListAuditFindings, HTTPMethod: "POST", HTTPPath: "/audit/findings", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { @@ -10728,6 +11109,58 @@ func (c *IoT) ListAuditFindingsWithContext(ctx aws.Context, input *ListAuditFind return out, req.Send() } +// ListAuditFindingsPages iterates over the pages of a ListAuditFindings operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListAuditFindings method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListAuditFindings operation. +// pageNum := 0 +// err := client.ListAuditFindingsPages(params, +// func(page *iot.ListAuditFindingsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *IoT) ListAuditFindingsPages(input *ListAuditFindingsInput, fn func(*ListAuditFindingsOutput, bool) bool) error { + return c.ListAuditFindingsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListAuditFindingsPagesWithContext same as ListAuditFindingsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListAuditFindingsPagesWithContext(ctx aws.Context, input *ListAuditFindingsInput, fn func(*ListAuditFindingsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListAuditFindingsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListAuditFindingsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListAuditFindingsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListAuditMitigationActionsExecutions = "ListAuditMitigationActionsExecutions" // ListAuditMitigationActionsExecutionsRequest generates a "aws/request.Request" representing the @@ -10757,6 +11190,12 @@ func (c *IoT) ListAuditMitigationActionsExecutionsRequest(input *ListAuditMitiga Name: opListAuditMitigationActionsExecutions, HTTPMethod: "GET", HTTPPath: "/audit/mitigationactions/executions", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { @@ -10810,6 +11249,58 @@ func (c *IoT) ListAuditMitigationActionsExecutionsWithContext(ctx aws.Context, i return out, req.Send() } +// ListAuditMitigationActionsExecutionsPages iterates over the pages of a ListAuditMitigationActionsExecutions operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListAuditMitigationActionsExecutions method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListAuditMitigationActionsExecutions operation. +// pageNum := 0 +// err := client.ListAuditMitigationActionsExecutionsPages(params, +// func(page *iot.ListAuditMitigationActionsExecutionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *IoT) ListAuditMitigationActionsExecutionsPages(input *ListAuditMitigationActionsExecutionsInput, fn func(*ListAuditMitigationActionsExecutionsOutput, bool) bool) error { + return c.ListAuditMitigationActionsExecutionsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListAuditMitigationActionsExecutionsPagesWithContext same as ListAuditMitigationActionsExecutionsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListAuditMitigationActionsExecutionsPagesWithContext(ctx aws.Context, input *ListAuditMitigationActionsExecutionsInput, fn func(*ListAuditMitigationActionsExecutionsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListAuditMitigationActionsExecutionsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListAuditMitigationActionsExecutionsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListAuditMitigationActionsExecutionsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListAuditMitigationActionsTasks = "ListAuditMitigationActionsTasks" // ListAuditMitigationActionsTasksRequest generates a "aws/request.Request" representing the @@ -10839,6 +11330,12 @@ func (c *IoT) ListAuditMitigationActionsTasksRequest(input *ListAuditMitigationA Name: opListAuditMitigationActionsTasks, HTTPMethod: "GET", HTTPPath: "/audit/mitigationactions/tasks", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { @@ -10892,6 +11389,198 @@ func (c *IoT) ListAuditMitigationActionsTasksWithContext(ctx aws.Context, input return out, req.Send() } +// ListAuditMitigationActionsTasksPages iterates over the pages of a ListAuditMitigationActionsTasks operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListAuditMitigationActionsTasks method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListAuditMitigationActionsTasks operation. +// pageNum := 0 +// err := client.ListAuditMitigationActionsTasksPages(params, +// func(page *iot.ListAuditMitigationActionsTasksOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *IoT) ListAuditMitigationActionsTasksPages(input *ListAuditMitigationActionsTasksInput, fn func(*ListAuditMitigationActionsTasksOutput, bool) bool) error { + return c.ListAuditMitigationActionsTasksPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListAuditMitigationActionsTasksPagesWithContext same as ListAuditMitigationActionsTasksPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListAuditMitigationActionsTasksPagesWithContext(ctx aws.Context, input *ListAuditMitigationActionsTasksInput, fn func(*ListAuditMitigationActionsTasksOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListAuditMitigationActionsTasksInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListAuditMitigationActionsTasksRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListAuditMitigationActionsTasksOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListAuditSuppressions = "ListAuditSuppressions" + +// ListAuditSuppressionsRequest generates a "aws/request.Request" representing the +// client's request for the ListAuditSuppressions operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListAuditSuppressions for more information on using the ListAuditSuppressions +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListAuditSuppressionsRequest method. +// req, resp := client.ListAuditSuppressionsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *IoT) ListAuditSuppressionsRequest(input *ListAuditSuppressionsInput) (req *request.Request, output *ListAuditSuppressionsOutput) { + op := &request.Operation{ + Name: opListAuditSuppressions, + HTTPMethod: "POST", + HTTPPath: "/audit/suppressions/list", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListAuditSuppressionsInput{} + } + + output = &ListAuditSuppressionsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListAuditSuppressions API operation for AWS IoT. +// +// Lists your Device Defender audit listings. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS IoT's +// API operation ListAuditSuppressions for usage and error information. +// +// Returned Error Types: +// * InvalidRequestException +// The request is not valid. +// +// * ThrottlingException +// The rate exceeds the limit. +// +// * InternalFailureException +// An unexpected error has occurred. +// +func (c *IoT) ListAuditSuppressions(input *ListAuditSuppressionsInput) (*ListAuditSuppressionsOutput, error) { + req, out := c.ListAuditSuppressionsRequest(input) + return out, req.Send() +} + +// ListAuditSuppressionsWithContext is the same as ListAuditSuppressions with the addition of +// the ability to pass a context and additional request options. +// +// See ListAuditSuppressions for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListAuditSuppressionsWithContext(ctx aws.Context, input *ListAuditSuppressionsInput, opts ...request.Option) (*ListAuditSuppressionsOutput, error) { + req, out := c.ListAuditSuppressionsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListAuditSuppressionsPages iterates over the pages of a ListAuditSuppressions operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListAuditSuppressions method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListAuditSuppressions operation. +// pageNum := 0 +// err := client.ListAuditSuppressionsPages(params, +// func(page *iot.ListAuditSuppressionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *IoT) ListAuditSuppressionsPages(input *ListAuditSuppressionsInput, fn func(*ListAuditSuppressionsOutput, bool) bool) error { + return c.ListAuditSuppressionsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListAuditSuppressionsPagesWithContext same as ListAuditSuppressionsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListAuditSuppressionsPagesWithContext(ctx aws.Context, input *ListAuditSuppressionsInput, fn func(*ListAuditSuppressionsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListAuditSuppressionsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListAuditSuppressionsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListAuditSuppressionsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListAuditTasks = "ListAuditTasks" // ListAuditTasksRequest generates a "aws/request.Request" representing the @@ -10921,6 +11610,12 @@ func (c *IoT) ListAuditTasksRequest(input *ListAuditTasksInput) (req *request.Re Name: opListAuditTasks, HTTPMethod: "GET", HTTPPath: "/audit/tasks", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { @@ -10975,6 +11670,58 @@ func (c *IoT) ListAuditTasksWithContext(ctx aws.Context, input *ListAuditTasksIn return out, req.Send() } +// ListAuditTasksPages iterates over the pages of a ListAuditTasks operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListAuditTasks method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListAuditTasks operation. +// pageNum := 0 +// err := client.ListAuditTasksPages(params, +// func(page *iot.ListAuditTasksOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *IoT) ListAuditTasksPages(input *ListAuditTasksInput, fn func(*ListAuditTasksOutput, bool) bool) error { + return c.ListAuditTasksPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListAuditTasksPagesWithContext same as ListAuditTasksPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListAuditTasksPagesWithContext(ctx aws.Context, input *ListAuditTasksInput, fn func(*ListAuditTasksOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListAuditTasksInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListAuditTasksRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListAuditTasksOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListAuthorizers = "ListAuthorizers" // ListAuthorizersRequest generates a "aws/request.Request" representing the @@ -11004,6 +11751,12 @@ func (c *IoT) ListAuthorizersRequest(input *ListAuthorizersInput) (req *request. Name: opListAuthorizers, HTTPMethod: "GET", HTTPPath: "/authorizers/", + Paginator: &request.Paginator{ + InputTokens: []string{"marker"}, + OutputTokens: []string{"nextMarker"}, + LimitToken: "pageSize", + TruncationToken: "", + }, } if input == nil { @@ -11063,6 +11816,58 @@ func (c *IoT) ListAuthorizersWithContext(ctx aws.Context, input *ListAuthorizers return out, req.Send() } +// ListAuthorizersPages iterates over the pages of a ListAuthorizers operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListAuthorizers method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListAuthorizers operation. +// pageNum := 0 +// err := client.ListAuthorizersPages(params, +// func(page *iot.ListAuthorizersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *IoT) ListAuthorizersPages(input *ListAuthorizersInput, fn func(*ListAuthorizersOutput, bool) bool) error { + return c.ListAuthorizersPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListAuthorizersPagesWithContext same as ListAuthorizersPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListAuthorizersPagesWithContext(ctx aws.Context, input *ListAuthorizersInput, fn func(*ListAuthorizersOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListAuthorizersInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListAuthorizersRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListAuthorizersOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListBillingGroups = "ListBillingGroups" // ListBillingGroupsRequest generates a "aws/request.Request" representing the @@ -11092,6 +11897,12 @@ func (c *IoT) ListBillingGroupsRequest(input *ListBillingGroupsInput) (req *requ Name: opListBillingGroups, HTTPMethod: "GET", HTTPPath: "/billing-groups", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { @@ -11148,6 +11959,58 @@ func (c *IoT) ListBillingGroupsWithContext(ctx aws.Context, input *ListBillingGr return out, req.Send() } +// ListBillingGroupsPages iterates over the pages of a ListBillingGroups operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListBillingGroups method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListBillingGroups operation. +// pageNum := 0 +// err := client.ListBillingGroupsPages(params, +// func(page *iot.ListBillingGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *IoT) ListBillingGroupsPages(input *ListBillingGroupsInput, fn func(*ListBillingGroupsOutput, bool) bool) error { + return c.ListBillingGroupsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListBillingGroupsPagesWithContext same as ListBillingGroupsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListBillingGroupsPagesWithContext(ctx aws.Context, input *ListBillingGroupsInput, fn func(*ListBillingGroupsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListBillingGroupsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListBillingGroupsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListBillingGroupsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListCACertificates = "ListCACertificates" // ListCACertificatesRequest generates a "aws/request.Request" representing the @@ -11177,6 +12040,12 @@ func (c *IoT) ListCACertificatesRequest(input *ListCACertificatesInput) (req *re Name: opListCACertificates, HTTPMethod: "GET", HTTPPath: "/cacertificates", + Paginator: &request.Paginator{ + InputTokens: []string{"marker"}, + OutputTokens: []string{"nextMarker"}, + LimitToken: "pageSize", + TruncationToken: "", + }, } if input == nil { @@ -11239,6 +12108,58 @@ func (c *IoT) ListCACertificatesWithContext(ctx aws.Context, input *ListCACertif return out, req.Send() } +// ListCACertificatesPages iterates over the pages of a ListCACertificates operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListCACertificates method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListCACertificates operation. +// pageNum := 0 +// err := client.ListCACertificatesPages(params, +// func(page *iot.ListCACertificatesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *IoT) ListCACertificatesPages(input *ListCACertificatesInput, fn func(*ListCACertificatesOutput, bool) bool) error { + return c.ListCACertificatesPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListCACertificatesPagesWithContext same as ListCACertificatesPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListCACertificatesPagesWithContext(ctx aws.Context, input *ListCACertificatesInput, fn func(*ListCACertificatesOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListCACertificatesInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListCACertificatesRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListCACertificatesOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListCertificates = "ListCertificates" // ListCertificatesRequest generates a "aws/request.Request" representing the @@ -11268,6 +12189,12 @@ func (c *IoT) ListCertificatesRequest(input *ListCertificatesInput) (req *reques Name: opListCertificates, HTTPMethod: "GET", HTTPPath: "/certificates", + Paginator: &request.Paginator{ + InputTokens: []string{"marker"}, + OutputTokens: []string{"nextMarker"}, + LimitToken: "pageSize", + TruncationToken: "", + }, } if input == nil { @@ -11330,6 +12257,58 @@ func (c *IoT) ListCertificatesWithContext(ctx aws.Context, input *ListCertificat return out, req.Send() } +// ListCertificatesPages iterates over the pages of a ListCertificates operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListCertificates method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListCertificates operation. +// pageNum := 0 +// err := client.ListCertificatesPages(params, +// func(page *iot.ListCertificatesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *IoT) ListCertificatesPages(input *ListCertificatesInput, fn func(*ListCertificatesOutput, bool) bool) error { + return c.ListCertificatesPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListCertificatesPagesWithContext same as ListCertificatesPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListCertificatesPagesWithContext(ctx aws.Context, input *ListCertificatesInput, fn func(*ListCertificatesOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListCertificatesInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListCertificatesRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListCertificatesOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListCertificatesByCA = "ListCertificatesByCA" // ListCertificatesByCARequest generates a "aws/request.Request" representing the @@ -11359,6 +12338,12 @@ func (c *IoT) ListCertificatesByCARequest(input *ListCertificatesByCAInput) (req Name: opListCertificatesByCA, HTTPMethod: "GET", HTTPPath: "/certificates-by-ca/{caCertificateId}", + Paginator: &request.Paginator{ + InputTokens: []string{"marker"}, + OutputTokens: []string{"nextMarker"}, + LimitToken: "pageSize", + TruncationToken: "", + }, } if input == nil { @@ -11418,6 +12403,58 @@ func (c *IoT) ListCertificatesByCAWithContext(ctx aws.Context, input *ListCertif return out, req.Send() } +// ListCertificatesByCAPages iterates over the pages of a ListCertificatesByCA operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListCertificatesByCA method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListCertificatesByCA operation. +// pageNum := 0 +// err := client.ListCertificatesByCAPages(params, +// func(page *iot.ListCertificatesByCAOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *IoT) ListCertificatesByCAPages(input *ListCertificatesByCAInput, fn func(*ListCertificatesByCAOutput, bool) bool) error { + return c.ListCertificatesByCAPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListCertificatesByCAPagesWithContext same as ListCertificatesByCAPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListCertificatesByCAPagesWithContext(ctx aws.Context, input *ListCertificatesByCAInput, fn func(*ListCertificatesByCAOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListCertificatesByCAInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListCertificatesByCARequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListCertificatesByCAOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListDimensions = "ListDimensions" // ListDimensionsRequest generates a "aws/request.Request" representing the @@ -11447,6 +12484,12 @@ func (c *IoT) ListDimensionsRequest(input *ListDimensionsInput) (req *request.Re Name: opListDimensions, HTTPMethod: "GET", HTTPPath: "/dimensions", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { @@ -11500,6 +12543,58 @@ func (c *IoT) ListDimensionsWithContext(ctx aws.Context, input *ListDimensionsIn return out, req.Send() } +// ListDimensionsPages iterates over the pages of a ListDimensions operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListDimensions method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListDimensions operation. +// pageNum := 0 +// err := client.ListDimensionsPages(params, +// func(page *iot.ListDimensionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *IoT) ListDimensionsPages(input *ListDimensionsInput, fn func(*ListDimensionsOutput, bool) bool) error { + return c.ListDimensionsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListDimensionsPagesWithContext same as ListDimensionsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListDimensionsPagesWithContext(ctx aws.Context, input *ListDimensionsInput, fn func(*ListDimensionsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListDimensionsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListDimensionsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListDimensionsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListDomainConfigurations = "ListDomainConfigurations" // ListDomainConfigurationsRequest generates a "aws/request.Request" representing the @@ -11529,6 +12624,12 @@ func (c *IoT) ListDomainConfigurationsRequest(input *ListDomainConfigurationsInp Name: opListDomainConfigurations, HTTPMethod: "GET", HTTPPath: "/domainConfigurations", + Paginator: &request.Paginator{ + InputTokens: []string{"marker"}, + OutputTokens: []string{"nextMarker"}, + LimitToken: "pageSize", + TruncationToken: "", + }, } if input == nil { @@ -11591,6 +12692,58 @@ func (c *IoT) ListDomainConfigurationsWithContext(ctx aws.Context, input *ListDo return out, req.Send() } +// ListDomainConfigurationsPages iterates over the pages of a ListDomainConfigurations operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListDomainConfigurations method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListDomainConfigurations operation. +// pageNum := 0 +// err := client.ListDomainConfigurationsPages(params, +// func(page *iot.ListDomainConfigurationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *IoT) ListDomainConfigurationsPages(input *ListDomainConfigurationsInput, fn func(*ListDomainConfigurationsOutput, bool) bool) error { + return c.ListDomainConfigurationsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListDomainConfigurationsPagesWithContext same as ListDomainConfigurationsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListDomainConfigurationsPagesWithContext(ctx aws.Context, input *ListDomainConfigurationsInput, fn func(*ListDomainConfigurationsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListDomainConfigurationsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListDomainConfigurationsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListDomainConfigurationsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListIndices = "ListIndices" // ListIndicesRequest generates a "aws/request.Request" representing the @@ -11620,6 +12773,12 @@ func (c *IoT) ListIndicesRequest(input *ListIndicesInput) (req *request.Request, Name: opListIndices, HTTPMethod: "GET", HTTPPath: "/indices", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { @@ -11679,6 +12838,58 @@ func (c *IoT) ListIndicesWithContext(ctx aws.Context, input *ListIndicesInput, o return out, req.Send() } +// ListIndicesPages iterates over the pages of a ListIndices operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListIndices method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListIndices operation. +// pageNum := 0 +// err := client.ListIndicesPages(params, +// func(page *iot.ListIndicesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *IoT) ListIndicesPages(input *ListIndicesInput, fn func(*ListIndicesOutput, bool) bool) error { + return c.ListIndicesPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListIndicesPagesWithContext same as ListIndicesPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListIndicesPagesWithContext(ctx aws.Context, input *ListIndicesInput, fn func(*ListIndicesOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListIndicesInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListIndicesRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListIndicesOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListJobExecutionsForJob = "ListJobExecutionsForJob" // ListJobExecutionsForJobRequest generates a "aws/request.Request" representing the @@ -11708,6 +12919,12 @@ func (c *IoT) ListJobExecutionsForJobRequest(input *ListJobExecutionsForJobInput Name: opListJobExecutionsForJob, HTTPMethod: "GET", HTTPPath: "/jobs/{jobId}/things", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { @@ -11764,6 +12981,58 @@ func (c *IoT) ListJobExecutionsForJobWithContext(ctx aws.Context, input *ListJob return out, req.Send() } +// ListJobExecutionsForJobPages iterates over the pages of a ListJobExecutionsForJob operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListJobExecutionsForJob method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListJobExecutionsForJob operation. +// pageNum := 0 +// err := client.ListJobExecutionsForJobPages(params, +// func(page *iot.ListJobExecutionsForJobOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *IoT) ListJobExecutionsForJobPages(input *ListJobExecutionsForJobInput, fn func(*ListJobExecutionsForJobOutput, bool) bool) error { + return c.ListJobExecutionsForJobPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListJobExecutionsForJobPagesWithContext same as ListJobExecutionsForJobPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListJobExecutionsForJobPagesWithContext(ctx aws.Context, input *ListJobExecutionsForJobInput, fn func(*ListJobExecutionsForJobOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListJobExecutionsForJobInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListJobExecutionsForJobRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListJobExecutionsForJobOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListJobExecutionsForThing = "ListJobExecutionsForThing" // ListJobExecutionsForThingRequest generates a "aws/request.Request" representing the @@ -11793,6 +13062,12 @@ func (c *IoT) ListJobExecutionsForThingRequest(input *ListJobExecutionsForThingI Name: opListJobExecutionsForThing, HTTPMethod: "GET", HTTPPath: "/things/{thingName}/jobs", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { @@ -11849,6 +13124,58 @@ func (c *IoT) ListJobExecutionsForThingWithContext(ctx aws.Context, input *ListJ return out, req.Send() } +// ListJobExecutionsForThingPages iterates over the pages of a ListJobExecutionsForThing operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListJobExecutionsForThing method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListJobExecutionsForThing operation. +// pageNum := 0 +// err := client.ListJobExecutionsForThingPages(params, +// func(page *iot.ListJobExecutionsForThingOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *IoT) ListJobExecutionsForThingPages(input *ListJobExecutionsForThingInput, fn func(*ListJobExecutionsForThingOutput, bool) bool) error { + return c.ListJobExecutionsForThingPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListJobExecutionsForThingPagesWithContext same as ListJobExecutionsForThingPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListJobExecutionsForThingPagesWithContext(ctx aws.Context, input *ListJobExecutionsForThingInput, fn func(*ListJobExecutionsForThingOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListJobExecutionsForThingInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListJobExecutionsForThingRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListJobExecutionsForThingOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListJobs = "ListJobs" // ListJobsRequest generates a "aws/request.Request" representing the @@ -11878,6 +13205,12 @@ func (c *IoT) ListJobsRequest(input *ListJobsInput) (req *request.Request, outpu Name: opListJobs, HTTPMethod: "GET", HTTPPath: "/jobs", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { @@ -11934,6 +13267,58 @@ func (c *IoT) ListJobsWithContext(ctx aws.Context, input *ListJobsInput, opts .. return out, req.Send() } +// ListJobsPages iterates over the pages of a ListJobs operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListJobs method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListJobs operation. +// pageNum := 0 +// err := client.ListJobsPages(params, +// func(page *iot.ListJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *IoT) ListJobsPages(input *ListJobsInput, fn func(*ListJobsOutput, bool) bool) error { + return c.ListJobsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListJobsPagesWithContext same as ListJobsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListJobsPagesWithContext(ctx aws.Context, input *ListJobsInput, fn func(*ListJobsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListJobsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListJobsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListJobsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListMitigationActions = "ListMitigationActions" // ListMitigationActionsRequest generates a "aws/request.Request" representing the @@ -11963,6 +13348,12 @@ func (c *IoT) ListMitigationActionsRequest(input *ListMitigationActionsInput) (r Name: opListMitigationActions, HTTPMethod: "GET", HTTPPath: "/mitigationactions/actions", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { @@ -12016,6 +13407,58 @@ func (c *IoT) ListMitigationActionsWithContext(ctx aws.Context, input *ListMitig return out, req.Send() } +// ListMitigationActionsPages iterates over the pages of a ListMitigationActions operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListMitigationActions method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListMitigationActions operation. +// pageNum := 0 +// err := client.ListMitigationActionsPages(params, +// func(page *iot.ListMitigationActionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *IoT) ListMitigationActionsPages(input *ListMitigationActionsInput, fn func(*ListMitigationActionsOutput, bool) bool) error { + return c.ListMitigationActionsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListMitigationActionsPagesWithContext same as ListMitigationActionsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListMitigationActionsPagesWithContext(ctx aws.Context, input *ListMitigationActionsInput, fn func(*ListMitigationActionsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListMitigationActionsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListMitigationActionsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListMitigationActionsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListOTAUpdates = "ListOTAUpdates" // ListOTAUpdatesRequest generates a "aws/request.Request" representing the @@ -12045,6 +13488,12 @@ func (c *IoT) ListOTAUpdatesRequest(input *ListOTAUpdatesInput) (req *request.Re Name: opListOTAUpdates, HTTPMethod: "GET", HTTPPath: "/otaUpdates", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { @@ -12104,6 +13553,58 @@ func (c *IoT) ListOTAUpdatesWithContext(ctx aws.Context, input *ListOTAUpdatesIn return out, req.Send() } +// ListOTAUpdatesPages iterates over the pages of a ListOTAUpdates operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListOTAUpdates method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListOTAUpdates operation. +// pageNum := 0 +// err := client.ListOTAUpdatesPages(params, +// func(page *iot.ListOTAUpdatesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *IoT) ListOTAUpdatesPages(input *ListOTAUpdatesInput, fn func(*ListOTAUpdatesOutput, bool) bool) error { + return c.ListOTAUpdatesPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListOTAUpdatesPagesWithContext same as ListOTAUpdatesPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListOTAUpdatesPagesWithContext(ctx aws.Context, input *ListOTAUpdatesInput, fn func(*ListOTAUpdatesOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListOTAUpdatesInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListOTAUpdatesRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListOTAUpdatesOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListOutgoingCertificates = "ListOutgoingCertificates" // ListOutgoingCertificatesRequest generates a "aws/request.Request" representing the @@ -12133,6 +13634,12 @@ func (c *IoT) ListOutgoingCertificatesRequest(input *ListOutgoingCertificatesInp Name: opListOutgoingCertificates, HTTPMethod: "GET", HTTPPath: "/certificates-out-going", + Paginator: &request.Paginator{ + InputTokens: []string{"marker"}, + OutputTokens: []string{"nextMarker"}, + LimitToken: "pageSize", + TruncationToken: "", + }, } if input == nil { @@ -12192,6 +13699,58 @@ func (c *IoT) ListOutgoingCertificatesWithContext(ctx aws.Context, input *ListOu return out, req.Send() } +// ListOutgoingCertificatesPages iterates over the pages of a ListOutgoingCertificates operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListOutgoingCertificates method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListOutgoingCertificates operation. +// pageNum := 0 +// err := client.ListOutgoingCertificatesPages(params, +// func(page *iot.ListOutgoingCertificatesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *IoT) ListOutgoingCertificatesPages(input *ListOutgoingCertificatesInput, fn func(*ListOutgoingCertificatesOutput, bool) bool) error { + return c.ListOutgoingCertificatesPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListOutgoingCertificatesPagesWithContext same as ListOutgoingCertificatesPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListOutgoingCertificatesPagesWithContext(ctx aws.Context, input *ListOutgoingCertificatesInput, fn func(*ListOutgoingCertificatesOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListOutgoingCertificatesInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListOutgoingCertificatesRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListOutgoingCertificatesOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListPolicies = "ListPolicies" // ListPoliciesRequest generates a "aws/request.Request" representing the @@ -12221,6 +13780,12 @@ func (c *IoT) ListPoliciesRequest(input *ListPoliciesInput) (req *request.Reques Name: opListPolicies, HTTPMethod: "GET", HTTPPath: "/policies", + Paginator: &request.Paginator{ + InputTokens: []string{"marker"}, + OutputTokens: []string{"nextMarker"}, + LimitToken: "pageSize", + TruncationToken: "", + }, } if input == nil { @@ -12280,6 +13845,58 @@ func (c *IoT) ListPoliciesWithContext(ctx aws.Context, input *ListPoliciesInput, return out, req.Send() } +// ListPoliciesPages iterates over the pages of a ListPolicies operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListPolicies method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListPolicies operation. +// pageNum := 0 +// err := client.ListPoliciesPages(params, +// func(page *iot.ListPoliciesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *IoT) ListPoliciesPages(input *ListPoliciesInput, fn func(*ListPoliciesOutput, bool) bool) error { + return c.ListPoliciesPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListPoliciesPagesWithContext same as ListPoliciesPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListPoliciesPagesWithContext(ctx aws.Context, input *ListPoliciesInput, fn func(*ListPoliciesOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListPoliciesInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListPoliciesRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListPoliciesOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListPolicyPrincipals = "ListPolicyPrincipals" // ListPolicyPrincipalsRequest generates a "aws/request.Request" representing the @@ -12314,6 +13931,12 @@ func (c *IoT) ListPolicyPrincipalsRequest(input *ListPolicyPrincipalsInput) (req Name: opListPolicyPrincipals, HTTPMethod: "GET", HTTPPath: "/policy-principals", + Paginator: &request.Paginator{ + InputTokens: []string{"marker"}, + OutputTokens: []string{"nextMarker"}, + LimitToken: "pageSize", + TruncationToken: "", + }, } if input == nil { @@ -12382,6 +14005,62 @@ func (c *IoT) ListPolicyPrincipalsWithContext(ctx aws.Context, input *ListPolicy return out, req.Send() } +// ListPolicyPrincipalsPages iterates over the pages of a ListPolicyPrincipals operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListPolicyPrincipals method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListPolicyPrincipals operation. +// pageNum := 0 +// err := client.ListPolicyPrincipalsPages(params, +// func(page *iot.ListPolicyPrincipalsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +// +// Deprecated: ListPolicyPrincipalsPages has been deprecated +func (c *IoT) ListPolicyPrincipalsPages(input *ListPolicyPrincipalsInput, fn func(*ListPolicyPrincipalsOutput, bool) bool) error { + return c.ListPolicyPrincipalsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListPolicyPrincipalsPagesWithContext same as ListPolicyPrincipalsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +// +// Deprecated: ListPolicyPrincipalsPagesWithContext has been deprecated +func (c *IoT) ListPolicyPrincipalsPagesWithContext(ctx aws.Context, input *ListPolicyPrincipalsInput, fn func(*ListPolicyPrincipalsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListPolicyPrincipalsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListPolicyPrincipalsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListPolicyPrincipalsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListPolicyVersions = "ListPolicyVersions" // ListPolicyVersionsRequest generates a "aws/request.Request" representing the @@ -12507,6 +14186,12 @@ func (c *IoT) ListPrincipalPoliciesRequest(input *ListPrincipalPoliciesInput) (r Name: opListPrincipalPolicies, HTTPMethod: "GET", HTTPPath: "/principal-policies", + Paginator: &request.Paginator{ + InputTokens: []string{"marker"}, + OutputTokens: []string{"nextMarker"}, + LimitToken: "pageSize", + TruncationToken: "", + }, } if input == nil { @@ -12576,6 +14261,62 @@ func (c *IoT) ListPrincipalPoliciesWithContext(ctx aws.Context, input *ListPrinc return out, req.Send() } +// ListPrincipalPoliciesPages iterates over the pages of a ListPrincipalPolicies operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListPrincipalPolicies method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListPrincipalPolicies operation. +// pageNum := 0 +// err := client.ListPrincipalPoliciesPages(params, +// func(page *iot.ListPrincipalPoliciesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +// +// Deprecated: ListPrincipalPoliciesPages has been deprecated +func (c *IoT) ListPrincipalPoliciesPages(input *ListPrincipalPoliciesInput, fn func(*ListPrincipalPoliciesOutput, bool) bool) error { + return c.ListPrincipalPoliciesPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListPrincipalPoliciesPagesWithContext same as ListPrincipalPoliciesPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +// +// Deprecated: ListPrincipalPoliciesPagesWithContext has been deprecated +func (c *IoT) ListPrincipalPoliciesPagesWithContext(ctx aws.Context, input *ListPrincipalPoliciesInput, fn func(*ListPrincipalPoliciesOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListPrincipalPoliciesInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListPrincipalPoliciesRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListPrincipalPoliciesOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListPrincipalThings = "ListPrincipalThings" // ListPrincipalThingsRequest generates a "aws/request.Request" representing the @@ -12605,6 +14346,12 @@ func (c *IoT) ListPrincipalThingsRequest(input *ListPrincipalThingsInput) (req * Name: opListPrincipalThings, HTTPMethod: "GET", HTTPPath: "/principals/things", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { @@ -12669,6 +14416,58 @@ func (c *IoT) ListPrincipalThingsWithContext(ctx aws.Context, input *ListPrincip return out, req.Send() } +// ListPrincipalThingsPages iterates over the pages of a ListPrincipalThings operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListPrincipalThings method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListPrincipalThings operation. +// pageNum := 0 +// err := client.ListPrincipalThingsPages(params, +// func(page *iot.ListPrincipalThingsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *IoT) ListPrincipalThingsPages(input *ListPrincipalThingsInput, fn func(*ListPrincipalThingsOutput, bool) bool) error { + return c.ListPrincipalThingsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListPrincipalThingsPagesWithContext same as ListPrincipalThingsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListPrincipalThingsPagesWithContext(ctx aws.Context, input *ListPrincipalThingsInput, fn func(*ListPrincipalThingsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListPrincipalThingsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListPrincipalThingsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListPrincipalThingsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListProvisioningTemplateVersions = "ListProvisioningTemplateVersions" // ListProvisioningTemplateVersionsRequest generates a "aws/request.Request" representing the @@ -12698,6 +14497,12 @@ func (c *IoT) ListProvisioningTemplateVersionsRequest(input *ListProvisioningTem Name: opListProvisioningTemplateVersions, HTTPMethod: "GET", HTTPPath: "/provisioning-templates/{templateName}/versions", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { @@ -12757,6 +14562,58 @@ func (c *IoT) ListProvisioningTemplateVersionsWithContext(ctx aws.Context, input return out, req.Send() } +// ListProvisioningTemplateVersionsPages iterates over the pages of a ListProvisioningTemplateVersions operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListProvisioningTemplateVersions method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListProvisioningTemplateVersions operation. +// pageNum := 0 +// err := client.ListProvisioningTemplateVersionsPages(params, +// func(page *iot.ListProvisioningTemplateVersionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *IoT) ListProvisioningTemplateVersionsPages(input *ListProvisioningTemplateVersionsInput, fn func(*ListProvisioningTemplateVersionsOutput, bool) bool) error { + return c.ListProvisioningTemplateVersionsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListProvisioningTemplateVersionsPagesWithContext same as ListProvisioningTemplateVersionsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListProvisioningTemplateVersionsPagesWithContext(ctx aws.Context, input *ListProvisioningTemplateVersionsInput, fn func(*ListProvisioningTemplateVersionsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListProvisioningTemplateVersionsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListProvisioningTemplateVersionsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListProvisioningTemplateVersionsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListProvisioningTemplates = "ListProvisioningTemplates" // ListProvisioningTemplatesRequest generates a "aws/request.Request" representing the @@ -12786,6 +14643,12 @@ func (c *IoT) ListProvisioningTemplatesRequest(input *ListProvisioningTemplatesI Name: opListProvisioningTemplates, HTTPMethod: "GET", HTTPPath: "/provisioning-templates", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { @@ -12842,6 +14705,58 @@ func (c *IoT) ListProvisioningTemplatesWithContext(ctx aws.Context, input *ListP return out, req.Send() } +// ListProvisioningTemplatesPages iterates over the pages of a ListProvisioningTemplates operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListProvisioningTemplates method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListProvisioningTemplates operation. +// pageNum := 0 +// err := client.ListProvisioningTemplatesPages(params, +// func(page *iot.ListProvisioningTemplatesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *IoT) ListProvisioningTemplatesPages(input *ListProvisioningTemplatesInput, fn func(*ListProvisioningTemplatesOutput, bool) bool) error { + return c.ListProvisioningTemplatesPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListProvisioningTemplatesPagesWithContext same as ListProvisioningTemplatesPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListProvisioningTemplatesPagesWithContext(ctx aws.Context, input *ListProvisioningTemplatesInput, fn func(*ListProvisioningTemplatesOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListProvisioningTemplatesInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListProvisioningTemplatesRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListProvisioningTemplatesOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListRoleAliases = "ListRoleAliases" // ListRoleAliasesRequest generates a "aws/request.Request" representing the @@ -12871,6 +14786,12 @@ func (c *IoT) ListRoleAliasesRequest(input *ListRoleAliasesInput) (req *request. Name: opListRoleAliases, HTTPMethod: "GET", HTTPPath: "/role-aliases", + Paginator: &request.Paginator{ + InputTokens: []string{"marker"}, + OutputTokens: []string{"nextMarker"}, + LimitToken: "pageSize", + TruncationToken: "", + }, } if input == nil { @@ -12930,6 +14851,58 @@ func (c *IoT) ListRoleAliasesWithContext(ctx aws.Context, input *ListRoleAliases return out, req.Send() } +// ListRoleAliasesPages iterates over the pages of a ListRoleAliases operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListRoleAliases method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListRoleAliases operation. +// pageNum := 0 +// err := client.ListRoleAliasesPages(params, +// func(page *iot.ListRoleAliasesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *IoT) ListRoleAliasesPages(input *ListRoleAliasesInput, fn func(*ListRoleAliasesOutput, bool) bool) error { + return c.ListRoleAliasesPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListRoleAliasesPagesWithContext same as ListRoleAliasesPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListRoleAliasesPagesWithContext(ctx aws.Context, input *ListRoleAliasesInput, fn func(*ListRoleAliasesOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListRoleAliasesInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListRoleAliasesRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListRoleAliasesOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListScheduledAudits = "ListScheduledAudits" // ListScheduledAuditsRequest generates a "aws/request.Request" representing the @@ -12959,6 +14932,12 @@ func (c *IoT) ListScheduledAuditsRequest(input *ListScheduledAuditsInput) (req * Name: opListScheduledAudits, HTTPMethod: "GET", HTTPPath: "/audit/scheduledaudits", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { @@ -13012,6 +14991,58 @@ func (c *IoT) ListScheduledAuditsWithContext(ctx aws.Context, input *ListSchedul return out, req.Send() } +// ListScheduledAuditsPages iterates over the pages of a ListScheduledAudits operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListScheduledAudits method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListScheduledAudits operation. +// pageNum := 0 +// err := client.ListScheduledAuditsPages(params, +// func(page *iot.ListScheduledAuditsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *IoT) ListScheduledAuditsPages(input *ListScheduledAuditsInput, fn func(*ListScheduledAuditsOutput, bool) bool) error { + return c.ListScheduledAuditsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListScheduledAuditsPagesWithContext same as ListScheduledAuditsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListScheduledAuditsPagesWithContext(ctx aws.Context, input *ListScheduledAuditsInput, fn func(*ListScheduledAuditsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListScheduledAuditsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListScheduledAuditsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListScheduledAuditsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListSecurityProfiles = "ListSecurityProfiles" // ListSecurityProfilesRequest generates a "aws/request.Request" representing the @@ -13041,6 +15072,12 @@ func (c *IoT) ListSecurityProfilesRequest(input *ListSecurityProfilesInput) (req Name: opListSecurityProfiles, HTTPMethod: "GET", HTTPPath: "/security-profiles", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { @@ -13099,6 +15136,58 @@ func (c *IoT) ListSecurityProfilesWithContext(ctx aws.Context, input *ListSecuri return out, req.Send() } +// ListSecurityProfilesPages iterates over the pages of a ListSecurityProfiles operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListSecurityProfiles method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListSecurityProfiles operation. +// pageNum := 0 +// err := client.ListSecurityProfilesPages(params, +// func(page *iot.ListSecurityProfilesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *IoT) ListSecurityProfilesPages(input *ListSecurityProfilesInput, fn func(*ListSecurityProfilesOutput, bool) bool) error { + return c.ListSecurityProfilesPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListSecurityProfilesPagesWithContext same as ListSecurityProfilesPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListSecurityProfilesPagesWithContext(ctx aws.Context, input *ListSecurityProfilesInput, fn func(*ListSecurityProfilesOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListSecurityProfilesInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListSecurityProfilesRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListSecurityProfilesOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListSecurityProfilesForTarget = "ListSecurityProfilesForTarget" // ListSecurityProfilesForTargetRequest generates a "aws/request.Request" representing the @@ -13128,6 +15217,12 @@ func (c *IoT) ListSecurityProfilesForTargetRequest(input *ListSecurityProfilesFo Name: opListSecurityProfilesForTarget, HTTPMethod: "GET", HTTPPath: "/security-profiles-for-target", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { @@ -13184,6 +15279,58 @@ func (c *IoT) ListSecurityProfilesForTargetWithContext(ctx aws.Context, input *L return out, req.Send() } +// ListSecurityProfilesForTargetPages iterates over the pages of a ListSecurityProfilesForTarget operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListSecurityProfilesForTarget method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListSecurityProfilesForTarget operation. +// pageNum := 0 +// err := client.ListSecurityProfilesForTargetPages(params, +// func(page *iot.ListSecurityProfilesForTargetOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *IoT) ListSecurityProfilesForTargetPages(input *ListSecurityProfilesForTargetInput, fn func(*ListSecurityProfilesForTargetOutput, bool) bool) error { + return c.ListSecurityProfilesForTargetPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListSecurityProfilesForTargetPagesWithContext same as ListSecurityProfilesForTargetPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListSecurityProfilesForTargetPagesWithContext(ctx aws.Context, input *ListSecurityProfilesForTargetInput, fn func(*ListSecurityProfilesForTargetOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListSecurityProfilesForTargetInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListSecurityProfilesForTargetRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListSecurityProfilesForTargetOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListStreams = "ListStreams" // ListStreamsRequest generates a "aws/request.Request" representing the @@ -13213,6 +15360,12 @@ func (c *IoT) ListStreamsRequest(input *ListStreamsInput) (req *request.Request, Name: opListStreams, HTTPMethod: "GET", HTTPPath: "/streams", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { @@ -13272,6 +15425,58 @@ func (c *IoT) ListStreamsWithContext(ctx aws.Context, input *ListStreamsInput, o return out, req.Send() } +// ListStreamsPages iterates over the pages of a ListStreams operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListStreams method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListStreams operation. +// pageNum := 0 +// err := client.ListStreamsPages(params, +// func(page *iot.ListStreamsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *IoT) ListStreamsPages(input *ListStreamsInput, fn func(*ListStreamsOutput, bool) bool) error { + return c.ListStreamsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListStreamsPagesWithContext same as ListStreamsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListStreamsPagesWithContext(ctx aws.Context, input *ListStreamsInput, fn func(*ListStreamsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListStreamsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListStreamsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListStreamsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListTagsForResource = "ListTagsForResource" // ListTagsForResourceRequest generates a "aws/request.Request" representing the @@ -13301,6 +15506,12 @@ func (c *IoT) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req * Name: opListTagsForResource, HTTPMethod: "GET", HTTPPath: "/tags", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "", + TruncationToken: "", + }, } if input == nil { @@ -13357,6 +15568,58 @@ func (c *IoT) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsFor return out, req.Send() } +// ListTagsForResourcePages iterates over the pages of a ListTagsForResource operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListTagsForResource method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListTagsForResource operation. +// pageNum := 0 +// err := client.ListTagsForResourcePages(params, +// func(page *iot.ListTagsForResourceOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *IoT) ListTagsForResourcePages(input *ListTagsForResourceInput, fn func(*ListTagsForResourceOutput, bool) bool) error { + return c.ListTagsForResourcePagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListTagsForResourcePagesWithContext same as ListTagsForResourcePages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListTagsForResourcePagesWithContext(ctx aws.Context, input *ListTagsForResourceInput, fn func(*ListTagsForResourceOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListTagsForResourceInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListTagsForResourceRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListTagsForResourceOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListTargetsForPolicy = "ListTargetsForPolicy" // ListTargetsForPolicyRequest generates a "aws/request.Request" representing the @@ -13386,6 +15649,12 @@ func (c *IoT) ListTargetsForPolicyRequest(input *ListTargetsForPolicyInput) (req Name: opListTargetsForPolicy, HTTPMethod: "POST", HTTPPath: "/policy-targets/{policyName}", + Paginator: &request.Paginator{ + InputTokens: []string{"marker"}, + OutputTokens: []string{"nextMarker"}, + LimitToken: "pageSize", + TruncationToken: "", + }, } if input == nil { @@ -13451,6 +15720,58 @@ func (c *IoT) ListTargetsForPolicyWithContext(ctx aws.Context, input *ListTarget return out, req.Send() } +// ListTargetsForPolicyPages iterates over the pages of a ListTargetsForPolicy operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListTargetsForPolicy method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListTargetsForPolicy operation. +// pageNum := 0 +// err := client.ListTargetsForPolicyPages(params, +// func(page *iot.ListTargetsForPolicyOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *IoT) ListTargetsForPolicyPages(input *ListTargetsForPolicyInput, fn func(*ListTargetsForPolicyOutput, bool) bool) error { + return c.ListTargetsForPolicyPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListTargetsForPolicyPagesWithContext same as ListTargetsForPolicyPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListTargetsForPolicyPagesWithContext(ctx aws.Context, input *ListTargetsForPolicyInput, fn func(*ListTargetsForPolicyOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListTargetsForPolicyInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListTargetsForPolicyRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListTargetsForPolicyOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListTargetsForSecurityProfile = "ListTargetsForSecurityProfile" // ListTargetsForSecurityProfileRequest generates a "aws/request.Request" representing the @@ -13480,6 +15801,12 @@ func (c *IoT) ListTargetsForSecurityProfileRequest(input *ListTargetsForSecurity Name: opListTargetsForSecurityProfile, HTTPMethod: "GET", HTTPPath: "/security-profiles/{securityProfileName}/targets", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { @@ -13537,6 +15864,58 @@ func (c *IoT) ListTargetsForSecurityProfileWithContext(ctx aws.Context, input *L return out, req.Send() } +// ListTargetsForSecurityProfilePages iterates over the pages of a ListTargetsForSecurityProfile operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListTargetsForSecurityProfile method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListTargetsForSecurityProfile operation. +// pageNum := 0 +// err := client.ListTargetsForSecurityProfilePages(params, +// func(page *iot.ListTargetsForSecurityProfileOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *IoT) ListTargetsForSecurityProfilePages(input *ListTargetsForSecurityProfileInput, fn func(*ListTargetsForSecurityProfileOutput, bool) bool) error { + return c.ListTargetsForSecurityProfilePagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListTargetsForSecurityProfilePagesWithContext same as ListTargetsForSecurityProfilePages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListTargetsForSecurityProfilePagesWithContext(ctx aws.Context, input *ListTargetsForSecurityProfileInput, fn func(*ListTargetsForSecurityProfileOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListTargetsForSecurityProfileInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListTargetsForSecurityProfileRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListTargetsForSecurityProfileOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListThingGroups = "ListThingGroups" // ListThingGroupsRequest generates a "aws/request.Request" representing the @@ -13566,6 +15945,12 @@ func (c *IoT) ListThingGroupsRequest(input *ListThingGroupsInput) (req *request. Name: opListThingGroups, HTTPMethod: "GET", HTTPPath: "/thing-groups", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { @@ -13619,6 +16004,58 @@ func (c *IoT) ListThingGroupsWithContext(ctx aws.Context, input *ListThingGroups return out, req.Send() } +// ListThingGroupsPages iterates over the pages of a ListThingGroups operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListThingGroups method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListThingGroups operation. +// pageNum := 0 +// err := client.ListThingGroupsPages(params, +// func(page *iot.ListThingGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *IoT) ListThingGroupsPages(input *ListThingGroupsInput, fn func(*ListThingGroupsOutput, bool) bool) error { + return c.ListThingGroupsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListThingGroupsPagesWithContext same as ListThingGroupsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListThingGroupsPagesWithContext(ctx aws.Context, input *ListThingGroupsInput, fn func(*ListThingGroupsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListThingGroupsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListThingGroupsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListThingGroupsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListThingGroupsForThing = "ListThingGroupsForThing" // ListThingGroupsForThingRequest generates a "aws/request.Request" representing the @@ -13648,6 +16085,12 @@ func (c *IoT) ListThingGroupsForThingRequest(input *ListThingGroupsForThingInput Name: opListThingGroupsForThing, HTTPMethod: "GET", HTTPPath: "/things/{thingName}/thing-groups", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { @@ -13701,6 +16144,58 @@ func (c *IoT) ListThingGroupsForThingWithContext(ctx aws.Context, input *ListThi return out, req.Send() } +// ListThingGroupsForThingPages iterates over the pages of a ListThingGroupsForThing operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListThingGroupsForThing method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListThingGroupsForThing operation. +// pageNum := 0 +// err := client.ListThingGroupsForThingPages(params, +// func(page *iot.ListThingGroupsForThingOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *IoT) ListThingGroupsForThingPages(input *ListThingGroupsForThingInput, fn func(*ListThingGroupsForThingOutput, bool) bool) error { + return c.ListThingGroupsForThingPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListThingGroupsForThingPagesWithContext same as ListThingGroupsForThingPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListThingGroupsForThingPagesWithContext(ctx aws.Context, input *ListThingGroupsForThingInput, fn func(*ListThingGroupsForThingOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListThingGroupsForThingInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListThingGroupsForThingRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListThingGroupsForThingOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListThingPrincipals = "ListThingPrincipals" // ListThingPrincipalsRequest generates a "aws/request.Request" representing the @@ -13823,6 +16318,12 @@ func (c *IoT) ListThingRegistrationTaskReportsRequest(input *ListThingRegistrati Name: opListThingRegistrationTaskReports, HTTPMethod: "GET", HTTPPath: "/thing-registration-tasks/{taskId}/reports", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { @@ -13879,6 +16380,58 @@ func (c *IoT) ListThingRegistrationTaskReportsWithContext(ctx aws.Context, input return out, req.Send() } +// ListThingRegistrationTaskReportsPages iterates over the pages of a ListThingRegistrationTaskReports operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListThingRegistrationTaskReports method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListThingRegistrationTaskReports operation. +// pageNum := 0 +// err := client.ListThingRegistrationTaskReportsPages(params, +// func(page *iot.ListThingRegistrationTaskReportsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *IoT) ListThingRegistrationTaskReportsPages(input *ListThingRegistrationTaskReportsInput, fn func(*ListThingRegistrationTaskReportsOutput, bool) bool) error { + return c.ListThingRegistrationTaskReportsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListThingRegistrationTaskReportsPagesWithContext same as ListThingRegistrationTaskReportsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListThingRegistrationTaskReportsPagesWithContext(ctx aws.Context, input *ListThingRegistrationTaskReportsInput, fn func(*ListThingRegistrationTaskReportsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListThingRegistrationTaskReportsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListThingRegistrationTaskReportsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListThingRegistrationTaskReportsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListThingRegistrationTasks = "ListThingRegistrationTasks" // ListThingRegistrationTasksRequest generates a "aws/request.Request" representing the @@ -13908,6 +16461,12 @@ func (c *IoT) ListThingRegistrationTasksRequest(input *ListThingRegistrationTask Name: opListThingRegistrationTasks, HTTPMethod: "GET", HTTPPath: "/thing-registration-tasks", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { @@ -13964,6 +16523,58 @@ func (c *IoT) ListThingRegistrationTasksWithContext(ctx aws.Context, input *List return out, req.Send() } +// ListThingRegistrationTasksPages iterates over the pages of a ListThingRegistrationTasks operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListThingRegistrationTasks method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListThingRegistrationTasks operation. +// pageNum := 0 +// err := client.ListThingRegistrationTasksPages(params, +// func(page *iot.ListThingRegistrationTasksOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *IoT) ListThingRegistrationTasksPages(input *ListThingRegistrationTasksInput, fn func(*ListThingRegistrationTasksOutput, bool) bool) error { + return c.ListThingRegistrationTasksPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListThingRegistrationTasksPagesWithContext same as ListThingRegistrationTasksPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListThingRegistrationTasksPagesWithContext(ctx aws.Context, input *ListThingRegistrationTasksInput, fn func(*ListThingRegistrationTasksOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListThingRegistrationTasksInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListThingRegistrationTasksRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListThingRegistrationTasksOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListThingTypes = "ListThingTypes" // ListThingTypesRequest generates a "aws/request.Request" representing the @@ -13993,6 +16604,12 @@ func (c *IoT) ListThingTypesRequest(input *ListThingTypesInput) (req *request.Re Name: opListThingTypes, HTTPMethod: "GET", HTTPPath: "/thing-types", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { @@ -14052,6 +16669,58 @@ func (c *IoT) ListThingTypesWithContext(ctx aws.Context, input *ListThingTypesIn return out, req.Send() } +// ListThingTypesPages iterates over the pages of a ListThingTypes operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListThingTypes method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListThingTypes operation. +// pageNum := 0 +// err := client.ListThingTypesPages(params, +// func(page *iot.ListThingTypesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *IoT) ListThingTypesPages(input *ListThingTypesInput, fn func(*ListThingTypesOutput, bool) bool) error { + return c.ListThingTypesPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListThingTypesPagesWithContext same as ListThingTypesPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListThingTypesPagesWithContext(ctx aws.Context, input *ListThingTypesInput, fn func(*ListThingTypesOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListThingTypesInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListThingTypesRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListThingTypesOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListThings = "ListThings" // ListThingsRequest generates a "aws/request.Request" representing the @@ -14081,6 +16750,12 @@ func (c *IoT) ListThingsRequest(input *ListThingsInput) (req *request.Request, o Name: opListThings, HTTPMethod: "GET", HTTPPath: "/things", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { @@ -14099,6 +16774,10 @@ func (c *IoT) ListThingsRequest(input *ListThingsInput) (req *request.Request, o // and attributeValue=Red retrieves all things in the registry that contain // an attribute Color with the value Red. // +// You will not be charged for calling this API if an Access denied error is +// returned. You will also not be charged if no attributes or pagination token +// was provided in request and no pagination token and no results were returned. +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -14143,6 +16822,58 @@ func (c *IoT) ListThingsWithContext(ctx aws.Context, input *ListThingsInput, opt return out, req.Send() } +// ListThingsPages iterates over the pages of a ListThings operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListThings method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListThings operation. +// pageNum := 0 +// err := client.ListThingsPages(params, +// func(page *iot.ListThingsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *IoT) ListThingsPages(input *ListThingsInput, fn func(*ListThingsOutput, bool) bool) error { + return c.ListThingsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListThingsPagesWithContext same as ListThingsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListThingsPagesWithContext(ctx aws.Context, input *ListThingsInput, fn func(*ListThingsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListThingsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListThingsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListThingsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListThingsInBillingGroup = "ListThingsInBillingGroup" // ListThingsInBillingGroupRequest generates a "aws/request.Request" representing the @@ -14172,6 +16903,12 @@ func (c *IoT) ListThingsInBillingGroupRequest(input *ListThingsInBillingGroupInp Name: opListThingsInBillingGroup, HTTPMethod: "GET", HTTPPath: "/billing-groups/{billingGroupName}/things", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { @@ -14228,6 +16965,58 @@ func (c *IoT) ListThingsInBillingGroupWithContext(ctx aws.Context, input *ListTh return out, req.Send() } +// ListThingsInBillingGroupPages iterates over the pages of a ListThingsInBillingGroup operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListThingsInBillingGroup method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListThingsInBillingGroup operation. +// pageNum := 0 +// err := client.ListThingsInBillingGroupPages(params, +// func(page *iot.ListThingsInBillingGroupOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *IoT) ListThingsInBillingGroupPages(input *ListThingsInBillingGroupInput, fn func(*ListThingsInBillingGroupOutput, bool) bool) error { + return c.ListThingsInBillingGroupPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListThingsInBillingGroupPagesWithContext same as ListThingsInBillingGroupPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListThingsInBillingGroupPagesWithContext(ctx aws.Context, input *ListThingsInBillingGroupInput, fn func(*ListThingsInBillingGroupOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListThingsInBillingGroupInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListThingsInBillingGroupRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListThingsInBillingGroupOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListThingsInThingGroup = "ListThingsInThingGroup" // ListThingsInThingGroupRequest generates a "aws/request.Request" representing the @@ -14257,6 +17046,12 @@ func (c *IoT) ListThingsInThingGroupRequest(input *ListThingsInThingGroupInput) Name: opListThingsInThingGroup, HTTPMethod: "GET", HTTPPath: "/thing-groups/{thingGroupName}/things", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { @@ -14310,6 +17105,58 @@ func (c *IoT) ListThingsInThingGroupWithContext(ctx aws.Context, input *ListThin return out, req.Send() } +// ListThingsInThingGroupPages iterates over the pages of a ListThingsInThingGroup operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListThingsInThingGroup method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListThingsInThingGroup operation. +// pageNum := 0 +// err := client.ListThingsInThingGroupPages(params, +// func(page *iot.ListThingsInThingGroupOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *IoT) ListThingsInThingGroupPages(input *ListThingsInThingGroupInput, fn func(*ListThingsInThingGroupOutput, bool) bool) error { + return c.ListThingsInThingGroupPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListThingsInThingGroupPagesWithContext same as ListThingsInThingGroupPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListThingsInThingGroupPagesWithContext(ctx aws.Context, input *ListThingsInThingGroupInput, fn func(*ListThingsInThingGroupOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListThingsInThingGroupInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListThingsInThingGroupRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListThingsInThingGroupOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListTopicRuleDestinations = "ListTopicRuleDestinations" // ListTopicRuleDestinationsRequest generates a "aws/request.Request" representing the @@ -14339,6 +17186,12 @@ func (c *IoT) ListTopicRuleDestinationsRequest(input *ListTopicRuleDestinationsI Name: opListTopicRuleDestinations, HTTPMethod: "GET", HTTPPath: "/destinations", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { @@ -14395,6 +17248,58 @@ func (c *IoT) ListTopicRuleDestinationsWithContext(ctx aws.Context, input *ListT return out, req.Send() } +// ListTopicRuleDestinationsPages iterates over the pages of a ListTopicRuleDestinations operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListTopicRuleDestinations method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListTopicRuleDestinations operation. +// pageNum := 0 +// err := client.ListTopicRuleDestinationsPages(params, +// func(page *iot.ListTopicRuleDestinationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *IoT) ListTopicRuleDestinationsPages(input *ListTopicRuleDestinationsInput, fn func(*ListTopicRuleDestinationsOutput, bool) bool) error { + return c.ListTopicRuleDestinationsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListTopicRuleDestinationsPagesWithContext same as ListTopicRuleDestinationsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListTopicRuleDestinationsPagesWithContext(ctx aws.Context, input *ListTopicRuleDestinationsInput, fn func(*ListTopicRuleDestinationsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListTopicRuleDestinationsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListTopicRuleDestinationsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListTopicRuleDestinationsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListTopicRules = "ListTopicRules" // ListTopicRulesRequest generates a "aws/request.Request" representing the @@ -14424,6 +17329,12 @@ func (c *IoT) ListTopicRulesRequest(input *ListTopicRulesInput) (req *request.Re Name: opListTopicRules, HTTPMethod: "GET", HTTPPath: "/rules", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { @@ -14477,6 +17388,58 @@ func (c *IoT) ListTopicRulesWithContext(ctx aws.Context, input *ListTopicRulesIn return out, req.Send() } +// ListTopicRulesPages iterates over the pages of a ListTopicRules operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListTopicRules method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListTopicRules operation. +// pageNum := 0 +// err := client.ListTopicRulesPages(params, +// func(page *iot.ListTopicRulesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *IoT) ListTopicRulesPages(input *ListTopicRulesInput, fn func(*ListTopicRulesOutput, bool) bool) error { + return c.ListTopicRulesPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListTopicRulesPagesWithContext same as ListTopicRulesPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListTopicRulesPagesWithContext(ctx aws.Context, input *ListTopicRulesInput, fn func(*ListTopicRulesOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListTopicRulesInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListTopicRulesRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListTopicRulesOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListV2LoggingLevels = "ListV2LoggingLevels" // ListV2LoggingLevelsRequest generates a "aws/request.Request" representing the @@ -14506,6 +17469,12 @@ func (c *IoT) ListV2LoggingLevelsRequest(input *ListV2LoggingLevelsInput) (req * Name: opListV2LoggingLevels, HTTPMethod: "GET", HTTPPath: "/v2LoggingLevel", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { @@ -14562,6 +17531,58 @@ func (c *IoT) ListV2LoggingLevelsWithContext(ctx aws.Context, input *ListV2Loggi return out, req.Send() } +// ListV2LoggingLevelsPages iterates over the pages of a ListV2LoggingLevels operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListV2LoggingLevels method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListV2LoggingLevels operation. +// pageNum := 0 +// err := client.ListV2LoggingLevelsPages(params, +// func(page *iot.ListV2LoggingLevelsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *IoT) ListV2LoggingLevelsPages(input *ListV2LoggingLevelsInput, fn func(*ListV2LoggingLevelsOutput, bool) bool) error { + return c.ListV2LoggingLevelsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListV2LoggingLevelsPagesWithContext same as ListV2LoggingLevelsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListV2LoggingLevelsPagesWithContext(ctx aws.Context, input *ListV2LoggingLevelsInput, fn func(*ListV2LoggingLevelsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListV2LoggingLevelsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListV2LoggingLevelsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListV2LoggingLevelsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListViolationEvents = "ListViolationEvents" // ListViolationEventsRequest generates a "aws/request.Request" representing the @@ -14591,6 +17612,12 @@ func (c *IoT) ListViolationEventsRequest(input *ListViolationEventsInput) (req * Name: opListViolationEvents, HTTPMethod: "GET", HTTPPath: "/violation-events", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { @@ -14646,6 +17673,58 @@ func (c *IoT) ListViolationEventsWithContext(ctx aws.Context, input *ListViolati return out, req.Send() } +// ListViolationEventsPages iterates over the pages of a ListViolationEvents operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListViolationEvents method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListViolationEvents operation. +// pageNum := 0 +// err := client.ListViolationEventsPages(params, +// func(page *iot.ListViolationEventsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *IoT) ListViolationEventsPages(input *ListViolationEventsInput, fn func(*ListViolationEventsOutput, bool) bool) error { + return c.ListViolationEventsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListViolationEventsPagesWithContext same as ListViolationEventsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) ListViolationEventsPagesWithContext(ctx aws.Context, input *ListViolationEventsInput, fn func(*ListViolationEventsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListViolationEventsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListViolationEventsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListViolationEventsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opRegisterCACertificate = "RegisterCACertificate" // RegisterCACertificateRequest generates a "aws/request.Request" representing the @@ -16878,6 +19957,92 @@ func (c *IoT) UpdateAccountAuditConfigurationWithContext(ctx aws.Context, input return out, req.Send() } +const opUpdateAuditSuppression = "UpdateAuditSuppression" + +// UpdateAuditSuppressionRequest generates a "aws/request.Request" representing the +// client's request for the UpdateAuditSuppression operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateAuditSuppression for more information on using the UpdateAuditSuppression +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdateAuditSuppressionRequest method. +// req, resp := client.UpdateAuditSuppressionRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +func (c *IoT) UpdateAuditSuppressionRequest(input *UpdateAuditSuppressionInput) (req *request.Request, output *UpdateAuditSuppressionOutput) { + op := &request.Operation{ + Name: opUpdateAuditSuppression, + HTTPMethod: "PATCH", + HTTPPath: "/audit/suppressions/update", + } + + if input == nil { + input = &UpdateAuditSuppressionInput{} + } + + output = &UpdateAuditSuppressionOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// UpdateAuditSuppression API operation for AWS IoT. +// +// Updates a Device Defender audit suppression. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS IoT's +// API operation UpdateAuditSuppression for usage and error information. +// +// Returned Error Types: +// * InvalidRequestException +// The request is not valid. +// +// * ResourceNotFoundException +// The specified resource does not exist. +// +// * ThrottlingException +// The rate exceeds the limit. +// +// * InternalFailureException +// An unexpected error has occurred. +// +func (c *IoT) UpdateAuditSuppression(input *UpdateAuditSuppressionInput) (*UpdateAuditSuppressionOutput, error) { + req, out := c.UpdateAuditSuppressionRequest(input) + return out, req.Send() +} + +// UpdateAuditSuppressionWithContext is the same as UpdateAuditSuppression with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateAuditSuppression for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *IoT) UpdateAuditSuppressionWithContext(ctx aws.Context, input *UpdateAuditSuppressionInput, opts ...request.Option) (*UpdateAuditSuppressionOutput, error) { + req, out := c.UpdateAuditSuppressionRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opUpdateAuthorizer = "UpdateAuthorizer" // UpdateAuthorizerRequest generates a "aws/request.Request" representing the @@ -17198,11 +20363,13 @@ func (c *IoT) UpdateCertificateRequest(input *UpdateCertificateInput) (req *requ // // Updates the status of the specified certificate. This operation is idempotent. // -// Moving a certificate from the ACTIVE state (including REVOKED) will not disconnect -// currently connected devices, but these devices will be unable to reconnect. +// Certificates must be in the ACTIVE state to authenticate devices that use +// a certificate to connect to AWS IoT. // -// The ACTIVE state is required to authenticate devices connecting to AWS IoT -// using a certificate. +// Within a few minutes of updating a certificate from the ACTIVE state to any +// other state, AWS IoT disconnects all devices that used that certificate to +// connect. Devices cannot use a certificate that is not in the ACTIVE state +// to reconnect. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -20313,6 +23480,10 @@ type AuditCheckDetails struct { // The number of resources that were found noncompliant during the check. NonCompliantResourcesCount *int64 `locationName:"nonCompliantResourcesCount" type:"long"` + // Describes how many of the non-compliant resources created during the evaluation + // of an audit check were marked as suppressed. + SuppressedNonCompliantResourcesCount *int64 `locationName:"suppressedNonCompliantResourcesCount" type:"long"` + // The number of resources on which the check was performed. TotalResourcesCount *int64 `locationName:"totalResourcesCount" type:"long"` } @@ -20357,6 +23528,12 @@ func (s *AuditCheckDetails) SetNonCompliantResourcesCount(v int64) *AuditCheckDe return s } +// SetSuppressedNonCompliantResourcesCount sets the SuppressedNonCompliantResourcesCount field's value. +func (s *AuditCheckDetails) SetSuppressedNonCompliantResourcesCount(v int64) *AuditCheckDetails { + s.SuppressedNonCompliantResourcesCount = &v + return s +} + // SetTotalResourcesCount sets the TotalResourcesCount field's value. func (s *AuditCheckDetails) SetTotalResourcesCount(v int64) *AuditCheckDetails { s.TotalResourcesCount = &v @@ -20377,6 +23554,9 @@ type AuditFinding struct { // The time the result (finding) was discovered. FindingTime *time.Time `locationName:"findingTime" type:"timestamp"` + // Indicates whether the audit finding was suppressed or not during reporting. + IsSuppressed *bool `locationName:"isSuppressed" type:"boolean"` + // The resource that was found to be noncompliant with the audit check. NonCompliantResource *NonCompliantResource `locationName:"nonCompliantResource" type:"structure"` @@ -20427,6 +23607,12 @@ func (s *AuditFinding) SetFindingTime(v time.Time) *AuditFinding { return s } +// SetIsSuppressed sets the IsSuppressed field's value. +func (s *AuditFinding) SetIsSuppressed(v bool) *AuditFinding { + s.IsSuppressed = &v + return s +} + // SetNonCompliantResource sets the NonCompliantResource field's value. func (s *AuditFinding) SetNonCompliantResource(v *NonCompliantResource) *AuditFinding { s.NonCompliantResource = v @@ -20728,6 +23914,73 @@ func (s *AuditNotificationTarget) SetTargetArn(v string) *AuditNotificationTarge return s } +// Filters out specific findings of a Device Defender audit. +type AuditSuppression struct { + _ struct{} `type:"structure"` + + // An audit check name. Checks must be enabled for your account. (Use DescribeAccountAuditConfiguration + // to see the list of all checks, including those that are enabled or use UpdateAccountAuditConfiguration + // to select which checks are enabled.) + // + // CheckName is a required field + CheckName *string `locationName:"checkName" type:"string" required:"true"` + + // The description of the audit suppression. + Description *string `locationName:"description" type:"string"` + + // The expiration date (epoch timestamp in seconds) that you want the suppression + // to adhere to. + ExpirationDate *time.Time `locationName:"expirationDate" type:"timestamp"` + + // Information that identifies the noncompliant resource. + // + // ResourceIdentifier is a required field + ResourceIdentifier *ResourceIdentifier `locationName:"resourceIdentifier" type:"structure" required:"true"` + + // Indicates whether a suppression should exist indefinitely or not. + SuppressIndefinitely *bool `locationName:"suppressIndefinitely" type:"boolean"` +} + +// String returns the string representation +func (s AuditSuppression) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AuditSuppression) GoString() string { + return s.String() +} + +// SetCheckName sets the CheckName field's value. +func (s *AuditSuppression) SetCheckName(v string) *AuditSuppression { + s.CheckName = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *AuditSuppression) SetDescription(v string) *AuditSuppression { + s.Description = &v + return s +} + +// SetExpirationDate sets the ExpirationDate field's value. +func (s *AuditSuppression) SetExpirationDate(v time.Time) *AuditSuppression { + s.ExpirationDate = &v + return s +} + +// SetResourceIdentifier sets the ResourceIdentifier field's value. +func (s *AuditSuppression) SetResourceIdentifier(v *ResourceIdentifier) *AuditSuppression { + s.ResourceIdentifier = v + return s +} + +// SetSuppressIndefinitely sets the SuppressIndefinitely field's value. +func (s *AuditSuppression) SetSuppressIndefinitely(v bool) *AuditSuppression { + s.SuppressIndefinitely = &v + return s +} + // The audits that were performed. type AuditTaskMetadata struct { _ struct{} `type:"structure"` @@ -23168,6 +26421,118 @@ func (s *ConflictingResourceUpdateException) RequestID() string { return s.RespMetadata.RequestID } +type CreateAuditSuppressionInput struct { + _ struct{} `type:"structure"` + + // An audit check name. Checks must be enabled for your account. (Use DescribeAccountAuditConfiguration + // to see the list of all checks, including those that are enabled or use UpdateAccountAuditConfiguration + // to select which checks are enabled.) + // + // CheckName is a required field + CheckName *string `locationName:"checkName" type:"string" required:"true"` + + // The epoch timestamp in seconds at which this suppression expires. + ClientRequestToken *string `locationName:"clientRequestToken" min:"1" type:"string" idempotencyToken:"true"` + + // The description of the audit suppression. + Description *string `locationName:"description" type:"string"` + + // The epoch timestamp in seconds at which this suppression expires. + ExpirationDate *time.Time `locationName:"expirationDate" type:"timestamp"` + + // Information that identifies the noncompliant resource. + // + // ResourceIdentifier is a required field + ResourceIdentifier *ResourceIdentifier `locationName:"resourceIdentifier" type:"structure" required:"true"` + + // Indicates whether a suppression should exist indefinitely or not. + SuppressIndefinitely *bool `locationName:"suppressIndefinitely" type:"boolean"` +} + +// String returns the string representation +func (s CreateAuditSuppressionInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateAuditSuppressionInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateAuditSuppressionInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateAuditSuppressionInput"} + if s.CheckName == nil { + invalidParams.Add(request.NewErrParamRequired("CheckName")) + } + if s.ClientRequestToken != nil && len(*s.ClientRequestToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ClientRequestToken", 1)) + } + if s.ResourceIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceIdentifier")) + } + if s.ResourceIdentifier != nil { + if err := s.ResourceIdentifier.Validate(); err != nil { + invalidParams.AddNested("ResourceIdentifier", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCheckName sets the CheckName field's value. +func (s *CreateAuditSuppressionInput) SetCheckName(v string) *CreateAuditSuppressionInput { + s.CheckName = &v + return s +} + +// SetClientRequestToken sets the ClientRequestToken field's value. +func (s *CreateAuditSuppressionInput) SetClientRequestToken(v string) *CreateAuditSuppressionInput { + s.ClientRequestToken = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *CreateAuditSuppressionInput) SetDescription(v string) *CreateAuditSuppressionInput { + s.Description = &v + return s +} + +// SetExpirationDate sets the ExpirationDate field's value. +func (s *CreateAuditSuppressionInput) SetExpirationDate(v time.Time) *CreateAuditSuppressionInput { + s.ExpirationDate = &v + return s +} + +// SetResourceIdentifier sets the ResourceIdentifier field's value. +func (s *CreateAuditSuppressionInput) SetResourceIdentifier(v *ResourceIdentifier) *CreateAuditSuppressionInput { + s.ResourceIdentifier = v + return s +} + +// SetSuppressIndefinitely sets the SuppressIndefinitely field's value. +func (s *CreateAuditSuppressionInput) SetSuppressIndefinitely(v bool) *CreateAuditSuppressionInput { + s.SuppressIndefinitely = &v + return s +} + +type CreateAuditSuppressionOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s CreateAuditSuppressionOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateAuditSuppressionOutput) GoString() string { + return s.String() +} + type CreateAuthorizerInput struct { _ struct{} `type:"structure"` @@ -26560,6 +29925,79 @@ func (s DeleteAccountAuditConfigurationOutput) GoString() string { return s.String() } +type DeleteAuditSuppressionInput struct { + _ struct{} `type:"structure"` + + // An audit check name. Checks must be enabled for your account. (Use DescribeAccountAuditConfiguration + // to see the list of all checks, including those that are enabled or use UpdateAccountAuditConfiguration + // to select which checks are enabled.) + // + // CheckName is a required field + CheckName *string `locationName:"checkName" type:"string" required:"true"` + + // Information that identifies the noncompliant resource. + // + // ResourceIdentifier is a required field + ResourceIdentifier *ResourceIdentifier `locationName:"resourceIdentifier" type:"structure" required:"true"` +} + +// String returns the string representation +func (s DeleteAuditSuppressionInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteAuditSuppressionInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteAuditSuppressionInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteAuditSuppressionInput"} + if s.CheckName == nil { + invalidParams.Add(request.NewErrParamRequired("CheckName")) + } + if s.ResourceIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceIdentifier")) + } + if s.ResourceIdentifier != nil { + if err := s.ResourceIdentifier.Validate(); err != nil { + invalidParams.AddNested("ResourceIdentifier", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCheckName sets the CheckName field's value. +func (s *DeleteAuditSuppressionInput) SetCheckName(v string) *DeleteAuditSuppressionInput { + s.CheckName = &v + return s +} + +// SetResourceIdentifier sets the ResourceIdentifier field's value. +func (s *DeleteAuditSuppressionInput) SetResourceIdentifier(v *ResourceIdentifier) *DeleteAuditSuppressionInput { + s.ResourceIdentifier = v + return s +} + +type DeleteAuditSuppressionOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DeleteAuditSuppressionOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteAuditSuppressionOutput) GoString() string { + return s.String() +} + type DeleteAuthorizerInput struct { _ struct{} `type:"structure"` @@ -28577,6 +32015,126 @@ func (s *DescribeAuditMitigationActionsTaskOutput) SetTaskStatus(v string) *Desc return s } +type DescribeAuditSuppressionInput struct { + _ struct{} `type:"structure"` + + // An audit check name. Checks must be enabled for your account. (Use DescribeAccountAuditConfiguration + // to see the list of all checks, including those that are enabled or use UpdateAccountAuditConfiguration + // to select which checks are enabled.) + // + // CheckName is a required field + CheckName *string `locationName:"checkName" type:"string" required:"true"` + + // Information that identifies the noncompliant resource. + // + // ResourceIdentifier is a required field + ResourceIdentifier *ResourceIdentifier `locationName:"resourceIdentifier" type:"structure" required:"true"` +} + +// String returns the string representation +func (s DescribeAuditSuppressionInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeAuditSuppressionInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeAuditSuppressionInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeAuditSuppressionInput"} + if s.CheckName == nil { + invalidParams.Add(request.NewErrParamRequired("CheckName")) + } + if s.ResourceIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceIdentifier")) + } + if s.ResourceIdentifier != nil { + if err := s.ResourceIdentifier.Validate(); err != nil { + invalidParams.AddNested("ResourceIdentifier", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCheckName sets the CheckName field's value. +func (s *DescribeAuditSuppressionInput) SetCheckName(v string) *DescribeAuditSuppressionInput { + s.CheckName = &v + return s +} + +// SetResourceIdentifier sets the ResourceIdentifier field's value. +func (s *DescribeAuditSuppressionInput) SetResourceIdentifier(v *ResourceIdentifier) *DescribeAuditSuppressionInput { + s.ResourceIdentifier = v + return s +} + +type DescribeAuditSuppressionOutput struct { + _ struct{} `type:"structure"` + + // An audit check name. Checks must be enabled for your account. (Use DescribeAccountAuditConfiguration + // to see the list of all checks, including those that are enabled or use UpdateAccountAuditConfiguration + // to select which checks are enabled.) + CheckName *string `locationName:"checkName" type:"string"` + + // The description of the audit suppression. + Description *string `locationName:"description" type:"string"` + + // The epoch timestamp in seconds at which this suppression expires. + ExpirationDate *time.Time `locationName:"expirationDate" type:"timestamp"` + + // Information that identifies the noncompliant resource. + ResourceIdentifier *ResourceIdentifier `locationName:"resourceIdentifier" type:"structure"` + + // Indicates whether a suppression should exist indefinitely or not. + SuppressIndefinitely *bool `locationName:"suppressIndefinitely" type:"boolean"` +} + +// String returns the string representation +func (s DescribeAuditSuppressionOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeAuditSuppressionOutput) GoString() string { + return s.String() +} + +// SetCheckName sets the CheckName field's value. +func (s *DescribeAuditSuppressionOutput) SetCheckName(v string) *DescribeAuditSuppressionOutput { + s.CheckName = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *DescribeAuditSuppressionOutput) SetDescription(v string) *DescribeAuditSuppressionOutput { + s.Description = &v + return s +} + +// SetExpirationDate sets the ExpirationDate field's value. +func (s *DescribeAuditSuppressionOutput) SetExpirationDate(v time.Time) *DescribeAuditSuppressionOutput { + s.ExpirationDate = &v + return s +} + +// SetResourceIdentifier sets the ResourceIdentifier field's value. +func (s *DescribeAuditSuppressionOutput) SetResourceIdentifier(v *ResourceIdentifier) *DescribeAuditSuppressionOutput { + s.ResourceIdentifier = v + return s +} + +// SetSuppressIndefinitely sets the SuppressIndefinitely field's value. +func (s *DescribeAuditSuppressionOutput) SetSuppressIndefinitely(v bool) *DescribeAuditSuppressionOutput { + s.SuppressIndefinitely = &v + return s +} + type DescribeAuditTaskInput struct { _ struct{} `type:"structure"` @@ -31103,8 +34661,9 @@ type DetachPrincipalPolicyInput struct { // The principal. // - // If the principal is a certificate, specify the certificate ARN. If the principal - // is an Amazon Cognito identity, specify the identity ID. + // Valid principals are CertificateArn (arn:aws:iot:region:accountId:cert/certificateId), + // thingGroupArn (arn:aws:iot:region:accountId:thinggroup/groupName) and CognitoId + // (region:id). // // Principal is a required field Principal *string `location:"header" locationName:"x-amzn-iot-principal" type:"string" required:"true"` @@ -32279,7 +35838,9 @@ type GetEffectivePoliciesInput struct { // The Cognito identity pool ID. CognitoIdentityPoolId *string `locationName:"cognitoIdentityPoolId" type:"string"` - // The principal. + // The principal. Valid principals are CertificateArn (arn:aws:iot:region:accountId:cert/certificateId), + // thingGroupArn (arn:aws:iot:region:accountId:thinggroup/groupName) and CognitoId + // (region:id). Principal *string `locationName:"principal" type:"string"` // The thing name. @@ -35296,7 +38857,9 @@ type ListAttachedPoliciesInput struct { // When true, recursively list attached policies. Recursive *bool `location:"querystring" locationName:"recursive" type:"boolean"` - // The group or principal for which the policies will be listed. + // The group or principal for which the policies will be listed. Valid principals + // are CertificateArn (arn:aws:iot:region:accountId:cert/certificateId), thingGroupArn + // (arn:aws:iot:region:accountId:thinggroup/groupName) and CognitoId (region:id). // // Target is a required field Target *string `location:"uri" locationName:"target" type:"string" required:"true"` @@ -35398,6 +38961,11 @@ type ListAuditFindingsInput struct { // specify either the startTime and endTime or the taskId, but not both. EndTime *time.Time `locationName:"endTime" type:"timestamp"` + // Boolean flag indicating whether only the suppressed findings or the unsuppressed + // findings should be listed. If this parameter isn't provided, the response + // will list both suppressed and unsuppressed findings. + ListSuppressedFindings *bool `locationName:"listSuppressedFindings" type:"boolean"` + // The maximum number of results to return at one time. The default is 25. MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` @@ -35459,6 +39027,12 @@ func (s *ListAuditFindingsInput) SetEndTime(v time.Time) *ListAuditFindingsInput return s } +// SetListSuppressedFindings sets the ListSuppressedFindings field's value. +func (s *ListAuditFindingsInput) SetListSuppressedFindings(v bool) *ListAuditFindingsInput { + s.ListSuppressedFindings = &v + return s +} + // SetMaxResults sets the MaxResults field's value. func (s *ListAuditFindingsInput) SetMaxResults(v int64) *ListAuditFindingsInput { s.MaxResults = &v @@ -35787,6 +39361,119 @@ func (s *ListAuditMitigationActionsTasksOutput) SetTasks(v []*AuditMitigationAct return s } +type ListAuditSuppressionsInput struct { + _ struct{} `type:"structure"` + + // Determines whether suppressions are listed in ascending order by expiration + // date or not. If parameter isn't provided, ascendingOrder=true. + AscendingOrder *bool `locationName:"ascendingOrder" type:"boolean"` + + // An audit check name. Checks must be enabled for your account. (Use DescribeAccountAuditConfiguration + // to see the list of all checks, including those that are enabled or use UpdateAccountAuditConfiguration + // to select which checks are enabled.) + CheckName *string `locationName:"checkName" type:"string"` + + // The maximum number of results to return at one time. The default is 25. + MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` + + // The token for the next set of results. + NextToken *string `locationName:"nextToken" type:"string"` + + // Information that identifies the noncompliant resource. + ResourceIdentifier *ResourceIdentifier `locationName:"resourceIdentifier" type:"structure"` +} + +// String returns the string representation +func (s ListAuditSuppressionsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListAuditSuppressionsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListAuditSuppressionsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListAuditSuppressionsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.ResourceIdentifier != nil { + if err := s.ResourceIdentifier.Validate(); err != nil { + invalidParams.AddNested("ResourceIdentifier", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAscendingOrder sets the AscendingOrder field's value. +func (s *ListAuditSuppressionsInput) SetAscendingOrder(v bool) *ListAuditSuppressionsInput { + s.AscendingOrder = &v + return s +} + +// SetCheckName sets the CheckName field's value. +func (s *ListAuditSuppressionsInput) SetCheckName(v string) *ListAuditSuppressionsInput { + s.CheckName = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListAuditSuppressionsInput) SetMaxResults(v int64) *ListAuditSuppressionsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListAuditSuppressionsInput) SetNextToken(v string) *ListAuditSuppressionsInput { + s.NextToken = &v + return s +} + +// SetResourceIdentifier sets the ResourceIdentifier field's value. +func (s *ListAuditSuppressionsInput) SetResourceIdentifier(v *ResourceIdentifier) *ListAuditSuppressionsInput { + s.ResourceIdentifier = v + return s +} + +type ListAuditSuppressionsOutput struct { + _ struct{} `type:"structure"` + + // A token that can be used to retrieve the next set of results, or null if + // there are no additional results. + NextToken *string `locationName:"nextToken" type:"string"` + + // List of audit suppressions. + Suppressions []*AuditSuppression `locationName:"suppressions" type:"list"` +} + +// String returns the string representation +func (s ListAuditSuppressionsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListAuditSuppressionsOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *ListAuditSuppressionsOutput) SetNextToken(v string) *ListAuditSuppressionsOutput { + s.NextToken = &v + return s +} + +// SetSuppressions sets the Suppressions field's value. +func (s *ListAuditSuppressionsOutput) SetSuppressions(v []*AuditSuppression) *ListAuditSuppressionsOutput { + s.Suppressions = v + return s +} + type ListAuditTasksInput struct { _ struct{} `type:"structure"` @@ -37505,7 +41192,9 @@ type ListPrincipalPoliciesInput struct { // The result page size. PageSize *int64 `location:"querystring" locationName:"pageSize" min:"1" type:"integer"` - // The principal. + // The principal. Valid principals are CertificateArn (arn:aws:iot:region:accountId:cert/certificateId), + // thingGroupArn (arn:aws:iot:region:accountId:thinggroup/groupName) and CognitoId + // (region:id). // // Principal is a required field Principal *string `location:"header" locationName:"x-amzn-iot-principal" type:"string" required:"true"` @@ -38747,8 +42436,8 @@ func (s *ListThingGroupsInput) SetRecursive(v bool) *ListThingGroupsInput { type ListThingGroupsOutput struct { _ struct{} `type:"structure"` - // The token used to get the next set of results, or null if there are no additional - // results. + // The token used to get the next set of results. Will not be returned if operation + // has returned all results. NextToken *string `locationName:"nextToken" type:"string"` // The thing groups. @@ -39110,8 +42799,8 @@ func (s *ListThingTypesInput) SetThingTypeName(v string) *ListThingTypesInput { type ListThingTypesOutput struct { _ struct{} `type:"structure"` - // The token for the next set of results, or null if there are no additional - // results. + // The token for the next set of results. Will not be returned if operation + // has returned all results. NextToken *string `locationName:"nextToken" type:"string"` // The thing types. @@ -39205,8 +42894,8 @@ func (s *ListThingsInBillingGroupInput) SetNextToken(v string) *ListThingsInBill type ListThingsInBillingGroupOutput struct { _ struct{} `type:"structure"` - // The token used to get the next set of results, or null if there are no additional - // results. + // The token used to get the next set of results. Will not be returned if operation + // has returned all results. NextToken *string `locationName:"nextToken" type:"string"` // A list of things in the billing group. @@ -39419,8 +43108,8 @@ func (s *ListThingsInput) SetThingTypeName(v string) *ListThingsInput { type ListThingsOutput struct { _ struct{} `type:"structure"` - // The token used to get the next set of results, or null if there are no additional - // results. + // The token used to get the next set of results. Will not be returned if operation + // has returned all results. NextToken *string `locationName:"nextToken" type:"string"` // The things. @@ -45289,7 +48978,9 @@ type TestAuthorizationInput struct { // as if they are not attached to the principal being authorized. PolicyNamesToSkip []*string `locationName:"policyNamesToSkip" type:"list"` - // The principal. + // The principal. Valid principals are CertificateArn (arn:aws:iot:region:accountId:cert/certificateId), + // thingGroupArn (arn:aws:iot:region:accountId:thinggroup/groupName) and CognitoId + // (region:id). Principal *string `locationName:"principal" type:"string"` } @@ -47195,6 +50886,107 @@ func (s UpdateAccountAuditConfigurationOutput) GoString() string { return s.String() } +type UpdateAuditSuppressionInput struct { + _ struct{} `type:"structure"` + + // An audit check name. Checks must be enabled for your account. (Use DescribeAccountAuditConfiguration + // to see the list of all checks, including those that are enabled or use UpdateAccountAuditConfiguration + // to select which checks are enabled.) + // + // CheckName is a required field + CheckName *string `locationName:"checkName" type:"string" required:"true"` + + // The description of the audit suppression. + Description *string `locationName:"description" type:"string"` + + // The expiration date (epoch timestamp in seconds) that you want the suppression + // to adhere to. + ExpirationDate *time.Time `locationName:"expirationDate" type:"timestamp"` + + // Information that identifies the noncompliant resource. + // + // ResourceIdentifier is a required field + ResourceIdentifier *ResourceIdentifier `locationName:"resourceIdentifier" type:"structure" required:"true"` + + // Indicates whether a suppression should exist indefinitely or not. + SuppressIndefinitely *bool `locationName:"suppressIndefinitely" type:"boolean"` +} + +// String returns the string representation +func (s UpdateAuditSuppressionInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateAuditSuppressionInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateAuditSuppressionInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateAuditSuppressionInput"} + if s.CheckName == nil { + invalidParams.Add(request.NewErrParamRequired("CheckName")) + } + if s.ResourceIdentifier == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceIdentifier")) + } + if s.ResourceIdentifier != nil { + if err := s.ResourceIdentifier.Validate(); err != nil { + invalidParams.AddNested("ResourceIdentifier", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCheckName sets the CheckName field's value. +func (s *UpdateAuditSuppressionInput) SetCheckName(v string) *UpdateAuditSuppressionInput { + s.CheckName = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *UpdateAuditSuppressionInput) SetDescription(v string) *UpdateAuditSuppressionInput { + s.Description = &v + return s +} + +// SetExpirationDate sets the ExpirationDate field's value. +func (s *UpdateAuditSuppressionInput) SetExpirationDate(v time.Time) *UpdateAuditSuppressionInput { + s.ExpirationDate = &v + return s +} + +// SetResourceIdentifier sets the ResourceIdentifier field's value. +func (s *UpdateAuditSuppressionInput) SetResourceIdentifier(v *ResourceIdentifier) *UpdateAuditSuppressionInput { + s.ResourceIdentifier = v + return s +} + +// SetSuppressIndefinitely sets the SuppressIndefinitely field's value. +func (s *UpdateAuditSuppressionInput) SetSuppressIndefinitely(v bool) *UpdateAuditSuppressionInput { + s.SuppressIndefinitely = &v + return s +} + +type UpdateAuditSuppressionOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s UpdateAuditSuppressionOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateAuditSuppressionOutput) GoString() string { + return s.String() +} + type UpdateAuthorizerInput struct { _ struct{} `type:"structure"` @@ -49752,6 +53544,13 @@ const ( AbortActionCancel = "CANCEL" ) +// AbortAction_Values returns all elements of the AbortAction enum +func AbortAction_Values() []string { + return []string{ + AbortActionCancel, + } +} + const ( // ActionTypePublish is a ActionType enum value ActionTypePublish = "PUBLISH" @@ -49766,12 +53565,29 @@ const ( ActionTypeConnect = "CONNECT" ) +// ActionType_Values returns all elements of the ActionType enum +func ActionType_Values() []string { + return []string{ + ActionTypePublish, + ActionTypeSubscribe, + ActionTypeReceive, + ActionTypeConnect, + } +} + // The type of alert target: one of "SNS". const ( // AlertTargetTypeSns is a AlertTargetType enum value AlertTargetTypeSns = "SNS" ) +// AlertTargetType_Values returns all elements of the AlertTargetType enum +func AlertTargetType_Values() []string { + return []string{ + AlertTargetTypeSns, + } +} + const ( // AuditCheckRunStatusInProgress is a AuditCheckRunStatus enum value AuditCheckRunStatusInProgress = "IN_PROGRESS" @@ -49792,6 +53608,18 @@ const ( AuditCheckRunStatusFailed = "FAILED" ) +// AuditCheckRunStatus_Values returns all elements of the AuditCheckRunStatus enum +func AuditCheckRunStatus_Values() []string { + return []string{ + AuditCheckRunStatusInProgress, + AuditCheckRunStatusWaitingForDataCollection, + AuditCheckRunStatusCanceled, + AuditCheckRunStatusCompletedCompliant, + AuditCheckRunStatusCompletedNonCompliant, + AuditCheckRunStatusFailed, + } +} + const ( // AuditFindingSeverityCritical is a AuditFindingSeverity enum value AuditFindingSeverityCritical = "CRITICAL" @@ -49806,6 +53634,16 @@ const ( AuditFindingSeverityLow = "LOW" ) +// AuditFindingSeverity_Values returns all elements of the AuditFindingSeverity enum +func AuditFindingSeverity_Values() []string { + return []string{ + AuditFindingSeverityCritical, + AuditFindingSeverityHigh, + AuditFindingSeverityMedium, + AuditFindingSeverityLow, + } +} + const ( // AuditFrequencyDaily is a AuditFrequency enum value AuditFrequencyDaily = "DAILY" @@ -49820,6 +53658,16 @@ const ( AuditFrequencyMonthly = "MONTHLY" ) +// AuditFrequency_Values returns all elements of the AuditFrequency enum +func AuditFrequency_Values() []string { + return []string{ + AuditFrequencyDaily, + AuditFrequencyWeekly, + AuditFrequencyBiweekly, + AuditFrequencyMonthly, + } +} + const ( // AuditMitigationActionsExecutionStatusInProgress is a AuditMitigationActionsExecutionStatus enum value AuditMitigationActionsExecutionStatusInProgress = "IN_PROGRESS" @@ -49840,6 +53688,18 @@ const ( AuditMitigationActionsExecutionStatusPending = "PENDING" ) +// AuditMitigationActionsExecutionStatus_Values returns all elements of the AuditMitigationActionsExecutionStatus enum +func AuditMitigationActionsExecutionStatus_Values() []string { + return []string{ + AuditMitigationActionsExecutionStatusInProgress, + AuditMitigationActionsExecutionStatusCompleted, + AuditMitigationActionsExecutionStatusFailed, + AuditMitigationActionsExecutionStatusCanceled, + AuditMitigationActionsExecutionStatusSkipped, + AuditMitigationActionsExecutionStatusPending, + } +} + const ( // AuditMitigationActionsTaskStatusInProgress is a AuditMitigationActionsTaskStatus enum value AuditMitigationActionsTaskStatusInProgress = "IN_PROGRESS" @@ -49854,11 +53714,28 @@ const ( AuditMitigationActionsTaskStatusCanceled = "CANCELED" ) +// AuditMitigationActionsTaskStatus_Values returns all elements of the AuditMitigationActionsTaskStatus enum +func AuditMitigationActionsTaskStatus_Values() []string { + return []string{ + AuditMitigationActionsTaskStatusInProgress, + AuditMitigationActionsTaskStatusCompleted, + AuditMitigationActionsTaskStatusFailed, + AuditMitigationActionsTaskStatusCanceled, + } +} + const ( // AuditNotificationTypeSns is a AuditNotificationType enum value AuditNotificationTypeSns = "SNS" ) +// AuditNotificationType_Values returns all elements of the AuditNotificationType enum +func AuditNotificationType_Values() []string { + return []string{ + AuditNotificationTypeSns, + } +} + const ( // AuditTaskStatusInProgress is a AuditTaskStatus enum value AuditTaskStatusInProgress = "IN_PROGRESS" @@ -49873,6 +53750,16 @@ const ( AuditTaskStatusCanceled = "CANCELED" ) +// AuditTaskStatus_Values returns all elements of the AuditTaskStatus enum +func AuditTaskStatus_Values() []string { + return []string{ + AuditTaskStatusInProgress, + AuditTaskStatusCompleted, + AuditTaskStatusFailed, + AuditTaskStatusCanceled, + } +} + const ( // AuditTaskTypeOnDemandAuditTask is a AuditTaskType enum value AuditTaskTypeOnDemandAuditTask = "ON_DEMAND_AUDIT_TASK" @@ -49881,6 +53768,14 @@ const ( AuditTaskTypeScheduledAuditTask = "SCHEDULED_AUDIT_TASK" ) +// AuditTaskType_Values returns all elements of the AuditTaskType enum +func AuditTaskType_Values() []string { + return []string{ + AuditTaskTypeOnDemandAuditTask, + AuditTaskTypeScheduledAuditTask, + } +} + const ( // AuthDecisionAllowed is a AuthDecision enum value AuthDecisionAllowed = "ALLOWED" @@ -49892,6 +53787,15 @@ const ( AuthDecisionImplicitDeny = "IMPLICIT_DENY" ) +// AuthDecision_Values returns all elements of the AuthDecision enum +func AuthDecision_Values() []string { + return []string{ + AuthDecisionAllowed, + AuthDecisionExplicitDeny, + AuthDecisionImplicitDeny, + } +} + const ( // AuthorizerStatusActive is a AuthorizerStatus enum value AuthorizerStatusActive = "ACTIVE" @@ -49900,6 +53804,14 @@ const ( AuthorizerStatusInactive = "INACTIVE" ) +// AuthorizerStatus_Values returns all elements of the AuthorizerStatus enum +func AuthorizerStatus_Values() []string { + return []string{ + AuthorizerStatusActive, + AuthorizerStatusInactive, + } +} + const ( // AutoRegistrationStatusEnable is a AutoRegistrationStatus enum value AutoRegistrationStatusEnable = "ENABLE" @@ -49908,11 +53820,26 @@ const ( AutoRegistrationStatusDisable = "DISABLE" ) +// AutoRegistrationStatus_Values returns all elements of the AutoRegistrationStatus enum +func AutoRegistrationStatus_Values() []string { + return []string{ + AutoRegistrationStatusEnable, + AutoRegistrationStatusDisable, + } +} + const ( // AwsJobAbortCriteriaAbortActionCancel is a AwsJobAbortCriteriaAbortAction enum value AwsJobAbortCriteriaAbortActionCancel = "CANCEL" ) +// AwsJobAbortCriteriaAbortAction_Values returns all elements of the AwsJobAbortCriteriaAbortAction enum +func AwsJobAbortCriteriaAbortAction_Values() []string { + return []string{ + AwsJobAbortCriteriaAbortActionCancel, + } +} + const ( // AwsJobAbortCriteriaFailureTypeFailed is a AwsJobAbortCriteriaFailureType enum value AwsJobAbortCriteriaFailureTypeFailed = "FAILED" @@ -49927,6 +53854,16 @@ const ( AwsJobAbortCriteriaFailureTypeAll = "ALL" ) +// AwsJobAbortCriteriaFailureType_Values returns all elements of the AwsJobAbortCriteriaFailureType enum +func AwsJobAbortCriteriaFailureType_Values() []string { + return []string{ + AwsJobAbortCriteriaFailureTypeFailed, + AwsJobAbortCriteriaFailureTypeRejected, + AwsJobAbortCriteriaFailureTypeTimedOut, + AwsJobAbortCriteriaFailureTypeAll, + } +} + const ( // CACertificateStatusActive is a CACertificateStatus enum value CACertificateStatusActive = "ACTIVE" @@ -49935,11 +53872,26 @@ const ( CACertificateStatusInactive = "INACTIVE" ) +// CACertificateStatus_Values returns all elements of the CACertificateStatus enum +func CACertificateStatus_Values() []string { + return []string{ + CACertificateStatusActive, + CACertificateStatusInactive, + } +} + const ( // CACertificateUpdateActionDeactivate is a CACertificateUpdateAction enum value CACertificateUpdateActionDeactivate = "DEACTIVATE" ) +// CACertificateUpdateAction_Values returns all elements of the CACertificateUpdateAction enum +func CACertificateUpdateAction_Values() []string { + return []string{ + CACertificateUpdateActionDeactivate, + } +} + const ( // CannedAccessControlListPrivate is a CannedAccessControlList enum value CannedAccessControlListPrivate = "private" @@ -49966,6 +53918,20 @@ const ( CannedAccessControlListLogDeliveryWrite = "log-delivery-write" ) +// CannedAccessControlList_Values returns all elements of the CannedAccessControlList enum +func CannedAccessControlList_Values() []string { + return []string{ + CannedAccessControlListPrivate, + CannedAccessControlListPublicRead, + CannedAccessControlListPublicReadWrite, + CannedAccessControlListAwsExecRead, + CannedAccessControlListAuthenticatedRead, + CannedAccessControlListBucketOwnerRead, + CannedAccessControlListBucketOwnerFullControl, + CannedAccessControlListLogDeliveryWrite, + } +} + const ( // CertificateModeDefault is a CertificateMode enum value CertificateModeDefault = "DEFAULT" @@ -49974,6 +53940,14 @@ const ( CertificateModeSniOnly = "SNI_ONLY" ) +// CertificateMode_Values returns all elements of the CertificateMode enum +func CertificateMode_Values() []string { + return []string{ + CertificateModeDefault, + CertificateModeSniOnly, + } +} + const ( // CertificateStatusActive is a CertificateStatus enum value CertificateStatusActive = "ACTIVE" @@ -49994,6 +53968,18 @@ const ( CertificateStatusPendingActivation = "PENDING_ACTIVATION" ) +// CertificateStatus_Values returns all elements of the CertificateStatus enum +func CertificateStatus_Values() []string { + return []string{ + CertificateStatusActive, + CertificateStatusInactive, + CertificateStatusRevoked, + CertificateStatusPendingTransfer, + CertificateStatusRegisterInactive, + CertificateStatusPendingActivation, + } +} + const ( // ComparisonOperatorLessThan is a ComparisonOperator enum value ComparisonOperatorLessThan = "less-than" @@ -50020,6 +54006,20 @@ const ( ComparisonOperatorNotInPortSet = "not-in-port-set" ) +// ComparisonOperator_Values returns all elements of the ComparisonOperator enum +func ComparisonOperator_Values() []string { + return []string{ + ComparisonOperatorLessThan, + ComparisonOperatorLessThanEquals, + ComparisonOperatorGreaterThan, + ComparisonOperatorGreaterThanEquals, + ComparisonOperatorInCidrSet, + ComparisonOperatorNotInCidrSet, + ComparisonOperatorInPortSet, + ComparisonOperatorNotInPortSet, + } +} + const ( // DayOfWeekSun is a DayOfWeek enum value DayOfWeekSun = "SUN" @@ -50043,16 +54043,43 @@ const ( DayOfWeekSat = "SAT" ) +// DayOfWeek_Values returns all elements of the DayOfWeek enum +func DayOfWeek_Values() []string { + return []string{ + DayOfWeekSun, + DayOfWeekMon, + DayOfWeekTue, + DayOfWeekWed, + DayOfWeekThu, + DayOfWeekFri, + DayOfWeekSat, + } +} + const ( // DeviceCertificateUpdateActionDeactivate is a DeviceCertificateUpdateAction enum value DeviceCertificateUpdateActionDeactivate = "DEACTIVATE" ) +// DeviceCertificateUpdateAction_Values returns all elements of the DeviceCertificateUpdateAction enum +func DeviceCertificateUpdateAction_Values() []string { + return []string{ + DeviceCertificateUpdateActionDeactivate, + } +} + const ( // DimensionTypeTopicFilter is a DimensionType enum value DimensionTypeTopicFilter = "TOPIC_FILTER" ) +// DimensionType_Values returns all elements of the DimensionType enum +func DimensionType_Values() []string { + return []string{ + DimensionTypeTopicFilter, + } +} + const ( // DimensionValueOperatorIn is a DimensionValueOperator enum value DimensionValueOperatorIn = "IN" @@ -50061,6 +54088,14 @@ const ( DimensionValueOperatorNotIn = "NOT_IN" ) +// DimensionValueOperator_Values returns all elements of the DimensionValueOperator enum +func DimensionValueOperator_Values() []string { + return []string{ + DimensionValueOperatorIn, + DimensionValueOperatorNotIn, + } +} + const ( // DomainConfigurationStatusEnabled is a DomainConfigurationStatus enum value DomainConfigurationStatusEnabled = "ENABLED" @@ -50069,6 +54104,14 @@ const ( DomainConfigurationStatusDisabled = "DISABLED" ) +// DomainConfigurationStatus_Values returns all elements of the DomainConfigurationStatus enum +func DomainConfigurationStatus_Values() []string { + return []string{ + DomainConfigurationStatusEnabled, + DomainConfigurationStatusDisabled, + } +} + const ( // DomainTypeEndpoint is a DomainType enum value DomainTypeEndpoint = "ENDPOINT" @@ -50080,6 +54123,15 @@ const ( DomainTypeCustomerManaged = "CUSTOMER_MANAGED" ) +// DomainType_Values returns all elements of the DomainType enum +func DomainType_Values() []string { + return []string{ + DomainTypeEndpoint, + DomainTypeAwsManaged, + DomainTypeCustomerManaged, + } +} + const ( // DynamicGroupStatusActive is a DynamicGroupStatus enum value DynamicGroupStatusActive = "ACTIVE" @@ -50091,6 +54143,15 @@ const ( DynamicGroupStatusRebuilding = "REBUILDING" ) +// DynamicGroupStatus_Values returns all elements of the DynamicGroupStatus enum +func DynamicGroupStatus_Values() []string { + return []string{ + DynamicGroupStatusActive, + DynamicGroupStatusBuilding, + DynamicGroupStatusRebuilding, + } +} + const ( // DynamoKeyTypeString is a DynamoKeyType enum value DynamoKeyTypeString = "STRING" @@ -50099,6 +54160,14 @@ const ( DynamoKeyTypeNumber = "NUMBER" ) +// DynamoKeyType_Values returns all elements of the DynamoKeyType enum +func DynamoKeyType_Values() []string { + return []string{ + DynamoKeyTypeString, + DynamoKeyTypeNumber, + } +} + const ( // EventTypeThing is a EventType enum value EventTypeThing = "THING" @@ -50134,6 +54203,23 @@ const ( EventTypeCaCertificate = "CA_CERTIFICATE" ) +// EventType_Values returns all elements of the EventType enum +func EventType_Values() []string { + return []string{ + EventTypeThing, + EventTypeThingGroup, + EventTypeThingType, + EventTypeThingGroupMembership, + EventTypeThingGroupHierarchy, + EventTypeThingTypeAssociation, + EventTypeJob, + EventTypeJobExecution, + EventTypePolicy, + EventTypeCertificate, + EventTypeCaCertificate, + } +} + const ( // FieldTypeNumber is a FieldType enum value FieldTypeNumber = "Number" @@ -50145,6 +54231,15 @@ const ( FieldTypeBoolean = "Boolean" ) +// FieldType_Values returns all elements of the FieldType enum +func FieldType_Values() []string { + return []string{ + FieldTypeNumber, + FieldTypeString, + FieldTypeBoolean, + } +} + const ( // IndexStatusActive is a IndexStatus enum value IndexStatusActive = "ACTIVE" @@ -50156,6 +54251,15 @@ const ( IndexStatusRebuilding = "REBUILDING" ) +// IndexStatus_Values returns all elements of the IndexStatus enum +func IndexStatus_Values() []string { + return []string{ + IndexStatusActive, + IndexStatusBuilding, + IndexStatusRebuilding, + } +} + const ( // JobExecutionFailureTypeFailed is a JobExecutionFailureType enum value JobExecutionFailureTypeFailed = "FAILED" @@ -50170,6 +54274,16 @@ const ( JobExecutionFailureTypeAll = "ALL" ) +// JobExecutionFailureType_Values returns all elements of the JobExecutionFailureType enum +func JobExecutionFailureType_Values() []string { + return []string{ + JobExecutionFailureTypeFailed, + JobExecutionFailureTypeRejected, + JobExecutionFailureTypeTimedOut, + JobExecutionFailureTypeAll, + } +} + const ( // JobExecutionStatusQueued is a JobExecutionStatus enum value JobExecutionStatusQueued = "QUEUED" @@ -50196,6 +54310,20 @@ const ( JobExecutionStatusCanceled = "CANCELED" ) +// JobExecutionStatus_Values returns all elements of the JobExecutionStatus enum +func JobExecutionStatus_Values() []string { + return []string{ + JobExecutionStatusQueued, + JobExecutionStatusInProgress, + JobExecutionStatusSucceeded, + JobExecutionStatusFailed, + JobExecutionStatusTimedOut, + JobExecutionStatusRejected, + JobExecutionStatusRemoved, + JobExecutionStatusCanceled, + } +} + const ( // JobStatusInProgress is a JobStatus enum value JobStatusInProgress = "IN_PROGRESS" @@ -50210,6 +54338,16 @@ const ( JobStatusDeletionInProgress = "DELETION_IN_PROGRESS" ) +// JobStatus_Values returns all elements of the JobStatus enum +func JobStatus_Values() []string { + return []string{ + JobStatusInProgress, + JobStatusCanceled, + JobStatusCompleted, + JobStatusDeletionInProgress, + } +} + const ( // LogLevelDebug is a LogLevel enum value LogLevelDebug = "DEBUG" @@ -50227,6 +54365,17 @@ const ( LogLevelDisabled = "DISABLED" ) +// LogLevel_Values returns all elements of the LogLevel enum +func LogLevel_Values() []string { + return []string{ + LogLevelDebug, + LogLevelInfo, + LogLevelError, + LogLevelWarn, + LogLevelDisabled, + } +} + const ( // LogTargetTypeDefault is a LogTargetType enum value LogTargetTypeDefault = "DEFAULT" @@ -50235,6 +54384,14 @@ const ( LogTargetTypeThingGroup = "THING_GROUP" ) +// LogTargetType_Values returns all elements of the LogTargetType enum +func LogTargetType_Values() []string { + return []string{ + LogTargetTypeDefault, + LogTargetTypeThingGroup, + } +} + const ( // MessageFormatRaw is a MessageFormat enum value MessageFormatRaw = "RAW" @@ -50243,6 +54400,14 @@ const ( MessageFormatJson = "JSON" ) +// MessageFormat_Values returns all elements of the MessageFormat enum +func MessageFormat_Values() []string { + return []string{ + MessageFormatRaw, + MessageFormatJson, + } +} + const ( // MitigationActionTypeUpdateDeviceCertificate is a MitigationActionType enum value MitigationActionTypeUpdateDeviceCertificate = "UPDATE_DEVICE_CERTIFICATE" @@ -50263,6 +54428,18 @@ const ( MitigationActionTypePublishFindingToSns = "PUBLISH_FINDING_TO_SNS" ) +// MitigationActionType_Values returns all elements of the MitigationActionType enum +func MitigationActionType_Values() []string { + return []string{ + MitigationActionTypeUpdateDeviceCertificate, + MitigationActionTypeUpdateCaCertificate, + MitigationActionTypeAddThingsToThingGroup, + MitigationActionTypeReplaceDefaultPolicyVersion, + MitigationActionTypeEnableIotLogging, + MitigationActionTypePublishFindingToSns, + } +} + const ( // OTAUpdateStatusCreatePending is a OTAUpdateStatus enum value OTAUpdateStatusCreatePending = "CREATE_PENDING" @@ -50277,11 +54454,28 @@ const ( OTAUpdateStatusCreateFailed = "CREATE_FAILED" ) +// OTAUpdateStatus_Values returns all elements of the OTAUpdateStatus enum +func OTAUpdateStatus_Values() []string { + return []string{ + OTAUpdateStatusCreatePending, + OTAUpdateStatusCreateInProgress, + OTAUpdateStatusCreateComplete, + OTAUpdateStatusCreateFailed, + } +} + const ( // PolicyTemplateNameBlankPolicy is a PolicyTemplateName enum value PolicyTemplateNameBlankPolicy = "BLANK_POLICY" ) +// PolicyTemplateName_Values returns all elements of the PolicyTemplateName enum +func PolicyTemplateName_Values() []string { + return []string{ + PolicyTemplateNameBlankPolicy, + } +} + const ( // ProtocolMqtt is a Protocol enum value ProtocolMqtt = "MQTT" @@ -50290,6 +54484,14 @@ const ( ProtocolHttp = "HTTP" ) +// Protocol_Values returns all elements of the Protocol enum +func Protocol_Values() []string { + return []string{ + ProtocolMqtt, + ProtocolHttp, + } +} + const ( // ReportTypeErrors is a ReportType enum value ReportTypeErrors = "ERRORS" @@ -50298,6 +54500,14 @@ const ( ReportTypeResults = "RESULTS" ) +// ReportType_Values returns all elements of the ReportType enum +func ReportType_Values() []string { + return []string{ + ReportTypeErrors, + ReportTypeResults, + } +} + const ( // ResourceTypeDeviceCertificate is a ResourceType enum value ResourceTypeDeviceCertificate = "DEVICE_CERTIFICATE" @@ -50324,6 +54534,20 @@ const ( ResourceTypeIamRole = "IAM_ROLE" ) +// ResourceType_Values returns all elements of the ResourceType enum +func ResourceType_Values() []string { + return []string{ + ResourceTypeDeviceCertificate, + ResourceTypeCaCertificate, + ResourceTypeIotPolicy, + ResourceTypeCognitoIdentityPool, + ResourceTypeClientId, + ResourceTypeAccountSettings, + ResourceTypeRoleAlias, + ResourceTypeIamRole, + } +} + const ( // ServerCertificateStatusInvalid is a ServerCertificateStatus enum value ServerCertificateStatusInvalid = "INVALID" @@ -50332,6 +54556,14 @@ const ( ServerCertificateStatusValid = "VALID" ) +// ServerCertificateStatus_Values returns all elements of the ServerCertificateStatus enum +func ServerCertificateStatus_Values() []string { + return []string{ + ServerCertificateStatusInvalid, + ServerCertificateStatusValid, + } +} + const ( // ServiceTypeData is a ServiceType enum value ServiceTypeData = "DATA" @@ -50343,6 +54575,15 @@ const ( ServiceTypeJobs = "JOBS" ) +// ServiceType_Values returns all elements of the ServiceType enum +func ServiceType_Values() []string { + return []string{ + ServiceTypeData, + ServiceTypeCredentialProvider, + ServiceTypeJobs, + } +} + const ( // StatusInProgress is a Status enum value StatusInProgress = "InProgress" @@ -50360,6 +54601,17 @@ const ( StatusCancelling = "Cancelling" ) +// Status_Values returns all elements of the Status enum +func Status_Values() []string { + return []string{ + StatusInProgress, + StatusCompleted, + StatusFailed, + StatusCancelled, + StatusCancelling, + } +} + const ( // TargetSelectionContinuous is a TargetSelection enum value TargetSelectionContinuous = "CONTINUOUS" @@ -50368,6 +54620,14 @@ const ( TargetSelectionSnapshot = "SNAPSHOT" ) +// TargetSelection_Values returns all elements of the TargetSelection enum +func TargetSelection_Values() []string { + return []string{ + TargetSelectionContinuous, + TargetSelectionSnapshot, + } +} + const ( // ThingConnectivityIndexingModeOff is a ThingConnectivityIndexingMode enum value ThingConnectivityIndexingModeOff = "OFF" @@ -50376,6 +54636,14 @@ const ( ThingConnectivityIndexingModeStatus = "STATUS" ) +// ThingConnectivityIndexingMode_Values returns all elements of the ThingConnectivityIndexingMode enum +func ThingConnectivityIndexingMode_Values() []string { + return []string{ + ThingConnectivityIndexingModeOff, + ThingConnectivityIndexingModeStatus, + } +} + const ( // ThingGroupIndexingModeOff is a ThingGroupIndexingMode enum value ThingGroupIndexingModeOff = "OFF" @@ -50384,6 +54652,14 @@ const ( ThingGroupIndexingModeOn = "ON" ) +// ThingGroupIndexingMode_Values returns all elements of the ThingGroupIndexingMode enum +func ThingGroupIndexingMode_Values() []string { + return []string{ + ThingGroupIndexingModeOff, + ThingGroupIndexingModeOn, + } +} + const ( // ThingIndexingModeOff is a ThingIndexingMode enum value ThingIndexingModeOff = "OFF" @@ -50395,6 +54671,15 @@ const ( ThingIndexingModeRegistryAndShadow = "REGISTRY_AND_SHADOW" ) +// ThingIndexingMode_Values returns all elements of the ThingIndexingMode enum +func ThingIndexingMode_Values() []string { + return []string{ + ThingIndexingModeOff, + ThingIndexingModeRegistry, + ThingIndexingModeRegistryAndShadow, + } +} + const ( // TopicRuleDestinationStatusEnabled is a TopicRuleDestinationStatus enum value TopicRuleDestinationStatusEnabled = "ENABLED" @@ -50409,6 +54694,16 @@ const ( TopicRuleDestinationStatusError = "ERROR" ) +// TopicRuleDestinationStatus_Values returns all elements of the TopicRuleDestinationStatus enum +func TopicRuleDestinationStatus_Values() []string { + return []string{ + TopicRuleDestinationStatusEnabled, + TopicRuleDestinationStatusInProgress, + TopicRuleDestinationStatusDisabled, + TopicRuleDestinationStatusError, + } +} + const ( // ViolationEventTypeInAlarm is a ViolationEventType enum value ViolationEventTypeInAlarm = "in-alarm" @@ -50419,3 +54714,12 @@ const ( // ViolationEventTypeAlarmInvalidated is a ViolationEventType enum value ViolationEventTypeAlarmInvalidated = "alarm-invalidated" ) + +// ViolationEventType_Values returns all elements of the ViolationEventType enum +func ViolationEventType_Values() []string { + return []string{ + ViolationEventTypeInAlarm, + ViolationEventTypeAlarmCleared, + ViolationEventTypeAlarmInvalidated, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/iotanalytics/api.go b/vendor/github.com/aws/aws-sdk-go/service/iotanalytics/api.go index 02cec6c4758..a0c0e800da6 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/iotanalytics/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/iotanalytics/api.go @@ -10521,6 +10521,15 @@ const ( ChannelStatusDeleting = "DELETING" ) +// ChannelStatus_Values returns all elements of the ChannelStatus enum +func ChannelStatus_Values() []string { + return []string{ + ChannelStatusCreating, + ChannelStatusActive, + ChannelStatusDeleting, + } +} + const ( // ComputeTypeAcu1 is a ComputeType enum value ComputeTypeAcu1 = "ACU_1" @@ -10529,6 +10538,14 @@ const ( ComputeTypeAcu2 = "ACU_2" ) +// ComputeType_Values returns all elements of the ComputeType enum +func ComputeType_Values() []string { + return []string{ + ComputeTypeAcu1, + ComputeTypeAcu2, + } +} + const ( // DatasetActionTypeQuery is a DatasetActionType enum value DatasetActionTypeQuery = "QUERY" @@ -10537,6 +10554,14 @@ const ( DatasetActionTypeContainer = "CONTAINER" ) +// DatasetActionType_Values returns all elements of the DatasetActionType enum +func DatasetActionType_Values() []string { + return []string{ + DatasetActionTypeQuery, + DatasetActionTypeContainer, + } +} + const ( // DatasetContentStateCreating is a DatasetContentState enum value DatasetContentStateCreating = "CREATING" @@ -10548,6 +10573,15 @@ const ( DatasetContentStateFailed = "FAILED" ) +// DatasetContentState_Values returns all elements of the DatasetContentState enum +func DatasetContentState_Values() []string { + return []string{ + DatasetContentStateCreating, + DatasetContentStateSucceeded, + DatasetContentStateFailed, + } +} + const ( // DatasetStatusCreating is a DatasetStatus enum value DatasetStatusCreating = "CREATING" @@ -10559,6 +10593,15 @@ const ( DatasetStatusDeleting = "DELETING" ) +// DatasetStatus_Values returns all elements of the DatasetStatus enum +func DatasetStatus_Values() []string { + return []string{ + DatasetStatusCreating, + DatasetStatusActive, + DatasetStatusDeleting, + } +} + const ( // DatastoreStatusCreating is a DatastoreStatus enum value DatastoreStatusCreating = "CREATING" @@ -10570,11 +10613,27 @@ const ( DatastoreStatusDeleting = "DELETING" ) +// DatastoreStatus_Values returns all elements of the DatastoreStatus enum +func DatastoreStatus_Values() []string { + return []string{ + DatastoreStatusCreating, + DatastoreStatusActive, + DatastoreStatusDeleting, + } +} + const ( // LoggingLevelError is a LoggingLevel enum value LoggingLevelError = "ERROR" ) +// LoggingLevel_Values returns all elements of the LoggingLevel enum +func LoggingLevel_Values() []string { + return []string{ + LoggingLevelError, + } +} + const ( // ReprocessingStatusRunning is a ReprocessingStatus enum value ReprocessingStatusRunning = "RUNNING" @@ -10588,3 +10647,13 @@ const ( // ReprocessingStatusFailed is a ReprocessingStatus enum value ReprocessingStatusFailed = "FAILED" ) + +// ReprocessingStatus_Values returns all elements of the ReprocessingStatus enum +func ReprocessingStatus_Values() []string { + return []string{ + ReprocessingStatusRunning, + ReprocessingStatusSucceeded, + ReprocessingStatusCancelled, + ReprocessingStatusFailed, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/iotevents/api.go b/vendor/github.com/aws/aws-sdk-go/service/iotevents/api.go index 3b5ecfef2bf..74e06e25308 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/iotevents/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/iotevents/api.go @@ -6010,6 +6010,19 @@ const ( DetectorModelVersionStatusFailed = "FAILED" ) +// DetectorModelVersionStatus_Values returns all elements of the DetectorModelVersionStatus enum +func DetectorModelVersionStatus_Values() []string { + return []string{ + DetectorModelVersionStatusActive, + DetectorModelVersionStatusActivating, + DetectorModelVersionStatusInactive, + DetectorModelVersionStatusDeprecated, + DetectorModelVersionStatusDraft, + DetectorModelVersionStatusPaused, + DetectorModelVersionStatusFailed, + } +} + const ( // EvaluationMethodBatch is a EvaluationMethod enum value EvaluationMethodBatch = "BATCH" @@ -6018,6 +6031,14 @@ const ( EvaluationMethodSerial = "SERIAL" ) +// EvaluationMethod_Values returns all elements of the EvaluationMethod enum +func EvaluationMethod_Values() []string { + return []string{ + EvaluationMethodBatch, + EvaluationMethodSerial, + } +} + const ( // InputStatusCreating is a InputStatus enum value InputStatusCreating = "CREATING" @@ -6032,6 +6053,16 @@ const ( InputStatusDeleting = "DELETING" ) +// InputStatus_Values returns all elements of the InputStatus enum +func InputStatus_Values() []string { + return []string{ + InputStatusCreating, + InputStatusUpdating, + InputStatusActive, + InputStatusDeleting, + } +} + const ( // LoggingLevelError is a LoggingLevel enum value LoggingLevelError = "ERROR" @@ -6043,6 +6074,15 @@ const ( LoggingLevelDebug = "DEBUG" ) +// LoggingLevel_Values returns all elements of the LoggingLevel enum +func LoggingLevel_Values() []string { + return []string{ + LoggingLevelError, + LoggingLevelInfo, + LoggingLevelDebug, + } +} + const ( // PayloadTypeString is a PayloadType enum value PayloadTypeString = "STRING" @@ -6050,3 +6090,11 @@ const ( // PayloadTypeJson is a PayloadType enum value PayloadTypeJson = "JSON" ) + +// PayloadType_Values returns all elements of the PayloadType enum +func PayloadType_Values() []string { + return []string{ + PayloadTypeString, + PayloadTypeJson, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/kafka/api.go b/vendor/github.com/aws/aws-sdk-go/service/kafka/api.go index e11f4c26d2a..bbc5a77e50f 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/kafka/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/kafka/api.go @@ -7210,6 +7210,13 @@ const ( BrokerAZDistributionDefault = "DEFAULT" ) +// BrokerAZDistribution_Values returns all elements of the BrokerAZDistribution enum +func BrokerAZDistribution_Values() []string { + return []string{ + BrokerAZDistributionDefault, + } +} + // Client-broker encryption in transit setting. const ( // ClientBrokerTls is a ClientBroker enum value @@ -7222,6 +7229,15 @@ const ( ClientBrokerPlaintext = "PLAINTEXT" ) +// ClientBroker_Values returns all elements of the ClientBroker enum +func ClientBroker_Values() []string { + return []string{ + ClientBrokerTls, + ClientBrokerTlsPlaintext, + ClientBrokerPlaintext, + } +} + // The state of a Kafka cluster. const ( // ClusterStateActive is a ClusterState enum value @@ -7240,6 +7256,17 @@ const ( ClusterStateFailed = "FAILED" ) +// ClusterState_Values returns all elements of the ClusterState enum +func ClusterState_Values() []string { + return []string{ + ClusterStateActive, + ClusterStateCreating, + ClusterStateUpdating, + ClusterStateDeleting, + ClusterStateFailed, + } +} + // Specifies which metrics are gathered for the MSK cluster. This property has // three possible values: DEFAULT, PER_BROKER, and PER_TOPIC_PER_BROKER. For // a list of the metrics associated with each of these three levels of monitoring, @@ -7255,6 +7282,15 @@ const ( EnhancedMonitoringPerTopicPerBroker = "PER_TOPIC_PER_BROKER" ) +// EnhancedMonitoring_Values returns all elements of the EnhancedMonitoring enum +func EnhancedMonitoring_Values() []string { + return []string{ + EnhancedMonitoringDefault, + EnhancedMonitoringPerBroker, + EnhancedMonitoringPerTopicPerBroker, + } +} + // The status of a Kafka version. const ( // KafkaVersionStatusActive is a KafkaVersionStatus enum value @@ -7264,8 +7300,23 @@ const ( KafkaVersionStatusDeprecated = "DEPRECATED" ) +// KafkaVersionStatus_Values returns all elements of the KafkaVersionStatus enum +func KafkaVersionStatus_Values() []string { + return []string{ + KafkaVersionStatusActive, + KafkaVersionStatusDeprecated, + } +} + // The broker or Zookeeper node. const ( // NodeTypeBroker is a NodeType enum value NodeTypeBroker = "BROKER" ) + +// NodeType_Values returns all elements of the NodeType enum +func NodeType_Values() []string { + return []string{ + NodeTypeBroker, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/kinesis/api.go b/vendor/github.com/aws/aws-sdk-go/service/kinesis/api.go index 38e72bea595..c954dd11160 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/kinesis/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/kinesis/api.go @@ -3160,7 +3160,7 @@ func (c *Kinesis) SubscribeToShardRequest(input *SubscribeToShardInput) (req *re output = &SubscribeToShardOutput{} req = c.newRequest(op, input, output) - es := newSubscribeToShardEventStream() + es := NewSubscribeToShardEventStream() req.Handlers.Unmarshal.PushBack(es.setStreamCloser) output.EventStream = es @@ -3236,6 +3236,10 @@ func (c *Kinesis) SubscribeToShardWithContext(ctx aws.Context, input *SubscribeT var _ awserr.Error // SubscribeToShardEventStream provides the event stream handling for the SubscribeToShard. +// +// For testing and mocking the event stream this type should be initialized via +// the NewSubscribeToShardEventStream constructor function. Using the functional options +// to pass in nested mock behavior. type SubscribeToShardEventStream struct { // Reader is the EventStream reader for the SubscribeToShardEventStream @@ -3259,11 +3263,31 @@ type SubscribeToShardEventStream struct { err *eventstreamapi.OnceError } -func newSubscribeToShardEventStream() *SubscribeToShardEventStream { - return &SubscribeToShardEventStream{ +// NewSubscribeToShardEventStream initializes an SubscribeToShardEventStream. +// This function should only be used for testing and mocking the SubscribeToShardEventStream +// stream within your application. +// +// The Reader member must be set before reading events from the stream. +// +// The StreamCloser member should be set to the underlying io.Closer, +// (e.g. http.Response.Body), that will be closed when the stream Close method +// is called. +// +// es := NewSubscribeToShardEventStream(func(o *SubscribeToShardEventStream{ +// es.Reader = myMockStreamReader +// es.StreamCloser = myMockStreamCloser +// }) +func NewSubscribeToShardEventStream(opts ...func(*SubscribeToShardEventStream)) *SubscribeToShardEventStream { + es := &SubscribeToShardEventStream{ done: make(chan struct{}), err: eventstreamapi.NewOnceError(), } + + for _, fn := range opts { + fn(es) + } + + return es } func (es *SubscribeToShardEventStream) setStreamCloser(r *request.Request) { @@ -8594,6 +8618,15 @@ const ( ConsumerStatusActive = "ACTIVE" ) +// ConsumerStatus_Values returns all elements of the ConsumerStatus enum +func ConsumerStatus_Values() []string { + return []string{ + ConsumerStatusCreating, + ConsumerStatusDeleting, + ConsumerStatusActive, + } +} + const ( // EncryptionTypeNone is a EncryptionType enum value EncryptionTypeNone = "NONE" @@ -8602,6 +8635,14 @@ const ( EncryptionTypeKms = "KMS" ) +// EncryptionType_Values returns all elements of the EncryptionType enum +func EncryptionType_Values() []string { + return []string{ + EncryptionTypeNone, + EncryptionTypeKms, + } +} + const ( // MetricsNameIncomingBytes is a MetricsName enum value MetricsNameIncomingBytes = "IncomingBytes" @@ -8628,11 +8669,32 @@ const ( MetricsNameAll = "ALL" ) +// MetricsName_Values returns all elements of the MetricsName enum +func MetricsName_Values() []string { + return []string{ + MetricsNameIncomingBytes, + MetricsNameIncomingRecords, + MetricsNameOutgoingBytes, + MetricsNameOutgoingRecords, + MetricsNameWriteProvisionedThroughputExceeded, + MetricsNameReadProvisionedThroughputExceeded, + MetricsNameIteratorAgeMilliseconds, + MetricsNameAll, + } +} + const ( // ScalingTypeUniformScaling is a ScalingType enum value ScalingTypeUniformScaling = "UNIFORM_SCALING" ) +// ScalingType_Values returns all elements of the ScalingType enum +func ScalingType_Values() []string { + return []string{ + ScalingTypeUniformScaling, + } +} + const ( // ShardIteratorTypeAtSequenceNumber is a ShardIteratorType enum value ShardIteratorTypeAtSequenceNumber = "AT_SEQUENCE_NUMBER" @@ -8650,6 +8712,17 @@ const ( ShardIteratorTypeAtTimestamp = "AT_TIMESTAMP" ) +// ShardIteratorType_Values returns all elements of the ShardIteratorType enum +func ShardIteratorType_Values() []string { + return []string{ + ShardIteratorTypeAtSequenceNumber, + ShardIteratorTypeAfterSequenceNumber, + ShardIteratorTypeTrimHorizon, + ShardIteratorTypeLatest, + ShardIteratorTypeAtTimestamp, + } +} + const ( // StreamStatusCreating is a StreamStatus enum value StreamStatusCreating = "CREATING" @@ -8663,3 +8736,13 @@ const ( // StreamStatusUpdating is a StreamStatus enum value StreamStatusUpdating = "UPDATING" ) + +// StreamStatus_Values returns all elements of the StreamStatus enum +func StreamStatus_Values() []string { + return []string{ + StreamStatusCreating, + StreamStatusDeleting, + StreamStatusActive, + StreamStatusUpdating, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/kinesisanalytics/api.go b/vendor/github.com/aws/aws-sdk-go/service/kinesisanalytics/api.go index 7e877a1927c..f527facda44 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/kinesisanalytics/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/kinesisanalytics/api.go @@ -8195,6 +8195,18 @@ const ( ApplicationStatusUpdating = "UPDATING" ) +// ApplicationStatus_Values returns all elements of the ApplicationStatus enum +func ApplicationStatus_Values() []string { + return []string{ + ApplicationStatusDeleting, + ApplicationStatusStarting, + ApplicationStatusStopping, + ApplicationStatusReady, + ApplicationStatusRunning, + ApplicationStatusUpdating, + } +} + const ( // InputStartingPositionNow is a InputStartingPosition enum value InputStartingPositionNow = "NOW" @@ -8206,6 +8218,15 @@ const ( InputStartingPositionLastStoppedPoint = "LAST_STOPPED_POINT" ) +// InputStartingPosition_Values returns all elements of the InputStartingPosition enum +func InputStartingPosition_Values() []string { + return []string{ + InputStartingPositionNow, + InputStartingPositionTrimHorizon, + InputStartingPositionLastStoppedPoint, + } +} + const ( // RecordFormatTypeJson is a RecordFormatType enum value RecordFormatTypeJson = "JSON" @@ -8213,3 +8234,11 @@ const ( // RecordFormatTypeCsv is a RecordFormatType enum value RecordFormatTypeCsv = "CSV" ) + +// RecordFormatType_Values returns all elements of the RecordFormatType enum +func RecordFormatType_Values() []string { + return []string{ + RecordFormatTypeJson, + RecordFormatTypeCsv, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/kinesisanalyticsv2/api.go b/vendor/github.com/aws/aws-sdk-go/service/kinesisanalyticsv2/api.go index 18315c28b01..bba8826ab65 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/kinesisanalyticsv2/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/kinesisanalyticsv2/api.go @@ -11739,6 +11739,15 @@ const ( ApplicationRestoreTypeRestoreFromCustomSnapshot = "RESTORE_FROM_CUSTOM_SNAPSHOT" ) +// ApplicationRestoreType_Values returns all elements of the ApplicationRestoreType enum +func ApplicationRestoreType_Values() []string { + return []string{ + ApplicationRestoreTypeSkipRestoreFromSnapshot, + ApplicationRestoreTypeRestoreFromLatestSnapshot, + ApplicationRestoreTypeRestoreFromCustomSnapshot, + } +} + const ( // ApplicationStatusDeleting is a ApplicationStatus enum value ApplicationStatusDeleting = "DELETING" @@ -11759,6 +11768,18 @@ const ( ApplicationStatusUpdating = "UPDATING" ) +// ApplicationStatus_Values returns all elements of the ApplicationStatus enum +func ApplicationStatus_Values() []string { + return []string{ + ApplicationStatusDeleting, + ApplicationStatusStarting, + ApplicationStatusStopping, + ApplicationStatusReady, + ApplicationStatusRunning, + ApplicationStatusUpdating, + } +} + const ( // CodeContentTypePlaintext is a CodeContentType enum value CodeContentTypePlaintext = "PLAINTEXT" @@ -11767,6 +11788,14 @@ const ( CodeContentTypeZipfile = "ZIPFILE" ) +// CodeContentType_Values returns all elements of the CodeContentType enum +func CodeContentType_Values() []string { + return []string{ + CodeContentTypePlaintext, + CodeContentTypeZipfile, + } +} + const ( // ConfigurationTypeDefault is a ConfigurationType enum value ConfigurationTypeDefault = "DEFAULT" @@ -11775,6 +11804,14 @@ const ( ConfigurationTypeCustom = "CUSTOM" ) +// ConfigurationType_Values returns all elements of the ConfigurationType enum +func ConfigurationType_Values() []string { + return []string{ + ConfigurationTypeDefault, + ConfigurationTypeCustom, + } +} + const ( // InputStartingPositionNow is a InputStartingPosition enum value InputStartingPositionNow = "NOW" @@ -11786,6 +11823,15 @@ const ( InputStartingPositionLastStoppedPoint = "LAST_STOPPED_POINT" ) +// InputStartingPosition_Values returns all elements of the InputStartingPosition enum +func InputStartingPosition_Values() []string { + return []string{ + InputStartingPositionNow, + InputStartingPositionTrimHorizon, + InputStartingPositionLastStoppedPoint, + } +} + const ( // LogLevelInfo is a LogLevel enum value LogLevelInfo = "INFO" @@ -11800,6 +11846,16 @@ const ( LogLevelDebug = "DEBUG" ) +// LogLevel_Values returns all elements of the LogLevel enum +func LogLevel_Values() []string { + return []string{ + LogLevelInfo, + LogLevelWarn, + LogLevelError, + LogLevelDebug, + } +} + const ( // MetricsLevelApplication is a MetricsLevel enum value MetricsLevelApplication = "APPLICATION" @@ -11814,6 +11870,16 @@ const ( MetricsLevelParallelism = "PARALLELISM" ) +// MetricsLevel_Values returns all elements of the MetricsLevel enum +func MetricsLevel_Values() []string { + return []string{ + MetricsLevelApplication, + MetricsLevelTask, + MetricsLevelOperator, + MetricsLevelParallelism, + } +} + const ( // RecordFormatTypeJson is a RecordFormatType enum value RecordFormatTypeJson = "JSON" @@ -11822,6 +11888,14 @@ const ( RecordFormatTypeCsv = "CSV" ) +// RecordFormatType_Values returns all elements of the RecordFormatType enum +func RecordFormatType_Values() []string { + return []string{ + RecordFormatTypeJson, + RecordFormatTypeCsv, + } +} + const ( // RuntimeEnvironmentSql10 is a RuntimeEnvironment enum value RuntimeEnvironmentSql10 = "SQL-1_0" @@ -11833,6 +11907,15 @@ const ( RuntimeEnvironmentFlink18 = "FLINK-1_8" ) +// RuntimeEnvironment_Values returns all elements of the RuntimeEnvironment enum +func RuntimeEnvironment_Values() []string { + return []string{ + RuntimeEnvironmentSql10, + RuntimeEnvironmentFlink16, + RuntimeEnvironmentFlink18, + } +} + const ( // SnapshotStatusCreating is a SnapshotStatus enum value SnapshotStatusCreating = "CREATING" @@ -11846,3 +11929,13 @@ const ( // SnapshotStatusFailed is a SnapshotStatus enum value SnapshotStatusFailed = "FAILED" ) + +// SnapshotStatus_Values returns all elements of the SnapshotStatus enum +func SnapshotStatus_Values() []string { + return []string{ + SnapshotStatusCreating, + SnapshotStatusReady, + SnapshotStatusDeleting, + SnapshotStatusFailed, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/kinesisvideo/api.go b/vendor/github.com/aws/aws-sdk-go/service/kinesisvideo/api.go index 85c26e01502..facd06f1031 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/kinesisvideo/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/kinesisvideo/api.go @@ -4941,6 +4941,19 @@ const ( APINameGetClip = "GET_CLIP" ) +// APIName_Values returns all elements of the APIName enum +func APIName_Values() []string { + return []string{ + APINamePutMedia, + APINameGetMedia, + APINameListFragments, + APINameGetMediaForFragmentList, + APINameGetHlsStreamingSessionUrl, + APINameGetDashStreamingSessionUrl, + APINameGetClip, + } +} + const ( // ChannelProtocolWss is a ChannelProtocol enum value ChannelProtocolWss = "WSS" @@ -4949,6 +4962,14 @@ const ( ChannelProtocolHttps = "HTTPS" ) +// ChannelProtocol_Values returns all elements of the ChannelProtocol enum +func ChannelProtocol_Values() []string { + return []string{ + ChannelProtocolWss, + ChannelProtocolHttps, + } +} + const ( // ChannelRoleMaster is a ChannelRole enum value ChannelRoleMaster = "MASTER" @@ -4957,16 +4978,38 @@ const ( ChannelRoleViewer = "VIEWER" ) +// ChannelRole_Values returns all elements of the ChannelRole enum +func ChannelRole_Values() []string { + return []string{ + ChannelRoleMaster, + ChannelRoleViewer, + } +} + const ( // ChannelTypeSingleMaster is a ChannelType enum value ChannelTypeSingleMaster = "SINGLE_MASTER" ) +// ChannelType_Values returns all elements of the ChannelType enum +func ChannelType_Values() []string { + return []string{ + ChannelTypeSingleMaster, + } +} + const ( // ComparisonOperatorBeginsWith is a ComparisonOperator enum value ComparisonOperatorBeginsWith = "BEGINS_WITH" ) +// ComparisonOperator_Values returns all elements of the ComparisonOperator enum +func ComparisonOperator_Values() []string { + return []string{ + ComparisonOperatorBeginsWith, + } +} + const ( // StatusCreating is a Status enum value StatusCreating = "CREATING" @@ -4981,6 +5024,16 @@ const ( StatusDeleting = "DELETING" ) +// Status_Values returns all elements of the Status enum +func Status_Values() []string { + return []string{ + StatusCreating, + StatusActive, + StatusUpdating, + StatusDeleting, + } +} + const ( // UpdateDataRetentionOperationIncreaseDataRetention is a UpdateDataRetentionOperation enum value UpdateDataRetentionOperationIncreaseDataRetention = "INCREASE_DATA_RETENTION" @@ -4988,3 +5041,11 @@ const ( // UpdateDataRetentionOperationDecreaseDataRetention is a UpdateDataRetentionOperation enum value UpdateDataRetentionOperationDecreaseDataRetention = "DECREASE_DATA_RETENTION" ) + +// UpdateDataRetentionOperation_Values returns all elements of the UpdateDataRetentionOperation enum +func UpdateDataRetentionOperation_Values() []string { + return []string{ + UpdateDataRetentionOperationIncreaseDataRetention, + UpdateDataRetentionOperationDecreaseDataRetention, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/kms/api.go b/vendor/github.com/aws/aws-sdk-go/service/kms/api.go index 8793c2d808e..8e2aae8e5d6 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/kms/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/kms/api.go @@ -14540,6 +14540,15 @@ const ( AlgorithmSpecRsaesOaepSha256 = "RSAES_OAEP_SHA_256" ) +// AlgorithmSpec_Values returns all elements of the AlgorithmSpec enum +func AlgorithmSpec_Values() []string { + return []string{ + AlgorithmSpecRsaesPkcs1V15, + AlgorithmSpecRsaesOaepSha1, + AlgorithmSpecRsaesOaepSha256, + } +} + const ( // ConnectionErrorCodeTypeInvalidCredentials is a ConnectionErrorCodeType enum value ConnectionErrorCodeTypeInvalidCredentials = "INVALID_CREDENTIALS" @@ -14569,6 +14578,21 @@ const ( ConnectionErrorCodeTypeSubnetNotFound = "SUBNET_NOT_FOUND" ) +// ConnectionErrorCodeType_Values returns all elements of the ConnectionErrorCodeType enum +func ConnectionErrorCodeType_Values() []string { + return []string{ + ConnectionErrorCodeTypeInvalidCredentials, + ConnectionErrorCodeTypeClusterNotFound, + ConnectionErrorCodeTypeNetworkErrors, + ConnectionErrorCodeTypeInternalError, + ConnectionErrorCodeTypeInsufficientCloudhsmHsms, + ConnectionErrorCodeTypeUserLockedOut, + ConnectionErrorCodeTypeUserNotFound, + ConnectionErrorCodeTypeUserLoggedIn, + ConnectionErrorCodeTypeSubnetNotFound, + } +} + const ( // ConnectionStateTypeConnected is a ConnectionStateType enum value ConnectionStateTypeConnected = "CONNECTED" @@ -14586,6 +14610,17 @@ const ( ConnectionStateTypeDisconnecting = "DISCONNECTING" ) +// ConnectionStateType_Values returns all elements of the ConnectionStateType enum +func ConnectionStateType_Values() []string { + return []string{ + ConnectionStateTypeConnected, + ConnectionStateTypeConnecting, + ConnectionStateTypeFailed, + ConnectionStateTypeDisconnected, + ConnectionStateTypeDisconnecting, + } +} + const ( // CustomerMasterKeySpecRsa2048 is a CustomerMasterKeySpec enum value CustomerMasterKeySpecRsa2048 = "RSA_2048" @@ -14612,6 +14647,20 @@ const ( CustomerMasterKeySpecSymmetricDefault = "SYMMETRIC_DEFAULT" ) +// CustomerMasterKeySpec_Values returns all elements of the CustomerMasterKeySpec enum +func CustomerMasterKeySpec_Values() []string { + return []string{ + CustomerMasterKeySpecRsa2048, + CustomerMasterKeySpecRsa3072, + CustomerMasterKeySpecRsa4096, + CustomerMasterKeySpecEccNistP256, + CustomerMasterKeySpecEccNistP384, + CustomerMasterKeySpecEccNistP521, + CustomerMasterKeySpecEccSecgP256k1, + CustomerMasterKeySpecSymmetricDefault, + } +} + const ( // DataKeyPairSpecRsa2048 is a DataKeyPairSpec enum value DataKeyPairSpecRsa2048 = "RSA_2048" @@ -14635,6 +14684,19 @@ const ( DataKeyPairSpecEccSecgP256k1 = "ECC_SECG_P256K1" ) +// DataKeyPairSpec_Values returns all elements of the DataKeyPairSpec enum +func DataKeyPairSpec_Values() []string { + return []string{ + DataKeyPairSpecRsa2048, + DataKeyPairSpecRsa3072, + DataKeyPairSpecRsa4096, + DataKeyPairSpecEccNistP256, + DataKeyPairSpecEccNistP384, + DataKeyPairSpecEccNistP521, + DataKeyPairSpecEccSecgP256k1, + } +} + const ( // DataKeySpecAes256 is a DataKeySpec enum value DataKeySpecAes256 = "AES_256" @@ -14643,6 +14705,14 @@ const ( DataKeySpecAes128 = "AES_128" ) +// DataKeySpec_Values returns all elements of the DataKeySpec enum +func DataKeySpec_Values() []string { + return []string{ + DataKeySpecAes256, + DataKeySpecAes128, + } +} + const ( // EncryptionAlgorithmSpecSymmetricDefault is a EncryptionAlgorithmSpec enum value EncryptionAlgorithmSpecSymmetricDefault = "SYMMETRIC_DEFAULT" @@ -14654,6 +14724,15 @@ const ( EncryptionAlgorithmSpecRsaesOaepSha256 = "RSAES_OAEP_SHA_256" ) +// EncryptionAlgorithmSpec_Values returns all elements of the EncryptionAlgorithmSpec enum +func EncryptionAlgorithmSpec_Values() []string { + return []string{ + EncryptionAlgorithmSpecSymmetricDefault, + EncryptionAlgorithmSpecRsaesOaepSha1, + EncryptionAlgorithmSpecRsaesOaepSha256, + } +} + const ( // ExpirationModelTypeKeyMaterialExpires is a ExpirationModelType enum value ExpirationModelTypeKeyMaterialExpires = "KEY_MATERIAL_EXPIRES" @@ -14662,6 +14741,14 @@ const ( ExpirationModelTypeKeyMaterialDoesNotExpire = "KEY_MATERIAL_DOES_NOT_EXPIRE" ) +// ExpirationModelType_Values returns all elements of the ExpirationModelType enum +func ExpirationModelType_Values() []string { + return []string{ + ExpirationModelTypeKeyMaterialExpires, + ExpirationModelTypeKeyMaterialDoesNotExpire, + } +} + const ( // GrantOperationDecrypt is a GrantOperation enum value GrantOperationDecrypt = "Decrypt" @@ -14706,6 +14793,26 @@ const ( GrantOperationGenerateDataKeyPairWithoutPlaintext = "GenerateDataKeyPairWithoutPlaintext" ) +// GrantOperation_Values returns all elements of the GrantOperation enum +func GrantOperation_Values() []string { + return []string{ + GrantOperationDecrypt, + GrantOperationEncrypt, + GrantOperationGenerateDataKey, + GrantOperationGenerateDataKeyWithoutPlaintext, + GrantOperationReEncryptFrom, + GrantOperationReEncryptTo, + GrantOperationSign, + GrantOperationVerify, + GrantOperationGetPublicKey, + GrantOperationCreateGrant, + GrantOperationRetireGrant, + GrantOperationDescribeKey, + GrantOperationGenerateDataKeyPair, + GrantOperationGenerateDataKeyPairWithoutPlaintext, + } +} + const ( // KeyManagerTypeAws is a KeyManagerType enum value KeyManagerTypeAws = "AWS" @@ -14714,6 +14821,14 @@ const ( KeyManagerTypeCustomer = "CUSTOMER" ) +// KeyManagerType_Values returns all elements of the KeyManagerType enum +func KeyManagerType_Values() []string { + return []string{ + KeyManagerTypeAws, + KeyManagerTypeCustomer, + } +} + const ( // KeyStateEnabled is a KeyState enum value KeyStateEnabled = "Enabled" @@ -14731,6 +14846,17 @@ const ( KeyStateUnavailable = "Unavailable" ) +// KeyState_Values returns all elements of the KeyState enum +func KeyState_Values() []string { + return []string{ + KeyStateEnabled, + KeyStateDisabled, + KeyStatePendingDeletion, + KeyStatePendingImport, + KeyStateUnavailable, + } +} + const ( // KeyUsageTypeSignVerify is a KeyUsageType enum value KeyUsageTypeSignVerify = "SIGN_VERIFY" @@ -14739,6 +14865,14 @@ const ( KeyUsageTypeEncryptDecrypt = "ENCRYPT_DECRYPT" ) +// KeyUsageType_Values returns all elements of the KeyUsageType enum +func KeyUsageType_Values() []string { + return []string{ + KeyUsageTypeSignVerify, + KeyUsageTypeEncryptDecrypt, + } +} + const ( // MessageTypeRaw is a MessageType enum value MessageTypeRaw = "RAW" @@ -14747,6 +14881,14 @@ const ( MessageTypeDigest = "DIGEST" ) +// MessageType_Values returns all elements of the MessageType enum +func MessageType_Values() []string { + return []string{ + MessageTypeRaw, + MessageTypeDigest, + } +} + const ( // OriginTypeAwsKms is a OriginType enum value OriginTypeAwsKms = "AWS_KMS" @@ -14758,6 +14900,15 @@ const ( OriginTypeAwsCloudhsm = "AWS_CLOUDHSM" ) +// OriginType_Values returns all elements of the OriginType enum +func OriginType_Values() []string { + return []string{ + OriginTypeAwsKms, + OriginTypeExternal, + OriginTypeAwsCloudhsm, + } +} + const ( // SigningAlgorithmSpecRsassaPssSha256 is a SigningAlgorithmSpec enum value SigningAlgorithmSpecRsassaPssSha256 = "RSASSA_PSS_SHA_256" @@ -14787,7 +14938,29 @@ const ( SigningAlgorithmSpecEcdsaSha512 = "ECDSA_SHA_512" ) +// SigningAlgorithmSpec_Values returns all elements of the SigningAlgorithmSpec enum +func SigningAlgorithmSpec_Values() []string { + return []string{ + SigningAlgorithmSpecRsassaPssSha256, + SigningAlgorithmSpecRsassaPssSha384, + SigningAlgorithmSpecRsassaPssSha512, + SigningAlgorithmSpecRsassaPkcs1V15Sha256, + SigningAlgorithmSpecRsassaPkcs1V15Sha384, + SigningAlgorithmSpecRsassaPkcs1V15Sha512, + SigningAlgorithmSpecEcdsaSha256, + SigningAlgorithmSpecEcdsaSha384, + SigningAlgorithmSpecEcdsaSha512, + } +} + const ( // WrappingKeySpecRsa2048 is a WrappingKeySpec enum value WrappingKeySpecRsa2048 = "RSA_2048" ) + +// WrappingKeySpec_Values returns all elements of the WrappingKeySpec enum +func WrappingKeySpec_Values() []string { + return []string{ + WrappingKeySpecRsa2048, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/lakeformation/api.go b/vendor/github.com/aws/aws-sdk-go/service/lakeformation/api.go index 801d489d6a3..2f21037627f 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/lakeformation/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/lakeformation/api.go @@ -3782,6 +3782,23 @@ const ( ComparisonOperatorBetween = "BETWEEN" ) +// ComparisonOperator_Values returns all elements of the ComparisonOperator enum +func ComparisonOperator_Values() []string { + return []string{ + ComparisonOperatorEq, + ComparisonOperatorNe, + ComparisonOperatorLe, + ComparisonOperatorLt, + ComparisonOperatorGe, + ComparisonOperatorGt, + ComparisonOperatorContains, + ComparisonOperatorNotContains, + ComparisonOperatorBeginsWith, + ComparisonOperatorIn, + ComparisonOperatorBetween, + } +} + const ( // DataLakeResourceTypeCatalog is a DataLakeResourceType enum value DataLakeResourceTypeCatalog = "CATALOG" @@ -3796,6 +3813,16 @@ const ( DataLakeResourceTypeDataLocation = "DATA_LOCATION" ) +// DataLakeResourceType_Values returns all elements of the DataLakeResourceType enum +func DataLakeResourceType_Values() []string { + return []string{ + DataLakeResourceTypeCatalog, + DataLakeResourceTypeDatabase, + DataLakeResourceTypeTable, + DataLakeResourceTypeDataLocation, + } +} + const ( // FieldNameStringResourceArn is a FieldNameString enum value FieldNameStringResourceArn = "RESOURCE_ARN" @@ -3807,6 +3834,15 @@ const ( FieldNameStringLastModified = "LAST_MODIFIED" ) +// FieldNameString_Values returns all elements of the FieldNameString enum +func FieldNameString_Values() []string { + return []string{ + FieldNameStringResourceArn, + FieldNameStringRoleArn, + FieldNameStringLastModified, + } +} + const ( // PermissionAll is a Permission enum value PermissionAll = "ALL" @@ -3838,3 +3874,19 @@ const ( // PermissionDataLocationAccess is a Permission enum value PermissionDataLocationAccess = "DATA_LOCATION_ACCESS" ) + +// Permission_Values returns all elements of the Permission enum +func Permission_Values() []string { + return []string{ + PermissionAll, + PermissionSelect, + PermissionAlter, + PermissionDrop, + PermissionDelete, + PermissionInsert, + PermissionDescribe, + PermissionCreateDatabase, + PermissionCreateTable, + PermissionDataLocationAccess, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/lambda/api.go b/vendor/github.com/aws/aws-sdk-go/service/lambda/api.go index 2c9ee2d45e2..5a3d5002371 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/lambda/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/lambda/api.go @@ -387,6 +387,8 @@ func (c *Lambda) CreateEventSourceMappingRequest(input *CreateEventSourceMapping // // * Using AWS Lambda with Amazon SQS (https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html) // +// * Using AWS Lambda with Amazon MSK (https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html) +// // The following error handling options are only available for stream sources // (DynamoDB and Kinesis): // @@ -397,10 +399,11 @@ func (c *Lambda) CreateEventSourceMappingRequest(input *CreateEventSourceMapping // Amazon SNS topic. // // * MaximumRecordAgeInSeconds - Discard records older than the specified -// age. +// age. Default -1 (infinite). Minimum 60. Maximum 604800. // // * MaximumRetryAttempts - Discard records after the specified number of -// retries. +// retries. Default -1 (infinite). Minimum 0. Maximum 10000. When infinite, +// failed records will be retried until the record expires. // // * ParallelizationFactor - Process multiple batches from each shard concurrently. // @@ -4902,10 +4905,11 @@ func (c *Lambda) UpdateEventSourceMappingRequest(input *UpdateEventSourceMapping // Amazon SNS topic. // // * MaximumRecordAgeInSeconds - Discard records older than the specified -// age. +// age. Default -1 (infinite). Minimum 60. Maximum 604800. // // * MaximumRetryAttempts - Discard records after the specified number of -// retries. +// retries. Default -1 (infinite). Minimum 0. Maximum 10000. When infinite, +// failed records will be retried until the record expires. // // * ParallelizationFactor - Process multiple batches from each shard concurrently. // @@ -5964,6 +5968,8 @@ type CreateEventSourceMappingInput struct { // * Amazon DynamoDB Streams - Default 100. Max 1,000. // // * Amazon Simple Queue Service - Default 10. Max 10. + // + // * Amazon Managed Streaming for Apache Kafka - Default 100. Max 10,000. BatchSize *int64 `min:"1" type:"integer"` // (Streams) If the function returns an error, split the batch in two and retry. @@ -5973,7 +5979,8 @@ type CreateEventSourceMappingInput struct { // records. DestinationConfig *DestinationConfig `type:"structure"` - // Disables the event source mapping to pause polling and invocation. + // If true, the event source mapping is active. Set to false to pause polling + // and invocation. Enabled *bool `type:"boolean"` // The Amazon Resource Name (ARN) of the event source. @@ -5984,6 +5991,8 @@ type CreateEventSourceMappingInput struct { // // * Amazon Simple Queue Service - The ARN of the queue. // + // * Amazon Managed Streaming for Apache Kafka - The ARN of the cluster. + // // EventSourceArn is a required field EventSourceArn *string `type:"string" required:"true"` @@ -6009,24 +6018,28 @@ type CreateEventSourceMappingInput struct { // function, in seconds. MaximumBatchingWindowInSeconds *int64 `type:"integer"` - // (Streams) The maximum age of a record that Lambda sends to a function for - // processing. - MaximumRecordAgeInSeconds *int64 `min:"60" type:"integer"` + // (Streams) Discard records older than the specified age. The default value + // is infinite (-1). + MaximumRecordAgeInSeconds *int64 `type:"integer"` - // (Streams) The maximum number of times to retry when the function returns - // an error. + // (Streams) Discard records after the specified number of retries. The default + // value is infinite (-1). When set to infinite (-1), failed records will be + // retried until the record expires. MaximumRetryAttempts *int64 `type:"integer"` // (Streams) The number of batches to process from each shard concurrently. ParallelizationFactor *int64 `min:"1" type:"integer"` // The position in a stream from which to start reading. Required for Amazon - // Kinesis and Amazon DynamoDB Streams sources. AT_TIMESTAMP is only supported - // for Amazon Kinesis streams. + // Kinesis, Amazon DynamoDB, and Amazon MSK Streams sources. AT_TIMESTAMP is + // only supported for Amazon Kinesis streams. StartingPosition *string `type:"string" enum:"EventSourcePosition"` // With StartingPosition set to AT_TIMESTAMP, the time from which to start reading. StartingPositionTimestamp *time.Time `type:"timestamp"` + + // (MSK) The name of the Kafka topic. + Topics []*string `min:"1" type:"list"` } // String returns the string representation @@ -6054,12 +6067,18 @@ func (s *CreateEventSourceMappingInput) Validate() error { if s.FunctionName != nil && len(*s.FunctionName) < 1 { invalidParams.Add(request.NewErrParamMinLen("FunctionName", 1)) } - if s.MaximumRecordAgeInSeconds != nil && *s.MaximumRecordAgeInSeconds < 60 { - invalidParams.Add(request.NewErrParamMinValue("MaximumRecordAgeInSeconds", 60)) + if s.MaximumRecordAgeInSeconds != nil && *s.MaximumRecordAgeInSeconds < -1 { + invalidParams.Add(request.NewErrParamMinValue("MaximumRecordAgeInSeconds", -1)) + } + if s.MaximumRetryAttempts != nil && *s.MaximumRetryAttempts < -1 { + invalidParams.Add(request.NewErrParamMinValue("MaximumRetryAttempts", -1)) } if s.ParallelizationFactor != nil && *s.ParallelizationFactor < 1 { invalidParams.Add(request.NewErrParamMinValue("ParallelizationFactor", 1)) } + if s.Topics != nil && len(s.Topics) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Topics", 1)) + } if invalidParams.Len() > 0 { return invalidParams @@ -6139,6 +6158,12 @@ func (s *CreateEventSourceMappingInput) SetStartingPositionTimestamp(v time.Time return s } +// SetTopics sets the Topics field's value. +func (s *CreateEventSourceMappingInput) SetTopics(v []*string) *CreateEventSourceMappingInput { + s.Topics = v + return s +} + type CreateFunctionInput struct { _ struct{} `type:"structure"` @@ -7550,7 +7575,7 @@ type EventSourceMappingConfiguration struct { // (Streams) The maximum age of a record that Lambda sends to a function for // processing. - MaximumRecordAgeInSeconds *int64 `min:"60" type:"integer"` + MaximumRecordAgeInSeconds *int64 `type:"integer"` // (Streams) The maximum number of times to retry when the function returns // an error. @@ -7567,6 +7592,9 @@ type EventSourceMappingConfiguration struct { // a user, or by the Lambda service. StateTransitionReason *string `type:"string"` + // (MSK) The name of the Kafka topic. + Topics []*string `min:"1" type:"list"` + // The identifier of the event source mapping. UUID *string `type:"string"` } @@ -7659,6 +7687,12 @@ func (s *EventSourceMappingConfiguration) SetStateTransitionReason(v string) *Ev return s } +// SetTopics sets the Topics field's value. +func (s *EventSourceMappingConfiguration) SetTopics(v []*string) *EventSourceMappingConfiguration { + s.Topics = v + return s +} + // SetUUID sets the UUID field's value. func (s *EventSourceMappingConfiguration) SetUUID(v string) *EventSourceMappingConfiguration { s.UUID = &v @@ -10549,6 +10583,8 @@ type ListEventSourceMappingsInput struct { // * Amazon DynamoDB Streams - The ARN of the stream. // // * Amazon Simple Queue Service - The ARN of the queue. + // + // * Amazon Managed Streaming for Apache Kafka - The ARN of the cluster. EventSourceArn *string `location:"querystring" locationName:"EventSourceArn" type:"string"` // The name of the Lambda function. @@ -13370,6 +13406,8 @@ type UpdateEventSourceMappingInput struct { // * Amazon DynamoDB Streams - Default 100. Max 1,000. // // * Amazon Simple Queue Service - Default 10. Max 10. + // + // * Amazon Managed Streaming for Apache Kafka - Default 100. Max 10,000. BatchSize *int64 `min:"1" type:"integer"` // (Streams) If the function returns an error, split the batch in two and retry. @@ -13379,7 +13417,8 @@ type UpdateEventSourceMappingInput struct { // records. DestinationConfig *DestinationConfig `type:"structure"` - // Disables the event source mapping to pause polling and invocation. + // If true, the event source mapping is active. Set to false to pause polling + // and invocation. Enabled *bool `type:"boolean"` // The name of the Lambda function. @@ -13402,12 +13441,13 @@ type UpdateEventSourceMappingInput struct { // function, in seconds. MaximumBatchingWindowInSeconds *int64 `type:"integer"` - // (Streams) The maximum age of a record that Lambda sends to a function for - // processing. - MaximumRecordAgeInSeconds *int64 `min:"60" type:"integer"` + // (Streams) Discard records older than the specified age. The default value + // is infinite (-1). + MaximumRecordAgeInSeconds *int64 `type:"integer"` - // (Streams) The maximum number of times to retry when the function returns - // an error. + // (Streams) Discard records after the specified number of retries. The default + // value is infinite (-1). When set to infinite (-1), failed records will be + // retried until the record expires. MaximumRetryAttempts *int64 `type:"integer"` // (Streams) The number of batches to process from each shard concurrently. @@ -13438,8 +13478,11 @@ func (s *UpdateEventSourceMappingInput) Validate() error { if s.FunctionName != nil && len(*s.FunctionName) < 1 { invalidParams.Add(request.NewErrParamMinLen("FunctionName", 1)) } - if s.MaximumRecordAgeInSeconds != nil && *s.MaximumRecordAgeInSeconds < 60 { - invalidParams.Add(request.NewErrParamMinValue("MaximumRecordAgeInSeconds", 60)) + if s.MaximumRecordAgeInSeconds != nil && *s.MaximumRecordAgeInSeconds < -1 { + invalidParams.Add(request.NewErrParamMinValue("MaximumRecordAgeInSeconds", -1)) + } + if s.MaximumRetryAttempts != nil && *s.MaximumRetryAttempts < -1 { + invalidParams.Add(request.NewErrParamMinValue("MaximumRetryAttempts", -1)) } if s.ParallelizationFactor != nil && *s.ParallelizationFactor < 1 { invalidParams.Add(request.NewErrParamMinValue("ParallelizationFactor", 1)) @@ -14122,11 +14165,27 @@ const ( EventSourcePositionAtTimestamp = "AT_TIMESTAMP" ) +// EventSourcePosition_Values returns all elements of the EventSourcePosition enum +func EventSourcePosition_Values() []string { + return []string{ + EventSourcePositionTrimHorizon, + EventSourcePositionLatest, + EventSourcePositionAtTimestamp, + } +} + const ( // FunctionVersionAll is a FunctionVersion enum value FunctionVersionAll = "ALL" ) +// FunctionVersion_Values returns all elements of the FunctionVersion enum +func FunctionVersion_Values() []string { + return []string{ + FunctionVersionAll, + } +} + const ( // InvocationTypeEvent is a InvocationType enum value InvocationTypeEvent = "Event" @@ -14138,6 +14197,15 @@ const ( InvocationTypeDryRun = "DryRun" ) +// InvocationType_Values returns all elements of the InvocationType enum +func InvocationType_Values() []string { + return []string{ + InvocationTypeEvent, + InvocationTypeRequestResponse, + InvocationTypeDryRun, + } +} + const ( // LastUpdateStatusSuccessful is a LastUpdateStatus enum value LastUpdateStatusSuccessful = "Successful" @@ -14149,6 +14217,15 @@ const ( LastUpdateStatusInProgress = "InProgress" ) +// LastUpdateStatus_Values returns all elements of the LastUpdateStatus enum +func LastUpdateStatus_Values() []string { + return []string{ + LastUpdateStatusSuccessful, + LastUpdateStatusFailed, + LastUpdateStatusInProgress, + } +} + const ( // LastUpdateStatusReasonCodeEniLimitExceeded is a LastUpdateStatusReasonCode enum value LastUpdateStatusReasonCodeEniLimitExceeded = "EniLimitExceeded" @@ -14172,6 +14249,19 @@ const ( LastUpdateStatusReasonCodeInvalidSecurityGroup = "InvalidSecurityGroup" ) +// LastUpdateStatusReasonCode_Values returns all elements of the LastUpdateStatusReasonCode enum +func LastUpdateStatusReasonCode_Values() []string { + return []string{ + LastUpdateStatusReasonCodeEniLimitExceeded, + LastUpdateStatusReasonCodeInsufficientRolePermissions, + LastUpdateStatusReasonCodeInvalidConfiguration, + LastUpdateStatusReasonCodeInternalError, + LastUpdateStatusReasonCodeSubnetOutOfIpaddresses, + LastUpdateStatusReasonCodeInvalidSubnet, + LastUpdateStatusReasonCodeInvalidSecurityGroup, + } +} + const ( // LogTypeNone is a LogType enum value LogTypeNone = "None" @@ -14180,6 +14270,14 @@ const ( LogTypeTail = "Tail" ) +// LogType_Values returns all elements of the LogType enum +func LogType_Values() []string { + return []string{ + LogTypeNone, + LogTypeTail, + } +} + const ( // ProvisionedConcurrencyStatusEnumInProgress is a ProvisionedConcurrencyStatusEnum enum value ProvisionedConcurrencyStatusEnumInProgress = "IN_PROGRESS" @@ -14191,6 +14289,15 @@ const ( ProvisionedConcurrencyStatusEnumFailed = "FAILED" ) +// ProvisionedConcurrencyStatusEnum_Values returns all elements of the ProvisionedConcurrencyStatusEnum enum +func ProvisionedConcurrencyStatusEnum_Values() []string { + return []string{ + ProvisionedConcurrencyStatusEnumInProgress, + ProvisionedConcurrencyStatusEnumReady, + ProvisionedConcurrencyStatusEnumFailed, + } +} + const ( // RuntimeNodejs is a Runtime enum value RuntimeNodejs = "nodejs" @@ -14213,6 +14320,9 @@ const ( // RuntimeJava8 is a Runtime enum value RuntimeJava8 = "java8" + // RuntimeJava8Al2 is a Runtime enum value + RuntimeJava8Al2 = "java8.al2" + // RuntimeJava11 is a Runtime enum value RuntimeJava11 = "java11" @@ -14254,8 +14364,40 @@ const ( // RuntimeProvided is a Runtime enum value RuntimeProvided = "provided" + + // RuntimeProvidedAl2 is a Runtime enum value + RuntimeProvidedAl2 = "provided.al2" ) +// Runtime_Values returns all elements of the Runtime enum +func Runtime_Values() []string { + return []string{ + RuntimeNodejs, + RuntimeNodejs43, + RuntimeNodejs610, + RuntimeNodejs810, + RuntimeNodejs10X, + RuntimeNodejs12X, + RuntimeJava8, + RuntimeJava8Al2, + RuntimeJava11, + RuntimePython27, + RuntimePython36, + RuntimePython37, + RuntimePython38, + RuntimeDotnetcore10, + RuntimeDotnetcore20, + RuntimeDotnetcore21, + RuntimeDotnetcore31, + RuntimeNodejs43Edge, + RuntimeGo1X, + RuntimeRuby25, + RuntimeRuby27, + RuntimeProvided, + RuntimeProvidedAl2, + } +} + const ( // StatePending is a State enum value StatePending = "Pending" @@ -14270,6 +14412,16 @@ const ( StateFailed = "Failed" ) +// State_Values returns all elements of the State enum +func State_Values() []string { + return []string{ + StatePending, + StateActive, + StateInactive, + StateFailed, + } +} + const ( // StateReasonCodeIdle is a StateReasonCode enum value StateReasonCodeIdle = "Idle" @@ -14302,6 +14454,22 @@ const ( StateReasonCodeInvalidSecurityGroup = "InvalidSecurityGroup" ) +// StateReasonCode_Values returns all elements of the StateReasonCode enum +func StateReasonCode_Values() []string { + return []string{ + StateReasonCodeIdle, + StateReasonCodeCreating, + StateReasonCodeRestoring, + StateReasonCodeEniLimitExceeded, + StateReasonCodeInsufficientRolePermissions, + StateReasonCodeInvalidConfiguration, + StateReasonCodeInternalError, + StateReasonCodeSubnetOutOfIpaddresses, + StateReasonCodeInvalidSubnet, + StateReasonCodeInvalidSecurityGroup, + } +} + const ( // ThrottleReasonConcurrentInvocationLimitExceeded is a ThrottleReason enum value ThrottleReasonConcurrentInvocationLimitExceeded = "ConcurrentInvocationLimitExceeded" @@ -14319,6 +14487,17 @@ const ( ThrottleReasonCallerRateLimitExceeded = "CallerRateLimitExceeded" ) +// ThrottleReason_Values returns all elements of the ThrottleReason enum +func ThrottleReason_Values() []string { + return []string{ + ThrottleReasonConcurrentInvocationLimitExceeded, + ThrottleReasonFunctionInvocationRateLimitExceeded, + ThrottleReasonReservedFunctionConcurrentInvocationLimitExceeded, + ThrottleReasonReservedFunctionInvocationRateLimitExceeded, + ThrottleReasonCallerRateLimitExceeded, + } +} + const ( // TracingModeActive is a TracingMode enum value TracingModeActive = "Active" @@ -14326,3 +14505,11 @@ const ( // TracingModePassThrough is a TracingMode enum value TracingModePassThrough = "PassThrough" ) + +// TracingMode_Values returns all elements of the TracingMode enum +func TracingMode_Values() []string { + return []string{ + TracingModeActive, + TracingModePassThrough, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/lexmodelbuildingservice/api.go b/vendor/github.com/aws/aws-sdk-go/service/lexmodelbuildingservice/api.go index 87573569bf9..6ccc81bf6bf 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/lexmodelbuildingservice/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/lexmodelbuildingservice/api.go @@ -12583,6 +12583,15 @@ const ( ChannelStatusFailed = "FAILED" ) +// ChannelStatus_Values returns all elements of the ChannelStatus enum +func ChannelStatus_Values() []string { + return []string{ + ChannelStatusInProgress, + ChannelStatusCreated, + ChannelStatusFailed, + } +} + const ( // ChannelTypeFacebook is a ChannelType enum value ChannelTypeFacebook = "Facebook" @@ -12597,6 +12606,16 @@ const ( ChannelTypeKik = "Kik" ) +// ChannelType_Values returns all elements of the ChannelType enum +func ChannelType_Values() []string { + return []string{ + ChannelTypeFacebook, + ChannelTypeSlack, + ChannelTypeTwilioSms, + ChannelTypeKik, + } +} + const ( // ContentTypePlainText is a ContentType enum value ContentTypePlainText = "PlainText" @@ -12608,6 +12627,15 @@ const ( ContentTypeCustomPayload = "CustomPayload" ) +// ContentType_Values returns all elements of the ContentType enum +func ContentType_Values() []string { + return []string{ + ContentTypePlainText, + ContentTypeSsml, + ContentTypeCustomPayload, + } +} + const ( // DestinationCloudwatchLogs is a Destination enum value DestinationCloudwatchLogs = "CLOUDWATCH_LOGS" @@ -12616,6 +12644,14 @@ const ( DestinationS3 = "S3" ) +// Destination_Values returns all elements of the Destination enum +func Destination_Values() []string { + return []string{ + DestinationCloudwatchLogs, + DestinationS3, + } +} + const ( // ExportStatusInProgress is a ExportStatus enum value ExportStatusInProgress = "IN_PROGRESS" @@ -12627,6 +12663,15 @@ const ( ExportStatusFailed = "FAILED" ) +// ExportStatus_Values returns all elements of the ExportStatus enum +func ExportStatus_Values() []string { + return []string{ + ExportStatusInProgress, + ExportStatusReady, + ExportStatusFailed, + } +} + const ( // ExportTypeAlexaSkillsKit is a ExportType enum value ExportTypeAlexaSkillsKit = "ALEXA_SKILLS_KIT" @@ -12635,6 +12680,14 @@ const ( ExportTypeLex = "LEX" ) +// ExportType_Values returns all elements of the ExportType enum +func ExportType_Values() []string { + return []string{ + ExportTypeAlexaSkillsKit, + ExportTypeLex, + } +} + const ( // FulfillmentActivityTypeReturnIntent is a FulfillmentActivityType enum value FulfillmentActivityTypeReturnIntent = "ReturnIntent" @@ -12643,6 +12696,14 @@ const ( FulfillmentActivityTypeCodeHook = "CodeHook" ) +// FulfillmentActivityType_Values returns all elements of the FulfillmentActivityType enum +func FulfillmentActivityType_Values() []string { + return []string{ + FulfillmentActivityTypeReturnIntent, + FulfillmentActivityTypeCodeHook, + } +} + const ( // ImportStatusInProgress is a ImportStatus enum value ImportStatusInProgress = "IN_PROGRESS" @@ -12654,6 +12715,15 @@ const ( ImportStatusFailed = "FAILED" ) +// ImportStatus_Values returns all elements of the ImportStatus enum +func ImportStatus_Values() []string { + return []string{ + ImportStatusInProgress, + ImportStatusComplete, + ImportStatusFailed, + } +} + const ( // LocaleEnUs is a Locale enum value LocaleEnUs = "en-US" @@ -12665,6 +12735,15 @@ const ( LocaleDeDe = "de-DE" ) +// Locale_Values returns all elements of the Locale enum +func Locale_Values() []string { + return []string{ + LocaleEnUs, + LocaleEnGb, + LocaleDeDe, + } +} + const ( // LogTypeAudio is a LogType enum value LogTypeAudio = "AUDIO" @@ -12673,6 +12752,14 @@ const ( LogTypeText = "TEXT" ) +// LogType_Values returns all elements of the LogType enum +func LogType_Values() []string { + return []string{ + LogTypeAudio, + LogTypeText, + } +} + const ( // MergeStrategyOverwriteLatest is a MergeStrategy enum value MergeStrategyOverwriteLatest = "OVERWRITE_LATEST" @@ -12681,6 +12768,14 @@ const ( MergeStrategyFailOnConflict = "FAIL_ON_CONFLICT" ) +// MergeStrategy_Values returns all elements of the MergeStrategy enum +func MergeStrategy_Values() []string { + return []string{ + MergeStrategyOverwriteLatest, + MergeStrategyFailOnConflict, + } +} + const ( // ObfuscationSettingNone is a ObfuscationSetting enum value ObfuscationSettingNone = "NONE" @@ -12689,6 +12784,14 @@ const ( ObfuscationSettingDefaultObfuscation = "DEFAULT_OBFUSCATION" ) +// ObfuscationSetting_Values returns all elements of the ObfuscationSetting enum +func ObfuscationSetting_Values() []string { + return []string{ + ObfuscationSettingNone, + ObfuscationSettingDefaultObfuscation, + } +} + const ( // ProcessBehaviorSave is a ProcessBehavior enum value ProcessBehaviorSave = "SAVE" @@ -12697,6 +12800,14 @@ const ( ProcessBehaviorBuild = "BUILD" ) +// ProcessBehavior_Values returns all elements of the ProcessBehavior enum +func ProcessBehavior_Values() []string { + return []string{ + ProcessBehaviorSave, + ProcessBehaviorBuild, + } +} + const ( // ReferenceTypeIntent is a ReferenceType enum value ReferenceTypeIntent = "Intent" @@ -12711,6 +12822,16 @@ const ( ReferenceTypeBotChannel = "BotChannel" ) +// ReferenceType_Values returns all elements of the ReferenceType enum +func ReferenceType_Values() []string { + return []string{ + ReferenceTypeIntent, + ReferenceTypeBot, + ReferenceTypeBotAlias, + ReferenceTypeBotChannel, + } +} + const ( // ResourceTypeBot is a ResourceType enum value ResourceTypeBot = "BOT" @@ -12722,6 +12843,15 @@ const ( ResourceTypeSlotType = "SLOT_TYPE" ) +// ResourceType_Values returns all elements of the ResourceType enum +func ResourceType_Values() []string { + return []string{ + ResourceTypeBot, + ResourceTypeIntent, + ResourceTypeSlotType, + } +} + const ( // SlotConstraintRequired is a SlotConstraint enum value SlotConstraintRequired = "Required" @@ -12730,6 +12860,14 @@ const ( SlotConstraintOptional = "Optional" ) +// SlotConstraint_Values returns all elements of the SlotConstraint enum +func SlotConstraint_Values() []string { + return []string{ + SlotConstraintRequired, + SlotConstraintOptional, + } +} + const ( // SlotValueSelectionStrategyOriginalValue is a SlotValueSelectionStrategy enum value SlotValueSelectionStrategyOriginalValue = "ORIGINAL_VALUE" @@ -12738,6 +12876,14 @@ const ( SlotValueSelectionStrategyTopResolution = "TOP_RESOLUTION" ) +// SlotValueSelectionStrategy_Values returns all elements of the SlotValueSelectionStrategy enum +func SlotValueSelectionStrategy_Values() []string { + return []string{ + SlotValueSelectionStrategyOriginalValue, + SlotValueSelectionStrategyTopResolution, + } +} + const ( // StatusBuilding is a Status enum value StatusBuilding = "BUILDING" @@ -12755,6 +12901,17 @@ const ( StatusNotBuilt = "NOT_BUILT" ) +// Status_Values returns all elements of the Status enum +func Status_Values() []string { + return []string{ + StatusBuilding, + StatusReady, + StatusReadyBasicTesting, + StatusFailed, + StatusNotBuilt, + } +} + const ( // StatusTypeDetected is a StatusType enum value StatusTypeDetected = "Detected" @@ -12762,3 +12919,11 @@ const ( // StatusTypeMissed is a StatusType enum value StatusTypeMissed = "Missed" ) + +// StatusType_Values returns all elements of the StatusType enum +func StatusType_Values() []string { + return []string{ + StatusTypeDetected, + StatusTypeMissed, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/licensemanager/api.go b/vendor/github.com/aws/aws-sdk-go/service/licensemanager/api.go index 1207a082be2..be0f32c7a10 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/licensemanager/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/licensemanager/api.go @@ -4568,6 +4568,16 @@ const ( InventoryFilterConditionContains = "CONTAINS" ) +// InventoryFilterCondition_Values returns all elements of the InventoryFilterCondition enum +func InventoryFilterCondition_Values() []string { + return []string{ + InventoryFilterConditionEquals, + InventoryFilterConditionNotEquals, + InventoryFilterConditionBeginsWith, + InventoryFilterConditionContains, + } +} + const ( // LicenseConfigurationStatusAvailable is a LicenseConfigurationStatus enum value LicenseConfigurationStatusAvailable = "AVAILABLE" @@ -4576,6 +4586,14 @@ const ( LicenseConfigurationStatusDisabled = "DISABLED" ) +// LicenseConfigurationStatus_Values returns all elements of the LicenseConfigurationStatus enum +func LicenseConfigurationStatus_Values() []string { + return []string{ + LicenseConfigurationStatusAvailable, + LicenseConfigurationStatusDisabled, + } +} + const ( // LicenseCountingTypeVCpu is a LicenseCountingType enum value LicenseCountingTypeVCpu = "vCPU" @@ -4590,6 +4608,16 @@ const ( LicenseCountingTypeSocket = "Socket" ) +// LicenseCountingType_Values returns all elements of the LicenseCountingType enum +func LicenseCountingType_Values() []string { + return []string{ + LicenseCountingTypeVCpu, + LicenseCountingTypeInstance, + LicenseCountingTypeCore, + LicenseCountingTypeSocket, + } +} + const ( // ResourceTypeEc2Instance is a ResourceType enum value ResourceTypeEc2Instance = "EC2_INSTANCE" @@ -4606,3 +4634,14 @@ const ( // ResourceTypeSystemsManagerManagedInstance is a ResourceType enum value ResourceTypeSystemsManagerManagedInstance = "SYSTEMS_MANAGER_MANAGED_INSTANCE" ) + +// ResourceType_Values returns all elements of the ResourceType enum +func ResourceType_Values() []string { + return []string{ + ResourceTypeEc2Instance, + ResourceTypeEc2Host, + ResourceTypeEc2Ami, + ResourceTypeRds, + ResourceTypeSystemsManagerManagedInstance, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/lightsail/api.go b/vendor/github.com/aws/aws-sdk-go/service/lightsail/api.go index 314d92ed41f..d9ff1c079c9 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/lightsail/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/lightsail/api.go @@ -31983,11 +31983,26 @@ const ( AccessDirectionOutbound = "outbound" ) +// AccessDirection_Values returns all elements of the AccessDirection enum +func AccessDirection_Values() []string { + return []string{ + AccessDirectionInbound, + AccessDirectionOutbound, + } +} + const ( // AddOnTypeAutoSnapshot is a AddOnType enum value AddOnTypeAutoSnapshot = "AutoSnapshot" ) +// AddOnType_Values returns all elements of the AddOnType enum +func AddOnType_Values() []string { + return []string{ + AddOnTypeAutoSnapshot, + } +} + const ( // AlarmStateOk is a AlarmState enum value AlarmStateOk = "OK" @@ -31999,6 +32014,15 @@ const ( AlarmStateInsufficientData = "INSUFFICIENT_DATA" ) +// AlarmState_Values returns all elements of the AlarmState enum +func AlarmState_Values() []string { + return []string{ + AlarmStateOk, + AlarmStateAlarm, + AlarmStateInsufficientData, + } +} + const ( // AutoSnapshotStatusSuccess is a AutoSnapshotStatus enum value AutoSnapshotStatusSuccess = "Success" @@ -32013,6 +32037,16 @@ const ( AutoSnapshotStatusNotFound = "NotFound" ) +// AutoSnapshotStatus_Values returns all elements of the AutoSnapshotStatus enum +func AutoSnapshotStatus_Values() []string { + return []string{ + AutoSnapshotStatusSuccess, + AutoSnapshotStatusFailed, + AutoSnapshotStatusInProgress, + AutoSnapshotStatusNotFound, + } +} + const ( // BehaviorEnumDontCache is a BehaviorEnum enum value BehaviorEnumDontCache = "dont-cache" @@ -32021,6 +32055,14 @@ const ( BehaviorEnumCache = "cache" ) +// BehaviorEnum_Values returns all elements of the BehaviorEnum enum +func BehaviorEnum_Values() []string { + return []string{ + BehaviorEnumDontCache, + BehaviorEnumCache, + } +} + const ( // BlueprintTypeOs is a BlueprintType enum value BlueprintTypeOs = "os" @@ -32029,6 +32071,14 @@ const ( BlueprintTypeApp = "app" ) +// BlueprintType_Values returns all elements of the BlueprintType enum +func BlueprintType_Values() []string { + return []string{ + BlueprintTypeOs, + BlueprintTypeApp, + } +} + const ( // CertificateStatusPendingValidation is a CertificateStatus enum value CertificateStatusPendingValidation = "PENDING_VALIDATION" @@ -32052,11 +32102,31 @@ const ( CertificateStatusFailed = "FAILED" ) +// CertificateStatus_Values returns all elements of the CertificateStatus enum +func CertificateStatus_Values() []string { + return []string{ + CertificateStatusPendingValidation, + CertificateStatusIssued, + CertificateStatusInactive, + CertificateStatusExpired, + CertificateStatusValidationTimedOut, + CertificateStatusRevoked, + CertificateStatusFailed, + } +} + const ( // CloudFormationStackRecordSourceTypeExportSnapshotRecord is a CloudFormationStackRecordSourceType enum value CloudFormationStackRecordSourceTypeExportSnapshotRecord = "ExportSnapshotRecord" ) +// CloudFormationStackRecordSourceType_Values returns all elements of the CloudFormationStackRecordSourceType enum +func CloudFormationStackRecordSourceType_Values() []string { + return []string{ + CloudFormationStackRecordSourceTypeExportSnapshotRecord, + } +} + const ( // ComparisonOperatorGreaterThanOrEqualToThreshold is a ComparisonOperator enum value ComparisonOperatorGreaterThanOrEqualToThreshold = "GreaterThanOrEqualToThreshold" @@ -32071,6 +32141,16 @@ const ( ComparisonOperatorLessThanOrEqualToThreshold = "LessThanOrEqualToThreshold" ) +// ComparisonOperator_Values returns all elements of the ComparisonOperator enum +func ComparisonOperator_Values() []string { + return []string{ + ComparisonOperatorGreaterThanOrEqualToThreshold, + ComparisonOperatorGreaterThanThreshold, + ComparisonOperatorLessThanThreshold, + ComparisonOperatorLessThanOrEqualToThreshold, + } +} + const ( // ContactMethodStatusPendingVerification is a ContactMethodStatus enum value ContactMethodStatusPendingVerification = "PendingVerification" @@ -32082,11 +32162,27 @@ const ( ContactMethodStatusInvalid = "Invalid" ) +// ContactMethodStatus_Values returns all elements of the ContactMethodStatus enum +func ContactMethodStatus_Values() []string { + return []string{ + ContactMethodStatusPendingVerification, + ContactMethodStatusValid, + ContactMethodStatusInvalid, + } +} + const ( // ContactMethodVerificationProtocolEmail is a ContactMethodVerificationProtocol enum value ContactMethodVerificationProtocolEmail = "Email" ) +// ContactMethodVerificationProtocol_Values returns all elements of the ContactMethodVerificationProtocol enum +func ContactMethodVerificationProtocol_Values() []string { + return []string{ + ContactMethodVerificationProtocolEmail, + } +} + const ( // ContactProtocolEmail is a ContactProtocol enum value ContactProtocolEmail = "Email" @@ -32095,6 +32191,14 @@ const ( ContactProtocolSms = "SMS" ) +// ContactProtocol_Values returns all elements of the ContactProtocol enum +func ContactProtocol_Values() []string { + return []string{ + ContactProtocolEmail, + ContactProtocolSms, + } +} + const ( // DiskSnapshotStatePending is a DiskSnapshotState enum value DiskSnapshotStatePending = "pending" @@ -32109,6 +32213,16 @@ const ( DiskSnapshotStateUnknown = "unknown" ) +// DiskSnapshotState_Values returns all elements of the DiskSnapshotState enum +func DiskSnapshotState_Values() []string { + return []string{ + DiskSnapshotStatePending, + DiskSnapshotStateCompleted, + DiskSnapshotStateError, + DiskSnapshotStateUnknown, + } +} + const ( // DiskStatePending is a DiskState enum value DiskStatePending = "pending" @@ -32126,6 +32240,17 @@ const ( DiskStateUnknown = "unknown" ) +// DiskState_Values returns all elements of the DiskState enum +func DiskState_Values() []string { + return []string{ + DiskStatePending, + DiskStateError, + DiskStateAvailable, + DiskStateInUse, + DiskStateUnknown, + } +} + const ( // DistributionMetricNameRequests is a DistributionMetricName enum value DistributionMetricNameRequests = "Requests" @@ -32146,6 +32271,18 @@ const ( DistributionMetricNameHttp5xxErrorRate = "Http5xxErrorRate" ) +// DistributionMetricName_Values returns all elements of the DistributionMetricName enum +func DistributionMetricName_Values() []string { + return []string{ + DistributionMetricNameRequests, + DistributionMetricNameBytesDownloaded, + DistributionMetricNameBytesUploaded, + DistributionMetricNameTotalErrorRate, + DistributionMetricNameHttp4xxErrorRate, + DistributionMetricNameHttp5xxErrorRate, + } +} + const ( // ExportSnapshotRecordSourceTypeInstanceSnapshot is a ExportSnapshotRecordSourceType enum value ExportSnapshotRecordSourceTypeInstanceSnapshot = "InstanceSnapshot" @@ -32154,6 +32291,14 @@ const ( ExportSnapshotRecordSourceTypeDiskSnapshot = "DiskSnapshot" ) +// ExportSnapshotRecordSourceType_Values returns all elements of the ExportSnapshotRecordSourceType enum +func ExportSnapshotRecordSourceType_Values() []string { + return []string{ + ExportSnapshotRecordSourceTypeInstanceSnapshot, + ExportSnapshotRecordSourceTypeDiskSnapshot, + } +} + const ( // ForwardValuesNone is a ForwardValues enum value ForwardValuesNone = "none" @@ -32165,6 +32310,15 @@ const ( ForwardValuesAll = "all" ) +// ForwardValues_Values returns all elements of the ForwardValues enum +func ForwardValues_Values() []string { + return []string{ + ForwardValuesNone, + ForwardValuesAllowList, + ForwardValuesAll, + } +} + const ( // HeaderEnumAccept is a HeaderEnum enum value HeaderEnumAccept = "Accept" @@ -32212,6 +32366,27 @@ const ( HeaderEnumReferer = "Referer" ) +// HeaderEnum_Values returns all elements of the HeaderEnum enum +func HeaderEnum_Values() []string { + return []string{ + HeaderEnumAccept, + HeaderEnumAcceptCharset, + HeaderEnumAcceptDatetime, + HeaderEnumAcceptEncoding, + HeaderEnumAcceptLanguage, + HeaderEnumAuthorization, + HeaderEnumCloudFrontForwardedProto, + HeaderEnumCloudFrontIsDesktopViewer, + HeaderEnumCloudFrontIsMobileViewer, + HeaderEnumCloudFrontIsSmartTvViewer, + HeaderEnumCloudFrontIsTabletViewer, + HeaderEnumCloudFrontViewerCountry, + HeaderEnumHost, + HeaderEnumOrigin, + HeaderEnumReferer, + } +} + const ( // InstanceAccessProtocolSsh is a InstanceAccessProtocol enum value InstanceAccessProtocolSsh = "ssh" @@ -32220,6 +32395,14 @@ const ( InstanceAccessProtocolRdp = "rdp" ) +// InstanceAccessProtocol_Values returns all elements of the InstanceAccessProtocol enum +func InstanceAccessProtocol_Values() []string { + return []string{ + InstanceAccessProtocolSsh, + InstanceAccessProtocolRdp, + } +} + const ( // InstanceHealthReasonLbRegistrationInProgress is a InstanceHealthReason enum value InstanceHealthReasonLbRegistrationInProgress = "Lb.RegistrationInProgress" @@ -32255,6 +32438,23 @@ const ( InstanceHealthReasonInstanceIpUnusable = "Instance.IpUnusable" ) +// InstanceHealthReason_Values returns all elements of the InstanceHealthReason enum +func InstanceHealthReason_Values() []string { + return []string{ + InstanceHealthReasonLbRegistrationInProgress, + InstanceHealthReasonLbInitialHealthChecking, + InstanceHealthReasonLbInternalError, + InstanceHealthReasonInstanceResponseCodeMismatch, + InstanceHealthReasonInstanceTimeout, + InstanceHealthReasonInstanceFailedHealthChecks, + InstanceHealthReasonInstanceNotRegistered, + InstanceHealthReasonInstanceNotInUse, + InstanceHealthReasonInstanceDeregistrationInProgress, + InstanceHealthReasonInstanceInvalidState, + InstanceHealthReasonInstanceIpUnusable, + } +} + const ( // InstanceHealthStateInitial is a InstanceHealthState enum value InstanceHealthStateInitial = "initial" @@ -32275,6 +32475,18 @@ const ( InstanceHealthStateUnavailable = "unavailable" ) +// InstanceHealthState_Values returns all elements of the InstanceHealthState enum +func InstanceHealthState_Values() []string { + return []string{ + InstanceHealthStateInitial, + InstanceHealthStateHealthy, + InstanceHealthStateUnhealthy, + InstanceHealthStateUnused, + InstanceHealthStateDraining, + InstanceHealthStateUnavailable, + } +} + const ( // InstanceMetricNameCpuutilization is a InstanceMetricName enum value InstanceMetricNameCpuutilization = "CPUUtilization" @@ -32301,6 +32513,20 @@ const ( InstanceMetricNameBurstCapacityPercentage = "BurstCapacityPercentage" ) +// InstanceMetricName_Values returns all elements of the InstanceMetricName enum +func InstanceMetricName_Values() []string { + return []string{ + InstanceMetricNameCpuutilization, + InstanceMetricNameNetworkIn, + InstanceMetricNameNetworkOut, + InstanceMetricNameStatusCheckFailed, + InstanceMetricNameStatusCheckFailedInstance, + InstanceMetricNameStatusCheckFailedSystem, + InstanceMetricNameBurstCapacityTime, + InstanceMetricNameBurstCapacityPercentage, + } +} + const ( // InstancePlatformLinuxUnix is a InstancePlatform enum value InstancePlatformLinuxUnix = "LINUX_UNIX" @@ -32309,6 +32535,14 @@ const ( InstancePlatformWindows = "WINDOWS" ) +// InstancePlatform_Values returns all elements of the InstancePlatform enum +func InstancePlatform_Values() []string { + return []string{ + InstancePlatformLinuxUnix, + InstancePlatformWindows, + } +} + const ( // InstanceSnapshotStatePending is a InstanceSnapshotState enum value InstanceSnapshotStatePending = "pending" @@ -32320,6 +32554,15 @@ const ( InstanceSnapshotStateAvailable = "available" ) +// InstanceSnapshotState_Values returns all elements of the InstanceSnapshotState enum +func InstanceSnapshotState_Values() []string { + return []string{ + InstanceSnapshotStatePending, + InstanceSnapshotStateError, + InstanceSnapshotStateAvailable, + } +} + const ( // LoadBalancerAttributeNameHealthCheckPath is a LoadBalancerAttributeName enum value LoadBalancerAttributeNameHealthCheckPath = "HealthCheckPath" @@ -32331,6 +32574,15 @@ const ( LoadBalancerAttributeNameSessionStickinessLbCookieDurationSeconds = "SessionStickiness_LB_CookieDurationSeconds" ) +// LoadBalancerAttributeName_Values returns all elements of the LoadBalancerAttributeName enum +func LoadBalancerAttributeName_Values() []string { + return []string{ + LoadBalancerAttributeNameHealthCheckPath, + LoadBalancerAttributeNameSessionStickinessEnabled, + LoadBalancerAttributeNameSessionStickinessLbCookieDurationSeconds, + } +} + const ( // LoadBalancerMetricNameClientTlsnegotiationErrorCount is a LoadBalancerMetricName enum value LoadBalancerMetricNameClientTlsnegotiationErrorCount = "ClientTLSNegotiationErrorCount" @@ -32369,6 +32621,24 @@ const ( LoadBalancerMetricNameRequestCount = "RequestCount" ) +// LoadBalancerMetricName_Values returns all elements of the LoadBalancerMetricName enum +func LoadBalancerMetricName_Values() []string { + return []string{ + LoadBalancerMetricNameClientTlsnegotiationErrorCount, + LoadBalancerMetricNameHealthyHostCount, + LoadBalancerMetricNameUnhealthyHostCount, + LoadBalancerMetricNameHttpcodeLb4xxCount, + LoadBalancerMetricNameHttpcodeLb5xxCount, + LoadBalancerMetricNameHttpcodeInstance2xxCount, + LoadBalancerMetricNameHttpcodeInstance3xxCount, + LoadBalancerMetricNameHttpcodeInstance4xxCount, + LoadBalancerMetricNameHttpcodeInstance5xxCount, + LoadBalancerMetricNameInstanceResponseTime, + LoadBalancerMetricNameRejectedConnectionCount, + LoadBalancerMetricNameRequestCount, + } +} + const ( // LoadBalancerProtocolHttpHttps is a LoadBalancerProtocol enum value LoadBalancerProtocolHttpHttps = "HTTP_HTTPS" @@ -32377,6 +32647,14 @@ const ( LoadBalancerProtocolHttp = "HTTP" ) +// LoadBalancerProtocol_Values returns all elements of the LoadBalancerProtocol enum +func LoadBalancerProtocol_Values() []string { + return []string{ + LoadBalancerProtocolHttpHttps, + LoadBalancerProtocolHttp, + } +} + const ( // LoadBalancerStateActive is a LoadBalancerState enum value LoadBalancerStateActive = "active" @@ -32394,6 +32672,17 @@ const ( LoadBalancerStateUnknown = "unknown" ) +// LoadBalancerState_Values returns all elements of the LoadBalancerState enum +func LoadBalancerState_Values() []string { + return []string{ + LoadBalancerStateActive, + LoadBalancerStateProvisioning, + LoadBalancerStateActiveImpaired, + LoadBalancerStateFailed, + LoadBalancerStateUnknown, + } +} + const ( // LoadBalancerTlsCertificateDomainStatusPendingValidation is a LoadBalancerTlsCertificateDomainStatus enum value LoadBalancerTlsCertificateDomainStatusPendingValidation = "PENDING_VALIDATION" @@ -32405,6 +32694,15 @@ const ( LoadBalancerTlsCertificateDomainStatusSuccess = "SUCCESS" ) +// LoadBalancerTlsCertificateDomainStatus_Values returns all elements of the LoadBalancerTlsCertificateDomainStatus enum +func LoadBalancerTlsCertificateDomainStatus_Values() []string { + return []string{ + LoadBalancerTlsCertificateDomainStatusPendingValidation, + LoadBalancerTlsCertificateDomainStatusFailed, + LoadBalancerTlsCertificateDomainStatusSuccess, + } +} + const ( // LoadBalancerTlsCertificateFailureReasonNoAvailableContacts is a LoadBalancerTlsCertificateFailureReason enum value LoadBalancerTlsCertificateFailureReasonNoAvailableContacts = "NO_AVAILABLE_CONTACTS" @@ -32422,6 +32720,17 @@ const ( LoadBalancerTlsCertificateFailureReasonOther = "OTHER" ) +// LoadBalancerTlsCertificateFailureReason_Values returns all elements of the LoadBalancerTlsCertificateFailureReason enum +func LoadBalancerTlsCertificateFailureReason_Values() []string { + return []string{ + LoadBalancerTlsCertificateFailureReasonNoAvailableContacts, + LoadBalancerTlsCertificateFailureReasonAdditionalVerificationRequired, + LoadBalancerTlsCertificateFailureReasonDomainNotAllowed, + LoadBalancerTlsCertificateFailureReasonInvalidPublicDomain, + LoadBalancerTlsCertificateFailureReasonOther, + } +} + const ( // LoadBalancerTlsCertificateRenewalStatusPendingAutoRenewal is a LoadBalancerTlsCertificateRenewalStatus enum value LoadBalancerTlsCertificateRenewalStatusPendingAutoRenewal = "PENDING_AUTO_RENEWAL" @@ -32436,6 +32745,16 @@ const ( LoadBalancerTlsCertificateRenewalStatusFailed = "FAILED" ) +// LoadBalancerTlsCertificateRenewalStatus_Values returns all elements of the LoadBalancerTlsCertificateRenewalStatus enum +func LoadBalancerTlsCertificateRenewalStatus_Values() []string { + return []string{ + LoadBalancerTlsCertificateRenewalStatusPendingAutoRenewal, + LoadBalancerTlsCertificateRenewalStatusPendingValidation, + LoadBalancerTlsCertificateRenewalStatusSuccess, + LoadBalancerTlsCertificateRenewalStatusFailed, + } +} + const ( // LoadBalancerTlsCertificateRevocationReasonUnspecified is a LoadBalancerTlsCertificateRevocationReason enum value LoadBalancerTlsCertificateRevocationReasonUnspecified = "UNSPECIFIED" @@ -32468,6 +32787,22 @@ const ( LoadBalancerTlsCertificateRevocationReasonAACompromise = "A_A_COMPROMISE" ) +// LoadBalancerTlsCertificateRevocationReason_Values returns all elements of the LoadBalancerTlsCertificateRevocationReason enum +func LoadBalancerTlsCertificateRevocationReason_Values() []string { + return []string{ + LoadBalancerTlsCertificateRevocationReasonUnspecified, + LoadBalancerTlsCertificateRevocationReasonKeyCompromise, + LoadBalancerTlsCertificateRevocationReasonCaCompromise, + LoadBalancerTlsCertificateRevocationReasonAffiliationChanged, + LoadBalancerTlsCertificateRevocationReasonSuperceded, + LoadBalancerTlsCertificateRevocationReasonCessationOfOperation, + LoadBalancerTlsCertificateRevocationReasonCertificateHold, + LoadBalancerTlsCertificateRevocationReasonRemoveFromCrl, + LoadBalancerTlsCertificateRevocationReasonPrivilegeWithdrawn, + LoadBalancerTlsCertificateRevocationReasonAACompromise, + } +} + const ( // LoadBalancerTlsCertificateStatusPendingValidation is a LoadBalancerTlsCertificateStatus enum value LoadBalancerTlsCertificateStatusPendingValidation = "PENDING_VALIDATION" @@ -32494,6 +32829,20 @@ const ( LoadBalancerTlsCertificateStatusUnknown = "UNKNOWN" ) +// LoadBalancerTlsCertificateStatus_Values returns all elements of the LoadBalancerTlsCertificateStatus enum +func LoadBalancerTlsCertificateStatus_Values() []string { + return []string{ + LoadBalancerTlsCertificateStatusPendingValidation, + LoadBalancerTlsCertificateStatusIssued, + LoadBalancerTlsCertificateStatusInactive, + LoadBalancerTlsCertificateStatusExpired, + LoadBalancerTlsCertificateStatusValidationTimedOut, + LoadBalancerTlsCertificateStatusRevoked, + LoadBalancerTlsCertificateStatusFailed, + LoadBalancerTlsCertificateStatusUnknown, + } +} + const ( // MetricNameCpuutilization is a MetricName enum value MetricNameCpuutilization = "CPUUtilization" @@ -32571,6 +32920,37 @@ const ( MetricNameBurstCapacityPercentage = "BurstCapacityPercentage" ) +// MetricName_Values returns all elements of the MetricName enum +func MetricName_Values() []string { + return []string{ + MetricNameCpuutilization, + MetricNameNetworkIn, + MetricNameNetworkOut, + MetricNameStatusCheckFailed, + MetricNameStatusCheckFailedInstance, + MetricNameStatusCheckFailedSystem, + MetricNameClientTlsnegotiationErrorCount, + MetricNameHealthyHostCount, + MetricNameUnhealthyHostCount, + MetricNameHttpcodeLb4xxCount, + MetricNameHttpcodeLb5xxCount, + MetricNameHttpcodeInstance2xxCount, + MetricNameHttpcodeInstance3xxCount, + MetricNameHttpcodeInstance4xxCount, + MetricNameHttpcodeInstance5xxCount, + MetricNameInstanceResponseTime, + MetricNameRejectedConnectionCount, + MetricNameRequestCount, + MetricNameDatabaseConnections, + MetricNameDiskQueueDepth, + MetricNameFreeStorageSpace, + MetricNameNetworkReceiveThroughput, + MetricNameNetworkTransmitThroughput, + MetricNameBurstCapacityTime, + MetricNameBurstCapacityPercentage, + } +} + const ( // MetricStatisticMinimum is a MetricStatistic enum value MetricStatisticMinimum = "Minimum" @@ -32588,6 +32968,17 @@ const ( MetricStatisticSampleCount = "SampleCount" ) +// MetricStatistic_Values returns all elements of the MetricStatistic enum +func MetricStatistic_Values() []string { + return []string{ + MetricStatisticMinimum, + MetricStatisticMaximum, + MetricStatisticSum, + MetricStatisticAverage, + MetricStatisticSampleCount, + } +} + const ( // MetricUnitSeconds is a MetricUnit enum value MetricUnitSeconds = "Seconds" @@ -32671,6 +33062,39 @@ const ( MetricUnitNone = "None" ) +// MetricUnit_Values returns all elements of the MetricUnit enum +func MetricUnit_Values() []string { + return []string{ + MetricUnitSeconds, + MetricUnitMicroseconds, + MetricUnitMilliseconds, + MetricUnitBytes, + MetricUnitKilobytes, + MetricUnitMegabytes, + MetricUnitGigabytes, + MetricUnitTerabytes, + MetricUnitBits, + MetricUnitKilobits, + MetricUnitMegabits, + MetricUnitGigabits, + MetricUnitTerabits, + MetricUnitPercent, + MetricUnitCount, + MetricUnitBytesSecond, + MetricUnitKilobytesSecond, + MetricUnitMegabytesSecond, + MetricUnitGigabytesSecond, + MetricUnitTerabytesSecond, + MetricUnitBitsSecond, + MetricUnitKilobitsSecond, + MetricUnitMegabitsSecond, + MetricUnitGigabitsSecond, + MetricUnitTerabitsSecond, + MetricUnitCountSecond, + MetricUnitNone, + } +} + const ( // NetworkProtocolTcp is a NetworkProtocol enum value NetworkProtocolTcp = "tcp" @@ -32685,6 +33109,16 @@ const ( NetworkProtocolIcmp = "icmp" ) +// NetworkProtocol_Values returns all elements of the NetworkProtocol enum +func NetworkProtocol_Values() []string { + return []string{ + NetworkProtocolTcp, + NetworkProtocolAll, + NetworkProtocolUdp, + NetworkProtocolIcmp, + } +} + const ( // OperationStatusNotStarted is a OperationStatus enum value OperationStatusNotStarted = "NotStarted" @@ -32702,6 +33136,17 @@ const ( OperationStatusSucceeded = "Succeeded" ) +// OperationStatus_Values returns all elements of the OperationStatus enum +func OperationStatus_Values() []string { + return []string{ + OperationStatusNotStarted, + OperationStatusStarted, + OperationStatusFailed, + OperationStatusCompleted, + OperationStatusSucceeded, + } +} + const ( // OperationTypeDeleteKnownHostKeys is a OperationType enum value OperationTypeDeleteKnownHostKeys = "DeleteKnownHostKeys" @@ -32896,6 +33341,76 @@ const ( OperationTypeDeleteCertificate = "DeleteCertificate" ) +// OperationType_Values returns all elements of the OperationType enum +func OperationType_Values() []string { + return []string{ + OperationTypeDeleteKnownHostKeys, + OperationTypeDeleteInstance, + OperationTypeCreateInstance, + OperationTypeStopInstance, + OperationTypeStartInstance, + OperationTypeRebootInstance, + OperationTypeOpenInstancePublicPorts, + OperationTypePutInstancePublicPorts, + OperationTypeCloseInstancePublicPorts, + OperationTypeAllocateStaticIp, + OperationTypeReleaseStaticIp, + OperationTypeAttachStaticIp, + OperationTypeDetachStaticIp, + OperationTypeUpdateDomainEntry, + OperationTypeDeleteDomainEntry, + OperationTypeCreateDomain, + OperationTypeDeleteDomain, + OperationTypeCreateInstanceSnapshot, + OperationTypeDeleteInstanceSnapshot, + OperationTypeCreateInstancesFromSnapshot, + OperationTypeCreateLoadBalancer, + OperationTypeDeleteLoadBalancer, + OperationTypeAttachInstancesToLoadBalancer, + OperationTypeDetachInstancesFromLoadBalancer, + OperationTypeUpdateLoadBalancerAttribute, + OperationTypeCreateLoadBalancerTlsCertificate, + OperationTypeDeleteLoadBalancerTlsCertificate, + OperationTypeAttachLoadBalancerTlsCertificate, + OperationTypeCreateDisk, + OperationTypeDeleteDisk, + OperationTypeAttachDisk, + OperationTypeDetachDisk, + OperationTypeCreateDiskSnapshot, + OperationTypeDeleteDiskSnapshot, + OperationTypeCreateDiskFromSnapshot, + OperationTypeCreateRelationalDatabase, + OperationTypeUpdateRelationalDatabase, + OperationTypeDeleteRelationalDatabase, + OperationTypeCreateRelationalDatabaseFromSnapshot, + OperationTypeCreateRelationalDatabaseSnapshot, + OperationTypeDeleteRelationalDatabaseSnapshot, + OperationTypeUpdateRelationalDatabaseParameters, + OperationTypeStartRelationalDatabase, + OperationTypeRebootRelationalDatabase, + OperationTypeStopRelationalDatabase, + OperationTypeEnableAddOn, + OperationTypeDisableAddOn, + OperationTypePutAlarm, + OperationTypeGetAlarms, + OperationTypeDeleteAlarm, + OperationTypeTestAlarm, + OperationTypeCreateContactMethod, + OperationTypeGetContactMethods, + OperationTypeSendContactMethodVerification, + OperationTypeDeleteContactMethod, + OperationTypeCreateDistribution, + OperationTypeUpdateDistribution, + OperationTypeDeleteDistribution, + OperationTypeResetDistributionCache, + OperationTypeAttachCertificateToDistribution, + OperationTypeDetachCertificateFromDistribution, + OperationTypeUpdateDistributionBundle, + OperationTypeCreateCertificate, + OperationTypeDeleteCertificate, + } +} + const ( // OriginProtocolPolicyEnumHttpOnly is a OriginProtocolPolicyEnum enum value OriginProtocolPolicyEnumHttpOnly = "http-only" @@ -32904,6 +33419,14 @@ const ( OriginProtocolPolicyEnumHttpsOnly = "https-only" ) +// OriginProtocolPolicyEnum_Values returns all elements of the OriginProtocolPolicyEnum enum +func OriginProtocolPolicyEnum_Values() []string { + return []string{ + OriginProtocolPolicyEnumHttpOnly, + OriginProtocolPolicyEnumHttpsOnly, + } +} + const ( // PortAccessTypePublic is a PortAccessType enum value PortAccessTypePublic = "Public" @@ -32912,6 +33435,14 @@ const ( PortAccessTypePrivate = "Private" ) +// PortAccessType_Values returns all elements of the PortAccessType enum +func PortAccessType_Values() []string { + return []string{ + PortAccessTypePublic, + PortAccessTypePrivate, + } +} + const ( // PortInfoSourceTypeDefault is a PortInfoSourceType enum value PortInfoSourceTypeDefault = "DEFAULT" @@ -32926,6 +33457,16 @@ const ( PortInfoSourceTypeClosed = "CLOSED" ) +// PortInfoSourceType_Values returns all elements of the PortInfoSourceType enum +func PortInfoSourceType_Values() []string { + return []string{ + PortInfoSourceTypeDefault, + PortInfoSourceTypeInstance, + PortInfoSourceTypeNone, + PortInfoSourceTypeClosed, + } +} + const ( // PortStateOpen is a PortState enum value PortStateOpen = "open" @@ -32934,6 +33475,14 @@ const ( PortStateClosed = "closed" ) +// PortState_Values returns all elements of the PortState enum +func PortState_Values() []string { + return []string{ + PortStateOpen, + PortStateClosed, + } +} + const ( // RecordStateStarted is a RecordState enum value RecordStateStarted = "Started" @@ -32945,6 +33494,15 @@ const ( RecordStateFailed = "Failed" ) +// RecordState_Values returns all elements of the RecordState enum +func RecordState_Values() []string { + return []string{ + RecordStateStarted, + RecordStateSucceeded, + RecordStateFailed, + } +} + const ( // RegionNameUsEast1 is a RegionName enum value RegionNameUsEast1 = "us-east-1" @@ -32989,11 +33547,38 @@ const ( RegionNameApNortheast2 = "ap-northeast-2" ) +// RegionName_Values returns all elements of the RegionName enum +func RegionName_Values() []string { + return []string{ + RegionNameUsEast1, + RegionNameUsEast2, + RegionNameUsWest1, + RegionNameUsWest2, + RegionNameEuWest1, + RegionNameEuWest2, + RegionNameEuWest3, + RegionNameEuCentral1, + RegionNameCaCentral1, + RegionNameApSouth1, + RegionNameApSoutheast1, + RegionNameApSoutheast2, + RegionNameApNortheast1, + RegionNameApNortheast2, + } +} + const ( // RelationalDatabaseEngineMysql is a RelationalDatabaseEngine enum value RelationalDatabaseEngineMysql = "mysql" ) +// RelationalDatabaseEngine_Values returns all elements of the RelationalDatabaseEngine enum +func RelationalDatabaseEngine_Values() []string { + return []string{ + RelationalDatabaseEngineMysql, + } +} + const ( // RelationalDatabaseMetricNameCpuutilization is a RelationalDatabaseMetricName enum value RelationalDatabaseMetricNameCpuutilization = "CPUUtilization" @@ -33014,6 +33599,18 @@ const ( RelationalDatabaseMetricNameNetworkTransmitThroughput = "NetworkTransmitThroughput" ) +// RelationalDatabaseMetricName_Values returns all elements of the RelationalDatabaseMetricName enum +func RelationalDatabaseMetricName_Values() []string { + return []string{ + RelationalDatabaseMetricNameCpuutilization, + RelationalDatabaseMetricNameDatabaseConnections, + RelationalDatabaseMetricNameDiskQueueDepth, + RelationalDatabaseMetricNameFreeStorageSpace, + RelationalDatabaseMetricNameNetworkReceiveThroughput, + RelationalDatabaseMetricNameNetworkTransmitThroughput, + } +} + const ( // RelationalDatabasePasswordVersionCurrent is a RelationalDatabasePasswordVersion enum value RelationalDatabasePasswordVersionCurrent = "CURRENT" @@ -33025,6 +33622,15 @@ const ( RelationalDatabasePasswordVersionPending = "PENDING" ) +// RelationalDatabasePasswordVersion_Values returns all elements of the RelationalDatabasePasswordVersion enum +func RelationalDatabasePasswordVersion_Values() []string { + return []string{ + RelationalDatabasePasswordVersionCurrent, + RelationalDatabasePasswordVersionPrevious, + RelationalDatabasePasswordVersionPending, + } +} + const ( // RenewalStatusPendingAutoRenewal is a RenewalStatus enum value RenewalStatusPendingAutoRenewal = "PendingAutoRenewal" @@ -33039,6 +33645,16 @@ const ( RenewalStatusFailed = "Failed" ) +// RenewalStatus_Values returns all elements of the RenewalStatus enum +func RenewalStatus_Values() []string { + return []string{ + RenewalStatusPendingAutoRenewal, + RenewalStatusPendingValidation, + RenewalStatusSuccess, + RenewalStatusFailed, + } +} + const ( // ResourceTypeInstance is a ResourceType enum value ResourceTypeInstance = "Instance" @@ -33095,6 +33711,30 @@ const ( ResourceTypeCertificate = "Certificate" ) +// ResourceType_Values returns all elements of the ResourceType enum +func ResourceType_Values() []string { + return []string{ + ResourceTypeInstance, + ResourceTypeStaticIp, + ResourceTypeKeyPair, + ResourceTypeInstanceSnapshot, + ResourceTypeDomain, + ResourceTypePeeredVpc, + ResourceTypeLoadBalancer, + ResourceTypeLoadBalancerTlsCertificate, + ResourceTypeDisk, + ResourceTypeDiskSnapshot, + ResourceTypeRelationalDatabase, + ResourceTypeRelationalDatabaseSnapshot, + ResourceTypeExportSnapshotRecord, + ResourceTypeCloudFormationStackRecord, + ResourceTypeAlarm, + ResourceTypeContactMethod, + ResourceTypeDistribution, + ResourceTypeCertificate, + } +} + const ( // TreatMissingDataBreaching is a TreatMissingData enum value TreatMissingDataBreaching = "breaching" @@ -33108,3 +33748,13 @@ const ( // TreatMissingDataMissing is a TreatMissingData enum value TreatMissingDataMissing = "missing" ) + +// TreatMissingData_Values returns all elements of the TreatMissingData enum +func TreatMissingData_Values() []string { + return []string{ + TreatMissingDataBreaching, + TreatMissingDataNotBreaching, + TreatMissingDataIgnore, + TreatMissingDataMissing, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/macie/api.go b/vendor/github.com/aws/aws-sdk-go/service/macie/api.go index 7d4dd348ed6..b549dc3fbdd 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/macie/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/macie/api.go @@ -1852,6 +1852,13 @@ const ( S3ContinuousClassificationTypeFull = "FULL" ) +// S3ContinuousClassificationType_Values returns all elements of the S3ContinuousClassificationType enum +func S3ContinuousClassificationType_Values() []string { + return []string{ + S3ContinuousClassificationTypeFull, + } +} + const ( // S3OneTimeClassificationTypeFull is a S3OneTimeClassificationType enum value S3OneTimeClassificationTypeFull = "FULL" @@ -1859,3 +1866,11 @@ const ( // S3OneTimeClassificationTypeNone is a S3OneTimeClassificationType enum value S3OneTimeClassificationTypeNone = "NONE" ) + +// S3OneTimeClassificationType_Values returns all elements of the S3OneTimeClassificationType enum +func S3OneTimeClassificationType_Values() []string { + return []string{ + S3OneTimeClassificationTypeFull, + S3OneTimeClassificationTypeNone, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/managedblockchain/api.go b/vendor/github.com/aws/aws-sdk-go/service/managedblockchain/api.go index 01e13126274..b7ea7b8c2c6 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/managedblockchain/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/managedblockchain/api.go @@ -6715,11 +6715,26 @@ const ( EditionStandard = "STANDARD" ) +// Edition_Values returns all elements of the Edition enum +func Edition_Values() []string { + return []string{ + EditionStarter, + EditionStandard, + } +} + const ( // FrameworkHyperledgerFabric is a Framework enum value FrameworkHyperledgerFabric = "HYPERLEDGER_FABRIC" ) +// Framework_Values returns all elements of the Framework enum +func Framework_Values() []string { + return []string{ + FrameworkHyperledgerFabric, + } +} + const ( // InvitationStatusPending is a InvitationStatus enum value InvitationStatusPending = "PENDING" @@ -6737,6 +6752,17 @@ const ( InvitationStatusExpired = "EXPIRED" ) +// InvitationStatus_Values returns all elements of the InvitationStatus enum +func InvitationStatus_Values() []string { + return []string{ + InvitationStatusPending, + InvitationStatusAccepted, + InvitationStatusAccepting, + InvitationStatusRejected, + InvitationStatusExpired, + } +} + const ( // MemberStatusCreating is a MemberStatus enum value MemberStatusCreating = "CREATING" @@ -6757,6 +6783,18 @@ const ( MemberStatusDeleted = "DELETED" ) +// MemberStatus_Values returns all elements of the MemberStatus enum +func MemberStatus_Values() []string { + return []string{ + MemberStatusCreating, + MemberStatusAvailable, + MemberStatusCreateFailed, + MemberStatusUpdating, + MemberStatusDeleting, + MemberStatusDeleted, + } +} + const ( // NetworkStatusCreating is a NetworkStatus enum value NetworkStatusCreating = "CREATING" @@ -6774,6 +6812,17 @@ const ( NetworkStatusDeleted = "DELETED" ) +// NetworkStatus_Values returns all elements of the NetworkStatus enum +func NetworkStatus_Values() []string { + return []string{ + NetworkStatusCreating, + NetworkStatusAvailable, + NetworkStatusCreateFailed, + NetworkStatusDeleting, + NetworkStatusDeleted, + } +} + const ( // NodeStatusCreating is a NodeStatus enum value NodeStatusCreating = "CREATING" @@ -6797,6 +6846,19 @@ const ( NodeStatusFailed = "FAILED" ) +// NodeStatus_Values returns all elements of the NodeStatus enum +func NodeStatus_Values() []string { + return []string{ + NodeStatusCreating, + NodeStatusAvailable, + NodeStatusCreateFailed, + NodeStatusUpdating, + NodeStatusDeleting, + NodeStatusDeleted, + NodeStatusFailed, + } +} + const ( // ProposalStatusInProgress is a ProposalStatus enum value ProposalStatusInProgress = "IN_PROGRESS" @@ -6814,6 +6876,17 @@ const ( ProposalStatusActionFailed = "ACTION_FAILED" ) +// ProposalStatus_Values returns all elements of the ProposalStatus enum +func ProposalStatus_Values() []string { + return []string{ + ProposalStatusInProgress, + ProposalStatusApproved, + ProposalStatusRejected, + ProposalStatusExpired, + ProposalStatusActionFailed, + } +} + const ( // ThresholdComparatorGreaterThan is a ThresholdComparator enum value ThresholdComparatorGreaterThan = "GREATER_THAN" @@ -6822,6 +6895,14 @@ const ( ThresholdComparatorGreaterThanOrEqualTo = "GREATER_THAN_OR_EQUAL_TO" ) +// ThresholdComparator_Values returns all elements of the ThresholdComparator enum +func ThresholdComparator_Values() []string { + return []string{ + ThresholdComparatorGreaterThan, + ThresholdComparatorGreaterThanOrEqualTo, + } +} + const ( // VoteValueYes is a VoteValue enum value VoteValueYes = "YES" @@ -6829,3 +6910,11 @@ const ( // VoteValueNo is a VoteValue enum value VoteValueNo = "NO" ) + +// VoteValue_Values returns all elements of the VoteValue enum +func VoteValue_Values() []string { + return []string{ + VoteValueYes, + VoteValueNo, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/marketplacecatalog/api.go b/vendor/github.com/aws/aws-sdk-go/service/marketplacecatalog/api.go index e8e31205438..e8a698df2c9 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/marketplacecatalog/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/marketplacecatalog/api.go @@ -2443,6 +2443,17 @@ const ( ChangeStatusFailed = "FAILED" ) +// ChangeStatus_Values returns all elements of the ChangeStatus enum +func ChangeStatus_Values() []string { + return []string{ + ChangeStatusPreparing, + ChangeStatusApplying, + ChangeStatusSucceeded, + ChangeStatusCancelled, + ChangeStatusFailed, + } +} + const ( // SortOrderAscending is a SortOrder enum value SortOrderAscending = "ASCENDING" @@ -2450,3 +2461,11 @@ const ( // SortOrderDescending is a SortOrder enum value SortOrderDescending = "DESCENDING" ) + +// SortOrder_Values returns all elements of the SortOrder enum +func SortOrder_Values() []string { + return []string{ + SortOrderAscending, + SortOrderDescending, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/mediaconnect/api.go b/vendor/github.com/aws/aws-sdk-go/service/mediaconnect/api.go index 80bb7525c5f..294dc80690d 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/mediaconnect/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/mediaconnect/api.go @@ -6694,6 +6694,15 @@ const ( AlgorithmAes256 = "aes256" ) +// Algorithm_Values returns all elements of the Algorithm enum +func Algorithm_Values() []string { + return []string{ + AlgorithmAes128, + AlgorithmAes192, + AlgorithmAes256, + } +} + const ( // EntitlementStatusEnabled is a EntitlementStatus enum value EntitlementStatusEnabled = "ENABLED" @@ -6702,6 +6711,14 @@ const ( EntitlementStatusDisabled = "DISABLED" ) +// EntitlementStatus_Values returns all elements of the EntitlementStatus enum +func EntitlementStatus_Values() []string { + return []string{ + EntitlementStatusEnabled, + EntitlementStatusDisabled, + } +} + const ( // KeyTypeSpeke is a KeyType enum value KeyTypeSpeke = "speke" @@ -6710,6 +6727,14 @@ const ( KeyTypeStaticKey = "static-key" ) +// KeyType_Values returns all elements of the KeyType enum +func KeyType_Values() []string { + return []string{ + KeyTypeSpeke, + KeyTypeStaticKey, + } +} + const ( // ProtocolZixiPush is a Protocol enum value ProtocolZixiPush = "zixi-push" @@ -6727,6 +6752,17 @@ const ( ProtocolRist = "rist" ) +// Protocol_Values returns all elements of the Protocol enum +func Protocol_Values() []string { + return []string{ + ProtocolZixiPush, + ProtocolRtpFec, + ProtocolRtp, + ProtocolZixiPull, + ProtocolRist, + } +} + const ( // SourceTypeOwned is a SourceType enum value SourceTypeOwned = "OWNED" @@ -6735,6 +6771,14 @@ const ( SourceTypeEntitled = "ENTITLED" ) +// SourceType_Values returns all elements of the SourceType enum +func SourceType_Values() []string { + return []string{ + SourceTypeOwned, + SourceTypeEntitled, + } +} + const ( // StateEnabled is a State enum value StateEnabled = "ENABLED" @@ -6743,6 +6787,14 @@ const ( StateDisabled = "DISABLED" ) +// State_Values returns all elements of the State enum +func State_Values() []string { + return []string{ + StateEnabled, + StateDisabled, + } +} + const ( // StatusStandby is a Status enum value StatusStandby = "STANDBY" @@ -6765,3 +6817,16 @@ const ( // StatusError is a Status enum value StatusError = "ERROR" ) + +// Status_Values returns all elements of the Status enum +func Status_Values() []string { + return []string{ + StatusStandby, + StatusActive, + StatusUpdating, + StatusDeleting, + StatusStarting, + StatusStopping, + StatusError, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/mediaconvert/api.go b/vendor/github.com/aws/aws-sdk-go/service/mediaconvert/api.go index 0bf3348e7ac..d1ef1116776 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/mediaconvert/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/mediaconvert/api.go @@ -19414,6 +19414,14 @@ const ( AacAudioDescriptionBroadcasterMixNormal = "NORMAL" ) +// AacAudioDescriptionBroadcasterMix_Values returns all elements of the AacAudioDescriptionBroadcasterMix enum +func AacAudioDescriptionBroadcasterMix_Values() []string { + return []string{ + AacAudioDescriptionBroadcasterMixBroadcasterMixedAd, + AacAudioDescriptionBroadcasterMixNormal, + } +} + // AAC Profile. const ( // AacCodecProfileLc is a AacCodecProfile enum value @@ -19426,6 +19434,15 @@ const ( AacCodecProfileHev2 = "HEV2" ) +// AacCodecProfile_Values returns all elements of the AacCodecProfile enum +func AacCodecProfile_Values() []string { + return []string{ + AacCodecProfileLc, + AacCodecProfileHev1, + AacCodecProfileHev2, + } +} + // Mono (Audio Description), Mono, Stereo, or 5.1 channel layout. Valid values // depend on rate control mode and profile. "1.0 - Audio Description (Receiver // Mix)" setting receives a stereo description plus control track and emits @@ -19448,6 +19465,17 @@ const ( AacCodingModeCodingMode51 = "CODING_MODE_5_1" ) +// AacCodingMode_Values returns all elements of the AacCodingMode enum +func AacCodingMode_Values() []string { + return []string{ + AacCodingModeAdReceiverMix, + AacCodingModeCodingMode10, + AacCodingModeCodingMode11, + AacCodingModeCodingMode20, + AacCodingModeCodingMode51, + } +} + // Rate Control Mode. const ( // AacRateControlModeCbr is a AacRateControlMode enum value @@ -19457,6 +19485,14 @@ const ( AacRateControlModeVbr = "VBR" ) +// AacRateControlMode_Values returns all elements of the AacRateControlMode enum +func AacRateControlMode_Values() []string { + return []string{ + AacRateControlModeCbr, + AacRateControlModeVbr, + } +} + // Enables LATM/LOAS AAC output. Note that if you use LATM/LOAS AAC in an output, // you must choose "No container" for the output container. const ( @@ -19467,6 +19503,14 @@ const ( AacRawFormatNone = "NONE" ) +// AacRawFormat_Values returns all elements of the AacRawFormat enum +func AacRawFormat_Values() []string { + return []string{ + AacRawFormatLatmLoas, + AacRawFormatNone, + } +} + // Use MPEG-2 AAC instead of MPEG-4 AAC audio for raw or MPEG-2 Transport Stream // containers. const ( @@ -19477,6 +19521,14 @@ const ( AacSpecificationMpeg4 = "MPEG4" ) +// AacSpecification_Values returns all elements of the AacSpecification enum +func AacSpecification_Values() []string { + return []string{ + AacSpecificationMpeg2, + AacSpecificationMpeg4, + } +} + // VBR Quality Level - Only used if rate_control_mode is VBR. const ( // AacVbrQualityLow is a AacVbrQuality enum value @@ -19492,6 +19544,16 @@ const ( AacVbrQualityHigh = "HIGH" ) +// AacVbrQuality_Values returns all elements of the AacVbrQuality enum +func AacVbrQuality_Values() []string { + return []string{ + AacVbrQualityLow, + AacVbrQualityMediumLow, + AacVbrQualityMediumHigh, + AacVbrQualityHigh, + } +} + // Specify the bitstream mode for the AC-3 stream that the encoder emits. For // more information about the AC3 bitstream mode, see ATSC A/52-2012 (Annex // E). @@ -19521,6 +19583,20 @@ const ( Ac3BitstreamModeVoiceOver = "VOICE_OVER" ) +// Ac3BitstreamMode_Values returns all elements of the Ac3BitstreamMode enum +func Ac3BitstreamMode_Values() []string { + return []string{ + Ac3BitstreamModeCompleteMain, + Ac3BitstreamModeCommentary, + Ac3BitstreamModeDialogue, + Ac3BitstreamModeEmergency, + Ac3BitstreamModeHearingImpaired, + Ac3BitstreamModeMusicAndEffects, + Ac3BitstreamModeVisuallyImpaired, + Ac3BitstreamModeVoiceOver, + } +} + // Dolby Digital coding mode. Determines number of channels. const ( // Ac3CodingModeCodingMode10 is a Ac3CodingMode enum value @@ -19536,6 +19612,16 @@ const ( Ac3CodingModeCodingMode32Lfe = "CODING_MODE_3_2_LFE" ) +// Ac3CodingMode_Values returns all elements of the Ac3CodingMode enum +func Ac3CodingMode_Values() []string { + return []string{ + Ac3CodingModeCodingMode10, + Ac3CodingModeCodingMode11, + Ac3CodingModeCodingMode20, + Ac3CodingModeCodingMode32Lfe, + } +} + // If set to FILM_STANDARD, adds dynamic range compression signaling to the // output bitstream as defined in the Dolby Digital specification. const ( @@ -19546,6 +19632,14 @@ const ( Ac3DynamicRangeCompressionProfileNone = "NONE" ) +// Ac3DynamicRangeCompressionProfile_Values returns all elements of the Ac3DynamicRangeCompressionProfile enum +func Ac3DynamicRangeCompressionProfile_Values() []string { + return []string{ + Ac3DynamicRangeCompressionProfileFilmStandard, + Ac3DynamicRangeCompressionProfileNone, + } +} + // Applies a 120Hz lowpass filter to the LFE channel prior to encoding. Only // valid with 3_2_LFE coding mode. const ( @@ -19556,6 +19650,14 @@ const ( Ac3LfeFilterDisabled = "DISABLED" ) +// Ac3LfeFilter_Values returns all elements of the Ac3LfeFilter enum +func Ac3LfeFilter_Values() []string { + return []string{ + Ac3LfeFilterEnabled, + Ac3LfeFilterDisabled, + } +} + // When set to FOLLOW_INPUT, encoder metadata will be sourced from the DD, DD+, // or DolbyE decoder that supplied this audio data. If audio was not supplied // from one of these streams, then the static metadata settings will be used. @@ -19567,6 +19669,14 @@ const ( Ac3MetadataControlUseConfigured = "USE_CONFIGURED" ) +// Ac3MetadataControl_Values returns all elements of the Ac3MetadataControl enum +func Ac3MetadataControl_Values() []string { + return []string{ + Ac3MetadataControlFollowInput, + Ac3MetadataControlUseConfigured, + } +} + // Specify whether the service runs your job with accelerated transcoding. Choose // DISABLED if you don't want accelerated transcoding. Choose ENABLED if you // want your job to run with accelerated transcoding and to fail if your input @@ -19585,6 +19695,15 @@ const ( AccelerationModePreferred = "PREFERRED" ) +// AccelerationMode_Values returns all elements of the AccelerationMode enum +func AccelerationMode_Values() []string { + return []string{ + AccelerationModeDisabled, + AccelerationModeEnabled, + AccelerationModePreferred, + } +} + // Describes whether the current job is running with accelerated transcoding. // For jobs that have Acceleration (AccelerationMode) set to DISABLED, AccelerationStatus // is always NOT_APPLICABLE. For jobs that have Acceleration (AccelerationMode) @@ -19610,6 +19729,16 @@ const ( AccelerationStatusNotAccelerated = "NOT_ACCELERATED" ) +// AccelerationStatus_Values returns all elements of the AccelerationStatus enum +func AccelerationStatus_Values() []string { + return []string{ + AccelerationStatusNotApplicable, + AccelerationStatusInProgress, + AccelerationStatusAccelerated, + AccelerationStatusNotAccelerated, + } +} + // This setting only applies to H.264, H.265, and MPEG2 outputs. Use Insert // AFD signaling (AfdSignaling) to specify whether the service includes AFD // values in the output video data and what those values are. * Choose None @@ -19627,6 +19756,15 @@ const ( AfdSignalingFixed = "FIXED" ) +// AfdSignaling_Values returns all elements of the AfdSignaling enum +func AfdSignaling_Values() []string { + return []string{ + AfdSignalingNone, + AfdSignalingAuto, + AfdSignalingFixed, + } +} + // Ignore this setting unless this input is a QuickTime animation with an alpha // channel. Use this setting to create separate Key and Fill outputs. In each // output, specify which part of the input MediaConvert uses. Leave this setting @@ -19641,6 +19779,14 @@ const ( AlphaBehaviorRemapToLuma = "REMAP_TO_LUMA" ) +// AlphaBehavior_Values returns all elements of the AlphaBehavior enum +func AlphaBehavior_Values() []string { + return []string{ + AlphaBehaviorDiscard, + AlphaBehaviorRemapToLuma, + } +} + // Specify whether this set of input captions appears in your outputs in both // 608 and 708 format. If you choose Upconvert (UPCONVERT), MediaConvert includes // the captions data in two ways: it passes the 608 data through using the 608 @@ -19654,6 +19800,14 @@ const ( AncillaryConvert608To708Disabled = "DISABLED" ) +// AncillaryConvert608To708_Values returns all elements of the AncillaryConvert608To708 enum +func AncillaryConvert608To708_Values() []string { + return []string{ + AncillaryConvert608To708Upconvert, + AncillaryConvert608To708Disabled, + } +} + // By default, the service terminates any unterminated captions at the end of // each input. If you want the caption to continue onto your next input, disable // this setting. @@ -19665,6 +19819,14 @@ const ( AncillaryTerminateCaptionsDisabled = "DISABLED" ) +// AncillaryTerminateCaptions_Values returns all elements of the AncillaryTerminateCaptions enum +func AncillaryTerminateCaptions_Values() []string { + return []string{ + AncillaryTerminateCaptionsEndOfInput, + AncillaryTerminateCaptionsDisabled, + } +} + // The anti-alias filter is automatically applied to all outputs. The service // no longer accepts the value DISABLED for AntiAlias. If you specify that in // your job, the service will ignore the setting. @@ -19676,6 +19838,14 @@ const ( AntiAliasEnabled = "ENABLED" ) +// AntiAlias_Values returns all elements of the AntiAlias enum +func AntiAlias_Values() []string { + return []string{ + AntiAliasDisabled, + AntiAliasEnabled, + } +} + // Type of Audio codec. const ( // AudioCodecAac is a AudioCodec enum value @@ -19712,6 +19882,23 @@ const ( AudioCodecPassthrough = "PASSTHROUGH" ) +// AudioCodec_Values returns all elements of the AudioCodec enum +func AudioCodec_Values() []string { + return []string{ + AudioCodecAac, + AudioCodecMp2, + AudioCodecMp3, + AudioCodecWav, + AudioCodecAiff, + AudioCodecAc3, + AudioCodecEac3, + AudioCodecEac3Atmos, + AudioCodecVorbis, + AudioCodecOpus, + AudioCodecPassthrough, + } +} + // Enable this setting on one audio selector to set it as the default for the // job. The service uses this default for outputs where it can't find the specified // input audio. If you don't set a default, those outputs have no audio. @@ -19723,6 +19910,14 @@ const ( AudioDefaultSelectionNotDefault = "NOT_DEFAULT" ) +// AudioDefaultSelection_Values returns all elements of the AudioDefaultSelection enum +func AudioDefaultSelection_Values() []string { + return []string{ + AudioDefaultSelectionDefault, + AudioDefaultSelectionNotDefault, + } +} + // Specify which source for language code takes precedence for this audio track. // When you choose Follow input (FOLLOW_INPUT), the service uses the language // code from the input track if it's present. If there's no languge code on @@ -19737,6 +19932,14 @@ const ( AudioLanguageCodeControlUseConfigured = "USE_CONFIGURED" ) +// AudioLanguageCodeControl_Values returns all elements of the AudioLanguageCodeControl enum +func AudioLanguageCodeControl_Values() []string { + return []string{ + AudioLanguageCodeControlFollowInput, + AudioLanguageCodeControlUseConfigured, + } +} + // Choose one of the following audio normalization algorithms: ITU-R BS.1770-1: // Ungated loudness. A measurement of ungated average loudness for an entire // piece of content, suitable for measurement of short-form content under ATSC @@ -19761,6 +19964,16 @@ const ( AudioNormalizationAlgorithmItuBs17704 = "ITU_BS_1770_4" ) +// AudioNormalizationAlgorithm_Values returns all elements of the AudioNormalizationAlgorithm enum +func AudioNormalizationAlgorithm_Values() []string { + return []string{ + AudioNormalizationAlgorithmItuBs17701, + AudioNormalizationAlgorithmItuBs17702, + AudioNormalizationAlgorithmItuBs17703, + AudioNormalizationAlgorithmItuBs17704, + } +} + // When enabled the output audio is corrected using the chosen algorithm. If // disabled, the audio will be measured but not adjusted. const ( @@ -19771,6 +19984,14 @@ const ( AudioNormalizationAlgorithmControlMeasureOnly = "MEASURE_ONLY" ) +// AudioNormalizationAlgorithmControl_Values returns all elements of the AudioNormalizationAlgorithmControl enum +func AudioNormalizationAlgorithmControl_Values() []string { + return []string{ + AudioNormalizationAlgorithmControlCorrectAudio, + AudioNormalizationAlgorithmControlMeasureOnly, + } +} + // If set to LOG, log each output's audio track loudness to a CSV file. const ( // AudioNormalizationLoudnessLoggingLog is a AudioNormalizationLoudnessLogging enum value @@ -19780,6 +20001,14 @@ const ( AudioNormalizationLoudnessLoggingDontLog = "DONT_LOG" ) +// AudioNormalizationLoudnessLogging_Values returns all elements of the AudioNormalizationLoudnessLogging enum +func AudioNormalizationLoudnessLogging_Values() []string { + return []string{ + AudioNormalizationLoudnessLoggingLog, + AudioNormalizationLoudnessLoggingDontLog, + } +} + // If set to TRUE_PEAK, calculate and log the TruePeak for each output's audio // track loudness. const ( @@ -19790,6 +20019,14 @@ const ( AudioNormalizationPeakCalculationNone = "NONE" ) +// AudioNormalizationPeakCalculation_Values returns all elements of the AudioNormalizationPeakCalculation enum +func AudioNormalizationPeakCalculation_Values() []string { + return []string{ + AudioNormalizationPeakCalculationTruePeak, + AudioNormalizationPeakCalculationNone, + } +} + // Specifies the type of the audio selector. const ( // AudioSelectorTypePid is a AudioSelectorType enum value @@ -19802,6 +20039,15 @@ const ( AudioSelectorTypeLanguageCode = "LANGUAGE_CODE" ) +// AudioSelectorType_Values returns all elements of the AudioSelectorType enum +func AudioSelectorType_Values() []string { + return []string{ + AudioSelectorTypePid, + AudioSelectorTypeTrack, + AudioSelectorTypeLanguageCode, + } +} + // When set to FOLLOW_INPUT, if the input contains an ISO 639 audio_type, then // that value is passed through to the output. If the input contains no ISO // 639 audio_type, the value in Audio Type is included in the output. Otherwise @@ -19815,6 +20061,14 @@ const ( AudioTypeControlUseConfigured = "USE_CONFIGURED" ) +// AudioTypeControl_Values returns all elements of the AudioTypeControl enum +func AudioTypeControl_Values() []string { + return []string{ + AudioTypeControlFollowInput, + AudioTypeControlUseConfigured, + } +} + // Adaptive quantization. Allows intra-frame quantizers to vary to improve visual // quality. const ( @@ -19837,6 +20091,18 @@ const ( Av1AdaptiveQuantizationMax = "MAX" ) +// Av1AdaptiveQuantization_Values returns all elements of the Av1AdaptiveQuantization enum +func Av1AdaptiveQuantization_Values() []string { + return []string{ + Av1AdaptiveQuantizationOff, + Av1AdaptiveQuantizationLow, + Av1AdaptiveQuantizationMedium, + Av1AdaptiveQuantizationHigh, + Av1AdaptiveQuantizationHigher, + Av1AdaptiveQuantizationMax, + } +} + // If you are using the console, use the Framerate setting to specify the frame // rate for this output. If you want to keep the same frame rate as the input // video, choose Follow source. If you want to do frame rate conversion, choose @@ -19856,6 +20122,14 @@ const ( Av1FramerateControlSpecified = "SPECIFIED" ) +// Av1FramerateControl_Values returns all elements of the Av1FramerateControl enum +func Av1FramerateControl_Values() []string { + return []string{ + Av1FramerateControlInitializeFromSource, + Av1FramerateControlSpecified, + } +} + // Optional. Specify how the transcoder performs framerate conversion. The default // behavior is to use duplicate drop conversion. const ( @@ -19866,6 +20140,14 @@ const ( Av1FramerateConversionAlgorithmInterpolate = "INTERPOLATE" ) +// Av1FramerateConversionAlgorithm_Values returns all elements of the Av1FramerateConversionAlgorithm enum +func Av1FramerateConversionAlgorithm_Values() []string { + return []string{ + Av1FramerateConversionAlgorithmDuplicateDrop, + Av1FramerateConversionAlgorithmInterpolate, + } +} + // 'With AV1 outputs, for rate control mode, MediaConvert supports only quality-defined // variable bitrate (QVBR). You can''t use CBR or VBR.' const ( @@ -19873,6 +20155,13 @@ const ( Av1RateControlModeQvbr = "QVBR" ) +// Av1RateControlMode_Values returns all elements of the Av1RateControlMode enum +func Av1RateControlMode_Values() []string { + return []string{ + Av1RateControlModeQvbr, + } +} + // Adjust quantization within each frame based on spatial variation of content // complexity. const ( @@ -19883,6 +20172,14 @@ const ( Av1SpatialAdaptiveQuantizationEnabled = "ENABLED" ) +// Av1SpatialAdaptiveQuantization_Values returns all elements of the Av1SpatialAdaptiveQuantization enum +func Av1SpatialAdaptiveQuantization_Values() []string { + return []string{ + Av1SpatialAdaptiveQuantizationDisabled, + Av1SpatialAdaptiveQuantizationEnabled, + } +} + // The tag type that AWS Billing and Cost Management will use to sort your AWS // Elemental MediaConvert costs on any billing report that you set up. const ( @@ -19899,6 +20196,16 @@ const ( BillingTagsSourceJob = "JOB" ) +// BillingTagsSource_Values returns all elements of the BillingTagsSource enum +func BillingTagsSource_Values() []string { + return []string{ + BillingTagsSourceQueue, + BillingTagsSourcePreset, + BillingTagsSourceJobTemplate, + BillingTagsSourceJob, + } +} + // If no explicit x_position or y_position is provided, setting alignment to // centered will place the captions at the bottom center of the output. Similarly, // setting a left alignment will align captions to the bottom left of the output. @@ -19915,6 +20222,14 @@ const ( BurninSubtitleAlignmentLeft = "LEFT" ) +// BurninSubtitleAlignment_Values returns all elements of the BurninSubtitleAlignment enum +func BurninSubtitleAlignment_Values() []string { + return []string{ + BurninSubtitleAlignmentCentered, + BurninSubtitleAlignmentLeft, + } +} + // Specifies the color of the rectangle behind the captions.All burn-in and // DVB-Sub font settings must match. const ( @@ -19928,6 +20243,15 @@ const ( BurninSubtitleBackgroundColorWhite = "WHITE" ) +// BurninSubtitleBackgroundColor_Values returns all elements of the BurninSubtitleBackgroundColor enum +func BurninSubtitleBackgroundColor_Values() []string { + return []string{ + BurninSubtitleBackgroundColorNone, + BurninSubtitleBackgroundColorBlack, + BurninSubtitleBackgroundColorWhite, + } +} + // Specifies the color of the burned-in captions. This option is not valid for // source captions that are STL, 608/embedded or teletext. These source settings // are already pre-defined by the caption stream. All burn-in and DVB-Sub font @@ -19952,6 +20276,18 @@ const ( BurninSubtitleFontColorBlue = "BLUE" ) +// BurninSubtitleFontColor_Values returns all elements of the BurninSubtitleFontColor enum +func BurninSubtitleFontColor_Values() []string { + return []string{ + BurninSubtitleFontColorWhite, + BurninSubtitleFontColorBlack, + BurninSubtitleFontColorYellow, + BurninSubtitleFontColorRed, + BurninSubtitleFontColorGreen, + BurninSubtitleFontColorBlue, + } +} + // Specifies font outline color. This option is not valid for source captions // that are either 608/embedded or teletext. These source settings are already // pre-defined by the caption stream. All burn-in and DVB-Sub font settings @@ -19976,6 +20312,18 @@ const ( BurninSubtitleOutlineColorBlue = "BLUE" ) +// BurninSubtitleOutlineColor_Values returns all elements of the BurninSubtitleOutlineColor enum +func BurninSubtitleOutlineColor_Values() []string { + return []string{ + BurninSubtitleOutlineColorBlack, + BurninSubtitleOutlineColorWhite, + BurninSubtitleOutlineColorYellow, + BurninSubtitleOutlineColorRed, + BurninSubtitleOutlineColorGreen, + BurninSubtitleOutlineColorBlue, + } +} + // Specifies the color of the shadow cast by the captions.All burn-in and DVB-Sub // font settings must match. const ( @@ -19989,6 +20337,15 @@ const ( BurninSubtitleShadowColorWhite = "WHITE" ) +// BurninSubtitleShadowColor_Values returns all elements of the BurninSubtitleShadowColor enum +func BurninSubtitleShadowColor_Values() []string { + return []string{ + BurninSubtitleShadowColorNone, + BurninSubtitleShadowColorBlack, + BurninSubtitleShadowColorWhite, + } +} + // Only applies to jobs with input captions in Teletext or STL formats. Specify // whether the spacing between letters in your captions is set by the captions // grid or varies depending on letter width. Choose fixed grid to conform to @@ -20002,6 +20359,14 @@ const ( BurninSubtitleTeletextSpacingProportional = "PROPORTIONAL" ) +// BurninSubtitleTeletextSpacing_Values returns all elements of the BurninSubtitleTeletextSpacing enum +func BurninSubtitleTeletextSpacing_Values() []string { + return []string{ + BurninSubtitleTeletextSpacingFixedGrid, + BurninSubtitleTeletextSpacingProportional, + } +} + // Specify the format for this set of captions on this output. The default format // is embedded without SCTE-20. Other options are embedded with SCTE-20, burn-in, // DVB-sub, IMSC, SCC, SRT, teletext, TTML, and web-VTT. If you are using SCTE-20, @@ -20046,6 +20411,24 @@ const ( CaptionDestinationTypeWebvtt = "WEBVTT" ) +// CaptionDestinationType_Values returns all elements of the CaptionDestinationType enum +func CaptionDestinationType_Values() []string { + return []string{ + CaptionDestinationTypeBurnIn, + CaptionDestinationTypeDvbSub, + CaptionDestinationTypeEmbedded, + CaptionDestinationTypeEmbeddedPlusScte20, + CaptionDestinationTypeImsc, + CaptionDestinationTypeScte20PlusEmbedded, + CaptionDestinationTypeScc, + CaptionDestinationTypeSrt, + CaptionDestinationTypeSmi, + CaptionDestinationTypeTeletext, + CaptionDestinationTypeTtml, + CaptionDestinationTypeWebvtt, + } +} + // Use Source (SourceType) to identify the format of your input captions. The // service cannot auto-detect caption format. const ( @@ -20086,6 +20469,24 @@ const ( CaptionSourceTypeImsc = "IMSC" ) +// CaptionSourceType_Values returns all elements of the CaptionSourceType enum +func CaptionSourceType_Values() []string { + return []string{ + CaptionSourceTypeAncillary, + CaptionSourceTypeDvbSub, + CaptionSourceTypeEmbedded, + CaptionSourceTypeScte20, + CaptionSourceTypeScc, + CaptionSourceTypeTtml, + CaptionSourceTypeStl, + CaptionSourceTypeSrt, + CaptionSourceTypeSmi, + CaptionSourceTypeTeletext, + CaptionSourceTypeNullSource, + CaptionSourceTypeImsc, + } +} + // When set to ENABLED, sets #EXT-X-ALLOW-CACHE:no tag, which prevents client // from saving media segments for later replay. const ( @@ -20096,6 +20497,14 @@ const ( CmafClientCacheEnabled = "ENABLED" ) +// CmafClientCache_Values returns all elements of the CmafClientCache enum +func CmafClientCache_Values() []string { + return []string{ + CmafClientCacheDisabled, + CmafClientCacheEnabled, + } +} + // Specification to use (RFC-6381 or the default RFC-4281) during m3u8 playlist // generation. const ( @@ -20106,6 +20515,14 @@ const ( CmafCodecSpecificationRfc4281 = "RFC_4281" ) +// CmafCodecSpecification_Values returns all elements of the CmafCodecSpecification enum +func CmafCodecSpecification_Values() []string { + return []string{ + CmafCodecSpecificationRfc6381, + CmafCodecSpecificationRfc4281, + } +} + // Specify the encryption scheme that you want the service to use when encrypting // your CMAF segments. Choose AES-CBC subsample (SAMPLE-AES) or AES_CTR (AES-CTR). const ( @@ -20116,6 +20533,14 @@ const ( CmafEncryptionTypeAesCtr = "AES_CTR" ) +// CmafEncryptionType_Values returns all elements of the CmafEncryptionType enum +func CmafEncryptionType_Values() []string { + return []string{ + CmafEncryptionTypeSampleAes, + CmafEncryptionTypeAesCtr, + } +} + // When you use DRM with CMAF outputs, choose whether the service writes the // 128-bit encryption initialization vector in the HLS and DASH manifests. const ( @@ -20126,6 +20551,14 @@ const ( CmafInitializationVectorInManifestExclude = "EXCLUDE" ) +// CmafInitializationVectorInManifest_Values returns all elements of the CmafInitializationVectorInManifest enum +func CmafInitializationVectorInManifest_Values() []string { + return []string{ + CmafInitializationVectorInManifestInclude, + CmafInitializationVectorInManifestExclude, + } +} + // Specify whether your DRM encryption key is static or from a key provider // that follows the SPEKE standard. For more information about SPEKE, see https://docs.aws.amazon.com/speke/latest/documentation/what-is-speke.html. const ( @@ -20136,6 +20569,14 @@ const ( CmafKeyProviderTypeStaticKey = "STATIC_KEY" ) +// CmafKeyProviderType_Values returns all elements of the CmafKeyProviderType enum +func CmafKeyProviderType_Values() []string { + return []string{ + CmafKeyProviderTypeSpeke, + CmafKeyProviderTypeStaticKey, + } +} + // When set to GZIP, compresses HLS playlist. const ( // CmafManifestCompressionGzip is a CmafManifestCompression enum value @@ -20145,6 +20586,14 @@ const ( CmafManifestCompressionNone = "NONE" ) +// CmafManifestCompression_Values returns all elements of the CmafManifestCompression enum +func CmafManifestCompression_Values() []string { + return []string{ + CmafManifestCompressionGzip, + CmafManifestCompressionNone, + } +} + // Indicates whether the output manifest should use floating point values for // segment duration. const ( @@ -20155,6 +20604,14 @@ const ( CmafManifestDurationFormatInteger = "INTEGER" ) +// CmafManifestDurationFormat_Values returns all elements of the CmafManifestDurationFormat enum +func CmafManifestDurationFormat_Values() []string { + return []string{ + CmafManifestDurationFormatFloatingPoint, + CmafManifestDurationFormatInteger, + } +} + // Specify whether your DASH profile is on-demand or main. When you choose Main // profile (MAIN_PROFILE), the service signals urn:mpeg:dash:profile:isoff-main:2011 // in your .mpd DASH manifest. When you choose On-demand (ON_DEMAND_PROFILE), @@ -20169,6 +20626,14 @@ const ( CmafMpdProfileOnDemandProfile = "ON_DEMAND_PROFILE" ) +// CmafMpdProfile_Values returns all elements of the CmafMpdProfile enum +func CmafMpdProfile_Values() []string { + return []string{ + CmafMpdProfileMainProfile, + CmafMpdProfileOnDemandProfile, + } +} + // When set to SINGLE_FILE, a single output file is generated, which is internally // segmented using the Fragment Length and Segment Length. When set to SEGMENTED_FILES, // separate segment files will be created. @@ -20180,6 +20645,14 @@ const ( CmafSegmentControlSegmentedFiles = "SEGMENTED_FILES" ) +// CmafSegmentControl_Values returns all elements of the CmafSegmentControl enum +func CmafSegmentControl_Values() []string { + return []string{ + CmafSegmentControlSingleFile, + CmafSegmentControlSegmentedFiles, + } +} + // Include or exclude RESOLUTION attribute for video in EXT-X-STREAM-INF tag // of variant manifest. const ( @@ -20190,6 +20663,14 @@ const ( CmafStreamInfResolutionExclude = "EXCLUDE" ) +// CmafStreamInfResolution_Values returns all elements of the CmafStreamInfResolution enum +func CmafStreamInfResolution_Values() []string { + return []string{ + CmafStreamInfResolutionInclude, + CmafStreamInfResolutionExclude, + } +} + // When set to ENABLED, a DASH MPD manifest will be generated for this output. const ( // CmafWriteDASHManifestDisabled is a CmafWriteDASHManifest enum value @@ -20199,6 +20680,14 @@ const ( CmafWriteDASHManifestEnabled = "ENABLED" ) +// CmafWriteDASHManifest_Values returns all elements of the CmafWriteDASHManifest enum +func CmafWriteDASHManifest_Values() []string { + return []string{ + CmafWriteDASHManifestDisabled, + CmafWriteDASHManifestEnabled, + } +} + // When set to ENABLED, an Apple HLS manifest will be generated for this output. const ( // CmafWriteHLSManifestDisabled is a CmafWriteHLSManifest enum value @@ -20208,6 +20697,14 @@ const ( CmafWriteHLSManifestEnabled = "ENABLED" ) +// CmafWriteHLSManifest_Values returns all elements of the CmafWriteHLSManifest enum +func CmafWriteHLSManifest_Values() []string { + return []string{ + CmafWriteHLSManifestDisabled, + CmafWriteHLSManifestEnabled, + } +} + // When you enable Precise segment duration in DASH manifests (writeSegmentTimelineInRepresentation), // your DASH manifest shows precise segment durations. The segment duration // information appears inside the SegmentTimeline element, inside SegmentTemplate @@ -20222,6 +20719,14 @@ const ( CmafWriteSegmentTimelineInRepresentationDisabled = "DISABLED" ) +// CmafWriteSegmentTimelineInRepresentation_Values returns all elements of the CmafWriteSegmentTimelineInRepresentation enum +func CmafWriteSegmentTimelineInRepresentation_Values() []string { + return []string{ + CmafWriteSegmentTimelineInRepresentationEnabled, + CmafWriteSegmentTimelineInRepresentationDisabled, + } +} + // Use this setting only when you specify SCTE-35 markers from ESAM. Choose // INSERT to put SCTE-35 markers in this output at the insertion points that // you specify in an ESAM XML document. Provide the document in the setting @@ -20234,6 +20739,14 @@ const ( CmfcScte35EsamNone = "NONE" ) +// CmfcScte35Esam_Values returns all elements of the CmfcScte35Esam enum +func CmfcScte35Esam_Values() []string { + return []string{ + CmfcScte35EsamInsert, + CmfcScte35EsamNone, + } +} + // Ignore this setting unless you have SCTE-35 markers in your input video file. // Choose Passthrough (PASSTHROUGH) if you want SCTE-35 markers that appear // in your input to also appear in this output. Choose None (NONE) if you don't @@ -20246,6 +20759,14 @@ const ( CmfcScte35SourceNone = "NONE" ) +// CmfcScte35Source_Values returns all elements of the CmfcScte35Source enum +func CmfcScte35Source_Values() []string { + return []string{ + CmfcScte35SourcePassthrough, + CmfcScte35SourceNone, + } +} + // Choose Insert (INSERT) for this setting to include color metadata in this // output. Choose Ignore (IGNORE) to exclude color metadata from this output. // If you don't specify a value, the service sets this to Insert by default. @@ -20257,6 +20778,14 @@ const ( ColorMetadataInsert = "INSERT" ) +// ColorMetadata_Values returns all elements of the ColorMetadata enum +func ColorMetadata_Values() []string { + return []string{ + ColorMetadataIgnore, + ColorMetadataInsert, + } +} + // If your input video has accurate color space metadata, or if you don't know // about color space, leave this set to the default value Follow (FOLLOW). The // service will automatically detect your input color space. If your input video @@ -20283,6 +20812,17 @@ const ( ColorSpaceHlg2020 = "HLG_2020" ) +// ColorSpace_Values returns all elements of the ColorSpace enum +func ColorSpace_Values() []string { + return []string{ + ColorSpaceFollow, + ColorSpaceRec601, + ColorSpaceRec709, + ColorSpaceHdr10, + ColorSpaceHlg2020, + } +} + // Specify the color space you want for this output. The service supports conversion // between HDR formats, between SDR formats, from SDR to HDR, and from HDR to // SDR. SDR to HDR conversion doesn't upgrade the dynamic range. The converted @@ -20306,6 +20846,17 @@ const ( ColorSpaceConversionForceHlg2020 = "FORCE_HLG_2020" ) +// ColorSpaceConversion_Values returns all elements of the ColorSpaceConversion enum +func ColorSpaceConversion_Values() []string { + return []string{ + ColorSpaceConversionNone, + ColorSpaceConversionForce601, + ColorSpaceConversionForce709, + ColorSpaceConversionForceHdr10, + ColorSpaceConversionForceHlg2020, + } +} + // There are two sources for color metadata, the input file and the job input // settings Color space (ColorSpace) and HDR master display information settings(Hdr10Metadata). // The Color space usage setting determines which takes precedence. Choose Force @@ -20322,12 +20873,27 @@ const ( ColorSpaceUsageFallback = "FALLBACK" ) +// ColorSpaceUsage_Values returns all elements of the ColorSpaceUsage enum +func ColorSpaceUsage_Values() []string { + return []string{ + ColorSpaceUsageForce, + ColorSpaceUsageFallback, + } +} + // The length of the term of your reserved queue pricing plan commitment. const ( // CommitmentOneYear is a Commitment enum value CommitmentOneYear = "ONE_YEAR" ) +// Commitment_Values returns all elements of the Commitment enum +func Commitment_Values() []string { + return []string{ + CommitmentOneYear, + } +} + // Container for this output. Some containers require a container settings object. // If not specified, the default object will be created. const ( @@ -20365,6 +20931,23 @@ const ( ContainerTypeRaw = "RAW" ) +// ContainerType_Values returns all elements of the ContainerType enum +func ContainerType_Values() []string { + return []string{ + ContainerTypeF4v, + ContainerTypeIsmv, + ContainerTypeM2ts, + ContainerTypeM3u8, + ContainerTypeCmfc, + ContainerTypeMov, + ContainerTypeMp4, + ContainerTypeMpd, + ContainerTypeMxf, + ContainerTypeWebm, + ContainerTypeRaw, + } +} + // Supports HbbTV specification as indicated const ( // DashIsoHbbtvComplianceHbbtv15 is a DashIsoHbbtvCompliance enum value @@ -20374,6 +20957,14 @@ const ( DashIsoHbbtvComplianceNone = "NONE" ) +// DashIsoHbbtvCompliance_Values returns all elements of the DashIsoHbbtvCompliance enum +func DashIsoHbbtvCompliance_Values() []string { + return []string{ + DashIsoHbbtvComplianceHbbtv15, + DashIsoHbbtvComplianceNone, + } +} + // Specify whether your DASH profile is on-demand or main. When you choose Main // profile (MAIN_PROFILE), the service signals urn:mpeg:dash:profile:isoff-main:2011 // in your .mpd DASH manifest. When you choose On-demand (ON_DEMAND_PROFILE), @@ -20388,6 +20979,14 @@ const ( DashIsoMpdProfileOnDemandProfile = "ON_DEMAND_PROFILE" ) +// DashIsoMpdProfile_Values returns all elements of the DashIsoMpdProfile enum +func DashIsoMpdProfile_Values() []string { + return []string{ + DashIsoMpdProfileMainProfile, + DashIsoMpdProfileOnDemandProfile, + } +} + // This setting can improve the compatibility of your output with video players // on obsolete devices. It applies only to DASH H.264 outputs with DRM encryption. // Choose Unencrypted SEI (UNENCRYPTED_SEI) only to correct problems with playback @@ -20402,6 +21001,14 @@ const ( DashIsoPlaybackDeviceCompatibilityUnencryptedSei = "UNENCRYPTED_SEI" ) +// DashIsoPlaybackDeviceCompatibility_Values returns all elements of the DashIsoPlaybackDeviceCompatibility enum +func DashIsoPlaybackDeviceCompatibility_Values() []string { + return []string{ + DashIsoPlaybackDeviceCompatibilityCencV1, + DashIsoPlaybackDeviceCompatibilityUnencryptedSei, + } +} + // When set to SINGLE_FILE, a single output file is generated, which is internally // segmented using the Fragment Length and Segment Length. When set to SEGMENTED_FILES, // separate segment files will be created. @@ -20413,6 +21020,14 @@ const ( DashIsoSegmentControlSegmentedFiles = "SEGMENTED_FILES" ) +// DashIsoSegmentControl_Values returns all elements of the DashIsoSegmentControl enum +func DashIsoSegmentControl_Values() []string { + return []string{ + DashIsoSegmentControlSingleFile, + DashIsoSegmentControlSegmentedFiles, + } +} + // When you enable Precise segment duration in manifests (writeSegmentTimelineInRepresentation), // your DASH manifest shows precise segment durations. The segment duration // information appears inside the SegmentTimeline element, inside SegmentTemplate @@ -20427,6 +21042,14 @@ const ( DashIsoWriteSegmentTimelineInRepresentationDisabled = "DISABLED" ) +// DashIsoWriteSegmentTimelineInRepresentation_Values returns all elements of the DashIsoWriteSegmentTimelineInRepresentation enum +func DashIsoWriteSegmentTimelineInRepresentation_Values() []string { + return []string{ + DashIsoWriteSegmentTimelineInRepresentationEnabled, + DashIsoWriteSegmentTimelineInRepresentationDisabled, + } +} + // Specify the encryption mode that you used to encrypt your input files. const ( // DecryptionModeAesCtr is a DecryptionMode enum value @@ -20439,6 +21062,15 @@ const ( DecryptionModeAesGcm = "AES_GCM" ) +// DecryptionMode_Values returns all elements of the DecryptionMode enum +func DecryptionMode_Values() []string { + return []string{ + DecryptionModeAesCtr, + DecryptionModeAesCbc, + DecryptionModeAesGcm, + } +} + // Only applies when you set Deinterlacer (DeinterlaceMode) to Deinterlace (DEINTERLACE) // or Adaptive (ADAPTIVE). Motion adaptive interpolate (INTERPOLATE) produces // sharper pictures, while blend (BLEND) produces smoother motion. Use (INTERPOLATE_TICKER) @@ -20458,6 +21090,16 @@ const ( DeinterlaceAlgorithmBlendTicker = "BLEND_TICKER" ) +// DeinterlaceAlgorithm_Values returns all elements of the DeinterlaceAlgorithm enum +func DeinterlaceAlgorithm_Values() []string { + return []string{ + DeinterlaceAlgorithmInterpolate, + DeinterlaceAlgorithmInterpolateTicker, + DeinterlaceAlgorithmBlend, + DeinterlaceAlgorithmBlendTicker, + } +} + // - When set to NORMAL (default), the deinterlacer does not convert frames // that are tagged in metadata as progressive. It will only convert those that // are tagged as some other type. - When set to FORCE_ALL_FRAMES, the deinterlacer @@ -20474,6 +21116,14 @@ const ( DeinterlacerControlNormal = "NORMAL" ) +// DeinterlacerControl_Values returns all elements of the DeinterlacerControl enum +func DeinterlacerControl_Values() []string { + return []string{ + DeinterlacerControlForceAllFrames, + DeinterlacerControlNormal, + } +} + // Use Deinterlacer (DeinterlaceMode) to choose how the service will do deinterlacing. // Default is Deinterlace. - Deinterlace converts interlaced to progressive. // - Inverse telecine converts Hard Telecine 29.97i to progressive 23.976p. @@ -20489,6 +21139,15 @@ const ( DeinterlacerModeAdaptive = "ADAPTIVE" ) +// DeinterlacerMode_Values returns all elements of the DeinterlacerMode enum +func DeinterlacerMode_Values() []string { + return []string{ + DeinterlacerModeDeinterlace, + DeinterlacerModeInverseTelecine, + DeinterlacerModeAdaptive, + } +} + // Optional field, defaults to DEFAULT. Specify DEFAULT for this operation to // return your endpoints if any exist, or to create an endpoint for you and // return it if one doesn't already exist. Specify GET_ONLY to return your endpoints @@ -20501,6 +21160,14 @@ const ( DescribeEndpointsModeGetOnly = "GET_ONLY" ) +// DescribeEndpointsMode_Values returns all elements of the DescribeEndpointsMode enum +func DescribeEndpointsMode_Values() []string { + return []string{ + DescribeEndpointsModeDefault, + DescribeEndpointsModeGetOnly, + } +} + // Use Dolby Vision Mode to choose how the service will handle Dolby Vision // MaxCLL and MaxFALL properies. const ( @@ -20514,6 +21181,15 @@ const ( DolbyVisionLevel6ModeSpecify = "SPECIFY" ) +// DolbyVisionLevel6Mode_Values returns all elements of the DolbyVisionLevel6Mode enum +func DolbyVisionLevel6Mode_Values() []string { + return []string{ + DolbyVisionLevel6ModePassthrough, + DolbyVisionLevel6ModeRecalculate, + DolbyVisionLevel6ModeSpecify, + } +} + // In the current MediaConvert implementation, the Dolby Vision profile is always // 5 (PROFILE_5). Therefore, all of your inputs must contain Dolby Vision frame // interleaved data. @@ -20522,6 +21198,13 @@ const ( DolbyVisionProfileProfile5 = "PROFILE_5" ) +// DolbyVisionProfile_Values returns all elements of the DolbyVisionProfile enum +func DolbyVisionProfile_Values() []string { + return []string{ + DolbyVisionProfileProfile5, + } +} + // Applies only to 29.97 fps outputs. When this feature is enabled, the service // will use drop-frame timecode on outputs. If it is not possible to use drop-frame // timecode, the system will fall back to non-drop-frame. This setting is enabled @@ -20534,6 +21217,14 @@ const ( DropFrameTimecodeEnabled = "ENABLED" ) +// DropFrameTimecode_Values returns all elements of the DropFrameTimecode enum +func DropFrameTimecode_Values() []string { + return []string{ + DropFrameTimecodeDisabled, + DropFrameTimecodeEnabled, + } +} + // If no explicit x_position or y_position is provided, setting alignment to // centered will place the captions at the bottom center of the output. Similarly, // setting a left alignment will align captions to the bottom left of the output. @@ -20550,6 +21241,14 @@ const ( DvbSubtitleAlignmentLeft = "LEFT" ) +// DvbSubtitleAlignment_Values returns all elements of the DvbSubtitleAlignment enum +func DvbSubtitleAlignment_Values() []string { + return []string{ + DvbSubtitleAlignmentCentered, + DvbSubtitleAlignmentLeft, + } +} + // Specifies the color of the rectangle behind the captions.All burn-in and // DVB-Sub font settings must match. const ( @@ -20563,6 +21262,15 @@ const ( DvbSubtitleBackgroundColorWhite = "WHITE" ) +// DvbSubtitleBackgroundColor_Values returns all elements of the DvbSubtitleBackgroundColor enum +func DvbSubtitleBackgroundColor_Values() []string { + return []string{ + DvbSubtitleBackgroundColorNone, + DvbSubtitleBackgroundColorBlack, + DvbSubtitleBackgroundColorWhite, + } +} + // Specifies the color of the burned-in captions. This option is not valid for // source captions that are STL, 608/embedded or teletext. These source settings // are already pre-defined by the caption stream. All burn-in and DVB-Sub font @@ -20587,6 +21295,18 @@ const ( DvbSubtitleFontColorBlue = "BLUE" ) +// DvbSubtitleFontColor_Values returns all elements of the DvbSubtitleFontColor enum +func DvbSubtitleFontColor_Values() []string { + return []string{ + DvbSubtitleFontColorWhite, + DvbSubtitleFontColorBlack, + DvbSubtitleFontColorYellow, + DvbSubtitleFontColorRed, + DvbSubtitleFontColorGreen, + DvbSubtitleFontColorBlue, + } +} + // Specifies font outline color. This option is not valid for source captions // that are either 608/embedded or teletext. These source settings are already // pre-defined by the caption stream. All burn-in and DVB-Sub font settings @@ -20611,6 +21331,18 @@ const ( DvbSubtitleOutlineColorBlue = "BLUE" ) +// DvbSubtitleOutlineColor_Values returns all elements of the DvbSubtitleOutlineColor enum +func DvbSubtitleOutlineColor_Values() []string { + return []string{ + DvbSubtitleOutlineColorBlack, + DvbSubtitleOutlineColorWhite, + DvbSubtitleOutlineColorYellow, + DvbSubtitleOutlineColorRed, + DvbSubtitleOutlineColorGreen, + DvbSubtitleOutlineColorBlue, + } +} + // Specifies the color of the shadow cast by the captions.All burn-in and DVB-Sub // font settings must match. const ( @@ -20624,6 +21356,15 @@ const ( DvbSubtitleShadowColorWhite = "WHITE" ) +// DvbSubtitleShadowColor_Values returns all elements of the DvbSubtitleShadowColor enum +func DvbSubtitleShadowColor_Values() []string { + return []string{ + DvbSubtitleShadowColorNone, + DvbSubtitleShadowColorBlack, + DvbSubtitleShadowColorWhite, + } +} + // Only applies to jobs with input captions in Teletext or STL formats. Specify // whether the spacing between letters in your captions is set by the captions // grid or varies depending on letter width. Choose fixed grid to conform to @@ -20637,6 +21378,14 @@ const ( DvbSubtitleTeletextSpacingProportional = "PROPORTIONAL" ) +// DvbSubtitleTeletextSpacing_Values returns all elements of the DvbSubtitleTeletextSpacing enum +func DvbSubtitleTeletextSpacing_Values() []string { + return []string{ + DvbSubtitleTeletextSpacingFixedGrid, + DvbSubtitleTeletextSpacingProportional, + } +} + // Specify whether your DVB subtitles are standard or for hearing impaired. // Choose hearing impaired if your subtitles include audio descriptions and // dialogue. Choose standard if your subtitles include only dialogue. @@ -20648,6 +21397,14 @@ const ( DvbSubtitlingTypeStandard = "STANDARD" ) +// DvbSubtitlingType_Values returns all elements of the DvbSubtitlingType enum +func DvbSubtitlingType_Values() []string { + return []string{ + DvbSubtitlingTypeHearingImpaired, + DvbSubtitlingTypeStandard, + } +} + // Specify the bitstream mode for the E-AC-3 stream that the encoder emits. // For more information about the EAC3 bitstream mode, see ATSC A/52-2012 (Annex // E). @@ -20656,12 +21413,26 @@ const ( Eac3AtmosBitstreamModeCompleteMain = "COMPLETE_MAIN" ) +// Eac3AtmosBitstreamMode_Values returns all elements of the Eac3AtmosBitstreamMode enum +func Eac3AtmosBitstreamMode_Values() []string { + return []string{ + Eac3AtmosBitstreamModeCompleteMain, + } +} + // The coding mode for Dolby Digital Plus JOC (Atmos) is always 9.1.6 (CODING_MODE_9_1_6). const ( // Eac3AtmosCodingModeCodingMode916 is a Eac3AtmosCodingMode enum value Eac3AtmosCodingModeCodingMode916 = "CODING_MODE_9_1_6" ) +// Eac3AtmosCodingMode_Values returns all elements of the Eac3AtmosCodingMode enum +func Eac3AtmosCodingMode_Values() []string { + return []string{ + Eac3AtmosCodingModeCodingMode916, + } +} + // Enable Dolby Dialogue Intelligence to adjust loudness based on dialogue analysis. const ( // Eac3AtmosDialogueIntelligenceEnabled is a Eac3AtmosDialogueIntelligence enum value @@ -20671,7 +21442,15 @@ const ( Eac3AtmosDialogueIntelligenceDisabled = "DISABLED" ) -// Specify the absolute peak level for a signal with dynamic range compression. +// Eac3AtmosDialogueIntelligence_Values returns all elements of the Eac3AtmosDialogueIntelligence enum +func Eac3AtmosDialogueIntelligence_Values() []string { + return []string{ + Eac3AtmosDialogueIntelligenceEnabled, + Eac3AtmosDialogueIntelligenceDisabled, + } +} + +// Specify the absolute peak level for a signal with dynamic range compression. const ( // Eac3AtmosDynamicRangeCompressionLineNone is a Eac3AtmosDynamicRangeCompressionLine enum value Eac3AtmosDynamicRangeCompressionLineNone = "NONE" @@ -20692,6 +21471,18 @@ const ( Eac3AtmosDynamicRangeCompressionLineSpeech = "SPEECH" ) +// Eac3AtmosDynamicRangeCompressionLine_Values returns all elements of the Eac3AtmosDynamicRangeCompressionLine enum +func Eac3AtmosDynamicRangeCompressionLine_Values() []string { + return []string{ + Eac3AtmosDynamicRangeCompressionLineNone, + Eac3AtmosDynamicRangeCompressionLineFilmStandard, + Eac3AtmosDynamicRangeCompressionLineFilmLight, + Eac3AtmosDynamicRangeCompressionLineMusicStandard, + Eac3AtmosDynamicRangeCompressionLineMusicLight, + Eac3AtmosDynamicRangeCompressionLineSpeech, + } +} + // Specify how the service limits the audio dynamic range when compressing the // audio. const ( @@ -20714,6 +21505,18 @@ const ( Eac3AtmosDynamicRangeCompressionRfSpeech = "SPEECH" ) +// Eac3AtmosDynamicRangeCompressionRf_Values returns all elements of the Eac3AtmosDynamicRangeCompressionRf enum +func Eac3AtmosDynamicRangeCompressionRf_Values() []string { + return []string{ + Eac3AtmosDynamicRangeCompressionRfNone, + Eac3AtmosDynamicRangeCompressionRfFilmStandard, + Eac3AtmosDynamicRangeCompressionRfFilmLight, + Eac3AtmosDynamicRangeCompressionRfMusicStandard, + Eac3AtmosDynamicRangeCompressionRfMusicLight, + Eac3AtmosDynamicRangeCompressionRfSpeech, + } +} + // Choose how the service meters the loudness of your audio. const ( // Eac3AtmosMeteringModeLeqA is a Eac3AtmosMeteringMode enum value @@ -20732,6 +21535,17 @@ const ( Eac3AtmosMeteringModeItuBs17704 = "ITU_BS_1770_4" ) +// Eac3AtmosMeteringMode_Values returns all elements of the Eac3AtmosMeteringMode enum +func Eac3AtmosMeteringMode_Values() []string { + return []string{ + Eac3AtmosMeteringModeLeqA, + Eac3AtmosMeteringModeItuBs17701, + Eac3AtmosMeteringModeItuBs17702, + Eac3AtmosMeteringModeItuBs17703, + Eac3AtmosMeteringModeItuBs17704, + } +} + // Choose how the service does stereo downmixing. const ( // Eac3AtmosStereoDownmixNotIndicated is a Eac3AtmosStereoDownmix enum value @@ -20747,6 +21561,16 @@ const ( Eac3AtmosStereoDownmixDpl2 = "DPL2" ) +// Eac3AtmosStereoDownmix_Values returns all elements of the Eac3AtmosStereoDownmix enum +func Eac3AtmosStereoDownmix_Values() []string { + return []string{ + Eac3AtmosStereoDownmixNotIndicated, + Eac3AtmosStereoDownmixStereo, + Eac3AtmosStereoDownmixSurround, + Eac3AtmosStereoDownmixDpl2, + } +} + // Specify whether your input audio has an additional center rear surround channel // matrix encoded into your left and right surround channels. const ( @@ -20760,6 +21584,15 @@ const ( Eac3AtmosSurroundExModeDisabled = "DISABLED" ) +// Eac3AtmosSurroundExMode_Values returns all elements of the Eac3AtmosSurroundExMode enum +func Eac3AtmosSurroundExMode_Values() []string { + return []string{ + Eac3AtmosSurroundExModeNotIndicated, + Eac3AtmosSurroundExModeEnabled, + Eac3AtmosSurroundExModeDisabled, + } +} + // If set to ATTENUATE_3_DB, applies a 3 dB attenuation to the surround channels. // Only used for 3/2 coding mode. const ( @@ -20770,6 +21603,14 @@ const ( Eac3AttenuationControlNone = "NONE" ) +// Eac3AttenuationControl_Values returns all elements of the Eac3AttenuationControl enum +func Eac3AttenuationControl_Values() []string { + return []string{ + Eac3AttenuationControlAttenuate3Db, + Eac3AttenuationControlNone, + } +} + // Specify the bitstream mode for the E-AC-3 stream that the encoder emits. // For more information about the EAC3 bitstream mode, see ATSC A/52-2012 (Annex // E). @@ -20790,6 +21631,17 @@ const ( Eac3BitstreamModeVisuallyImpaired = "VISUALLY_IMPAIRED" ) +// Eac3BitstreamMode_Values returns all elements of the Eac3BitstreamMode enum +func Eac3BitstreamMode_Values() []string { + return []string{ + Eac3BitstreamModeCompleteMain, + Eac3BitstreamModeCommentary, + Eac3BitstreamModeEmergency, + Eac3BitstreamModeHearingImpaired, + Eac3BitstreamModeVisuallyImpaired, + } +} + // Dolby Digital Plus coding mode. Determines number of channels. const ( // Eac3CodingModeCodingMode10 is a Eac3CodingMode enum value @@ -20802,6 +21654,15 @@ const ( Eac3CodingModeCodingMode32 = "CODING_MODE_3_2" ) +// Eac3CodingMode_Values returns all elements of the Eac3CodingMode enum +func Eac3CodingMode_Values() []string { + return []string{ + Eac3CodingModeCodingMode10, + Eac3CodingModeCodingMode20, + Eac3CodingModeCodingMode32, + } +} + // Activates a DC highpass filter for all input channels. const ( // Eac3DcFilterEnabled is a Eac3DcFilter enum value @@ -20811,6 +21672,14 @@ const ( Eac3DcFilterDisabled = "DISABLED" ) +// Eac3DcFilter_Values returns all elements of the Eac3DcFilter enum +func Eac3DcFilter_Values() []string { + return []string{ + Eac3DcFilterEnabled, + Eac3DcFilterDisabled, + } +} + // Specify the absolute peak level for a signal with dynamic range compression. const ( // Eac3DynamicRangeCompressionLineNone is a Eac3DynamicRangeCompressionLine enum value @@ -20832,6 +21701,18 @@ const ( Eac3DynamicRangeCompressionLineSpeech = "SPEECH" ) +// Eac3DynamicRangeCompressionLine_Values returns all elements of the Eac3DynamicRangeCompressionLine enum +func Eac3DynamicRangeCompressionLine_Values() []string { + return []string{ + Eac3DynamicRangeCompressionLineNone, + Eac3DynamicRangeCompressionLineFilmStandard, + Eac3DynamicRangeCompressionLineFilmLight, + Eac3DynamicRangeCompressionLineMusicStandard, + Eac3DynamicRangeCompressionLineMusicLight, + Eac3DynamicRangeCompressionLineSpeech, + } +} + // Specify how the service limits the audio dynamic range when compressing the // audio. const ( @@ -20854,6 +21735,18 @@ const ( Eac3DynamicRangeCompressionRfSpeech = "SPEECH" ) +// Eac3DynamicRangeCompressionRf_Values returns all elements of the Eac3DynamicRangeCompressionRf enum +func Eac3DynamicRangeCompressionRf_Values() []string { + return []string{ + Eac3DynamicRangeCompressionRfNone, + Eac3DynamicRangeCompressionRfFilmStandard, + Eac3DynamicRangeCompressionRfFilmLight, + Eac3DynamicRangeCompressionRfMusicStandard, + Eac3DynamicRangeCompressionRfMusicLight, + Eac3DynamicRangeCompressionRfSpeech, + } +} + // When encoding 3/2 audio, controls whether the LFE channel is enabled const ( // Eac3LfeControlLfe is a Eac3LfeControl enum value @@ -20863,6 +21756,14 @@ const ( Eac3LfeControlNoLfe = "NO_LFE" ) +// Eac3LfeControl_Values returns all elements of the Eac3LfeControl enum +func Eac3LfeControl_Values() []string { + return []string{ + Eac3LfeControlLfe, + Eac3LfeControlNoLfe, + } +} + // Applies a 120Hz lowpass filter to the LFE channel prior to encoding. Only // valid with 3_2_LFE coding mode. const ( @@ -20873,6 +21774,14 @@ const ( Eac3LfeFilterDisabled = "DISABLED" ) +// Eac3LfeFilter_Values returns all elements of the Eac3LfeFilter enum +func Eac3LfeFilter_Values() []string { + return []string{ + Eac3LfeFilterEnabled, + Eac3LfeFilterDisabled, + } +} + // When set to FOLLOW_INPUT, encoder metadata will be sourced from the DD, DD+, // or DolbyE decoder that supplied this audio data. If audio was not supplied // from one of these streams, then the static metadata settings will be used. @@ -20884,6 +21793,14 @@ const ( Eac3MetadataControlUseConfigured = "USE_CONFIGURED" ) +// Eac3MetadataControl_Values returns all elements of the Eac3MetadataControl enum +func Eac3MetadataControl_Values() []string { + return []string{ + Eac3MetadataControlFollowInput, + Eac3MetadataControlUseConfigured, + } +} + // When set to WHEN_POSSIBLE, input DD+ audio will be passed through if it is // present on the input. this detection is dynamic over the life of the transcode. // Inputs that alternate between DD+ and non-DD+ content will have a consistent @@ -20896,6 +21813,14 @@ const ( Eac3PassthroughControlNoPassthrough = "NO_PASSTHROUGH" ) +// Eac3PassthroughControl_Values returns all elements of the Eac3PassthroughControl enum +func Eac3PassthroughControl_Values() []string { + return []string{ + Eac3PassthroughControlWhenPossible, + Eac3PassthroughControlNoPassthrough, + } +} + // Controls the amount of phase-shift applied to the surround channels. Only // used for 3/2 coding mode. const ( @@ -20906,6 +21831,14 @@ const ( Eac3PhaseControlNoShift = "NO_SHIFT" ) +// Eac3PhaseControl_Values returns all elements of the Eac3PhaseControl enum +func Eac3PhaseControl_Values() []string { + return []string{ + Eac3PhaseControlShift90Degrees, + Eac3PhaseControlNoShift, + } +} + // Choose how the service does stereo downmixing. This setting only applies // if you keep the default value of 3/2 - L, R, C, Ls, Rs (CODING_MODE_3_2) // for the setting Coding mode (Eac3CodingMode). If you choose a different value @@ -20924,6 +21857,16 @@ const ( Eac3StereoDownmixDpl2 = "DPL2" ) +// Eac3StereoDownmix_Values returns all elements of the Eac3StereoDownmix enum +func Eac3StereoDownmix_Values() []string { + return []string{ + Eac3StereoDownmixNotIndicated, + Eac3StereoDownmixLoRo, + Eac3StereoDownmixLtRt, + Eac3StereoDownmixDpl2, + } +} + // When encoding 3/2 audio, sets whether an extra center back surround channel // is matrix encoded into the left and right surround channels. const ( @@ -20937,6 +21880,15 @@ const ( Eac3SurroundExModeDisabled = "DISABLED" ) +// Eac3SurroundExMode_Values returns all elements of the Eac3SurroundExMode enum +func Eac3SurroundExMode_Values() []string { + return []string{ + Eac3SurroundExModeNotIndicated, + Eac3SurroundExModeEnabled, + Eac3SurroundExModeDisabled, + } +} + // When encoding 2/0 audio, sets whether Dolby Surround is matrix encoded into // the two channels. const ( @@ -20950,6 +21902,15 @@ const ( Eac3SurroundModeDisabled = "DISABLED" ) +// Eac3SurroundMode_Values returns all elements of the Eac3SurroundMode enum +func Eac3SurroundMode_Values() []string { + return []string{ + Eac3SurroundModeNotIndicated, + Eac3SurroundModeEnabled, + Eac3SurroundModeDisabled, + } +} + // Specify whether this set of input captions appears in your outputs in both // 608 and 708 format. If you choose Upconvert (UPCONVERT), MediaConvert includes // the captions data in two ways: it passes the 608 data through using the 608 @@ -20963,6 +21924,14 @@ const ( EmbeddedConvert608To708Disabled = "DISABLED" ) +// EmbeddedConvert608To708_Values returns all elements of the EmbeddedConvert608To708 enum +func EmbeddedConvert608To708_Values() []string { + return []string{ + EmbeddedConvert608To708Upconvert, + EmbeddedConvert608To708Disabled, + } +} + // By default, the service terminates any unterminated captions at the end of // each input. If you want the caption to continue onto your next input, disable // this setting. @@ -20974,6 +21943,14 @@ const ( EmbeddedTerminateCaptionsDisabled = "DISABLED" ) +// EmbeddedTerminateCaptions_Values returns all elements of the EmbeddedTerminateCaptions enum +func EmbeddedTerminateCaptions_Values() []string { + return []string{ + EmbeddedTerminateCaptionsEndOfInput, + EmbeddedTerminateCaptionsDisabled, + } +} + // If set to PROGRESSIVE_DOWNLOAD, the MOOV atom is relocated to the beginning // of the archive as required for progressive downloading. Otherwise it is placed // normally at the end. @@ -20985,6 +21962,14 @@ const ( F4vMoovPlacementNormal = "NORMAL" ) +// F4vMoovPlacement_Values returns all elements of the F4vMoovPlacement enum +func F4vMoovPlacement_Values() []string { + return []string{ + F4vMoovPlacementProgressiveDownload, + F4vMoovPlacementNormal, + } +} + // Specify whether this set of input captions appears in your outputs in both // 608 and 708 format. If you choose Upconvert (UPCONVERT), MediaConvert includes // the captions data in two ways: it passes the 608 data through using the 608 @@ -20998,6 +21983,14 @@ const ( FileSourceConvert608To708Disabled = "DISABLED" ) +// FileSourceConvert608To708_Values returns all elements of the FileSourceConvert608To708 enum +func FileSourceConvert608To708_Values() []string { + return []string{ + FileSourceConvert608To708Upconvert, + FileSourceConvert608To708Disabled, + } +} + // Provide the font script, using an ISO 15924 script code, if the LanguageCode // is not sufficient for determining the script type. Where LanguageCode or // CustomLanguageCode is sufficient, use "AUTOMATIC" or leave unset. @@ -21012,6 +22005,15 @@ const ( FontScriptHant = "HANT" ) +// FontScript_Values returns all elements of the FontScript enum +func FontScript_Values() []string { + return []string{ + FontScriptAutomatic, + FontScriptHans, + FontScriptHant, + } +} + // Adaptive quantization. Allows intra-frame quantizers to vary to improve visual // quality. const ( @@ -21034,6 +22036,18 @@ const ( H264AdaptiveQuantizationMax = "MAX" ) +// H264AdaptiveQuantization_Values returns all elements of the H264AdaptiveQuantization enum +func H264AdaptiveQuantization_Values() []string { + return []string{ + H264AdaptiveQuantizationOff, + H264AdaptiveQuantizationLow, + H264AdaptiveQuantizationMedium, + H264AdaptiveQuantizationHigh, + H264AdaptiveQuantizationHigher, + H264AdaptiveQuantizationMax, + } +} + // Specify an H.264 level that is consistent with your output video settings. // If you aren't sure what level to specify, choose Auto (AUTO). const ( @@ -21089,6 +22103,29 @@ const ( H264CodecLevelLevel52 = "LEVEL_5_2" ) +// H264CodecLevel_Values returns all elements of the H264CodecLevel enum +func H264CodecLevel_Values() []string { + return []string{ + H264CodecLevelAuto, + H264CodecLevelLevel1, + H264CodecLevelLevel11, + H264CodecLevelLevel12, + H264CodecLevelLevel13, + H264CodecLevelLevel2, + H264CodecLevelLevel21, + H264CodecLevelLevel22, + H264CodecLevelLevel3, + H264CodecLevelLevel31, + H264CodecLevelLevel32, + H264CodecLevelLevel4, + H264CodecLevelLevel41, + H264CodecLevelLevel42, + H264CodecLevelLevel5, + H264CodecLevelLevel51, + H264CodecLevelLevel52, + } +} + // H.264 Profile. High 4:2:2 and 10-bit profiles are only available with the // AVC-I License. const ( @@ -21111,6 +22148,18 @@ const ( H264CodecProfileMain = "MAIN" ) +// H264CodecProfile_Values returns all elements of the H264CodecProfile enum +func H264CodecProfile_Values() []string { + return []string{ + H264CodecProfileBaseline, + H264CodecProfileHigh, + H264CodecProfileHigh10bit, + H264CodecProfileHigh422, + H264CodecProfileHigh42210bit, + H264CodecProfileMain, + } +} + // Choose Adaptive to improve subjective video quality for high-motion content. // This will cause the service to use fewer B-frames (which infer information // based on other frames) for high-motion portions of the video and more B-frames @@ -21124,6 +22173,14 @@ const ( H264DynamicSubGopStatic = "STATIC" ) +// H264DynamicSubGop_Values returns all elements of the H264DynamicSubGop enum +func H264DynamicSubGop_Values() []string { + return []string{ + H264DynamicSubGopAdaptive, + H264DynamicSubGopStatic, + } +} + // Entropy encoding mode. Use CABAC (must be in Main or High profile) or CAVLC. const ( // H264EntropyEncodingCabac is a H264EntropyEncoding enum value @@ -21133,6 +22190,14 @@ const ( H264EntropyEncodingCavlc = "CAVLC" ) +// H264EntropyEncoding_Values returns all elements of the H264EntropyEncoding enum +func H264EntropyEncoding_Values() []string { + return []string{ + H264EntropyEncodingCabac, + H264EntropyEncodingCavlc, + } +} + // Choosing FORCE_FIELD disables PAFF encoding for interlaced outputs. const ( // H264FieldEncodingPaff is a H264FieldEncoding enum value @@ -21142,6 +22207,14 @@ const ( H264FieldEncodingForceField = "FORCE_FIELD" ) +// H264FieldEncoding_Values returns all elements of the H264FieldEncoding enum +func H264FieldEncoding_Values() []string { + return []string{ + H264FieldEncodingPaff, + H264FieldEncodingForceField, + } +} + // Adjust quantization within each frame to reduce flicker or 'pop' on I-frames. const ( // H264FlickerAdaptiveQuantizationDisabled is a H264FlickerAdaptiveQuantization enum value @@ -21151,6 +22224,14 @@ const ( H264FlickerAdaptiveQuantizationEnabled = "ENABLED" ) +// H264FlickerAdaptiveQuantization_Values returns all elements of the H264FlickerAdaptiveQuantization enum +func H264FlickerAdaptiveQuantization_Values() []string { + return []string{ + H264FlickerAdaptiveQuantizationDisabled, + H264FlickerAdaptiveQuantizationEnabled, + } +} + // If you are using the console, use the Framerate setting to specify the frame // rate for this output. If you want to keep the same frame rate as the input // video, choose Follow source. If you want to do frame rate conversion, choose @@ -21170,6 +22251,14 @@ const ( H264FramerateControlSpecified = "SPECIFIED" ) +// H264FramerateControl_Values returns all elements of the H264FramerateControl enum +func H264FramerateControl_Values() []string { + return []string{ + H264FramerateControlInitializeFromSource, + H264FramerateControlSpecified, + } +} + // Optional. Specify how the transcoder performs framerate conversion. The default // behavior is to use duplicate drop conversion. const ( @@ -21180,6 +22269,14 @@ const ( H264FramerateConversionAlgorithmInterpolate = "INTERPOLATE" ) +// H264FramerateConversionAlgorithm_Values returns all elements of the H264FramerateConversionAlgorithm enum +func H264FramerateConversionAlgorithm_Values() []string { + return []string{ + H264FramerateConversionAlgorithmDuplicateDrop, + H264FramerateConversionAlgorithmInterpolate, + } +} + // If enable, use reference B frames for GOP structures that have B frames > // 1. const ( @@ -21190,6 +22287,14 @@ const ( H264GopBReferenceEnabled = "ENABLED" ) +// H264GopBReference_Values returns all elements of the H264GopBReference enum +func H264GopBReference_Values() []string { + return []string{ + H264GopBReferenceDisabled, + H264GopBReferenceEnabled, + } +} + // Indicates if the GOP Size in H264 is specified in frames or seconds. If seconds // the system will convert the GOP Size into a frame count at run time. const ( @@ -21200,6 +22305,14 @@ const ( H264GopSizeUnitsSeconds = "SECONDS" ) +// H264GopSizeUnits_Values returns all elements of the H264GopSizeUnits enum +func H264GopSizeUnits_Values() []string { + return []string{ + H264GopSizeUnitsFrames, + H264GopSizeUnitsSeconds, + } +} + // Use Interlace mode (InterlaceMode) to choose the scan line type for the output. // * Top Field First (TOP_FIELD) and Bottom Field First (BOTTOM_FIELD) produce // interlaced output with the entire output having the same field polarity (top @@ -21228,6 +22341,17 @@ const ( H264InterlaceModeFollowBottomField = "FOLLOW_BOTTOM_FIELD" ) +// H264InterlaceMode_Values returns all elements of the H264InterlaceMode enum +func H264InterlaceMode_Values() []string { + return []string{ + H264InterlaceModeProgressive, + H264InterlaceModeTopField, + H264InterlaceModeBottomField, + H264InterlaceModeFollowTopField, + H264InterlaceModeFollowBottomField, + } +} + // Optional. Specify how the service determines the pixel aspect ratio (PAR) // for this output. The default behavior, Follow source (INITIALIZE_FROM_SOURCE), // uses the PAR from your input video for your output. To specify a different @@ -21243,6 +22367,14 @@ const ( H264ParControlSpecified = "SPECIFIED" ) +// H264ParControl_Values returns all elements of the H264ParControl enum +func H264ParControl_Values() []string { + return []string{ + H264ParControlInitializeFromSource, + H264ParControlSpecified, + } +} + // Optional. Use Quality tuning level (qualityTuningLevel) to choose how you // want to trade off encoding speed for output video quality. The default behavior // is faster, lower quality, single-pass encoding. @@ -21257,6 +22389,15 @@ const ( H264QualityTuningLevelMultiPassHq = "MULTI_PASS_HQ" ) +// H264QualityTuningLevel_Values returns all elements of the H264QualityTuningLevel enum +func H264QualityTuningLevel_Values() []string { + return []string{ + H264QualityTuningLevelSinglePass, + H264QualityTuningLevelSinglePassHq, + H264QualityTuningLevelMultiPassHq, + } +} + // Use this setting to specify whether this output has a variable bitrate (VBR), // constant bitrate (CBR) or quality-defined variable bitrate (QVBR). const ( @@ -21270,6 +22411,15 @@ const ( H264RateControlModeQvbr = "QVBR" ) +// H264RateControlMode_Values returns all elements of the H264RateControlMode enum +func H264RateControlMode_Values() []string { + return []string{ + H264RateControlModeVbr, + H264RateControlModeCbr, + H264RateControlModeQvbr, + } +} + // Places a PPS header on each encoded picture, even if repeated. const ( // H264RepeatPpsDisabled is a H264RepeatPps enum value @@ -21279,6 +22429,14 @@ const ( H264RepeatPpsEnabled = "ENABLED" ) +// H264RepeatPps_Values returns all elements of the H264RepeatPps enum +func H264RepeatPps_Values() []string { + return []string{ + H264RepeatPpsDisabled, + H264RepeatPpsEnabled, + } +} + // Enable this setting to insert I-frames at scene changes that the service // automatically detects. This improves video quality and is enabled by default. // If this output uses QVBR, choose Transition detection (TRANSITION_DETECTION) @@ -21295,6 +22453,15 @@ const ( H264SceneChangeDetectTransitionDetection = "TRANSITION_DETECTION" ) +// H264SceneChangeDetect_Values returns all elements of the H264SceneChangeDetect enum +func H264SceneChangeDetect_Values() []string { + return []string{ + H264SceneChangeDetectDisabled, + H264SceneChangeDetectEnabled, + H264SceneChangeDetectTransitionDetection, + } +} + // Enables Slow PAL rate conversion. 23.976fps and 24fps input is relabeled // as 25fps, and audio is sped up correspondingly. const ( @@ -21305,6 +22472,14 @@ const ( H264SlowPalEnabled = "ENABLED" ) +// H264SlowPal_Values returns all elements of the H264SlowPal enum +func H264SlowPal_Values() []string { + return []string{ + H264SlowPalDisabled, + H264SlowPalEnabled, + } +} + // Adjust quantization within each frame based on spatial variation of content // complexity. const ( @@ -21315,6 +22490,14 @@ const ( H264SpatialAdaptiveQuantizationEnabled = "ENABLED" ) +// H264SpatialAdaptiveQuantization_Values returns all elements of the H264SpatialAdaptiveQuantization enum +func H264SpatialAdaptiveQuantization_Values() []string { + return []string{ + H264SpatialAdaptiveQuantizationDisabled, + H264SpatialAdaptiveQuantizationEnabled, + } +} + // Produces a bitstream compliant with SMPTE RP-2027. const ( // H264SyntaxDefault is a H264Syntax enum value @@ -21324,6 +22507,14 @@ const ( H264SyntaxRp2027 = "RP2027" ) +// H264Syntax_Values returns all elements of the H264Syntax enum +func H264Syntax_Values() []string { + return []string{ + H264SyntaxDefault, + H264SyntaxRp2027, + } +} + // This field applies only if the Streams > Advanced > Framerate (framerate) // field is set to 29.970. This field works with the Streams > Advanced > Preprocessors // > Deinterlacer field (deinterlace_mode) and the Streams > Advanced > Interlaced @@ -21342,6 +22533,15 @@ const ( H264TelecineHard = "HARD" ) +// H264Telecine_Values returns all elements of the H264Telecine enum +func H264Telecine_Values() []string { + return []string{ + H264TelecineNone, + H264TelecineSoft, + H264TelecineHard, + } +} + // Adjust quantization within each frame based on temporal variation of content // complexity. const ( @@ -21352,6 +22552,14 @@ const ( H264TemporalAdaptiveQuantizationEnabled = "ENABLED" ) +// H264TemporalAdaptiveQuantization_Values returns all elements of the H264TemporalAdaptiveQuantization enum +func H264TemporalAdaptiveQuantization_Values() []string { + return []string{ + H264TemporalAdaptiveQuantizationDisabled, + H264TemporalAdaptiveQuantizationEnabled, + } +} + // Inserts timecode for each frame as 4 bytes of an unregistered SEI message. const ( // H264UnregisteredSeiTimecodeDisabled is a H264UnregisteredSeiTimecode enum value @@ -21361,6 +22569,14 @@ const ( H264UnregisteredSeiTimecodeEnabled = "ENABLED" ) +// H264UnregisteredSeiTimecode_Values returns all elements of the H264UnregisteredSeiTimecode enum +func H264UnregisteredSeiTimecode_Values() []string { + return []string{ + H264UnregisteredSeiTimecodeDisabled, + H264UnregisteredSeiTimecodeEnabled, + } +} + // Adaptive quantization. Allows intra-frame quantizers to vary to improve visual // quality. const ( @@ -21383,6 +22599,18 @@ const ( H265AdaptiveQuantizationMax = "MAX" ) +// H265AdaptiveQuantization_Values returns all elements of the H265AdaptiveQuantization enum +func H265AdaptiveQuantization_Values() []string { + return []string{ + H265AdaptiveQuantizationOff, + H265AdaptiveQuantizationLow, + H265AdaptiveQuantizationMedium, + H265AdaptiveQuantizationHigh, + H265AdaptiveQuantizationHigher, + H265AdaptiveQuantizationMax, + } +} + // Enables Alternate Transfer Function SEI message for outputs using Hybrid // Log Gamma (HLG) Electro-Optical Transfer Function (EOTF). const ( @@ -21393,6 +22621,14 @@ const ( H265AlternateTransferFunctionSeiEnabled = "ENABLED" ) +// H265AlternateTransferFunctionSei_Values returns all elements of the H265AlternateTransferFunctionSei enum +func H265AlternateTransferFunctionSei_Values() []string { + return []string{ + H265AlternateTransferFunctionSeiDisabled, + H265AlternateTransferFunctionSeiEnabled, + } +} + // H.265 Level. const ( // H265CodecLevelAuto is a H265CodecLevel enum value @@ -21438,6 +22674,26 @@ const ( H265CodecLevelLevel62 = "LEVEL_6_2" ) +// H265CodecLevel_Values returns all elements of the H265CodecLevel enum +func H265CodecLevel_Values() []string { + return []string{ + H265CodecLevelAuto, + H265CodecLevelLevel1, + H265CodecLevelLevel2, + H265CodecLevelLevel21, + H265CodecLevelLevel3, + H265CodecLevelLevel31, + H265CodecLevelLevel4, + H265CodecLevelLevel41, + H265CodecLevelLevel5, + H265CodecLevelLevel51, + H265CodecLevelLevel52, + H265CodecLevelLevel6, + H265CodecLevelLevel61, + H265CodecLevelLevel62, + } +} + // Represents the Profile and Tier, per the HEVC (H.265) specification. Selections // are grouped as [Profile] / [Tier], so "Main/High" represents Main Profile // with High Tier. 4:2:2 profiles are only available with the HEVC 4:2:2 License. @@ -21467,6 +22723,20 @@ const ( H265CodecProfileMain42210bitHigh = "MAIN_422_10BIT_HIGH" ) +// H265CodecProfile_Values returns all elements of the H265CodecProfile enum +func H265CodecProfile_Values() []string { + return []string{ + H265CodecProfileMainMain, + H265CodecProfileMainHigh, + H265CodecProfileMain10Main, + H265CodecProfileMain10High, + H265CodecProfileMain4228bitMain, + H265CodecProfileMain4228bitHigh, + H265CodecProfileMain42210bitMain, + H265CodecProfileMain42210bitHigh, + } +} + // Choose Adaptive to improve subjective video quality for high-motion content. // This will cause the service to use fewer B-frames (which infer information // based on other frames) for high-motion portions of the video and more B-frames @@ -21480,6 +22750,14 @@ const ( H265DynamicSubGopStatic = "STATIC" ) +// H265DynamicSubGop_Values returns all elements of the H265DynamicSubGop enum +func H265DynamicSubGop_Values() []string { + return []string{ + H265DynamicSubGopAdaptive, + H265DynamicSubGopStatic, + } +} + // Adjust quantization within each frame to reduce flicker or 'pop' on I-frames. const ( // H265FlickerAdaptiveQuantizationDisabled is a H265FlickerAdaptiveQuantization enum value @@ -21489,6 +22767,14 @@ const ( H265FlickerAdaptiveQuantizationEnabled = "ENABLED" ) +// H265FlickerAdaptiveQuantization_Values returns all elements of the H265FlickerAdaptiveQuantization enum +func H265FlickerAdaptiveQuantization_Values() []string { + return []string{ + H265FlickerAdaptiveQuantizationDisabled, + H265FlickerAdaptiveQuantizationEnabled, + } +} + // If you are using the console, use the Framerate setting to specify the frame // rate for this output. If you want to keep the same frame rate as the input // video, choose Follow source. If you want to do frame rate conversion, choose @@ -21508,6 +22794,14 @@ const ( H265FramerateControlSpecified = "SPECIFIED" ) +// H265FramerateControl_Values returns all elements of the H265FramerateControl enum +func H265FramerateControl_Values() []string { + return []string{ + H265FramerateControlInitializeFromSource, + H265FramerateControlSpecified, + } +} + // Optional. Specify how the transcoder performs framerate conversion. The default // behavior is to use duplicate drop conversion. const ( @@ -21518,6 +22812,14 @@ const ( H265FramerateConversionAlgorithmInterpolate = "INTERPOLATE" ) +// H265FramerateConversionAlgorithm_Values returns all elements of the H265FramerateConversionAlgorithm enum +func H265FramerateConversionAlgorithm_Values() []string { + return []string{ + H265FramerateConversionAlgorithmDuplicateDrop, + H265FramerateConversionAlgorithmInterpolate, + } +} + // If enable, use reference B frames for GOP structures that have B frames > // 1. const ( @@ -21528,6 +22830,14 @@ const ( H265GopBReferenceEnabled = "ENABLED" ) +// H265GopBReference_Values returns all elements of the H265GopBReference enum +func H265GopBReference_Values() []string { + return []string{ + H265GopBReferenceDisabled, + H265GopBReferenceEnabled, + } +} + // Indicates if the GOP Size in H265 is specified in frames or seconds. If seconds // the system will convert the GOP Size into a frame count at run time. const ( @@ -21538,6 +22848,14 @@ const ( H265GopSizeUnitsSeconds = "SECONDS" ) +// H265GopSizeUnits_Values returns all elements of the H265GopSizeUnits enum +func H265GopSizeUnits_Values() []string { + return []string{ + H265GopSizeUnitsFrames, + H265GopSizeUnitsSeconds, + } +} + // Choose the scan line type for the output. Choose Progressive (PROGRESSIVE) // to create a progressive output, regardless of the scan type of your input. // Choose Top Field First (TOP_FIELD) or Bottom Field First (BOTTOM_FIELD) to @@ -21567,6 +22885,17 @@ const ( H265InterlaceModeFollowBottomField = "FOLLOW_BOTTOM_FIELD" ) +// H265InterlaceMode_Values returns all elements of the H265InterlaceMode enum +func H265InterlaceMode_Values() []string { + return []string{ + H265InterlaceModeProgressive, + H265InterlaceModeTopField, + H265InterlaceModeBottomField, + H265InterlaceModeFollowTopField, + H265InterlaceModeFollowBottomField, + } +} + // Optional. Specify how the service determines the pixel aspect ratio (PAR) // for this output. The default behavior, Follow source (INITIALIZE_FROM_SOURCE), // uses the PAR from your input video for your output. To specify a different @@ -21582,6 +22911,14 @@ const ( H265ParControlSpecified = "SPECIFIED" ) +// H265ParControl_Values returns all elements of the H265ParControl enum +func H265ParControl_Values() []string { + return []string{ + H265ParControlInitializeFromSource, + H265ParControlSpecified, + } +} + // Optional. Use Quality tuning level (qualityTuningLevel) to choose how you // want to trade off encoding speed for output video quality. The default behavior // is faster, lower quality, single-pass encoding. @@ -21596,6 +22933,15 @@ const ( H265QualityTuningLevelMultiPassHq = "MULTI_PASS_HQ" ) +// H265QualityTuningLevel_Values returns all elements of the H265QualityTuningLevel enum +func H265QualityTuningLevel_Values() []string { + return []string{ + H265QualityTuningLevelSinglePass, + H265QualityTuningLevelSinglePassHq, + H265QualityTuningLevelMultiPassHq, + } +} + // Use this setting to specify whether this output has a variable bitrate (VBR), // constant bitrate (CBR) or quality-defined variable bitrate (QVBR). const ( @@ -21609,6 +22955,15 @@ const ( H265RateControlModeQvbr = "QVBR" ) +// H265RateControlMode_Values returns all elements of the H265RateControlMode enum +func H265RateControlMode_Values() []string { + return []string{ + H265RateControlModeVbr, + H265RateControlModeCbr, + H265RateControlModeQvbr, + } +} + // Specify Sample Adaptive Offset (SAO) filter strength. Adaptive mode dynamically // selects best strength based on content const ( @@ -21622,6 +22977,15 @@ const ( H265SampleAdaptiveOffsetFilterModeOff = "OFF" ) +// H265SampleAdaptiveOffsetFilterMode_Values returns all elements of the H265SampleAdaptiveOffsetFilterMode enum +func H265SampleAdaptiveOffsetFilterMode_Values() []string { + return []string{ + H265SampleAdaptiveOffsetFilterModeDefault, + H265SampleAdaptiveOffsetFilterModeAdaptive, + H265SampleAdaptiveOffsetFilterModeOff, + } +} + // Enable this setting to insert I-frames at scene changes that the service // automatically detects. This improves video quality and is enabled by default. // If this output uses QVBR, choose Transition detection (TRANSITION_DETECTION) @@ -21638,6 +23002,15 @@ const ( H265SceneChangeDetectTransitionDetection = "TRANSITION_DETECTION" ) +// H265SceneChangeDetect_Values returns all elements of the H265SceneChangeDetect enum +func H265SceneChangeDetect_Values() []string { + return []string{ + H265SceneChangeDetectDisabled, + H265SceneChangeDetectEnabled, + H265SceneChangeDetectTransitionDetection, + } +} + // Enables Slow PAL rate conversion. 23.976fps and 24fps input is relabeled // as 25fps, and audio is sped up correspondingly. const ( @@ -21648,6 +23021,14 @@ const ( H265SlowPalEnabled = "ENABLED" ) +// H265SlowPal_Values returns all elements of the H265SlowPal enum +func H265SlowPal_Values() []string { + return []string{ + H265SlowPalDisabled, + H265SlowPalEnabled, + } +} + // Adjust quantization within each frame based on spatial variation of content // complexity. const ( @@ -21658,6 +23039,14 @@ const ( H265SpatialAdaptiveQuantizationEnabled = "ENABLED" ) +// H265SpatialAdaptiveQuantization_Values returns all elements of the H265SpatialAdaptiveQuantization enum +func H265SpatialAdaptiveQuantization_Values() []string { + return []string{ + H265SpatialAdaptiveQuantizationDisabled, + H265SpatialAdaptiveQuantizationEnabled, + } +} + // This field applies only if the Streams > Advanced > Framerate (framerate) // field is set to 29.970. This field works with the Streams > Advanced > Preprocessors // > Deinterlacer field (deinterlace_mode) and the Streams > Advanced > Interlaced @@ -21676,6 +23065,15 @@ const ( H265TelecineHard = "HARD" ) +// H265Telecine_Values returns all elements of the H265Telecine enum +func H265Telecine_Values() []string { + return []string{ + H265TelecineNone, + H265TelecineSoft, + H265TelecineHard, + } +} + // Adjust quantization within each frame based on temporal variation of content // complexity. const ( @@ -21686,6 +23084,14 @@ const ( H265TemporalAdaptiveQuantizationEnabled = "ENABLED" ) +// H265TemporalAdaptiveQuantization_Values returns all elements of the H265TemporalAdaptiveQuantization enum +func H265TemporalAdaptiveQuantization_Values() []string { + return []string{ + H265TemporalAdaptiveQuantizationDisabled, + H265TemporalAdaptiveQuantizationEnabled, + } +} + // Enables temporal layer identifiers in the encoded bitstream. Up to 3 layers // are supported depending on GOP structure: I- and P-frames form one layer, // reference B-frames can form a second layer and non-reference b-frames can @@ -21702,6 +23108,14 @@ const ( H265TemporalIdsEnabled = "ENABLED" ) +// H265TemporalIds_Values returns all elements of the H265TemporalIds enum +func H265TemporalIds_Values() []string { + return []string{ + H265TemporalIdsDisabled, + H265TemporalIdsEnabled, + } +} + // Enable use of tiles, allowing horizontal as well as vertical subdivision // of the encoded pictures. const ( @@ -21712,6 +23126,14 @@ const ( H265TilesEnabled = "ENABLED" ) +// H265Tiles_Values returns all elements of the H265Tiles enum +func H265Tiles_Values() []string { + return []string{ + H265TilesDisabled, + H265TilesEnabled, + } +} + // Inserts timecode for each frame as 4 bytes of an unregistered SEI message. const ( // H265UnregisteredSeiTimecodeDisabled is a H265UnregisteredSeiTimecode enum value @@ -21721,6 +23143,14 @@ const ( H265UnregisteredSeiTimecodeEnabled = "ENABLED" ) +// H265UnregisteredSeiTimecode_Values returns all elements of the H265UnregisteredSeiTimecode enum +func H265UnregisteredSeiTimecode_Values() []string { + return []string{ + H265UnregisteredSeiTimecodeDisabled, + H265UnregisteredSeiTimecodeEnabled, + } +} + // If the location of parameter set NAL units doesn't matter in your workflow, // ignore this setting. Use this setting only with CMAF or DASH outputs, or // with standalone file outputs in an MPEG-4 container (MP4 outputs). Choose @@ -21740,6 +23170,14 @@ const ( H265WriteMp4PackagingTypeHev1 = "HEV1" ) +// H265WriteMp4PackagingType_Values returns all elements of the H265WriteMp4PackagingType enum +func H265WriteMp4PackagingType_Values() []string { + return []string{ + H265WriteMp4PackagingTypeHvc1, + H265WriteMp4PackagingTypeHev1, + } +} + const ( // HlsAdMarkersElemental is a HlsAdMarkers enum value HlsAdMarkersElemental = "ELEMENTAL" @@ -21748,6 +23186,14 @@ const ( HlsAdMarkersElementalScte35 = "ELEMENTAL_SCTE35" ) +// HlsAdMarkers_Values returns all elements of the HlsAdMarkers enum +func HlsAdMarkers_Values() []string { + return []string{ + HlsAdMarkersElemental, + HlsAdMarkersElementalScte35, + } +} + // Use this setting only in audio-only outputs. Choose MPEG-2 Transport Stream // (M2TS) to create a file in an MPEG2-TS container. Keep the default value // Automatic (AUTOMATIC) to create a raw audio-only file with no container. @@ -21761,6 +23207,14 @@ const ( HlsAudioOnlyContainerM2ts = "M2TS" ) +// HlsAudioOnlyContainer_Values returns all elements of the HlsAudioOnlyContainer enum +func HlsAudioOnlyContainer_Values() []string { + return []string{ + HlsAudioOnlyContainerAutomatic, + HlsAudioOnlyContainerM2ts, + } +} + // Four types of audio-only tracks are supported: Audio-Only Variant Stream // The client can play back this audio-only stream instead of video in low-bandwidth // scenarios. Represented as an EXT-X-STREAM-INF in the HLS manifest. Alternate @@ -21786,6 +23240,16 @@ const ( HlsAudioTrackTypeAudioOnlyVariantStream = "AUDIO_ONLY_VARIANT_STREAM" ) +// HlsAudioTrackType_Values returns all elements of the HlsAudioTrackType enum +func HlsAudioTrackType_Values() []string { + return []string{ + HlsAudioTrackTypeAlternateAudioAutoSelectDefault, + HlsAudioTrackTypeAlternateAudioAutoSelect, + HlsAudioTrackTypeAlternateAudioNotAutoSelect, + HlsAudioTrackTypeAudioOnlyVariantStream, + } +} + // Applies only to 608 Embedded output captions. Insert: Include CLOSED-CAPTIONS // lines in the manifest. Specify at least one language in the CC1 Language // Code field. One CLOSED-CAPTION line is added for each Language Code you specify. @@ -21806,6 +23270,15 @@ const ( HlsCaptionLanguageSettingNone = "NONE" ) +// HlsCaptionLanguageSetting_Values returns all elements of the HlsCaptionLanguageSetting enum +func HlsCaptionLanguageSetting_Values() []string { + return []string{ + HlsCaptionLanguageSettingInsert, + HlsCaptionLanguageSettingOmit, + HlsCaptionLanguageSettingNone, + } +} + // When set to ENABLED, sets #EXT-X-ALLOW-CACHE:no tag, which prevents client // from saving media segments for later replay. const ( @@ -21816,6 +23289,14 @@ const ( HlsClientCacheEnabled = "ENABLED" ) +// HlsClientCache_Values returns all elements of the HlsClientCache enum +func HlsClientCache_Values() []string { + return []string{ + HlsClientCacheDisabled, + HlsClientCacheEnabled, + } +} + // Specification to use (RFC-6381 or the default RFC-4281) during m3u8 playlist // generation. const ( @@ -21826,6 +23307,14 @@ const ( HlsCodecSpecificationRfc4281 = "RFC_4281" ) +// HlsCodecSpecification_Values returns all elements of the HlsCodecSpecification enum +func HlsCodecSpecification_Values() []string { + return []string{ + HlsCodecSpecificationRfc6381, + HlsCodecSpecificationRfc4281, + } +} + // Indicates whether segments should be placed in subdirectories. const ( // HlsDirectoryStructureSingleDirectory is a HlsDirectoryStructure enum value @@ -21835,6 +23324,14 @@ const ( HlsDirectoryStructureSubdirectoryPerStream = "SUBDIRECTORY_PER_STREAM" ) +// HlsDirectoryStructure_Values returns all elements of the HlsDirectoryStructure enum +func HlsDirectoryStructure_Values() []string { + return []string{ + HlsDirectoryStructureSingleDirectory, + HlsDirectoryStructureSubdirectoryPerStream, + } +} + // Encrypts the segments with the given encryption scheme. Leave blank to disable. // Selecting 'Disabled' in the web interface also disables encryption. const ( @@ -21845,6 +23342,14 @@ const ( HlsEncryptionTypeSampleAes = "SAMPLE_AES" ) +// HlsEncryptionType_Values returns all elements of the HlsEncryptionType enum +func HlsEncryptionType_Values() []string { + return []string{ + HlsEncryptionTypeAes128, + HlsEncryptionTypeSampleAes, + } +} + // When set to INCLUDE, writes I-Frame Only Manifest in addition to the HLS // manifest const ( @@ -21855,6 +23360,14 @@ const ( HlsIFrameOnlyManifestExclude = "EXCLUDE" ) +// HlsIFrameOnlyManifest_Values returns all elements of the HlsIFrameOnlyManifest enum +func HlsIFrameOnlyManifest_Values() []string { + return []string{ + HlsIFrameOnlyManifestInclude, + HlsIFrameOnlyManifestExclude, + } +} + // The Initialization Vector is a 128-bit number used in conjunction with the // key for encrypting blocks. If set to INCLUDE, Initialization Vector is listed // in the manifest. Otherwise Initialization Vector is not in the manifest. @@ -21866,6 +23379,14 @@ const ( HlsInitializationVectorInManifestExclude = "EXCLUDE" ) +// HlsInitializationVectorInManifest_Values returns all elements of the HlsInitializationVectorInManifest enum +func HlsInitializationVectorInManifest_Values() []string { + return []string{ + HlsInitializationVectorInManifestInclude, + HlsInitializationVectorInManifestExclude, + } +} + // Specify whether your DRM encryption key is static or from a key provider // that follows the SPEKE standard. For more information about SPEKE, see https://docs.aws.amazon.com/speke/latest/documentation/what-is-speke.html. const ( @@ -21876,6 +23397,14 @@ const ( HlsKeyProviderTypeStaticKey = "STATIC_KEY" ) +// HlsKeyProviderType_Values returns all elements of the HlsKeyProviderType enum +func HlsKeyProviderType_Values() []string { + return []string{ + HlsKeyProviderTypeSpeke, + HlsKeyProviderTypeStaticKey, + } +} + // When set to GZIP, compresses HLS playlist. const ( // HlsManifestCompressionGzip is a HlsManifestCompression enum value @@ -21885,6 +23414,14 @@ const ( HlsManifestCompressionNone = "NONE" ) +// HlsManifestCompression_Values returns all elements of the HlsManifestCompression enum +func HlsManifestCompression_Values() []string { + return []string{ + HlsManifestCompressionGzip, + HlsManifestCompressionNone, + } +} + // Indicates whether the output manifest should use floating point values for // segment duration. const ( @@ -21895,6 +23432,14 @@ const ( HlsManifestDurationFormatInteger = "INTEGER" ) +// HlsManifestDurationFormat_Values returns all elements of the HlsManifestDurationFormat enum +func HlsManifestDurationFormat_Values() []string { + return []string{ + HlsManifestDurationFormatFloatingPoint, + HlsManifestDurationFormatInteger, + } +} + // Enable this setting to insert the EXT-X-SESSION-KEY element into the master // playlist. This allows for offline Apple HLS FairPlay content protection. const ( @@ -21905,6 +23450,14 @@ const ( HlsOfflineEncryptedDisabled = "DISABLED" ) +// HlsOfflineEncrypted_Values returns all elements of the HlsOfflineEncrypted enum +func HlsOfflineEncrypted_Values() []string { + return []string{ + HlsOfflineEncryptedEnabled, + HlsOfflineEncryptedDisabled, + } +} + // Indicates whether the .m3u8 manifest file should be generated for this HLS // output group. const ( @@ -21915,6 +23468,14 @@ const ( HlsOutputSelectionSegmentsOnly = "SEGMENTS_ONLY" ) +// HlsOutputSelection_Values returns all elements of the HlsOutputSelection enum +func HlsOutputSelection_Values() []string { + return []string{ + HlsOutputSelectionManifestsAndSegments, + HlsOutputSelectionSegmentsOnly, + } +} + // Includes or excludes EXT-X-PROGRAM-DATE-TIME tag in .m3u8 manifest files. // The value is calculated as follows: either the program date and time are // initialized using the input timecode source, or the time is initialized using @@ -21927,6 +23488,14 @@ const ( HlsProgramDateTimeExclude = "EXCLUDE" ) +// HlsProgramDateTime_Values returns all elements of the HlsProgramDateTime enum +func HlsProgramDateTime_Values() []string { + return []string{ + HlsProgramDateTimeInclude, + HlsProgramDateTimeExclude, + } +} + // When set to SINGLE_FILE, emits program as a single media resource (.ts) file, // uses #EXT-X-BYTERANGE tags to index segment for playback. const ( @@ -21937,6 +23506,14 @@ const ( HlsSegmentControlSegmentedFiles = "SEGMENTED_FILES" ) +// HlsSegmentControl_Values returns all elements of the HlsSegmentControl enum +func HlsSegmentControl_Values() []string { + return []string{ + HlsSegmentControlSingleFile, + HlsSegmentControlSegmentedFiles, + } +} + // Include or exclude RESOLUTION attribute for video in EXT-X-STREAM-INF tag // of variant manifest. const ( @@ -21947,6 +23524,14 @@ const ( HlsStreamInfResolutionExclude = "EXCLUDE" ) +// HlsStreamInfResolution_Values returns all elements of the HlsStreamInfResolution enum +func HlsStreamInfResolution_Values() []string { + return []string{ + HlsStreamInfResolutionInclude, + HlsStreamInfResolutionExclude, + } +} + // Indicates ID3 frame that has the timecode. const ( // HlsTimedMetadataId3FrameNone is a HlsTimedMetadataId3Frame enum value @@ -21959,6 +23544,15 @@ const ( HlsTimedMetadataId3FrameTdrl = "TDRL" ) +// HlsTimedMetadataId3Frame_Values returns all elements of the HlsTimedMetadataId3Frame enum +func HlsTimedMetadataId3Frame_Values() []string { + return []string{ + HlsTimedMetadataId3FrameNone, + HlsTimedMetadataId3FramePriv, + HlsTimedMetadataId3FrameTdrl, + } +} + // Keep this setting enabled to have MediaConvert use the font style and position // information from the captions source in the output. This option is available // only when your input captions are IMSC, SMPTE-TT, or TTML. Disable this setting @@ -21971,6 +23565,14 @@ const ( ImscStylePassthroughDisabled = "DISABLED" ) +// ImscStylePassthrough_Values returns all elements of the ImscStylePassthrough enum +func ImscStylePassthrough_Values() []string { + return []string{ + ImscStylePassthroughEnabled, + ImscStylePassthroughDisabled, + } +} + // Enable Deblock (InputDeblockFilter) to produce smoother motion in the output. // Default is disabled. Only manually controllable for MPEG2 and uncompressed // video inputs. @@ -21982,6 +23584,14 @@ const ( InputDeblockFilterDisabled = "DISABLED" ) +// InputDeblockFilter_Values returns all elements of the InputDeblockFilter enum +func InputDeblockFilter_Values() []string { + return []string{ + InputDeblockFilterEnabled, + InputDeblockFilterDisabled, + } +} + // Enable Denoise (InputDenoiseFilter) to filter noise from the input. Default // is disabled. Only applicable to MPEG2, H.264, H.265, and uncompressed video // inputs. @@ -21993,6 +23603,14 @@ const ( InputDenoiseFilterDisabled = "DISABLED" ) +// InputDenoiseFilter_Values returns all elements of the InputDenoiseFilter enum +func InputDenoiseFilter_Values() []string { + return []string{ + InputDenoiseFilterEnabled, + InputDenoiseFilterDisabled, + } +} + // Use Filter enable (InputFilterEnable) to specify how the transcoding service // applies the denoise and deblock filters. You must also enable the filters // separately, with Denoise (InputDenoiseFilter) and Deblock (InputDeblockFilter). @@ -22011,6 +23629,15 @@ const ( InputFilterEnableForce = "FORCE" ) +// InputFilterEnable_Values returns all elements of the InputFilterEnable enum +func InputFilterEnable_Values() []string { + return []string{ + InputFilterEnableAuto, + InputFilterEnableDisable, + InputFilterEnableForce, + } +} + // Set PSI control (InputPsiControl) for transport stream inputs to specify // which data the demux process to scans. * Ignore PSI - Scan all PIDs for audio // and video. * Use PSI - Scan only PSI data. @@ -22022,6 +23649,14 @@ const ( InputPsiControlUsePsi = "USE_PSI" ) +// InputPsiControl_Values returns all elements of the InputPsiControl enum +func InputPsiControl_Values() []string { + return []string{ + InputPsiControlIgnorePsi, + InputPsiControlUsePsi, + } +} + // Use Rotate (InputRotate) to specify how the service rotates your video. You // can choose automatic rotation or specify a rotation. You can specify a clockwise // rotation of 0, 90, 180, or 270 degrees. If your input video container is @@ -22049,6 +23684,17 @@ const ( InputRotateAuto = "AUTO" ) +// InputRotate_Values returns all elements of the InputRotate enum +func InputRotate_Values() []string { + return []string{ + InputRotateDegree0, + InputRotateDegrees90, + InputRotateDegrees180, + InputRotateDegrees270, + InputRotateAuto, + } +} + // Use this Timecode source setting, located under the input settings (InputTimecodeSource), // to specify how the service counts input video frames. This input frame count // affects only the behavior of features that apply to a single input at a time, @@ -22070,6 +23716,15 @@ const ( InputTimecodeSourceSpecifiedstart = "SPECIFIEDSTART" ) +// InputTimecodeSource_Values returns all elements of the InputTimecodeSource enum +func InputTimecodeSource_Values() []string { + return []string{ + InputTimecodeSourceEmbedded, + InputTimecodeSourceZerobased, + InputTimecodeSourceSpecifiedstart, + } +} + // A job's phase can be PROBING, TRANSCODING OR UPLOADING const ( // JobPhaseProbing is a JobPhase enum value @@ -22082,6 +23737,15 @@ const ( JobPhaseUploading = "UPLOADING" ) +// JobPhase_Values returns all elements of the JobPhase enum +func JobPhase_Values() []string { + return []string{ + JobPhaseProbing, + JobPhaseTranscoding, + JobPhaseUploading, + } +} + // A job's status can be SUBMITTED, PROGRESSING, COMPLETE, CANCELED, or ERROR. const ( // JobStatusSubmitted is a JobStatus enum value @@ -22100,6 +23764,17 @@ const ( JobStatusError = "ERROR" ) +// JobStatus_Values returns all elements of the JobStatus enum +func JobStatus_Values() []string { + return []string{ + JobStatusSubmitted, + JobStatusProgressing, + JobStatusComplete, + JobStatusCanceled, + JobStatusError, + } +} + // Optional. When you request a list of job templates, you can choose to list // them alphabetically by NAME or chronologically by CREATION_DATE. If you don't // specify, the service will list them by name. @@ -22114,6 +23789,15 @@ const ( JobTemplateListBySystem = "SYSTEM" ) +// JobTemplateListBy_Values returns all elements of the JobTemplateListBy enum +func JobTemplateListBy_Values() []string { + return []string{ + JobTemplateListByName, + JobTemplateListByCreationDate, + JobTemplateListBySystem, + } +} + // Specify the language, using the ISO 639-2 three-letter code listed at https://www.loc.gov/standards/iso639-2/php/code_list.php. const ( // LanguageCodeEng is a LanguageCode enum value @@ -22690,6 +24374,203 @@ const ( LanguageCodeTng = "TNG" ) +// LanguageCode_Values returns all elements of the LanguageCode enum +func LanguageCode_Values() []string { + return []string{ + LanguageCodeEng, + LanguageCodeSpa, + LanguageCodeFra, + LanguageCodeDeu, + LanguageCodeGer, + LanguageCodeZho, + LanguageCodeAra, + LanguageCodeHin, + LanguageCodeJpn, + LanguageCodeRus, + LanguageCodePor, + LanguageCodeIta, + LanguageCodeUrd, + LanguageCodeVie, + LanguageCodeKor, + LanguageCodePan, + LanguageCodeAbk, + LanguageCodeAar, + LanguageCodeAfr, + LanguageCodeAka, + LanguageCodeSqi, + LanguageCodeAmh, + LanguageCodeArg, + LanguageCodeHye, + LanguageCodeAsm, + LanguageCodeAva, + LanguageCodeAve, + LanguageCodeAym, + LanguageCodeAze, + LanguageCodeBam, + LanguageCodeBak, + LanguageCodeEus, + LanguageCodeBel, + LanguageCodeBen, + LanguageCodeBih, + LanguageCodeBis, + LanguageCodeBos, + LanguageCodeBre, + LanguageCodeBul, + LanguageCodeMya, + LanguageCodeCat, + LanguageCodeKhm, + LanguageCodeCha, + LanguageCodeChe, + LanguageCodeNya, + LanguageCodeChu, + LanguageCodeChv, + LanguageCodeCor, + LanguageCodeCos, + LanguageCodeCre, + LanguageCodeHrv, + LanguageCodeCes, + LanguageCodeDan, + LanguageCodeDiv, + LanguageCodeNld, + LanguageCodeDzo, + LanguageCodeEnm, + LanguageCodeEpo, + LanguageCodeEst, + LanguageCodeEwe, + LanguageCodeFao, + LanguageCodeFij, + LanguageCodeFin, + LanguageCodeFrm, + LanguageCodeFul, + LanguageCodeGla, + LanguageCodeGlg, + LanguageCodeLug, + LanguageCodeKat, + LanguageCodeEll, + LanguageCodeGrn, + LanguageCodeGuj, + LanguageCodeHat, + LanguageCodeHau, + LanguageCodeHeb, + LanguageCodeHer, + LanguageCodeHmo, + LanguageCodeHun, + LanguageCodeIsl, + LanguageCodeIdo, + LanguageCodeIbo, + LanguageCodeInd, + LanguageCodeIna, + LanguageCodeIle, + LanguageCodeIku, + LanguageCodeIpk, + LanguageCodeGle, + LanguageCodeJav, + LanguageCodeKal, + LanguageCodeKan, + LanguageCodeKau, + LanguageCodeKas, + LanguageCodeKaz, + LanguageCodeKik, + LanguageCodeKin, + LanguageCodeKir, + LanguageCodeKom, + LanguageCodeKon, + LanguageCodeKua, + LanguageCodeKur, + LanguageCodeLao, + LanguageCodeLat, + LanguageCodeLav, + LanguageCodeLim, + LanguageCodeLin, + LanguageCodeLit, + LanguageCodeLub, + LanguageCodeLtz, + LanguageCodeMkd, + LanguageCodeMlg, + LanguageCodeMsa, + LanguageCodeMal, + LanguageCodeMlt, + LanguageCodeGlv, + LanguageCodeMri, + LanguageCodeMar, + LanguageCodeMah, + LanguageCodeMon, + LanguageCodeNau, + LanguageCodeNav, + LanguageCodeNde, + LanguageCodeNbl, + LanguageCodeNdo, + LanguageCodeNep, + LanguageCodeSme, + LanguageCodeNor, + LanguageCodeNob, + LanguageCodeNno, + LanguageCodeOci, + LanguageCodeOji, + LanguageCodeOri, + LanguageCodeOrm, + LanguageCodeOss, + LanguageCodePli, + LanguageCodeFas, + LanguageCodePol, + LanguageCodePus, + LanguageCodeQue, + LanguageCodeQaa, + LanguageCodeRon, + LanguageCodeRoh, + LanguageCodeRun, + LanguageCodeSmo, + LanguageCodeSag, + LanguageCodeSan, + LanguageCodeSrd, + LanguageCodeSrb, + LanguageCodeSna, + LanguageCodeIii, + LanguageCodeSnd, + LanguageCodeSin, + LanguageCodeSlk, + LanguageCodeSlv, + LanguageCodeSom, + LanguageCodeSot, + LanguageCodeSun, + LanguageCodeSwa, + LanguageCodeSsw, + LanguageCodeSwe, + LanguageCodeTgl, + LanguageCodeTah, + LanguageCodeTgk, + LanguageCodeTam, + LanguageCodeTat, + LanguageCodeTel, + LanguageCodeTha, + LanguageCodeBod, + LanguageCodeTir, + LanguageCodeTon, + LanguageCodeTso, + LanguageCodeTsn, + LanguageCodeTur, + LanguageCodeTuk, + LanguageCodeTwi, + LanguageCodeUig, + LanguageCodeUkr, + LanguageCodeUzb, + LanguageCodeVen, + LanguageCodeVol, + LanguageCodeWln, + LanguageCodeCym, + LanguageCodeFry, + LanguageCodeWol, + LanguageCodeXho, + LanguageCodeYid, + LanguageCodeYor, + LanguageCodeZha, + LanguageCodeZul, + LanguageCodeOrj, + LanguageCodeQpc, + LanguageCodeTng, + } +} + // Selects between the DVB and ATSC buffer models for Dolby Digital audio. const ( // M2tsAudioBufferModelDvb is a M2tsAudioBufferModel enum value @@ -22699,6 +24580,14 @@ const ( M2tsAudioBufferModelAtsc = "ATSC" ) +// M2tsAudioBufferModel_Values returns all elements of the M2tsAudioBufferModel enum +func M2tsAudioBufferModel_Values() []string { + return []string{ + M2tsAudioBufferModelDvb, + M2tsAudioBufferModelAtsc, + } +} + // Controls what buffer model to use for accurate interleaving. If set to MULTIPLEX, // use multiplex buffer model. If set to NONE, this can lead to lower latency, // but low-memory devices may not be able to play back the stream without interruptions. @@ -22710,6 +24599,14 @@ const ( M2tsBufferModelNone = "NONE" ) +// M2tsBufferModel_Values returns all elements of the M2tsBufferModel enum +func M2tsBufferModel_Values() []string { + return []string{ + M2tsBufferModelMultiplex, + M2tsBufferModelNone, + } +} + // When set to VIDEO_AND_FIXED_INTERVALS, audio EBP markers will be added to // partitions 3 and 4. The interval between these additional markers will be // fixed, and will be slightly shorter than the video EBP marker interval. When @@ -22724,6 +24621,14 @@ const ( M2tsEbpAudioIntervalVideoInterval = "VIDEO_INTERVAL" ) +// M2tsEbpAudioInterval_Values returns all elements of the M2tsEbpAudioInterval enum +func M2tsEbpAudioInterval_Values() []string { + return []string{ + M2tsEbpAudioIntervalVideoAndFixedIntervals, + M2tsEbpAudioIntervalVideoInterval, + } +} + // Selects which PIDs to place EBP markers on. They can either be placed only // on the video PID, or on both the video PID and all audio PIDs. Only applicable // when EBP segmentation markers are is selected (segmentationMarkers is EBP @@ -22736,6 +24641,14 @@ const ( M2tsEbpPlacementVideoPid = "VIDEO_PID" ) +// M2tsEbpPlacement_Values returns all elements of the M2tsEbpPlacement enum +func M2tsEbpPlacement_Values() []string { + return []string{ + M2tsEbpPlacementVideoAndAudioPids, + M2tsEbpPlacementVideoPid, + } +} + // Controls whether to include the ES Rate field in the PES header. const ( // M2tsEsRateInPesInclude is a M2tsEsRateInPes enum value @@ -22745,6 +24658,14 @@ const ( M2tsEsRateInPesExclude = "EXCLUDE" ) +// M2tsEsRateInPes_Values returns all elements of the M2tsEsRateInPes enum +func M2tsEsRateInPes_Values() []string { + return []string{ + M2tsEsRateInPesInclude, + M2tsEsRateInPesExclude, + } +} + // Keep the default value (DEFAULT) unless you know that your audio EBP markers // are incorrectly appearing before your video EBP markers. To correct this // problem, set this value to Force (FORCE). @@ -22756,6 +24677,14 @@ const ( M2tsForceTsVideoEbpOrderDefault = "DEFAULT" ) +// M2tsForceTsVideoEbpOrder_Values returns all elements of the M2tsForceTsVideoEbpOrder enum +func M2tsForceTsVideoEbpOrder_Values() []string { + return []string{ + M2tsForceTsVideoEbpOrderForce, + M2tsForceTsVideoEbpOrderDefault, + } +} + // If INSERT, Nielsen inaudible tones for media tracking will be detected in // the input audio and an equivalent ID3 tag will be inserted in the output. const ( @@ -22766,6 +24695,14 @@ const ( M2tsNielsenId3None = "NONE" ) +// M2tsNielsenId3_Values returns all elements of the M2tsNielsenId3 enum +func M2tsNielsenId3_Values() []string { + return []string{ + M2tsNielsenId3Insert, + M2tsNielsenId3None, + } +} + // When set to PCR_EVERY_PES_PACKET, a Program Clock Reference value is inserted // for every Packetized Elementary Stream (PES) header. This is effective only // when the PCR PID is the same as the video or audio elementary stream. @@ -22777,6 +24714,14 @@ const ( M2tsPcrControlConfiguredPcrPeriod = "CONFIGURED_PCR_PERIOD" ) +// M2tsPcrControl_Values returns all elements of the M2tsPcrControl enum +func M2tsPcrControl_Values() []string { + return []string{ + M2tsPcrControlPcrEveryPesPacket, + M2tsPcrControlConfiguredPcrPeriod, + } +} + // When set to CBR, inserts null packets into transport stream to fill specified // bitrate. When set to VBR, the bitrate setting acts as the maximum bitrate, // but the output will not be padded up to that bitrate. @@ -22788,6 +24733,14 @@ const ( M2tsRateModeCbr = "CBR" ) +// M2tsRateMode_Values returns all elements of the M2tsRateMode enum +func M2tsRateMode_Values() []string { + return []string{ + M2tsRateModeVbr, + M2tsRateModeCbr, + } +} + // For SCTE-35 markers from your input-- Choose Passthrough (PASSTHROUGH) if // you want SCTE-35 markers that appear in your input to also appear in this // output. Choose None (NONE) if you don't want SCTE-35 markers in this output. @@ -22802,6 +24755,14 @@ const ( M2tsScte35SourceNone = "NONE" ) +// M2tsScte35Source_Values returns all elements of the M2tsScte35Source enum +func M2tsScte35Source_Values() []string { + return []string{ + M2tsScte35SourcePassthrough, + M2tsScte35SourceNone, + } +} + // Inserts segmentation markers at each segmentation_time period. rai_segstart // sets the Random Access Indicator bit in the adaptation field. rai_adapt sets // the RAI bit and adds the current timecode in the private data bytes. psi_segstart @@ -22829,6 +24790,18 @@ const ( M2tsSegmentationMarkersEbpLegacy = "EBP_LEGACY" ) +// M2tsSegmentationMarkers_Values returns all elements of the M2tsSegmentationMarkers enum +func M2tsSegmentationMarkers_Values() []string { + return []string{ + M2tsSegmentationMarkersNone, + M2tsSegmentationMarkersRaiSegstart, + M2tsSegmentationMarkersRaiAdapt, + M2tsSegmentationMarkersPsiSegstart, + M2tsSegmentationMarkersEbp, + M2tsSegmentationMarkersEbpLegacy, + } +} + // The segmentation style parameter controls how segmentation markers are inserted // into the transport stream. With avails, it is possible that segments may // be truncated, which can influence where future segmentation markers are inserted. @@ -22848,6 +24821,14 @@ const ( M2tsSegmentationStyleResetCadence = "RESET_CADENCE" ) +// M2tsSegmentationStyle_Values returns all elements of the M2tsSegmentationStyle enum +func M2tsSegmentationStyle_Values() []string { + return []string{ + M2tsSegmentationStyleMaintainCadence, + M2tsSegmentationStyleResetCadence, + } +} + // If INSERT, Nielsen inaudible tones for media tracking will be detected in // the input audio and an equivalent ID3 tag will be inserted in the output. const ( @@ -22858,6 +24839,14 @@ const ( M3u8NielsenId3None = "NONE" ) +// M3u8NielsenId3_Values returns all elements of the M3u8NielsenId3 enum +func M3u8NielsenId3_Values() []string { + return []string{ + M3u8NielsenId3Insert, + M3u8NielsenId3None, + } +} + // When set to PCR_EVERY_PES_PACKET a Program Clock Reference value is inserted // for every Packetized Elementary Stream (PES) header. This parameter is effective // only when the PCR PID is the same as the video or audio elementary stream. @@ -22869,6 +24858,14 @@ const ( M3u8PcrControlConfiguredPcrPeriod = "CONFIGURED_PCR_PERIOD" ) +// M3u8PcrControl_Values returns all elements of the M3u8PcrControl enum +func M3u8PcrControl_Values() []string { + return []string{ + M3u8PcrControlPcrEveryPesPacket, + M3u8PcrControlConfiguredPcrPeriod, + } +} + // For SCTE-35 markers from your input-- Choose Passthrough (PASSTHROUGH) if // you want SCTE-35 markers that appear in your input to also appear in this // output. Choose None (NONE) if you don't want SCTE-35 markers in this output. @@ -22885,6 +24882,14 @@ const ( M3u8Scte35SourceNone = "NONE" ) +// M3u8Scte35Source_Values returns all elements of the M3u8Scte35Source enum +func M3u8Scte35Source_Values() []string { + return []string{ + M3u8Scte35SourcePassthrough, + M3u8Scte35SourceNone, + } +} + // Choose the type of motion graphic asset that you are providing for your overlay. // You can choose either a .mov file or a series of .png files. const ( @@ -22895,6 +24900,14 @@ const ( MotionImageInsertionModePng = "PNG" ) +// MotionImageInsertionMode_Values returns all elements of the MotionImageInsertionMode enum +func MotionImageInsertionMode_Values() []string { + return []string{ + MotionImageInsertionModeMov, + MotionImageInsertionModePng, + } +} + // Specify whether your motion graphic overlay repeats on a loop or plays only // once. const ( @@ -22905,6 +24918,14 @@ const ( MotionImagePlaybackRepeat = "REPEAT" ) +// MotionImagePlayback_Values returns all elements of the MotionImagePlayback enum +func MotionImagePlayback_Values() []string { + return []string{ + MotionImagePlaybackOnce, + MotionImagePlaybackRepeat, + } +} + // When enabled, include 'clap' atom if appropriate for the video output settings. const ( // MovClapAtomInclude is a MovClapAtom enum value @@ -22914,6 +24935,14 @@ const ( MovClapAtomExclude = "EXCLUDE" ) +// MovClapAtom_Values returns all elements of the MovClapAtom enum +func MovClapAtom_Values() []string { + return []string{ + MovClapAtomInclude, + MovClapAtomExclude, + } +} + // When enabled, file composition times will start at zero, composition times // in the 'ctts' (composition time to sample) box for B-frames will be negative, // and a 'cslg' (composition shift least greatest) box will be included per @@ -22926,6 +24955,14 @@ const ( MovCslgAtomExclude = "EXCLUDE" ) +// MovCslgAtom_Values returns all elements of the MovCslgAtom enum +func MovCslgAtom_Values() []string { + return []string{ + MovCslgAtomInclude, + MovCslgAtomExclude, + } +} + // When set to XDCAM, writes MPEG2 video streams into the QuickTime file using // XDCAM fourcc codes. This increases compatibility with Apple editors and players, // but may decrease compatibility with other players. Only applicable when the @@ -22938,6 +24975,14 @@ const ( MovMpeg2FourCCControlMpeg = "MPEG" ) +// MovMpeg2FourCCControl_Values returns all elements of the MovMpeg2FourCCControl enum +func MovMpeg2FourCCControl_Values() []string { + return []string{ + MovMpeg2FourCCControlXdcam, + MovMpeg2FourCCControlMpeg, + } +} + // If set to OMNEON, inserts Omneon-compatible padding const ( // MovPaddingControlOmneon is a MovPaddingControl enum value @@ -22947,6 +24992,14 @@ const ( MovPaddingControlNone = "NONE" ) +// MovPaddingControl_Values returns all elements of the MovPaddingControl enum +func MovPaddingControl_Values() []string { + return []string{ + MovPaddingControlOmneon, + MovPaddingControlNone, + } +} + // Always keep the default value (SELF_CONTAINED) for this setting. const ( // MovReferenceSelfContained is a MovReference enum value @@ -22956,6 +25009,14 @@ const ( MovReferenceExternal = "EXTERNAL" ) +// MovReference_Values returns all elements of the MovReference enum +func MovReference_Values() []string { + return []string{ + MovReferenceSelfContained, + MovReferenceExternal, + } +} + // Specify whether the service encodes this MP3 audio output with a constant // bitrate (CBR) or a variable bitrate (VBR). const ( @@ -22966,6 +25027,14 @@ const ( Mp3RateControlModeVbr = "VBR" ) +// Mp3RateControlMode_Values returns all elements of the Mp3RateControlMode enum +func Mp3RateControlMode_Values() []string { + return []string{ + Mp3RateControlModeCbr, + Mp3RateControlModeVbr, + } +} + // When enabled, file composition times will start at zero, composition times // in the 'ctts' (composition time to sample) box for B-frames will be negative, // and a 'cslg' (composition shift least greatest) box will be included per @@ -22978,6 +25047,14 @@ const ( Mp4CslgAtomExclude = "EXCLUDE" ) +// Mp4CslgAtom_Values returns all elements of the Mp4CslgAtom enum +func Mp4CslgAtom_Values() []string { + return []string{ + Mp4CslgAtomInclude, + Mp4CslgAtomExclude, + } +} + // Inserts a free-space box immediately after the moov box. const ( // Mp4FreeSpaceBoxInclude is a Mp4FreeSpaceBox enum value @@ -22987,6 +25064,14 @@ const ( Mp4FreeSpaceBoxExclude = "EXCLUDE" ) +// Mp4FreeSpaceBox_Values returns all elements of the Mp4FreeSpaceBox enum +func Mp4FreeSpaceBox_Values() []string { + return []string{ + Mp4FreeSpaceBoxInclude, + Mp4FreeSpaceBoxExclude, + } +} + // If set to PROGRESSIVE_DOWNLOAD, the MOOV atom is relocated to the beginning // of the archive as required for progressive downloading. Otherwise it is placed // normally at the end. @@ -22998,6 +25083,14 @@ const ( Mp4MoovPlacementNormal = "NORMAL" ) +// Mp4MoovPlacement_Values returns all elements of the Mp4MoovPlacement enum +func Mp4MoovPlacement_Values() []string { + return []string{ + Mp4MoovPlacementProgressiveDownload, + Mp4MoovPlacementNormal, + } +} + // Use this setting only in DASH output groups that include sidecar TTML or // IMSC captions. You specify sidecar captions in a separate output from your // audio and video. Choose Raw (RAW) for captions in a single XML file in a @@ -23012,6 +25105,14 @@ const ( MpdCaptionContainerTypeFragmentedMp4 = "FRAGMENTED_MP4" ) +// MpdCaptionContainerType_Values returns all elements of the MpdCaptionContainerType enum +func MpdCaptionContainerType_Values() []string { + return []string{ + MpdCaptionContainerTypeRaw, + MpdCaptionContainerTypeFragmentedMp4, + } +} + // Use this setting only when you specify SCTE-35 markers from ESAM. Choose // INSERT to put SCTE-35 markers in this output at the insertion points that // you specify in an ESAM XML document. Provide the document in the setting @@ -23024,6 +25125,14 @@ const ( MpdScte35EsamNone = "NONE" ) +// MpdScte35Esam_Values returns all elements of the MpdScte35Esam enum +func MpdScte35Esam_Values() []string { + return []string{ + MpdScte35EsamInsert, + MpdScte35EsamNone, + } +} + // Ignore this setting unless you have SCTE-35 markers in your input video file. // Choose Passthrough (PASSTHROUGH) if you want SCTE-35 markers that appear // in your input to also appear in this output. Choose None (NONE) if you don't @@ -23036,6 +25145,14 @@ const ( MpdScte35SourceNone = "NONE" ) +// MpdScte35Source_Values returns all elements of the MpdScte35Source enum +func MpdScte35Source_Values() []string { + return []string{ + MpdScte35SourcePassthrough, + MpdScte35SourceNone, + } +} + // Adaptive quantization. Allows intra-frame quantizers to vary to improve visual // quality. const ( @@ -23052,6 +25169,16 @@ const ( Mpeg2AdaptiveQuantizationHigh = "HIGH" ) +// Mpeg2AdaptiveQuantization_Values returns all elements of the Mpeg2AdaptiveQuantization enum +func Mpeg2AdaptiveQuantization_Values() []string { + return []string{ + Mpeg2AdaptiveQuantizationOff, + Mpeg2AdaptiveQuantizationLow, + Mpeg2AdaptiveQuantizationMedium, + Mpeg2AdaptiveQuantizationHigh, + } +} + // Use Level (Mpeg2CodecLevel) to set the MPEG-2 level for the video output. const ( // Mpeg2CodecLevelAuto is a Mpeg2CodecLevel enum value @@ -23070,6 +25197,17 @@ const ( Mpeg2CodecLevelHigh = "HIGH" ) +// Mpeg2CodecLevel_Values returns all elements of the Mpeg2CodecLevel enum +func Mpeg2CodecLevel_Values() []string { + return []string{ + Mpeg2CodecLevelAuto, + Mpeg2CodecLevelLow, + Mpeg2CodecLevelMain, + Mpeg2CodecLevelHigh1440, + Mpeg2CodecLevelHigh, + } +} + // Use Profile (Mpeg2CodecProfile) to set the MPEG-2 profile for the video output. const ( // Mpeg2CodecProfileMain is a Mpeg2CodecProfile enum value @@ -23079,6 +25217,14 @@ const ( Mpeg2CodecProfileProfile422 = "PROFILE_422" ) +// Mpeg2CodecProfile_Values returns all elements of the Mpeg2CodecProfile enum +func Mpeg2CodecProfile_Values() []string { + return []string{ + Mpeg2CodecProfileMain, + Mpeg2CodecProfileProfile422, + } +} + // Choose Adaptive to improve subjective video quality for high-motion content. // This will cause the service to use fewer B-frames (which infer information // based on other frames) for high-motion portions of the video and more B-frames @@ -23092,6 +25238,14 @@ const ( Mpeg2DynamicSubGopStatic = "STATIC" ) +// Mpeg2DynamicSubGop_Values returns all elements of the Mpeg2DynamicSubGop enum +func Mpeg2DynamicSubGop_Values() []string { + return []string{ + Mpeg2DynamicSubGopAdaptive, + Mpeg2DynamicSubGopStatic, + } +} + // If you are using the console, use the Framerate setting to specify the frame // rate for this output. If you want to keep the same frame rate as the input // video, choose Follow source. If you want to do frame rate conversion, choose @@ -23111,6 +25265,14 @@ const ( Mpeg2FramerateControlSpecified = "SPECIFIED" ) +// Mpeg2FramerateControl_Values returns all elements of the Mpeg2FramerateControl enum +func Mpeg2FramerateControl_Values() []string { + return []string{ + Mpeg2FramerateControlInitializeFromSource, + Mpeg2FramerateControlSpecified, + } +} + // Optional. Specify how the transcoder performs framerate conversion. The default // behavior is to use duplicate drop conversion. const ( @@ -23121,6 +25283,14 @@ const ( Mpeg2FramerateConversionAlgorithmInterpolate = "INTERPOLATE" ) +// Mpeg2FramerateConversionAlgorithm_Values returns all elements of the Mpeg2FramerateConversionAlgorithm enum +func Mpeg2FramerateConversionAlgorithm_Values() []string { + return []string{ + Mpeg2FramerateConversionAlgorithmDuplicateDrop, + Mpeg2FramerateConversionAlgorithmInterpolate, + } +} + // Indicates if the GOP Size in MPEG2 is specified in frames or seconds. If // seconds the system will convert the GOP Size into a frame count at run time. const ( @@ -23131,6 +25301,14 @@ const ( Mpeg2GopSizeUnitsSeconds = "SECONDS" ) +// Mpeg2GopSizeUnits_Values returns all elements of the Mpeg2GopSizeUnits enum +func Mpeg2GopSizeUnits_Values() []string { + return []string{ + Mpeg2GopSizeUnitsFrames, + Mpeg2GopSizeUnitsSeconds, + } +} + // Use Interlace mode (InterlaceMode) to choose the scan line type for the output. // * Top Field First (TOP_FIELD) and Bottom Field First (BOTTOM_FIELD) produce // interlaced output with the entire output having the same field polarity (top @@ -23159,6 +25337,17 @@ const ( Mpeg2InterlaceModeFollowBottomField = "FOLLOW_BOTTOM_FIELD" ) +// Mpeg2InterlaceMode_Values returns all elements of the Mpeg2InterlaceMode enum +func Mpeg2InterlaceMode_Values() []string { + return []string{ + Mpeg2InterlaceModeProgressive, + Mpeg2InterlaceModeTopField, + Mpeg2InterlaceModeBottomField, + Mpeg2InterlaceModeFollowTopField, + Mpeg2InterlaceModeFollowBottomField, + } +} + // Use Intra DC precision (Mpeg2IntraDcPrecision) to set quantization precision // for intra-block DC coefficients. If you choose the value auto, the service // will automatically select the precision based on the per-frame compression @@ -23180,6 +25369,17 @@ const ( Mpeg2IntraDcPrecisionIntraDcPrecision11 = "INTRA_DC_PRECISION_11" ) +// Mpeg2IntraDcPrecision_Values returns all elements of the Mpeg2IntraDcPrecision enum +func Mpeg2IntraDcPrecision_Values() []string { + return []string{ + Mpeg2IntraDcPrecisionAuto, + Mpeg2IntraDcPrecisionIntraDcPrecision8, + Mpeg2IntraDcPrecisionIntraDcPrecision9, + Mpeg2IntraDcPrecisionIntraDcPrecision10, + Mpeg2IntraDcPrecisionIntraDcPrecision11, + } +} + // Optional. Specify how the service determines the pixel aspect ratio (PAR) // for this output. The default behavior, Follow source (INITIALIZE_FROM_SOURCE), // uses the PAR from your input video for your output. To specify a different @@ -23195,6 +25395,14 @@ const ( Mpeg2ParControlSpecified = "SPECIFIED" ) +// Mpeg2ParControl_Values returns all elements of the Mpeg2ParControl enum +func Mpeg2ParControl_Values() []string { + return []string{ + Mpeg2ParControlInitializeFromSource, + Mpeg2ParControlSpecified, + } +} + // Optional. Use Quality tuning level (qualityTuningLevel) to choose how you // want to trade off encoding speed for output video quality. The default behavior // is faster, lower quality, single-pass encoding. @@ -23206,6 +25414,14 @@ const ( Mpeg2QualityTuningLevelMultiPass = "MULTI_PASS" ) +// Mpeg2QualityTuningLevel_Values returns all elements of the Mpeg2QualityTuningLevel enum +func Mpeg2QualityTuningLevel_Values() []string { + return []string{ + Mpeg2QualityTuningLevelSinglePass, + Mpeg2QualityTuningLevelMultiPass, + } +} + // Use Rate control mode (Mpeg2RateControlMode) to specifiy whether the bitrate // is variable (vbr) or constant (cbr). const ( @@ -23216,6 +25432,14 @@ const ( Mpeg2RateControlModeCbr = "CBR" ) +// Mpeg2RateControlMode_Values returns all elements of the Mpeg2RateControlMode enum +func Mpeg2RateControlMode_Values() []string { + return []string{ + Mpeg2RateControlModeVbr, + Mpeg2RateControlModeCbr, + } +} + // Enable this setting to insert I-frames at scene changes that the service // automatically detects. This improves video quality and is enabled by default. const ( @@ -23226,6 +25450,14 @@ const ( Mpeg2SceneChangeDetectEnabled = "ENABLED" ) +// Mpeg2SceneChangeDetect_Values returns all elements of the Mpeg2SceneChangeDetect enum +func Mpeg2SceneChangeDetect_Values() []string { + return []string{ + Mpeg2SceneChangeDetectDisabled, + Mpeg2SceneChangeDetectEnabled, + } +} + // Enables Slow PAL rate conversion. 23.976fps and 24fps input is relabeled // as 25fps, and audio is sped up correspondingly. const ( @@ -23236,6 +25468,14 @@ const ( Mpeg2SlowPalEnabled = "ENABLED" ) +// Mpeg2SlowPal_Values returns all elements of the Mpeg2SlowPal enum +func Mpeg2SlowPal_Values() []string { + return []string{ + Mpeg2SlowPalDisabled, + Mpeg2SlowPalEnabled, + } +} + // Adjust quantization within each frame based on spatial variation of content // complexity. const ( @@ -23246,6 +25486,14 @@ const ( Mpeg2SpatialAdaptiveQuantizationEnabled = "ENABLED" ) +// Mpeg2SpatialAdaptiveQuantization_Values returns all elements of the Mpeg2SpatialAdaptiveQuantization enum +func Mpeg2SpatialAdaptiveQuantization_Values() []string { + return []string{ + Mpeg2SpatialAdaptiveQuantizationDisabled, + Mpeg2SpatialAdaptiveQuantizationEnabled, + } +} + // Produces a Type D-10 compatible bitstream (SMPTE 356M-2001). const ( // Mpeg2SyntaxDefault is a Mpeg2Syntax enum value @@ -23255,6 +25503,14 @@ const ( Mpeg2SyntaxD10 = "D_10" ) +// Mpeg2Syntax_Values returns all elements of the Mpeg2Syntax enum +func Mpeg2Syntax_Values() []string { + return []string{ + Mpeg2SyntaxDefault, + Mpeg2SyntaxD10, + } +} + // Only use Telecine (Mpeg2Telecine) when you set Framerate (Framerate) to 29.970. // Set Telecine (Mpeg2Telecine) to Hard (hard) to produce a 29.97i output from // a 23.976 input. Set it to Soft (soft) to produce 23.976 output and leave @@ -23270,6 +25526,15 @@ const ( Mpeg2TelecineHard = "HARD" ) +// Mpeg2Telecine_Values returns all elements of the Mpeg2Telecine enum +func Mpeg2Telecine_Values() []string { + return []string{ + Mpeg2TelecineNone, + Mpeg2TelecineSoft, + Mpeg2TelecineHard, + } +} + // Adjust quantization within each frame based on temporal variation of content // complexity. const ( @@ -23280,6 +25545,14 @@ const ( Mpeg2TemporalAdaptiveQuantizationEnabled = "ENABLED" ) +// Mpeg2TemporalAdaptiveQuantization_Values returns all elements of the Mpeg2TemporalAdaptiveQuantization enum +func Mpeg2TemporalAdaptiveQuantization_Values() []string { + return []string{ + Mpeg2TemporalAdaptiveQuantizationDisabled, + Mpeg2TemporalAdaptiveQuantizationEnabled, + } +} + // COMBINE_DUPLICATE_STREAMS combines identical audio encoding settings across // a Microsoft Smooth output group into a single audio stream. const ( @@ -23290,6 +25563,14 @@ const ( MsSmoothAudioDeduplicationNone = "NONE" ) +// MsSmoothAudioDeduplication_Values returns all elements of the MsSmoothAudioDeduplication enum +func MsSmoothAudioDeduplication_Values() []string { + return []string{ + MsSmoothAudioDeduplicationCombineDuplicateStreams, + MsSmoothAudioDeduplicationNone, + } +} + // Use Manifest encoding (MsSmoothManifestEncoding) to specify the encoding // format for the server and client manifest. Valid options are utf8 and utf16. const ( @@ -23300,6 +25581,14 @@ const ( MsSmoothManifestEncodingUtf16 = "UTF16" ) +// MsSmoothManifestEncoding_Values returns all elements of the MsSmoothManifestEncoding enum +func MsSmoothManifestEncoding_Values() []string { + return []string{ + MsSmoothManifestEncodingUtf8, + MsSmoothManifestEncodingUtf16, + } +} + // Optional. When you have AFD signaling set up in your output video stream, // use this setting to choose whether to also include it in the MXF wrapper. // Choose Don't copy (NO_COPY) to exclude AFD signaling from the MXF wrapper. @@ -23317,6 +25606,14 @@ const ( MxfAfdSignalingCopyFromVideo = "COPY_FROM_VIDEO" ) +// MxfAfdSignaling_Values returns all elements of the MxfAfdSignaling enum +func MxfAfdSignaling_Values() []string { + return []string{ + MxfAfdSignalingNoCopy, + MxfAfdSignalingCopyFromVideo, + } +} + // Optional. When you set Noise reducer (noiseReducer) to Temporal (TEMPORAL), // you can optionally use this setting to apply additional sharpening. The default // behavior, Auto (AUTO) allows the transcoder to determine whether to apply @@ -23332,6 +25629,15 @@ const ( NoiseFilterPostTemporalSharpeningAuto = "AUTO" ) +// NoiseFilterPostTemporalSharpening_Values returns all elements of the NoiseFilterPostTemporalSharpening enum +func NoiseFilterPostTemporalSharpening_Values() []string { + return []string{ + NoiseFilterPostTemporalSharpeningDisabled, + NoiseFilterPostTemporalSharpeningEnabled, + NoiseFilterPostTemporalSharpeningAuto, + } +} + // Use Noise reducer filter (NoiseReducerFilter) to select one of the following // spatial image filtering functions. To use this setting, you must also enable // Noise reducer (NoiseReducer). * Bilateral preserves edges while reducing @@ -23365,6 +25671,20 @@ const ( NoiseReducerFilterTemporal = "TEMPORAL" ) +// NoiseReducerFilter_Values returns all elements of the NoiseReducerFilter enum +func NoiseReducerFilter_Values() []string { + return []string{ + NoiseReducerFilterBilateral, + NoiseReducerFilterMean, + NoiseReducerFilterGaussian, + NoiseReducerFilterLanczos, + NoiseReducerFilterSharpen, + NoiseReducerFilterConserve, + NoiseReducerFilterSpatial, + NoiseReducerFilterTemporal, + } +} + // Optional. When you request lists of resources, you can specify whether they // are sorted in ASCENDING or DESCENDING order. Default varies by resource. const ( @@ -23375,6 +25695,14 @@ const ( OrderDescending = "DESCENDING" ) +// Order_Values returns all elements of the Order enum +func Order_Values() []string { + return []string{ + OrderAscending, + OrderDescending, + } +} + // Type of output group (File group, Apple HLS, DASH ISO, Microsoft Smooth Streaming, // CMAF) const ( @@ -23394,6 +25722,17 @@ const ( OutputGroupTypeCmafGroupSettings = "CMAF_GROUP_SETTINGS" ) +// OutputGroupType_Values returns all elements of the OutputGroupType enum +func OutputGroupType_Values() []string { + return []string{ + OutputGroupTypeHlsGroupSettings, + OutputGroupTypeDashIsoGroupSettings, + OutputGroupTypeFileGroupSettings, + OutputGroupTypeMsSmoothGroupSettings, + OutputGroupTypeCmafGroupSettings, + } +} + // Selects method of inserting SDT information into output stream. "Follow input // SDT" copies SDT information from input stream to output stream. "Follow input // SDT if present" copies SDT information from input stream to output stream @@ -23414,6 +25753,16 @@ const ( OutputSdtSdtNone = "SDT_NONE" ) +// OutputSdt_Values returns all elements of the OutputSdt enum +func OutputSdt_Values() []string { + return []string{ + OutputSdtSdtFollow, + OutputSdtSdtFollowIfPresent, + OutputSdtSdtManual, + OutputSdtSdtNone, + } +} + // Optional. When you request a list of presets, you can choose to list them // alphabetically by NAME or chronologically by CREATION_DATE. If you don't // specify, the service will list them by name. @@ -23428,6 +25777,15 @@ const ( PresetListBySystem = "SYSTEM" ) +// PresetListBy_Values returns all elements of the PresetListBy enum +func PresetListBy_Values() []string { + return []string{ + PresetListByName, + PresetListByCreationDate, + PresetListBySystem, + } +} + // Specifies whether the pricing plan for the queue is on-demand or reserved. // For on-demand, you pay per minute, billed in increments of .01 minute. For // reserved, you pay for the transcoding capacity of the entire queue, regardless @@ -23441,6 +25799,14 @@ const ( PricingPlanReserved = "RESERVED" ) +// PricingPlan_Values returns all elements of the PricingPlan enum +func PricingPlan_Values() []string { + return []string{ + PricingPlanOnDemand, + PricingPlanReserved, + } +} + // Use Profile (ProResCodecProfile) to specifiy the type of Apple ProRes codec // to use for this output. const ( @@ -23457,6 +25823,16 @@ const ( ProresCodecProfileAppleProres422Proxy = "APPLE_PRORES_422_PROXY" ) +// ProresCodecProfile_Values returns all elements of the ProresCodecProfile enum +func ProresCodecProfile_Values() []string { + return []string{ + ProresCodecProfileAppleProres422, + ProresCodecProfileAppleProres422Hq, + ProresCodecProfileAppleProres422Lt, + ProresCodecProfileAppleProres422Proxy, + } +} + // If you are using the console, use the Framerate setting to specify the frame // rate for this output. If you want to keep the same frame rate as the input // video, choose Follow source. If you want to do frame rate conversion, choose @@ -23476,6 +25852,14 @@ const ( ProresFramerateControlSpecified = "SPECIFIED" ) +// ProresFramerateControl_Values returns all elements of the ProresFramerateControl enum +func ProresFramerateControl_Values() []string { + return []string{ + ProresFramerateControlInitializeFromSource, + ProresFramerateControlSpecified, + } +} + // Optional. Specify how the transcoder performs framerate conversion. The default // behavior is to use duplicate drop conversion. const ( @@ -23486,6 +25870,14 @@ const ( ProresFramerateConversionAlgorithmInterpolate = "INTERPOLATE" ) +// ProresFramerateConversionAlgorithm_Values returns all elements of the ProresFramerateConversionAlgorithm enum +func ProresFramerateConversionAlgorithm_Values() []string { + return []string{ + ProresFramerateConversionAlgorithmDuplicateDrop, + ProresFramerateConversionAlgorithmInterpolate, + } +} + // Use Interlace mode (InterlaceMode) to choose the scan line type for the output. // * Top Field First (TOP_FIELD) and Bottom Field First (BOTTOM_FIELD) produce // interlaced output with the entire output having the same field polarity (top @@ -23514,6 +25906,17 @@ const ( ProresInterlaceModeFollowBottomField = "FOLLOW_BOTTOM_FIELD" ) +// ProresInterlaceMode_Values returns all elements of the ProresInterlaceMode enum +func ProresInterlaceMode_Values() []string { + return []string{ + ProresInterlaceModeProgressive, + ProresInterlaceModeTopField, + ProresInterlaceModeBottomField, + ProresInterlaceModeFollowTopField, + ProresInterlaceModeFollowBottomField, + } +} + // Optional. Specify how the service determines the pixel aspect ratio (PAR) // for this output. The default behavior, Follow source (INITIALIZE_FROM_SOURCE), // uses the PAR from your input video for your output. To specify a different @@ -23529,6 +25932,14 @@ const ( ProresParControlSpecified = "SPECIFIED" ) +// ProresParControl_Values returns all elements of the ProresParControl enum +func ProresParControl_Values() []string { + return []string{ + ProresParControlInitializeFromSource, + ProresParControlSpecified, + } +} + // Enables Slow PAL rate conversion. 23.976fps and 24fps input is relabeled // as 25fps, and audio is sped up correspondingly. const ( @@ -23539,6 +25950,14 @@ const ( ProresSlowPalEnabled = "ENABLED" ) +// ProresSlowPal_Values returns all elements of the ProresSlowPal enum +func ProresSlowPal_Values() []string { + return []string{ + ProresSlowPalDisabled, + ProresSlowPalEnabled, + } +} + // Only use Telecine (ProresTelecine) when you set Framerate (Framerate) to // 29.970. Set Telecine (ProresTelecine) to Hard (hard) to produce a 29.97i // output from a 23.976 input. Set it to Soft (soft) to produce 23.976 output @@ -23551,6 +25970,14 @@ const ( ProresTelecineHard = "HARD" ) +// ProresTelecine_Values returns all elements of the ProresTelecine enum +func ProresTelecine_Values() []string { + return []string{ + ProresTelecineNone, + ProresTelecineHard, + } +} + // Optional. When you request a list of queues, you can choose to list them // alphabetically by NAME or chronologically by CREATION_DATE. If you don't // specify, the service will list them by creation date. @@ -23562,6 +25989,14 @@ const ( QueueListByCreationDate = "CREATION_DATE" ) +// QueueListBy_Values returns all elements of the QueueListBy enum +func QueueListBy_Values() []string { + return []string{ + QueueListByName, + QueueListByCreationDate, + } +} + // Queues can be ACTIVE or PAUSED. If you pause a queue, jobs in that queue // won't begin. Jobs that are running when you pause a queue continue to run // until they finish or result in an error. @@ -23573,6 +26008,14 @@ const ( QueueStatusPaused = "PAUSED" ) +// QueueStatus_Values returns all elements of the QueueStatus enum +func QueueStatus_Values() []string { + return []string{ + QueueStatusActive, + QueueStatusPaused, + } +} + // Specifies whether the term of your reserved queue pricing plan is automatically // extended (AUTO_RENEW) or expires (EXPIRE) at the end of the term. const ( @@ -23583,6 +26026,14 @@ const ( RenewalTypeExpire = "EXPIRE" ) +// RenewalType_Values returns all elements of the RenewalType enum +func RenewalType_Values() []string { + return []string{ + RenewalTypeAutoRenew, + RenewalTypeExpire, + } +} + // Specifies whether the pricing plan for your reserved queue is ACTIVE or EXPIRED. const ( // ReservationPlanStatusActive is a ReservationPlanStatus enum value @@ -23592,6 +26043,14 @@ const ( ReservationPlanStatusExpired = "EXPIRED" ) +// ReservationPlanStatus_Values returns all elements of the ReservationPlanStatus enum +func ReservationPlanStatus_Values() []string { + return []string{ + ReservationPlanStatusActive, + ReservationPlanStatusExpired, + } +} + // Use Respond to AFD (RespondToAfd) to specify how the service changes the // video itself in response to AFD values in the input. * Choose Respond to // clip the input video frame according to the AFD value, input display aspect @@ -23611,6 +26070,15 @@ const ( RespondToAfdPassthrough = "PASSTHROUGH" ) +// RespondToAfd_Values returns all elements of the RespondToAfd enum +func RespondToAfd_Values() []string { + return []string{ + RespondToAfdNone, + RespondToAfdRespond, + RespondToAfdPassthrough, + } +} + // Choose an Amazon S3 canned ACL for MediaConvert to apply to this output. const ( // S3ObjectCannedAclPublicRead is a S3ObjectCannedAcl enum value @@ -23626,6 +26094,16 @@ const ( S3ObjectCannedAclBucketOwnerFullControl = "BUCKET_OWNER_FULL_CONTROL" ) +// S3ObjectCannedAcl_Values returns all elements of the S3ObjectCannedAcl enum +func S3ObjectCannedAcl_Values() []string { + return []string{ + S3ObjectCannedAclPublicRead, + S3ObjectCannedAclAuthenticatedRead, + S3ObjectCannedAclBucketOwnerRead, + S3ObjectCannedAclBucketOwnerFullControl, + } +} + // Specify how you want your data keys managed. AWS uses data keys to encrypt // your content. AWS also encrypts the data keys themselves, using a customer // master key (CMK), and then stores the encrypted data keys alongside your @@ -23645,6 +26123,14 @@ const ( S3ServerSideEncryptionTypeServerSideEncryptionKms = "SERVER_SIDE_ENCRYPTION_KMS" ) +// S3ServerSideEncryptionType_Values returns all elements of the S3ServerSideEncryptionType enum +func S3ServerSideEncryptionType_Values() []string { + return []string{ + S3ServerSideEncryptionTypeServerSideEncryptionS3, + S3ServerSideEncryptionTypeServerSideEncryptionKms, + } +} + // Specify how the service handles outputs that have a different aspect ratio // from the input aspect ratio. Choose Stretch to output (STRETCH_TO_OUTPUT) // to have the service stretch your video image to fit. Keep the setting Default @@ -23659,6 +26145,14 @@ const ( ScalingBehaviorStretchToOutput = "STRETCH_TO_OUTPUT" ) +// ScalingBehavior_Values returns all elements of the ScalingBehavior enum +func ScalingBehavior_Values() []string { + return []string{ + ScalingBehaviorDefault, + ScalingBehaviorStretchToOutput, + } +} + // Set Framerate (SccDestinationFramerate) to make sure that the captions and // the video are synchronized in the output. Specify a frame rate that matches // the frame rate of the associated video. If the video frame rate is 29.97, @@ -23682,6 +26176,17 @@ const ( SccDestinationFramerateFramerate2997NonDropframe = "FRAMERATE_29_97_NON_DROPFRAME" ) +// SccDestinationFramerate_Values returns all elements of the SccDestinationFramerate enum +func SccDestinationFramerate_Values() []string { + return []string{ + SccDestinationFramerateFramerate2397, + SccDestinationFramerateFramerate24, + SccDestinationFramerateFramerate25, + SccDestinationFramerateFramerate2997Dropframe, + SccDestinationFramerateFramerate2997NonDropframe, + } +} + // Enable this setting when you run a test job to estimate how many reserved // transcoding slots (RTS) you need. When this is enabled, MediaConvert runs // your job from an on-demand queue with similar performance to what you will @@ -23694,6 +26199,14 @@ const ( SimulateReservedQueueEnabled = "ENABLED" ) +// SimulateReservedQueue_Values returns all elements of the SimulateReservedQueue enum +func SimulateReservedQueue_Values() []string { + return []string{ + SimulateReservedQueueDisabled, + SimulateReservedQueueEnabled, + } +} + // Specify how often MediaConvert sends STATUS_UPDATE events to Amazon CloudWatch // Events. Set the interval, in seconds, between status updates. MediaConvert // sends an update at this interval from the time the service begins processing @@ -23745,6 +26258,27 @@ const ( StatusUpdateIntervalSeconds600 = "SECONDS_600" ) +// StatusUpdateInterval_Values returns all elements of the StatusUpdateInterval enum +func StatusUpdateInterval_Values() []string { + return []string{ + StatusUpdateIntervalSeconds10, + StatusUpdateIntervalSeconds12, + StatusUpdateIntervalSeconds15, + StatusUpdateIntervalSeconds20, + StatusUpdateIntervalSeconds30, + StatusUpdateIntervalSeconds60, + StatusUpdateIntervalSeconds120, + StatusUpdateIntervalSeconds180, + StatusUpdateIntervalSeconds240, + StatusUpdateIntervalSeconds300, + StatusUpdateIntervalSeconds360, + StatusUpdateIntervalSeconds420, + StatusUpdateIntervalSeconds480, + StatusUpdateIntervalSeconds540, + StatusUpdateIntervalSeconds600, + } +} + // A page type as defined in the standard ETSI EN 300 468, Table 94 const ( // TeletextPageTypePageTypeInitial is a TeletextPageType enum value @@ -23763,6 +26297,17 @@ const ( TeletextPageTypePageTypeHearingImpairedSubtitle = "PAGE_TYPE_HEARING_IMPAIRED_SUBTITLE" ) +// TeletextPageType_Values returns all elements of the TeletextPageType enum +func TeletextPageType_Values() []string { + return []string{ + TeletextPageTypePageTypeInitial, + TeletextPageTypePageTypeSubtitle, + TeletextPageTypePageTypeAddlInfo, + TeletextPageTypePageTypeProgramSchedule, + TeletextPageTypePageTypeHearingImpairedSubtitle, + } +} + // Use Position (Position) under under Timecode burn-in (TimecodeBurnIn) to // specify the location the burned-in timecode on output video. const ( @@ -23794,6 +26339,21 @@ const ( TimecodeBurninPositionBottomRight = "BOTTOM_RIGHT" ) +// TimecodeBurninPosition_Values returns all elements of the TimecodeBurninPosition enum +func TimecodeBurninPosition_Values() []string { + return []string{ + TimecodeBurninPositionTopCenter, + TimecodeBurninPositionTopLeft, + TimecodeBurninPositionTopRight, + TimecodeBurninPositionMiddleLeft, + TimecodeBurninPositionMiddleCenter, + TimecodeBurninPositionMiddleRight, + TimecodeBurninPositionBottomLeft, + TimecodeBurninPositionBottomCenter, + TimecodeBurninPositionBottomRight, + } +} + // Use Source (TimecodeSource) to set how timecodes are handled within this // job. To make sure that your video, audio, captions, and markers are synchronized // and that time-based features, such as image inserter, work correctly, choose @@ -23816,6 +26376,15 @@ const ( TimecodeSourceSpecifiedstart = "SPECIFIEDSTART" ) +// TimecodeSource_Values returns all elements of the TimecodeSource enum +func TimecodeSource_Values() []string { + return []string{ + TimecodeSourceEmbedded, + TimecodeSourceZerobased, + TimecodeSourceSpecifiedstart, + } +} + // Applies only to HLS outputs. Use this setting to specify whether the service // inserts the ID3 timed metadata from the input in this output. const ( @@ -23826,6 +26395,14 @@ const ( TimedMetadataNone = "NONE" ) +// TimedMetadata_Values returns all elements of the TimedMetadata enum +func TimedMetadata_Values() []string { + return []string{ + TimedMetadataPassthrough, + TimedMetadataNone, + } +} + // Pass through style and position information from a TTML-like input source // (TTML, SMPTE-TT) to the TTML output. const ( @@ -23836,6 +26413,14 @@ const ( TtmlStylePassthroughDisabled = "DISABLED" ) +// TtmlStylePassthrough_Values returns all elements of the TtmlStylePassthrough enum +func TtmlStylePassthrough_Values() []string { + return []string{ + TtmlStylePassthroughEnabled, + TtmlStylePassthroughDisabled, + } +} + const ( // TypeSystem is a Type enum value TypeSystem = "SYSTEM" @@ -23844,6 +26429,14 @@ const ( TypeCustom = "CUSTOM" ) +// Type_Values returns all elements of the Type enum +func Type_Values() []string { + return []string{ + TypeSystem, + TypeCustom, + } +} + // Type of video codec const ( // VideoCodecFrameCapture is a VideoCodec enum value @@ -23871,6 +26464,20 @@ const ( VideoCodecVp9 = "VP9" ) +// VideoCodec_Values returns all elements of the VideoCodec enum +func VideoCodec_Values() []string { + return []string{ + VideoCodecFrameCapture, + VideoCodecAv1, + VideoCodecH264, + VideoCodecH265, + VideoCodecMpeg2, + VideoCodecProres, + VideoCodecVp8, + VideoCodecVp9, + } +} + // Applies only to H.264, H.265, MPEG2, and ProRes outputs. Only enable Timecode // insertion when the input frame rate is identical to the output frame rate. // To include timecodes in this output, set Timecode insertion (VideoTimecodeInsertion) @@ -23891,6 +26498,14 @@ const ( VideoTimecodeInsertionPicTimingSei = "PIC_TIMING_SEI" ) +// VideoTimecodeInsertion_Values returns all elements of the VideoTimecodeInsertion enum +func VideoTimecodeInsertion_Values() []string { + return []string{ + VideoTimecodeInsertionDisabled, + VideoTimecodeInsertionPicTimingSei, + } +} + // If you are using the console, use the Framerate setting to specify the frame // rate for this output. If you want to keep the same frame rate as the input // video, choose Follow source. If you want to do frame rate conversion, choose @@ -23910,6 +26525,14 @@ const ( Vp8FramerateControlSpecified = "SPECIFIED" ) +// Vp8FramerateControl_Values returns all elements of the Vp8FramerateControl enum +func Vp8FramerateControl_Values() []string { + return []string{ + Vp8FramerateControlInitializeFromSource, + Vp8FramerateControlSpecified, + } +} + // Optional. Specify how the transcoder performs framerate conversion. The default // behavior is to use Drop duplicate (DUPLICATE_DROP) conversion. When you choose // Interpolate (INTERPOLATE) instead, the conversion produces smoother motion. @@ -23921,6 +26544,14 @@ const ( Vp8FramerateConversionAlgorithmInterpolate = "INTERPOLATE" ) +// Vp8FramerateConversionAlgorithm_Values returns all elements of the Vp8FramerateConversionAlgorithm enum +func Vp8FramerateConversionAlgorithm_Values() []string { + return []string{ + Vp8FramerateConversionAlgorithmDuplicateDrop, + Vp8FramerateConversionAlgorithmInterpolate, + } +} + // Optional. Specify how the service determines the pixel aspect ratio (PAR) // for this output. The default behavior, Follow source (INITIALIZE_FROM_SOURCE), // uses the PAR from your input video for your output. To specify a different @@ -23936,6 +26567,14 @@ const ( Vp8ParControlSpecified = "SPECIFIED" ) +// Vp8ParControl_Values returns all elements of the Vp8ParControl enum +func Vp8ParControl_Values() []string { + return []string{ + Vp8ParControlInitializeFromSource, + Vp8ParControlSpecified, + } +} + // Optional. Use Quality tuning level (qualityTuningLevel) to choose how you // want to trade off encoding speed for output video quality. The default behavior // is faster, lower quality, multi-pass encoding. @@ -23947,6 +26586,14 @@ const ( Vp8QualityTuningLevelMultiPassHq = "MULTI_PASS_HQ" ) +// Vp8QualityTuningLevel_Values returns all elements of the Vp8QualityTuningLevel enum +func Vp8QualityTuningLevel_Values() []string { + return []string{ + Vp8QualityTuningLevelMultiPass, + Vp8QualityTuningLevelMultiPassHq, + } +} + // With the VP8 codec, you can use only the variable bitrate (VBR) rate control // mode. const ( @@ -23954,6 +26601,13 @@ const ( Vp8RateControlModeVbr = "VBR" ) +// Vp8RateControlMode_Values returns all elements of the Vp8RateControlMode enum +func Vp8RateControlMode_Values() []string { + return []string{ + Vp8RateControlModeVbr, + } +} + // If you are using the console, use the Framerate setting to specify the frame // rate for this output. If you want to keep the same frame rate as the input // video, choose Follow source. If you want to do frame rate conversion, choose @@ -23973,6 +26627,14 @@ const ( Vp9FramerateControlSpecified = "SPECIFIED" ) +// Vp9FramerateControl_Values returns all elements of the Vp9FramerateControl enum +func Vp9FramerateControl_Values() []string { + return []string{ + Vp9FramerateControlInitializeFromSource, + Vp9FramerateControlSpecified, + } +} + // Optional. Specify how the transcoder performs framerate conversion. The default // behavior is to use Drop duplicate (DUPLICATE_DROP) conversion. When you choose // Interpolate (INTERPOLATE) instead, the conversion produces smoother motion. @@ -23984,6 +26646,14 @@ const ( Vp9FramerateConversionAlgorithmInterpolate = "INTERPOLATE" ) +// Vp9FramerateConversionAlgorithm_Values returns all elements of the Vp9FramerateConversionAlgorithm enum +func Vp9FramerateConversionAlgorithm_Values() []string { + return []string{ + Vp9FramerateConversionAlgorithmDuplicateDrop, + Vp9FramerateConversionAlgorithmInterpolate, + } +} + // Optional. Specify how the service determines the pixel aspect ratio (PAR) // for this output. The default behavior, Follow source (INITIALIZE_FROM_SOURCE), // uses the PAR from your input video for your output. To specify a different @@ -23999,6 +26669,14 @@ const ( Vp9ParControlSpecified = "SPECIFIED" ) +// Vp9ParControl_Values returns all elements of the Vp9ParControl enum +func Vp9ParControl_Values() []string { + return []string{ + Vp9ParControlInitializeFromSource, + Vp9ParControlSpecified, + } +} + // Optional. Use Quality tuning level (qualityTuningLevel) to choose how you // want to trade off encoding speed for output video quality. The default behavior // is faster, lower quality, multi-pass encoding. @@ -24010,6 +26688,14 @@ const ( Vp9QualityTuningLevelMultiPassHq = "MULTI_PASS_HQ" ) +// Vp9QualityTuningLevel_Values returns all elements of the Vp9QualityTuningLevel enum +func Vp9QualityTuningLevel_Values() []string { + return []string{ + Vp9QualityTuningLevelMultiPass, + Vp9QualityTuningLevelMultiPassHq, + } +} + // With the VP9 codec, you can use only the variable bitrate (VBR) rate control // mode. const ( @@ -24017,6 +26703,13 @@ const ( Vp9RateControlModeVbr = "VBR" ) +// Vp9RateControlMode_Values returns all elements of the Vp9RateControlMode enum +func Vp9RateControlMode_Values() []string { + return []string{ + Vp9RateControlModeVbr, + } +} + // Optional. Ignore this setting unless Nagra support directs you to specify // a value. When you don't specify a value here, the Nagra NexGuard library // uses its default value. @@ -24037,6 +26730,17 @@ const ( WatermarkingStrengthStrongest = "STRONGEST" ) +// WatermarkingStrength_Values returns all elements of the WatermarkingStrength enum +func WatermarkingStrength_Values() []string { + return []string{ + WatermarkingStrengthLightest, + WatermarkingStrengthLighter, + WatermarkingStrengthDefault, + WatermarkingStrengthStronger, + WatermarkingStrengthStrongest, + } +} + // The service defaults to using RIFF for WAV outputs. If your output audio // is likely to exceed 4 GB in file size, or if you otherwise need the extended // support of the RF64 format, set your output WAV file format to RF64. @@ -24047,3 +26751,11 @@ const ( // WavFormatRf64 is a WavFormat enum value WavFormatRf64 = "RF64" ) + +// WavFormat_Values returns all elements of the WavFormat enum +func WavFormat_Values() []string { + return []string{ + WavFormatRiff, + WavFormatRf64, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/medialive/api.go b/vendor/github.com/aws/aws-sdk-go/service/medialive/api.go index c9c8bae210f..727f7aa9dfa 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/medialive/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/medialive/api.go @@ -23988,6 +23988,17 @@ const ( AacCodingModeCodingMode51 = "CODING_MODE_5_1" ) +// AacCodingMode_Values returns all elements of the AacCodingMode enum +func AacCodingMode_Values() []string { + return []string{ + AacCodingModeAdReceiverMix, + AacCodingModeCodingMode10, + AacCodingModeCodingMode11, + AacCodingModeCodingMode20, + AacCodingModeCodingMode51, + } +} + // Aac Input Type const ( // AacInputTypeBroadcasterMixedAd is a AacInputType enum value @@ -23997,6 +24008,14 @@ const ( AacInputTypeNormal = "NORMAL" ) +// AacInputType_Values returns all elements of the AacInputType enum +func AacInputType_Values() []string { + return []string{ + AacInputTypeBroadcasterMixedAd, + AacInputTypeNormal, + } +} + // Aac Profile const ( // AacProfileHev1 is a AacProfile enum value @@ -24009,6 +24028,15 @@ const ( AacProfileLc = "LC" ) +// AacProfile_Values returns all elements of the AacProfile enum +func AacProfile_Values() []string { + return []string{ + AacProfileHev1, + AacProfileHev2, + AacProfileLc, + } +} + // Aac Rate Control Mode const ( // AacRateControlModeCbr is a AacRateControlMode enum value @@ -24018,6 +24046,14 @@ const ( AacRateControlModeVbr = "VBR" ) +// AacRateControlMode_Values returns all elements of the AacRateControlMode enum +func AacRateControlMode_Values() []string { + return []string{ + AacRateControlModeCbr, + AacRateControlModeVbr, + } +} + // Aac Raw Format const ( // AacRawFormatLatmLoas is a AacRawFormat enum value @@ -24027,6 +24063,14 @@ const ( AacRawFormatNone = "NONE" ) +// AacRawFormat_Values returns all elements of the AacRawFormat enum +func AacRawFormat_Values() []string { + return []string{ + AacRawFormatLatmLoas, + AacRawFormatNone, + } +} + // Aac Spec const ( // AacSpecMpeg2 is a AacSpec enum value @@ -24036,6 +24080,14 @@ const ( AacSpecMpeg4 = "MPEG4" ) +// AacSpec_Values returns all elements of the AacSpec enum +func AacSpec_Values() []string { + return []string{ + AacSpecMpeg2, + AacSpecMpeg4, + } +} + // Aac Vbr Quality const ( // AacVbrQualityHigh is a AacVbrQuality enum value @@ -24051,6 +24103,16 @@ const ( AacVbrQualityMediumLow = "MEDIUM_LOW" ) +// AacVbrQuality_Values returns all elements of the AacVbrQuality enum +func AacVbrQuality_Values() []string { + return []string{ + AacVbrQualityHigh, + AacVbrQualityLow, + AacVbrQualityMediumHigh, + AacVbrQualityMediumLow, + } +} + // Ac3 Bitstream Mode const ( // Ac3BitstreamModeCommentary is a Ac3BitstreamMode enum value @@ -24078,6 +24140,20 @@ const ( Ac3BitstreamModeVoiceOver = "VOICE_OVER" ) +// Ac3BitstreamMode_Values returns all elements of the Ac3BitstreamMode enum +func Ac3BitstreamMode_Values() []string { + return []string{ + Ac3BitstreamModeCommentary, + Ac3BitstreamModeCompleteMain, + Ac3BitstreamModeDialogue, + Ac3BitstreamModeEmergency, + Ac3BitstreamModeHearingImpaired, + Ac3BitstreamModeMusicAndEffects, + Ac3BitstreamModeVisuallyImpaired, + Ac3BitstreamModeVoiceOver, + } +} + // Ac3 Coding Mode const ( // Ac3CodingModeCodingMode10 is a Ac3CodingMode enum value @@ -24093,6 +24169,16 @@ const ( Ac3CodingModeCodingMode32Lfe = "CODING_MODE_3_2_LFE" ) +// Ac3CodingMode_Values returns all elements of the Ac3CodingMode enum +func Ac3CodingMode_Values() []string { + return []string{ + Ac3CodingModeCodingMode10, + Ac3CodingModeCodingMode11, + Ac3CodingModeCodingMode20, + Ac3CodingModeCodingMode32Lfe, + } +} + // Ac3 Drc Profile const ( // Ac3DrcProfileFilmStandard is a Ac3DrcProfile enum value @@ -24102,6 +24188,14 @@ const ( Ac3DrcProfileNone = "NONE" ) +// Ac3DrcProfile_Values returns all elements of the Ac3DrcProfile enum +func Ac3DrcProfile_Values() []string { + return []string{ + Ac3DrcProfileFilmStandard, + Ac3DrcProfileNone, + } +} + // Ac3 Lfe Filter const ( // Ac3LfeFilterDisabled is a Ac3LfeFilter enum value @@ -24111,6 +24205,14 @@ const ( Ac3LfeFilterEnabled = "ENABLED" ) +// Ac3LfeFilter_Values returns all elements of the Ac3LfeFilter enum +func Ac3LfeFilter_Values() []string { + return []string{ + Ac3LfeFilterDisabled, + Ac3LfeFilterEnabled, + } +} + // Ac3 Metadata Control const ( // Ac3MetadataControlFollowInput is a Ac3MetadataControl enum value @@ -24120,12 +24222,27 @@ const ( Ac3MetadataControlUseConfigured = "USE_CONFIGURED" ) +// Ac3MetadataControl_Values returns all elements of the Ac3MetadataControl enum +func Ac3MetadataControl_Values() []string { + return []string{ + Ac3MetadataControlFollowInput, + Ac3MetadataControlUseConfigured, + } +} + // Accept Header const ( // AcceptHeaderImageJpeg is a AcceptHeader enum value AcceptHeaderImageJpeg = "image/jpeg" ) +// AcceptHeader_Values returns all elements of the AcceptHeader enum +func AcceptHeader_Values() []string { + return []string{ + AcceptHeaderImageJpeg, + } +} + // Afd Signaling const ( // AfdSignalingAuto is a AfdSignaling enum value @@ -24138,6 +24255,15 @@ const ( AfdSignalingNone = "NONE" ) +// AfdSignaling_Values returns all elements of the AfdSignaling enum +func AfdSignaling_Values() []string { + return []string{ + AfdSignalingAuto, + AfdSignalingFixed, + AfdSignalingNone, + } +} + // Audio Description Audio Type Control const ( // AudioDescriptionAudioTypeControlFollowInput is a AudioDescriptionAudioTypeControl enum value @@ -24147,6 +24273,14 @@ const ( AudioDescriptionAudioTypeControlUseConfigured = "USE_CONFIGURED" ) +// AudioDescriptionAudioTypeControl_Values returns all elements of the AudioDescriptionAudioTypeControl enum +func AudioDescriptionAudioTypeControl_Values() []string { + return []string{ + AudioDescriptionAudioTypeControlFollowInput, + AudioDescriptionAudioTypeControlUseConfigured, + } +} + // Audio Description Language Code Control const ( // AudioDescriptionLanguageCodeControlFollowInput is a AudioDescriptionLanguageCodeControl enum value @@ -24156,6 +24290,14 @@ const ( AudioDescriptionLanguageCodeControlUseConfigured = "USE_CONFIGURED" ) +// AudioDescriptionLanguageCodeControl_Values returns all elements of the AudioDescriptionLanguageCodeControl enum +func AudioDescriptionLanguageCodeControl_Values() []string { + return []string{ + AudioDescriptionLanguageCodeControlFollowInput, + AudioDescriptionLanguageCodeControlUseConfigured, + } +} + // Audio Language Selection Policy const ( // AudioLanguageSelectionPolicyLoose is a AudioLanguageSelectionPolicy enum value @@ -24165,6 +24307,14 @@ const ( AudioLanguageSelectionPolicyStrict = "STRICT" ) +// AudioLanguageSelectionPolicy_Values returns all elements of the AudioLanguageSelectionPolicy enum +func AudioLanguageSelectionPolicy_Values() []string { + return []string{ + AudioLanguageSelectionPolicyLoose, + AudioLanguageSelectionPolicyStrict, + } +} + // Audio Normalization Algorithm const ( // AudioNormalizationAlgorithmItu17701 is a AudioNormalizationAlgorithm enum value @@ -24174,12 +24324,27 @@ const ( AudioNormalizationAlgorithmItu17702 = "ITU_1770_2" ) +// AudioNormalizationAlgorithm_Values returns all elements of the AudioNormalizationAlgorithm enum +func AudioNormalizationAlgorithm_Values() []string { + return []string{ + AudioNormalizationAlgorithmItu17701, + AudioNormalizationAlgorithmItu17702, + } +} + // Audio Normalization Algorithm Control const ( // AudioNormalizationAlgorithmControlCorrectAudio is a AudioNormalizationAlgorithmControl enum value AudioNormalizationAlgorithmControlCorrectAudio = "CORRECT_AUDIO" ) +// AudioNormalizationAlgorithmControl_Values returns all elements of the AudioNormalizationAlgorithmControl enum +func AudioNormalizationAlgorithmControl_Values() []string { + return []string{ + AudioNormalizationAlgorithmControlCorrectAudio, + } +} + // Audio Only Hls Segment Type const ( // AudioOnlyHlsSegmentTypeAac is a AudioOnlyHlsSegmentType enum value @@ -24189,6 +24354,14 @@ const ( AudioOnlyHlsSegmentTypeFmp4 = "FMP4" ) +// AudioOnlyHlsSegmentType_Values returns all elements of the AudioOnlyHlsSegmentType enum +func AudioOnlyHlsSegmentType_Values() []string { + return []string{ + AudioOnlyHlsSegmentTypeAac, + AudioOnlyHlsSegmentTypeFmp4, + } +} + // Audio Only Hls Track Type const ( // AudioOnlyHlsTrackTypeAlternateAudioAutoSelect is a AudioOnlyHlsTrackType enum value @@ -24204,6 +24377,16 @@ const ( AudioOnlyHlsTrackTypeAudioOnlyVariantStream = "AUDIO_ONLY_VARIANT_STREAM" ) +// AudioOnlyHlsTrackType_Values returns all elements of the AudioOnlyHlsTrackType enum +func AudioOnlyHlsTrackType_Values() []string { + return []string{ + AudioOnlyHlsTrackTypeAlternateAudioAutoSelect, + AudioOnlyHlsTrackTypeAlternateAudioAutoSelectDefault, + AudioOnlyHlsTrackTypeAlternateAudioNotAutoSelect, + AudioOnlyHlsTrackTypeAudioOnlyVariantStream, + } +} + // Audio Type const ( // AudioTypeCleanEffects is a AudioType enum value @@ -24219,6 +24402,16 @@ const ( AudioTypeVisualImpairedCommentary = "VISUAL_IMPAIRED_COMMENTARY" ) +// AudioType_Values returns all elements of the AudioType enum +func AudioType_Values() []string { + return []string{ + AudioTypeCleanEffects, + AudioTypeHearingImpaired, + AudioTypeUndefined, + AudioTypeVisualImpairedCommentary, + } +} + // Authentication Scheme const ( // AuthenticationSchemeAkamai is a AuthenticationScheme enum value @@ -24228,6 +24421,14 @@ const ( AuthenticationSchemeCommon = "COMMON" ) +// AuthenticationScheme_Values returns all elements of the AuthenticationScheme enum +func AuthenticationScheme_Values() []string { + return []string{ + AuthenticationSchemeAkamai, + AuthenticationSchemeCommon, + } +} + // Avail Blanking State const ( // AvailBlankingStateDisabled is a AvailBlankingState enum value @@ -24237,6 +24438,14 @@ const ( AvailBlankingStateEnabled = "ENABLED" ) +// AvailBlankingState_Values returns all elements of the AvailBlankingState enum +func AvailBlankingState_Values() []string { + return []string{ + AvailBlankingStateDisabled, + AvailBlankingStateEnabled, + } +} + // Blackout Slate Network End Blackout const ( // BlackoutSlateNetworkEndBlackoutDisabled is a BlackoutSlateNetworkEndBlackout enum value @@ -24246,6 +24455,14 @@ const ( BlackoutSlateNetworkEndBlackoutEnabled = "ENABLED" ) +// BlackoutSlateNetworkEndBlackout_Values returns all elements of the BlackoutSlateNetworkEndBlackout enum +func BlackoutSlateNetworkEndBlackout_Values() []string { + return []string{ + BlackoutSlateNetworkEndBlackoutDisabled, + BlackoutSlateNetworkEndBlackoutEnabled, + } +} + // Blackout Slate State const ( // BlackoutSlateStateDisabled is a BlackoutSlateState enum value @@ -24255,6 +24472,14 @@ const ( BlackoutSlateStateEnabled = "ENABLED" ) +// BlackoutSlateState_Values returns all elements of the BlackoutSlateState enum +func BlackoutSlateState_Values() []string { + return []string{ + BlackoutSlateStateDisabled, + BlackoutSlateStateEnabled, + } +} + // Burn In Alignment const ( // BurnInAlignmentCentered is a BurnInAlignment enum value @@ -24267,6 +24492,15 @@ const ( BurnInAlignmentSmart = "SMART" ) +// BurnInAlignment_Values returns all elements of the BurnInAlignment enum +func BurnInAlignment_Values() []string { + return []string{ + BurnInAlignmentCentered, + BurnInAlignmentLeft, + BurnInAlignmentSmart, + } +} + // Burn In Background Color const ( // BurnInBackgroundColorBlack is a BurnInBackgroundColor enum value @@ -24279,6 +24513,15 @@ const ( BurnInBackgroundColorWhite = "WHITE" ) +// BurnInBackgroundColor_Values returns all elements of the BurnInBackgroundColor enum +func BurnInBackgroundColor_Values() []string { + return []string{ + BurnInBackgroundColorBlack, + BurnInBackgroundColorNone, + BurnInBackgroundColorWhite, + } +} + // Burn In Font Color const ( // BurnInFontColorBlack is a BurnInFontColor enum value @@ -24300,6 +24543,18 @@ const ( BurnInFontColorYellow = "YELLOW" ) +// BurnInFontColor_Values returns all elements of the BurnInFontColor enum +func BurnInFontColor_Values() []string { + return []string{ + BurnInFontColorBlack, + BurnInFontColorBlue, + BurnInFontColorGreen, + BurnInFontColorRed, + BurnInFontColorWhite, + BurnInFontColorYellow, + } +} + // Burn In Outline Color const ( // BurnInOutlineColorBlack is a BurnInOutlineColor enum value @@ -24321,6 +24576,18 @@ const ( BurnInOutlineColorYellow = "YELLOW" ) +// BurnInOutlineColor_Values returns all elements of the BurnInOutlineColor enum +func BurnInOutlineColor_Values() []string { + return []string{ + BurnInOutlineColorBlack, + BurnInOutlineColorBlue, + BurnInOutlineColorGreen, + BurnInOutlineColorRed, + BurnInOutlineColorWhite, + BurnInOutlineColorYellow, + } +} + // Burn In Shadow Color const ( // BurnInShadowColorBlack is a BurnInShadowColor enum value @@ -24333,6 +24600,15 @@ const ( BurnInShadowColorWhite = "WHITE" ) +// BurnInShadowColor_Values returns all elements of the BurnInShadowColor enum +func BurnInShadowColor_Values() []string { + return []string{ + BurnInShadowColorBlack, + BurnInShadowColorNone, + BurnInShadowColorWhite, + } +} + // Burn In Teletext Grid Control const ( // BurnInTeletextGridControlFixed is a BurnInTeletextGridControl enum value @@ -24342,6 +24618,14 @@ const ( BurnInTeletextGridControlScaled = "SCALED" ) +// BurnInTeletextGridControl_Values returns all elements of the BurnInTeletextGridControl enum +func BurnInTeletextGridControl_Values() []string { + return []string{ + BurnInTeletextGridControlFixed, + BurnInTeletextGridControlScaled, + } +} + // A standard channel has two encoding pipelines and a single pipeline channel // only has one. const ( @@ -24352,6 +24636,14 @@ const ( ChannelClassSinglePipeline = "SINGLE_PIPELINE" ) +// ChannelClass_Values returns all elements of the ChannelClass enum +func ChannelClass_Values() []string { + return []string{ + ChannelClassStandard, + ChannelClassSinglePipeline, + } +} + const ( // ChannelStateCreating is a ChannelState enum value ChannelStateCreating = "CREATING" @@ -24387,11 +24679,35 @@ const ( ChannelStateUpdateFailed = "UPDATE_FAILED" ) +// ChannelState_Values returns all elements of the ChannelState enum +func ChannelState_Values() []string { + return []string{ + ChannelStateCreating, + ChannelStateCreateFailed, + ChannelStateIdle, + ChannelStateStarting, + ChannelStateRunning, + ChannelStateRecovering, + ChannelStateStopping, + ChannelStateDeleting, + ChannelStateDeleted, + ChannelStateUpdating, + ChannelStateUpdateFailed, + } +} + const ( // ContentTypeImageJpeg is a ContentType enum value ContentTypeImageJpeg = "image/jpeg" ) +// ContentType_Values returns all elements of the ContentType enum +func ContentType_Values() []string { + return []string{ + ContentTypeImageJpeg, + } +} + // The status of the action to synchronize the device configuration. If you // change the configuration of the input device (for example, the maximum bitrate), // MediaLive sends the new data to the device. The device might not update itself @@ -24405,6 +24721,14 @@ const ( DeviceSettingsSyncStateSyncing = "SYNCING" ) +// DeviceSettingsSyncState_Values returns all elements of the DeviceSettingsSyncState enum +func DeviceSettingsSyncState_Values() []string { + return []string{ + DeviceSettingsSyncStateSynced, + DeviceSettingsSyncStateSyncing, + } +} + // Dvb Sdt Output Sdt const ( // DvbSdtOutputSdtSdtFollow is a DvbSdtOutputSdt enum value @@ -24420,6 +24744,16 @@ const ( DvbSdtOutputSdtSdtNone = "SDT_NONE" ) +// DvbSdtOutputSdt_Values returns all elements of the DvbSdtOutputSdt enum +func DvbSdtOutputSdt_Values() []string { + return []string{ + DvbSdtOutputSdtSdtFollow, + DvbSdtOutputSdtSdtFollowIfPresent, + DvbSdtOutputSdtSdtManual, + DvbSdtOutputSdtSdtNone, + } +} + // Dvb Sub Destination Alignment const ( // DvbSubDestinationAlignmentCentered is a DvbSubDestinationAlignment enum value @@ -24432,6 +24766,15 @@ const ( DvbSubDestinationAlignmentSmart = "SMART" ) +// DvbSubDestinationAlignment_Values returns all elements of the DvbSubDestinationAlignment enum +func DvbSubDestinationAlignment_Values() []string { + return []string{ + DvbSubDestinationAlignmentCentered, + DvbSubDestinationAlignmentLeft, + DvbSubDestinationAlignmentSmart, + } +} + // Dvb Sub Destination Background Color const ( // DvbSubDestinationBackgroundColorBlack is a DvbSubDestinationBackgroundColor enum value @@ -24444,6 +24787,15 @@ const ( DvbSubDestinationBackgroundColorWhite = "WHITE" ) +// DvbSubDestinationBackgroundColor_Values returns all elements of the DvbSubDestinationBackgroundColor enum +func DvbSubDestinationBackgroundColor_Values() []string { + return []string{ + DvbSubDestinationBackgroundColorBlack, + DvbSubDestinationBackgroundColorNone, + DvbSubDestinationBackgroundColorWhite, + } +} + // Dvb Sub Destination Font Color const ( // DvbSubDestinationFontColorBlack is a DvbSubDestinationFontColor enum value @@ -24465,6 +24817,18 @@ const ( DvbSubDestinationFontColorYellow = "YELLOW" ) +// DvbSubDestinationFontColor_Values returns all elements of the DvbSubDestinationFontColor enum +func DvbSubDestinationFontColor_Values() []string { + return []string{ + DvbSubDestinationFontColorBlack, + DvbSubDestinationFontColorBlue, + DvbSubDestinationFontColorGreen, + DvbSubDestinationFontColorRed, + DvbSubDestinationFontColorWhite, + DvbSubDestinationFontColorYellow, + } +} + // Dvb Sub Destination Outline Color const ( // DvbSubDestinationOutlineColorBlack is a DvbSubDestinationOutlineColor enum value @@ -24486,6 +24850,18 @@ const ( DvbSubDestinationOutlineColorYellow = "YELLOW" ) +// DvbSubDestinationOutlineColor_Values returns all elements of the DvbSubDestinationOutlineColor enum +func DvbSubDestinationOutlineColor_Values() []string { + return []string{ + DvbSubDestinationOutlineColorBlack, + DvbSubDestinationOutlineColorBlue, + DvbSubDestinationOutlineColorGreen, + DvbSubDestinationOutlineColorRed, + DvbSubDestinationOutlineColorWhite, + DvbSubDestinationOutlineColorYellow, + } +} + // Dvb Sub Destination Shadow Color const ( // DvbSubDestinationShadowColorBlack is a DvbSubDestinationShadowColor enum value @@ -24498,6 +24874,15 @@ const ( DvbSubDestinationShadowColorWhite = "WHITE" ) +// DvbSubDestinationShadowColor_Values returns all elements of the DvbSubDestinationShadowColor enum +func DvbSubDestinationShadowColor_Values() []string { + return []string{ + DvbSubDestinationShadowColorBlack, + DvbSubDestinationShadowColorNone, + DvbSubDestinationShadowColorWhite, + } +} + // Dvb Sub Destination Teletext Grid Control const ( // DvbSubDestinationTeletextGridControlFixed is a DvbSubDestinationTeletextGridControl enum value @@ -24507,6 +24892,14 @@ const ( DvbSubDestinationTeletextGridControlScaled = "SCALED" ) +// DvbSubDestinationTeletextGridControl_Values returns all elements of the DvbSubDestinationTeletextGridControl enum +func DvbSubDestinationTeletextGridControl_Values() []string { + return []string{ + DvbSubDestinationTeletextGridControlFixed, + DvbSubDestinationTeletextGridControlScaled, + } +} + // Eac3 Attenuation Control const ( // Eac3AttenuationControlAttenuate3Db is a Eac3AttenuationControl enum value @@ -24516,6 +24909,14 @@ const ( Eac3AttenuationControlNone = "NONE" ) +// Eac3AttenuationControl_Values returns all elements of the Eac3AttenuationControl enum +func Eac3AttenuationControl_Values() []string { + return []string{ + Eac3AttenuationControlAttenuate3Db, + Eac3AttenuationControlNone, + } +} + // Eac3 Bitstream Mode const ( // Eac3BitstreamModeCommentary is a Eac3BitstreamMode enum value @@ -24534,6 +24935,17 @@ const ( Eac3BitstreamModeVisuallyImpaired = "VISUALLY_IMPAIRED" ) +// Eac3BitstreamMode_Values returns all elements of the Eac3BitstreamMode enum +func Eac3BitstreamMode_Values() []string { + return []string{ + Eac3BitstreamModeCommentary, + Eac3BitstreamModeCompleteMain, + Eac3BitstreamModeEmergency, + Eac3BitstreamModeHearingImpaired, + Eac3BitstreamModeVisuallyImpaired, + } +} + // Eac3 Coding Mode const ( // Eac3CodingModeCodingMode10 is a Eac3CodingMode enum value @@ -24546,6 +24958,15 @@ const ( Eac3CodingModeCodingMode32 = "CODING_MODE_3_2" ) +// Eac3CodingMode_Values returns all elements of the Eac3CodingMode enum +func Eac3CodingMode_Values() []string { + return []string{ + Eac3CodingModeCodingMode10, + Eac3CodingModeCodingMode20, + Eac3CodingModeCodingMode32, + } +} + // Eac3 Dc Filter const ( // Eac3DcFilterDisabled is a Eac3DcFilter enum value @@ -24555,6 +24976,14 @@ const ( Eac3DcFilterEnabled = "ENABLED" ) +// Eac3DcFilter_Values returns all elements of the Eac3DcFilter enum +func Eac3DcFilter_Values() []string { + return []string{ + Eac3DcFilterDisabled, + Eac3DcFilterEnabled, + } +} + // Eac3 Drc Line const ( // Eac3DrcLineFilmLight is a Eac3DrcLine enum value @@ -24576,6 +25005,18 @@ const ( Eac3DrcLineSpeech = "SPEECH" ) +// Eac3DrcLine_Values returns all elements of the Eac3DrcLine enum +func Eac3DrcLine_Values() []string { + return []string{ + Eac3DrcLineFilmLight, + Eac3DrcLineFilmStandard, + Eac3DrcLineMusicLight, + Eac3DrcLineMusicStandard, + Eac3DrcLineNone, + Eac3DrcLineSpeech, + } +} + // Eac3 Drc Rf const ( // Eac3DrcRfFilmLight is a Eac3DrcRf enum value @@ -24597,6 +25038,18 @@ const ( Eac3DrcRfSpeech = "SPEECH" ) +// Eac3DrcRf_Values returns all elements of the Eac3DrcRf enum +func Eac3DrcRf_Values() []string { + return []string{ + Eac3DrcRfFilmLight, + Eac3DrcRfFilmStandard, + Eac3DrcRfMusicLight, + Eac3DrcRfMusicStandard, + Eac3DrcRfNone, + Eac3DrcRfSpeech, + } +} + // Eac3 Lfe Control const ( // Eac3LfeControlLfe is a Eac3LfeControl enum value @@ -24606,6 +25059,14 @@ const ( Eac3LfeControlNoLfe = "NO_LFE" ) +// Eac3LfeControl_Values returns all elements of the Eac3LfeControl enum +func Eac3LfeControl_Values() []string { + return []string{ + Eac3LfeControlLfe, + Eac3LfeControlNoLfe, + } +} + // Eac3 Lfe Filter const ( // Eac3LfeFilterDisabled is a Eac3LfeFilter enum value @@ -24615,6 +25076,14 @@ const ( Eac3LfeFilterEnabled = "ENABLED" ) +// Eac3LfeFilter_Values returns all elements of the Eac3LfeFilter enum +func Eac3LfeFilter_Values() []string { + return []string{ + Eac3LfeFilterDisabled, + Eac3LfeFilterEnabled, + } +} + // Eac3 Metadata Control const ( // Eac3MetadataControlFollowInput is a Eac3MetadataControl enum value @@ -24624,6 +25093,14 @@ const ( Eac3MetadataControlUseConfigured = "USE_CONFIGURED" ) +// Eac3MetadataControl_Values returns all elements of the Eac3MetadataControl enum +func Eac3MetadataControl_Values() []string { + return []string{ + Eac3MetadataControlFollowInput, + Eac3MetadataControlUseConfigured, + } +} + // Eac3 Passthrough Control const ( // Eac3PassthroughControlNoPassthrough is a Eac3PassthroughControl enum value @@ -24633,6 +25110,14 @@ const ( Eac3PassthroughControlWhenPossible = "WHEN_POSSIBLE" ) +// Eac3PassthroughControl_Values returns all elements of the Eac3PassthroughControl enum +func Eac3PassthroughControl_Values() []string { + return []string{ + Eac3PassthroughControlNoPassthrough, + Eac3PassthroughControlWhenPossible, + } +} + // Eac3 Phase Control const ( // Eac3PhaseControlNoShift is a Eac3PhaseControl enum value @@ -24642,6 +25127,14 @@ const ( Eac3PhaseControlShift90Degrees = "SHIFT_90_DEGREES" ) +// Eac3PhaseControl_Values returns all elements of the Eac3PhaseControl enum +func Eac3PhaseControl_Values() []string { + return []string{ + Eac3PhaseControlNoShift, + Eac3PhaseControlShift90Degrees, + } +} + // Eac3 Stereo Downmix const ( // Eac3StereoDownmixDpl2 is a Eac3StereoDownmix enum value @@ -24657,6 +25150,16 @@ const ( Eac3StereoDownmixNotIndicated = "NOT_INDICATED" ) +// Eac3StereoDownmix_Values returns all elements of the Eac3StereoDownmix enum +func Eac3StereoDownmix_Values() []string { + return []string{ + Eac3StereoDownmixDpl2, + Eac3StereoDownmixLoRo, + Eac3StereoDownmixLtRt, + Eac3StereoDownmixNotIndicated, + } +} + // Eac3 Surround Ex Mode const ( // Eac3SurroundExModeDisabled is a Eac3SurroundExMode enum value @@ -24669,6 +25172,15 @@ const ( Eac3SurroundExModeNotIndicated = "NOT_INDICATED" ) +// Eac3SurroundExMode_Values returns all elements of the Eac3SurroundExMode enum +func Eac3SurroundExMode_Values() []string { + return []string{ + Eac3SurroundExModeDisabled, + Eac3SurroundExModeEnabled, + Eac3SurroundExModeNotIndicated, + } +} + // Eac3 Surround Mode const ( // Eac3SurroundModeDisabled is a Eac3SurroundMode enum value @@ -24681,6 +25193,15 @@ const ( Eac3SurroundModeNotIndicated = "NOT_INDICATED" ) +// Eac3SurroundMode_Values returns all elements of the Eac3SurroundMode enum +func Eac3SurroundMode_Values() []string { + return []string{ + Eac3SurroundModeDisabled, + Eac3SurroundModeEnabled, + Eac3SurroundModeNotIndicated, + } +} + // Ebu Tt DDestination Style Control const ( // EbuTtDDestinationStyleControlExclude is a EbuTtDDestinationStyleControl enum value @@ -24690,6 +25211,14 @@ const ( EbuTtDDestinationStyleControlInclude = "INCLUDE" ) +// EbuTtDDestinationStyleControl_Values returns all elements of the EbuTtDDestinationStyleControl enum +func EbuTtDDestinationStyleControl_Values() []string { + return []string{ + EbuTtDDestinationStyleControlExclude, + EbuTtDDestinationStyleControlInclude, + } +} + // Ebu Tt DFill Line Gap Control const ( // EbuTtDFillLineGapControlDisabled is a EbuTtDFillLineGapControl enum value @@ -24699,6 +25228,14 @@ const ( EbuTtDFillLineGapControlEnabled = "ENABLED" ) +// EbuTtDFillLineGapControl_Values returns all elements of the EbuTtDFillLineGapControl enum +func EbuTtDFillLineGapControl_Values() []string { + return []string{ + EbuTtDFillLineGapControlDisabled, + EbuTtDFillLineGapControlEnabled, + } +} + // Embedded Convert608 To708 const ( // EmbeddedConvert608To708Disabled is a EmbeddedConvert608To708 enum value @@ -24708,6 +25245,14 @@ const ( EmbeddedConvert608To708Upconvert = "UPCONVERT" ) +// EmbeddedConvert608To708_Values returns all elements of the EmbeddedConvert608To708 enum +func EmbeddedConvert608To708_Values() []string { + return []string{ + EmbeddedConvert608To708Disabled, + EmbeddedConvert608To708Upconvert, + } +} + // Embedded Scte20 Detection const ( // EmbeddedScte20DetectionAuto is a EmbeddedScte20Detection enum value @@ -24717,6 +25262,14 @@ const ( EmbeddedScte20DetectionOff = "OFF" ) +// EmbeddedScte20Detection_Values returns all elements of the EmbeddedScte20Detection enum +func EmbeddedScte20Detection_Values() []string { + return []string{ + EmbeddedScte20DetectionAuto, + EmbeddedScte20DetectionOff, + } +} + // Feature Activations Input Prepare Schedule Actions const ( // FeatureActivationsInputPrepareScheduleActionsDisabled is a FeatureActivationsInputPrepareScheduleActions enum value @@ -24726,6 +25279,14 @@ const ( FeatureActivationsInputPrepareScheduleActionsEnabled = "ENABLED" ) +// FeatureActivationsInputPrepareScheduleActions_Values returns all elements of the FeatureActivationsInputPrepareScheduleActions enum +func FeatureActivationsInputPrepareScheduleActions_Values() []string { + return []string{ + FeatureActivationsInputPrepareScheduleActionsDisabled, + FeatureActivationsInputPrepareScheduleActionsEnabled, + } +} + // Fec Output Include Fec const ( // FecOutputIncludeFecColumn is a FecOutputIncludeFec enum value @@ -24735,6 +25296,14 @@ const ( FecOutputIncludeFecColumnAndRow = "COLUMN_AND_ROW" ) +// FecOutputIncludeFec_Values returns all elements of the FecOutputIncludeFec enum +func FecOutputIncludeFec_Values() []string { + return []string{ + FecOutputIncludeFecColumn, + FecOutputIncludeFecColumnAndRow, + } +} + // Fixed Afd const ( // FixedAfdAfd0000 is a FixedAfd enum value @@ -24771,6 +25340,23 @@ const ( FixedAfdAfd1111 = "AFD_1111" ) +// FixedAfd_Values returns all elements of the FixedAfd enum +func FixedAfd_Values() []string { + return []string{ + FixedAfdAfd0000, + FixedAfdAfd0010, + FixedAfdAfd0011, + FixedAfdAfd0100, + FixedAfdAfd1000, + FixedAfdAfd1001, + FixedAfdAfd1010, + FixedAfdAfd1011, + FixedAfdAfd1101, + FixedAfdAfd1110, + FixedAfdAfd1111, + } +} + // Fmp4 Nielsen Id3 Behavior const ( // Fmp4NielsenId3BehaviorNoPassthrough is a Fmp4NielsenId3Behavior enum value @@ -24780,6 +25366,14 @@ const ( Fmp4NielsenId3BehaviorPassthrough = "PASSTHROUGH" ) +// Fmp4NielsenId3Behavior_Values returns all elements of the Fmp4NielsenId3Behavior enum +func Fmp4NielsenId3Behavior_Values() []string { + return []string{ + Fmp4NielsenId3BehaviorNoPassthrough, + Fmp4NielsenId3BehaviorPassthrough, + } +} + // Fmp4 Timed Metadata Behavior const ( // Fmp4TimedMetadataBehaviorNoPassthrough is a Fmp4TimedMetadataBehavior enum value @@ -24789,6 +25383,14 @@ const ( Fmp4TimedMetadataBehaviorPassthrough = "PASSTHROUGH" ) +// Fmp4TimedMetadataBehavior_Values returns all elements of the Fmp4TimedMetadataBehavior enum +func Fmp4TimedMetadataBehavior_Values() []string { + return []string{ + Fmp4TimedMetadataBehaviorNoPassthrough, + Fmp4TimedMetadataBehaviorPassthrough, + } +} + // Follow reference point. const ( // FollowPointEnd is a FollowPoint enum value @@ -24798,6 +25400,14 @@ const ( FollowPointStart = "START" ) +// FollowPoint_Values returns all elements of the FollowPoint enum +func FollowPoint_Values() []string { + return []string{ + FollowPointEnd, + FollowPointStart, + } +} + // Frame Capture Interval Unit const ( // FrameCaptureIntervalUnitMilliseconds is a FrameCaptureIntervalUnit enum value @@ -24807,6 +25417,14 @@ const ( FrameCaptureIntervalUnitSeconds = "SECONDS" ) +// FrameCaptureIntervalUnit_Values returns all elements of the FrameCaptureIntervalUnit enum +func FrameCaptureIntervalUnit_Values() []string { + return []string{ + FrameCaptureIntervalUnitMilliseconds, + FrameCaptureIntervalUnitSeconds, + } +} + // Global Configuration Input End Action const ( // GlobalConfigurationInputEndActionNone is a GlobalConfigurationInputEndAction enum value @@ -24816,6 +25434,14 @@ const ( GlobalConfigurationInputEndActionSwitchAndLoopInputs = "SWITCH_AND_LOOP_INPUTS" ) +// GlobalConfigurationInputEndAction_Values returns all elements of the GlobalConfigurationInputEndAction enum +func GlobalConfigurationInputEndAction_Values() []string { + return []string{ + GlobalConfigurationInputEndActionNone, + GlobalConfigurationInputEndActionSwitchAndLoopInputs, + } +} + // Global Configuration Low Framerate Inputs const ( // GlobalConfigurationLowFramerateInputsDisabled is a GlobalConfigurationLowFramerateInputs enum value @@ -24825,6 +25451,14 @@ const ( GlobalConfigurationLowFramerateInputsEnabled = "ENABLED" ) +// GlobalConfigurationLowFramerateInputs_Values returns all elements of the GlobalConfigurationLowFramerateInputs enum +func GlobalConfigurationLowFramerateInputs_Values() []string { + return []string{ + GlobalConfigurationLowFramerateInputsDisabled, + GlobalConfigurationLowFramerateInputsEnabled, + } +} + // Global Configuration Output Locking Mode const ( // GlobalConfigurationOutputLockingModeEpochLocking is a GlobalConfigurationOutputLockingMode enum value @@ -24834,6 +25468,14 @@ const ( GlobalConfigurationOutputLockingModePipelineLocking = "PIPELINE_LOCKING" ) +// GlobalConfigurationOutputLockingMode_Values returns all elements of the GlobalConfigurationOutputLockingMode enum +func GlobalConfigurationOutputLockingMode_Values() []string { + return []string{ + GlobalConfigurationOutputLockingModeEpochLocking, + GlobalConfigurationOutputLockingModePipelineLocking, + } +} + // Global Configuration Output Timing Source const ( // GlobalConfigurationOutputTimingSourceInputClock is a GlobalConfigurationOutputTimingSource enum value @@ -24843,6 +25485,14 @@ const ( GlobalConfigurationOutputTimingSourceSystemClock = "SYSTEM_CLOCK" ) +// GlobalConfigurationOutputTimingSource_Values returns all elements of the GlobalConfigurationOutputTimingSource enum +func GlobalConfigurationOutputTimingSource_Values() []string { + return []string{ + GlobalConfigurationOutputTimingSourceInputClock, + GlobalConfigurationOutputTimingSourceSystemClock, + } +} + // H264 Adaptive Quantization const ( // H264AdaptiveQuantizationHigh is a H264AdaptiveQuantization enum value @@ -24864,6 +25514,18 @@ const ( H264AdaptiveQuantizationOff = "OFF" ) +// H264AdaptiveQuantization_Values returns all elements of the H264AdaptiveQuantization enum +func H264AdaptiveQuantization_Values() []string { + return []string{ + H264AdaptiveQuantizationHigh, + H264AdaptiveQuantizationHigher, + H264AdaptiveQuantizationLow, + H264AdaptiveQuantizationMax, + H264AdaptiveQuantizationMedium, + H264AdaptiveQuantizationOff, + } +} + // H264 Color Metadata const ( // H264ColorMetadataIgnore is a H264ColorMetadata enum value @@ -24873,6 +25535,14 @@ const ( H264ColorMetadataInsert = "INSERT" ) +// H264ColorMetadata_Values returns all elements of the H264ColorMetadata enum +func H264ColorMetadata_Values() []string { + return []string{ + H264ColorMetadataIgnore, + H264ColorMetadataInsert, + } +} + // H264 Entropy Encoding const ( // H264EntropyEncodingCabac is a H264EntropyEncoding enum value @@ -24882,6 +25552,14 @@ const ( H264EntropyEncodingCavlc = "CAVLC" ) +// H264EntropyEncoding_Values returns all elements of the H264EntropyEncoding enum +func H264EntropyEncoding_Values() []string { + return []string{ + H264EntropyEncodingCabac, + H264EntropyEncodingCavlc, + } +} + // H264 Flicker Aq const ( // H264FlickerAqDisabled is a H264FlickerAq enum value @@ -24891,6 +25569,14 @@ const ( H264FlickerAqEnabled = "ENABLED" ) +// H264FlickerAq_Values returns all elements of the H264FlickerAq enum +func H264FlickerAq_Values() []string { + return []string{ + H264FlickerAqDisabled, + H264FlickerAqEnabled, + } +} + // H264 Force Field Pictures const ( // H264ForceFieldPicturesDisabled is a H264ForceFieldPictures enum value @@ -24900,6 +25586,14 @@ const ( H264ForceFieldPicturesEnabled = "ENABLED" ) +// H264ForceFieldPictures_Values returns all elements of the H264ForceFieldPictures enum +func H264ForceFieldPictures_Values() []string { + return []string{ + H264ForceFieldPicturesDisabled, + H264ForceFieldPicturesEnabled, + } +} + // H264 Framerate Control const ( // H264FramerateControlInitializeFromSource is a H264FramerateControl enum value @@ -24909,6 +25603,14 @@ const ( H264FramerateControlSpecified = "SPECIFIED" ) +// H264FramerateControl_Values returns all elements of the H264FramerateControl enum +func H264FramerateControl_Values() []string { + return []string{ + H264FramerateControlInitializeFromSource, + H264FramerateControlSpecified, + } +} + // H264 Gop BReference const ( // H264GopBReferenceDisabled is a H264GopBReference enum value @@ -24918,6 +25620,14 @@ const ( H264GopBReferenceEnabled = "ENABLED" ) +// H264GopBReference_Values returns all elements of the H264GopBReference enum +func H264GopBReference_Values() []string { + return []string{ + H264GopBReferenceDisabled, + H264GopBReferenceEnabled, + } +} + // H264 Gop Size Units const ( // H264GopSizeUnitsFrames is a H264GopSizeUnits enum value @@ -24927,6 +25637,14 @@ const ( H264GopSizeUnitsSeconds = "SECONDS" ) +// H264GopSizeUnits_Values returns all elements of the H264GopSizeUnits enum +func H264GopSizeUnits_Values() []string { + return []string{ + H264GopSizeUnitsFrames, + H264GopSizeUnitsSeconds, + } +} + // H264 Level const ( // H264LevelH264Level1 is a H264Level enum value @@ -24981,6 +25699,29 @@ const ( H264LevelH264LevelAuto = "H264_LEVEL_AUTO" ) +// H264Level_Values returns all elements of the H264Level enum +func H264Level_Values() []string { + return []string{ + H264LevelH264Level1, + H264LevelH264Level11, + H264LevelH264Level12, + H264LevelH264Level13, + H264LevelH264Level2, + H264LevelH264Level21, + H264LevelH264Level22, + H264LevelH264Level3, + H264LevelH264Level31, + H264LevelH264Level32, + H264LevelH264Level4, + H264LevelH264Level41, + H264LevelH264Level42, + H264LevelH264Level5, + H264LevelH264Level51, + H264LevelH264Level52, + H264LevelH264LevelAuto, + } +} + // H264 Look Ahead Rate Control const ( // H264LookAheadRateControlHigh is a H264LookAheadRateControl enum value @@ -24993,6 +25734,15 @@ const ( H264LookAheadRateControlMedium = "MEDIUM" ) +// H264LookAheadRateControl_Values returns all elements of the H264LookAheadRateControl enum +func H264LookAheadRateControl_Values() []string { + return []string{ + H264LookAheadRateControlHigh, + H264LookAheadRateControlLow, + H264LookAheadRateControlMedium, + } +} + // H264 Par Control const ( // H264ParControlInitializeFromSource is a H264ParControl enum value @@ -25002,6 +25752,14 @@ const ( H264ParControlSpecified = "SPECIFIED" ) +// H264ParControl_Values returns all elements of the H264ParControl enum +func H264ParControl_Values() []string { + return []string{ + H264ParControlInitializeFromSource, + H264ParControlSpecified, + } +} + // H264 Profile const ( // H264ProfileBaseline is a H264Profile enum value @@ -25023,6 +25781,18 @@ const ( H264ProfileMain = "MAIN" ) +// H264Profile_Values returns all elements of the H264Profile enum +func H264Profile_Values() []string { + return []string{ + H264ProfileBaseline, + H264ProfileHigh, + H264ProfileHigh10bit, + H264ProfileHigh422, + H264ProfileHigh42210bit, + H264ProfileMain, + } +} + // H264 Quality Level const ( // H264QualityLevelEnhancedQuality is a H264QualityLevel enum value @@ -25032,6 +25802,14 @@ const ( H264QualityLevelStandardQuality = "STANDARD_QUALITY" ) +// H264QualityLevel_Values returns all elements of the H264QualityLevel enum +func H264QualityLevel_Values() []string { + return []string{ + H264QualityLevelEnhancedQuality, + H264QualityLevelStandardQuality, + } +} + // H264 Rate Control Mode const ( // H264RateControlModeCbr is a H264RateControlMode enum value @@ -25047,7 +25825,17 @@ const ( H264RateControlModeVbr = "VBR" ) -// H264 Scan Type +// H264RateControlMode_Values returns all elements of the H264RateControlMode enum +func H264RateControlMode_Values() []string { + return []string{ + H264RateControlModeCbr, + H264RateControlModeMultiplex, + H264RateControlModeQvbr, + H264RateControlModeVbr, + } +} + +// H264 Scan Type const ( // H264ScanTypeInterlaced is a H264ScanType enum value H264ScanTypeInterlaced = "INTERLACED" @@ -25056,6 +25844,14 @@ const ( H264ScanTypeProgressive = "PROGRESSIVE" ) +// H264ScanType_Values returns all elements of the H264ScanType enum +func H264ScanType_Values() []string { + return []string{ + H264ScanTypeInterlaced, + H264ScanTypeProgressive, + } +} + // H264 Scene Change Detect const ( // H264SceneChangeDetectDisabled is a H264SceneChangeDetect enum value @@ -25065,6 +25861,14 @@ const ( H264SceneChangeDetectEnabled = "ENABLED" ) +// H264SceneChangeDetect_Values returns all elements of the H264SceneChangeDetect enum +func H264SceneChangeDetect_Values() []string { + return []string{ + H264SceneChangeDetectDisabled, + H264SceneChangeDetectEnabled, + } +} + // H264 Spatial Aq const ( // H264SpatialAqDisabled is a H264SpatialAq enum value @@ -25074,6 +25878,14 @@ const ( H264SpatialAqEnabled = "ENABLED" ) +// H264SpatialAq_Values returns all elements of the H264SpatialAq enum +func H264SpatialAq_Values() []string { + return []string{ + H264SpatialAqDisabled, + H264SpatialAqEnabled, + } +} + // H264 Sub Gop Length const ( // H264SubGopLengthDynamic is a H264SubGopLength enum value @@ -25083,6 +25895,14 @@ const ( H264SubGopLengthFixed = "FIXED" ) +// H264SubGopLength_Values returns all elements of the H264SubGopLength enum +func H264SubGopLength_Values() []string { + return []string{ + H264SubGopLengthDynamic, + H264SubGopLengthFixed, + } +} + // H264 Syntax const ( // H264SyntaxDefault is a H264Syntax enum value @@ -25092,6 +25912,14 @@ const ( H264SyntaxRp2027 = "RP2027" ) +// H264Syntax_Values returns all elements of the H264Syntax enum +func H264Syntax_Values() []string { + return []string{ + H264SyntaxDefault, + H264SyntaxRp2027, + } +} + // H264 Temporal Aq const ( // H264TemporalAqDisabled is a H264TemporalAq enum value @@ -25101,6 +25929,14 @@ const ( H264TemporalAqEnabled = "ENABLED" ) +// H264TemporalAq_Values returns all elements of the H264TemporalAq enum +func H264TemporalAq_Values() []string { + return []string{ + H264TemporalAqDisabled, + H264TemporalAqEnabled, + } +} + // H264 Timecode Insertion Behavior const ( // H264TimecodeInsertionBehaviorDisabled is a H264TimecodeInsertionBehavior enum value @@ -25110,6 +25946,14 @@ const ( H264TimecodeInsertionBehaviorPicTimingSei = "PIC_TIMING_SEI" ) +// H264TimecodeInsertionBehavior_Values returns all elements of the H264TimecodeInsertionBehavior enum +func H264TimecodeInsertionBehavior_Values() []string { + return []string{ + H264TimecodeInsertionBehaviorDisabled, + H264TimecodeInsertionBehaviorPicTimingSei, + } +} + // H265 Adaptive Quantization const ( // H265AdaptiveQuantizationHigh is a H265AdaptiveQuantization enum value @@ -25131,6 +25975,18 @@ const ( H265AdaptiveQuantizationOff = "OFF" ) +// H265AdaptiveQuantization_Values returns all elements of the H265AdaptiveQuantization enum +func H265AdaptiveQuantization_Values() []string { + return []string{ + H265AdaptiveQuantizationHigh, + H265AdaptiveQuantizationHigher, + H265AdaptiveQuantizationLow, + H265AdaptiveQuantizationMax, + H265AdaptiveQuantizationMedium, + H265AdaptiveQuantizationOff, + } +} + // H265 Alternative Transfer Function const ( // H265AlternativeTransferFunctionInsert is a H265AlternativeTransferFunction enum value @@ -25140,6 +25996,14 @@ const ( H265AlternativeTransferFunctionOmit = "OMIT" ) +// H265AlternativeTransferFunction_Values returns all elements of the H265AlternativeTransferFunction enum +func H265AlternativeTransferFunction_Values() []string { + return []string{ + H265AlternativeTransferFunctionInsert, + H265AlternativeTransferFunctionOmit, + } +} + // H265 Color Metadata const ( // H265ColorMetadataIgnore is a H265ColorMetadata enum value @@ -25149,6 +26013,14 @@ const ( H265ColorMetadataInsert = "INSERT" ) +// H265ColorMetadata_Values returns all elements of the H265ColorMetadata enum +func H265ColorMetadata_Values() []string { + return []string{ + H265ColorMetadataIgnore, + H265ColorMetadataInsert, + } +} + // H265 Flicker Aq const ( // H265FlickerAqDisabled is a H265FlickerAq enum value @@ -25158,6 +26030,14 @@ const ( H265FlickerAqEnabled = "ENABLED" ) +// H265FlickerAq_Values returns all elements of the H265FlickerAq enum +func H265FlickerAq_Values() []string { + return []string{ + H265FlickerAqDisabled, + H265FlickerAqEnabled, + } +} + // H265 Gop Size Units const ( // H265GopSizeUnitsFrames is a H265GopSizeUnits enum value @@ -25167,6 +26047,14 @@ const ( H265GopSizeUnitsSeconds = "SECONDS" ) +// H265GopSizeUnits_Values returns all elements of the H265GopSizeUnits enum +func H265GopSizeUnits_Values() []string { + return []string{ + H265GopSizeUnitsFrames, + H265GopSizeUnitsSeconds, + } +} + // H265 Level const ( // H265LevelH265Level1 is a H265Level enum value @@ -25212,6 +26100,26 @@ const ( H265LevelH265LevelAuto = "H265_LEVEL_AUTO" ) +// H265Level_Values returns all elements of the H265Level enum +func H265Level_Values() []string { + return []string{ + H265LevelH265Level1, + H265LevelH265Level2, + H265LevelH265Level21, + H265LevelH265Level3, + H265LevelH265Level31, + H265LevelH265Level4, + H265LevelH265Level41, + H265LevelH265Level5, + H265LevelH265Level51, + H265LevelH265Level52, + H265LevelH265Level6, + H265LevelH265Level61, + H265LevelH265Level62, + H265LevelH265LevelAuto, + } +} + // H265 Look Ahead Rate Control const ( // H265LookAheadRateControlHigh is a H265LookAheadRateControl enum value @@ -25224,6 +26132,15 @@ const ( H265LookAheadRateControlMedium = "MEDIUM" ) +// H265LookAheadRateControl_Values returns all elements of the H265LookAheadRateControl enum +func H265LookAheadRateControl_Values() []string { + return []string{ + H265LookAheadRateControlHigh, + H265LookAheadRateControlLow, + H265LookAheadRateControlMedium, + } +} + // H265 Profile const ( // H265ProfileMain is a H265Profile enum value @@ -25233,6 +26150,14 @@ const ( H265ProfileMain10bit = "MAIN_10BIT" ) +// H265Profile_Values returns all elements of the H265Profile enum +func H265Profile_Values() []string { + return []string{ + H265ProfileMain, + H265ProfileMain10bit, + } +} + // H265 Rate Control Mode const ( // H265RateControlModeCbr is a H265RateControlMode enum value @@ -25245,6 +26170,15 @@ const ( H265RateControlModeQvbr = "QVBR" ) +// H265RateControlMode_Values returns all elements of the H265RateControlMode enum +func H265RateControlMode_Values() []string { + return []string{ + H265RateControlModeCbr, + H265RateControlModeMultiplex, + H265RateControlModeQvbr, + } +} + // H265 Scan Type const ( // H265ScanTypeInterlaced is a H265ScanType enum value @@ -25254,6 +26188,14 @@ const ( H265ScanTypeProgressive = "PROGRESSIVE" ) +// H265ScanType_Values returns all elements of the H265ScanType enum +func H265ScanType_Values() []string { + return []string{ + H265ScanTypeInterlaced, + H265ScanTypeProgressive, + } +} + // H265 Scene Change Detect const ( // H265SceneChangeDetectDisabled is a H265SceneChangeDetect enum value @@ -25263,6 +26205,14 @@ const ( H265SceneChangeDetectEnabled = "ENABLED" ) +// H265SceneChangeDetect_Values returns all elements of the H265SceneChangeDetect enum +func H265SceneChangeDetect_Values() []string { + return []string{ + H265SceneChangeDetectDisabled, + H265SceneChangeDetectEnabled, + } +} + // H265 Tier const ( // H265TierHigh is a H265Tier enum value @@ -25272,6 +26222,14 @@ const ( H265TierMain = "MAIN" ) +// H265Tier_Values returns all elements of the H265Tier enum +func H265Tier_Values() []string { + return []string{ + H265TierHigh, + H265TierMain, + } +} + // H265 Timecode Insertion Behavior const ( // H265TimecodeInsertionBehaviorDisabled is a H265TimecodeInsertionBehavior enum value @@ -25281,6 +26239,14 @@ const ( H265TimecodeInsertionBehaviorPicTimingSei = "PIC_TIMING_SEI" ) +// H265TimecodeInsertionBehavior_Values returns all elements of the H265TimecodeInsertionBehavior enum +func H265TimecodeInsertionBehavior_Values() []string { + return []string{ + H265TimecodeInsertionBehaviorDisabled, + H265TimecodeInsertionBehaviorPicTimingSei, + } +} + // Hls Ad Markers const ( // HlsAdMarkersAdobe is a HlsAdMarkers enum value @@ -25293,6 +26259,15 @@ const ( HlsAdMarkersElementalScte35 = "ELEMENTAL_SCTE35" ) +// HlsAdMarkers_Values returns all elements of the HlsAdMarkers enum +func HlsAdMarkers_Values() []string { + return []string{ + HlsAdMarkersAdobe, + HlsAdMarkersElemental, + HlsAdMarkersElementalScte35, + } +} + // Hls Akamai Http Transfer Mode const ( // HlsAkamaiHttpTransferModeChunked is a HlsAkamaiHttpTransferMode enum value @@ -25302,6 +26277,14 @@ const ( HlsAkamaiHttpTransferModeNonChunked = "NON_CHUNKED" ) +// HlsAkamaiHttpTransferMode_Values returns all elements of the HlsAkamaiHttpTransferMode enum +func HlsAkamaiHttpTransferMode_Values() []string { + return []string{ + HlsAkamaiHttpTransferModeChunked, + HlsAkamaiHttpTransferModeNonChunked, + } +} + // Hls Caption Language Setting const ( // HlsCaptionLanguageSettingInsert is a HlsCaptionLanguageSetting enum value @@ -25314,6 +26297,15 @@ const ( HlsCaptionLanguageSettingOmit = "OMIT" ) +// HlsCaptionLanguageSetting_Values returns all elements of the HlsCaptionLanguageSetting enum +func HlsCaptionLanguageSetting_Values() []string { + return []string{ + HlsCaptionLanguageSettingInsert, + HlsCaptionLanguageSettingNone, + HlsCaptionLanguageSettingOmit, + } +} + // Hls Client Cache const ( // HlsClientCacheDisabled is a HlsClientCache enum value @@ -25323,6 +26315,14 @@ const ( HlsClientCacheEnabled = "ENABLED" ) +// HlsClientCache_Values returns all elements of the HlsClientCache enum +func HlsClientCache_Values() []string { + return []string{ + HlsClientCacheDisabled, + HlsClientCacheEnabled, + } +} + // Hls Codec Specification const ( // HlsCodecSpecificationRfc4281 is a HlsCodecSpecification enum value @@ -25332,6 +26332,14 @@ const ( HlsCodecSpecificationRfc6381 = "RFC_6381" ) +// HlsCodecSpecification_Values returns all elements of the HlsCodecSpecification enum +func HlsCodecSpecification_Values() []string { + return []string{ + HlsCodecSpecificationRfc4281, + HlsCodecSpecificationRfc6381, + } +} + // Hls Directory Structure const ( // HlsDirectoryStructureSingleDirectory is a HlsDirectoryStructure enum value @@ -25341,6 +26349,14 @@ const ( HlsDirectoryStructureSubdirectoryPerStream = "SUBDIRECTORY_PER_STREAM" ) +// HlsDirectoryStructure_Values returns all elements of the HlsDirectoryStructure enum +func HlsDirectoryStructure_Values() []string { + return []string{ + HlsDirectoryStructureSingleDirectory, + HlsDirectoryStructureSubdirectoryPerStream, + } +} + // Hls Encryption Type const ( // HlsEncryptionTypeAes128 is a HlsEncryptionType enum value @@ -25350,6 +26366,14 @@ const ( HlsEncryptionTypeSampleAes = "SAMPLE_AES" ) +// HlsEncryptionType_Values returns all elements of the HlsEncryptionType enum +func HlsEncryptionType_Values() []string { + return []string{ + HlsEncryptionTypeAes128, + HlsEncryptionTypeSampleAes, + } +} + // Hls H265 Packaging Type const ( // HlsH265PackagingTypeHev1 is a HlsH265PackagingType enum value @@ -25359,6 +26383,14 @@ const ( HlsH265PackagingTypeHvc1 = "HVC1" ) +// HlsH265PackagingType_Values returns all elements of the HlsH265PackagingType enum +func HlsH265PackagingType_Values() []string { + return []string{ + HlsH265PackagingTypeHev1, + HlsH265PackagingTypeHvc1, + } +} + // State of HLS ID3 Segment Tagging const ( // HlsId3SegmentTaggingStateDisabled is a HlsId3SegmentTaggingState enum value @@ -25368,6 +26400,14 @@ const ( HlsId3SegmentTaggingStateEnabled = "ENABLED" ) +// HlsId3SegmentTaggingState_Values returns all elements of the HlsId3SegmentTaggingState enum +func HlsId3SegmentTaggingState_Values() []string { + return []string{ + HlsId3SegmentTaggingStateDisabled, + HlsId3SegmentTaggingStateEnabled, + } +} + // Hls Iv In Manifest const ( // HlsIvInManifestExclude is a HlsIvInManifest enum value @@ -25377,6 +26417,14 @@ const ( HlsIvInManifestInclude = "INCLUDE" ) +// HlsIvInManifest_Values returns all elements of the HlsIvInManifest enum +func HlsIvInManifest_Values() []string { + return []string{ + HlsIvInManifestExclude, + HlsIvInManifestInclude, + } +} + // Hls Iv Source const ( // HlsIvSourceExplicit is a HlsIvSource enum value @@ -25386,6 +26434,14 @@ const ( HlsIvSourceFollowsSegmentNumber = "FOLLOWS_SEGMENT_NUMBER" ) +// HlsIvSource_Values returns all elements of the HlsIvSource enum +func HlsIvSource_Values() []string { + return []string{ + HlsIvSourceExplicit, + HlsIvSourceFollowsSegmentNumber, + } +} + // Hls Manifest Compression const ( // HlsManifestCompressionGzip is a HlsManifestCompression enum value @@ -25395,6 +26451,14 @@ const ( HlsManifestCompressionNone = "NONE" ) +// HlsManifestCompression_Values returns all elements of the HlsManifestCompression enum +func HlsManifestCompression_Values() []string { + return []string{ + HlsManifestCompressionGzip, + HlsManifestCompressionNone, + } +} + // Hls Manifest Duration Format const ( // HlsManifestDurationFormatFloatingPoint is a HlsManifestDurationFormat enum value @@ -25404,12 +26468,27 @@ const ( HlsManifestDurationFormatInteger = "INTEGER" ) +// HlsManifestDurationFormat_Values returns all elements of the HlsManifestDurationFormat enum +func HlsManifestDurationFormat_Values() []string { + return []string{ + HlsManifestDurationFormatFloatingPoint, + HlsManifestDurationFormatInteger, + } +} + // Hls Media Store Storage Class const ( // HlsMediaStoreStorageClassTemporal is a HlsMediaStoreStorageClass enum value HlsMediaStoreStorageClassTemporal = "TEMPORAL" ) +// HlsMediaStoreStorageClass_Values returns all elements of the HlsMediaStoreStorageClass enum +func HlsMediaStoreStorageClass_Values() []string { + return []string{ + HlsMediaStoreStorageClassTemporal, + } +} + // Hls Mode const ( // HlsModeLive is a HlsMode enum value @@ -25419,6 +26498,14 @@ const ( HlsModeVod = "VOD" ) +// HlsMode_Values returns all elements of the HlsMode enum +func HlsMode_Values() []string { + return []string{ + HlsModeLive, + HlsModeVod, + } +} + // Hls Output Selection const ( // HlsOutputSelectionManifestsAndSegments is a HlsOutputSelection enum value @@ -25431,6 +26518,15 @@ const ( HlsOutputSelectionVariantManifestsAndSegments = "VARIANT_MANIFESTS_AND_SEGMENTS" ) +// HlsOutputSelection_Values returns all elements of the HlsOutputSelection enum +func HlsOutputSelection_Values() []string { + return []string{ + HlsOutputSelectionManifestsAndSegments, + HlsOutputSelectionSegmentsOnly, + HlsOutputSelectionVariantManifestsAndSegments, + } +} + // Hls Program Date Time const ( // HlsProgramDateTimeExclude is a HlsProgramDateTime enum value @@ -25440,6 +26536,14 @@ const ( HlsProgramDateTimeInclude = "INCLUDE" ) +// HlsProgramDateTime_Values returns all elements of the HlsProgramDateTime enum +func HlsProgramDateTime_Values() []string { + return []string{ + HlsProgramDateTimeExclude, + HlsProgramDateTimeInclude, + } +} + // Hls Redundant Manifest const ( // HlsRedundantManifestDisabled is a HlsRedundantManifest enum value @@ -25449,6 +26553,14 @@ const ( HlsRedundantManifestEnabled = "ENABLED" ) +// HlsRedundantManifest_Values returns all elements of the HlsRedundantManifest enum +func HlsRedundantManifest_Values() []string { + return []string{ + HlsRedundantManifestDisabled, + HlsRedundantManifestEnabled, + } +} + // Hls Segmentation Mode const ( // HlsSegmentationModeUseInputSegmentation is a HlsSegmentationMode enum value @@ -25458,6 +26570,14 @@ const ( HlsSegmentationModeUseSegmentDuration = "USE_SEGMENT_DURATION" ) +// HlsSegmentationMode_Values returns all elements of the HlsSegmentationMode enum +func HlsSegmentationMode_Values() []string { + return []string{ + HlsSegmentationModeUseInputSegmentation, + HlsSegmentationModeUseSegmentDuration, + } +} + // Hls Stream Inf Resolution const ( // HlsStreamInfResolutionExclude is a HlsStreamInfResolution enum value @@ -25467,6 +26587,14 @@ const ( HlsStreamInfResolutionInclude = "INCLUDE" ) +// HlsStreamInfResolution_Values returns all elements of the HlsStreamInfResolution enum +func HlsStreamInfResolution_Values() []string { + return []string{ + HlsStreamInfResolutionExclude, + HlsStreamInfResolutionInclude, + } +} + // Hls Timed Metadata Id3 Frame const ( // HlsTimedMetadataId3FrameNone is a HlsTimedMetadataId3Frame enum value @@ -25479,6 +26607,15 @@ const ( HlsTimedMetadataId3FrameTdrl = "TDRL" ) +// HlsTimedMetadataId3Frame_Values returns all elements of the HlsTimedMetadataId3Frame enum +func HlsTimedMetadataId3Frame_Values() []string { + return []string{ + HlsTimedMetadataId3FrameNone, + HlsTimedMetadataId3FramePriv, + HlsTimedMetadataId3FrameTdrl, + } +} + // Hls Ts File Mode const ( // HlsTsFileModeSegmentedFiles is a HlsTsFileMode enum value @@ -25488,6 +26625,14 @@ const ( HlsTsFileModeSingleFile = "SINGLE_FILE" ) +// HlsTsFileMode_Values returns all elements of the HlsTsFileMode enum +func HlsTsFileMode_Values() []string { + return []string{ + HlsTsFileModeSegmentedFiles, + HlsTsFileModeSingleFile, + } +} + // Hls Webdav Http Transfer Mode const ( // HlsWebdavHttpTransferModeChunked is a HlsWebdavHttpTransferMode enum value @@ -25497,6 +26642,14 @@ const ( HlsWebdavHttpTransferModeNonChunked = "NON_CHUNKED" ) +// HlsWebdavHttpTransferMode_Values returns all elements of the HlsWebdavHttpTransferMode enum +func HlsWebdavHttpTransferMode_Values() []string { + return []string{ + HlsWebdavHttpTransferModeChunked, + HlsWebdavHttpTransferModeNonChunked, + } +} + // When set to "standard", an I-Frame only playlist will be written out for // each video output in the output group. This I-Frame only playlist will contain // byte range offsets pointing to the I-frame(s) in each segment. @@ -25508,6 +26661,14 @@ const ( IFrameOnlyPlaylistTypeStandard = "STANDARD" ) +// IFrameOnlyPlaylistType_Values returns all elements of the IFrameOnlyPlaylistType enum +func IFrameOnlyPlaylistType_Values() []string { + return []string{ + IFrameOnlyPlaylistTypeDisabled, + IFrameOnlyPlaylistTypeStandard, + } +} + // A standard input has two sources and a single pipeline input only has one. const ( // InputClassStandard is a InputClass enum value @@ -25517,6 +26678,14 @@ const ( InputClassSinglePipeline = "SINGLE_PIPELINE" ) +// InputClass_Values returns all elements of the InputClass enum +func InputClass_Values() []string { + return []string{ + InputClassStandard, + InputClassSinglePipeline, + } +} + // codec in increasing order of complexity const ( // InputCodecMpeg2 is a InputCodec enum value @@ -25529,6 +26698,15 @@ const ( InputCodecHevc = "HEVC" ) +// InputCodec_Values returns all elements of the InputCodec enum +func InputCodec_Values() []string { + return []string{ + InputCodecMpeg2, + InputCodecAvc, + InputCodecHevc, + } +} + // Input Deblock Filter const ( // InputDeblockFilterDisabled is a InputDeblockFilter enum value @@ -25538,6 +26716,14 @@ const ( InputDeblockFilterEnabled = "ENABLED" ) +// InputDeblockFilter_Values returns all elements of the InputDeblockFilter enum +func InputDeblockFilter_Values() []string { + return []string{ + InputDeblockFilterDisabled, + InputDeblockFilterEnabled, + } +} + // Input Denoise Filter const ( // InputDenoiseFilterDisabled is a InputDenoiseFilter enum value @@ -25547,6 +26733,14 @@ const ( InputDenoiseFilterEnabled = "ENABLED" ) +// InputDenoiseFilter_Values returns all elements of the InputDenoiseFilter enum +func InputDenoiseFilter_Values() []string { + return []string{ + InputDenoiseFilterDisabled, + InputDenoiseFilterEnabled, + } +} + // The source at the input device that is currently active. const ( // InputDeviceActiveInputHdmi is a InputDeviceActiveInput enum value @@ -25556,6 +26750,14 @@ const ( InputDeviceActiveInputSdi = "SDI" ) +// InputDeviceActiveInput_Values returns all elements of the InputDeviceActiveInput enum +func InputDeviceActiveInput_Values() []string { + return []string{ + InputDeviceActiveInputHdmi, + InputDeviceActiveInputSdi, + } +} + // The source to activate (use) from the input device. const ( // InputDeviceConfiguredInputAuto is a InputDeviceConfiguredInput enum value @@ -25568,6 +26770,15 @@ const ( InputDeviceConfiguredInputSdi = "SDI" ) +// InputDeviceConfiguredInput_Values returns all elements of the InputDeviceConfiguredInput enum +func InputDeviceConfiguredInput_Values() []string { + return []string{ + InputDeviceConfiguredInputAuto, + InputDeviceConfiguredInputHdmi, + InputDeviceConfiguredInputSdi, + } +} + // The state of the connection between the input device and AWS. const ( // InputDeviceConnectionStateDisconnected is a InputDeviceConnectionState enum value @@ -25577,6 +26788,14 @@ const ( InputDeviceConnectionStateConnected = "CONNECTED" ) +// InputDeviceConnectionState_Values returns all elements of the InputDeviceConnectionState enum +func InputDeviceConnectionState_Values() []string { + return []string{ + InputDeviceConnectionStateDisconnected, + InputDeviceConnectionStateConnected, + } +} + // Specifies whether the input device has been configured (outside of MediaLive) // to use a dynamic IP address assignment (DHCP) or a static IP address. const ( @@ -25587,6 +26806,14 @@ const ( InputDeviceIpSchemeDhcp = "DHCP" ) +// InputDeviceIpScheme_Values returns all elements of the InputDeviceIpScheme enum +func InputDeviceIpScheme_Values() []string { + return []string{ + InputDeviceIpSchemeStatic, + InputDeviceIpSchemeDhcp, + } +} + // The scan type of the video source. const ( // InputDeviceScanTypeInterlaced is a InputDeviceScanType enum value @@ -25596,6 +26823,14 @@ const ( InputDeviceScanTypeProgressive = "PROGRESSIVE" ) +// InputDeviceScanType_Values returns all elements of the InputDeviceScanType enum +func InputDeviceScanType_Values() []string { + return []string{ + InputDeviceScanTypeInterlaced, + InputDeviceScanTypeProgressive, + } +} + // The state of the input device. const ( // InputDeviceStateIdle is a InputDeviceState enum value @@ -25605,6 +26840,14 @@ const ( InputDeviceStateStreaming = "STREAMING" ) +// InputDeviceState_Values returns all elements of the InputDeviceState enum +func InputDeviceState_Values() []string { + return []string{ + InputDeviceStateIdle, + InputDeviceStateStreaming, + } +} + // The type of the input device. For an AWS Elemental Link device that outputs // resolutions up to 1080, choose "HD". const ( @@ -25612,6 +26855,13 @@ const ( InputDeviceTypeHd = "HD" ) +// InputDeviceType_Values returns all elements of the InputDeviceType enum +func InputDeviceType_Values() []string { + return []string{ + InputDeviceTypeHd, + } +} + // Input Filter const ( // InputFilterAuto is a InputFilter enum value @@ -25624,6 +26874,15 @@ const ( InputFilterForced = "FORCED" ) +// InputFilter_Values returns all elements of the InputFilter enum +func InputFilter_Values() []string { + return []string{ + InputFilterAuto, + InputFilterDisabled, + InputFilterForced, + } +} + // Input Loss Action For Hls Out const ( // InputLossActionForHlsOutEmitOutput is a InputLossActionForHlsOut enum value @@ -25633,6 +26892,14 @@ const ( InputLossActionForHlsOutPauseOutput = "PAUSE_OUTPUT" ) +// InputLossActionForHlsOut_Values returns all elements of the InputLossActionForHlsOut enum +func InputLossActionForHlsOut_Values() []string { + return []string{ + InputLossActionForHlsOutEmitOutput, + InputLossActionForHlsOutPauseOutput, + } +} + // Input Loss Action For Ms Smooth Out const ( // InputLossActionForMsSmoothOutEmitOutput is a InputLossActionForMsSmoothOut enum value @@ -25642,6 +26909,14 @@ const ( InputLossActionForMsSmoothOutPauseOutput = "PAUSE_OUTPUT" ) +// InputLossActionForMsSmoothOut_Values returns all elements of the InputLossActionForMsSmoothOut enum +func InputLossActionForMsSmoothOut_Values() []string { + return []string{ + InputLossActionForMsSmoothOutEmitOutput, + InputLossActionForMsSmoothOutPauseOutput, + } +} + // Input Loss Action For Rtmp Out const ( // InputLossActionForRtmpOutEmitOutput is a InputLossActionForRtmpOut enum value @@ -25651,6 +26926,14 @@ const ( InputLossActionForRtmpOutPauseOutput = "PAUSE_OUTPUT" ) +// InputLossActionForRtmpOut_Values returns all elements of the InputLossActionForRtmpOut enum +func InputLossActionForRtmpOut_Values() []string { + return []string{ + InputLossActionForRtmpOutEmitOutput, + InputLossActionForRtmpOutPauseOutput, + } +} + // Input Loss Action For Udp Out const ( // InputLossActionForUdpOutDropProgram is a InputLossActionForUdpOut enum value @@ -25663,6 +26946,15 @@ const ( InputLossActionForUdpOutEmitProgram = "EMIT_PROGRAM" ) +// InputLossActionForUdpOut_Values returns all elements of the InputLossActionForUdpOut enum +func InputLossActionForUdpOut_Values() []string { + return []string{ + InputLossActionForUdpOutDropProgram, + InputLossActionForUdpOutDropTs, + InputLossActionForUdpOutEmitProgram, + } +} + // Input Loss Image Type const ( // InputLossImageTypeColor is a InputLossImageType enum value @@ -25672,6 +26964,14 @@ const ( InputLossImageTypeSlate = "SLATE" ) +// InputLossImageType_Values returns all elements of the InputLossImageType enum +func InputLossImageType_Values() []string { + return []string{ + InputLossImageTypeColor, + InputLossImageTypeSlate, + } +} + // Maximum input bitrate in megabits per second. Bitrates up to 50 Mbps are // supported currently. const ( @@ -25685,6 +26985,15 @@ const ( InputMaximumBitrateMax50Mbps = "MAX_50_MBPS" ) +// InputMaximumBitrate_Values returns all elements of the InputMaximumBitrate enum +func InputMaximumBitrate_Values() []string { + return []string{ + InputMaximumBitrateMax10Mbps, + InputMaximumBitrateMax20Mbps, + InputMaximumBitrateMax50Mbps, + } +} + // Input preference when deciding which input to make active when a previously // failed input has recovered.If \"EQUAL_INPUT_PREFERENCE\", then the active // input will stay active as long as it is healthy.If \"PRIMARY_INPUT_PREFERRED\", @@ -25697,6 +27006,14 @@ const ( InputPreferencePrimaryInputPreferred = "PRIMARY_INPUT_PREFERRED" ) +// InputPreference_Values returns all elements of the InputPreference enum +func InputPreference_Values() []string { + return []string{ + InputPreferenceEqualInputPreference, + InputPreferencePrimaryInputPreferred, + } +} + // Input resolution based on lines of vertical resolution in the input; SD is // less than 720 lines, HD is 720 to 1080 lines, UHD is greater than 1080 lines const ( @@ -25710,6 +27027,15 @@ const ( InputResolutionUhd = "UHD" ) +// InputResolution_Values returns all elements of the InputResolution enum +func InputResolution_Values() []string { + return []string{ + InputResolutionSd, + InputResolutionHd, + InputResolutionUhd, + } +} + const ( // InputSecurityGroupStateIdle is a InputSecurityGroupState enum value InputSecurityGroupStateIdle = "IDLE" @@ -25724,6 +27050,16 @@ const ( InputSecurityGroupStateDeleted = "DELETED" ) +// InputSecurityGroupState_Values returns all elements of the InputSecurityGroupState enum +func InputSecurityGroupState_Values() []string { + return []string{ + InputSecurityGroupStateIdle, + InputSecurityGroupStateInUse, + InputSecurityGroupStateUpdating, + InputSecurityGroupStateDeleted, + } +} + // Input Source End Behavior const ( // InputSourceEndBehaviorContinue is a InputSourceEndBehavior enum value @@ -25733,6 +27069,14 @@ const ( InputSourceEndBehaviorLoop = "LOOP" ) +// InputSourceEndBehavior_Values returns all elements of the InputSourceEndBehavior enum +func InputSourceEndBehavior_Values() []string { + return []string{ + InputSourceEndBehaviorContinue, + InputSourceEndBehaviorLoop, + } +} + // There are two types of input sources, static and dynamic. If an input source // is dynamic you canchange the source url of the input dynamically using an // input switch action. However, the only input typeto support a dynamic url @@ -25745,6 +27089,14 @@ const ( InputSourceTypeDynamic = "DYNAMIC" ) +// InputSourceType_Values returns all elements of the InputSourceType enum +func InputSourceType_Values() []string { + return []string{ + InputSourceTypeStatic, + InputSourceTypeDynamic, + } +} + const ( // InputStateCreating is a InputState enum value InputStateCreating = "CREATING" @@ -25762,6 +27114,17 @@ const ( InputStateDeleted = "DELETED" ) +// InputState_Values returns all elements of the InputState enum +func InputState_Values() []string { + return []string{ + InputStateCreating, + InputStateDetached, + InputStateAttached, + InputStateDeleting, + InputStateDeleted, + } +} + // To clip the file, you must specify the timecode for the start and end of // the clip. Specify EMBEDDED to use the timecode embedded in the source content. // The embedded timecode must exist in the source content, otherwise MediaLive @@ -25777,6 +27140,14 @@ const ( InputTimecodeSourceEmbedded = "EMBEDDED" ) +// InputTimecodeSource_Values returns all elements of the InputTimecodeSource enum +func InputTimecodeSource_Values() []string { + return []string{ + InputTimecodeSourceZerobased, + InputTimecodeSourceEmbedded, + } +} + const ( // InputTypeUdpPush is a InputType enum value InputTypeUdpPush = "UDP_PUSH" @@ -25803,6 +27174,20 @@ const ( InputTypeInputDevice = "INPUT_DEVICE" ) +// InputType_Values returns all elements of the InputType enum +func InputType_Values() []string { + return []string{ + InputTypeUdpPush, + InputTypeRtpPush, + InputTypeRtmpPush, + InputTypeRtmpPull, + InputTypeUrlPull, + InputTypeMp4File, + InputTypeMediaconnect, + InputTypeInputDevice, + } +} + // If you specify a StopTimecode in an input (in order to clip the file), you // can specify if you want the clip to exclude (the default) or include the // frame specified by the timecode. @@ -25814,6 +27199,14 @@ const ( LastFrameClippingBehaviorIncludeLastFrame = "INCLUDE_LAST_FRAME" ) +// LastFrameClippingBehavior_Values returns all elements of the LastFrameClippingBehavior enum +func LastFrameClippingBehavior_Values() []string { + return []string{ + LastFrameClippingBehaviorExcludeLastFrame, + LastFrameClippingBehaviorIncludeLastFrame, + } +} + // The log level the user wants for their channel. const ( // LogLevelError is a LogLevel enum value @@ -25832,6 +27225,17 @@ const ( LogLevelDisabled = "DISABLED" ) +// LogLevel_Values returns all elements of the LogLevel enum +func LogLevel_Values() []string { + return []string{ + LogLevelError, + LogLevelWarning, + LogLevelInfo, + LogLevelDebug, + LogLevelDisabled, + } +} + // M2ts Absent Input Audio Behavior const ( // M2tsAbsentInputAudioBehaviorDrop is a M2tsAbsentInputAudioBehavior enum value @@ -25841,6 +27245,14 @@ const ( M2tsAbsentInputAudioBehaviorEncodeSilence = "ENCODE_SILENCE" ) +// M2tsAbsentInputAudioBehavior_Values returns all elements of the M2tsAbsentInputAudioBehavior enum +func M2tsAbsentInputAudioBehavior_Values() []string { + return []string{ + M2tsAbsentInputAudioBehaviorDrop, + M2tsAbsentInputAudioBehaviorEncodeSilence, + } +} + // M2ts Arib const ( // M2tsAribDisabled is a M2tsArib enum value @@ -25850,6 +27262,14 @@ const ( M2tsAribEnabled = "ENABLED" ) +// M2tsArib_Values returns all elements of the M2tsArib enum +func M2tsArib_Values() []string { + return []string{ + M2tsAribDisabled, + M2tsAribEnabled, + } +} + // M2ts Arib Captions Pid Control const ( // M2tsAribCaptionsPidControlAuto is a M2tsAribCaptionsPidControl enum value @@ -25859,6 +27279,14 @@ const ( M2tsAribCaptionsPidControlUseConfigured = "USE_CONFIGURED" ) +// M2tsAribCaptionsPidControl_Values returns all elements of the M2tsAribCaptionsPidControl enum +func M2tsAribCaptionsPidControl_Values() []string { + return []string{ + M2tsAribCaptionsPidControlAuto, + M2tsAribCaptionsPidControlUseConfigured, + } +} + // M2ts Audio Buffer Model const ( // M2tsAudioBufferModelAtsc is a M2tsAudioBufferModel enum value @@ -25868,6 +27296,14 @@ const ( M2tsAudioBufferModelDvb = "DVB" ) +// M2tsAudioBufferModel_Values returns all elements of the M2tsAudioBufferModel enum +func M2tsAudioBufferModel_Values() []string { + return []string{ + M2tsAudioBufferModelAtsc, + M2tsAudioBufferModelDvb, + } +} + // M2ts Audio Interval const ( // M2tsAudioIntervalVideoAndFixedIntervals is a M2tsAudioInterval enum value @@ -25877,6 +27313,14 @@ const ( M2tsAudioIntervalVideoInterval = "VIDEO_INTERVAL" ) +// M2tsAudioInterval_Values returns all elements of the M2tsAudioInterval enum +func M2tsAudioInterval_Values() []string { + return []string{ + M2tsAudioIntervalVideoAndFixedIntervals, + M2tsAudioIntervalVideoInterval, + } +} + // M2ts Audio Stream Type const ( // M2tsAudioStreamTypeAtsc is a M2tsAudioStreamType enum value @@ -25886,6 +27330,14 @@ const ( M2tsAudioStreamTypeDvb = "DVB" ) +// M2tsAudioStreamType_Values returns all elements of the M2tsAudioStreamType enum +func M2tsAudioStreamType_Values() []string { + return []string{ + M2tsAudioStreamTypeAtsc, + M2tsAudioStreamTypeDvb, + } +} + // M2ts Buffer Model const ( // M2tsBufferModelMultiplex is a M2tsBufferModel enum value @@ -25895,6 +27347,14 @@ const ( M2tsBufferModelNone = "NONE" ) +// M2tsBufferModel_Values returns all elements of the M2tsBufferModel enum +func M2tsBufferModel_Values() []string { + return []string{ + M2tsBufferModelMultiplex, + M2tsBufferModelNone, + } +} + // M2ts Cc Descriptor const ( // M2tsCcDescriptorDisabled is a M2tsCcDescriptor enum value @@ -25904,6 +27364,14 @@ const ( M2tsCcDescriptorEnabled = "ENABLED" ) +// M2tsCcDescriptor_Values returns all elements of the M2tsCcDescriptor enum +func M2tsCcDescriptor_Values() []string { + return []string{ + M2tsCcDescriptorDisabled, + M2tsCcDescriptorEnabled, + } +} + // M2ts Ebif Control const ( // M2tsEbifControlNone is a M2tsEbifControl enum value @@ -25913,6 +27381,14 @@ const ( M2tsEbifControlPassthrough = "PASSTHROUGH" ) +// M2tsEbifControl_Values returns all elements of the M2tsEbifControl enum +func M2tsEbifControl_Values() []string { + return []string{ + M2tsEbifControlNone, + M2tsEbifControlPassthrough, + } +} + // M2ts Ebp Placement const ( // M2tsEbpPlacementVideoAndAudioPids is a M2tsEbpPlacement enum value @@ -25922,6 +27398,14 @@ const ( M2tsEbpPlacementVideoPid = "VIDEO_PID" ) +// M2tsEbpPlacement_Values returns all elements of the M2tsEbpPlacement enum +func M2tsEbpPlacement_Values() []string { + return []string{ + M2tsEbpPlacementVideoAndAudioPids, + M2tsEbpPlacementVideoPid, + } +} + // M2ts Es Rate In Pes const ( // M2tsEsRateInPesExclude is a M2tsEsRateInPes enum value @@ -25931,6 +27415,14 @@ const ( M2tsEsRateInPesInclude = "INCLUDE" ) +// M2tsEsRateInPes_Values returns all elements of the M2tsEsRateInPes enum +func M2tsEsRateInPes_Values() []string { + return []string{ + M2tsEsRateInPesExclude, + M2tsEsRateInPesInclude, + } +} + // M2ts Klv const ( // M2tsKlvNone is a M2tsKlv enum value @@ -25940,6 +27432,14 @@ const ( M2tsKlvPassthrough = "PASSTHROUGH" ) +// M2tsKlv_Values returns all elements of the M2tsKlv enum +func M2tsKlv_Values() []string { + return []string{ + M2tsKlvNone, + M2tsKlvPassthrough, + } +} + // M2ts Nielsen Id3 Behavior const ( // M2tsNielsenId3BehaviorNoPassthrough is a M2tsNielsenId3Behavior enum value @@ -25949,6 +27449,14 @@ const ( M2tsNielsenId3BehaviorPassthrough = "PASSTHROUGH" ) +// M2tsNielsenId3Behavior_Values returns all elements of the M2tsNielsenId3Behavior enum +func M2tsNielsenId3Behavior_Values() []string { + return []string{ + M2tsNielsenId3BehaviorNoPassthrough, + M2tsNielsenId3BehaviorPassthrough, + } +} + // M2ts Pcr Control const ( // M2tsPcrControlConfiguredPcrPeriod is a M2tsPcrControl enum value @@ -25958,6 +27466,14 @@ const ( M2tsPcrControlPcrEveryPesPacket = "PCR_EVERY_PES_PACKET" ) +// M2tsPcrControl_Values returns all elements of the M2tsPcrControl enum +func M2tsPcrControl_Values() []string { + return []string{ + M2tsPcrControlConfiguredPcrPeriod, + M2tsPcrControlPcrEveryPesPacket, + } +} + // M2ts Rate Mode const ( // M2tsRateModeCbr is a M2tsRateMode enum value @@ -25967,6 +27483,14 @@ const ( M2tsRateModeVbr = "VBR" ) +// M2tsRateMode_Values returns all elements of the M2tsRateMode enum +func M2tsRateMode_Values() []string { + return []string{ + M2tsRateModeCbr, + M2tsRateModeVbr, + } +} + // M2ts Scte35 Control const ( // M2tsScte35ControlNone is a M2tsScte35Control enum value @@ -25976,6 +27500,14 @@ const ( M2tsScte35ControlPassthrough = "PASSTHROUGH" ) +// M2tsScte35Control_Values returns all elements of the M2tsScte35Control enum +func M2tsScte35Control_Values() []string { + return []string{ + M2tsScte35ControlNone, + M2tsScte35ControlPassthrough, + } +} + // M2ts Segmentation Markers const ( // M2tsSegmentationMarkersEbp is a M2tsSegmentationMarkers enum value @@ -25997,6 +27529,18 @@ const ( M2tsSegmentationMarkersRaiSegstart = "RAI_SEGSTART" ) +// M2tsSegmentationMarkers_Values returns all elements of the M2tsSegmentationMarkers enum +func M2tsSegmentationMarkers_Values() []string { + return []string{ + M2tsSegmentationMarkersEbp, + M2tsSegmentationMarkersEbpLegacy, + M2tsSegmentationMarkersNone, + M2tsSegmentationMarkersPsiSegstart, + M2tsSegmentationMarkersRaiAdapt, + M2tsSegmentationMarkersRaiSegstart, + } +} + // M2ts Segmentation Style const ( // M2tsSegmentationStyleMaintainCadence is a M2tsSegmentationStyle enum value @@ -26006,6 +27550,14 @@ const ( M2tsSegmentationStyleResetCadence = "RESET_CADENCE" ) +// M2tsSegmentationStyle_Values returns all elements of the M2tsSegmentationStyle enum +func M2tsSegmentationStyle_Values() []string { + return []string{ + M2tsSegmentationStyleMaintainCadence, + M2tsSegmentationStyleResetCadence, + } +} + // M2ts Timed Metadata Behavior const ( // M2tsTimedMetadataBehaviorNoPassthrough is a M2tsTimedMetadataBehavior enum value @@ -26015,6 +27567,14 @@ const ( M2tsTimedMetadataBehaviorPassthrough = "PASSTHROUGH" ) +// M2tsTimedMetadataBehavior_Values returns all elements of the M2tsTimedMetadataBehavior enum +func M2tsTimedMetadataBehavior_Values() []string { + return []string{ + M2tsTimedMetadataBehaviorNoPassthrough, + M2tsTimedMetadataBehaviorPassthrough, + } +} + // M3u8 Nielsen Id3 Behavior const ( // M3u8NielsenId3BehaviorNoPassthrough is a M3u8NielsenId3Behavior enum value @@ -26024,6 +27584,14 @@ const ( M3u8NielsenId3BehaviorPassthrough = "PASSTHROUGH" ) +// M3u8NielsenId3Behavior_Values returns all elements of the M3u8NielsenId3Behavior enum +func M3u8NielsenId3Behavior_Values() []string { + return []string{ + M3u8NielsenId3BehaviorNoPassthrough, + M3u8NielsenId3BehaviorPassthrough, + } +} + // M3u8 Pcr Control const ( // M3u8PcrControlConfiguredPcrPeriod is a M3u8PcrControl enum value @@ -26033,6 +27601,14 @@ const ( M3u8PcrControlPcrEveryPesPacket = "PCR_EVERY_PES_PACKET" ) +// M3u8PcrControl_Values returns all elements of the M3u8PcrControl enum +func M3u8PcrControl_Values() []string { + return []string{ + M3u8PcrControlConfiguredPcrPeriod, + M3u8PcrControlPcrEveryPesPacket, + } +} + // M3u8 Scte35 Behavior const ( // M3u8Scte35BehaviorNoPassthrough is a M3u8Scte35Behavior enum value @@ -26042,6 +27618,14 @@ const ( M3u8Scte35BehaviorPassthrough = "PASSTHROUGH" ) +// M3u8Scte35Behavior_Values returns all elements of the M3u8Scte35Behavior enum +func M3u8Scte35Behavior_Values() []string { + return []string{ + M3u8Scte35BehaviorNoPassthrough, + M3u8Scte35BehaviorPassthrough, + } +} + // M3u8 Timed Metadata Behavior const ( // M3u8TimedMetadataBehaviorNoPassthrough is a M3u8TimedMetadataBehavior enum value @@ -26051,6 +27635,14 @@ const ( M3u8TimedMetadataBehaviorPassthrough = "PASSTHROUGH" ) +// M3u8TimedMetadataBehavior_Values returns all elements of the M3u8TimedMetadataBehavior enum +func M3u8TimedMetadataBehavior_Values() []string { + return []string{ + M3u8TimedMetadataBehaviorNoPassthrough, + M3u8TimedMetadataBehaviorPassthrough, + } +} + // Mp2 Coding Mode const ( // Mp2CodingModeCodingMode10 is a Mp2CodingMode enum value @@ -26060,6 +27652,14 @@ const ( Mp2CodingModeCodingMode20 = "CODING_MODE_2_0" ) +// Mp2CodingMode_Values returns all elements of the Mp2CodingMode enum +func Mp2CodingMode_Values() []string { + return []string{ + Mp2CodingModeCodingMode10, + Mp2CodingModeCodingMode20, + } +} + // Ms Smooth H265 Packaging Type const ( // MsSmoothH265PackagingTypeHev1 is a MsSmoothH265PackagingType enum value @@ -26069,6 +27669,14 @@ const ( MsSmoothH265PackagingTypeHvc1 = "HVC1" ) +// MsSmoothH265PackagingType_Values returns all elements of the MsSmoothH265PackagingType enum +func MsSmoothH265PackagingType_Values() []string { + return []string{ + MsSmoothH265PackagingTypeHev1, + MsSmoothH265PackagingTypeHvc1, + } +} + // The current state of the multiplex. const ( // MultiplexStateCreating is a MultiplexState enum value @@ -26099,6 +27707,21 @@ const ( MultiplexStateDeleted = "DELETED" ) +// MultiplexState_Values returns all elements of the MultiplexState enum +func MultiplexState_Values() []string { + return []string{ + MultiplexStateCreating, + MultiplexStateCreateFailed, + MultiplexStateIdle, + MultiplexStateStarting, + MultiplexStateRunning, + MultiplexStateRecovering, + MultiplexStateStopping, + MultiplexStateDeleting, + MultiplexStateDeleted, + } +} + // Network Input Server Validation const ( // NetworkInputServerValidationCheckCryptographyAndValidateName is a NetworkInputServerValidation enum value @@ -26108,6 +27731,14 @@ const ( NetworkInputServerValidationCheckCryptographyOnly = "CHECK_CRYPTOGRAPHY_ONLY" ) +// NetworkInputServerValidation_Values returns all elements of the NetworkInputServerValidation enum +func NetworkInputServerValidation_Values() []string { + return []string{ + NetworkInputServerValidationCheckCryptographyAndValidateName, + NetworkInputServerValidationCheckCryptographyOnly, + } +} + // State of Nielsen PCM to ID3 tagging const ( // NielsenPcmToId3TaggingStateDisabled is a NielsenPcmToId3TaggingState enum value @@ -26117,18 +27748,40 @@ const ( NielsenPcmToId3TaggingStateEnabled = "ENABLED" ) +// NielsenPcmToId3TaggingState_Values returns all elements of the NielsenPcmToId3TaggingState enum +func NielsenPcmToId3TaggingState_Values() []string { + return []string{ + NielsenPcmToId3TaggingStateDisabled, + NielsenPcmToId3TaggingStateEnabled, + } +} + // Units for duration, e.g. 'MONTHS' const ( // OfferingDurationUnitsMonths is a OfferingDurationUnits enum value OfferingDurationUnitsMonths = "MONTHS" ) +// OfferingDurationUnits_Values returns all elements of the OfferingDurationUnits enum +func OfferingDurationUnits_Values() []string { + return []string{ + OfferingDurationUnitsMonths, + } +} + // Offering type, e.g. 'NO_UPFRONT' const ( // OfferingTypeNoUpfront is a OfferingType enum value OfferingTypeNoUpfront = "NO_UPFRONT" ) +// OfferingType_Values returns all elements of the OfferingType enum +func OfferingType_Values() []string { + return []string{ + OfferingTypeNoUpfront, + } +} + // Pipeline ID const ( // PipelineIdPipeline0 is a PipelineId enum value @@ -26138,6 +27791,14 @@ const ( PipelineIdPipeline1 = "PIPELINE_1" ) +// PipelineId_Values returns all elements of the PipelineId enum +func PipelineId_Values() []string { + return []string{ + PipelineIdPipeline0, + PipelineIdPipeline1, + } +} + // Indicates which pipeline is preferred by the multiplex for program ingest.If // set to \"PIPELINE_0\" or \"PIPELINE_1\" and an unhealthy ingest causes the // multiplex to switch to the non-preferred pipeline,it will switch back once @@ -26155,6 +27816,15 @@ const ( PreferredChannelPipelinePipeline1 = "PIPELINE_1" ) +// PreferredChannelPipeline_Values returns all elements of the PreferredChannelPipeline enum +func PreferredChannelPipeline_Values() []string { + return []string{ + PreferredChannelPipelineCurrentlyActive, + PreferredChannelPipelinePipeline0, + PreferredChannelPipelinePipeline1, + } +} + // Codec, 'MPEG2', 'AVC', 'HEVC', or 'AUDIO' const ( // ReservationCodecMpeg2 is a ReservationCodec enum value @@ -26170,6 +27840,16 @@ const ( ReservationCodecAudio = "AUDIO" ) +// ReservationCodec_Values returns all elements of the ReservationCodec enum +func ReservationCodec_Values() []string { + return []string{ + ReservationCodecMpeg2, + ReservationCodecAvc, + ReservationCodecHevc, + ReservationCodecAudio, + } +} + // Maximum bitrate in megabits per second const ( // ReservationMaximumBitrateMax10Mbps is a ReservationMaximumBitrate enum value @@ -26182,6 +27862,15 @@ const ( ReservationMaximumBitrateMax50Mbps = "MAX_50_MBPS" ) +// ReservationMaximumBitrate_Values returns all elements of the ReservationMaximumBitrate enum +func ReservationMaximumBitrate_Values() []string { + return []string{ + ReservationMaximumBitrateMax10Mbps, + ReservationMaximumBitrateMax20Mbps, + ReservationMaximumBitrateMax50Mbps, + } +} + // Maximum framerate in frames per second (Outputs only) const ( // ReservationMaximumFramerateMax30Fps is a ReservationMaximumFramerate enum value @@ -26191,6 +27880,14 @@ const ( ReservationMaximumFramerateMax60Fps = "MAX_60_FPS" ) +// ReservationMaximumFramerate_Values returns all elements of the ReservationMaximumFramerate enum +func ReservationMaximumFramerate_Values() []string { + return []string{ + ReservationMaximumFramerateMax30Fps, + ReservationMaximumFramerateMax60Fps, + } +} + // Resolution based on lines of vertical resolution; SD is less than 720 lines, // HD is 720 to 1080 lines, FHD is 1080 lines, UHD is greater than 1080 lines const ( @@ -26207,6 +27904,16 @@ const ( ReservationResolutionUhd = "UHD" ) +// ReservationResolution_Values returns all elements of the ReservationResolution enum +func ReservationResolution_Values() []string { + return []string{ + ReservationResolutionSd, + ReservationResolutionHd, + ReservationResolutionFhd, + ReservationResolutionUhd, + } +} + // Resource type, 'INPUT', 'OUTPUT', 'MULTIPLEX', or 'CHANNEL' const ( // ReservationResourceTypeInput is a ReservationResourceType enum value @@ -26222,6 +27929,16 @@ const ( ReservationResourceTypeChannel = "CHANNEL" ) +// ReservationResourceType_Values returns all elements of the ReservationResourceType enum +func ReservationResourceType_Values() []string { + return []string{ + ReservationResourceTypeInput, + ReservationResourceTypeOutput, + ReservationResourceTypeMultiplex, + ReservationResourceTypeChannel, + } +} + // Special features, 'ADVANCED_AUDIO' or 'AUDIO_NORMALIZATION' const ( // ReservationSpecialFeatureAdvancedAudio is a ReservationSpecialFeature enum value @@ -26231,6 +27948,14 @@ const ( ReservationSpecialFeatureAudioNormalization = "AUDIO_NORMALIZATION" ) +// ReservationSpecialFeature_Values returns all elements of the ReservationSpecialFeature enum +func ReservationSpecialFeature_Values() []string { + return []string{ + ReservationSpecialFeatureAdvancedAudio, + ReservationSpecialFeatureAudioNormalization, + } +} + // Current reservation state const ( // ReservationStateActive is a ReservationState enum value @@ -26246,6 +27971,16 @@ const ( ReservationStateDeleted = "DELETED" ) +// ReservationState_Values returns all elements of the ReservationState enum +func ReservationState_Values() []string { + return []string{ + ReservationStateActive, + ReservationStateExpired, + ReservationStateCanceled, + ReservationStateDeleted, + } +} + // Video quality, e.g. 'STANDARD' (Outputs only) const ( // ReservationVideoQualityStandard is a ReservationVideoQuality enum value @@ -26258,6 +27993,15 @@ const ( ReservationVideoQualityPremium = "PREMIUM" ) +// ReservationVideoQuality_Values returns all elements of the ReservationVideoQuality enum +func ReservationVideoQuality_Values() []string { + return []string{ + ReservationVideoQualityStandard, + ReservationVideoQualityEnhanced, + ReservationVideoQualityPremium, + } +} + // Rtmp Cache Full Behavior const ( // RtmpCacheFullBehaviorDisconnectImmediately is a RtmpCacheFullBehavior enum value @@ -26267,6 +28011,14 @@ const ( RtmpCacheFullBehaviorWaitForServer = "WAIT_FOR_SERVER" ) +// RtmpCacheFullBehavior_Values returns all elements of the RtmpCacheFullBehavior enum +func RtmpCacheFullBehavior_Values() []string { + return []string{ + RtmpCacheFullBehaviorDisconnectImmediately, + RtmpCacheFullBehaviorWaitForServer, + } +} + // Rtmp Caption Data const ( // RtmpCaptionDataAll is a RtmpCaptionData enum value @@ -26279,6 +28031,15 @@ const ( RtmpCaptionDataField1AndField2608 = "FIELD1_AND_FIELD2_608" ) +// RtmpCaptionData_Values returns all elements of the RtmpCaptionData enum +func RtmpCaptionData_Values() []string { + return []string{ + RtmpCaptionDataAll, + RtmpCaptionDataField1608, + RtmpCaptionDataField1AndField2608, + } +} + // Rtmp Output Certificate Mode const ( // RtmpOutputCertificateModeSelfSigned is a RtmpOutputCertificateMode enum value @@ -26288,6 +28049,14 @@ const ( RtmpOutputCertificateModeVerifyAuthenticity = "VERIFY_AUTHENTICITY" ) +// RtmpOutputCertificateMode_Values returns all elements of the RtmpOutputCertificateMode enum +func RtmpOutputCertificateMode_Values() []string { + return []string{ + RtmpOutputCertificateModeSelfSigned, + RtmpOutputCertificateModeVerifyAuthenticity, + } +} + // Scte20 Convert608 To708 const ( // Scte20Convert608To708Disabled is a Scte20Convert608To708 enum value @@ -26297,6 +28066,14 @@ const ( Scte20Convert608To708Upconvert = "UPCONVERT" ) +// Scte20Convert608To708_Values returns all elements of the Scte20Convert608To708 enum +func Scte20Convert608To708_Values() []string { + return []string{ + Scte20Convert608To708Disabled, + Scte20Convert608To708Upconvert, + } +} + // Scte35 Apos No Regional Blackout Behavior const ( // Scte35AposNoRegionalBlackoutBehaviorFollow is a Scte35AposNoRegionalBlackoutBehavior enum value @@ -26306,6 +28083,14 @@ const ( Scte35AposNoRegionalBlackoutBehaviorIgnore = "IGNORE" ) +// Scte35AposNoRegionalBlackoutBehavior_Values returns all elements of the Scte35AposNoRegionalBlackoutBehavior enum +func Scte35AposNoRegionalBlackoutBehavior_Values() []string { + return []string{ + Scte35AposNoRegionalBlackoutBehaviorFollow, + Scte35AposNoRegionalBlackoutBehaviorIgnore, + } +} + // Scte35 Apos Web Delivery Allowed Behavior const ( // Scte35AposWebDeliveryAllowedBehaviorFollow is a Scte35AposWebDeliveryAllowedBehavior enum value @@ -26315,6 +28100,14 @@ const ( Scte35AposWebDeliveryAllowedBehaviorIgnore = "IGNORE" ) +// Scte35AposWebDeliveryAllowedBehavior_Values returns all elements of the Scte35AposWebDeliveryAllowedBehavior enum +func Scte35AposWebDeliveryAllowedBehavior_Values() []string { + return []string{ + Scte35AposWebDeliveryAllowedBehaviorFollow, + Scte35AposWebDeliveryAllowedBehaviorIgnore, + } +} + // Corresponds to the archive_allowed parameter. A value of ARCHIVE_NOT_ALLOWED // corresponds to 0 (false) in the SCTE-35 specification. If you include one // of the "restriction" flags then you must include all four of them. @@ -26326,6 +28119,14 @@ const ( Scte35ArchiveAllowedFlagArchiveAllowed = "ARCHIVE_ALLOWED" ) +// Scte35ArchiveAllowedFlag_Values returns all elements of the Scte35ArchiveAllowedFlag enum +func Scte35ArchiveAllowedFlag_Values() []string { + return []string{ + Scte35ArchiveAllowedFlagArchiveNotAllowed, + Scte35ArchiveAllowedFlagArchiveAllowed, + } +} + // Corresponds to the device_restrictions parameter in a segmentation_descriptor. // If you include one of the "restriction" flags then you must include all four // of them. @@ -26343,6 +28144,16 @@ const ( Scte35DeviceRestrictionsRestrictGroup2 = "RESTRICT_GROUP2" ) +// Scte35DeviceRestrictions_Values returns all elements of the Scte35DeviceRestrictions enum +func Scte35DeviceRestrictions_Values() []string { + return []string{ + Scte35DeviceRestrictionsNone, + Scte35DeviceRestrictionsRestrictGroup0, + Scte35DeviceRestrictionsRestrictGroup1, + Scte35DeviceRestrictionsRestrictGroup2, + } +} + // Corresponds to the no_regional_blackout_flag parameter. A value of REGIONAL_BLACKOUT // corresponds to 0 (false) in the SCTE-35 specification. If you include one // of the "restriction" flags then you must include all four of them. @@ -26354,6 +28165,14 @@ const ( Scte35NoRegionalBlackoutFlagNoRegionalBlackout = "NO_REGIONAL_BLACKOUT" ) +// Scte35NoRegionalBlackoutFlag_Values returns all elements of the Scte35NoRegionalBlackoutFlag enum +func Scte35NoRegionalBlackoutFlag_Values() []string { + return []string{ + Scte35NoRegionalBlackoutFlagRegionalBlackout, + Scte35NoRegionalBlackoutFlagNoRegionalBlackout, + } +} + // Corresponds to SCTE-35 segmentation_event_cancel_indicator. SEGMENTATION_EVENT_NOT_CANCELED // corresponds to 0 in the SCTE-35 specification and indicates that this is // an insertion request. SEGMENTATION_EVENT_CANCELED corresponds to 1 in the @@ -26367,6 +28186,14 @@ const ( Scte35SegmentationCancelIndicatorSegmentationEventCanceled = "SEGMENTATION_EVENT_CANCELED" ) +// Scte35SegmentationCancelIndicator_Values returns all elements of the Scte35SegmentationCancelIndicator enum +func Scte35SegmentationCancelIndicator_Values() []string { + return []string{ + Scte35SegmentationCancelIndicatorSegmentationEventNotCanceled, + Scte35SegmentationCancelIndicatorSegmentationEventCanceled, + } +} + // Scte35 Splice Insert No Regional Blackout Behavior const ( // Scte35SpliceInsertNoRegionalBlackoutBehaviorFollow is a Scte35SpliceInsertNoRegionalBlackoutBehavior enum value @@ -26376,6 +28203,14 @@ const ( Scte35SpliceInsertNoRegionalBlackoutBehaviorIgnore = "IGNORE" ) +// Scte35SpliceInsertNoRegionalBlackoutBehavior_Values returns all elements of the Scte35SpliceInsertNoRegionalBlackoutBehavior enum +func Scte35SpliceInsertNoRegionalBlackoutBehavior_Values() []string { + return []string{ + Scte35SpliceInsertNoRegionalBlackoutBehaviorFollow, + Scte35SpliceInsertNoRegionalBlackoutBehaviorIgnore, + } +} + // Scte35 Splice Insert Web Delivery Allowed Behavior const ( // Scte35SpliceInsertWebDeliveryAllowedBehaviorFollow is a Scte35SpliceInsertWebDeliveryAllowedBehavior enum value @@ -26385,6 +28220,14 @@ const ( Scte35SpliceInsertWebDeliveryAllowedBehaviorIgnore = "IGNORE" ) +// Scte35SpliceInsertWebDeliveryAllowedBehavior_Values returns all elements of the Scte35SpliceInsertWebDeliveryAllowedBehavior enum +func Scte35SpliceInsertWebDeliveryAllowedBehavior_Values() []string { + return []string{ + Scte35SpliceInsertWebDeliveryAllowedBehaviorFollow, + Scte35SpliceInsertWebDeliveryAllowedBehaviorIgnore, + } +} + // Corresponds to the web_delivery_allowed_flag parameter. A value of WEB_DELIVERY_NOT_ALLOWED // corresponds to 0 (false) in the SCTE-35 specification. If you include one // of the "restriction" flags then you must include all four of them. @@ -26396,6 +28239,14 @@ const ( Scte35WebDeliveryAllowedFlagWebDeliveryAllowed = "WEB_DELIVERY_ALLOWED" ) +// Scte35WebDeliveryAllowedFlag_Values returns all elements of the Scte35WebDeliveryAllowedFlag enum +func Scte35WebDeliveryAllowedFlag_Values() []string { + return []string{ + Scte35WebDeliveryAllowedFlagWebDeliveryNotAllowed, + Scte35WebDeliveryAllowedFlagWebDeliveryAllowed, + } +} + // Smooth Group Audio Only Timecode Control const ( // SmoothGroupAudioOnlyTimecodeControlPassthrough is a SmoothGroupAudioOnlyTimecodeControl enum value @@ -26405,6 +28256,14 @@ const ( SmoothGroupAudioOnlyTimecodeControlUseConfiguredClock = "USE_CONFIGURED_CLOCK" ) +// SmoothGroupAudioOnlyTimecodeControl_Values returns all elements of the SmoothGroupAudioOnlyTimecodeControl enum +func SmoothGroupAudioOnlyTimecodeControl_Values() []string { + return []string{ + SmoothGroupAudioOnlyTimecodeControlPassthrough, + SmoothGroupAudioOnlyTimecodeControlUseConfiguredClock, + } +} + // Smooth Group Certificate Mode const ( // SmoothGroupCertificateModeSelfSigned is a SmoothGroupCertificateMode enum value @@ -26414,6 +28273,14 @@ const ( SmoothGroupCertificateModeVerifyAuthenticity = "VERIFY_AUTHENTICITY" ) +// SmoothGroupCertificateMode_Values returns all elements of the SmoothGroupCertificateMode enum +func SmoothGroupCertificateMode_Values() []string { + return []string{ + SmoothGroupCertificateModeSelfSigned, + SmoothGroupCertificateModeVerifyAuthenticity, + } +} + // Smooth Group Event Id Mode const ( // SmoothGroupEventIdModeNoEventId is a SmoothGroupEventIdMode enum value @@ -26426,6 +28293,15 @@ const ( SmoothGroupEventIdModeUseTimestamp = "USE_TIMESTAMP" ) +// SmoothGroupEventIdMode_Values returns all elements of the SmoothGroupEventIdMode enum +func SmoothGroupEventIdMode_Values() []string { + return []string{ + SmoothGroupEventIdModeNoEventId, + SmoothGroupEventIdModeUseConfigured, + SmoothGroupEventIdModeUseTimestamp, + } +} + // Smooth Group Event Stop Behavior const ( // SmoothGroupEventStopBehaviorNone is a SmoothGroupEventStopBehavior enum value @@ -26435,6 +28311,14 @@ const ( SmoothGroupEventStopBehaviorSendEos = "SEND_EOS" ) +// SmoothGroupEventStopBehavior_Values returns all elements of the SmoothGroupEventStopBehavior enum +func SmoothGroupEventStopBehavior_Values() []string { + return []string{ + SmoothGroupEventStopBehaviorNone, + SmoothGroupEventStopBehaviorSendEos, + } +} + // Smooth Group Segmentation Mode const ( // SmoothGroupSegmentationModeUseInputSegmentation is a SmoothGroupSegmentationMode enum value @@ -26444,6 +28328,14 @@ const ( SmoothGroupSegmentationModeUseSegmentDuration = "USE_SEGMENT_DURATION" ) +// SmoothGroupSegmentationMode_Values returns all elements of the SmoothGroupSegmentationMode enum +func SmoothGroupSegmentationMode_Values() []string { + return []string{ + SmoothGroupSegmentationModeUseInputSegmentation, + SmoothGroupSegmentationModeUseSegmentDuration, + } +} + // Smooth Group Sparse Track Type const ( // SmoothGroupSparseTrackTypeNone is a SmoothGroupSparseTrackType enum value @@ -26456,6 +28348,15 @@ const ( SmoothGroupSparseTrackTypeScte35WithoutSegmentation = "SCTE_35_WITHOUT_SEGMENTATION" ) +// SmoothGroupSparseTrackType_Values returns all elements of the SmoothGroupSparseTrackType enum +func SmoothGroupSparseTrackType_Values() []string { + return []string{ + SmoothGroupSparseTrackTypeNone, + SmoothGroupSparseTrackTypeScte35, + SmoothGroupSparseTrackTypeScte35WithoutSegmentation, + } +} + // Smooth Group Stream Manifest Behavior const ( // SmoothGroupStreamManifestBehaviorDoNotSend is a SmoothGroupStreamManifestBehavior enum value @@ -26465,6 +28366,14 @@ const ( SmoothGroupStreamManifestBehaviorSend = "SEND" ) +// SmoothGroupStreamManifestBehavior_Values returns all elements of the SmoothGroupStreamManifestBehavior enum +func SmoothGroupStreamManifestBehavior_Values() []string { + return []string{ + SmoothGroupStreamManifestBehaviorDoNotSend, + SmoothGroupStreamManifestBehaviorSend, + } +} + // Smooth Group Timestamp Offset Mode const ( // SmoothGroupTimestampOffsetModeUseConfiguredOffset is a SmoothGroupTimestampOffsetMode enum value @@ -26474,6 +28383,14 @@ const ( SmoothGroupTimestampOffsetModeUseEventStartDate = "USE_EVENT_START_DATE" ) +// SmoothGroupTimestampOffsetMode_Values returns all elements of the SmoothGroupTimestampOffsetMode enum +func SmoothGroupTimestampOffsetMode_Values() []string { + return []string{ + SmoothGroupTimestampOffsetModeUseConfiguredOffset, + SmoothGroupTimestampOffsetModeUseEventStartDate, + } +} + // Smpte2038 Data Preference const ( // Smpte2038DataPreferenceIgnore is a Smpte2038DataPreference enum value @@ -26483,6 +28400,14 @@ const ( Smpte2038DataPreferencePrefer = "PREFER" ) +// Smpte2038DataPreference_Values returns all elements of the Smpte2038DataPreference enum +func Smpte2038DataPreference_Values() []string { + return []string{ + Smpte2038DataPreferenceIgnore, + Smpte2038DataPreferencePrefer, + } +} + // Temporal Filter Post Filter Sharpening const ( // TemporalFilterPostFilterSharpeningAuto is a TemporalFilterPostFilterSharpening enum value @@ -26495,6 +28420,15 @@ const ( TemporalFilterPostFilterSharpeningEnabled = "ENABLED" ) +// TemporalFilterPostFilterSharpening_Values returns all elements of the TemporalFilterPostFilterSharpening enum +func TemporalFilterPostFilterSharpening_Values() []string { + return []string{ + TemporalFilterPostFilterSharpeningAuto, + TemporalFilterPostFilterSharpeningDisabled, + TemporalFilterPostFilterSharpeningEnabled, + } +} + // Temporal Filter Strength const ( // TemporalFilterStrengthAuto is a TemporalFilterStrength enum value @@ -26549,6 +28483,29 @@ const ( TemporalFilterStrengthStrength16 = "STRENGTH_16" ) +// TemporalFilterStrength_Values returns all elements of the TemporalFilterStrength enum +func TemporalFilterStrength_Values() []string { + return []string{ + TemporalFilterStrengthAuto, + TemporalFilterStrengthStrength1, + TemporalFilterStrengthStrength2, + TemporalFilterStrengthStrength3, + TemporalFilterStrengthStrength4, + TemporalFilterStrengthStrength5, + TemporalFilterStrengthStrength6, + TemporalFilterStrengthStrength7, + TemporalFilterStrengthStrength8, + TemporalFilterStrengthStrength9, + TemporalFilterStrengthStrength10, + TemporalFilterStrengthStrength11, + TemporalFilterStrengthStrength12, + TemporalFilterStrengthStrength13, + TemporalFilterStrengthStrength14, + TemporalFilterStrengthStrength15, + TemporalFilterStrengthStrength16, + } +} + // Timecode Config Source const ( // TimecodeConfigSourceEmbedded is a TimecodeConfigSource enum value @@ -26561,6 +28518,15 @@ const ( TimecodeConfigSourceZerobased = "ZEROBASED" ) +// TimecodeConfigSource_Values returns all elements of the TimecodeConfigSource enum +func TimecodeConfigSource_Values() []string { + return []string{ + TimecodeConfigSourceEmbedded, + TimecodeConfigSourceSystemclock, + TimecodeConfigSourceZerobased, + } +} + // Ttml Destination Style Control const ( // TtmlDestinationStyleControlPassthrough is a TtmlDestinationStyleControl enum value @@ -26570,6 +28536,14 @@ const ( TtmlDestinationStyleControlUseConfigured = "USE_CONFIGURED" ) +// TtmlDestinationStyleControl_Values returns all elements of the TtmlDestinationStyleControl enum +func TtmlDestinationStyleControl_Values() []string { + return []string{ + TtmlDestinationStyleControlPassthrough, + TtmlDestinationStyleControlUseConfigured, + } +} + // Udp Timed Metadata Id3 Frame const ( // UdpTimedMetadataId3FrameNone is a UdpTimedMetadataId3Frame enum value @@ -26582,6 +28556,15 @@ const ( UdpTimedMetadataId3FrameTdrl = "TDRL" ) +// UdpTimedMetadataId3Frame_Values returns all elements of the UdpTimedMetadataId3Frame enum +func UdpTimedMetadataId3Frame_Values() []string { + return []string{ + UdpTimedMetadataId3FrameNone, + UdpTimedMetadataId3FramePriv, + UdpTimedMetadataId3FrameTdrl, + } +} + // Video Description Respond To Afd const ( // VideoDescriptionRespondToAfdNone is a VideoDescriptionRespondToAfd enum value @@ -26594,6 +28577,15 @@ const ( VideoDescriptionRespondToAfdRespond = "RESPOND" ) +// VideoDescriptionRespondToAfd_Values returns all elements of the VideoDescriptionRespondToAfd enum +func VideoDescriptionRespondToAfd_Values() []string { + return []string{ + VideoDescriptionRespondToAfdNone, + VideoDescriptionRespondToAfdPassthrough, + VideoDescriptionRespondToAfdRespond, + } +} + // Video Description Scaling Behavior const ( // VideoDescriptionScalingBehaviorDefault is a VideoDescriptionScalingBehavior enum value @@ -26603,6 +28595,14 @@ const ( VideoDescriptionScalingBehaviorStretchToOutput = "STRETCH_TO_OUTPUT" ) +// VideoDescriptionScalingBehavior_Values returns all elements of the VideoDescriptionScalingBehavior enum +func VideoDescriptionScalingBehavior_Values() []string { + return []string{ + VideoDescriptionScalingBehaviorDefault, + VideoDescriptionScalingBehaviorStretchToOutput, + } +} + // Video Selector Color Space const ( // VideoSelectorColorSpaceFollow is a VideoSelectorColorSpace enum value @@ -26615,6 +28615,15 @@ const ( VideoSelectorColorSpaceRec709 = "REC_709" ) +// VideoSelectorColorSpace_Values returns all elements of the VideoSelectorColorSpace enum +func VideoSelectorColorSpace_Values() []string { + return []string{ + VideoSelectorColorSpaceFollow, + VideoSelectorColorSpaceRec601, + VideoSelectorColorSpaceRec709, + } +} + // Video Selector Color Space Usage const ( // VideoSelectorColorSpaceUsageFallback is a VideoSelectorColorSpaceUsage enum value @@ -26623,3 +28632,11 @@ const ( // VideoSelectorColorSpaceUsageForce is a VideoSelectorColorSpaceUsage enum value VideoSelectorColorSpaceUsageForce = "FORCE" ) + +// VideoSelectorColorSpaceUsage_Values returns all elements of the VideoSelectorColorSpaceUsage enum +func VideoSelectorColorSpaceUsage_Values() []string { + return []string{ + VideoSelectorColorSpaceUsageFallback, + VideoSelectorColorSpaceUsageForce, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/mediapackage/api.go b/vendor/github.com/aws/aws-sdk-go/service/mediapackage/api.go index ed1dba2ef82..6a2f30f2a36 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/mediapackage/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/mediapackage/api.go @@ -5947,6 +5947,16 @@ const ( AdMarkersDaterange = "DATERANGE" ) +// AdMarkers_Values returns all elements of the AdMarkers enum +func AdMarkers_Values() []string { + return []string{ + AdMarkersNone, + AdMarkersScte35Enhanced, + AdMarkersPassthrough, + AdMarkersDaterange, + } +} + // This setting allows the delivery restriction flags on SCTE-35 segmentation // descriptors todetermine whether a message signals an ad. Choosing "NONE" // means no SCTE-35 messages becomeads. Choosing "RESTRICTED" means SCTE-35 @@ -5971,6 +5981,16 @@ const ( AdsOnDeliveryRestrictionsBoth = "BOTH" ) +// AdsOnDeliveryRestrictions_Values returns all elements of the AdsOnDeliveryRestrictions enum +func AdsOnDeliveryRestrictions_Values() []string { + return []string{ + AdsOnDeliveryRestrictionsNone, + AdsOnDeliveryRestrictionsRestricted, + AdsOnDeliveryRestrictionsUnrestricted, + AdsOnDeliveryRestrictionsBoth, + } +} + const ( // EncryptionMethodAes128 is a EncryptionMethod enum value EncryptionMethodAes128 = "AES_128" @@ -5979,6 +5999,14 @@ const ( EncryptionMethodSampleAes = "SAMPLE_AES" ) +// EncryptionMethod_Values returns all elements of the EncryptionMethod enum +func EncryptionMethod_Values() []string { + return []string{ + EncryptionMethodAes128, + EncryptionMethodSampleAes, + } +} + const ( // ManifestLayoutFull is a ManifestLayout enum value ManifestLayoutFull = "FULL" @@ -5987,6 +6015,14 @@ const ( ManifestLayoutCompact = "COMPACT" ) +// ManifestLayout_Values returns all elements of the ManifestLayout enum +func ManifestLayout_Values() []string { + return []string{ + ManifestLayoutFull, + ManifestLayoutCompact, + } +} + const ( // OriginationAllow is a Origination enum value OriginationAllow = "ALLOW" @@ -5995,6 +6031,14 @@ const ( OriginationDeny = "DENY" ) +// Origination_Values returns all elements of the Origination enum +func Origination_Values() []string { + return []string{ + OriginationAllow, + OriginationDeny, + } +} + const ( // PlaylistTypeNone is a PlaylistType enum value PlaylistTypeNone = "NONE" @@ -6006,6 +6050,15 @@ const ( PlaylistTypeVod = "VOD" ) +// PlaylistType_Values returns all elements of the PlaylistType enum +func PlaylistType_Values() []string { + return []string{ + PlaylistTypeNone, + PlaylistTypeEvent, + PlaylistTypeVod, + } +} + const ( // ProfileNone is a Profile enum value ProfileNone = "NONE" @@ -6014,6 +6067,14 @@ const ( ProfileHbbtv15 = "HBBTV_1_5" ) +// Profile_Values returns all elements of the Profile enum +func Profile_Values() []string { + return []string{ + ProfileNone, + ProfileHbbtv15, + } +} + const ( // SegmentTemplateFormatNumberWithTimeline is a SegmentTemplateFormat enum value SegmentTemplateFormatNumberWithTimeline = "NUMBER_WITH_TIMELINE" @@ -6025,6 +6086,15 @@ const ( SegmentTemplateFormatNumberWithDuration = "NUMBER_WITH_DURATION" ) +// SegmentTemplateFormat_Values returns all elements of the SegmentTemplateFormat enum +func SegmentTemplateFormat_Values() []string { + return []string{ + SegmentTemplateFormatNumberWithTimeline, + SegmentTemplateFormatTimeWithTimeline, + SegmentTemplateFormatNumberWithDuration, + } +} + const ( // StatusInProgress is a Status enum value StatusInProgress = "IN_PROGRESS" @@ -6036,6 +6106,15 @@ const ( StatusFailed = "FAILED" ) +// Status_Values returns all elements of the Status enum +func Status_Values() []string { + return []string{ + StatusInProgress, + StatusSucceeded, + StatusFailed, + } +} + const ( // StreamOrderOriginal is a StreamOrder enum value StreamOrderOriginal = "ORIGINAL" @@ -6047,6 +6126,15 @@ const ( StreamOrderVideoBitrateDescending = "VIDEO_BITRATE_DESCENDING" ) +// StreamOrder_Values returns all elements of the StreamOrder enum +func StreamOrder_Values() []string { + return []string{ + StreamOrderOriginal, + StreamOrderVideoBitrateAscending, + StreamOrderVideoBitrateDescending, + } +} + const ( // __AdTriggersElementSpliceInsert is a __AdTriggersElement enum value __AdTriggersElementSpliceInsert = "SPLICE_INSERT" @@ -6073,7 +6161,28 @@ const ( __AdTriggersElementDistributorOverlayPlacementOpportunity = "DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY" ) +// __AdTriggersElement_Values returns all elements of the __AdTriggersElement enum +func __AdTriggersElement_Values() []string { + return []string{ + __AdTriggersElementSpliceInsert, + __AdTriggersElementBreak, + __AdTriggersElementProviderAdvertisement, + __AdTriggersElementDistributorAdvertisement, + __AdTriggersElementProviderPlacementOpportunity, + __AdTriggersElementDistributorPlacementOpportunity, + __AdTriggersElementProviderOverlayPlacementOpportunity, + __AdTriggersElementDistributorOverlayPlacementOpportunity, + } +} + const ( // __PeriodTriggersElementAds is a __PeriodTriggersElement enum value __PeriodTriggersElementAds = "ADS" ) + +// __PeriodTriggersElement_Values returns all elements of the __PeriodTriggersElement enum +func __PeriodTriggersElement_Values() []string { + return []string{ + __PeriodTriggersElementAds, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/mediastore/api.go b/vendor/github.com/aws/aws-sdk-go/service/mediastore/api.go index 1eac3f1834d..edee10620ec 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/mediastore/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/mediastore/api.go @@ -4153,6 +4153,14 @@ const ( ContainerLevelMetricsDisabled = "DISABLED" ) +// ContainerLevelMetrics_Values returns all elements of the ContainerLevelMetrics enum +func ContainerLevelMetrics_Values() []string { + return []string{ + ContainerLevelMetricsEnabled, + ContainerLevelMetricsDisabled, + } +} + const ( // ContainerStatusActive is a ContainerStatus enum value ContainerStatusActive = "ACTIVE" @@ -4164,6 +4172,15 @@ const ( ContainerStatusDeleting = "DELETING" ) +// ContainerStatus_Values returns all elements of the ContainerStatus enum +func ContainerStatus_Values() []string { + return []string{ + ContainerStatusActive, + ContainerStatusCreating, + ContainerStatusDeleting, + } +} + const ( // MethodNamePut is a MethodName enum value MethodNamePut = "PUT" @@ -4177,3 +4194,13 @@ const ( // MethodNameHead is a MethodName enum value MethodNameHead = "HEAD" ) + +// MethodName_Values returns all elements of the MethodName enum +func MethodName_Values() []string { + return []string{ + MethodNamePut, + MethodNameGet, + MethodNameDelete, + MethodNameHead, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/mediastoredata/api.go b/vendor/github.com/aws/aws-sdk-go/service/mediastoredata/api.go index 6c8cc748d64..e7f45d8098a 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/mediastoredata/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/mediastoredata/api.go @@ -1418,11 +1418,26 @@ const ( ItemTypeFolder = "FOLDER" ) +// ItemType_Values returns all elements of the ItemType enum +func ItemType_Values() []string { + return []string{ + ItemTypeObject, + ItemTypeFolder, + } +} + const ( // StorageClassTemporal is a StorageClass enum value StorageClassTemporal = "TEMPORAL" ) +// StorageClass_Values returns all elements of the StorageClass enum +func StorageClass_Values() []string { + return []string{ + StorageClassTemporal, + } +} + const ( // UploadAvailabilityStandard is a UploadAvailability enum value UploadAvailabilityStandard = "STANDARD" @@ -1430,3 +1445,11 @@ const ( // UploadAvailabilityStreaming is a UploadAvailability enum value UploadAvailabilityStreaming = "STREAMING" ) + +// UploadAvailability_Values returns all elements of the UploadAvailability enum +func UploadAvailability_Values() []string { + return []string{ + UploadAvailabilityStandard, + UploadAvailabilityStreaming, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/mq/api.go b/vendor/github.com/aws/aws-sdk-go/service/mq/api.go index 62205ac5cca..1b64630866e 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/mq/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/mq/api.go @@ -5912,6 +5912,14 @@ const ( AuthenticationStrategyLdap = "LDAP" ) +// AuthenticationStrategy_Values returns all elements of the AuthenticationStrategy enum +func AuthenticationStrategy_Values() []string { + return []string{ + AuthenticationStrategySimple, + AuthenticationStrategyLdap, + } +} + // The status of the broker. const ( // BrokerStateCreationInProgress is a BrokerState enum value @@ -5930,6 +5938,17 @@ const ( BrokerStateRebootInProgress = "REBOOT_IN_PROGRESS" ) +// BrokerState_Values returns all elements of the BrokerState enum +func BrokerState_Values() []string { + return []string{ + BrokerStateCreationInProgress, + BrokerStateCreationFailed, + BrokerStateDeletionInProgress, + BrokerStateRunning, + BrokerStateRebootInProgress, + } +} + // The storage type of the broker. const ( // BrokerStorageTypeEbs is a BrokerStorageType enum value @@ -5939,6 +5958,14 @@ const ( BrokerStorageTypeEfs = "EFS" ) +// BrokerStorageType_Values returns all elements of the BrokerStorageType enum +func BrokerStorageType_Values() []string { + return []string{ + BrokerStorageTypeEbs, + BrokerStorageTypeEfs, + } +} + // The type of change pending for the ActiveMQ user. const ( // ChangeTypeCreate is a ChangeType enum value @@ -5951,6 +5978,15 @@ const ( ChangeTypeDelete = "DELETE" ) +// ChangeType_Values returns all elements of the ChangeType enum +func ChangeType_Values() []string { + return []string{ + ChangeTypeCreate, + ChangeTypeUpdate, + ChangeTypeDelete, + } +} + const ( // DayOfWeekMonday is a DayOfWeek enum value DayOfWeekMonday = "MONDAY" @@ -5974,6 +6010,19 @@ const ( DayOfWeekSunday = "SUNDAY" ) +// DayOfWeek_Values returns all elements of the DayOfWeek enum +func DayOfWeek_Values() []string { + return []string{ + DayOfWeekMonday, + DayOfWeekTuesday, + DayOfWeekWednesday, + DayOfWeekThursday, + DayOfWeekFriday, + DayOfWeekSaturday, + DayOfWeekSunday, + } +} + // The deployment mode of the broker. const ( // DeploymentModeSingleInstance is a DeploymentMode enum value @@ -5983,12 +6032,27 @@ const ( DeploymentModeActiveStandbyMultiAz = "ACTIVE_STANDBY_MULTI_AZ" ) +// DeploymentMode_Values returns all elements of the DeploymentMode enum +func DeploymentMode_Values() []string { + return []string{ + DeploymentModeSingleInstance, + DeploymentModeActiveStandbyMultiAz, + } +} + // The type of broker engine. Note: Currently, Amazon MQ supports only ActiveMQ. const ( // EngineTypeActivemq is a EngineType enum value EngineTypeActivemq = "ACTIVEMQ" ) +// EngineType_Values returns all elements of the EngineType enum +func EngineType_Values() []string { + return []string{ + EngineTypeActivemq, + } +} + // The reason for which the XML elements or attributes were sanitized. const ( // SanitizationWarningReasonDisallowedElementRemoved is a SanitizationWarningReason enum value @@ -6000,3 +6064,12 @@ const ( // SanitizationWarningReasonInvalidAttributeValueRemoved is a SanitizationWarningReason enum value SanitizationWarningReasonInvalidAttributeValueRemoved = "INVALID_ATTRIBUTE_VALUE_REMOVED" ) + +// SanitizationWarningReason_Values returns all elements of the SanitizationWarningReason enum +func SanitizationWarningReason_Values() []string { + return []string{ + SanitizationWarningReasonDisallowedElementRemoved, + SanitizationWarningReasonDisallowedAttributeRemoved, + SanitizationWarningReasonInvalidAttributeValueRemoved, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/neptune/api.go b/vendor/github.com/aws/aws-sdk-go/service/neptune/api.go index 938839b0c04..b764c829512 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/neptune/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/neptune/api.go @@ -16953,6 +16953,14 @@ const ( ApplyMethodPendingReboot = "pending-reboot" ) +// ApplyMethod_Values returns all elements of the ApplyMethod enum +func ApplyMethod_Values() []string { + return []string{ + ApplyMethodImmediate, + ApplyMethodPendingReboot, + } +} + const ( // SourceTypeDbInstance is a SourceType enum value SourceTypeDbInstance = "db-instance" @@ -16972,3 +16980,15 @@ const ( // SourceTypeDbClusterSnapshot is a SourceType enum value SourceTypeDbClusterSnapshot = "db-cluster-snapshot" ) + +// SourceType_Values returns all elements of the SourceType enum +func SourceType_Values() []string { + return []string{ + SourceTypeDbInstance, + SourceTypeDbParameterGroup, + SourceTypeDbSecurityGroup, + SourceTypeDbSnapshot, + SourceTypeDbCluster, + SourceTypeDbClusterSnapshot, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/networkmanager/api.go b/vendor/github.com/aws/aws-sdk-go/service/networkmanager/api.go index dfc92232d59..50655967e66 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/networkmanager/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/networkmanager/api.go @@ -6991,6 +6991,16 @@ const ( CustomerGatewayAssociationStateDeleted = "DELETED" ) +// CustomerGatewayAssociationState_Values returns all elements of the CustomerGatewayAssociationState enum +func CustomerGatewayAssociationState_Values() []string { + return []string{ + CustomerGatewayAssociationStatePending, + CustomerGatewayAssociationStateAvailable, + CustomerGatewayAssociationStateDeleting, + CustomerGatewayAssociationStateDeleted, + } +} + const ( // DeviceStatePending is a DeviceState enum value DeviceStatePending = "PENDING" @@ -7005,6 +7015,16 @@ const ( DeviceStateUpdating = "UPDATING" ) +// DeviceState_Values returns all elements of the DeviceState enum +func DeviceState_Values() []string { + return []string{ + DeviceStatePending, + DeviceStateAvailable, + DeviceStateDeleting, + DeviceStateUpdating, + } +} + const ( // GlobalNetworkStatePending is a GlobalNetworkState enum value GlobalNetworkStatePending = "PENDING" @@ -7019,6 +7039,16 @@ const ( GlobalNetworkStateUpdating = "UPDATING" ) +// GlobalNetworkState_Values returns all elements of the GlobalNetworkState enum +func GlobalNetworkState_Values() []string { + return []string{ + GlobalNetworkStatePending, + GlobalNetworkStateAvailable, + GlobalNetworkStateDeleting, + GlobalNetworkStateUpdating, + } +} + const ( // LinkAssociationStatePending is a LinkAssociationState enum value LinkAssociationStatePending = "PENDING" @@ -7033,6 +7063,16 @@ const ( LinkAssociationStateDeleted = "DELETED" ) +// LinkAssociationState_Values returns all elements of the LinkAssociationState enum +func LinkAssociationState_Values() []string { + return []string{ + LinkAssociationStatePending, + LinkAssociationStateAvailable, + LinkAssociationStateDeleting, + LinkAssociationStateDeleted, + } +} + const ( // LinkStatePending is a LinkState enum value LinkStatePending = "PENDING" @@ -7047,6 +7087,16 @@ const ( LinkStateUpdating = "UPDATING" ) +// LinkState_Values returns all elements of the LinkState enum +func LinkState_Values() []string { + return []string{ + LinkStatePending, + LinkStateAvailable, + LinkStateDeleting, + LinkStateUpdating, + } +} + const ( // SiteStatePending is a SiteState enum value SiteStatePending = "PENDING" @@ -7061,6 +7111,16 @@ const ( SiteStateUpdating = "UPDATING" ) +// SiteState_Values returns all elements of the SiteState enum +func SiteState_Values() []string { + return []string{ + SiteStatePending, + SiteStateAvailable, + SiteStateDeleting, + SiteStateUpdating, + } +} + const ( // TransitGatewayRegistrationStatePending is a TransitGatewayRegistrationState enum value TransitGatewayRegistrationStatePending = "PENDING" @@ -7078,6 +7138,17 @@ const ( TransitGatewayRegistrationStateFailed = "FAILED" ) +// TransitGatewayRegistrationState_Values returns all elements of the TransitGatewayRegistrationState enum +func TransitGatewayRegistrationState_Values() []string { + return []string{ + TransitGatewayRegistrationStatePending, + TransitGatewayRegistrationStateAvailable, + TransitGatewayRegistrationStateDeleting, + TransitGatewayRegistrationStateDeleted, + TransitGatewayRegistrationStateFailed, + } +} + const ( // ValidationExceptionReasonUnknownOperation is a ValidationExceptionReason enum value ValidationExceptionReasonUnknownOperation = "UnknownOperation" @@ -7091,3 +7162,13 @@ const ( // ValidationExceptionReasonOther is a ValidationExceptionReason enum value ValidationExceptionReasonOther = "Other" ) + +// ValidationExceptionReason_Values returns all elements of the ValidationExceptionReason enum +func ValidationExceptionReason_Values() []string { + return []string{ + ValidationExceptionReasonUnknownOperation, + ValidationExceptionReasonCannotParse, + ValidationExceptionReasonFieldValidationFailed, + ValidationExceptionReasonOther, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/opsworks/api.go b/vendor/github.com/aws/aws-sdk-go/service/opsworks/api.go index 27ef9e81218..c16c0012801 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/opsworks/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/opsworks/api.go @@ -17616,6 +17616,16 @@ const ( AppAttributesKeysAwsFlowRubySettings = "AwsFlowRubySettings" ) +// AppAttributesKeys_Values returns all elements of the AppAttributesKeys enum +func AppAttributesKeys_Values() []string { + return []string{ + AppAttributesKeysDocumentRoot, + AppAttributesKeysRailsEnv, + AppAttributesKeysAutoBundleOnDeploy, + AppAttributesKeysAwsFlowRubySettings, + } +} + const ( // AppTypeAwsFlowRuby is a AppType enum value AppTypeAwsFlowRuby = "aws-flow-ruby" @@ -17639,6 +17649,19 @@ const ( AppTypeOther = "other" ) +// AppType_Values returns all elements of the AppType enum +func AppType_Values() []string { + return []string{ + AppTypeAwsFlowRuby, + AppTypeJava, + AppTypeRails, + AppTypePhp, + AppTypeNodejs, + AppTypeStatic, + AppTypeOther, + } +} + const ( // ArchitectureX8664 is a Architecture enum value ArchitectureX8664 = "x86_64" @@ -17647,6 +17670,14 @@ const ( ArchitectureI386 = "i386" ) +// Architecture_Values returns all elements of the Architecture enum +func Architecture_Values() []string { + return []string{ + ArchitectureX8664, + ArchitectureI386, + } +} + const ( // AutoScalingTypeLoad is a AutoScalingType enum value AutoScalingTypeLoad = "load" @@ -17655,6 +17686,14 @@ const ( AutoScalingTypeTimer = "timer" ) +// AutoScalingType_Values returns all elements of the AutoScalingType enum +func AutoScalingType_Values() []string { + return []string{ + AutoScalingTypeLoad, + AutoScalingTypeTimer, + } +} + // Specifies the encoding of the log file so that the file can be read correctly. // The default is utf_8. Encodings supported by Python codecs.decode() can be // used here. @@ -17936,6 +17975,104 @@ const ( CloudWatchLogsEncodingUtf8Sig = "utf_8_sig" ) +// CloudWatchLogsEncoding_Values returns all elements of the CloudWatchLogsEncoding enum +func CloudWatchLogsEncoding_Values() []string { + return []string{ + CloudWatchLogsEncodingAscii, + CloudWatchLogsEncodingBig5, + CloudWatchLogsEncodingBig5hkscs, + CloudWatchLogsEncodingCp037, + CloudWatchLogsEncodingCp424, + CloudWatchLogsEncodingCp437, + CloudWatchLogsEncodingCp500, + CloudWatchLogsEncodingCp720, + CloudWatchLogsEncodingCp737, + CloudWatchLogsEncodingCp775, + CloudWatchLogsEncodingCp850, + CloudWatchLogsEncodingCp852, + CloudWatchLogsEncodingCp855, + CloudWatchLogsEncodingCp856, + CloudWatchLogsEncodingCp857, + CloudWatchLogsEncodingCp858, + CloudWatchLogsEncodingCp860, + CloudWatchLogsEncodingCp861, + CloudWatchLogsEncodingCp862, + CloudWatchLogsEncodingCp863, + CloudWatchLogsEncodingCp864, + CloudWatchLogsEncodingCp865, + CloudWatchLogsEncodingCp866, + CloudWatchLogsEncodingCp869, + CloudWatchLogsEncodingCp874, + CloudWatchLogsEncodingCp875, + CloudWatchLogsEncodingCp932, + CloudWatchLogsEncodingCp949, + CloudWatchLogsEncodingCp950, + CloudWatchLogsEncodingCp1006, + CloudWatchLogsEncodingCp1026, + CloudWatchLogsEncodingCp1140, + CloudWatchLogsEncodingCp1250, + CloudWatchLogsEncodingCp1251, + CloudWatchLogsEncodingCp1252, + CloudWatchLogsEncodingCp1253, + CloudWatchLogsEncodingCp1254, + CloudWatchLogsEncodingCp1255, + CloudWatchLogsEncodingCp1256, + CloudWatchLogsEncodingCp1257, + CloudWatchLogsEncodingCp1258, + CloudWatchLogsEncodingEucJp, + CloudWatchLogsEncodingEucJis2004, + CloudWatchLogsEncodingEucJisx0213, + CloudWatchLogsEncodingEucKr, + CloudWatchLogsEncodingGb2312, + CloudWatchLogsEncodingGbk, + CloudWatchLogsEncodingGb18030, + CloudWatchLogsEncodingHz, + CloudWatchLogsEncodingIso2022Jp, + CloudWatchLogsEncodingIso2022Jp1, + CloudWatchLogsEncodingIso2022Jp2, + CloudWatchLogsEncodingIso2022Jp2004, + CloudWatchLogsEncodingIso2022Jp3, + CloudWatchLogsEncodingIso2022JpExt, + CloudWatchLogsEncodingIso2022Kr, + CloudWatchLogsEncodingLatin1, + CloudWatchLogsEncodingIso88592, + CloudWatchLogsEncodingIso88593, + CloudWatchLogsEncodingIso88594, + CloudWatchLogsEncodingIso88595, + CloudWatchLogsEncodingIso88596, + CloudWatchLogsEncodingIso88597, + CloudWatchLogsEncodingIso88598, + CloudWatchLogsEncodingIso88599, + CloudWatchLogsEncodingIso885910, + CloudWatchLogsEncodingIso885913, + CloudWatchLogsEncodingIso885914, + CloudWatchLogsEncodingIso885915, + CloudWatchLogsEncodingIso885916, + CloudWatchLogsEncodingJohab, + CloudWatchLogsEncodingKoi8R, + CloudWatchLogsEncodingKoi8U, + CloudWatchLogsEncodingMacCyrillic, + CloudWatchLogsEncodingMacGreek, + CloudWatchLogsEncodingMacIceland, + CloudWatchLogsEncodingMacLatin2, + CloudWatchLogsEncodingMacRoman, + CloudWatchLogsEncodingMacTurkish, + CloudWatchLogsEncodingPtcp154, + CloudWatchLogsEncodingShiftJis, + CloudWatchLogsEncodingShiftJis2004, + CloudWatchLogsEncodingShiftJisx0213, + CloudWatchLogsEncodingUtf32, + CloudWatchLogsEncodingUtf32Be, + CloudWatchLogsEncodingUtf32Le, + CloudWatchLogsEncodingUtf16, + CloudWatchLogsEncodingUtf16Be, + CloudWatchLogsEncodingUtf16Le, + CloudWatchLogsEncodingUtf7, + CloudWatchLogsEncodingUtf8, + CloudWatchLogsEncodingUtf8Sig, + } +} + // Specifies where to start to read data (start_of_file or end_of_file). The // default is start_of_file. It's only used if there is no state persisted for // that log stream. @@ -17947,6 +18084,14 @@ const ( CloudWatchLogsInitialPositionEndOfFile = "end_of_file" ) +// CloudWatchLogsInitialPosition_Values returns all elements of the CloudWatchLogsInitialPosition enum +func CloudWatchLogsInitialPosition_Values() []string { + return []string{ + CloudWatchLogsInitialPositionStartOfFile, + CloudWatchLogsInitialPositionEndOfFile, + } +} + // The preferred time zone for logs streamed to CloudWatch Logs. Valid values // are LOCAL and UTC, for Coordinated Universal Time. const ( @@ -17957,6 +18102,14 @@ const ( CloudWatchLogsTimeZoneUtc = "UTC" ) +// CloudWatchLogsTimeZone_Values returns all elements of the CloudWatchLogsTimeZone enum +func CloudWatchLogsTimeZone_Values() []string { + return []string{ + CloudWatchLogsTimeZoneLocal, + CloudWatchLogsTimeZoneUtc, + } +} + const ( // DeploymentCommandNameInstallDependencies is a DeploymentCommandName enum value DeploymentCommandNameInstallDependencies = "install_dependencies" @@ -17995,6 +18148,24 @@ const ( DeploymentCommandNameUndeploy = "undeploy" ) +// DeploymentCommandName_Values returns all elements of the DeploymentCommandName enum +func DeploymentCommandName_Values() []string { + return []string{ + DeploymentCommandNameInstallDependencies, + DeploymentCommandNameUpdateDependencies, + DeploymentCommandNameUpdateCustomCookbooks, + DeploymentCommandNameExecuteRecipes, + DeploymentCommandNameConfigure, + DeploymentCommandNameSetup, + DeploymentCommandNameDeploy, + DeploymentCommandNameRollback, + DeploymentCommandNameStart, + DeploymentCommandNameStop, + DeploymentCommandNameRestart, + DeploymentCommandNameUndeploy, + } +} + const ( // LayerAttributesKeysEcsClusterArn is a LayerAttributesKeys enum value LayerAttributesKeysEcsClusterArn = "EcsClusterArn" @@ -18072,6 +18243,37 @@ const ( LayerAttributesKeysJavaAppServerVersion = "JavaAppServerVersion" ) +// LayerAttributesKeys_Values returns all elements of the LayerAttributesKeys enum +func LayerAttributesKeys_Values() []string { + return []string{ + LayerAttributesKeysEcsClusterArn, + LayerAttributesKeysEnableHaproxyStats, + LayerAttributesKeysHaproxyStatsUrl, + LayerAttributesKeysHaproxyStatsUser, + LayerAttributesKeysHaproxyStatsPassword, + LayerAttributesKeysHaproxyHealthCheckUrl, + LayerAttributesKeysHaproxyHealthCheckMethod, + LayerAttributesKeysMysqlRootPassword, + LayerAttributesKeysMysqlRootPasswordUbiquitous, + LayerAttributesKeysGangliaUrl, + LayerAttributesKeysGangliaUser, + LayerAttributesKeysGangliaPassword, + LayerAttributesKeysMemcachedMemory, + LayerAttributesKeysNodejsVersion, + LayerAttributesKeysRubyVersion, + LayerAttributesKeysRubygemsVersion, + LayerAttributesKeysManageBundler, + LayerAttributesKeysBundlerVersion, + LayerAttributesKeysRailsStack, + LayerAttributesKeysPassengerVersion, + LayerAttributesKeysJvm, + LayerAttributesKeysJvmVersion, + LayerAttributesKeysJvmOptions, + LayerAttributesKeysJavaAppServer, + LayerAttributesKeysJavaAppServerVersion, + } +} + const ( // LayerTypeAwsFlowRuby is a LayerType enum value LayerTypeAwsFlowRuby = "aws-flow-ruby" @@ -18110,6 +18312,24 @@ const ( LayerTypeCustom = "custom" ) +// LayerType_Values returns all elements of the LayerType enum +func LayerType_Values() []string { + return []string{ + LayerTypeAwsFlowRuby, + LayerTypeEcsCluster, + LayerTypeJavaApp, + LayerTypeLb, + LayerTypeWeb, + LayerTypePhpApp, + LayerTypeRailsApp, + LayerTypeNodejsApp, + LayerTypeMemcached, + LayerTypeDbMaster, + LayerTypeMonitoringMaster, + LayerTypeCustom, + } +} + const ( // RootDeviceTypeEbs is a RootDeviceType enum value RootDeviceTypeEbs = "ebs" @@ -18118,6 +18338,14 @@ const ( RootDeviceTypeInstanceStore = "instance-store" ) +// RootDeviceType_Values returns all elements of the RootDeviceType enum +func RootDeviceType_Values() []string { + return []string{ + RootDeviceTypeEbs, + RootDeviceTypeInstanceStore, + } +} + const ( // SourceTypeGit is a SourceType enum value SourceTypeGit = "git" @@ -18132,11 +18360,28 @@ const ( SourceTypeS3 = "s3" ) +// SourceType_Values returns all elements of the SourceType enum +func SourceType_Values() []string { + return []string{ + SourceTypeGit, + SourceTypeSvn, + SourceTypeArchive, + SourceTypeS3, + } +} + const ( // StackAttributesKeysColor is a StackAttributesKeys enum value StackAttributesKeysColor = "Color" ) +// StackAttributesKeys_Values returns all elements of the StackAttributesKeys enum +func StackAttributesKeys_Values() []string { + return []string{ + StackAttributesKeysColor, + } +} + const ( // VirtualizationTypeParavirtual is a VirtualizationType enum value VirtualizationTypeParavirtual = "paravirtual" @@ -18145,6 +18390,14 @@ const ( VirtualizationTypeHvm = "hvm" ) +// VirtualizationType_Values returns all elements of the VirtualizationType enum +func VirtualizationType_Values() []string { + return []string{ + VirtualizationTypeParavirtual, + VirtualizationTypeHvm, + } +} + const ( // VolumeTypeGp2 is a VolumeType enum value VolumeTypeGp2 = "gp2" @@ -18155,3 +18408,12 @@ const ( // VolumeTypeStandard is a VolumeType enum value VolumeTypeStandard = "standard" ) + +// VolumeType_Values returns all elements of the VolumeType enum +func VolumeType_Values() []string { + return []string{ + VolumeTypeGp2, + VolumeTypeIo1, + VolumeTypeStandard, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/organizations/api.go b/vendor/github.com/aws/aws-sdk-go/service/organizations/api.go index daf37bd9392..d58292ed2f1 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/organizations/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/organizations/api.go @@ -9516,8 +9516,7 @@ func (c *Organizations) ListHandshakesForAccountRequest(input *ListHandshakesFor // of results even when there are more results available. The NextToken response // parameter value is null only when there are no more results to display. // -// This operation can be called only from the organization's master account -// or by a member account that is a delegated administrator for an AWS service. +// This operation can be called from any account in the organization. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -14842,6 +14841,9 @@ type CreateAccountStatus struct { // * ACCOUNT_LIMIT_EXCEEDED: The account could not be created because you // have reached the limit on the number of accounts in your organization. // + // * CONCURRENT_ACCOUNT_MODIFICATION: You already submitted a request with + // the same information. + // // * EMAIL_ALREADY_EXISTS: The account could not be created because another // AWS account with that email address already exists. // @@ -14857,6 +14859,12 @@ type CreateAccountStatus struct { // // * INTERNAL_FAILURE: The account could not be created because of an internal // failure. Try again later. If the problem persists, contact Customer Support. + // + // * MISSING_BUSINESS_VALIDATION: The AWS account that owns your organization + // has not received Business Validation. + // + // * MISSING_PAYMENT_INSTRUMENT: You must configure the master account with + // a valid payment method, such as a credit card. FailureReason *string `type:"string" enum:"CreateAccountFailureReason"` // If the account was created successfully, the unique identifier (ID) of the @@ -21982,6 +21990,13 @@ const ( AccessDeniedForDependencyExceptionReasonAccessDeniedDuringCreateServiceLinkedRole = "ACCESS_DENIED_DURING_CREATE_SERVICE_LINKED_ROLE" ) +// AccessDeniedForDependencyExceptionReason_Values returns all elements of the AccessDeniedForDependencyExceptionReason enum +func AccessDeniedForDependencyExceptionReason_Values() []string { + return []string{ + AccessDeniedForDependencyExceptionReasonAccessDeniedDuringCreateServiceLinkedRole, + } +} + const ( // AccountJoinedMethodInvited is a AccountJoinedMethod enum value AccountJoinedMethodInvited = "INVITED" @@ -21990,6 +22005,14 @@ const ( AccountJoinedMethodCreated = "CREATED" ) +// AccountJoinedMethod_Values returns all elements of the AccountJoinedMethod enum +func AccountJoinedMethod_Values() []string { + return []string{ + AccountJoinedMethodInvited, + AccountJoinedMethodCreated, + } +} + const ( // AccountStatusActive is a AccountStatus enum value AccountStatusActive = "ACTIVE" @@ -21998,6 +22021,14 @@ const ( AccountStatusSuspended = "SUSPENDED" ) +// AccountStatus_Values returns all elements of the AccountStatus enum +func AccountStatus_Values() []string { + return []string{ + AccountStatusActive, + AccountStatusSuspended, + } +} + const ( // ActionTypeInvite is a ActionType enum value ActionTypeInvite = "INVITE" @@ -22012,6 +22043,16 @@ const ( ActionTypeAddOrganizationsServiceLinkedRole = "ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE" ) +// ActionType_Values returns all elements of the ActionType enum +func ActionType_Values() []string { + return []string{ + ActionTypeInvite, + ActionTypeEnableAllFeatures, + ActionTypeApproveAllFeatures, + ActionTypeAddOrganizationsServiceLinkedRole, + } +} + const ( // ChildTypeAccount is a ChildType enum value ChildTypeAccount = "ACCOUNT" @@ -22020,6 +22061,14 @@ const ( ChildTypeOrganizationalUnit = "ORGANIZATIONAL_UNIT" ) +// ChildType_Values returns all elements of the ChildType enum +func ChildType_Values() []string { + return []string{ + ChildTypeAccount, + ChildTypeOrganizationalUnit, + } +} + const ( // ConstraintViolationExceptionReasonAccountNumberLimitExceeded is a ConstraintViolationExceptionReason enum value ConstraintViolationExceptionReasonAccountNumberLimitExceeded = "ACCOUNT_NUMBER_LIMIT_EXCEEDED" @@ -22106,6 +22155,40 @@ const ( ConstraintViolationExceptionReasonMasterAccountMissingBusinessLicense = "MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE" ) +// ConstraintViolationExceptionReason_Values returns all elements of the ConstraintViolationExceptionReason enum +func ConstraintViolationExceptionReason_Values() []string { + return []string{ + ConstraintViolationExceptionReasonAccountNumberLimitExceeded, + ConstraintViolationExceptionReasonHandshakeRateLimitExceeded, + ConstraintViolationExceptionReasonOuNumberLimitExceeded, + ConstraintViolationExceptionReasonOuDepthLimitExceeded, + ConstraintViolationExceptionReasonPolicyNumberLimitExceeded, + ConstraintViolationExceptionReasonPolicyContentLimitExceeded, + ConstraintViolationExceptionReasonMaxPolicyTypeAttachmentLimitExceeded, + ConstraintViolationExceptionReasonMinPolicyTypeAttachmentLimitExceeded, + ConstraintViolationExceptionReasonAccountCannotLeaveOrganization, + ConstraintViolationExceptionReasonAccountCannotLeaveWithoutEula, + ConstraintViolationExceptionReasonAccountCannotLeaveWithoutPhoneVerification, + ConstraintViolationExceptionReasonMasterAccountPaymentInstrumentRequired, + ConstraintViolationExceptionReasonMemberAccountPaymentInstrumentRequired, + ConstraintViolationExceptionReasonAccountCreationRateLimitExceeded, + ConstraintViolationExceptionReasonMasterAccountAddressDoesNotMatchMarketplace, + ConstraintViolationExceptionReasonMasterAccountMissingContactInfo, + ConstraintViolationExceptionReasonMasterAccountNotGovcloudEnabled, + ConstraintViolationExceptionReasonOrganizationNotInAllFeaturesMode, + ConstraintViolationExceptionReasonCreateOrganizationInBillingModeUnsupportedRegion, + ConstraintViolationExceptionReasonEmailVerificationCodeExpired, + ConstraintViolationExceptionReasonWaitPeriodActive, + ConstraintViolationExceptionReasonMaxTagLimitExceeded, + ConstraintViolationExceptionReasonTagPolicyViolation, + ConstraintViolationExceptionReasonMaxDelegatedAdministratorsForServiceLimitExceeded, + ConstraintViolationExceptionReasonCannotRegisterMasterAsDelegatedAdministrator, + ConstraintViolationExceptionReasonCannotRemoveDelegatedAdministratorFromOrg, + ConstraintViolationExceptionReasonDelegatedAdministratorExistsForThisService, + ConstraintViolationExceptionReasonMasterAccountMissingBusinessLicense, + } +} + const ( // CreateAccountFailureReasonAccountLimitExceeded is a CreateAccountFailureReason enum value CreateAccountFailureReasonAccountLimitExceeded = "ACCOUNT_LIMIT_EXCEEDED" @@ -22127,8 +22210,29 @@ const ( // CreateAccountFailureReasonGovcloudAccountAlreadyExists is a CreateAccountFailureReason enum value CreateAccountFailureReasonGovcloudAccountAlreadyExists = "GOVCLOUD_ACCOUNT_ALREADY_EXISTS" + + // CreateAccountFailureReasonMissingBusinessValidation is a CreateAccountFailureReason enum value + CreateAccountFailureReasonMissingBusinessValidation = "MISSING_BUSINESS_VALIDATION" + + // CreateAccountFailureReasonMissingPaymentInstrument is a CreateAccountFailureReason enum value + CreateAccountFailureReasonMissingPaymentInstrument = "MISSING_PAYMENT_INSTRUMENT" ) +// CreateAccountFailureReason_Values returns all elements of the CreateAccountFailureReason enum +func CreateAccountFailureReason_Values() []string { + return []string{ + CreateAccountFailureReasonAccountLimitExceeded, + CreateAccountFailureReasonEmailAlreadyExists, + CreateAccountFailureReasonInvalidAddress, + CreateAccountFailureReasonInvalidEmail, + CreateAccountFailureReasonConcurrentAccountModification, + CreateAccountFailureReasonInternalFailure, + CreateAccountFailureReasonGovcloudAccountAlreadyExists, + CreateAccountFailureReasonMissingBusinessValidation, + CreateAccountFailureReasonMissingPaymentInstrument, + } +} + const ( // CreateAccountStateInProgress is a CreateAccountState enum value CreateAccountStateInProgress = "IN_PROGRESS" @@ -22140,6 +22244,15 @@ const ( CreateAccountStateFailed = "FAILED" ) +// CreateAccountState_Values returns all elements of the CreateAccountState enum +func CreateAccountState_Values() []string { + return []string{ + CreateAccountStateInProgress, + CreateAccountStateSucceeded, + CreateAccountStateFailed, + } +} + const ( // EffectivePolicyTypeTagPolicy is a EffectivePolicyType enum value EffectivePolicyTypeTagPolicy = "TAG_POLICY" @@ -22151,6 +22264,15 @@ const ( EffectivePolicyTypeAiservicesOptOutPolicy = "AISERVICES_OPT_OUT_POLICY" ) +// EffectivePolicyType_Values returns all elements of the EffectivePolicyType enum +func EffectivePolicyType_Values() []string { + return []string{ + EffectivePolicyTypeTagPolicy, + EffectivePolicyTypeBackupPolicy, + EffectivePolicyTypeAiservicesOptOutPolicy, + } +} + const ( // HandshakeConstraintViolationExceptionReasonAccountNumberLimitExceeded is a HandshakeConstraintViolationExceptionReason enum value HandshakeConstraintViolationExceptionReasonAccountNumberLimitExceeded = "ACCOUNT_NUMBER_LIMIT_EXCEEDED" @@ -22177,6 +22299,20 @@ const ( HandshakeConstraintViolationExceptionReasonOrganizationMembershipChangeRateLimitExceeded = "ORGANIZATION_MEMBERSHIP_CHANGE_RATE_LIMIT_EXCEEDED" ) +// HandshakeConstraintViolationExceptionReason_Values returns all elements of the HandshakeConstraintViolationExceptionReason enum +func HandshakeConstraintViolationExceptionReason_Values() []string { + return []string{ + HandshakeConstraintViolationExceptionReasonAccountNumberLimitExceeded, + HandshakeConstraintViolationExceptionReasonHandshakeRateLimitExceeded, + HandshakeConstraintViolationExceptionReasonAlreadyInAnOrganization, + HandshakeConstraintViolationExceptionReasonOrganizationAlreadyHasAllFeatures, + HandshakeConstraintViolationExceptionReasonInviteDisabledDuringEnableAllFeatures, + HandshakeConstraintViolationExceptionReasonPaymentInstrumentRequired, + HandshakeConstraintViolationExceptionReasonOrganizationFromDifferentSellerOfRecord, + HandshakeConstraintViolationExceptionReasonOrganizationMembershipChangeRateLimitExceeded, + } +} + const ( // HandshakePartyTypeAccount is a HandshakePartyType enum value HandshakePartyTypeAccount = "ACCOUNT" @@ -22188,6 +22324,15 @@ const ( HandshakePartyTypeEmail = "EMAIL" ) +// HandshakePartyType_Values returns all elements of the HandshakePartyType enum +func HandshakePartyType_Values() []string { + return []string{ + HandshakePartyTypeAccount, + HandshakePartyTypeOrganization, + HandshakePartyTypeEmail, + } +} + const ( // HandshakeResourceTypeAccount is a HandshakeResourceType enum value HandshakeResourceTypeAccount = "ACCOUNT" @@ -22214,6 +22359,20 @@ const ( HandshakeResourceTypeParentHandshake = "PARENT_HANDSHAKE" ) +// HandshakeResourceType_Values returns all elements of the HandshakeResourceType enum +func HandshakeResourceType_Values() []string { + return []string{ + HandshakeResourceTypeAccount, + HandshakeResourceTypeOrganization, + HandshakeResourceTypeOrganizationFeatureSet, + HandshakeResourceTypeEmail, + HandshakeResourceTypeMasterEmail, + HandshakeResourceTypeMasterName, + HandshakeResourceTypeNotes, + HandshakeResourceTypeParentHandshake, + } +} + const ( // HandshakeStateRequested is a HandshakeState enum value HandshakeStateRequested = "REQUESTED" @@ -22234,6 +22393,18 @@ const ( HandshakeStateExpired = "EXPIRED" ) +// HandshakeState_Values returns all elements of the HandshakeState enum +func HandshakeState_Values() []string { + return []string{ + HandshakeStateRequested, + HandshakeStateOpen, + HandshakeStateCanceled, + HandshakeStateAccepted, + HandshakeStateDeclined, + HandshakeStateExpired, + } +} + const ( // IAMUserAccessToBillingAllow is a IAMUserAccessToBilling enum value IAMUserAccessToBillingAllow = "ALLOW" @@ -22242,6 +22413,14 @@ const ( IAMUserAccessToBillingDeny = "DENY" ) +// IAMUserAccessToBilling_Values returns all elements of the IAMUserAccessToBilling enum +func IAMUserAccessToBilling_Values() []string { + return []string{ + IAMUserAccessToBillingAllow, + IAMUserAccessToBillingDeny, + } +} + const ( // InvalidInputExceptionReasonInvalidPartyTypeTarget is a InvalidInputExceptionReason enum value InvalidInputExceptionReasonInvalidPartyTypeTarget = "INVALID_PARTY_TYPE_TARGET" @@ -22310,6 +22489,34 @@ const ( InvalidInputExceptionReasonTargetNotSupported = "TARGET_NOT_SUPPORTED" ) +// InvalidInputExceptionReason_Values returns all elements of the InvalidInputExceptionReason enum +func InvalidInputExceptionReason_Values() []string { + return []string{ + InvalidInputExceptionReasonInvalidPartyTypeTarget, + InvalidInputExceptionReasonInvalidSyntaxOrganizationArn, + InvalidInputExceptionReasonInvalidSyntaxPolicyId, + InvalidInputExceptionReasonInvalidEnum, + InvalidInputExceptionReasonInvalidEnumPolicyType, + InvalidInputExceptionReasonInvalidListMember, + InvalidInputExceptionReasonMaxLengthExceeded, + InvalidInputExceptionReasonMaxValueExceeded, + InvalidInputExceptionReasonMinLengthExceeded, + InvalidInputExceptionReasonMinValueExceeded, + InvalidInputExceptionReasonImmutablePolicy, + InvalidInputExceptionReasonInvalidPattern, + InvalidInputExceptionReasonInvalidPatternTargetId, + InvalidInputExceptionReasonInputRequired, + InvalidInputExceptionReasonInvalidNextToken, + InvalidInputExceptionReasonMaxLimitExceededFilter, + InvalidInputExceptionReasonMovingAccountBetweenDifferentRoots, + InvalidInputExceptionReasonInvalidFullNameTarget, + InvalidInputExceptionReasonUnrecognizedServicePrincipal, + InvalidInputExceptionReasonInvalidRoleName, + InvalidInputExceptionReasonInvalidSystemTagsParameter, + InvalidInputExceptionReasonTargetNotSupported, + } +} + const ( // OrganizationFeatureSetAll is a OrganizationFeatureSet enum value OrganizationFeatureSetAll = "ALL" @@ -22318,6 +22525,14 @@ const ( OrganizationFeatureSetConsolidatedBilling = "CONSOLIDATED_BILLING" ) +// OrganizationFeatureSet_Values returns all elements of the OrganizationFeatureSet enum +func OrganizationFeatureSet_Values() []string { + return []string{ + OrganizationFeatureSetAll, + OrganizationFeatureSetConsolidatedBilling, + } +} + const ( // ParentTypeRoot is a ParentType enum value ParentTypeRoot = "ROOT" @@ -22326,6 +22541,14 @@ const ( ParentTypeOrganizationalUnit = "ORGANIZATIONAL_UNIT" ) +// ParentType_Values returns all elements of the ParentType enum +func ParentType_Values() []string { + return []string{ + ParentTypeRoot, + ParentTypeOrganizationalUnit, + } +} + const ( // PolicyTypeServiceControlPolicy is a PolicyType enum value PolicyTypeServiceControlPolicy = "SERVICE_CONTROL_POLICY" @@ -22340,6 +22563,16 @@ const ( PolicyTypeAiservicesOptOutPolicy = "AISERVICES_OPT_OUT_POLICY" ) +// PolicyType_Values returns all elements of the PolicyType enum +func PolicyType_Values() []string { + return []string{ + PolicyTypeServiceControlPolicy, + PolicyTypeTagPolicy, + PolicyTypeBackupPolicy, + PolicyTypeAiservicesOptOutPolicy, + } +} + const ( // PolicyTypeStatusEnabled is a PolicyTypeStatus enum value PolicyTypeStatusEnabled = "ENABLED" @@ -22351,6 +22584,15 @@ const ( PolicyTypeStatusPendingDisable = "PENDING_DISABLE" ) +// PolicyTypeStatus_Values returns all elements of the PolicyTypeStatus enum +func PolicyTypeStatus_Values() []string { + return []string{ + PolicyTypeStatusEnabled, + PolicyTypeStatusPendingEnable, + PolicyTypeStatusPendingDisable, + } +} + const ( // TargetTypeAccount is a TargetType enum value TargetTypeAccount = "ACCOUNT" @@ -22361,3 +22603,12 @@ const ( // TargetTypeRoot is a TargetType enum value TargetTypeRoot = "ROOT" ) + +// TargetType_Values returns all elements of the TargetType enum +func TargetType_Values() []string { + return []string{ + TargetTypeAccount, + TargetTypeOrganizationalUnit, + TargetTypeRoot, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/personalize/api.go b/vendor/github.com/aws/aws-sdk-go/service/personalize/api.go index 529049077c4..1ad36ef7032 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/personalize/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/personalize/api.go @@ -11510,6 +11510,13 @@ const ( RecipeProviderService = "SERVICE" ) +// RecipeProvider_Values returns all elements of the RecipeProvider enum +func RecipeProvider_Values() []string { + return []string{ + RecipeProviderService, + } +} + const ( // TrainingModeFull is a TrainingMode enum value TrainingModeFull = "FULL" @@ -11517,3 +11524,11 @@ const ( // TrainingModeUpdate is a TrainingMode enum value TrainingModeUpdate = "UPDATE" ) + +// TrainingMode_Values returns all elements of the TrainingMode enum +func TrainingMode_Values() []string { + return []string{ + TrainingModeFull, + TrainingModeUpdate, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/pinpoint/api.go b/vendor/github.com/aws/aws-sdk-go/service/pinpoint/api.go index fd791c40bd8..e55bf8b0a74 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/pinpoint/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/pinpoint/api.go @@ -34960,6 +34960,15 @@ const ( ActionUrl = "URL" ) +// Action_Values returns all elements of the Action enum +func Action_Values() []string { + return []string{ + ActionOpenApp, + ActionDeepLink, + ActionUrl, + } +} + const ( // AttributeTypeInclusive is a AttributeType enum value AttributeTypeInclusive = "INCLUSIVE" @@ -34968,6 +34977,14 @@ const ( AttributeTypeExclusive = "EXCLUSIVE" ) +// AttributeType_Values returns all elements of the AttributeType enum +func AttributeType_Values() []string { + return []string{ + AttributeTypeInclusive, + AttributeTypeExclusive, + } +} + const ( // CampaignStatusScheduled is a CampaignStatus enum value CampaignStatusScheduled = "SCHEDULED" @@ -34988,6 +35005,18 @@ const ( CampaignStatusDeleted = "DELETED" ) +// CampaignStatus_Values returns all elements of the CampaignStatus enum +func CampaignStatus_Values() []string { + return []string{ + CampaignStatusScheduled, + CampaignStatusExecuting, + CampaignStatusPendingNextRun, + CampaignStatusCompleted, + CampaignStatusPaused, + CampaignStatusDeleted, + } +} + const ( // ChannelTypePush is a ChannelType enum value ChannelTypePush = "PUSH" @@ -35026,6 +35055,24 @@ const ( ChannelTypeCustom = "CUSTOM" ) +// ChannelType_Values returns all elements of the ChannelType enum +func ChannelType_Values() []string { + return []string{ + ChannelTypePush, + ChannelTypeGcm, + ChannelTypeApns, + ChannelTypeApnsSandbox, + ChannelTypeApnsVoip, + ChannelTypeApnsVoipSandbox, + ChannelTypeAdm, + ChannelTypeSms, + ChannelTypeVoice, + ChannelTypeEmail, + ChannelTypeBaidu, + ChannelTypeCustom, + } +} + const ( // DeliveryStatusSuccessful is a DeliveryStatus enum value DeliveryStatusSuccessful = "SUCCESSFUL" @@ -35049,6 +35096,19 @@ const ( DeliveryStatusDuplicate = "DUPLICATE" ) +// DeliveryStatus_Values returns all elements of the DeliveryStatus enum +func DeliveryStatus_Values() []string { + return []string{ + DeliveryStatusSuccessful, + DeliveryStatusThrottled, + DeliveryStatusTemporaryFailure, + DeliveryStatusPermanentFailure, + DeliveryStatusUnknownFailure, + DeliveryStatusOptOut, + DeliveryStatusDuplicate, + } +} + const ( // DimensionTypeInclusive is a DimensionType enum value DimensionTypeInclusive = "INCLUSIVE" @@ -35057,6 +35117,14 @@ const ( DimensionTypeExclusive = "EXCLUSIVE" ) +// DimensionType_Values returns all elements of the DimensionType enum +func DimensionType_Values() []string { + return []string{ + DimensionTypeInclusive, + DimensionTypeExclusive, + } +} + const ( // DurationHr24 is a Duration enum value DurationHr24 = "HR_24" @@ -35071,6 +35139,16 @@ const ( DurationDay30 = "DAY_30" ) +// Duration_Values returns all elements of the Duration enum +func Duration_Values() []string { + return []string{ + DurationHr24, + DurationDay7, + DurationDay14, + DurationDay30, + } +} + const ( // EndpointTypesElementPush is a EndpointTypesElement enum value EndpointTypesElementPush = "PUSH" @@ -35109,6 +35187,24 @@ const ( EndpointTypesElementCustom = "CUSTOM" ) +// EndpointTypesElement_Values returns all elements of the EndpointTypesElement enum +func EndpointTypesElement_Values() []string { + return []string{ + EndpointTypesElementPush, + EndpointTypesElementGcm, + EndpointTypesElementApns, + EndpointTypesElementApnsSandbox, + EndpointTypesElementApnsVoip, + EndpointTypesElementApnsVoipSandbox, + EndpointTypesElementAdm, + EndpointTypesElementSms, + EndpointTypesElementVoice, + EndpointTypesElementEmail, + EndpointTypesElementBaidu, + EndpointTypesElementCustom, + } +} + const ( // FilterTypeSystem is a FilterType enum value FilterTypeSystem = "SYSTEM" @@ -35117,6 +35213,14 @@ const ( FilterTypeEndpoint = "ENDPOINT" ) +// FilterType_Values returns all elements of the FilterType enum +func FilterType_Values() []string { + return []string{ + FilterTypeSystem, + FilterTypeEndpoint, + } +} + const ( // FormatCsv is a Format enum value FormatCsv = "CSV" @@ -35125,6 +35229,14 @@ const ( FormatJson = "JSON" ) +// Format_Values returns all elements of the Format enum +func Format_Values() []string { + return []string{ + FormatCsv, + FormatJson, + } +} + const ( // FrequencyOnce is a Frequency enum value FrequencyOnce = "ONCE" @@ -35145,6 +35257,18 @@ const ( FrequencyEvent = "EVENT" ) +// Frequency_Values returns all elements of the Frequency enum +func Frequency_Values() []string { + return []string{ + FrequencyOnce, + FrequencyHourly, + FrequencyDaily, + FrequencyWeekly, + FrequencyMonthly, + FrequencyEvent, + } +} + const ( // IncludeAll is a Include enum value IncludeAll = "ALL" @@ -35156,6 +35280,15 @@ const ( IncludeNone = "NONE" ) +// Include_Values returns all elements of the Include enum +func Include_Values() []string { + return []string{ + IncludeAll, + IncludeAny, + IncludeNone, + } +} + const ( // JobStatusCreated is a JobStatus enum value JobStatusCreated = "CREATED" @@ -35185,6 +35318,21 @@ const ( JobStatusFailed = "FAILED" ) +// JobStatus_Values returns all elements of the JobStatus enum +func JobStatus_Values() []string { + return []string{ + JobStatusCreated, + JobStatusPreparingForInitialization, + JobStatusInitializing, + JobStatusProcessing, + JobStatusPendingJob, + JobStatusCompleting, + JobStatusCompleted, + JobStatusFailing, + JobStatusFailed, + } +} + const ( // MessageTypeTransactional is a MessageType enum value MessageTypeTransactional = "TRANSACTIONAL" @@ -35193,6 +35341,14 @@ const ( MessageTypePromotional = "PROMOTIONAL" ) +// MessageType_Values returns all elements of the MessageType enum +func MessageType_Values() []string { + return []string{ + MessageTypeTransactional, + MessageTypePromotional, + } +} + const ( // ModeDelivery is a Mode enum value ModeDelivery = "DELIVERY" @@ -35201,6 +35357,14 @@ const ( ModeFilter = "FILTER" ) +// Mode_Values returns all elements of the Mode enum +func Mode_Values() []string { + return []string{ + ModeDelivery, + ModeFilter, + } +} + const ( // OperatorAll is a Operator enum value OperatorAll = "ALL" @@ -35209,6 +35373,14 @@ const ( OperatorAny = "ANY" ) +// Operator_Values returns all elements of the Operator enum +func Operator_Values() []string { + return []string{ + OperatorAll, + OperatorAny, + } +} + const ( // RecencyTypeActive is a RecencyType enum value RecencyTypeActive = "ACTIVE" @@ -35217,6 +35389,14 @@ const ( RecencyTypeInactive = "INACTIVE" ) +// RecencyType_Values returns all elements of the RecencyType enum +func RecencyType_Values() []string { + return []string{ + RecencyTypeActive, + RecencyTypeInactive, + } +} + const ( // SegmentTypeDimensional is a SegmentType enum value SegmentTypeDimensional = "DIMENSIONAL" @@ -35225,6 +35405,14 @@ const ( SegmentTypeImport = "IMPORT" ) +// SegmentType_Values returns all elements of the SegmentType enum +func SegmentType_Values() []string { + return []string{ + SegmentTypeDimensional, + SegmentTypeImport, + } +} + const ( // SourceTypeAll is a SourceType enum value SourceTypeAll = "ALL" @@ -35236,6 +35424,15 @@ const ( SourceTypeNone = "NONE" ) +// SourceType_Values returns all elements of the SourceType enum +func SourceType_Values() []string { + return []string{ + SourceTypeAll, + SourceTypeAny, + SourceTypeNone, + } +} + const ( // StateDraft is a State enum value StateDraft = "DRAFT" @@ -35253,6 +35450,17 @@ const ( StateClosed = "CLOSED" ) +// State_Values returns all elements of the State enum +func State_Values() []string { + return []string{ + StateDraft, + StateActive, + StateCompleted, + StateCancelled, + StateClosed, + } +} + const ( // TemplateTypeEmail is a TemplateType enum value TemplateTypeEmail = "EMAIL" @@ -35267,6 +35475,16 @@ const ( TemplateTypePush = "PUSH" ) +// TemplateType_Values returns all elements of the TemplateType enum +func TemplateType_Values() []string { + return []string{ + TemplateTypeEmail, + TemplateTypeSms, + TemplateTypeVoice, + TemplateTypePush, + } +} + const ( // TypeAll is a Type enum value TypeAll = "ALL" @@ -35277,3 +35495,12 @@ const ( // TypeNone is a Type enum value TypeNone = "NONE" ) + +// Type_Values returns all elements of the Type enum +func Type_Values() []string { + return []string{ + TypeAll, + TypeAny, + TypeNone, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/pricing/api.go b/vendor/github.com/aws/aws-sdk-go/service/pricing/api.go index a1e8aa0a79a..af3787c5d7a 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/pricing/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/pricing/api.go @@ -1241,3 +1241,10 @@ const ( // FilterTypeTermMatch is a FilterType enum value FilterTypeTermMatch = "TERM_MATCH" ) + +// FilterType_Values returns all elements of the FilterType enum +func FilterType_Values() []string { + return []string{ + FilterTypeTermMatch, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/qldb/api.go b/vendor/github.com/aws/aws-sdk-go/service/qldb/api.go index 8bd9b801c13..4a56b87d765 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/qldb/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/qldb/api.go @@ -4759,6 +4759,14 @@ const ( ErrorCauseIamPermissionRevoked = "IAM_PERMISSION_REVOKED" ) +// ErrorCause_Values returns all elements of the ErrorCause enum +func ErrorCause_Values() []string { + return []string{ + ErrorCauseKinesisStreamNotFound, + ErrorCauseIamPermissionRevoked, + } +} + const ( // ExportStatusInProgress is a ExportStatus enum value ExportStatusInProgress = "IN_PROGRESS" @@ -4770,6 +4778,15 @@ const ( ExportStatusCancelled = "CANCELLED" ) +// ExportStatus_Values returns all elements of the ExportStatus enum +func ExportStatus_Values() []string { + return []string{ + ExportStatusInProgress, + ExportStatusCompleted, + ExportStatusCancelled, + } +} + const ( // LedgerStateCreating is a LedgerState enum value LedgerStateCreating = "CREATING" @@ -4784,11 +4801,28 @@ const ( LedgerStateDeleted = "DELETED" ) +// LedgerState_Values returns all elements of the LedgerState enum +func LedgerState_Values() []string { + return []string{ + LedgerStateCreating, + LedgerStateActive, + LedgerStateDeleting, + LedgerStateDeleted, + } +} + const ( // PermissionsModeAllowAll is a PermissionsMode enum value PermissionsModeAllowAll = "ALLOW_ALL" ) +// PermissionsMode_Values returns all elements of the PermissionsMode enum +func PermissionsMode_Values() []string { + return []string{ + PermissionsModeAllowAll, + } +} + const ( // S3ObjectEncryptionTypeSseKms is a S3ObjectEncryptionType enum value S3ObjectEncryptionTypeSseKms = "SSE_KMS" @@ -4800,6 +4834,15 @@ const ( S3ObjectEncryptionTypeNoEncryption = "NO_ENCRYPTION" ) +// S3ObjectEncryptionType_Values returns all elements of the S3ObjectEncryptionType enum +func S3ObjectEncryptionType_Values() []string { + return []string{ + S3ObjectEncryptionTypeSseKms, + S3ObjectEncryptionTypeSseS3, + S3ObjectEncryptionTypeNoEncryption, + } +} + const ( // StreamStatusActive is a StreamStatus enum value StreamStatusActive = "ACTIVE" @@ -4816,3 +4859,14 @@ const ( // StreamStatusImpaired is a StreamStatus enum value StreamStatusImpaired = "IMPAIRED" ) + +// StreamStatus_Values returns all elements of the StreamStatus enum +func StreamStatus_Values() []string { + return []string{ + StreamStatusActive, + StreamStatusCompleted, + StreamStatusCanceled, + StreamStatusFailed, + StreamStatusImpaired, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/quicksight/api.go b/vendor/github.com/aws/aws-sdk-go/service/quicksight/api.go index 27b560dc0c1..ff3d6ef6af2 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/quicksight/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/quicksight/api.go @@ -30229,6 +30229,15 @@ const ( AssignmentStatusDisabled = "DISABLED" ) +// AssignmentStatus_Values returns all elements of the AssignmentStatus enum +func AssignmentStatus_Values() []string { + return []string{ + AssignmentStatusEnabled, + AssignmentStatusDraft, + AssignmentStatusDisabled, + } +} + const ( // ColumnDataTypeString is a ColumnDataType enum value ColumnDataTypeString = "STRING" @@ -30243,6 +30252,16 @@ const ( ColumnDataTypeDatetime = "DATETIME" ) +// ColumnDataType_Values returns all elements of the ColumnDataType enum +func ColumnDataType_Values() []string { + return []string{ + ColumnDataTypeString, + ColumnDataTypeInteger, + ColumnDataTypeDecimal, + ColumnDataTypeDatetime, + } +} + const ( // DashboardBehaviorEnabled is a DashboardBehavior enum value DashboardBehaviorEnabled = "ENABLED" @@ -30251,6 +30270,14 @@ const ( DashboardBehaviorDisabled = "DISABLED" ) +// DashboardBehavior_Values returns all elements of the DashboardBehavior enum +func DashboardBehavior_Values() []string { + return []string{ + DashboardBehaviorEnabled, + DashboardBehaviorDisabled, + } +} + const ( // DashboardErrorTypeAccessDenied is a DashboardErrorType enum value DashboardErrorTypeAccessDenied = "ACCESS_DENIED" @@ -30283,11 +30310,34 @@ const ( DashboardErrorTypeColumnReplacementMissing = "COLUMN_REPLACEMENT_MISSING" ) +// DashboardErrorType_Values returns all elements of the DashboardErrorType enum +func DashboardErrorType_Values() []string { + return []string{ + DashboardErrorTypeAccessDenied, + DashboardErrorTypeSourceNotFound, + DashboardErrorTypeDataSetNotFound, + DashboardErrorTypeInternalFailure, + DashboardErrorTypeParameterValueIncompatible, + DashboardErrorTypeParameterTypeInvalid, + DashboardErrorTypeParameterNotFound, + DashboardErrorTypeColumnTypeMismatch, + DashboardErrorTypeColumnGeographicRoleMismatch, + DashboardErrorTypeColumnReplacementMissing, + } +} + const ( // DashboardFilterAttributeQuicksightUser is a DashboardFilterAttribute enum value DashboardFilterAttributeQuicksightUser = "QUICKSIGHT_USER" ) +// DashboardFilterAttribute_Values returns all elements of the DashboardFilterAttribute enum +func DashboardFilterAttribute_Values() []string { + return []string{ + DashboardFilterAttributeQuicksightUser, + } +} + const ( // DashboardUIStateExpanded is a DashboardUIState enum value DashboardUIStateExpanded = "EXPANDED" @@ -30296,6 +30346,14 @@ const ( DashboardUIStateCollapsed = "COLLAPSED" ) +// DashboardUIState_Values returns all elements of the DashboardUIState enum +func DashboardUIState_Values() []string { + return []string{ + DashboardUIStateExpanded, + DashboardUIStateCollapsed, + } +} + const ( // DataSetImportModeSpice is a DataSetImportMode enum value DataSetImportModeSpice = "SPICE" @@ -30304,6 +30362,14 @@ const ( DataSetImportModeDirectQuery = "DIRECT_QUERY" ) +// DataSetImportMode_Values returns all elements of the DataSetImportMode enum +func DataSetImportMode_Values() []string { + return []string{ + DataSetImportModeSpice, + DataSetImportModeDirectQuery, + } +} + const ( // DataSourceErrorInfoTypeAccessDenied is a DataSourceErrorInfoType enum value DataSourceErrorInfoTypeAccessDenied = "ACCESS_DENIED" @@ -30330,6 +30396,20 @@ const ( DataSourceErrorInfoTypeUnknown = "UNKNOWN" ) +// DataSourceErrorInfoType_Values returns all elements of the DataSourceErrorInfoType enum +func DataSourceErrorInfoType_Values() []string { + return []string{ + DataSourceErrorInfoTypeAccessDenied, + DataSourceErrorInfoTypeCopySourceNotFound, + DataSourceErrorInfoTypeTimeout, + DataSourceErrorInfoTypeEngineVersionNotSupported, + DataSourceErrorInfoTypeUnknownHost, + DataSourceErrorInfoTypeGenericSqlFailure, + DataSourceErrorInfoTypeConflict, + DataSourceErrorInfoTypeUnknown, + } +} + const ( // DataSourceTypeAdobeAnalytics is a DataSourceType enum value DataSourceTypeAdobeAnalytics = "ADOBE_ANALYTICS" @@ -30395,6 +30475,33 @@ const ( DataSourceTypeTwitter = "TWITTER" ) +// DataSourceType_Values returns all elements of the DataSourceType enum +func DataSourceType_Values() []string { + return []string{ + DataSourceTypeAdobeAnalytics, + DataSourceTypeAmazonElasticsearch, + DataSourceTypeAthena, + DataSourceTypeAurora, + DataSourceTypeAuroraPostgresql, + DataSourceTypeAwsIotAnalytics, + DataSourceTypeGithub, + DataSourceTypeJira, + DataSourceTypeMariadb, + DataSourceTypeMysql, + DataSourceTypePostgresql, + DataSourceTypePresto, + DataSourceTypeRedshift, + DataSourceTypeS3, + DataSourceTypeSalesforce, + DataSourceTypeServicenow, + DataSourceTypeSnowflake, + DataSourceTypeSpark, + DataSourceTypeSqlserver, + DataSourceTypeTeradata, + DataSourceTypeTwitter, + } +} + const ( // EditionStandard is a Edition enum value EditionStandard = "STANDARD" @@ -30403,6 +30510,14 @@ const ( EditionEnterprise = "ENTERPRISE" ) +// Edition_Values returns all elements of the Edition enum +func Edition_Values() []string { + return []string{ + EditionStandard, + EditionEnterprise, + } +} + const ( // ExceptionResourceTypeUser is a ExceptionResourceType enum value ExceptionResourceTypeUser = "USER" @@ -30432,6 +30547,21 @@ const ( ExceptionResourceTypeIngestion = "INGESTION" ) +// ExceptionResourceType_Values returns all elements of the ExceptionResourceType enum +func ExceptionResourceType_Values() []string { + return []string{ + ExceptionResourceTypeUser, + ExceptionResourceTypeGroup, + ExceptionResourceTypeNamespace, + ExceptionResourceTypeAccountSettings, + ExceptionResourceTypeIampolicyAssignment, + ExceptionResourceTypeDataSource, + ExceptionResourceTypeDataSet, + ExceptionResourceTypeVpcConnection, + ExceptionResourceTypeIngestion, + } +} + const ( // FileFormatCsv is a FileFormat enum value FileFormatCsv = "CSV" @@ -30452,16 +30582,42 @@ const ( FileFormatJson = "JSON" ) +// FileFormat_Values returns all elements of the FileFormat enum +func FileFormat_Values() []string { + return []string{ + FileFormatCsv, + FileFormatTsv, + FileFormatClf, + FileFormatElf, + FileFormatXlsx, + FileFormatJson, + } +} + const ( // FilterOperatorStringEquals is a FilterOperator enum value FilterOperatorStringEquals = "StringEquals" ) +// FilterOperator_Values returns all elements of the FilterOperator enum +func FilterOperator_Values() []string { + return []string{ + FilterOperatorStringEquals, + } +} + const ( // GeoSpatialCountryCodeUs is a GeoSpatialCountryCode enum value GeoSpatialCountryCodeUs = "US" ) +// GeoSpatialCountryCode_Values returns all elements of the GeoSpatialCountryCode enum +func GeoSpatialCountryCode_Values() []string { + return []string{ + GeoSpatialCountryCodeUs, + } +} + const ( // GeoSpatialDataRoleCountry is a GeoSpatialDataRole enum value GeoSpatialDataRoleCountry = "COUNTRY" @@ -30485,11 +30641,31 @@ const ( GeoSpatialDataRoleLatitude = "LATITUDE" ) +// GeoSpatialDataRole_Values returns all elements of the GeoSpatialDataRole enum +func GeoSpatialDataRole_Values() []string { + return []string{ + GeoSpatialDataRoleCountry, + GeoSpatialDataRoleState, + GeoSpatialDataRoleCounty, + GeoSpatialDataRoleCity, + GeoSpatialDataRolePostcode, + GeoSpatialDataRoleLongitude, + GeoSpatialDataRoleLatitude, + } +} + const ( // IdentityStoreQuicksight is a IdentityStore enum value IdentityStoreQuicksight = "QUICKSIGHT" ) +// IdentityStore_Values returns all elements of the IdentityStore enum +func IdentityStore_Values() []string { + return []string{ + IdentityStoreQuicksight, + } +} + const ( // IdentityTypeIam is a IdentityType enum value IdentityTypeIam = "IAM" @@ -30498,6 +30674,14 @@ const ( IdentityTypeQuicksight = "QUICKSIGHT" ) +// IdentityType_Values returns all elements of the IdentityType enum +func IdentityType_Values() []string { + return []string{ + IdentityTypeIam, + IdentityTypeQuicksight, + } +} + const ( // IngestionErrorTypeFailureToAssumeRole is a IngestionErrorType enum value IngestionErrorTypeFailureToAssumeRole = "FAILURE_TO_ASSUME_ROLE" @@ -30620,6 +30804,52 @@ const ( IngestionErrorTypeInternalServiceError = "INTERNAL_SERVICE_ERROR" ) +// IngestionErrorType_Values returns all elements of the IngestionErrorType enum +func IngestionErrorType_Values() []string { + return []string{ + IngestionErrorTypeFailureToAssumeRole, + IngestionErrorTypeIngestionSuperseded, + IngestionErrorTypeIngestionCanceled, + IngestionErrorTypeDataSetDeleted, + IngestionErrorTypeDataSetNotSpice, + IngestionErrorTypeS3UploadedFileDeleted, + IngestionErrorTypeS3ManifestError, + IngestionErrorTypeDataToleranceException, + IngestionErrorTypeSpiceTableNotFound, + IngestionErrorTypeDataSetSizeLimitExceeded, + IngestionErrorTypeRowSizeLimitExceeded, + IngestionErrorTypeAccountCapacityLimitExceeded, + IngestionErrorTypeCustomerError, + IngestionErrorTypeDataSourceNotFound, + IngestionErrorTypeIamRoleNotAvailable, + IngestionErrorTypeConnectionFailure, + IngestionErrorTypeSqlTableNotFound, + IngestionErrorTypePermissionDenied, + IngestionErrorTypeSslCertificateValidationFailure, + IngestionErrorTypeOauthTokenFailure, + IngestionErrorTypeSourceApiLimitExceededFailure, + IngestionErrorTypePasswordAuthenticationFailure, + IngestionErrorTypeSqlSchemaMismatchError, + IngestionErrorTypeInvalidDateFormat, + IngestionErrorTypeInvalidDataprepSyntax, + IngestionErrorTypeSourceResourceLimitExceeded, + IngestionErrorTypeSqlInvalidParameterValue, + IngestionErrorTypeQueryTimeout, + IngestionErrorTypeSqlNumericOverflow, + IngestionErrorTypeUnresolvableHost, + IngestionErrorTypeUnroutableHost, + IngestionErrorTypeSqlException, + IngestionErrorTypeS3FileInaccessible, + IngestionErrorTypeIotFileNotFound, + IngestionErrorTypeIotDataSetFileEmpty, + IngestionErrorTypeInvalidDataSourceConfig, + IngestionErrorTypeDataSourceAuthFailed, + IngestionErrorTypeDataSourceConnectionFailed, + IngestionErrorTypeFailureToProcessJsonFile, + IngestionErrorTypeInternalServiceError, + } +} + const ( // IngestionRequestSourceManual is a IngestionRequestSource enum value IngestionRequestSourceManual = "MANUAL" @@ -30628,6 +30858,14 @@ const ( IngestionRequestSourceScheduled = "SCHEDULED" ) +// IngestionRequestSource_Values returns all elements of the IngestionRequestSource enum +func IngestionRequestSource_Values() []string { + return []string{ + IngestionRequestSourceManual, + IngestionRequestSourceScheduled, + } +} + const ( // IngestionRequestTypeInitialIngestion is a IngestionRequestType enum value IngestionRequestTypeInitialIngestion = "INITIAL_INGESTION" @@ -30642,6 +30880,16 @@ const ( IngestionRequestTypeFullRefresh = "FULL_REFRESH" ) +// IngestionRequestType_Values returns all elements of the IngestionRequestType enum +func IngestionRequestType_Values() []string { + return []string{ + IngestionRequestTypeInitialIngestion, + IngestionRequestTypeEdit, + IngestionRequestTypeIncrementalRefresh, + IngestionRequestTypeFullRefresh, + } +} + const ( // IngestionStatusInitialized is a IngestionStatus enum value IngestionStatusInitialized = "INITIALIZED" @@ -30662,6 +30910,18 @@ const ( IngestionStatusCancelled = "CANCELLED" ) +// IngestionStatus_Values returns all elements of the IngestionStatus enum +func IngestionStatus_Values() []string { + return []string{ + IngestionStatusInitialized, + IngestionStatusQueued, + IngestionStatusRunning, + IngestionStatusFailed, + IngestionStatusCompleted, + IngestionStatusCancelled, + } +} + const ( // InputColumnDataTypeString is a InputColumnDataType enum value InputColumnDataTypeString = "STRING" @@ -30685,6 +30945,19 @@ const ( InputColumnDataTypeJson = "JSON" ) +// InputColumnDataType_Values returns all elements of the InputColumnDataType enum +func InputColumnDataType_Values() []string { + return []string{ + InputColumnDataTypeString, + InputColumnDataTypeInteger, + InputColumnDataTypeDecimal, + InputColumnDataTypeDatetime, + InputColumnDataTypeBit, + InputColumnDataTypeBoolean, + InputColumnDataTypeJson, + } +} + const ( // JoinTypeInner is a JoinType enum value JoinTypeInner = "INNER" @@ -30699,6 +30972,16 @@ const ( JoinTypeRight = "RIGHT" ) +// JoinType_Values returns all elements of the JoinType enum +func JoinType_Values() []string { + return []string{ + JoinTypeInner, + JoinTypeOuter, + JoinTypeLeft, + JoinTypeRight, + } +} + const ( // NamespaceErrorTypePermissionDenied is a NamespaceErrorType enum value NamespaceErrorTypePermissionDenied = "PERMISSION_DENIED" @@ -30707,6 +30990,14 @@ const ( NamespaceErrorTypeInternalServiceError = "INTERNAL_SERVICE_ERROR" ) +// NamespaceErrorType_Values returns all elements of the NamespaceErrorType enum +func NamespaceErrorType_Values() []string { + return []string{ + NamespaceErrorTypePermissionDenied, + NamespaceErrorTypeInternalServiceError, + } +} + const ( // NamespaceStatusCreated is a NamespaceStatus enum value NamespaceStatusCreated = "CREATED" @@ -30724,6 +31015,17 @@ const ( NamespaceStatusNonRetryableFailure = "NON_RETRYABLE_FAILURE" ) +// NamespaceStatus_Values returns all elements of the NamespaceStatus enum +func NamespaceStatus_Values() []string { + return []string{ + NamespaceStatusCreated, + NamespaceStatusCreating, + NamespaceStatusDeleting, + NamespaceStatusRetryableFailure, + NamespaceStatusNonRetryableFailure, + } +} + const ( // ResourceStatusCreationInProgress is a ResourceStatus enum value ResourceStatusCreationInProgress = "CREATION_IN_PROGRESS" @@ -30744,6 +31046,18 @@ const ( ResourceStatusUpdateFailed = "UPDATE_FAILED" ) +// ResourceStatus_Values returns all elements of the ResourceStatus enum +func ResourceStatus_Values() []string { + return []string{ + ResourceStatusCreationInProgress, + ResourceStatusCreationSuccessful, + ResourceStatusCreationFailed, + ResourceStatusUpdateInProgress, + ResourceStatusUpdateSuccessful, + ResourceStatusUpdateFailed, + } +} + const ( // RowLevelPermissionPolicyGrantAccess is a RowLevelPermissionPolicy enum value RowLevelPermissionPolicyGrantAccess = "GRANT_ACCESS" @@ -30752,6 +31066,14 @@ const ( RowLevelPermissionPolicyDenyAccess = "DENY_ACCESS" ) +// RowLevelPermissionPolicy_Values returns all elements of the RowLevelPermissionPolicy enum +func RowLevelPermissionPolicy_Values() []string { + return []string{ + RowLevelPermissionPolicyGrantAccess, + RowLevelPermissionPolicyDenyAccess, + } +} + const ( // TemplateErrorTypeSourceNotFound is a TemplateErrorType enum value TemplateErrorTypeSourceNotFound = "SOURCE_NOT_FOUND" @@ -30763,6 +31085,15 @@ const ( TemplateErrorTypeInternalFailure = "INTERNAL_FAILURE" ) +// TemplateErrorType_Values returns all elements of the TemplateErrorType enum +func TemplateErrorType_Values() []string { + return []string{ + TemplateErrorTypeSourceNotFound, + TemplateErrorTypeDataSetNotFound, + TemplateErrorTypeInternalFailure, + } +} + const ( // TextQualifierDoubleQuote is a TextQualifier enum value TextQualifierDoubleQuote = "DOUBLE_QUOTE" @@ -30771,11 +31102,26 @@ const ( TextQualifierSingleQuote = "SINGLE_QUOTE" ) +// TextQualifier_Values returns all elements of the TextQualifier enum +func TextQualifier_Values() []string { + return []string{ + TextQualifierDoubleQuote, + TextQualifierSingleQuote, + } +} + const ( // ThemeErrorTypeInternalFailure is a ThemeErrorType enum value ThemeErrorTypeInternalFailure = "INTERNAL_FAILURE" ) +// ThemeErrorType_Values returns all elements of the ThemeErrorType enum +func ThemeErrorType_Values() []string { + return []string{ + ThemeErrorTypeInternalFailure, + } +} + const ( // ThemeTypeQuicksight is a ThemeType enum value ThemeTypeQuicksight = "QUICKSIGHT" @@ -30787,6 +31133,15 @@ const ( ThemeTypeAll = "ALL" ) +// ThemeType_Values returns all elements of the ThemeType enum +func ThemeType_Values() []string { + return []string{ + ThemeTypeQuicksight, + ThemeTypeCustom, + ThemeTypeAll, + } +} + const ( // UserRoleAdmin is a UserRole enum value UserRoleAdmin = "ADMIN" @@ -30803,3 +31158,14 @@ const ( // UserRoleRestrictedReader is a UserRole enum value UserRoleRestrictedReader = "RESTRICTED_READER" ) + +// UserRole_Values returns all elements of the UserRole enum +func UserRole_Values() []string { + return []string{ + UserRoleAdmin, + UserRoleAuthor, + UserRoleReader, + UserRoleRestrictedAuthor, + UserRoleRestrictedReader, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/ram/api.go b/vendor/github.com/aws/aws-sdk-go/service/ram/api.go index 88d61c3784a..9edc288d208 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/ram/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/ram/api.go @@ -6982,6 +6982,14 @@ const ( ResourceOwnerOtherAccounts = "OTHER-ACCOUNTS" ) +// ResourceOwner_Values returns all elements of the ResourceOwner enum +func ResourceOwner_Values() []string { + return []string{ + ResourceOwnerSelf, + ResourceOwnerOtherAccounts, + } +} + const ( // ResourceShareAssociationStatusAssociating is a ResourceShareAssociationStatus enum value ResourceShareAssociationStatusAssociating = "ASSOCIATING" @@ -6999,6 +7007,17 @@ const ( ResourceShareAssociationStatusDisassociated = "DISASSOCIATED" ) +// ResourceShareAssociationStatus_Values returns all elements of the ResourceShareAssociationStatus enum +func ResourceShareAssociationStatus_Values() []string { + return []string{ + ResourceShareAssociationStatusAssociating, + ResourceShareAssociationStatusAssociated, + ResourceShareAssociationStatusFailed, + ResourceShareAssociationStatusDisassociating, + ResourceShareAssociationStatusDisassociated, + } +} + const ( // ResourceShareAssociationTypePrincipal is a ResourceShareAssociationType enum value ResourceShareAssociationTypePrincipal = "PRINCIPAL" @@ -7007,6 +7026,14 @@ const ( ResourceShareAssociationTypeResource = "RESOURCE" ) +// ResourceShareAssociationType_Values returns all elements of the ResourceShareAssociationType enum +func ResourceShareAssociationType_Values() []string { + return []string{ + ResourceShareAssociationTypePrincipal, + ResourceShareAssociationTypeResource, + } +} + const ( // ResourceShareFeatureSetCreatedFromPolicy is a ResourceShareFeatureSet enum value ResourceShareFeatureSetCreatedFromPolicy = "CREATED_FROM_POLICY" @@ -7018,6 +7045,15 @@ const ( ResourceShareFeatureSetStandard = "STANDARD" ) +// ResourceShareFeatureSet_Values returns all elements of the ResourceShareFeatureSet enum +func ResourceShareFeatureSet_Values() []string { + return []string{ + ResourceShareFeatureSetCreatedFromPolicy, + ResourceShareFeatureSetPromotingToStandard, + ResourceShareFeatureSetStandard, + } +} + const ( // ResourceShareInvitationStatusPending is a ResourceShareInvitationStatus enum value ResourceShareInvitationStatusPending = "PENDING" @@ -7032,6 +7068,16 @@ const ( ResourceShareInvitationStatusExpired = "EXPIRED" ) +// ResourceShareInvitationStatus_Values returns all elements of the ResourceShareInvitationStatus enum +func ResourceShareInvitationStatus_Values() []string { + return []string{ + ResourceShareInvitationStatusPending, + ResourceShareInvitationStatusAccepted, + ResourceShareInvitationStatusRejected, + ResourceShareInvitationStatusExpired, + } +} + const ( // ResourceShareStatusPending is a ResourceShareStatus enum value ResourceShareStatusPending = "PENDING" @@ -7049,6 +7095,17 @@ const ( ResourceShareStatusDeleted = "DELETED" ) +// ResourceShareStatus_Values returns all elements of the ResourceShareStatus enum +func ResourceShareStatus_Values() []string { + return []string{ + ResourceShareStatusPending, + ResourceShareStatusActive, + ResourceShareStatusFailed, + ResourceShareStatusDeleting, + ResourceShareStatusDeleted, + } +} + const ( // ResourceStatusAvailable is a ResourceStatus enum value ResourceStatusAvailable = "AVAILABLE" @@ -7065,3 +7122,14 @@ const ( // ResourceStatusPending is a ResourceStatus enum value ResourceStatusPending = "PENDING" ) + +// ResourceStatus_Values returns all elements of the ResourceStatus enum +func ResourceStatus_Values() []string { + return []string{ + ResourceStatusAvailable, + ResourceStatusZonalResourceInaccessible, + ResourceStatusLimitExceeded, + ResourceStatusUnavailable, + ResourceStatusPending, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/rds/api.go b/vendor/github.com/aws/aws-sdk-go/service/rds/api.go index 6ab23785f83..538f9eebeed 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/rds/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/rds/api.go @@ -2604,11 +2604,12 @@ func (c *RDS) CreateEventSubscriptionRequest(input *CreateEventSubscriptionInput // or the SNS API. To obtain an ARN with SNS, you must create a topic in Amazon // SNS and subscribe to the topic. The ARN is displayed in the SNS console. // -// You can specify the type of source (SourceType) you want to be notified of, -// provide a list of RDS sources (SourceIds) that triggers the events, and provide -// a list of event categories (EventCategories) for events you want to be notified -// of. For example, you can specify SourceType = db-instance, SourceIds = mydbinstance1, -// mydbinstance2 and EventCategories = Availability, Backup. +// You can specify the type of source (SourceType) that you want to be notified +// of and provide a list of RDS sources (SourceIds) that triggers the events. +// You can also provide a list of event categories (EventCategories) for events +// that you want to be notified of. For example, you can specify SourceType +// = db-instance, SourceIds = mydbinstance1, mydbinstance2 and EventCategories +// = Availability, Backup. // // If you specify both the SourceType and SourceIds, such as SourceType = db-instance // and SourceIdentifier = myDBInstance1, you are notified of all the db-instance @@ -7694,8 +7695,8 @@ func (c *RDS) DescribeEventCategoriesRequest(input *DescribeEventCategoriesInput // // Displays a list of categories for all event source types, or, if specified, // for a specified source type. You can see a list of the event categories and -// source types in the Events (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Events.html) -// topic in the Amazon RDS User Guide. +// source types in Events (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Events.html) +// in the Amazon RDS User Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -7916,9 +7917,10 @@ func (c *RDS) DescribeEventsRequest(input *DescribeEventsInput) (req *request.Re // DescribeEvents API operation for Amazon Relational Database Service. // -// Returns events related to DB instances, DB security groups, DB snapshots, -// and DB parameter groups for the past 14 days. Events specific to a particular -// DB instance, DB security group, database snapshot, or DB parameter group +// Returns events related to DB instances, DB clusters, DB parameter groups, +// DB security groups, DB snapshots, and DB cluster snapshots for the past 14 +// days. Events specific to a particular DB instances, DB clusters, DB parameter +// groups, DB security groups, DB snapshots, and DB cluster snapshots group // can be obtained by providing the name as a parameter. By default, the past // hour of events are returned. // @@ -11267,10 +11269,9 @@ func (c *RDS) ModifyEventSubscriptionRequest(input *ModifyEventSubscriptionInput // a subscription, use the AddSourceIdentifierToSubscription and RemoveSourceIdentifierFromSubscription // calls. // -// You can see a list of the event categories for a given SourceType in the -// Events (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Events.html) -// topic in the Amazon RDS User Guide or by using the DescribeEventCategories -// action. +// You can see a list of the event categories for a given source type (SourceType) +// in Events (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Events.html) +// in the Amazon RDS User Guide or by using the DescribeEventCategories operation. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -12625,10 +12626,10 @@ func (c *RDS) RestoreDBClusterFromS3Request(input *RestoreDBClusterFromS3Input) // RestoreDBClusterFromS3 API operation for Amazon Relational Database Service. // -// Creates an Amazon Aurora DB cluster from data stored in an Amazon S3 bucket. -// Amazon RDS must be authorized to access the Amazon S3 bucket and the data -// must be created using the Percona XtraBackup utility as described in Migrating -// Data to an Amazon Aurora MySQL DB Cluster (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Migrating.html) +// Creates an Amazon Aurora DB cluster from MySQL data stored in an Amazon S3 +// bucket. Amazon RDS must be authorized to access the Amazon S3 bucket and +// the data must be created using the Percona XtraBackup utility as described +// in Migrating Data from MySQL by Using an Amazon S3 Bucket (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Migrating.ExtMySQL.html#AuroraMySQL.Migrating.ExtMySQL.S3) // in the Amazon Aurora User Guide. // // This action only restores the DB cluster, not the DB instances for that DB @@ -12640,7 +12641,8 @@ func (c *RDS) RestoreDBClusterFromS3Request(input *RestoreDBClusterFromS3Input) // For more information on Amazon Aurora, see What Is Amazon Aurora? (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_AuroraOverview.html) // in the Amazon Aurora User Guide. // -// This action only applies to Aurora DB clusters. +// This action only applies to Aurora DB clusters. The source DB engine must +// be MySQL. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -14595,17 +14597,23 @@ type AddSourceIdentifierToSubscriptionInput struct { // // Constraints: // - // * If the source type is a DB instance, then a DBInstanceIdentifier must + // * If the source type is a DB instance, a DBInstanceIdentifier value must // be supplied. // - // * If the source type is a DB security group, a DBSecurityGroupName must + // * If the source type is a DB cluster, a DBClusterIdentifier value must // be supplied. // - // * If the source type is a DB parameter group, a DBParameterGroupName must + // * If the source type is a DB parameter group, a DBParameterGroupName value + // must be supplied. + // + // * If the source type is a DB security group, a DBSecurityGroupName value + // must be supplied. + // + // * If the source type is a DB snapshot, a DBSnapshotIdentifier value must // be supplied. // - // * If the source type is a DB snapshot, a DBSnapshotIdentifier must be - // supplied. + // * If the source type is a DB cluster snapshot, a DBClusterSnapshotIdentifier + // value must be supplied. // // SourceIdentifier is a required field SourceIdentifier *string `type:"string" required:"true"` @@ -16835,7 +16843,9 @@ type CreateDBClusterEndpointOutput struct { StaticMembers []*string `type:"list"` // The current status of the endpoint. One of: creating, available, deleting, - // modifying. + // inactive, modifying. The inactive state applies to an endpoint that can't + // be used for a certain kind of cluster, such as a writer endpoint for a read-only + // secondary cluster in a global database. Status *string `type:"string"` } @@ -17897,6 +17907,9 @@ type CreateDBInstanceInput struct { // // * Must contain 1 to 64 letters or numbers. // + // * Must begin with a letter. Subsequent characters can be letters, underscores, + // or digits (0-9). + // // * Can't be a word reserved by the specified database engine // // MariaDB @@ -17908,6 +17921,9 @@ type CreateDBInstanceInput struct { // // * Must contain 1 to 64 letters or numbers. // + // * Must begin with a letter. Subsequent characters can be letters, underscores, + // or digits (0-9). + // // * Can't be a word reserved by the specified database engine // // PostgreSQL @@ -17920,8 +17936,8 @@ type CreateDBInstanceInput struct { // // * Must contain 1 to 63 letters, numbers, or underscores. // - // * Must begin with a letter or an underscore. Subsequent characters can - // be letters, underscores, or digits (0-9). + // * Must begin with a letter. Subsequent characters can be letters, underscores, + // or digits (0-9). // // * Can't be a word reserved by the specified database engine // @@ -17991,18 +18007,10 @@ type CreateDBInstanceInput struct { DeletionProtection *bool `type:"boolean"` // The Active Directory directory ID to create the DB instance in. Currently, - // only Microsoft SQL Server and Oracle DB instances can be created in an Active - // Directory Domain. + // only MySQL, Microsoft SQL Server, Oracle, and PostgreSQL DB instances can + // be created in an Active Directory Domain. // - // For Microsoft SQL Server DB instances, Amazon RDS can use Windows Authentication - // to authenticate users that connect to the DB instance. For more information, - // see Using Windows Authentication with an Amazon RDS DB Instance Running Microsoft - // SQL Server (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_SQLServerWinAuth.html) - // in the Amazon RDS User Guide. - // - // For Oracle DB instances, Amazon RDS can use Kerberos Authentication to authenticate - // users that connect to the DB instance. For more information, see Using Kerberos - // Authentication with Amazon RDS for Oracle (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-kerberos.html) + // For more information, see Kerberos Authentication (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/kerberos-authentication.html) // in the Amazon RDS User Guide. Domain *string `type:"string"` @@ -18903,17 +18911,11 @@ type CreateDBInstanceReadReplicaInput struct { // DestinationRegion is used for presigning the request to a given region. DestinationRegion *string `type:"string"` - // The Active Directory directory ID to create the DB instance in. - // - // For Oracle DB instances, Amazon RDS can use Kerberos authentication to authenticate - // users that connect to the DB instance. For more information, see Using Kerberos - // Authentication with Amazon RDS for Oracle (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-kerberos.html) - // in the Amazon RDS User Guide. + // The Active Directory directory ID to create the DB instance in. Currently, + // only MySQL, Microsoft SQL Server, Oracle, and PostgreSQL DB instances can + // be created in an Active Directory Domain. // - // For Microsoft SQL Server DB instances, Amazon RDS can use Windows Authentication - // to authenticate users that connect to the DB instance. For more information, - // see Using Windows Authentication with an Amazon RDS DB Instance Running Microsoft - // SQL Server (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_SQLServerWinAuth.html) + // For more information, see Kerberos Authentication (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/kerberos-authentication.html) // in the Amazon RDS User Guide. Domain *string `type:"string"` @@ -19085,6 +19087,22 @@ type CreateDBInstanceReadReplicaInput struct { // For more information, see CreateDBInstance. PubliclyAccessible *bool `type:"boolean"` + // The open mode of the replica database: mounted or read-only. + // + // This parameter is only supported for Oracle DB instances. + // + // Mounted DB replicas are included in Oracle Enterprise Edition. The main use + // case for mounted replicas is cross-Region disaster recovery. The primary + // database doesn't use Active Data Guard to transmit information to the mounted + // replica. Because it doesn't accept user connections, a mounted replica can't + // serve a read-only workload. + // + // You can create a combination of mounted and read-only DB replicas for the + // same primary DB instance. For more information, see Working with Oracle Read + // Replicas for Amazon RDS (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-read-replicas.html) + // in the Amazon RDS User Guide. + ReplicaMode *string `type:"string" enum:"ReplicaMode"` + // The identifier of the DB instance that will act as the source for the read // replica. Each DB instance can have up to five read replicas. // @@ -19332,6 +19350,12 @@ func (s *CreateDBInstanceReadReplicaInput) SetPubliclyAccessible(v bool) *Create return s } +// SetReplicaMode sets the ReplicaMode field's value. +func (s *CreateDBInstanceReadReplicaInput) SetReplicaMode(v string) *CreateDBInstanceReadReplicaInput { + s.ReplicaMode = &v + return s +} + // SetSourceDBInstanceIdentifier sets the SourceDBInstanceIdentifier field's value. func (s *CreateDBInstanceReadReplicaInput) SetSourceDBInstanceIdentifier(v string) *CreateDBInstanceReadReplicaInput { s.SourceDBInstanceIdentifier = &v @@ -20010,11 +20034,10 @@ type CreateEventSubscriptionInput struct { // not active. Enabled *bool `type:"boolean"` - // A list of event categories for a SourceType that you want to subscribe to. - // You can see a list of the categories for a given SourceType in the Events - // (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Events.html) - // topic in the Amazon RDS User Guide or by using the DescribeEventCategories - // action. + // A list of event categories for a particular source type (SourceType) that + // you want to subscribe to. You can see a list of the categories for a given + // source type in Events (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Events.html) + // in the Amazon RDS User Guide or by using the DescribeEventCategories operation. EventCategories []*string `locationNameList:"EventCategory" type:"list"` // The Amazon Resource Name (ARN) of the SNS topic created for event notification. @@ -20031,24 +20054,30 @@ type CreateEventSubscriptionInput struct { // // Constraints: // - // * If SourceIds are supplied, SourceType must also be provided. + // * If a SourceIds value is supplied, SourceType must also be provided. // - // * If the source type is a DB instance, then a DBInstanceIdentifier must + // * If the source type is a DB instance, a DBInstanceIdentifier value must // be supplied. // - // * If the source type is a DB security group, a DBSecurityGroupName must + // * If the source type is a DB cluster, a DBClusterIdentifier value must // be supplied. // - // * If the source type is a DB parameter group, a DBParameterGroupName must + // * If the source type is a DB parameter group, a DBParameterGroupName value + // must be supplied. + // + // * If the source type is a DB security group, a DBSecurityGroupName value + // must be supplied. + // + // * If the source type is a DB snapshot, a DBSnapshotIdentifier value must // be supplied. // - // * If the source type is a DB snapshot, a DBSnapshotIdentifier must be - // supplied. + // * If the source type is a DB cluster snapshot, a DBClusterSnapshotIdentifier + // value must be supplied. SourceIds []*string `locationNameList:"SourceId" type:"list"` // The type of source that is generating the events. For example, if you want - // to be notified of events generated by a DB instance, you would set this parameter - // to db-instance. if this value isn't specified, all events are returned. + // to be notified of events generated by a DB instance, you set this parameter + // to db-instance. If this value isn't specified, all events are returned. // // Valid values: db-instance | db-cluster | db-parameter-group | db-security-group // | db-snapshot | db-cluster-snapshot @@ -21072,7 +21101,9 @@ type DBClusterEndpoint struct { StaticMembers []*string `type:"list"` // The current status of the endpoint. One of: creating, available, deleting, - // modifying. + // inactive, modifying. The inactive state applies to an endpoint that can't + // be used for a certain kind of cluster, such as a writer endpoint for a read-only + // secondary cluster in a global database. Status *string `type:"string"` } @@ -22101,6 +22132,13 @@ type DBInstance struct { // a read replica. ReadReplicaSourceDBInstanceIdentifier *string `type:"string"` + // The open mode of an Oracle read replica. The default is open-read-only. For + // more information, see Working with Oracle Read Replicas for Amazon RDS (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-read-replicas.html) + // in the Amazon RDS User Guide. + // + // This attribute is only supported in RDS for Oracle. + ReplicaMode *string `type:"string" enum:"ReplicaMode"` + // If present, specifies the name of the secondary Availability Zone for a DB // instance with multi-AZ support. SecondaryAvailabilityZone *string `type:"string"` @@ -22445,6 +22483,12 @@ func (s *DBInstance) SetReadReplicaSourceDBInstanceIdentifier(v string) *DBInsta return s } +// SetReplicaMode sets the ReplicaMode field's value. +func (s *DBInstance) SetReplicaMode(v string) *DBInstance { + s.ReplicaMode = &v + return s +} + // SetSecondaryAvailabilityZone sets the SecondaryAvailabilityZone field's value. func (s *DBInstance) SetSecondaryAvailabilityZone(v string) *DBInstance { s.SecondaryAvailabilityZone = &v @@ -24031,7 +24075,9 @@ type DeleteDBClusterEndpointOutput struct { StaticMembers []*string `type:"list"` // The current status of the endpoint. One of: creating, available, deleting, - // modifying. + // inactive, modifying. The inactive state applies to an endpoint that can't + // be used for a certain kind of cluster, such as a writer endpoint for a read-only + // secondary cluster in a global database. Status *string `type:"string"` } @@ -25664,7 +25710,7 @@ type DescribeDBClusterEndpointsInput struct { // db-cluster-endpoint-id, db-cluster-endpoint-status. Values for the db-cluster-endpoint-type // filter can be one or more of: reader, writer, custom. Values for the db-cluster-endpoint-custom-type // filter can be one or more of: reader, any. Values for the db-cluster-endpoint-status - // filter can be one or more of: available, creating, deleting, modifying. + // filter can be one or more of: available, creating, deleting, inactive, modifying. Filters []*Filter `locationNameList:"Filter" type:"list"` // An optional pagination token provided by a previous DescribeDBClusterEndpoints @@ -28461,7 +28507,8 @@ type DescribeEventCategoriesInput struct { // The type of source that is generating the events. // - // Valid values: db-instance | db-parameter-group | db-security-group | db-snapshot + // Valid values: db-instance | db-cluster | db-parameter-group | db-security-group + // | db-snapshot | db-cluster-snapshot SourceType *string `type:"string"` } @@ -28507,7 +28554,7 @@ func (s *DescribeEventCategoriesInput) SetSourceType(v string) *DescribeEventCat return s } -// Data returned from the DescribeEventCategories action. +// Data returned from the DescribeEventCategories operation. type DescribeEventCategoriesOutput struct { _ struct{} `type:"structure"` @@ -28687,16 +28734,23 @@ type DescribeEventsInput struct { // // * If SourceIdentifier is supplied, SourceType must also be provided. // - // * If the source type is DBInstance, then a DBInstanceIdentifier must be - // supplied. + // * If the source type is a DB instance, a DBInstanceIdentifier value must + // be supplied. + // + // * If the source type is a DB cluster, a DBClusterIdentifier value must + // be supplied. // - // * If the source type is DBSecurityGroup, a DBSecurityGroupName must be - // supplied. + // * If the source type is a DB parameter group, a DBParameterGroupName value + // must be supplied. // - // * If the source type is DBParameterGroup, a DBParameterGroupName must + // * If the source type is a DB security group, a DBSecurityGroupName value + // must be supplied. + // + // * If the source type is a DB snapshot, a DBSnapshotIdentifier value must // be supplied. // - // * If the source type is DBSnapshot, a DBSnapshotIdentifier must be supplied. + // * If the source type is a DB cluster snapshot, a DBClusterSnapshotIdentifier + // value must be supplied. // // * Can't end with a hyphen or contain two consecutive hyphens. SourceIdentifier *string `type:"string"` @@ -30770,7 +30824,7 @@ func (s *Event) SetSourceType(v string) *Event { } // Contains the results of a successful invocation of the DescribeEventCategories -// action. +// operation. type EventCategoriesMap struct { _ struct{} `type:"structure"` @@ -32214,7 +32268,9 @@ type ModifyDBClusterEndpointOutput struct { StaticMembers []*string `type:"list"` // The current status of the endpoint. One of: creating, available, deleting, - // modifying. + // inactive, modifying. The inactive state applies to an endpoint that can't + // be used for a certain kind of cluster, such as a writer endpoint for a read-only + // secondary cluster in a global database. Status *string `type:"string"` } @@ -32382,6 +32438,9 @@ type ModifyDBClusterInput struct { // The Active Directory directory ID to move the DB cluster to. Specify none // to remove the cluster from its current domain. The domain must be created // prior to this operation. + // + // For more information, see Kerberos Authentication (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/kerberos-authentication.html) + // in the Amazon Aurora User Guide. Domain *string `type:"string"` // Specify the name of the IAM role to be used when making API calls to the @@ -33109,18 +33168,10 @@ type ModifyDBInstanceInput struct { // The Active Directory directory ID to move the DB instance to. Specify none // to remove the instance from its current domain. The domain must be created - // prior to this operation. Currently, only Microsoft SQL Server and Oracle - // DB instances can be created in an Active Directory Domain. - // - // For Microsoft SQL Server DB instances, Amazon RDS can use Windows Authentication - // to authenticate users that connect to the DB instance. For more information, - // see Using Windows Authentication with an Amazon RDS DB Instance Running Microsoft - // SQL Server (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_SQLServerWinAuth.html) - // in the Amazon RDS User Guide. + // prior to this operation. Currently, only MySQL, Microsoft SQL Server, Oracle, + // and PostgreSQL DB instances can be created in an Active Directory Domain. // - // For Oracle DB instances, Amazon RDS can use Kerberos authentication to authenticate - // users that connect to the DB instance. For more information, see Using Kerberos - // Authentication with Amazon RDS for Oracle (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-kerberos.html) + // For more information, see Kerberos Authentication (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/kerberos-authentication.html) // in the Amazon RDS User Guide. Domain *string `type:"string"` @@ -33377,6 +33428,20 @@ type ModifyDBInstanceInput struct { // of the value of the ApplyImmediately parameter. PubliclyAccessible *bool `type:"boolean"` + // A value that sets the open mode of a replica database to either mounted or + // read-only. + // + // Currently, this parameter is only supported for Oracle DB instances. + // + // Mounted DB replicas are included in Oracle Enterprise Edition. The main use + // case for mounted replicas is cross-Region disaster recovery. The primary + // database doesn't use Active Data Guard to transmit information to the mounted + // replica. Because it doesn't accept user connections, a mounted replica can't + // serve a read-only workload. For more information, see Working with Oracle + // Read Replicas for Amazon RDS (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-read-replicas.html) + // in the Amazon RDS User Guide. + ReplicaMode *string `type:"string" enum:"ReplicaMode"` + // Specifies the storage type to be associated with the DB instance. // // If you specify Provisioned IOPS (io1), you must also include a value for @@ -33670,6 +33735,12 @@ func (s *ModifyDBInstanceInput) SetPubliclyAccessible(v bool) *ModifyDBInstanceI return s } +// SetReplicaMode sets the ReplicaMode field's value. +func (s *ModifyDBInstanceInput) SetReplicaMode(v string) *ModifyDBInstanceInput { + s.ReplicaMode = &v + return s +} + // SetStorageType sets the StorageType field's value. func (s *ModifyDBInstanceInput) SetStorageType(v string) *ModifyDBInstanceInput { s.StorageType = &v @@ -34346,11 +34417,10 @@ type ModifyEventSubscriptionInput struct { // A value that indicates whether to activate the subscription. Enabled *bool `type:"boolean"` - // A list of event categories for a SourceType that you want to subscribe to. - // You can see a list of the categories for a given SourceType in the Events - // (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Events.html) - // topic in the Amazon RDS User Guide or by using the DescribeEventCategories - // action. + // A list of event categories for a source type (SourceType) that you want to + // subscribe to. You can see a list of the categories for a given source type + // in Events (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Events.html) + // in the Amazon RDS User Guide or by using the DescribeEventCategories operation. EventCategories []*string `locationNameList:"EventCategory" type:"list"` // The Amazon Resource Name (ARN) of the SNS topic created for event notification. @@ -34362,7 +34432,8 @@ type ModifyEventSubscriptionInput struct { // to be notified of events generated by a DB instance, you would set this parameter // to db-instance. If this value isn't specified, all events are returned. // - // Valid values: db-instance | db-parameter-group | db-security-group | db-snapshot + // Valid values: db-instance | db-cluster | db-parameter-group | db-security-group + // | db-snapshot | db-cluster-snapshot SourceType *string `type:"string"` // The name of the RDS event notification subscription. @@ -37539,9 +37610,10 @@ type RestoreDBClusterFromS3Input struct { // in the Amazon Aurora User Guide. EnableIAMDatabaseAuthentication *bool `type:"boolean"` - // The name of the database engine to be used for the restored DB cluster. + // The name of the database engine to be used for this DB cluster. // - // Valid Values: aurora, aurora-postgresql + // Valid Values: aurora (for MySQL 5.6-compatible Aurora), aurora-mysql (for + // MySQL 5.7-compatible Aurora), and aurora-postgresql // // Engine is a required field Engine *string `type:"string" required:"true"` @@ -37685,7 +37757,7 @@ type RestoreDBClusterFromS3Input struct { // // MySQL versions 5.5, 5.6, and 5.7 are supported. // - // Example: 5.6.40 + // Example: 5.6.40, 5.7.28 // // SourceEngineVersion is a required field SourceEngineVersion *string `type:"string" required:"true"` @@ -38029,7 +38101,12 @@ type RestoreDBClusterFromSnapshotInput struct { DeletionProtection *bool `type:"boolean"` // Specify the Active Directory directory ID to restore the DB cluster in. The - // domain must be created prior to this operation. + // domain must be created prior to this operation. Currently, only MySQL, Microsoft + // SQL Server, Oracle, and PostgreSQL DB instances can be created in an Active + // Directory Domain. + // + // For more information, see Kerberos Authentication (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/kerberos-authentication.html) + // in the Amazon RDS User Guide. Domain *string `type:"string"` // Specify the name of the IAM role to be used when making API calls to the @@ -38770,19 +38847,11 @@ type RestoreDBInstanceFromDBSnapshotInput struct { DeletionProtection *bool `type:"boolean"` // Specify the Active Directory directory ID to restore the DB instance in. - // The domain must be created prior to this operation. Currently, only Microsoft - // SQL Server and Oracle DB instances can be created in an Active Directory - // Domain. - // - // For Microsoft SQL Server DB instances, Amazon RDS can use Windows Authentication - // to authenticate users that connect to the DB instance. For more information, - // see Using Windows Authentication with an Amazon RDS DB Instance Running Microsoft - // SQL Server (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_SQLServerWinAuth.html) - // in the Amazon RDS User Guide. + // The domain must be created prior to this operation. Currently, only MySQL, + // Microsoft SQL Server, Oracle, and PostgreSQL DB instances can be created + // in an Active Directory Domain. // - // For Oracle DB instances, Amazon RDS can use Kerberos authentication to authenticate - // users that connect to the DB instance. For more information, see Using Kerberos - // Authentication with Amazon RDS for Oracle (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-kerberos.html) + // For more information, see Kerberos Authentication (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/kerberos-authentication.html) // in the Amazon RDS User Guide. Domain *string `type:"string"` @@ -39861,19 +39930,11 @@ type RestoreDBInstanceToPointInTimeInput struct { DeletionProtection *bool `type:"boolean"` // Specify the Active Directory directory ID to restore the DB instance in. - // The domain must be created prior to this operation. Currently, only Microsoft - // SQL Server and Oracle DB instances can be created in an Active Directory - // Domain. - // - // For Microsoft SQL Server DB instances, Amazon RDS can use Windows Authentication - // to authenticate users that connect to the DB instance. For more information, - // see Using Windows Authentication with an Amazon RDS DB Instance Running Microsoft - // SQL Server (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_SQLServerWinAuth.html) - // in the Amazon RDS User Guide. + // The domain must be created prior to this operation. Currently, only MySQL, + // Microsoft SQL Server, Oracle, and PostgreSQL DB instances can be created + // in an Active Directory Domain. // - // For Oracle DB instances, Amazon RDS can use Kerberos authentication to authenticate - // users that connect to the DB instance. For more information, see Using Kerberos - // Authentication with Amazon RDS for Oracle (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-kerberos.html) + // For more information, see Kerberos Authentication (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/kerberos-authentication.html) // in the Amazon RDS User Guide. Domain *string `type:"string"` @@ -40946,9 +41007,27 @@ type StartExportTaskInput struct { // The ID of the AWS KMS key to use to encrypt the snapshot exported to Amazon // S3. The KMS key ID is the Amazon Resource Name (ARN), the KMS key identifier, - // or the KMS key alias for the KMS encryption key. The IAM role used for the - // snapshot export must have encryption and decryption permissions to use this - // KMS key. + // or the KMS key alias for the KMS encryption key. The caller of this operation + // must be authorized to execute the following operations. These can be set + // in the KMS key policy: + // + // * GrantOperation.Encrypt + // + // * GrantOperation.Decrypt + // + // * GrantOperation.GenerateDataKey + // + // * GrantOperation.GenerateDataKeyWithoutPlaintext + // + // * GrantOperation.ReEncryptFrom + // + // * GrantOperation.ReEncryptTo + // + // * GrantOperation.CreateGrant + // + // * GrantOperation.DescribeKey + // + // * GrantOperation.RetireGrant // // KmsKeyId is a required field KmsKeyId *string `type:"string" required:"true"` @@ -42025,6 +42104,14 @@ const ( ActivityStreamModeAsync = "async" ) +// ActivityStreamMode_Values returns all elements of the ActivityStreamMode enum +func ActivityStreamMode_Values() []string { + return []string{ + ActivityStreamModeSync, + ActivityStreamModeAsync, + } +} + const ( // ActivityStreamStatusStopped is a ActivityStreamStatus enum value ActivityStreamStatusStopped = "stopped" @@ -42039,6 +42126,16 @@ const ( ActivityStreamStatusStopping = "stopping" ) +// ActivityStreamStatus_Values returns all elements of the ActivityStreamStatus enum +func ActivityStreamStatus_Values() []string { + return []string{ + ActivityStreamStatusStopped, + ActivityStreamStatusStarting, + ActivityStreamStatusStarted, + ActivityStreamStatusStopping, + } +} + const ( // ApplyMethodImmediate is a ApplyMethod enum value ApplyMethodImmediate = "immediate" @@ -42047,11 +42144,26 @@ const ( ApplyMethodPendingReboot = "pending-reboot" ) +// ApplyMethod_Values returns all elements of the ApplyMethod enum +func ApplyMethod_Values() []string { + return []string{ + ApplyMethodImmediate, + ApplyMethodPendingReboot, + } +} + const ( // AuthSchemeSecrets is a AuthScheme enum value AuthSchemeSecrets = "SECRETS" ) +// AuthScheme_Values returns all elements of the AuthScheme enum +func AuthScheme_Values() []string { + return []string{ + AuthSchemeSecrets, + } +} + const ( // DBProxyStatusAvailable is a DBProxyStatus enum value DBProxyStatusAvailable = "available" @@ -42081,6 +42193,21 @@ const ( DBProxyStatusReactivating = "reactivating" ) +// DBProxyStatus_Values returns all elements of the DBProxyStatus enum +func DBProxyStatus_Values() []string { + return []string{ + DBProxyStatusAvailable, + DBProxyStatusModifying, + DBProxyStatusIncompatibleNetwork, + DBProxyStatusInsufficientResourceLimits, + DBProxyStatusCreating, + DBProxyStatusDeleting, + DBProxyStatusSuspended, + DBProxyStatusSuspending, + DBProxyStatusReactivating, + } +} + const ( // EngineFamilyMysql is a EngineFamily enum value EngineFamilyMysql = "MYSQL" @@ -42089,6 +42216,14 @@ const ( EngineFamilyPostgresql = "POSTGRESQL" ) +// EngineFamily_Values returns all elements of the EngineFamily enum +func EngineFamily_Values() []string { + return []string{ + EngineFamilyMysql, + EngineFamilyPostgresql, + } +} + const ( // IAMAuthModeDisabled is a IAMAuthMode enum value IAMAuthModeDisabled = "DISABLED" @@ -42097,6 +42232,30 @@ const ( IAMAuthModeRequired = "REQUIRED" ) +// IAMAuthMode_Values returns all elements of the IAMAuthMode enum +func IAMAuthMode_Values() []string { + return []string{ + IAMAuthModeDisabled, + IAMAuthModeRequired, + } +} + +const ( + // ReplicaModeOpenReadOnly is a ReplicaMode enum value + ReplicaModeOpenReadOnly = "open-read-only" + + // ReplicaModeMounted is a ReplicaMode enum value + ReplicaModeMounted = "mounted" +) + +// ReplicaMode_Values returns all elements of the ReplicaMode enum +func ReplicaMode_Values() []string { + return []string{ + ReplicaModeOpenReadOnly, + ReplicaModeMounted, + } +} + const ( // SourceTypeDbInstance is a SourceType enum value SourceTypeDbInstance = "db-instance" @@ -42117,6 +42276,18 @@ const ( SourceTypeDbClusterSnapshot = "db-cluster-snapshot" ) +// SourceType_Values returns all elements of the SourceType enum +func SourceType_Values() []string { + return []string{ + SourceTypeDbInstance, + SourceTypeDbParameterGroup, + SourceTypeDbSecurityGroup, + SourceTypeDbSnapshot, + SourceTypeDbCluster, + SourceTypeDbClusterSnapshot, + } +} + const ( // TargetHealthReasonUnreachable is a TargetHealthReason enum value TargetHealthReasonUnreachable = "UNREACHABLE" @@ -42131,6 +42302,16 @@ const ( TargetHealthReasonPendingProxyCapacity = "PENDING_PROXY_CAPACITY" ) +// TargetHealthReason_Values returns all elements of the TargetHealthReason enum +func TargetHealthReason_Values() []string { + return []string{ + TargetHealthReasonUnreachable, + TargetHealthReasonConnectionFailed, + TargetHealthReasonAuthFailure, + TargetHealthReasonPendingProxyCapacity, + } +} + const ( // TargetStateRegistering is a TargetState enum value TargetStateRegistering = "REGISTERING" @@ -42142,6 +42323,15 @@ const ( TargetStateUnavailable = "UNAVAILABLE" ) +// TargetState_Values returns all elements of the TargetState enum +func TargetState_Values() []string { + return []string{ + TargetStateRegistering, + TargetStateAvailable, + TargetStateUnavailable, + } +} + const ( // TargetTypeRdsInstance is a TargetType enum value TargetTypeRdsInstance = "RDS_INSTANCE" @@ -42153,6 +42343,15 @@ const ( TargetTypeTrackedCluster = "TRACKED_CLUSTER" ) +// TargetType_Values returns all elements of the TargetType enum +func TargetType_Values() []string { + return []string{ + TargetTypeRdsInstance, + TargetTypeRdsServerlessEndpoint, + TargetTypeTrackedCluster, + } +} + const ( // WriteForwardingStatusEnabled is a WriteForwardingStatus enum value WriteForwardingStatusEnabled = "enabled" @@ -42169,3 +42368,14 @@ const ( // WriteForwardingStatusUnknown is a WriteForwardingStatus enum value WriteForwardingStatusUnknown = "unknown" ) + +// WriteForwardingStatus_Values returns all elements of the WriteForwardingStatus enum +func WriteForwardingStatus_Values() []string { + return []string{ + WriteForwardingStatusEnabled, + WriteForwardingStatusDisabled, + WriteForwardingStatusEnabling, + WriteForwardingStatusDisabling, + WriteForwardingStatusUnknown, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/redshift/api.go b/vendor/github.com/aws/aws-sdk-go/service/redshift/api.go index a2985aeb536..d8b2573da17 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/redshift/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/redshift/api.go @@ -24830,6 +24830,15 @@ const ( ActionTypeResizeCluster = "resize-cluster" ) +// ActionType_Values returns all elements of the ActionType enum +func ActionType_Values() []string { + return []string{ + ActionTypeRestoreCluster, + ActionTypeRecommendNodeConfig, + ActionTypeResizeCluster, + } +} + const ( // ModeStandard is a Mode enum value ModeStandard = "standard" @@ -24838,6 +24847,14 @@ const ( ModeHighPerformance = "high-performance" ) +// Mode_Values returns all elements of the Mode enum +func Mode_Values() []string { + return []string{ + ModeStandard, + ModeHighPerformance, + } +} + const ( // NodeConfigurationOptionsFilterNameNodeType is a NodeConfigurationOptionsFilterName enum value NodeConfigurationOptionsFilterNameNodeType = "NodeType" @@ -24852,6 +24869,16 @@ const ( NodeConfigurationOptionsFilterNameMode = "Mode" ) +// NodeConfigurationOptionsFilterName_Values returns all elements of the NodeConfigurationOptionsFilterName enum +func NodeConfigurationOptionsFilterName_Values() []string { + return []string{ + NodeConfigurationOptionsFilterNameNodeType, + NodeConfigurationOptionsFilterNameNumberOfNodes, + NodeConfigurationOptionsFilterNameEstimatedDiskUtilizationPercent, + NodeConfigurationOptionsFilterNameMode, + } +} + const ( // OperatorTypeEq is a OperatorType enum value OperatorTypeEq = "eq" @@ -24875,6 +24902,19 @@ const ( OperatorTypeBetween = "between" ) +// OperatorType_Values returns all elements of the OperatorType enum +func OperatorType_Values() []string { + return []string{ + OperatorTypeEq, + OperatorTypeLt, + OperatorTypeGt, + OperatorTypeLe, + OperatorTypeGe, + OperatorTypeIn, + OperatorTypeBetween, + } +} + const ( // ParameterApplyTypeStatic is a ParameterApplyType enum value ParameterApplyTypeStatic = "static" @@ -24883,6 +24923,14 @@ const ( ParameterApplyTypeDynamic = "dynamic" ) +// ParameterApplyType_Values returns all elements of the ParameterApplyType enum +func ParameterApplyType_Values() []string { + return []string{ + ParameterApplyTypeStatic, + ParameterApplyTypeDynamic, + } +} + const ( // ReservedNodeOfferingTypeRegular is a ReservedNodeOfferingType enum value ReservedNodeOfferingTypeRegular = "Regular" @@ -24891,6 +24939,14 @@ const ( ReservedNodeOfferingTypeUpgradable = "Upgradable" ) +// ReservedNodeOfferingType_Values returns all elements of the ReservedNodeOfferingType enum +func ReservedNodeOfferingType_Values() []string { + return []string{ + ReservedNodeOfferingTypeRegular, + ReservedNodeOfferingTypeUpgradable, + } +} + const ( // ScheduleStateModifying is a ScheduleState enum value ScheduleStateModifying = "MODIFYING" @@ -24902,6 +24958,15 @@ const ( ScheduleStateFailed = "FAILED" ) +// ScheduleState_Values returns all elements of the ScheduleState enum +func ScheduleState_Values() []string { + return []string{ + ScheduleStateModifying, + ScheduleStateActive, + ScheduleStateFailed, + } +} + const ( // ScheduledActionFilterNameClusterIdentifier is a ScheduledActionFilterName enum value ScheduledActionFilterNameClusterIdentifier = "cluster-identifier" @@ -24910,6 +24975,14 @@ const ( ScheduledActionFilterNameIamRole = "iam-role" ) +// ScheduledActionFilterName_Values returns all elements of the ScheduledActionFilterName enum +func ScheduledActionFilterName_Values() []string { + return []string{ + ScheduledActionFilterNameClusterIdentifier, + ScheduledActionFilterNameIamRole, + } +} + const ( // ScheduledActionStateActive is a ScheduledActionState enum value ScheduledActionStateActive = "ACTIVE" @@ -24918,6 +24991,14 @@ const ( ScheduledActionStateDisabled = "DISABLED" ) +// ScheduledActionState_Values returns all elements of the ScheduledActionState enum +func ScheduledActionState_Values() []string { + return []string{ + ScheduledActionStateActive, + ScheduledActionStateDisabled, + } +} + const ( // ScheduledActionTypeValuesResizeCluster is a ScheduledActionTypeValues enum value ScheduledActionTypeValuesResizeCluster = "ResizeCluster" @@ -24929,6 +25010,15 @@ const ( ScheduledActionTypeValuesResumeCluster = "ResumeCluster" ) +// ScheduledActionTypeValues_Values returns all elements of the ScheduledActionTypeValues enum +func ScheduledActionTypeValues_Values() []string { + return []string{ + ScheduledActionTypeValuesResizeCluster, + ScheduledActionTypeValuesPauseCluster, + ScheduledActionTypeValuesResumeCluster, + } +} + const ( // SnapshotAttributeToSortBySourceType is a SnapshotAttributeToSortBy enum value SnapshotAttributeToSortBySourceType = "SOURCE_TYPE" @@ -24940,6 +25030,15 @@ const ( SnapshotAttributeToSortByCreateTime = "CREATE_TIME" ) +// SnapshotAttributeToSortBy_Values returns all elements of the SnapshotAttributeToSortBy enum +func SnapshotAttributeToSortBy_Values() []string { + return []string{ + SnapshotAttributeToSortBySourceType, + SnapshotAttributeToSortByTotalSize, + SnapshotAttributeToSortByCreateTime, + } +} + const ( // SortByOrderAsc is a SortByOrder enum value SortByOrderAsc = "ASC" @@ -24948,6 +25047,14 @@ const ( SortByOrderDesc = "DESC" ) +// SortByOrder_Values returns all elements of the SortByOrder enum +func SortByOrder_Values() []string { + return []string{ + SortByOrderAsc, + SortByOrderDesc, + } +} + const ( // SourceTypeCluster is a SourceType enum value SourceTypeCluster = "cluster" @@ -24965,6 +25072,17 @@ const ( SourceTypeScheduledAction = "scheduled-action" ) +// SourceType_Values returns all elements of the SourceType enum +func SourceType_Values() []string { + return []string{ + SourceTypeCluster, + SourceTypeClusterParameterGroup, + SourceTypeClusterSecurityGroup, + SourceTypeClusterSnapshot, + SourceTypeScheduledAction, + } +} + const ( // TableRestoreStatusTypePending is a TableRestoreStatusType enum value TableRestoreStatusTypePending = "PENDING" @@ -24982,6 +25100,17 @@ const ( TableRestoreStatusTypeCanceled = "CANCELED" ) +// TableRestoreStatusType_Values returns all elements of the TableRestoreStatusType enum +func TableRestoreStatusType_Values() []string { + return []string{ + TableRestoreStatusTypePending, + TableRestoreStatusTypeInProgress, + TableRestoreStatusTypeSucceeded, + TableRestoreStatusTypeFailed, + TableRestoreStatusTypeCanceled, + } +} + const ( // UsageLimitBreachActionLog is a UsageLimitBreachAction enum value UsageLimitBreachActionLog = "log" @@ -24993,6 +25122,15 @@ const ( UsageLimitBreachActionDisable = "disable" ) +// UsageLimitBreachAction_Values returns all elements of the UsageLimitBreachAction enum +func UsageLimitBreachAction_Values() []string { + return []string{ + UsageLimitBreachActionLog, + UsageLimitBreachActionEmitMetric, + UsageLimitBreachActionDisable, + } +} + const ( // UsageLimitFeatureTypeSpectrum is a UsageLimitFeatureType enum value UsageLimitFeatureTypeSpectrum = "spectrum" @@ -25001,6 +25139,14 @@ const ( UsageLimitFeatureTypeConcurrencyScaling = "concurrency-scaling" ) +// UsageLimitFeatureType_Values returns all elements of the UsageLimitFeatureType enum +func UsageLimitFeatureType_Values() []string { + return []string{ + UsageLimitFeatureTypeSpectrum, + UsageLimitFeatureTypeConcurrencyScaling, + } +} + const ( // UsageLimitLimitTypeTime is a UsageLimitLimitType enum value UsageLimitLimitTypeTime = "time" @@ -25009,6 +25155,14 @@ const ( UsageLimitLimitTypeDataScanned = "data-scanned" ) +// UsageLimitLimitType_Values returns all elements of the UsageLimitLimitType enum +func UsageLimitLimitType_Values() []string { + return []string{ + UsageLimitLimitTypeTime, + UsageLimitLimitTypeDataScanned, + } +} + const ( // UsageLimitPeriodDaily is a UsageLimitPeriod enum value UsageLimitPeriodDaily = "daily" @@ -25019,3 +25173,12 @@ const ( // UsageLimitPeriodMonthly is a UsageLimitPeriod enum value UsageLimitPeriodMonthly = "monthly" ) + +// UsageLimitPeriod_Values returns all elements of the UsageLimitPeriod enum +func UsageLimitPeriod_Values() []string { + return []string{ + UsageLimitPeriodDaily, + UsageLimitPeriodWeekly, + UsageLimitPeriodMonthly, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/resourcegroups/api.go b/vendor/github.com/aws/aws-sdk-go/service/resourcegroups/api.go index 6b04ce3ff04..04b31538c24 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/resourcegroups/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/resourcegroups/api.go @@ -4140,6 +4140,15 @@ const ( GroupConfigurationStatusUpdateFailed = "UPDATE_FAILED" ) +// GroupConfigurationStatus_Values returns all elements of the GroupConfigurationStatus enum +func GroupConfigurationStatus_Values() []string { + return []string{ + GroupConfigurationStatusUpdating, + GroupConfigurationStatusUpdateComplete, + GroupConfigurationStatusUpdateFailed, + } +} + const ( // GroupFilterNameResourceType is a GroupFilterName enum value GroupFilterNameResourceType = "resource-type" @@ -4148,6 +4157,14 @@ const ( GroupFilterNameConfigurationType = "configuration-type" ) +// GroupFilterName_Values returns all elements of the GroupFilterName enum +func GroupFilterName_Values() []string { + return []string{ + GroupFilterNameResourceType, + GroupFilterNameConfigurationType, + } +} + const ( // QueryErrorCodeCloudformationStackInactive is a QueryErrorCode enum value QueryErrorCodeCloudformationStackInactive = "CLOUDFORMATION_STACK_INACTIVE" @@ -4156,6 +4173,14 @@ const ( QueryErrorCodeCloudformationStackNotExisting = "CLOUDFORMATION_STACK_NOT_EXISTING" ) +// QueryErrorCode_Values returns all elements of the QueryErrorCode enum +func QueryErrorCode_Values() []string { + return []string{ + QueryErrorCodeCloudformationStackInactive, + QueryErrorCodeCloudformationStackNotExisting, + } +} + const ( // QueryTypeTagFilters10 is a QueryType enum value QueryTypeTagFilters10 = "TAG_FILTERS_1_0" @@ -4164,7 +4189,22 @@ const ( QueryTypeCloudformationStack10 = "CLOUDFORMATION_STACK_1_0" ) +// QueryType_Values returns all elements of the QueryType enum +func QueryType_Values() []string { + return []string{ + QueryTypeTagFilters10, + QueryTypeCloudformationStack10, + } +} + const ( // ResourceFilterNameResourceType is a ResourceFilterName enum value ResourceFilterNameResourceType = "resource-type" ) + +// ResourceFilterName_Values returns all elements of the ResourceFilterName enum +func ResourceFilterName_Values() []string { + return []string{ + ResourceFilterNameResourceType, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/resourcegroupstaggingapi/api.go b/vendor/github.com/aws/aws-sdk-go/service/resourcegroupstaggingapi/api.go index 62dee45029a..4df9efecb85 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/resourcegroupstaggingapi/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/resourcegroupstaggingapi/api.go @@ -2673,6 +2673,14 @@ const ( ErrorCodeInvalidParameterException = "InvalidParameterException" ) +// ErrorCode_Values returns all elements of the ErrorCode enum +func ErrorCode_Values() []string { + return []string{ + ErrorCodeInternalServiceException, + ErrorCodeInvalidParameterException, + } +} + const ( // GroupByAttributeTargetId is a GroupByAttribute enum value GroupByAttributeTargetId = "TARGET_ID" @@ -2684,6 +2692,15 @@ const ( GroupByAttributeResourceType = "RESOURCE_TYPE" ) +// GroupByAttribute_Values returns all elements of the GroupByAttribute enum +func GroupByAttribute_Values() []string { + return []string{ + GroupByAttributeTargetId, + GroupByAttributeRegion, + GroupByAttributeResourceType, + } +} + const ( // TargetIdTypeAccount is a TargetIdType enum value TargetIdTypeAccount = "ACCOUNT" @@ -2694,3 +2711,12 @@ const ( // TargetIdTypeRoot is a TargetIdType enum value TargetIdTypeRoot = "ROOT" ) + +// TargetIdType_Values returns all elements of the TargetIdType enum +func TargetIdType_Values() []string { + return []string{ + TargetIdTypeAccount, + TargetIdTypeOu, + TargetIdTypeRoot, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/route53/api.go b/vendor/github.com/aws/aws-sdk-go/service/route53/api.go index c77a68912bc..da7c8dc6cf8 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/route53/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/route53/api.go @@ -15452,6 +15452,17 @@ const ( AccountLimitTypeMaxTrafficPoliciesByOwner = "MAX_TRAFFIC_POLICIES_BY_OWNER" ) +// AccountLimitType_Values returns all elements of the AccountLimitType enum +func AccountLimitType_Values() []string { + return []string{ + AccountLimitTypeMaxHealthChecksByOwner, + AccountLimitTypeMaxHostedZonesByOwner, + AccountLimitTypeMaxTrafficPolicyInstancesByOwner, + AccountLimitTypeMaxReusableDelegationSetsByOwner, + AccountLimitTypeMaxTrafficPoliciesByOwner, + } +} + const ( // ChangeActionCreate is a ChangeAction enum value ChangeActionCreate = "CREATE" @@ -15463,6 +15474,15 @@ const ( ChangeActionUpsert = "UPSERT" ) +// ChangeAction_Values returns all elements of the ChangeAction enum +func ChangeAction_Values() []string { + return []string{ + ChangeActionCreate, + ChangeActionDelete, + ChangeActionUpsert, + } +} + const ( // ChangeStatusPending is a ChangeStatus enum value ChangeStatusPending = "PENDING" @@ -15471,6 +15491,14 @@ const ( ChangeStatusInsync = "INSYNC" ) +// ChangeStatus_Values returns all elements of the ChangeStatus enum +func ChangeStatus_Values() []string { + return []string{ + ChangeStatusPending, + ChangeStatusInsync, + } +} + const ( // CloudWatchRegionUsEast1 is a CloudWatchRegion enum value CloudWatchRegionUsEast1 = "us-east-1" @@ -15554,6 +15582,39 @@ const ( CloudWatchRegionUsIsobEast1 = "us-isob-east-1" ) +// CloudWatchRegion_Values returns all elements of the CloudWatchRegion enum +func CloudWatchRegion_Values() []string { + return []string{ + CloudWatchRegionUsEast1, + CloudWatchRegionUsEast2, + CloudWatchRegionUsWest1, + CloudWatchRegionUsWest2, + CloudWatchRegionCaCentral1, + CloudWatchRegionEuCentral1, + CloudWatchRegionEuWest1, + CloudWatchRegionEuWest2, + CloudWatchRegionEuWest3, + CloudWatchRegionApEast1, + CloudWatchRegionMeSouth1, + CloudWatchRegionApSouth1, + CloudWatchRegionApSoutheast1, + CloudWatchRegionApSoutheast2, + CloudWatchRegionApNortheast1, + CloudWatchRegionApNortheast2, + CloudWatchRegionApNortheast3, + CloudWatchRegionEuNorth1, + CloudWatchRegionSaEast1, + CloudWatchRegionCnNorthwest1, + CloudWatchRegionCnNorth1, + CloudWatchRegionAfSouth1, + CloudWatchRegionEuSouth1, + CloudWatchRegionUsGovWest1, + CloudWatchRegionUsGovEast1, + CloudWatchRegionUsIsoEast1, + CloudWatchRegionUsIsobEast1, + } +} + const ( // ComparisonOperatorGreaterThanOrEqualToThreshold is a ComparisonOperator enum value ComparisonOperatorGreaterThanOrEqualToThreshold = "GreaterThanOrEqualToThreshold" @@ -15568,6 +15629,16 @@ const ( ComparisonOperatorLessThanOrEqualToThreshold = "LessThanOrEqualToThreshold" ) +// ComparisonOperator_Values returns all elements of the ComparisonOperator enum +func ComparisonOperator_Values() []string { + return []string{ + ComparisonOperatorGreaterThanOrEqualToThreshold, + ComparisonOperatorGreaterThanThreshold, + ComparisonOperatorLessThanThreshold, + ComparisonOperatorLessThanOrEqualToThreshold, + } +} + const ( // HealthCheckRegionUsEast1 is a HealthCheckRegion enum value HealthCheckRegionUsEast1 = "us-east-1" @@ -15594,6 +15665,20 @@ const ( HealthCheckRegionSaEast1 = "sa-east-1" ) +// HealthCheckRegion_Values returns all elements of the HealthCheckRegion enum +func HealthCheckRegion_Values() []string { + return []string{ + HealthCheckRegionUsEast1, + HealthCheckRegionUsWest1, + HealthCheckRegionUsWest2, + HealthCheckRegionEuWest1, + HealthCheckRegionApSoutheast1, + HealthCheckRegionApSoutheast2, + HealthCheckRegionApNortheast1, + HealthCheckRegionSaEast1, + } +} + const ( // HealthCheckTypeHttp is a HealthCheckType enum value HealthCheckTypeHttp = "HTTP" @@ -15617,6 +15702,19 @@ const ( HealthCheckTypeCloudwatchMetric = "CLOUDWATCH_METRIC" ) +// HealthCheckType_Values returns all elements of the HealthCheckType enum +func HealthCheckType_Values() []string { + return []string{ + HealthCheckTypeHttp, + HealthCheckTypeHttps, + HealthCheckTypeHttpStrMatch, + HealthCheckTypeHttpsStrMatch, + HealthCheckTypeTcp, + HealthCheckTypeCalculated, + HealthCheckTypeCloudwatchMetric, + } +} + const ( // HostedZoneLimitTypeMaxRrsetsByZone is a HostedZoneLimitType enum value HostedZoneLimitTypeMaxRrsetsByZone = "MAX_RRSETS_BY_ZONE" @@ -15625,6 +15723,14 @@ const ( HostedZoneLimitTypeMaxVpcsAssociatedByZone = "MAX_VPCS_ASSOCIATED_BY_ZONE" ) +// HostedZoneLimitType_Values returns all elements of the HostedZoneLimitType enum +func HostedZoneLimitType_Values() []string { + return []string{ + HostedZoneLimitTypeMaxRrsetsByZone, + HostedZoneLimitTypeMaxVpcsAssociatedByZone, + } +} + const ( // InsufficientDataHealthStatusHealthy is a InsufficientDataHealthStatus enum value InsufficientDataHealthStatusHealthy = "Healthy" @@ -15636,6 +15742,15 @@ const ( InsufficientDataHealthStatusLastKnownStatus = "LastKnownStatus" ) +// InsufficientDataHealthStatus_Values returns all elements of the InsufficientDataHealthStatus enum +func InsufficientDataHealthStatus_Values() []string { + return []string{ + InsufficientDataHealthStatusHealthy, + InsufficientDataHealthStatusUnhealthy, + InsufficientDataHealthStatusLastKnownStatus, + } +} + const ( // RRTypeSoa is a RRType enum value RRTypeSoa = "SOA" @@ -15674,6 +15789,24 @@ const ( RRTypeCaa = "CAA" ) +// RRType_Values returns all elements of the RRType enum +func RRType_Values() []string { + return []string{ + RRTypeSoa, + RRTypeA, + RRTypeTxt, + RRTypeNs, + RRTypeCname, + RRTypeMx, + RRTypeNaptr, + RRTypePtr, + RRTypeSrv, + RRTypeSpf, + RRTypeAaaa, + RRTypeCaa, + } +} + const ( // ResettableElementNameFullyQualifiedDomainName is a ResettableElementName enum value ResettableElementNameFullyQualifiedDomainName = "FullyQualifiedDomainName" @@ -15688,6 +15821,16 @@ const ( ResettableElementNameChildHealthChecks = "ChildHealthChecks" ) +// ResettableElementName_Values returns all elements of the ResettableElementName enum +func ResettableElementName_Values() []string { + return []string{ + ResettableElementNameFullyQualifiedDomainName, + ResettableElementNameRegions, + ResettableElementNameResourcePath, + ResettableElementNameChildHealthChecks, + } +} + const ( // ResourceRecordSetFailoverPrimary is a ResourceRecordSetFailover enum value ResourceRecordSetFailoverPrimary = "PRIMARY" @@ -15696,6 +15839,14 @@ const ( ResourceRecordSetFailoverSecondary = "SECONDARY" ) +// ResourceRecordSetFailover_Values returns all elements of the ResourceRecordSetFailover enum +func ResourceRecordSetFailover_Values() []string { + return []string{ + ResourceRecordSetFailoverPrimary, + ResourceRecordSetFailoverSecondary, + } +} + const ( // ResourceRecordSetRegionUsEast1 is a ResourceRecordSetRegion enum value ResourceRecordSetRegionUsEast1 = "us-east-1" @@ -15767,11 +15918,47 @@ const ( ResourceRecordSetRegionEuSouth1 = "eu-south-1" ) +// ResourceRecordSetRegion_Values returns all elements of the ResourceRecordSetRegion enum +func ResourceRecordSetRegion_Values() []string { + return []string{ + ResourceRecordSetRegionUsEast1, + ResourceRecordSetRegionUsEast2, + ResourceRecordSetRegionUsWest1, + ResourceRecordSetRegionUsWest2, + ResourceRecordSetRegionCaCentral1, + ResourceRecordSetRegionEuWest1, + ResourceRecordSetRegionEuWest2, + ResourceRecordSetRegionEuWest3, + ResourceRecordSetRegionEuCentral1, + ResourceRecordSetRegionApSoutheast1, + ResourceRecordSetRegionApSoutheast2, + ResourceRecordSetRegionApNortheast1, + ResourceRecordSetRegionApNortheast2, + ResourceRecordSetRegionApNortheast3, + ResourceRecordSetRegionEuNorth1, + ResourceRecordSetRegionSaEast1, + ResourceRecordSetRegionCnNorth1, + ResourceRecordSetRegionCnNorthwest1, + ResourceRecordSetRegionApEast1, + ResourceRecordSetRegionMeSouth1, + ResourceRecordSetRegionApSouth1, + ResourceRecordSetRegionAfSouth1, + ResourceRecordSetRegionEuSouth1, + } +} + const ( // ReusableDelegationSetLimitTypeMaxZonesByReusableDelegationSet is a ReusableDelegationSetLimitType enum value ReusableDelegationSetLimitTypeMaxZonesByReusableDelegationSet = "MAX_ZONES_BY_REUSABLE_DELEGATION_SET" ) +// ReusableDelegationSetLimitType_Values returns all elements of the ReusableDelegationSetLimitType enum +func ReusableDelegationSetLimitType_Values() []string { + return []string{ + ReusableDelegationSetLimitTypeMaxZonesByReusableDelegationSet, + } +} + const ( // StatisticAverage is a Statistic enum value StatisticAverage = "Average" @@ -15789,6 +15976,17 @@ const ( StatisticMinimum = "Minimum" ) +// Statistic_Values returns all elements of the Statistic enum +func Statistic_Values() []string { + return []string{ + StatisticAverage, + StatisticSum, + StatisticSampleCount, + StatisticMaximum, + StatisticMinimum, + } +} + const ( // TagResourceTypeHealthcheck is a TagResourceType enum value TagResourceTypeHealthcheck = "healthcheck" @@ -15797,6 +15995,14 @@ const ( TagResourceTypeHostedzone = "hostedzone" ) +// TagResourceType_Values returns all elements of the TagResourceType enum +func TagResourceType_Values() []string { + return []string{ + TagResourceTypeHealthcheck, + TagResourceTypeHostedzone, + } +} + const ( // VPCRegionUsEast1 is a VPCRegion enum value VPCRegionUsEast1 = "us-east-1" @@ -15876,3 +16082,35 @@ const ( // VPCRegionEuSouth1 is a VPCRegion enum value VPCRegionEuSouth1 = "eu-south-1" ) + +// VPCRegion_Values returns all elements of the VPCRegion enum +func VPCRegion_Values() []string { + return []string{ + VPCRegionUsEast1, + VPCRegionUsEast2, + VPCRegionUsWest1, + VPCRegionUsWest2, + VPCRegionEuWest1, + VPCRegionEuWest2, + VPCRegionEuWest3, + VPCRegionEuCentral1, + VPCRegionApEast1, + VPCRegionMeSouth1, + VPCRegionUsGovWest1, + VPCRegionUsGovEast1, + VPCRegionUsIsoEast1, + VPCRegionUsIsobEast1, + VPCRegionApSoutheast1, + VPCRegionApSoutheast2, + VPCRegionApSouth1, + VPCRegionApNortheast1, + VPCRegionApNortheast2, + VPCRegionApNortheast3, + VPCRegionEuNorth1, + VPCRegionSaEast1, + VPCRegionCaCentral1, + VPCRegionCnNorth1, + VPCRegionAfSouth1, + VPCRegionEuSouth1, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/route53domains/api.go b/vendor/github.com/aws/aws-sdk-go/service/route53domains/api.go index e3e02e0b0ce..050ae64c1e0 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/route53domains/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/route53domains/api.go @@ -6814,6 +6814,17 @@ const ( ContactTypeReseller = "RESELLER" ) +// ContactType_Values returns all elements of the ContactType enum +func ContactType_Values() []string { + return []string{ + ContactTypePerson, + ContactTypeCompany, + ContactTypeAssociation, + ContactTypePublicBody, + ContactTypeReseller, + } +} + const ( // CountryCodeAd is a CountryCode enum value CountryCodeAd = "AD" @@ -7503,6 +7514,241 @@ const ( CountryCodeZw = "ZW" ) +// CountryCode_Values returns all elements of the CountryCode enum +func CountryCode_Values() []string { + return []string{ + CountryCodeAd, + CountryCodeAe, + CountryCodeAf, + CountryCodeAg, + CountryCodeAi, + CountryCodeAl, + CountryCodeAm, + CountryCodeAn, + CountryCodeAo, + CountryCodeAq, + CountryCodeAr, + CountryCodeAs, + CountryCodeAt, + CountryCodeAu, + CountryCodeAw, + CountryCodeAz, + CountryCodeBa, + CountryCodeBb, + CountryCodeBd, + CountryCodeBe, + CountryCodeBf, + CountryCodeBg, + CountryCodeBh, + CountryCodeBi, + CountryCodeBj, + CountryCodeBl, + CountryCodeBm, + CountryCodeBn, + CountryCodeBo, + CountryCodeBr, + CountryCodeBs, + CountryCodeBt, + CountryCodeBw, + CountryCodeBy, + CountryCodeBz, + CountryCodeCa, + CountryCodeCc, + CountryCodeCd, + CountryCodeCf, + CountryCodeCg, + CountryCodeCh, + CountryCodeCi, + CountryCodeCk, + CountryCodeCl, + CountryCodeCm, + CountryCodeCn, + CountryCodeCo, + CountryCodeCr, + CountryCodeCu, + CountryCodeCv, + CountryCodeCx, + CountryCodeCy, + CountryCodeCz, + CountryCodeDe, + CountryCodeDj, + CountryCodeDk, + CountryCodeDm, + CountryCodeDo, + CountryCodeDz, + CountryCodeEc, + CountryCodeEe, + CountryCodeEg, + CountryCodeEr, + CountryCodeEs, + CountryCodeEt, + CountryCodeFi, + CountryCodeFj, + CountryCodeFk, + CountryCodeFm, + CountryCodeFo, + CountryCodeFr, + CountryCodeGa, + CountryCodeGb, + CountryCodeGd, + CountryCodeGe, + CountryCodeGh, + CountryCodeGi, + CountryCodeGl, + CountryCodeGm, + CountryCodeGn, + CountryCodeGq, + CountryCodeGr, + CountryCodeGt, + CountryCodeGu, + CountryCodeGw, + CountryCodeGy, + CountryCodeHk, + CountryCodeHn, + CountryCodeHr, + CountryCodeHt, + CountryCodeHu, + CountryCodeId, + CountryCodeIe, + CountryCodeIl, + CountryCodeIm, + CountryCodeIn, + CountryCodeIq, + CountryCodeIr, + CountryCodeIs, + CountryCodeIt, + CountryCodeJm, + CountryCodeJo, + CountryCodeJp, + CountryCodeKe, + CountryCodeKg, + CountryCodeKh, + CountryCodeKi, + CountryCodeKm, + CountryCodeKn, + CountryCodeKp, + CountryCodeKr, + CountryCodeKw, + CountryCodeKy, + CountryCodeKz, + CountryCodeLa, + CountryCodeLb, + CountryCodeLc, + CountryCodeLi, + CountryCodeLk, + CountryCodeLr, + CountryCodeLs, + CountryCodeLt, + CountryCodeLu, + CountryCodeLv, + CountryCodeLy, + CountryCodeMa, + CountryCodeMc, + CountryCodeMd, + CountryCodeMe, + CountryCodeMf, + CountryCodeMg, + CountryCodeMh, + CountryCodeMk, + CountryCodeMl, + CountryCodeMm, + CountryCodeMn, + CountryCodeMo, + CountryCodeMp, + CountryCodeMr, + CountryCodeMs, + CountryCodeMt, + CountryCodeMu, + CountryCodeMv, + CountryCodeMw, + CountryCodeMx, + CountryCodeMy, + CountryCodeMz, + CountryCodeNa, + CountryCodeNc, + CountryCodeNe, + CountryCodeNg, + CountryCodeNi, + CountryCodeNl, + CountryCodeNo, + CountryCodeNp, + CountryCodeNr, + CountryCodeNu, + CountryCodeNz, + CountryCodeOm, + CountryCodePa, + CountryCodePe, + CountryCodePf, + CountryCodePg, + CountryCodePh, + CountryCodePk, + CountryCodePl, + CountryCodePm, + CountryCodePn, + CountryCodePr, + CountryCodePt, + CountryCodePw, + CountryCodePy, + CountryCodeQa, + CountryCodeRo, + CountryCodeRs, + CountryCodeRu, + CountryCodeRw, + CountryCodeSa, + CountryCodeSb, + CountryCodeSc, + CountryCodeSd, + CountryCodeSe, + CountryCodeSg, + CountryCodeSh, + CountryCodeSi, + CountryCodeSk, + CountryCodeSl, + CountryCodeSm, + CountryCodeSn, + CountryCodeSo, + CountryCodeSr, + CountryCodeSt, + CountryCodeSv, + CountryCodeSy, + CountryCodeSz, + CountryCodeTc, + CountryCodeTd, + CountryCodeTg, + CountryCodeTh, + CountryCodeTj, + CountryCodeTk, + CountryCodeTl, + CountryCodeTm, + CountryCodeTn, + CountryCodeTo, + CountryCodeTr, + CountryCodeTt, + CountryCodeTv, + CountryCodeTw, + CountryCodeTz, + CountryCodeUa, + CountryCodeUg, + CountryCodeUs, + CountryCodeUy, + CountryCodeUz, + CountryCodeVa, + CountryCodeVc, + CountryCodeVe, + CountryCodeVg, + CountryCodeVi, + CountryCodeVn, + CountryCodeVu, + CountryCodeWf, + CountryCodeWs, + CountryCodeYe, + CountryCodeYt, + CountryCodeZa, + CountryCodeZm, + CountryCodeZw, + } +} + const ( // DomainAvailabilityAvailable is a DomainAvailability enum value DomainAvailabilityAvailable = "AVAILABLE" @@ -7529,6 +7775,20 @@ const ( DomainAvailabilityDontKnow = "DONT_KNOW" ) +// DomainAvailability_Values returns all elements of the DomainAvailability enum +func DomainAvailability_Values() []string { + return []string{ + DomainAvailabilityAvailable, + DomainAvailabilityAvailableReserved, + DomainAvailabilityAvailablePreorder, + DomainAvailabilityUnavailable, + DomainAvailabilityUnavailablePremium, + DomainAvailabilityUnavailableRestricted, + DomainAvailabilityReserved, + DomainAvailabilityDontKnow, + } +} + const ( // ExtraParamNameDunsNumber is a ExtraParamName enum value ExtraParamNameDunsNumber = "DUNS_NUMBER" @@ -7618,6 +7878,41 @@ const ( ExtraParamNameUkCompanyNumber = "UK_COMPANY_NUMBER" ) +// ExtraParamName_Values returns all elements of the ExtraParamName enum +func ExtraParamName_Values() []string { + return []string{ + ExtraParamNameDunsNumber, + ExtraParamNameBrandNumber, + ExtraParamNameBirthDepartment, + ExtraParamNameBirthDateInYyyyMmDd, + ExtraParamNameBirthCountry, + ExtraParamNameBirthCity, + ExtraParamNameDocumentNumber, + ExtraParamNameAuIdNumber, + ExtraParamNameAuIdType, + ExtraParamNameCaLegalType, + ExtraParamNameCaBusinessEntityType, + ExtraParamNameCaLegalRepresentative, + ExtraParamNameCaLegalRepresentativeCapacity, + ExtraParamNameEsIdentification, + ExtraParamNameEsIdentificationType, + ExtraParamNameEsLegalForm, + ExtraParamNameFiBusinessNumber, + ExtraParamNameFiIdNumber, + ExtraParamNameFiNationality, + ExtraParamNameFiOrganizationType, + ExtraParamNameItNationality, + ExtraParamNameItPin, + ExtraParamNameItRegistrantEntityType, + ExtraParamNameRuPassportData, + ExtraParamNameSeIdNumber, + ExtraParamNameSgIdNumber, + ExtraParamNameVatNumber, + ExtraParamNameUkContactType, + ExtraParamNameUkCompanyNumber, + } +} + const ( // OperationStatusSubmitted is a OperationStatus enum value OperationStatusSubmitted = "SUBMITTED" @@ -7635,6 +7930,17 @@ const ( OperationStatusFailed = "FAILED" ) +// OperationStatus_Values returns all elements of the OperationStatus enum +func OperationStatus_Values() []string { + return []string{ + OperationStatusSubmitted, + OperationStatusInProgress, + OperationStatusError, + OperationStatusSuccessful, + OperationStatusFailed, + } +} + const ( // OperationTypeRegisterDomain is a OperationType enum value OperationTypeRegisterDomain = "REGISTER_DOMAIN" @@ -7691,6 +7997,30 @@ const ( OperationTypeInternalTransferInDomain = "INTERNAL_TRANSFER_IN_DOMAIN" ) +// OperationType_Values returns all elements of the OperationType enum +func OperationType_Values() []string { + return []string{ + OperationTypeRegisterDomain, + OperationTypeDeleteDomain, + OperationTypeTransferInDomain, + OperationTypeUpdateDomainContact, + OperationTypeUpdateNameserver, + OperationTypeChangePrivacyProtection, + OperationTypeDomainLock, + OperationTypeEnableAutorenew, + OperationTypeDisableAutorenew, + OperationTypeAddDnssec, + OperationTypeRemoveDnssec, + OperationTypeExpireDomain, + OperationTypeTransferOutDomain, + OperationTypeChangeDomainOwner, + OperationTypeRenewDomain, + OperationTypePushDomain, + OperationTypeInternalTransferOutDomain, + OperationTypeInternalTransferInDomain, + } +} + const ( // ReachabilityStatusPending is a ReachabilityStatus enum value ReachabilityStatusPending = "PENDING" @@ -7702,6 +8032,15 @@ const ( ReachabilityStatusExpired = "EXPIRED" ) +// ReachabilityStatus_Values returns all elements of the ReachabilityStatus enum +func ReachabilityStatus_Values() []string { + return []string{ + ReachabilityStatusPending, + ReachabilityStatusDone, + ReachabilityStatusExpired, + } +} + // Whether the domain name can be transferred to Route 53. // // You can transfer only domains that have a value of TRANSFERABLE for Transferable. @@ -7729,3 +8068,12 @@ const ( // TransferableDontKnow is a Transferable enum value TransferableDontKnow = "DONT_KNOW" ) + +// Transferable_Values returns all elements of the Transferable enum +func Transferable_Values() []string { + return []string{ + TransferableTransferable, + TransferableUntransferable, + TransferableDontKnow, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/route53resolver/api.go b/vendor/github.com/aws/aws-sdk-go/service/route53resolver/api.go index d2c81e00493..38c84034310 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/route53resolver/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/route53resolver/api.go @@ -5880,6 +5880,22 @@ const ( IpAddressStatusDeleteFailedFasExpired = "DELETE_FAILED_FAS_EXPIRED" ) +// IpAddressStatus_Values returns all elements of the IpAddressStatus enum +func IpAddressStatus_Values() []string { + return []string{ + IpAddressStatusCreating, + IpAddressStatusFailedCreation, + IpAddressStatusAttaching, + IpAddressStatusAttached, + IpAddressStatusRemapDetaching, + IpAddressStatusRemapAttaching, + IpAddressStatusDetaching, + IpAddressStatusFailedResourceGone, + IpAddressStatusDeleting, + IpAddressStatusDeleteFailedFasExpired, + } +} + const ( // ResolverEndpointDirectionInbound is a ResolverEndpointDirection enum value ResolverEndpointDirectionInbound = "INBOUND" @@ -5888,6 +5904,14 @@ const ( ResolverEndpointDirectionOutbound = "OUTBOUND" ) +// ResolverEndpointDirection_Values returns all elements of the ResolverEndpointDirection enum +func ResolverEndpointDirection_Values() []string { + return []string{ + ResolverEndpointDirectionInbound, + ResolverEndpointDirectionOutbound, + } +} + const ( // ResolverEndpointStatusCreating is a ResolverEndpointStatus enum value ResolverEndpointStatusCreating = "CREATING" @@ -5908,6 +5932,18 @@ const ( ResolverEndpointStatusDeleting = "DELETING" ) +// ResolverEndpointStatus_Values returns all elements of the ResolverEndpointStatus enum +func ResolverEndpointStatus_Values() []string { + return []string{ + ResolverEndpointStatusCreating, + ResolverEndpointStatusOperational, + ResolverEndpointStatusUpdating, + ResolverEndpointStatusAutoRecovering, + ResolverEndpointStatusActionNeeded, + ResolverEndpointStatusDeleting, + } +} + const ( // ResolverRuleAssociationStatusCreating is a ResolverRuleAssociationStatus enum value ResolverRuleAssociationStatusCreating = "CREATING" @@ -5925,6 +5961,17 @@ const ( ResolverRuleAssociationStatusOverridden = "OVERRIDDEN" ) +// ResolverRuleAssociationStatus_Values returns all elements of the ResolverRuleAssociationStatus enum +func ResolverRuleAssociationStatus_Values() []string { + return []string{ + ResolverRuleAssociationStatusCreating, + ResolverRuleAssociationStatusComplete, + ResolverRuleAssociationStatusDeleting, + ResolverRuleAssociationStatusFailed, + ResolverRuleAssociationStatusOverridden, + } +} + const ( // ResolverRuleStatusComplete is a ResolverRuleStatus enum value ResolverRuleStatusComplete = "COMPLETE" @@ -5939,6 +5986,16 @@ const ( ResolverRuleStatusFailed = "FAILED" ) +// ResolverRuleStatus_Values returns all elements of the ResolverRuleStatus enum +func ResolverRuleStatus_Values() []string { + return []string{ + ResolverRuleStatusComplete, + ResolverRuleStatusDeleting, + ResolverRuleStatusUpdating, + ResolverRuleStatusFailed, + } +} + const ( // RuleTypeOptionForward is a RuleTypeOption enum value RuleTypeOptionForward = "FORWARD" @@ -5950,6 +6007,15 @@ const ( RuleTypeOptionRecursive = "RECURSIVE" ) +// RuleTypeOption_Values returns all elements of the RuleTypeOption enum +func RuleTypeOption_Values() []string { + return []string{ + RuleTypeOptionForward, + RuleTypeOptionSystem, + RuleTypeOptionRecursive, + } +} + const ( // ShareStatusNotShared is a ShareStatus enum value ShareStatusNotShared = "NOT_SHARED" @@ -5960,3 +6026,12 @@ const ( // ShareStatusSharedByMe is a ShareStatus enum value ShareStatusSharedByMe = "SHARED_BY_ME" ) + +// ShareStatus_Values returns all elements of the ShareStatus enum +func ShareStatus_Values() []string { + return []string{ + ShareStatusNotShared, + ShareStatusSharedWithMe, + ShareStatusSharedByMe, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/s3/api.go b/vendor/github.com/aws/aws-sdk-go/service/s3/api.go index 82defe7f2cf..8b14d6f7b63 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/s3/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/s3/api.go @@ -200,7 +200,7 @@ func (c *S3) CompleteMultipartUploadRequest(input *CompleteMultipartUploadInput) // For information about permissions required to use the multipart upload API, // see Multipart Upload API and Permissions (https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuAndPermissions.html). // -// GetBucketLifecycle has the following special errors: +// CompleteMultipartUpload has the following special errors: // // * Error code: EntityTooSmall Description: Your proposed upload is smaller // than the minimum allowed object size. Each part must be at least 5 MB @@ -7883,6 +7883,13 @@ func (c *S3) PutBucketReplicationRequest(input *PutBucketReplicationInput) (req // When you add the Filter element in the configuration, you must also add the // following elements: DeleteMarkerReplication, Status, and Priority. // +// The latest version of the replication configuration XML is V2. XML V2 replication +// configurations are those that contain the Filter element for rules, and rules +// that specify S3 Replication Time Control (S3 RTC). In XML V2 replication +// configurations, Amazon S3 doesn't replicate delete markers. Therefore, you +// must set the DeleteMarkerReplication element to Disabled. For backward compatibility, +// Amazon S3 continues to support the XML V1 replication configuration. +// // For information about enabling versioning on a bucket, see Using Versioning // (https://docs.aws.amazon.com/AmazonS3/latest/dev/Versioning.html). // @@ -9474,7 +9481,7 @@ func (c *S3) SelectObjectContentRequest(input *SelectObjectContentInput) (req *r output = &SelectObjectContentOutput{} req = c.newRequest(op, input, output) - es := newSelectObjectContentEventStream() + es := NewSelectObjectContentEventStream() req.Handlers.Unmarshal.PushBack(es.setStreamCloser) output.EventStream = es @@ -9602,6 +9609,10 @@ func (c *S3) SelectObjectContentWithContext(ctx aws.Context, input *SelectObject var _ awserr.Error // SelectObjectContentEventStream provides the event stream handling for the SelectObjectContent. +// +// For testing and mocking the event stream this type should be initialized via +// the NewSelectObjectContentEventStream constructor function. Using the functional options +// to pass in nested mock behavior. type SelectObjectContentEventStream struct { // Reader is the EventStream reader for the SelectObjectContentEventStream @@ -9624,11 +9635,31 @@ type SelectObjectContentEventStream struct { err *eventstreamapi.OnceError } -func newSelectObjectContentEventStream() *SelectObjectContentEventStream { - return &SelectObjectContentEventStream{ +// NewSelectObjectContentEventStream initializes an SelectObjectContentEventStream. +// This function should only be used for testing and mocking the SelectObjectContentEventStream +// stream within your application. +// +// The Reader member must be set before reading events from the stream. +// +// The StreamCloser member should be set to the underlying io.Closer, +// (e.g. http.Response.Body), that will be closed when the stream Close method +// is called. +// +// es := NewSelectObjectContentEventStream(func(o *SelectObjectContentEventStream{ +// es.Reader = myMockStreamReader +// es.StreamCloser = myMockStreamCloser +// }) +func NewSelectObjectContentEventStream(opts ...func(*SelectObjectContentEventStream)) *SelectObjectContentEventStream { + es := &SelectObjectContentEventStream{ done: make(chan struct{}), err: eventstreamapi.NewOnceError(), } + + for _, fn := range opts { + fn(es) + } + + return es } func (es *SelectObjectContentEventStream) setStreamCloser(r *request.Request) { @@ -14118,7 +14149,7 @@ type DeleteObjectTaggingInput struct { // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` - // Name of the tag. + // Name of the object key. // // Key is a required field Key *string `location:"uri" locationName:"Key" min:"1" type:"string" required:"true"` @@ -21474,7 +21505,7 @@ type ListObjectsOutput struct { // is true), you can use the key name in this field as marker in the subsequent // request to get next set of objects. Amazon S3 lists objects in alphabetical // order Note: This element is returned only if you have delimiter request parameter - // specified. If response does not include the NextMaker and it is truncated, + // specified. If response does not include the NextMarker and it is truncated, // you can use the value of the last Key in the response as the marker in the // subsequent request to get the next set of object keys. NextMarker *string `type:"string"` @@ -22954,8 +22985,22 @@ func (s *NotificationConfigurationFilter) SetKey(v *KeyFilter) *NotificationConf type Object struct { _ struct{} `type:"structure"` - // The entity tag is an MD5 hash of the object. ETag reflects only changes to - // the contents of an object, not its metadata. + // 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 + // MD5 digest of the object data. Whether or not it is depends on how the object + // was created and how it is encrypted as described below: + // + // * Objects created by the PUT Object, POST Object, or Copy operation, or + // through the AWS Management Console, and are encrypted by SSE-S3 or plaintext, + // have ETags that are an MD5 digest of their object data. + // + // * Objects created by the PUT Object, POST Object, or Copy operation, or + // through the AWS Management Console, and are encrypted by SSE-C or SSE-KMS, + // have ETags that are not an MD5 digest of their object data. + // + // * If an object is created by either the Multipart Upload or Part Copy + // operation, the ETag is not an MD5 digest, regardless of the method of + // encryption. ETag *string `type:"string"` // The name that you assign to an object. You use the object key to retrieve @@ -26602,7 +26647,7 @@ type PutObjectTaggingInput struct { // Bucket is a required field Bucket *string `location:"uri" locationName:"Bucket" type:"string" required:"true"` - // Name of the tag. + // Name of the object key. // // Key is a required field Key *string `location:"uri" locationName:"Key" min:"1" type:"string" required:"true"` @@ -29123,7 +29168,7 @@ func (s *StorageClassAnalysisDataExport) SetOutputSchemaVersion(v string) *Stora type Tag struct { _ struct{} `type:"structure"` - // Name of the tag. + // Name of the object key. // // Key is a required field Key *string `min:"1" type:"string" required:"true"` @@ -30207,6 +30252,13 @@ const ( AnalyticsS3ExportFileFormatCsv = "CSV" ) +// AnalyticsS3ExportFileFormat_Values returns all elements of the AnalyticsS3ExportFileFormat enum +func AnalyticsS3ExportFileFormat_Values() []string { + return []string{ + AnalyticsS3ExportFileFormatCsv, + } +} + const ( // BucketAccelerateStatusEnabled is a BucketAccelerateStatus enum value BucketAccelerateStatusEnabled = "Enabled" @@ -30215,6 +30267,14 @@ const ( BucketAccelerateStatusSuspended = "Suspended" ) +// BucketAccelerateStatus_Values returns all elements of the BucketAccelerateStatus enum +func BucketAccelerateStatus_Values() []string { + return []string{ + BucketAccelerateStatusEnabled, + BucketAccelerateStatusSuspended, + } +} + const ( // BucketCannedACLPrivate is a BucketCannedACL enum value BucketCannedACLPrivate = "private" @@ -30229,18 +30289,31 @@ const ( BucketCannedACLAuthenticatedRead = "authenticated-read" ) +// BucketCannedACL_Values returns all elements of the BucketCannedACL enum +func BucketCannedACL_Values() []string { + return []string{ + BucketCannedACLPrivate, + BucketCannedACLPublicRead, + BucketCannedACLPublicReadWrite, + BucketCannedACLAuthenticatedRead, + } +} + const ( - // BucketLocationConstraintEu is a BucketLocationConstraint enum value - BucketLocationConstraintEu = "EU" + // BucketLocationConstraintAfSouth1 is a BucketLocationConstraint enum value + BucketLocationConstraintAfSouth1 = "af-south-1" - // BucketLocationConstraintEuWest1 is a BucketLocationConstraint enum value - BucketLocationConstraintEuWest1 = "eu-west-1" + // BucketLocationConstraintApEast1 is a BucketLocationConstraint enum value + BucketLocationConstraintApEast1 = "ap-east-1" - // BucketLocationConstraintUsWest1 is a BucketLocationConstraint enum value - BucketLocationConstraintUsWest1 = "us-west-1" + // BucketLocationConstraintApNortheast1 is a BucketLocationConstraint enum value + BucketLocationConstraintApNortheast1 = "ap-northeast-1" - // BucketLocationConstraintUsWest2 is a BucketLocationConstraint enum value - BucketLocationConstraintUsWest2 = "us-west-2" + // BucketLocationConstraintApNortheast2 is a BucketLocationConstraint enum value + BucketLocationConstraintApNortheast2 = "ap-northeast-2" + + // BucketLocationConstraintApNortheast3 is a BucketLocationConstraint enum value + BucketLocationConstraintApNortheast3 = "ap-northeast-3" // BucketLocationConstraintApSouth1 is a BucketLocationConstraint enum value BucketLocationConstraintApSouth1 = "ap-south-1" @@ -30251,19 +30324,89 @@ const ( // BucketLocationConstraintApSoutheast2 is a BucketLocationConstraint enum value BucketLocationConstraintApSoutheast2 = "ap-southeast-2" - // BucketLocationConstraintApNortheast1 is a BucketLocationConstraint enum value - BucketLocationConstraintApNortheast1 = "ap-northeast-1" - - // BucketLocationConstraintSaEast1 is a BucketLocationConstraint enum value - BucketLocationConstraintSaEast1 = "sa-east-1" + // BucketLocationConstraintCaCentral1 is a BucketLocationConstraint enum value + BucketLocationConstraintCaCentral1 = "ca-central-1" // BucketLocationConstraintCnNorth1 is a BucketLocationConstraint enum value BucketLocationConstraintCnNorth1 = "cn-north-1" + // BucketLocationConstraintCnNorthwest1 is a BucketLocationConstraint enum value + BucketLocationConstraintCnNorthwest1 = "cn-northwest-1" + + // BucketLocationConstraintEu is a BucketLocationConstraint enum value + BucketLocationConstraintEu = "EU" + // BucketLocationConstraintEuCentral1 is a BucketLocationConstraint enum value BucketLocationConstraintEuCentral1 = "eu-central-1" + + // BucketLocationConstraintEuNorth1 is a BucketLocationConstraint enum value + BucketLocationConstraintEuNorth1 = "eu-north-1" + + // BucketLocationConstraintEuSouth1 is a BucketLocationConstraint enum value + BucketLocationConstraintEuSouth1 = "eu-south-1" + + // BucketLocationConstraintEuWest1 is a BucketLocationConstraint enum value + BucketLocationConstraintEuWest1 = "eu-west-1" + + // BucketLocationConstraintEuWest2 is a BucketLocationConstraint enum value + BucketLocationConstraintEuWest2 = "eu-west-2" + + // BucketLocationConstraintEuWest3 is a BucketLocationConstraint enum value + BucketLocationConstraintEuWest3 = "eu-west-3" + + // BucketLocationConstraintMeSouth1 is a BucketLocationConstraint enum value + BucketLocationConstraintMeSouth1 = "me-south-1" + + // BucketLocationConstraintSaEast1 is a BucketLocationConstraint enum value + BucketLocationConstraintSaEast1 = "sa-east-1" + + // BucketLocationConstraintUsEast2 is a BucketLocationConstraint enum value + BucketLocationConstraintUsEast2 = "us-east-2" + + // BucketLocationConstraintUsGovEast1 is a BucketLocationConstraint enum value + BucketLocationConstraintUsGovEast1 = "us-gov-east-1" + + // BucketLocationConstraintUsGovWest1 is a BucketLocationConstraint enum value + BucketLocationConstraintUsGovWest1 = "us-gov-west-1" + + // BucketLocationConstraintUsWest1 is a BucketLocationConstraint enum value + BucketLocationConstraintUsWest1 = "us-west-1" + + // BucketLocationConstraintUsWest2 is a BucketLocationConstraint enum value + BucketLocationConstraintUsWest2 = "us-west-2" ) +// BucketLocationConstraint_Values returns all elements of the BucketLocationConstraint enum +func BucketLocationConstraint_Values() []string { + return []string{ + BucketLocationConstraintAfSouth1, + BucketLocationConstraintApEast1, + BucketLocationConstraintApNortheast1, + BucketLocationConstraintApNortheast2, + BucketLocationConstraintApNortheast3, + BucketLocationConstraintApSouth1, + BucketLocationConstraintApSoutheast1, + BucketLocationConstraintApSoutheast2, + BucketLocationConstraintCaCentral1, + BucketLocationConstraintCnNorth1, + BucketLocationConstraintCnNorthwest1, + BucketLocationConstraintEu, + BucketLocationConstraintEuCentral1, + BucketLocationConstraintEuNorth1, + BucketLocationConstraintEuSouth1, + BucketLocationConstraintEuWest1, + BucketLocationConstraintEuWest2, + BucketLocationConstraintEuWest3, + BucketLocationConstraintMeSouth1, + BucketLocationConstraintSaEast1, + BucketLocationConstraintUsEast2, + BucketLocationConstraintUsGovEast1, + BucketLocationConstraintUsGovWest1, + BucketLocationConstraintUsWest1, + BucketLocationConstraintUsWest2, + } +} + const ( // BucketLogsPermissionFullControl is a BucketLogsPermission enum value BucketLogsPermissionFullControl = "FULL_CONTROL" @@ -30275,6 +30418,15 @@ const ( BucketLogsPermissionWrite = "WRITE" ) +// BucketLogsPermission_Values returns all elements of the BucketLogsPermission enum +func BucketLogsPermission_Values() []string { + return []string{ + BucketLogsPermissionFullControl, + BucketLogsPermissionRead, + BucketLogsPermissionWrite, + } +} + const ( // BucketVersioningStatusEnabled is a BucketVersioningStatus enum value BucketVersioningStatusEnabled = "Enabled" @@ -30283,6 +30435,14 @@ const ( BucketVersioningStatusSuspended = "Suspended" ) +// BucketVersioningStatus_Values returns all elements of the BucketVersioningStatus enum +func BucketVersioningStatus_Values() []string { + return []string{ + BucketVersioningStatusEnabled, + BucketVersioningStatusSuspended, + } +} + const ( // CompressionTypeNone is a CompressionType enum value CompressionTypeNone = "NONE" @@ -30294,6 +30454,15 @@ const ( CompressionTypeBzip2 = "BZIP2" ) +// CompressionType_Values returns all elements of the CompressionType enum +func CompressionType_Values() []string { + return []string{ + CompressionTypeNone, + CompressionTypeGzip, + CompressionTypeBzip2, + } +} + const ( // DeleteMarkerReplicationStatusEnabled is a DeleteMarkerReplicationStatus enum value DeleteMarkerReplicationStatusEnabled = "Enabled" @@ -30302,6 +30471,14 @@ const ( DeleteMarkerReplicationStatusDisabled = "Disabled" ) +// DeleteMarkerReplicationStatus_Values returns all elements of the DeleteMarkerReplicationStatus enum +func DeleteMarkerReplicationStatus_Values() []string { + return []string{ + DeleteMarkerReplicationStatusEnabled, + DeleteMarkerReplicationStatusDisabled, + } +} + // Requests Amazon S3 to encode the object keys in the response and specifies // the encoding method to use. An object key may contain any Unicode character; // however, XML 1.0 parser cannot parse some characters, such as characters @@ -30313,6 +30490,13 @@ const ( EncodingTypeUrl = "url" ) +// EncodingType_Values returns all elements of the EncodingType enum +func EncodingType_Values() []string { + return []string{ + EncodingTypeUrl, + } +} + // The bucket event for which to send notifications. const ( // EventS3ReducedRedundancyLostObject is a Event enum value @@ -30367,6 +30551,29 @@ const ( EventS3ReplicationOperationReplicatedAfterThreshold = "s3:Replication:OperationReplicatedAfterThreshold" ) +// Event_Values returns all elements of the Event enum +func Event_Values() []string { + return []string{ + EventS3ReducedRedundancyLostObject, + EventS3ObjectCreated, + EventS3ObjectCreatedPut, + EventS3ObjectCreatedPost, + EventS3ObjectCreatedCopy, + EventS3ObjectCreatedCompleteMultipartUpload, + EventS3ObjectRemoved, + EventS3ObjectRemovedDelete, + EventS3ObjectRemovedDeleteMarkerCreated, + EventS3ObjectRestore, + EventS3ObjectRestorePost, + EventS3ObjectRestoreCompleted, + EventS3Replication, + EventS3ReplicationOperationFailedReplication, + EventS3ReplicationOperationNotTracked, + EventS3ReplicationOperationMissedThreshold, + EventS3ReplicationOperationReplicatedAfterThreshold, + } +} + const ( // ExistingObjectReplicationStatusEnabled is a ExistingObjectReplicationStatus enum value ExistingObjectReplicationStatusEnabled = "Enabled" @@ -30375,6 +30582,14 @@ const ( ExistingObjectReplicationStatusDisabled = "Disabled" ) +// ExistingObjectReplicationStatus_Values returns all elements of the ExistingObjectReplicationStatus enum +func ExistingObjectReplicationStatus_Values() []string { + return []string{ + ExistingObjectReplicationStatusEnabled, + ExistingObjectReplicationStatusDisabled, + } +} + const ( // ExpirationStatusEnabled is a ExpirationStatus enum value ExpirationStatusEnabled = "Enabled" @@ -30383,11 +30598,26 @@ const ( ExpirationStatusDisabled = "Disabled" ) +// ExpirationStatus_Values returns all elements of the ExpirationStatus enum +func ExpirationStatus_Values() []string { + return []string{ + ExpirationStatusEnabled, + ExpirationStatusDisabled, + } +} + const ( // ExpressionTypeSql is a ExpressionType enum value ExpressionTypeSql = "SQL" ) +// ExpressionType_Values returns all elements of the ExpressionType enum +func ExpressionType_Values() []string { + return []string{ + ExpressionTypeSql, + } +} + const ( // FileHeaderInfoUse is a FileHeaderInfo enum value FileHeaderInfoUse = "USE" @@ -30399,6 +30629,15 @@ const ( FileHeaderInfoNone = "NONE" ) +// FileHeaderInfo_Values returns all elements of the FileHeaderInfo enum +func FileHeaderInfo_Values() []string { + return []string{ + FileHeaderInfoUse, + FileHeaderInfoIgnore, + FileHeaderInfoNone, + } +} + const ( // FilterRuleNamePrefix is a FilterRuleName enum value FilterRuleNamePrefix = "prefix" @@ -30407,6 +30646,14 @@ const ( FilterRuleNameSuffix = "suffix" ) +// FilterRuleName_Values returns all elements of the FilterRuleName enum +func FilterRuleName_Values() []string { + return []string{ + FilterRuleNamePrefix, + FilterRuleNameSuffix, + } +} + const ( // InventoryFormatCsv is a InventoryFormat enum value InventoryFormatCsv = "CSV" @@ -30418,6 +30665,15 @@ const ( InventoryFormatParquet = "Parquet" ) +// InventoryFormat_Values returns all elements of the InventoryFormat enum +func InventoryFormat_Values() []string { + return []string{ + InventoryFormatCsv, + InventoryFormatOrc, + InventoryFormatParquet, + } +} + const ( // InventoryFrequencyDaily is a InventoryFrequency enum value InventoryFrequencyDaily = "Daily" @@ -30426,6 +30682,14 @@ const ( InventoryFrequencyWeekly = "Weekly" ) +// InventoryFrequency_Values returns all elements of the InventoryFrequency enum +func InventoryFrequency_Values() []string { + return []string{ + InventoryFrequencyDaily, + InventoryFrequencyWeekly, + } +} + const ( // InventoryIncludedObjectVersionsAll is a InventoryIncludedObjectVersions enum value InventoryIncludedObjectVersionsAll = "All" @@ -30434,6 +30698,14 @@ const ( InventoryIncludedObjectVersionsCurrent = "Current" ) +// InventoryIncludedObjectVersions_Values returns all elements of the InventoryIncludedObjectVersions enum +func InventoryIncludedObjectVersions_Values() []string { + return []string{ + InventoryIncludedObjectVersionsAll, + InventoryIncludedObjectVersionsCurrent, + } +} + const ( // InventoryOptionalFieldSize is a InventoryOptionalField enum value InventoryOptionalFieldSize = "Size" @@ -30469,6 +30741,23 @@ const ( InventoryOptionalFieldIntelligentTieringAccessTier = "IntelligentTieringAccessTier" ) +// InventoryOptionalField_Values returns all elements of the InventoryOptionalField enum +func InventoryOptionalField_Values() []string { + return []string{ + InventoryOptionalFieldSize, + InventoryOptionalFieldLastModifiedDate, + InventoryOptionalFieldStorageClass, + InventoryOptionalFieldEtag, + InventoryOptionalFieldIsMultipartUploaded, + InventoryOptionalFieldReplicationStatus, + InventoryOptionalFieldEncryptionStatus, + InventoryOptionalFieldObjectLockRetainUntilDate, + InventoryOptionalFieldObjectLockMode, + InventoryOptionalFieldObjectLockLegalHoldStatus, + InventoryOptionalFieldIntelligentTieringAccessTier, + } +} + const ( // JSONTypeDocument is a JSONType enum value JSONTypeDocument = "DOCUMENT" @@ -30477,6 +30766,14 @@ const ( JSONTypeLines = "LINES" ) +// JSONType_Values returns all elements of the JSONType enum +func JSONType_Values() []string { + return []string{ + JSONTypeDocument, + JSONTypeLines, + } +} + const ( // MFADeleteEnabled is a MFADelete enum value MFADeleteEnabled = "Enabled" @@ -30485,6 +30782,14 @@ const ( MFADeleteDisabled = "Disabled" ) +// MFADelete_Values returns all elements of the MFADelete enum +func MFADelete_Values() []string { + return []string{ + MFADeleteEnabled, + MFADeleteDisabled, + } +} + const ( // MFADeleteStatusEnabled is a MFADeleteStatus enum value MFADeleteStatusEnabled = "Enabled" @@ -30493,6 +30798,14 @@ const ( MFADeleteStatusDisabled = "Disabled" ) +// MFADeleteStatus_Values returns all elements of the MFADeleteStatus enum +func MFADeleteStatus_Values() []string { + return []string{ + MFADeleteStatusEnabled, + MFADeleteStatusDisabled, + } +} + const ( // MetadataDirectiveCopy is a MetadataDirective enum value MetadataDirectiveCopy = "COPY" @@ -30501,6 +30814,14 @@ const ( MetadataDirectiveReplace = "REPLACE" ) +// MetadataDirective_Values returns all elements of the MetadataDirective enum +func MetadataDirective_Values() []string { + return []string{ + MetadataDirectiveCopy, + MetadataDirectiveReplace, + } +} + const ( // MetricsStatusEnabled is a MetricsStatus enum value MetricsStatusEnabled = "Enabled" @@ -30509,6 +30830,14 @@ const ( MetricsStatusDisabled = "Disabled" ) +// MetricsStatus_Values returns all elements of the MetricsStatus enum +func MetricsStatus_Values() []string { + return []string{ + MetricsStatusEnabled, + MetricsStatusDisabled, + } +} + const ( // ObjectCannedACLPrivate is a ObjectCannedACL enum value ObjectCannedACLPrivate = "private" @@ -30532,11 +30861,31 @@ const ( ObjectCannedACLBucketOwnerFullControl = "bucket-owner-full-control" ) +// ObjectCannedACL_Values returns all elements of the ObjectCannedACL enum +func ObjectCannedACL_Values() []string { + return []string{ + ObjectCannedACLPrivate, + ObjectCannedACLPublicRead, + ObjectCannedACLPublicReadWrite, + ObjectCannedACLAuthenticatedRead, + ObjectCannedACLAwsExecRead, + ObjectCannedACLBucketOwnerRead, + ObjectCannedACLBucketOwnerFullControl, + } +} + const ( // ObjectLockEnabledEnabled is a ObjectLockEnabled enum value ObjectLockEnabledEnabled = "Enabled" ) +// ObjectLockEnabled_Values returns all elements of the ObjectLockEnabled enum +func ObjectLockEnabled_Values() []string { + return []string{ + ObjectLockEnabledEnabled, + } +} + const ( // ObjectLockLegalHoldStatusOn is a ObjectLockLegalHoldStatus enum value ObjectLockLegalHoldStatusOn = "ON" @@ -30545,6 +30894,14 @@ const ( ObjectLockLegalHoldStatusOff = "OFF" ) +// ObjectLockLegalHoldStatus_Values returns all elements of the ObjectLockLegalHoldStatus enum +func ObjectLockLegalHoldStatus_Values() []string { + return []string{ + ObjectLockLegalHoldStatusOn, + ObjectLockLegalHoldStatusOff, + } +} + const ( // ObjectLockModeGovernance is a ObjectLockMode enum value ObjectLockModeGovernance = "GOVERNANCE" @@ -30553,6 +30910,14 @@ const ( ObjectLockModeCompliance = "COMPLIANCE" ) +// ObjectLockMode_Values returns all elements of the ObjectLockMode enum +func ObjectLockMode_Values() []string { + return []string{ + ObjectLockModeGovernance, + ObjectLockModeCompliance, + } +} + const ( // ObjectLockRetentionModeGovernance is a ObjectLockRetentionMode enum value ObjectLockRetentionModeGovernance = "GOVERNANCE" @@ -30561,6 +30926,14 @@ const ( ObjectLockRetentionModeCompliance = "COMPLIANCE" ) +// ObjectLockRetentionMode_Values returns all elements of the ObjectLockRetentionMode enum +func ObjectLockRetentionMode_Values() []string { + return []string{ + ObjectLockRetentionModeGovernance, + ObjectLockRetentionModeCompliance, + } +} + const ( // ObjectStorageClassStandard is a ObjectStorageClass enum value ObjectStorageClassStandard = "STANDARD" @@ -30584,16 +30957,43 @@ const ( ObjectStorageClassDeepArchive = "DEEP_ARCHIVE" ) +// ObjectStorageClass_Values returns all elements of the ObjectStorageClass enum +func ObjectStorageClass_Values() []string { + return []string{ + ObjectStorageClassStandard, + ObjectStorageClassReducedRedundancy, + ObjectStorageClassGlacier, + ObjectStorageClassStandardIa, + ObjectStorageClassOnezoneIa, + ObjectStorageClassIntelligentTiering, + ObjectStorageClassDeepArchive, + } +} + const ( // ObjectVersionStorageClassStandard is a ObjectVersionStorageClass enum value ObjectVersionStorageClassStandard = "STANDARD" ) +// ObjectVersionStorageClass_Values returns all elements of the ObjectVersionStorageClass enum +func ObjectVersionStorageClass_Values() []string { + return []string{ + ObjectVersionStorageClassStandard, + } +} + const ( // OwnerOverrideDestination is a OwnerOverride enum value OwnerOverrideDestination = "Destination" ) +// OwnerOverride_Values returns all elements of the OwnerOverride enum +func OwnerOverride_Values() []string { + return []string{ + OwnerOverrideDestination, + } +} + const ( // PayerRequester is a Payer enum value PayerRequester = "Requester" @@ -30602,6 +31002,14 @@ const ( PayerBucketOwner = "BucketOwner" ) +// Payer_Values returns all elements of the Payer enum +func Payer_Values() []string { + return []string{ + PayerRequester, + PayerBucketOwner, + } +} + const ( // PermissionFullControl is a Permission enum value PermissionFullControl = "FULL_CONTROL" @@ -30619,6 +31027,17 @@ const ( PermissionReadAcp = "READ_ACP" ) +// Permission_Values returns all elements of the Permission enum +func Permission_Values() []string { + return []string{ + PermissionFullControl, + PermissionWrite, + PermissionWriteAcp, + PermissionRead, + PermissionReadAcp, + } +} + const ( // ProtocolHttp is a Protocol enum value ProtocolHttp = "http" @@ -30627,6 +31046,14 @@ const ( ProtocolHttps = "https" ) +// Protocol_Values returns all elements of the Protocol enum +func Protocol_Values() []string { + return []string{ + ProtocolHttp, + ProtocolHttps, + } +} + const ( // QuoteFieldsAlways is a QuoteFields enum value QuoteFieldsAlways = "ALWAYS" @@ -30635,6 +31062,14 @@ const ( QuoteFieldsAsneeded = "ASNEEDED" ) +// QuoteFields_Values returns all elements of the QuoteFields enum +func QuoteFields_Values() []string { + return []string{ + QuoteFieldsAlways, + QuoteFieldsAsneeded, + } +} + const ( // ReplicationRuleStatusEnabled is a ReplicationRuleStatus enum value ReplicationRuleStatusEnabled = "Enabled" @@ -30643,6 +31078,14 @@ const ( ReplicationRuleStatusDisabled = "Disabled" ) +// ReplicationRuleStatus_Values returns all elements of the ReplicationRuleStatus enum +func ReplicationRuleStatus_Values() []string { + return []string{ + ReplicationRuleStatusEnabled, + ReplicationRuleStatusDisabled, + } +} + const ( // ReplicationStatusComplete is a ReplicationStatus enum value ReplicationStatusComplete = "COMPLETE" @@ -30657,6 +31100,16 @@ const ( ReplicationStatusReplica = "REPLICA" ) +// ReplicationStatus_Values returns all elements of the ReplicationStatus enum +func ReplicationStatus_Values() []string { + return []string{ + ReplicationStatusComplete, + ReplicationStatusPending, + ReplicationStatusFailed, + ReplicationStatusReplica, + } +} + const ( // ReplicationTimeStatusEnabled is a ReplicationTimeStatus enum value ReplicationTimeStatusEnabled = "Enabled" @@ -30665,6 +31118,14 @@ const ( ReplicationTimeStatusDisabled = "Disabled" ) +// ReplicationTimeStatus_Values returns all elements of the ReplicationTimeStatus enum +func ReplicationTimeStatus_Values() []string { + return []string{ + ReplicationTimeStatusEnabled, + ReplicationTimeStatusDisabled, + } +} + // If present, indicates that the requester was successfully charged for the // request. const ( @@ -30672,6 +31133,13 @@ const ( RequestChargedRequester = "requester" ) +// RequestCharged_Values returns all elements of the RequestCharged enum +func RequestCharged_Values() []string { + return []string{ + RequestChargedRequester, + } +} + // Confirms that the requester knows that they will be charged for the request. // Bucket owners need not specify this parameter in their requests. For information // about downloading objects from requester pays buckets, see Downloading Objects @@ -30682,11 +31150,25 @@ const ( RequestPayerRequester = "requester" ) +// RequestPayer_Values returns all elements of the RequestPayer enum +func RequestPayer_Values() []string { + return []string{ + RequestPayerRequester, + } +} + const ( // RestoreRequestTypeSelect is a RestoreRequestType enum value RestoreRequestTypeSelect = "SELECT" ) +// RestoreRequestType_Values returns all elements of the RestoreRequestType enum +func RestoreRequestType_Values() []string { + return []string{ + RestoreRequestTypeSelect, + } +} + const ( // ServerSideEncryptionAes256 is a ServerSideEncryption enum value ServerSideEncryptionAes256 = "AES256" @@ -30695,6 +31177,14 @@ const ( ServerSideEncryptionAwsKms = "aws:kms" ) +// ServerSideEncryption_Values returns all elements of the ServerSideEncryption enum +func ServerSideEncryption_Values() []string { + return []string{ + ServerSideEncryptionAes256, + ServerSideEncryptionAwsKms, + } +} + const ( // SseKmsEncryptedObjectsStatusEnabled is a SseKmsEncryptedObjectsStatus enum value SseKmsEncryptedObjectsStatusEnabled = "Enabled" @@ -30703,6 +31193,14 @@ const ( SseKmsEncryptedObjectsStatusDisabled = "Disabled" ) +// SseKmsEncryptedObjectsStatus_Values returns all elements of the SseKmsEncryptedObjectsStatus enum +func SseKmsEncryptedObjectsStatus_Values() []string { + return []string{ + SseKmsEncryptedObjectsStatusEnabled, + SseKmsEncryptedObjectsStatusDisabled, + } +} + const ( // StorageClassStandard is a StorageClass enum value StorageClassStandard = "STANDARD" @@ -30726,11 +31224,31 @@ const ( StorageClassDeepArchive = "DEEP_ARCHIVE" ) +// StorageClass_Values returns all elements of the StorageClass enum +func StorageClass_Values() []string { + return []string{ + StorageClassStandard, + StorageClassReducedRedundancy, + StorageClassStandardIa, + StorageClassOnezoneIa, + StorageClassIntelligentTiering, + StorageClassGlacier, + StorageClassDeepArchive, + } +} + const ( // StorageClassAnalysisSchemaVersionV1 is a StorageClassAnalysisSchemaVersion enum value StorageClassAnalysisSchemaVersionV1 = "V_1" ) +// StorageClassAnalysisSchemaVersion_Values returns all elements of the StorageClassAnalysisSchemaVersion enum +func StorageClassAnalysisSchemaVersion_Values() []string { + return []string{ + StorageClassAnalysisSchemaVersionV1, + } +} + const ( // TaggingDirectiveCopy is a TaggingDirective enum value TaggingDirectiveCopy = "COPY" @@ -30739,6 +31257,14 @@ const ( TaggingDirectiveReplace = "REPLACE" ) +// TaggingDirective_Values returns all elements of the TaggingDirective enum +func TaggingDirective_Values() []string { + return []string{ + TaggingDirectiveCopy, + TaggingDirectiveReplace, + } +} + const ( // TierStandard is a Tier enum value TierStandard = "Standard" @@ -30750,6 +31276,15 @@ const ( TierExpedited = "Expedited" ) +// Tier_Values returns all elements of the Tier enum +func Tier_Values() []string { + return []string{ + TierStandard, + TierBulk, + TierExpedited, + } +} + const ( // TransitionStorageClassGlacier is a TransitionStorageClass enum value TransitionStorageClassGlacier = "GLACIER" @@ -30767,6 +31302,17 @@ const ( TransitionStorageClassDeepArchive = "DEEP_ARCHIVE" ) +// TransitionStorageClass_Values returns all elements of the TransitionStorageClass enum +func TransitionStorageClass_Values() []string { + return []string{ + TransitionStorageClassGlacier, + TransitionStorageClassStandardIa, + TransitionStorageClassOnezoneIa, + TransitionStorageClassIntelligentTiering, + TransitionStorageClassDeepArchive, + } +} + const ( // TypeCanonicalUser is a Type enum value TypeCanonicalUser = "CanonicalUser" @@ -30777,3 +31323,12 @@ const ( // TypeGroup is a Type enum value TypeGroup = "Group" ) + +// Type_Values returns all elements of the Type enum +func Type_Values() []string { + return []string{ + TypeCanonicalUser, + TypeAmazonCustomerByEmail, + TypeGroup, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/s3/doc_custom.go b/vendor/github.com/aws/aws-sdk-go/service/s3/doc_custom.go index 4b65f71531a..7f7aca20859 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/s3/doc_custom.go +++ b/vendor/github.com/aws/aws-sdk-go/service/s3/doc_custom.go @@ -104,19 +104,6 @@ // content from S3. The Encryption and Decryption clients can be used concurrently // once the client is created. // -// sess := session.Must(session.NewSession()) -// -// // Create the decryption client. -// svc := s3crypto.NewDecryptionClient(sess) -// -// // The object will be downloaded from S3 and decrypted locally. By metadata -// // about the object's encryption will instruct the decryption client how -// // decrypt the content of the object. By default KMS is used for keys. -// result, err := svc.GetObject(&s3.GetObjectInput { -// Bucket: aws.String(myBucket), -// Key: aws.String(myKey), -// }) -// // See the s3crypto package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/s3/s3crypto/ // diff --git a/vendor/github.com/aws/aws-sdk-go/service/s3/sse.go b/vendor/github.com/aws/aws-sdk-go/service/s3/sse.go index b71c835deef..57a0bd92ca3 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/s3/sse.go +++ b/vendor/github.com/aws/aws-sdk-go/service/s3/sse.go @@ -69,7 +69,7 @@ func computeKeyMD5(keyHeader, keyMD5Header, key string, r *http.Request) { return } - // In backwards compatiable, the header's value is not base64 encoded, + // In backwards compatible, the header's value is not base64 encoded, // and needs to be encoded and updated by the SDK's customizations. b64Key := base64.StdEncoding.EncodeToString([]byte(key)) r.Header.Set(keyHeader, b64Key) diff --git a/vendor/github.com/aws/aws-sdk-go/service/s3control/api.go b/vendor/github.com/aws/aws-sdk-go/service/s3control/api.go index 88503e0fe50..6ad326a3b4a 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/s3control/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/s3control/api.go @@ -5690,6 +5690,16 @@ const ( JobManifestFieldNameVersionId = "VersionId" ) +// JobManifestFieldName_Values returns all elements of the JobManifestFieldName enum +func JobManifestFieldName_Values() []string { + return []string{ + JobManifestFieldNameIgnore, + JobManifestFieldNameBucket, + JobManifestFieldNameKey, + JobManifestFieldNameVersionId, + } +} + const ( // JobManifestFormatS3batchOperationsCsv20180820 is a JobManifestFormat enum value JobManifestFormatS3batchOperationsCsv20180820 = "S3BatchOperations_CSV_20180820" @@ -5698,11 +5708,26 @@ const ( JobManifestFormatS3inventoryReportCsv20161130 = "S3InventoryReport_CSV_20161130" ) +// JobManifestFormat_Values returns all elements of the JobManifestFormat enum +func JobManifestFormat_Values() []string { + return []string{ + JobManifestFormatS3batchOperationsCsv20180820, + JobManifestFormatS3inventoryReportCsv20161130, + } +} + const ( // JobReportFormatReportCsv20180820 is a JobReportFormat enum value JobReportFormatReportCsv20180820 = "Report_CSV_20180820" ) +// JobReportFormat_Values returns all elements of the JobReportFormat enum +func JobReportFormat_Values() []string { + return []string{ + JobReportFormatReportCsv20180820, + } +} + const ( // JobReportScopeAllTasks is a JobReportScope enum value JobReportScopeAllTasks = "AllTasks" @@ -5711,6 +5736,14 @@ const ( JobReportScopeFailedTasksOnly = "FailedTasksOnly" ) +// JobReportScope_Values returns all elements of the JobReportScope enum +func JobReportScope_Values() []string { + return []string{ + JobReportScopeAllTasks, + JobReportScopeFailedTasksOnly, + } +} + const ( // JobStatusActive is a JobStatus enum value JobStatusActive = "Active" @@ -5752,6 +5785,25 @@ const ( JobStatusSuspended = "Suspended" ) +// JobStatus_Values returns all elements of the JobStatus enum +func JobStatus_Values() []string { + return []string{ + JobStatusActive, + JobStatusCancelled, + JobStatusCancelling, + JobStatusComplete, + JobStatusCompleting, + JobStatusFailed, + JobStatusFailing, + JobStatusNew, + JobStatusPaused, + JobStatusPausing, + JobStatusPreparing, + JobStatusReady, + JobStatusSuspended, + } +} + const ( // NetworkOriginInternet is a NetworkOrigin enum value NetworkOriginInternet = "Internet" @@ -5760,6 +5812,14 @@ const ( NetworkOriginVpc = "VPC" ) +// NetworkOrigin_Values returns all elements of the NetworkOrigin enum +func NetworkOrigin_Values() []string { + return []string{ + NetworkOriginInternet, + NetworkOriginVpc, + } +} + const ( // OperationNameLambdaInvoke is a OperationName enum value OperationNameLambdaInvoke = "LambdaInvoke" @@ -5783,6 +5843,19 @@ const ( OperationNameS3putObjectRetention = "S3PutObjectRetention" ) +// OperationName_Values returns all elements of the OperationName enum +func OperationName_Values() []string { + return []string{ + OperationNameLambdaInvoke, + OperationNameS3putObjectCopy, + OperationNameS3putObjectAcl, + OperationNameS3putObjectTagging, + OperationNameS3initiateRestoreObject, + OperationNameS3putObjectLegalHold, + OperationNameS3putObjectRetention, + } +} + const ( // RequestedJobStatusCancelled is a RequestedJobStatus enum value RequestedJobStatusCancelled = "Cancelled" @@ -5791,6 +5864,14 @@ const ( RequestedJobStatusReady = "Ready" ) +// RequestedJobStatus_Values returns all elements of the RequestedJobStatus enum +func RequestedJobStatus_Values() []string { + return []string{ + RequestedJobStatusCancelled, + RequestedJobStatusReady, + } +} + const ( // S3CannedAccessControlListPrivate is a S3CannedAccessControlList enum value S3CannedAccessControlListPrivate = "private" @@ -5814,6 +5895,19 @@ const ( S3CannedAccessControlListBucketOwnerFullControl = "bucket-owner-full-control" ) +// S3CannedAccessControlList_Values returns all elements of the S3CannedAccessControlList enum +func S3CannedAccessControlList_Values() []string { + return []string{ + S3CannedAccessControlListPrivate, + S3CannedAccessControlListPublicRead, + S3CannedAccessControlListPublicReadWrite, + S3CannedAccessControlListAwsExecRead, + S3CannedAccessControlListAuthenticatedRead, + S3CannedAccessControlListBucketOwnerRead, + S3CannedAccessControlListBucketOwnerFullControl, + } +} + const ( // S3GlacierJobTierBulk is a S3GlacierJobTier enum value S3GlacierJobTierBulk = "BULK" @@ -5822,6 +5916,14 @@ const ( S3GlacierJobTierStandard = "STANDARD" ) +// S3GlacierJobTier_Values returns all elements of the S3GlacierJobTier enum +func S3GlacierJobTier_Values() []string { + return []string{ + S3GlacierJobTierBulk, + S3GlacierJobTierStandard, + } +} + const ( // S3GranteeTypeIdentifierId is a S3GranteeTypeIdentifier enum value S3GranteeTypeIdentifierId = "id" @@ -5833,6 +5935,15 @@ const ( S3GranteeTypeIdentifierUri = "uri" ) +// S3GranteeTypeIdentifier_Values returns all elements of the S3GranteeTypeIdentifier enum +func S3GranteeTypeIdentifier_Values() []string { + return []string{ + S3GranteeTypeIdentifierId, + S3GranteeTypeIdentifierEmailAddress, + S3GranteeTypeIdentifierUri, + } +} + const ( // S3MetadataDirectiveCopy is a S3MetadataDirective enum value S3MetadataDirectiveCopy = "COPY" @@ -5841,6 +5952,14 @@ const ( S3MetadataDirectiveReplace = "REPLACE" ) +// S3MetadataDirective_Values returns all elements of the S3MetadataDirective enum +func S3MetadataDirective_Values() []string { + return []string{ + S3MetadataDirectiveCopy, + S3MetadataDirectiveReplace, + } +} + const ( // S3ObjectLockLegalHoldStatusOff is a S3ObjectLockLegalHoldStatus enum value S3ObjectLockLegalHoldStatusOff = "OFF" @@ -5849,6 +5968,14 @@ const ( S3ObjectLockLegalHoldStatusOn = "ON" ) +// S3ObjectLockLegalHoldStatus_Values returns all elements of the S3ObjectLockLegalHoldStatus enum +func S3ObjectLockLegalHoldStatus_Values() []string { + return []string{ + S3ObjectLockLegalHoldStatusOff, + S3ObjectLockLegalHoldStatusOn, + } +} + const ( // S3ObjectLockModeCompliance is a S3ObjectLockMode enum value S3ObjectLockModeCompliance = "COMPLIANCE" @@ -5857,6 +5984,14 @@ const ( S3ObjectLockModeGovernance = "GOVERNANCE" ) +// S3ObjectLockMode_Values returns all elements of the S3ObjectLockMode enum +func S3ObjectLockMode_Values() []string { + return []string{ + S3ObjectLockModeCompliance, + S3ObjectLockModeGovernance, + } +} + const ( // S3ObjectLockRetentionModeCompliance is a S3ObjectLockRetentionMode enum value S3ObjectLockRetentionModeCompliance = "COMPLIANCE" @@ -5865,6 +6000,14 @@ const ( S3ObjectLockRetentionModeGovernance = "GOVERNANCE" ) +// S3ObjectLockRetentionMode_Values returns all elements of the S3ObjectLockRetentionMode enum +func S3ObjectLockRetentionMode_Values() []string { + return []string{ + S3ObjectLockRetentionModeCompliance, + S3ObjectLockRetentionModeGovernance, + } +} + const ( // S3PermissionFullControl is a S3Permission enum value S3PermissionFullControl = "FULL_CONTROL" @@ -5882,6 +6025,17 @@ const ( S3PermissionWriteAcp = "WRITE_ACP" ) +// S3Permission_Values returns all elements of the S3Permission enum +func S3Permission_Values() []string { + return []string{ + S3PermissionFullControl, + S3PermissionRead, + S3PermissionWrite, + S3PermissionReadAcp, + S3PermissionWriteAcp, + } +} + const ( // S3SSEAlgorithmAes256 is a S3SSEAlgorithm enum value S3SSEAlgorithmAes256 = "AES256" @@ -5890,6 +6044,14 @@ const ( S3SSEAlgorithmKms = "KMS" ) +// S3SSEAlgorithm_Values returns all elements of the S3SSEAlgorithm enum +func S3SSEAlgorithm_Values() []string { + return []string{ + S3SSEAlgorithmAes256, + S3SSEAlgorithmKms, + } +} + const ( // S3StorageClassStandard is a S3StorageClass enum value S3StorageClassStandard = "STANDARD" @@ -5909,3 +6071,15 @@ const ( // S3StorageClassDeepArchive is a S3StorageClass enum value S3StorageClassDeepArchive = "DEEP_ARCHIVE" ) + +// S3StorageClass_Values returns all elements of the S3StorageClass enum +func S3StorageClass_Values() []string { + return []string{ + S3StorageClassStandard, + S3StorageClassStandardIa, + S3StorageClassOnezoneIa, + S3StorageClassGlacier, + S3StorageClassIntelligentTiering, + S3StorageClassDeepArchive, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/sagemaker/api.go b/vendor/github.com/aws/aws-sdk-go/service/sagemaker/api.go index d31b9e382bb..671b79722a2 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/sagemaker/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/sagemaker/api.go @@ -48592,6 +48592,14 @@ const ( AlgorithmSortByCreationTime = "CreationTime" ) +// AlgorithmSortBy_Values returns all elements of the AlgorithmSortBy enum +func AlgorithmSortBy_Values() []string { + return []string{ + AlgorithmSortByName, + AlgorithmSortByCreationTime, + } +} + const ( // AlgorithmStatusPending is a AlgorithmStatus enum value AlgorithmStatusPending = "Pending" @@ -48609,6 +48617,17 @@ const ( AlgorithmStatusDeleting = "Deleting" ) +// AlgorithmStatus_Values returns all elements of the AlgorithmStatus enum +func AlgorithmStatus_Values() []string { + return []string{ + AlgorithmStatusPending, + AlgorithmStatusInProgress, + AlgorithmStatusCompleted, + AlgorithmStatusFailed, + AlgorithmStatusDeleting, + } +} + const ( // AppInstanceTypeSystem is a AppInstanceType enum value AppInstanceTypeSystem = "system" @@ -48707,11 +48726,56 @@ const ( AppInstanceTypeMlG4dn16xlarge = "ml.g4dn.16xlarge" ) +// AppInstanceType_Values returns all elements of the AppInstanceType enum +func AppInstanceType_Values() []string { + return []string{ + AppInstanceTypeSystem, + AppInstanceTypeMlT3Micro, + AppInstanceTypeMlT3Small, + AppInstanceTypeMlT3Medium, + AppInstanceTypeMlT3Large, + AppInstanceTypeMlT3Xlarge, + AppInstanceTypeMlT32xlarge, + AppInstanceTypeMlM5Large, + AppInstanceTypeMlM5Xlarge, + AppInstanceTypeMlM52xlarge, + AppInstanceTypeMlM54xlarge, + AppInstanceTypeMlM58xlarge, + AppInstanceTypeMlM512xlarge, + AppInstanceTypeMlM516xlarge, + AppInstanceTypeMlM524xlarge, + AppInstanceTypeMlC5Large, + AppInstanceTypeMlC5Xlarge, + AppInstanceTypeMlC52xlarge, + AppInstanceTypeMlC54xlarge, + AppInstanceTypeMlC59xlarge, + AppInstanceTypeMlC512xlarge, + AppInstanceTypeMlC518xlarge, + AppInstanceTypeMlC524xlarge, + AppInstanceTypeMlP32xlarge, + AppInstanceTypeMlP38xlarge, + AppInstanceTypeMlP316xlarge, + AppInstanceTypeMlG4dnXlarge, + AppInstanceTypeMlG4dn2xlarge, + AppInstanceTypeMlG4dn4xlarge, + AppInstanceTypeMlG4dn8xlarge, + AppInstanceTypeMlG4dn12xlarge, + AppInstanceTypeMlG4dn16xlarge, + } +} + const ( // AppSortKeyCreationTime is a AppSortKey enum value AppSortKeyCreationTime = "CreationTime" ) +// AppSortKey_Values returns all elements of the AppSortKey enum +func AppSortKey_Values() []string { + return []string{ + AppSortKeyCreationTime, + } +} + const ( // AppStatusDeleted is a AppStatus enum value AppStatusDeleted = "Deleted" @@ -48729,6 +48793,17 @@ const ( AppStatusPending = "Pending" ) +// AppStatus_Values returns all elements of the AppStatus enum +func AppStatus_Values() []string { + return []string{ + AppStatusDeleted, + AppStatusDeleting, + AppStatusFailed, + AppStatusInService, + AppStatusPending, + } +} + const ( // AppTypeJupyterServer is a AppType enum value AppTypeJupyterServer = "JupyterServer" @@ -48740,6 +48815,15 @@ const ( AppTypeTensorBoard = "TensorBoard" ) +// AppType_Values returns all elements of the AppType enum +func AppType_Values() []string { + return []string{ + AppTypeJupyterServer, + AppTypeKernelGateway, + AppTypeTensorBoard, + } +} + const ( // AssemblyTypeNone is a AssemblyType enum value AssemblyTypeNone = "None" @@ -48748,6 +48832,14 @@ const ( AssemblyTypeLine = "Line" ) +// AssemblyType_Values returns all elements of the AssemblyType enum +func AssemblyType_Values() []string { + return []string{ + AssemblyTypeNone, + AssemblyTypeLine, + } +} + const ( // AuthModeSso is a AuthMode enum value AuthModeSso = "SSO" @@ -48756,6 +48848,14 @@ const ( AuthModeIam = "IAM" ) +// AuthMode_Values returns all elements of the AuthMode enum +func AuthMode_Values() []string { + return []string{ + AuthModeSso, + AuthModeIam, + } +} + const ( // AutoMLJobObjectiveTypeMaximize is a AutoMLJobObjectiveType enum value AutoMLJobObjectiveTypeMaximize = "Maximize" @@ -48764,6 +48864,14 @@ const ( AutoMLJobObjectiveTypeMinimize = "Minimize" ) +// AutoMLJobObjectiveType_Values returns all elements of the AutoMLJobObjectiveType enum +func AutoMLJobObjectiveType_Values() []string { + return []string{ + AutoMLJobObjectiveTypeMaximize, + AutoMLJobObjectiveTypeMinimize, + } +} + const ( // AutoMLJobSecondaryStatusStarting is a AutoMLJobSecondaryStatus enum value AutoMLJobSecondaryStatusStarting = "Starting" @@ -48796,6 +48904,22 @@ const ( AutoMLJobSecondaryStatusCandidateDefinitionsGenerated = "CandidateDefinitionsGenerated" ) +// AutoMLJobSecondaryStatus_Values returns all elements of the AutoMLJobSecondaryStatus enum +func AutoMLJobSecondaryStatus_Values() []string { + return []string{ + AutoMLJobSecondaryStatusStarting, + AutoMLJobSecondaryStatusAnalyzingData, + AutoMLJobSecondaryStatusFeatureEngineering, + AutoMLJobSecondaryStatusModelTuning, + AutoMLJobSecondaryStatusMaxCandidatesReached, + AutoMLJobSecondaryStatusFailed, + AutoMLJobSecondaryStatusStopped, + AutoMLJobSecondaryStatusMaxAutoMljobRuntimeReached, + AutoMLJobSecondaryStatusStopping, + AutoMLJobSecondaryStatusCandidateDefinitionsGenerated, + } +} + const ( // AutoMLJobStatusCompleted is a AutoMLJobStatus enum value AutoMLJobStatusCompleted = "Completed" @@ -48813,6 +48937,17 @@ const ( AutoMLJobStatusStopping = "Stopping" ) +// AutoMLJobStatus_Values returns all elements of the AutoMLJobStatus enum +func AutoMLJobStatus_Values() []string { + return []string{ + AutoMLJobStatusCompleted, + AutoMLJobStatusInProgress, + AutoMLJobStatusFailed, + AutoMLJobStatusStopped, + AutoMLJobStatusStopping, + } +} + const ( // AutoMLMetricEnumAccuracy is a AutoMLMetricEnum enum value AutoMLMetricEnumAccuracy = "Accuracy" @@ -48827,6 +48962,16 @@ const ( AutoMLMetricEnumF1macro = "F1macro" ) +// AutoMLMetricEnum_Values returns all elements of the AutoMLMetricEnum enum +func AutoMLMetricEnum_Values() []string { + return []string{ + AutoMLMetricEnumAccuracy, + AutoMLMetricEnumMse, + AutoMLMetricEnumF1, + AutoMLMetricEnumF1macro, + } +} + const ( // AutoMLS3DataTypeManifestFile is a AutoMLS3DataType enum value AutoMLS3DataTypeManifestFile = "ManifestFile" @@ -48835,6 +48980,14 @@ const ( AutoMLS3DataTypeS3prefix = "S3Prefix" ) +// AutoMLS3DataType_Values returns all elements of the AutoMLS3DataType enum +func AutoMLS3DataType_Values() []string { + return []string{ + AutoMLS3DataTypeManifestFile, + AutoMLS3DataTypeS3prefix, + } +} + const ( // AutoMLSortByName is a AutoMLSortBy enum value AutoMLSortByName = "Name" @@ -48846,6 +48999,15 @@ const ( AutoMLSortByStatus = "Status" ) +// AutoMLSortBy_Values returns all elements of the AutoMLSortBy enum +func AutoMLSortBy_Values() []string { + return []string{ + AutoMLSortByName, + AutoMLSortByCreationTime, + AutoMLSortByStatus, + } +} + const ( // AutoMLSortOrderAscending is a AutoMLSortOrder enum value AutoMLSortOrderAscending = "Ascending" @@ -48854,6 +49016,14 @@ const ( AutoMLSortOrderDescending = "Descending" ) +// AutoMLSortOrder_Values returns all elements of the AutoMLSortOrder enum +func AutoMLSortOrder_Values() []string { + return []string{ + AutoMLSortOrderAscending, + AutoMLSortOrderDescending, + } +} + const ( // AwsManagedHumanLoopRequestSourceAwsRekognitionDetectModerationLabelsImageV3 is a AwsManagedHumanLoopRequestSource enum value AwsManagedHumanLoopRequestSourceAwsRekognitionDetectModerationLabelsImageV3 = "AWS/Rekognition/DetectModerationLabels/Image/V3" @@ -48862,6 +49032,14 @@ const ( AwsManagedHumanLoopRequestSourceAwsTextractAnalyzeDocumentFormsV1 = "AWS/Textract/AnalyzeDocument/Forms/V1" ) +// AwsManagedHumanLoopRequestSource_Values returns all elements of the AwsManagedHumanLoopRequestSource enum +func AwsManagedHumanLoopRequestSource_Values() []string { + return []string{ + AwsManagedHumanLoopRequestSourceAwsRekognitionDetectModerationLabelsImageV3, + AwsManagedHumanLoopRequestSourceAwsTextractAnalyzeDocumentFormsV1, + } +} + const ( // BatchStrategyMultiRecord is a BatchStrategy enum value BatchStrategyMultiRecord = "MultiRecord" @@ -48870,6 +49048,14 @@ const ( BatchStrategySingleRecord = "SingleRecord" ) +// BatchStrategy_Values returns all elements of the BatchStrategy enum +func BatchStrategy_Values() []string { + return []string{ + BatchStrategyMultiRecord, + BatchStrategySingleRecord, + } +} + const ( // BooleanOperatorAnd is a BooleanOperator enum value BooleanOperatorAnd = "And" @@ -48878,6 +49064,14 @@ const ( BooleanOperatorOr = "Or" ) +// BooleanOperator_Values returns all elements of the BooleanOperator enum +func BooleanOperator_Values() []string { + return []string{ + BooleanOperatorAnd, + BooleanOperatorOr, + } +} + const ( // CandidateSortByCreationTime is a CandidateSortBy enum value CandidateSortByCreationTime = "CreationTime" @@ -48889,6 +49083,15 @@ const ( CandidateSortByFinalObjectiveMetricValue = "FinalObjectiveMetricValue" ) +// CandidateSortBy_Values returns all elements of the CandidateSortBy enum +func CandidateSortBy_Values() []string { + return []string{ + CandidateSortByCreationTime, + CandidateSortByStatus, + CandidateSortByFinalObjectiveMetricValue, + } +} + const ( // CandidateStatusCompleted is a CandidateStatus enum value CandidateStatusCompleted = "Completed" @@ -48906,6 +49109,17 @@ const ( CandidateStatusStopping = "Stopping" ) +// CandidateStatus_Values returns all elements of the CandidateStatus enum +func CandidateStatus_Values() []string { + return []string{ + CandidateStatusCompleted, + CandidateStatusInProgress, + CandidateStatusFailed, + CandidateStatusStopped, + CandidateStatusStopping, + } +} + const ( // CandidateStepTypeAwsSageMakerTrainingJob is a CandidateStepType enum value CandidateStepTypeAwsSageMakerTrainingJob = "AWS::SageMaker::TrainingJob" @@ -48917,6 +49131,15 @@ const ( CandidateStepTypeAwsSageMakerProcessingJob = "AWS::SageMaker::ProcessingJob" ) +// CandidateStepType_Values returns all elements of the CandidateStepType enum +func CandidateStepType_Values() []string { + return []string{ + CandidateStepTypeAwsSageMakerTrainingJob, + CandidateStepTypeAwsSageMakerTransformJob, + CandidateStepTypeAwsSageMakerProcessingJob, + } +} + const ( // CaptureModeInput is a CaptureMode enum value CaptureModeInput = "Input" @@ -48925,6 +49148,14 @@ const ( CaptureModeOutput = "Output" ) +// CaptureMode_Values returns all elements of the CaptureMode enum +func CaptureMode_Values() []string { + return []string{ + CaptureModeInput, + CaptureModeOutput, + } +} + const ( // CaptureStatusStarted is a CaptureStatus enum value CaptureStatusStarted = "Started" @@ -48933,6 +49164,14 @@ const ( CaptureStatusStopped = "Stopped" ) +// CaptureStatus_Values returns all elements of the CaptureStatus enum +func CaptureStatus_Values() []string { + return []string{ + CaptureStatusStarted, + CaptureStatusStopped, + } +} + const ( // CodeRepositorySortByName is a CodeRepositorySortBy enum value CodeRepositorySortByName = "Name" @@ -48944,6 +49183,15 @@ const ( CodeRepositorySortByLastModifiedTime = "LastModifiedTime" ) +// CodeRepositorySortBy_Values returns all elements of the CodeRepositorySortBy enum +func CodeRepositorySortBy_Values() []string { + return []string{ + CodeRepositorySortByName, + CodeRepositorySortByCreationTime, + CodeRepositorySortByLastModifiedTime, + } +} + const ( // CodeRepositorySortOrderAscending is a CodeRepositorySortOrder enum value CodeRepositorySortOrderAscending = "Ascending" @@ -48952,6 +49200,14 @@ const ( CodeRepositorySortOrderDescending = "Descending" ) +// CodeRepositorySortOrder_Values returns all elements of the CodeRepositorySortOrder enum +func CodeRepositorySortOrder_Values() []string { + return []string{ + CodeRepositorySortOrderAscending, + CodeRepositorySortOrderDescending, + } +} + const ( // CompilationJobStatusInprogress is a CompilationJobStatus enum value CompilationJobStatusInprogress = "INPROGRESS" @@ -48972,6 +49228,18 @@ const ( CompilationJobStatusStopped = "STOPPED" ) +// CompilationJobStatus_Values returns all elements of the CompilationJobStatus enum +func CompilationJobStatus_Values() []string { + return []string{ + CompilationJobStatusInprogress, + CompilationJobStatusCompleted, + CompilationJobStatusFailed, + CompilationJobStatusStarting, + CompilationJobStatusStopping, + CompilationJobStatusStopped, + } +} + const ( // CompressionTypeNone is a CompressionType enum value CompressionTypeNone = "None" @@ -48980,6 +49248,14 @@ const ( CompressionTypeGzip = "Gzip" ) +// CompressionType_Values returns all elements of the CompressionType enum +func CompressionType_Values() []string { + return []string{ + CompressionTypeNone, + CompressionTypeGzip, + } +} + const ( // ContainerModeSingleModel is a ContainerMode enum value ContainerModeSingleModel = "SingleModel" @@ -48988,6 +49264,14 @@ const ( ContainerModeMultiModel = "MultiModel" ) +// ContainerMode_Values returns all elements of the ContainerMode enum +func ContainerMode_Values() []string { + return []string{ + ContainerModeSingleModel, + ContainerModeMultiModel, + } +} + const ( // ContentClassifierFreeOfPersonallyIdentifiableInformation is a ContentClassifier enum value ContentClassifierFreeOfPersonallyIdentifiableInformation = "FreeOfPersonallyIdentifiableInformation" @@ -48996,6 +49280,14 @@ const ( ContentClassifierFreeOfAdultContent = "FreeOfAdultContent" ) +// ContentClassifier_Values returns all elements of the ContentClassifier enum +func ContentClassifier_Values() []string { + return []string{ + ContentClassifierFreeOfPersonallyIdentifiableInformation, + ContentClassifierFreeOfAdultContent, + } +} + const ( // DetailedAlgorithmStatusNotStarted is a DetailedAlgorithmStatus enum value DetailedAlgorithmStatusNotStarted = "NotStarted" @@ -49010,6 +49302,16 @@ const ( DetailedAlgorithmStatusFailed = "Failed" ) +// DetailedAlgorithmStatus_Values returns all elements of the DetailedAlgorithmStatus enum +func DetailedAlgorithmStatus_Values() []string { + return []string{ + DetailedAlgorithmStatusNotStarted, + DetailedAlgorithmStatusInProgress, + DetailedAlgorithmStatusCompleted, + DetailedAlgorithmStatusFailed, + } +} + const ( // DetailedModelPackageStatusNotStarted is a DetailedModelPackageStatus enum value DetailedModelPackageStatusNotStarted = "NotStarted" @@ -49024,6 +49326,16 @@ const ( DetailedModelPackageStatusFailed = "Failed" ) +// DetailedModelPackageStatus_Values returns all elements of the DetailedModelPackageStatus enum +func DetailedModelPackageStatus_Values() []string { + return []string{ + DetailedModelPackageStatusNotStarted, + DetailedModelPackageStatusInProgress, + DetailedModelPackageStatusCompleted, + DetailedModelPackageStatusFailed, + } +} + const ( // DirectInternetAccessEnabled is a DirectInternetAccess enum value DirectInternetAccessEnabled = "Enabled" @@ -49032,6 +49344,14 @@ const ( DirectInternetAccessDisabled = "Disabled" ) +// DirectInternetAccess_Values returns all elements of the DirectInternetAccess enum +func DirectInternetAccess_Values() []string { + return []string{ + DirectInternetAccessEnabled, + DirectInternetAccessDisabled, + } +} + const ( // DomainStatusDeleting is a DomainStatus enum value DomainStatusDeleting = "Deleting" @@ -49046,6 +49366,16 @@ const ( DomainStatusPending = "Pending" ) +// DomainStatus_Values returns all elements of the DomainStatus enum +func DomainStatus_Values() []string { + return []string{ + DomainStatusDeleting, + DomainStatusFailed, + DomainStatusInService, + DomainStatusPending, + } +} + const ( // EndpointConfigSortKeyName is a EndpointConfigSortKey enum value EndpointConfigSortKeyName = "Name" @@ -49054,6 +49384,14 @@ const ( EndpointConfigSortKeyCreationTime = "CreationTime" ) +// EndpointConfigSortKey_Values returns all elements of the EndpointConfigSortKey enum +func EndpointConfigSortKey_Values() []string { + return []string{ + EndpointConfigSortKeyName, + EndpointConfigSortKeyCreationTime, + } +} + const ( // EndpointSortKeyName is a EndpointSortKey enum value EndpointSortKeyName = "Name" @@ -49065,6 +49403,15 @@ const ( EndpointSortKeyStatus = "Status" ) +// EndpointSortKey_Values returns all elements of the EndpointSortKey enum +func EndpointSortKey_Values() []string { + return []string{ + EndpointSortKeyName, + EndpointSortKeyCreationTime, + EndpointSortKeyStatus, + } +} + const ( // EndpointStatusOutOfService is a EndpointStatus enum value EndpointStatusOutOfService = "OutOfService" @@ -49091,6 +49438,20 @@ const ( EndpointStatusFailed = "Failed" ) +// EndpointStatus_Values returns all elements of the EndpointStatus enum +func EndpointStatus_Values() []string { + return []string{ + EndpointStatusOutOfService, + EndpointStatusCreating, + EndpointStatusUpdating, + EndpointStatusSystemUpdating, + EndpointStatusRollingBack, + EndpointStatusInService, + EndpointStatusDeleting, + EndpointStatusFailed, + } +} + const ( // ExecutionStatusPending is a ExecutionStatus enum value ExecutionStatusPending = "Pending" @@ -49114,6 +49475,19 @@ const ( ExecutionStatusStopped = "Stopped" ) +// ExecutionStatus_Values returns all elements of the ExecutionStatus enum +func ExecutionStatus_Values() []string { + return []string{ + ExecutionStatusPending, + ExecutionStatusCompleted, + ExecutionStatusCompletedWithViolations, + ExecutionStatusInProgress, + ExecutionStatusFailed, + ExecutionStatusStopping, + ExecutionStatusStopped, + } +} + const ( // FileSystemAccessModeRw is a FileSystemAccessMode enum value FileSystemAccessModeRw = "rw" @@ -49122,6 +49496,14 @@ const ( FileSystemAccessModeRo = "ro" ) +// FileSystemAccessMode_Values returns all elements of the FileSystemAccessMode enum +func FileSystemAccessMode_Values() []string { + return []string{ + FileSystemAccessModeRw, + FileSystemAccessModeRo, + } +} + const ( // FileSystemTypeEfs is a FileSystemType enum value FileSystemTypeEfs = "EFS" @@ -49130,6 +49512,14 @@ const ( FileSystemTypeFsxLustre = "FSxLustre" ) +// FileSystemType_Values returns all elements of the FileSystemType enum +func FileSystemType_Values() []string { + return []string{ + FileSystemTypeEfs, + FileSystemTypeFsxLustre, + } +} + const ( // FlowDefinitionStatusInitializing is a FlowDefinitionStatus enum value FlowDefinitionStatusInitializing = "Initializing" @@ -49144,6 +49534,16 @@ const ( FlowDefinitionStatusDeleting = "Deleting" ) +// FlowDefinitionStatus_Values returns all elements of the FlowDefinitionStatus enum +func FlowDefinitionStatus_Values() []string { + return []string{ + FlowDefinitionStatusInitializing, + FlowDefinitionStatusActive, + FlowDefinitionStatusFailed, + FlowDefinitionStatusDeleting, + } +} + const ( // FrameworkTensorflow is a Framework enum value FrameworkTensorflow = "TENSORFLOW" @@ -49167,6 +49567,19 @@ const ( FrameworkTflite = "TFLITE" ) +// Framework_Values returns all elements of the Framework enum +func Framework_Values() []string { + return []string{ + FrameworkTensorflow, + FrameworkKeras, + FrameworkMxnet, + FrameworkOnnx, + FrameworkPytorch, + FrameworkXgboost, + FrameworkTflite, + } +} + const ( // HumanTaskUiStatusActive is a HumanTaskUiStatus enum value HumanTaskUiStatusActive = "Active" @@ -49175,6 +49588,14 @@ const ( HumanTaskUiStatusDeleting = "Deleting" ) +// HumanTaskUiStatus_Values returns all elements of the HumanTaskUiStatus enum +func HumanTaskUiStatus_Values() []string { + return []string{ + HumanTaskUiStatusActive, + HumanTaskUiStatusDeleting, + } +} + const ( // HyperParameterScalingTypeAuto is a HyperParameterScalingType enum value HyperParameterScalingTypeAuto = "Auto" @@ -49189,6 +49610,16 @@ const ( HyperParameterScalingTypeReverseLogarithmic = "ReverseLogarithmic" ) +// HyperParameterScalingType_Values returns all elements of the HyperParameterScalingType enum +func HyperParameterScalingType_Values() []string { + return []string{ + HyperParameterScalingTypeAuto, + HyperParameterScalingTypeLinear, + HyperParameterScalingTypeLogarithmic, + HyperParameterScalingTypeReverseLogarithmic, + } +} + const ( // HyperParameterTuningJobObjectiveTypeMaximize is a HyperParameterTuningJobObjectiveType enum value HyperParameterTuningJobObjectiveTypeMaximize = "Maximize" @@ -49197,6 +49628,14 @@ const ( HyperParameterTuningJobObjectiveTypeMinimize = "Minimize" ) +// HyperParameterTuningJobObjectiveType_Values returns all elements of the HyperParameterTuningJobObjectiveType enum +func HyperParameterTuningJobObjectiveType_Values() []string { + return []string{ + HyperParameterTuningJobObjectiveTypeMaximize, + HyperParameterTuningJobObjectiveTypeMinimize, + } +} + const ( // HyperParameterTuningJobSortByOptionsName is a HyperParameterTuningJobSortByOptions enum value HyperParameterTuningJobSortByOptionsName = "Name" @@ -49208,6 +49647,15 @@ const ( HyperParameterTuningJobSortByOptionsCreationTime = "CreationTime" ) +// HyperParameterTuningJobSortByOptions_Values returns all elements of the HyperParameterTuningJobSortByOptions enum +func HyperParameterTuningJobSortByOptions_Values() []string { + return []string{ + HyperParameterTuningJobSortByOptionsName, + HyperParameterTuningJobSortByOptionsStatus, + HyperParameterTuningJobSortByOptionsCreationTime, + } +} + const ( // HyperParameterTuningJobStatusCompleted is a HyperParameterTuningJobStatus enum value HyperParameterTuningJobStatusCompleted = "Completed" @@ -49225,6 +49673,17 @@ const ( HyperParameterTuningJobStatusStopping = "Stopping" ) +// HyperParameterTuningJobStatus_Values returns all elements of the HyperParameterTuningJobStatus enum +func HyperParameterTuningJobStatus_Values() []string { + return []string{ + HyperParameterTuningJobStatusCompleted, + HyperParameterTuningJobStatusInProgress, + HyperParameterTuningJobStatusFailed, + HyperParameterTuningJobStatusStopped, + HyperParameterTuningJobStatusStopping, + } +} + // The strategy hyperparameter tuning uses to find the best combination of hyperparameters // for your model. Currently, the only supported value is Bayesian. const ( @@ -49235,6 +49694,14 @@ const ( HyperParameterTuningJobStrategyTypeRandom = "Random" ) +// HyperParameterTuningJobStrategyType_Values returns all elements of the HyperParameterTuningJobStrategyType enum +func HyperParameterTuningJobStrategyType_Values() []string { + return []string{ + HyperParameterTuningJobStrategyTypeBayesian, + HyperParameterTuningJobStrategyTypeRandom, + } +} + const ( // HyperParameterTuningJobWarmStartTypeIdenticalDataAndAlgorithm is a HyperParameterTuningJobWarmStartType enum value HyperParameterTuningJobWarmStartTypeIdenticalDataAndAlgorithm = "IdenticalDataAndAlgorithm" @@ -49243,6 +49710,14 @@ const ( HyperParameterTuningJobWarmStartTypeTransferLearning = "TransferLearning" ) +// HyperParameterTuningJobWarmStartType_Values returns all elements of the HyperParameterTuningJobWarmStartType enum +func HyperParameterTuningJobWarmStartType_Values() []string { + return []string{ + HyperParameterTuningJobWarmStartTypeIdenticalDataAndAlgorithm, + HyperParameterTuningJobWarmStartTypeTransferLearning, + } +} + const ( // InstanceTypeMlT2Medium is a InstanceType enum value InstanceTypeMlT2Medium = "ml.t2.medium" @@ -49359,6 +49834,50 @@ const ( InstanceTypeMlP316xlarge = "ml.p3.16xlarge" ) +// InstanceType_Values returns all elements of the InstanceType enum +func InstanceType_Values() []string { + return []string{ + InstanceTypeMlT2Medium, + InstanceTypeMlT2Large, + InstanceTypeMlT2Xlarge, + InstanceTypeMlT22xlarge, + InstanceTypeMlT3Medium, + InstanceTypeMlT3Large, + InstanceTypeMlT3Xlarge, + InstanceTypeMlT32xlarge, + InstanceTypeMlM4Xlarge, + InstanceTypeMlM42xlarge, + InstanceTypeMlM44xlarge, + InstanceTypeMlM410xlarge, + InstanceTypeMlM416xlarge, + InstanceTypeMlM5Xlarge, + InstanceTypeMlM52xlarge, + InstanceTypeMlM54xlarge, + InstanceTypeMlM512xlarge, + InstanceTypeMlM524xlarge, + InstanceTypeMlC4Xlarge, + InstanceTypeMlC42xlarge, + InstanceTypeMlC44xlarge, + InstanceTypeMlC48xlarge, + InstanceTypeMlC5Xlarge, + InstanceTypeMlC52xlarge, + InstanceTypeMlC54xlarge, + InstanceTypeMlC59xlarge, + InstanceTypeMlC518xlarge, + InstanceTypeMlC5dXlarge, + InstanceTypeMlC5d2xlarge, + InstanceTypeMlC5d4xlarge, + InstanceTypeMlC5d9xlarge, + InstanceTypeMlC5d18xlarge, + InstanceTypeMlP2Xlarge, + InstanceTypeMlP28xlarge, + InstanceTypeMlP216xlarge, + InstanceTypeMlP32xlarge, + InstanceTypeMlP38xlarge, + InstanceTypeMlP316xlarge, + } +} + const ( // JoinSourceInput is a JoinSource enum value JoinSourceInput = "Input" @@ -49367,6 +49886,14 @@ const ( JoinSourceNone = "None" ) +// JoinSource_Values returns all elements of the JoinSource enum +func JoinSource_Values() []string { + return []string{ + JoinSourceInput, + JoinSourceNone, + } +} + const ( // LabelingJobStatusInitializing is a LabelingJobStatus enum value LabelingJobStatusInitializing = "Initializing" @@ -49387,6 +49914,18 @@ const ( LabelingJobStatusStopped = "Stopped" ) +// LabelingJobStatus_Values returns all elements of the LabelingJobStatus enum +func LabelingJobStatus_Values() []string { + return []string{ + LabelingJobStatusInitializing, + LabelingJobStatusInProgress, + LabelingJobStatusCompleted, + LabelingJobStatusFailed, + LabelingJobStatusStopping, + LabelingJobStatusStopped, + } +} + const ( // ListCompilationJobsSortByName is a ListCompilationJobsSortBy enum value ListCompilationJobsSortByName = "Name" @@ -49398,11 +49937,27 @@ const ( ListCompilationJobsSortByStatus = "Status" ) +// ListCompilationJobsSortBy_Values returns all elements of the ListCompilationJobsSortBy enum +func ListCompilationJobsSortBy_Values() []string { + return []string{ + ListCompilationJobsSortByName, + ListCompilationJobsSortByCreationTime, + ListCompilationJobsSortByStatus, + } +} + const ( // ListLabelingJobsForWorkteamSortByOptionsCreationTime is a ListLabelingJobsForWorkteamSortByOptions enum value ListLabelingJobsForWorkteamSortByOptionsCreationTime = "CreationTime" ) +// ListLabelingJobsForWorkteamSortByOptions_Values returns all elements of the ListLabelingJobsForWorkteamSortByOptions enum +func ListLabelingJobsForWorkteamSortByOptions_Values() []string { + return []string{ + ListLabelingJobsForWorkteamSortByOptionsCreationTime, + } +} + const ( // ListWorkforcesSortByOptionsName is a ListWorkforcesSortByOptions enum value ListWorkforcesSortByOptionsName = "Name" @@ -49411,6 +49966,14 @@ const ( ListWorkforcesSortByOptionsCreateDate = "CreateDate" ) +// ListWorkforcesSortByOptions_Values returns all elements of the ListWorkforcesSortByOptions enum +func ListWorkforcesSortByOptions_Values() []string { + return []string{ + ListWorkforcesSortByOptionsName, + ListWorkforcesSortByOptionsCreateDate, + } +} + const ( // ListWorkteamsSortByOptionsName is a ListWorkteamsSortByOptions enum value ListWorkteamsSortByOptionsName = "Name" @@ -49419,6 +49982,14 @@ const ( ListWorkteamsSortByOptionsCreateDate = "CreateDate" ) +// ListWorkteamsSortByOptions_Values returns all elements of the ListWorkteamsSortByOptions enum +func ListWorkteamsSortByOptions_Values() []string { + return []string{ + ListWorkteamsSortByOptionsName, + ListWorkteamsSortByOptionsCreateDate, + } +} + const ( // ModelPackageSortByName is a ModelPackageSortBy enum value ModelPackageSortByName = "Name" @@ -49427,6 +49998,14 @@ const ( ModelPackageSortByCreationTime = "CreationTime" ) +// ModelPackageSortBy_Values returns all elements of the ModelPackageSortBy enum +func ModelPackageSortBy_Values() []string { + return []string{ + ModelPackageSortByName, + ModelPackageSortByCreationTime, + } +} + const ( // ModelPackageStatusPending is a ModelPackageStatus enum value ModelPackageStatusPending = "Pending" @@ -49444,6 +50023,17 @@ const ( ModelPackageStatusDeleting = "Deleting" ) +// ModelPackageStatus_Values returns all elements of the ModelPackageStatus enum +func ModelPackageStatus_Values() []string { + return []string{ + ModelPackageStatusPending, + ModelPackageStatusInProgress, + ModelPackageStatusCompleted, + ModelPackageStatusFailed, + ModelPackageStatusDeleting, + } +} + const ( // ModelSortKeyName is a ModelSortKey enum value ModelSortKeyName = "Name" @@ -49452,6 +50042,14 @@ const ( ModelSortKeyCreationTime = "CreationTime" ) +// ModelSortKey_Values returns all elements of the ModelSortKey enum +func ModelSortKey_Values() []string { + return []string{ + ModelSortKeyName, + ModelSortKeyCreationTime, + } +} + const ( // MonitoringExecutionSortKeyCreationTime is a MonitoringExecutionSortKey enum value MonitoringExecutionSortKeyCreationTime = "CreationTime" @@ -49463,6 +50061,15 @@ const ( MonitoringExecutionSortKeyStatus = "Status" ) +// MonitoringExecutionSortKey_Values returns all elements of the MonitoringExecutionSortKey enum +func MonitoringExecutionSortKey_Values() []string { + return []string{ + MonitoringExecutionSortKeyCreationTime, + MonitoringExecutionSortKeyScheduledTime, + MonitoringExecutionSortKeyStatus, + } +} + const ( // MonitoringScheduleSortKeyName is a MonitoringScheduleSortKey enum value MonitoringScheduleSortKeyName = "Name" @@ -49474,6 +50081,15 @@ const ( MonitoringScheduleSortKeyStatus = "Status" ) +// MonitoringScheduleSortKey_Values returns all elements of the MonitoringScheduleSortKey enum +func MonitoringScheduleSortKey_Values() []string { + return []string{ + MonitoringScheduleSortKeyName, + MonitoringScheduleSortKeyCreationTime, + MonitoringScheduleSortKeyStatus, + } +} + const ( // NotebookInstanceAcceleratorTypeMlEia1Medium is a NotebookInstanceAcceleratorType enum value NotebookInstanceAcceleratorTypeMlEia1Medium = "ml.eia1.medium" @@ -49494,6 +50110,18 @@ const ( NotebookInstanceAcceleratorTypeMlEia2Xlarge = "ml.eia2.xlarge" ) +// NotebookInstanceAcceleratorType_Values returns all elements of the NotebookInstanceAcceleratorType enum +func NotebookInstanceAcceleratorType_Values() []string { + return []string{ + NotebookInstanceAcceleratorTypeMlEia1Medium, + NotebookInstanceAcceleratorTypeMlEia1Large, + NotebookInstanceAcceleratorTypeMlEia1Xlarge, + NotebookInstanceAcceleratorTypeMlEia2Medium, + NotebookInstanceAcceleratorTypeMlEia2Large, + NotebookInstanceAcceleratorTypeMlEia2Xlarge, + } +} + const ( // NotebookInstanceLifecycleConfigSortKeyName is a NotebookInstanceLifecycleConfigSortKey enum value NotebookInstanceLifecycleConfigSortKeyName = "Name" @@ -49505,6 +50133,15 @@ const ( NotebookInstanceLifecycleConfigSortKeyLastModifiedTime = "LastModifiedTime" ) +// NotebookInstanceLifecycleConfigSortKey_Values returns all elements of the NotebookInstanceLifecycleConfigSortKey enum +func NotebookInstanceLifecycleConfigSortKey_Values() []string { + return []string{ + NotebookInstanceLifecycleConfigSortKeyName, + NotebookInstanceLifecycleConfigSortKeyCreationTime, + NotebookInstanceLifecycleConfigSortKeyLastModifiedTime, + } +} + const ( // NotebookInstanceLifecycleConfigSortOrderAscending is a NotebookInstanceLifecycleConfigSortOrder enum value NotebookInstanceLifecycleConfigSortOrderAscending = "Ascending" @@ -49513,6 +50150,14 @@ const ( NotebookInstanceLifecycleConfigSortOrderDescending = "Descending" ) +// NotebookInstanceLifecycleConfigSortOrder_Values returns all elements of the NotebookInstanceLifecycleConfigSortOrder enum +func NotebookInstanceLifecycleConfigSortOrder_Values() []string { + return []string{ + NotebookInstanceLifecycleConfigSortOrderAscending, + NotebookInstanceLifecycleConfigSortOrderDescending, + } +} + const ( // NotebookInstanceSortKeyName is a NotebookInstanceSortKey enum value NotebookInstanceSortKeyName = "Name" @@ -49524,6 +50169,15 @@ const ( NotebookInstanceSortKeyStatus = "Status" ) +// NotebookInstanceSortKey_Values returns all elements of the NotebookInstanceSortKey enum +func NotebookInstanceSortKey_Values() []string { + return []string{ + NotebookInstanceSortKeyName, + NotebookInstanceSortKeyCreationTime, + NotebookInstanceSortKeyStatus, + } +} + const ( // NotebookInstanceSortOrderAscending is a NotebookInstanceSortOrder enum value NotebookInstanceSortOrderAscending = "Ascending" @@ -49532,6 +50186,14 @@ const ( NotebookInstanceSortOrderDescending = "Descending" ) +// NotebookInstanceSortOrder_Values returns all elements of the NotebookInstanceSortOrder enum +func NotebookInstanceSortOrder_Values() []string { + return []string{ + NotebookInstanceSortOrderAscending, + NotebookInstanceSortOrderDescending, + } +} + const ( // NotebookInstanceStatusPending is a NotebookInstanceStatus enum value NotebookInstanceStatusPending = "Pending" @@ -49555,6 +50217,19 @@ const ( NotebookInstanceStatusUpdating = "Updating" ) +// NotebookInstanceStatus_Values returns all elements of the NotebookInstanceStatus enum +func NotebookInstanceStatus_Values() []string { + return []string{ + NotebookInstanceStatusPending, + NotebookInstanceStatusInService, + NotebookInstanceStatusStopping, + NotebookInstanceStatusStopped, + NotebookInstanceStatusFailed, + NotebookInstanceStatusDeleting, + NotebookInstanceStatusUpdating, + } +} + const ( // NotebookOutputOptionAllowed is a NotebookOutputOption enum value NotebookOutputOptionAllowed = "Allowed" @@ -49563,6 +50238,14 @@ const ( NotebookOutputOptionDisabled = "Disabled" ) +// NotebookOutputOption_Values returns all elements of the NotebookOutputOption enum +func NotebookOutputOption_Values() []string { + return []string{ + NotebookOutputOptionAllowed, + NotebookOutputOptionDisabled, + } +} + const ( // ObjectiveStatusSucceeded is a ObjectiveStatus enum value ObjectiveStatusSucceeded = "Succeeded" @@ -49574,6 +50257,15 @@ const ( ObjectiveStatusFailed = "Failed" ) +// ObjectiveStatus_Values returns all elements of the ObjectiveStatus enum +func ObjectiveStatus_Values() []string { + return []string{ + ObjectiveStatusSucceeded, + ObjectiveStatusPending, + ObjectiveStatusFailed, + } +} + const ( // OperatorEquals is a Operator enum value OperatorEquals = "Equals" @@ -49606,6 +50298,22 @@ const ( OperatorIn = "In" ) +// Operator_Values returns all elements of the Operator enum +func Operator_Values() []string { + return []string{ + OperatorEquals, + OperatorNotEquals, + OperatorGreaterThan, + OperatorGreaterThanOrEqualTo, + OperatorLessThan, + OperatorLessThanOrEqualTo, + OperatorContains, + OperatorExists, + OperatorNotExists, + OperatorIn, + } +} + const ( // OrderKeyAscending is a OrderKey enum value OrderKeyAscending = "Ascending" @@ -49614,6 +50322,14 @@ const ( OrderKeyDescending = "Descending" ) +// OrderKey_Values returns all elements of the OrderKey enum +func OrderKey_Values() []string { + return []string{ + OrderKeyAscending, + OrderKeyDescending, + } +} + const ( // ParameterTypeInteger is a ParameterType enum value ParameterTypeInteger = "Integer" @@ -49628,6 +50344,16 @@ const ( ParameterTypeFreeText = "FreeText" ) +// ParameterType_Values returns all elements of the ParameterType enum +func ParameterType_Values() []string { + return []string{ + ParameterTypeInteger, + ParameterTypeContinuous, + ParameterTypeCategorical, + ParameterTypeFreeText, + } +} + const ( // ProblemTypeBinaryClassification is a ProblemType enum value ProblemTypeBinaryClassification = "BinaryClassification" @@ -49639,6 +50365,15 @@ const ( ProblemTypeRegression = "Regression" ) +// ProblemType_Values returns all elements of the ProblemType enum +func ProblemType_Values() []string { + return []string{ + ProblemTypeBinaryClassification, + ProblemTypeMulticlassClassification, + ProblemTypeRegression, + } +} + const ( // ProcessingInstanceTypeMlT3Medium is a ProcessingInstanceType enum value ProcessingInstanceTypeMlT3Medium = "ml.t3.medium" @@ -49755,6 +50490,50 @@ const ( ProcessingInstanceTypeMlR524xlarge = "ml.r5.24xlarge" ) +// ProcessingInstanceType_Values returns all elements of the ProcessingInstanceType enum +func ProcessingInstanceType_Values() []string { + return []string{ + ProcessingInstanceTypeMlT3Medium, + ProcessingInstanceTypeMlT3Large, + ProcessingInstanceTypeMlT3Xlarge, + ProcessingInstanceTypeMlT32xlarge, + ProcessingInstanceTypeMlM4Xlarge, + ProcessingInstanceTypeMlM42xlarge, + ProcessingInstanceTypeMlM44xlarge, + ProcessingInstanceTypeMlM410xlarge, + ProcessingInstanceTypeMlM416xlarge, + ProcessingInstanceTypeMlC4Xlarge, + ProcessingInstanceTypeMlC42xlarge, + ProcessingInstanceTypeMlC44xlarge, + ProcessingInstanceTypeMlC48xlarge, + ProcessingInstanceTypeMlP2Xlarge, + ProcessingInstanceTypeMlP28xlarge, + ProcessingInstanceTypeMlP216xlarge, + ProcessingInstanceTypeMlP32xlarge, + ProcessingInstanceTypeMlP38xlarge, + ProcessingInstanceTypeMlP316xlarge, + ProcessingInstanceTypeMlC5Xlarge, + ProcessingInstanceTypeMlC52xlarge, + ProcessingInstanceTypeMlC54xlarge, + ProcessingInstanceTypeMlC59xlarge, + ProcessingInstanceTypeMlC518xlarge, + ProcessingInstanceTypeMlM5Large, + ProcessingInstanceTypeMlM5Xlarge, + ProcessingInstanceTypeMlM52xlarge, + ProcessingInstanceTypeMlM54xlarge, + ProcessingInstanceTypeMlM512xlarge, + ProcessingInstanceTypeMlM524xlarge, + ProcessingInstanceTypeMlR5Large, + ProcessingInstanceTypeMlR5Xlarge, + ProcessingInstanceTypeMlR52xlarge, + ProcessingInstanceTypeMlR54xlarge, + ProcessingInstanceTypeMlR58xlarge, + ProcessingInstanceTypeMlR512xlarge, + ProcessingInstanceTypeMlR516xlarge, + ProcessingInstanceTypeMlR524xlarge, + } +} + const ( // ProcessingJobStatusInProgress is a ProcessingJobStatus enum value ProcessingJobStatusInProgress = "InProgress" @@ -49772,6 +50551,17 @@ const ( ProcessingJobStatusStopped = "Stopped" ) +// ProcessingJobStatus_Values returns all elements of the ProcessingJobStatus enum +func ProcessingJobStatus_Values() []string { + return []string{ + ProcessingJobStatusInProgress, + ProcessingJobStatusCompleted, + ProcessingJobStatusFailed, + ProcessingJobStatusStopping, + ProcessingJobStatusStopped, + } +} + const ( // ProcessingS3CompressionTypeNone is a ProcessingS3CompressionType enum value ProcessingS3CompressionTypeNone = "None" @@ -49780,6 +50570,14 @@ const ( ProcessingS3CompressionTypeGzip = "Gzip" ) +// ProcessingS3CompressionType_Values returns all elements of the ProcessingS3CompressionType enum +func ProcessingS3CompressionType_Values() []string { + return []string{ + ProcessingS3CompressionTypeNone, + ProcessingS3CompressionTypeGzip, + } +} + const ( // ProcessingS3DataDistributionTypeFullyReplicated is a ProcessingS3DataDistributionType enum value ProcessingS3DataDistributionTypeFullyReplicated = "FullyReplicated" @@ -49788,6 +50586,14 @@ const ( ProcessingS3DataDistributionTypeShardedByS3key = "ShardedByS3Key" ) +// ProcessingS3DataDistributionType_Values returns all elements of the ProcessingS3DataDistributionType enum +func ProcessingS3DataDistributionType_Values() []string { + return []string{ + ProcessingS3DataDistributionTypeFullyReplicated, + ProcessingS3DataDistributionTypeShardedByS3key, + } +} + const ( // ProcessingS3DataTypeManifestFile is a ProcessingS3DataType enum value ProcessingS3DataTypeManifestFile = "ManifestFile" @@ -49796,6 +50602,14 @@ const ( ProcessingS3DataTypeS3prefix = "S3Prefix" ) +// ProcessingS3DataType_Values returns all elements of the ProcessingS3DataType enum +func ProcessingS3DataType_Values() []string { + return []string{ + ProcessingS3DataTypeManifestFile, + ProcessingS3DataTypeS3prefix, + } +} + const ( // ProcessingS3InputModePipe is a ProcessingS3InputMode enum value ProcessingS3InputModePipe = "Pipe" @@ -49804,6 +50618,14 @@ const ( ProcessingS3InputModeFile = "File" ) +// ProcessingS3InputMode_Values returns all elements of the ProcessingS3InputMode enum +func ProcessingS3InputMode_Values() []string { + return []string{ + ProcessingS3InputModePipe, + ProcessingS3InputModeFile, + } +} + const ( // ProcessingS3UploadModeContinuous is a ProcessingS3UploadMode enum value ProcessingS3UploadModeContinuous = "Continuous" @@ -49812,6 +50634,14 @@ const ( ProcessingS3UploadModeEndOfJob = "EndOfJob" ) +// ProcessingS3UploadMode_Values returns all elements of the ProcessingS3UploadMode enum +func ProcessingS3UploadMode_Values() []string { + return []string{ + ProcessingS3UploadModeContinuous, + ProcessingS3UploadModeEndOfJob, + } +} + const ( // ProductionVariantAcceleratorTypeMlEia1Medium is a ProductionVariantAcceleratorType enum value ProductionVariantAcceleratorTypeMlEia1Medium = "ml.eia1.medium" @@ -49832,6 +50662,18 @@ const ( ProductionVariantAcceleratorTypeMlEia2Xlarge = "ml.eia2.xlarge" ) +// ProductionVariantAcceleratorType_Values returns all elements of the ProductionVariantAcceleratorType enum +func ProductionVariantAcceleratorType_Values() []string { + return []string{ + ProductionVariantAcceleratorTypeMlEia1Medium, + ProductionVariantAcceleratorTypeMlEia1Large, + ProductionVariantAcceleratorTypeMlEia1Xlarge, + ProductionVariantAcceleratorTypeMlEia2Medium, + ProductionVariantAcceleratorTypeMlEia2Large, + ProductionVariantAcceleratorTypeMlEia2Xlarge, + } +} + const ( // ProductionVariantInstanceTypeMlT2Medium is a ProductionVariantInstanceType enum value ProductionVariantInstanceTypeMlT2Medium = "ml.t2.medium" @@ -50032,6 +50874,78 @@ const ( ProductionVariantInstanceTypeMlInf124xlarge = "ml.inf1.24xlarge" ) +// ProductionVariantInstanceType_Values returns all elements of the ProductionVariantInstanceType enum +func ProductionVariantInstanceType_Values() []string { + return []string{ + ProductionVariantInstanceTypeMlT2Medium, + ProductionVariantInstanceTypeMlT2Large, + ProductionVariantInstanceTypeMlT2Xlarge, + ProductionVariantInstanceTypeMlT22xlarge, + ProductionVariantInstanceTypeMlM4Xlarge, + ProductionVariantInstanceTypeMlM42xlarge, + ProductionVariantInstanceTypeMlM44xlarge, + ProductionVariantInstanceTypeMlM410xlarge, + ProductionVariantInstanceTypeMlM416xlarge, + ProductionVariantInstanceTypeMlM5Large, + ProductionVariantInstanceTypeMlM5Xlarge, + ProductionVariantInstanceTypeMlM52xlarge, + ProductionVariantInstanceTypeMlM54xlarge, + ProductionVariantInstanceTypeMlM512xlarge, + ProductionVariantInstanceTypeMlM524xlarge, + ProductionVariantInstanceTypeMlM5dLarge, + ProductionVariantInstanceTypeMlM5dXlarge, + ProductionVariantInstanceTypeMlM5d2xlarge, + ProductionVariantInstanceTypeMlM5d4xlarge, + ProductionVariantInstanceTypeMlM5d12xlarge, + ProductionVariantInstanceTypeMlM5d24xlarge, + ProductionVariantInstanceTypeMlC4Large, + ProductionVariantInstanceTypeMlC4Xlarge, + ProductionVariantInstanceTypeMlC42xlarge, + ProductionVariantInstanceTypeMlC44xlarge, + ProductionVariantInstanceTypeMlC48xlarge, + ProductionVariantInstanceTypeMlP2Xlarge, + ProductionVariantInstanceTypeMlP28xlarge, + ProductionVariantInstanceTypeMlP216xlarge, + ProductionVariantInstanceTypeMlP32xlarge, + ProductionVariantInstanceTypeMlP38xlarge, + ProductionVariantInstanceTypeMlP316xlarge, + ProductionVariantInstanceTypeMlC5Large, + ProductionVariantInstanceTypeMlC5Xlarge, + ProductionVariantInstanceTypeMlC52xlarge, + ProductionVariantInstanceTypeMlC54xlarge, + ProductionVariantInstanceTypeMlC59xlarge, + ProductionVariantInstanceTypeMlC518xlarge, + ProductionVariantInstanceTypeMlC5dLarge, + ProductionVariantInstanceTypeMlC5dXlarge, + ProductionVariantInstanceTypeMlC5d2xlarge, + ProductionVariantInstanceTypeMlC5d4xlarge, + ProductionVariantInstanceTypeMlC5d9xlarge, + ProductionVariantInstanceTypeMlC5d18xlarge, + ProductionVariantInstanceTypeMlG4dnXlarge, + ProductionVariantInstanceTypeMlG4dn2xlarge, + ProductionVariantInstanceTypeMlG4dn4xlarge, + ProductionVariantInstanceTypeMlG4dn8xlarge, + ProductionVariantInstanceTypeMlG4dn12xlarge, + ProductionVariantInstanceTypeMlG4dn16xlarge, + ProductionVariantInstanceTypeMlR5Large, + ProductionVariantInstanceTypeMlR5Xlarge, + ProductionVariantInstanceTypeMlR52xlarge, + ProductionVariantInstanceTypeMlR54xlarge, + ProductionVariantInstanceTypeMlR512xlarge, + ProductionVariantInstanceTypeMlR524xlarge, + ProductionVariantInstanceTypeMlR5dLarge, + ProductionVariantInstanceTypeMlR5dXlarge, + ProductionVariantInstanceTypeMlR5d2xlarge, + ProductionVariantInstanceTypeMlR5d4xlarge, + ProductionVariantInstanceTypeMlR5d12xlarge, + ProductionVariantInstanceTypeMlR5d24xlarge, + ProductionVariantInstanceTypeMlInf1Xlarge, + ProductionVariantInstanceTypeMlInf12xlarge, + ProductionVariantInstanceTypeMlInf16xlarge, + ProductionVariantInstanceTypeMlInf124xlarge, + } +} + const ( // RecordWrapperNone is a RecordWrapper enum value RecordWrapperNone = "None" @@ -50040,6 +50954,14 @@ const ( RecordWrapperRecordIo = "RecordIO" ) +// RecordWrapper_Values returns all elements of the RecordWrapper enum +func RecordWrapper_Values() []string { + return []string{ + RecordWrapperNone, + RecordWrapperRecordIo, + } +} + const ( // ResourceTypeTrainingJob is a ResourceType enum value ResourceTypeTrainingJob = "TrainingJob" @@ -50054,6 +50976,16 @@ const ( ResourceTypeExperimentTrialComponent = "ExperimentTrialComponent" ) +// ResourceType_Values returns all elements of the ResourceType enum +func ResourceType_Values() []string { + return []string{ + ResourceTypeTrainingJob, + ResourceTypeExperiment, + ResourceTypeExperimentTrial, + ResourceTypeExperimentTrialComponent, + } +} + const ( // RetentionTypeRetain is a RetentionType enum value RetentionTypeRetain = "Retain" @@ -50062,6 +50994,14 @@ const ( RetentionTypeDelete = "Delete" ) +// RetentionType_Values returns all elements of the RetentionType enum +func RetentionType_Values() []string { + return []string{ + RetentionTypeRetain, + RetentionTypeDelete, + } +} + const ( // RootAccessEnabled is a RootAccess enum value RootAccessEnabled = "Enabled" @@ -50070,6 +51010,14 @@ const ( RootAccessDisabled = "Disabled" ) +// RootAccess_Values returns all elements of the RootAccess enum +func RootAccess_Values() []string { + return []string{ + RootAccessEnabled, + RootAccessDisabled, + } +} + const ( // RuleEvaluationStatusInProgress is a RuleEvaluationStatus enum value RuleEvaluationStatusInProgress = "InProgress" @@ -50090,6 +51038,18 @@ const ( RuleEvaluationStatusStopped = "Stopped" ) +// RuleEvaluationStatus_Values returns all elements of the RuleEvaluationStatus enum +func RuleEvaluationStatus_Values() []string { + return []string{ + RuleEvaluationStatusInProgress, + RuleEvaluationStatusNoIssuesFound, + RuleEvaluationStatusIssuesFound, + RuleEvaluationStatusError, + RuleEvaluationStatusStopping, + RuleEvaluationStatusStopped, + } +} + const ( // S3DataDistributionFullyReplicated is a S3DataDistribution enum value S3DataDistributionFullyReplicated = "FullyReplicated" @@ -50098,6 +51058,14 @@ const ( S3DataDistributionShardedByS3key = "ShardedByS3Key" ) +// S3DataDistribution_Values returns all elements of the S3DataDistribution enum +func S3DataDistribution_Values() []string { + return []string{ + S3DataDistributionFullyReplicated, + S3DataDistributionShardedByS3key, + } +} + const ( // S3DataTypeManifestFile is a S3DataType enum value S3DataTypeManifestFile = "ManifestFile" @@ -50109,6 +51077,15 @@ const ( S3DataTypeAugmentedManifestFile = "AugmentedManifestFile" ) +// S3DataType_Values returns all elements of the S3DataType enum +func S3DataType_Values() []string { + return []string{ + S3DataTypeManifestFile, + S3DataTypeS3prefix, + S3DataTypeAugmentedManifestFile, + } +} + const ( // ScheduleStatusPending is a ScheduleStatus enum value ScheduleStatusPending = "Pending" @@ -50123,6 +51100,16 @@ const ( ScheduleStatusStopped = "Stopped" ) +// ScheduleStatus_Values returns all elements of the ScheduleStatus enum +func ScheduleStatus_Values() []string { + return []string{ + ScheduleStatusPending, + ScheduleStatusFailed, + ScheduleStatusScheduled, + ScheduleStatusStopped, + } +} + const ( // SearchSortOrderAscending is a SearchSortOrder enum value SearchSortOrderAscending = "Ascending" @@ -50131,6 +51118,14 @@ const ( SearchSortOrderDescending = "Descending" ) +// SearchSortOrder_Values returns all elements of the SearchSortOrder enum +func SearchSortOrder_Values() []string { + return []string{ + SearchSortOrderAscending, + SearchSortOrderDescending, + } +} + const ( // SecondaryStatusStarting is a SecondaryStatus enum value SecondaryStatusStarting = "Starting" @@ -50175,6 +51170,26 @@ const ( SecondaryStatusMaxWaitTimeExceeded = "MaxWaitTimeExceeded" ) +// SecondaryStatus_Values returns all elements of the SecondaryStatus enum +func SecondaryStatus_Values() []string { + return []string{ + SecondaryStatusStarting, + SecondaryStatusLaunchingMlinstances, + SecondaryStatusPreparingTrainingStack, + SecondaryStatusDownloading, + SecondaryStatusDownloadingTrainingImage, + SecondaryStatusTraining, + SecondaryStatusUploading, + SecondaryStatusStopping, + SecondaryStatusStopped, + SecondaryStatusMaxRuntimeExceeded, + SecondaryStatusCompleted, + SecondaryStatusFailed, + SecondaryStatusInterrupted, + SecondaryStatusMaxWaitTimeExceeded, + } +} + const ( // SortByName is a SortBy enum value SortByName = "Name" @@ -50186,6 +51201,15 @@ const ( SortByStatus = "Status" ) +// SortBy_Values returns all elements of the SortBy enum +func SortBy_Values() []string { + return []string{ + SortByName, + SortByCreationTime, + SortByStatus, + } +} + const ( // SortExperimentsByName is a SortExperimentsBy enum value SortExperimentsByName = "Name" @@ -50194,6 +51218,14 @@ const ( SortExperimentsByCreationTime = "CreationTime" ) +// SortExperimentsBy_Values returns all elements of the SortExperimentsBy enum +func SortExperimentsBy_Values() []string { + return []string{ + SortExperimentsByName, + SortExperimentsByCreationTime, + } +} + const ( // SortOrderAscending is a SortOrder enum value SortOrderAscending = "Ascending" @@ -50202,6 +51234,14 @@ const ( SortOrderDescending = "Descending" ) +// SortOrder_Values returns all elements of the SortOrder enum +func SortOrder_Values() []string { + return []string{ + SortOrderAscending, + SortOrderDescending, + } +} + const ( // SortTrialComponentsByName is a SortTrialComponentsBy enum value SortTrialComponentsByName = "Name" @@ -50210,6 +51250,14 @@ const ( SortTrialComponentsByCreationTime = "CreationTime" ) +// SortTrialComponentsBy_Values returns all elements of the SortTrialComponentsBy enum +func SortTrialComponentsBy_Values() []string { + return []string{ + SortTrialComponentsByName, + SortTrialComponentsByCreationTime, + } +} + const ( // SortTrialsByName is a SortTrialsBy enum value SortTrialsByName = "Name" @@ -50218,6 +51266,14 @@ const ( SortTrialsByCreationTime = "CreationTime" ) +// SortTrialsBy_Values returns all elements of the SortTrialsBy enum +func SortTrialsBy_Values() []string { + return []string{ + SortTrialsByName, + SortTrialsByCreationTime, + } +} + const ( // SplitTypeNone is a SplitType enum value SplitTypeNone = "None" @@ -50232,6 +51288,16 @@ const ( SplitTypeTfrecord = "TFRecord" ) +// SplitType_Values returns all elements of the SplitType enum +func SplitType_Values() []string { + return []string{ + SplitTypeNone, + SplitTypeLine, + SplitTypeRecordIo, + SplitTypeTfrecord, + } +} + const ( // TargetDeviceLambda is a TargetDevice enum value TargetDeviceLambda = "lambda" @@ -50312,6 +51378,38 @@ const ( TargetDeviceX86Win64 = "x86_win64" ) +// TargetDevice_Values returns all elements of the TargetDevice enum +func TargetDevice_Values() []string { + return []string{ + TargetDeviceLambda, + TargetDeviceMlM4, + TargetDeviceMlM5, + TargetDeviceMlC4, + TargetDeviceMlC5, + TargetDeviceMlP2, + TargetDeviceMlP3, + TargetDeviceMlG4dn, + TargetDeviceMlInf1, + TargetDeviceJetsonTx1, + TargetDeviceJetsonTx2, + TargetDeviceJetsonNano, + TargetDeviceJetsonXavier, + TargetDeviceRasp3b, + TargetDeviceImx8qm, + TargetDeviceDeeplens, + TargetDeviceRk3399, + TargetDeviceRk3288, + TargetDeviceAisage, + TargetDeviceSbeC, + TargetDeviceQcs605, + TargetDeviceQcs603, + TargetDeviceSitaraAm57x, + TargetDeviceAmbaCv22, + TargetDeviceX86Win32, + TargetDeviceX86Win64, + } +} + const ( // TargetPlatformAcceleratorIntelGraphics is a TargetPlatformAccelerator enum value TargetPlatformAcceleratorIntelGraphics = "INTEL_GRAPHICS" @@ -50323,6 +51421,15 @@ const ( TargetPlatformAcceleratorNvidia = "NVIDIA" ) +// TargetPlatformAccelerator_Values returns all elements of the TargetPlatformAccelerator enum +func TargetPlatformAccelerator_Values() []string { + return []string{ + TargetPlatformAcceleratorIntelGraphics, + TargetPlatformAcceleratorMali, + TargetPlatformAcceleratorNvidia, + } +} + const ( // TargetPlatformArchX8664 is a TargetPlatformArch enum value TargetPlatformArchX8664 = "X86_64" @@ -50340,6 +51447,17 @@ const ( TargetPlatformArchArmEabihf = "ARM_EABIHF" ) +// TargetPlatformArch_Values returns all elements of the TargetPlatformArch enum +func TargetPlatformArch_Values() []string { + return []string{ + TargetPlatformArchX8664, + TargetPlatformArchX86, + TargetPlatformArchArm64, + TargetPlatformArchArmEabi, + TargetPlatformArchArmEabihf, + } +} + const ( // TargetPlatformOsAndroid is a TargetPlatformOs enum value TargetPlatformOsAndroid = "ANDROID" @@ -50348,6 +51466,14 @@ const ( TargetPlatformOsLinux = "LINUX" ) +// TargetPlatformOs_Values returns all elements of the TargetPlatformOs enum +func TargetPlatformOs_Values() []string { + return []string{ + TargetPlatformOsAndroid, + TargetPlatformOsLinux, + } +} + const ( // TrainingInputModePipe is a TrainingInputMode enum value TrainingInputModePipe = "Pipe" @@ -50356,6 +51482,14 @@ const ( TrainingInputModeFile = "File" ) +// TrainingInputMode_Values returns all elements of the TrainingInputMode enum +func TrainingInputMode_Values() []string { + return []string{ + TrainingInputModePipe, + TrainingInputModeFile, + } +} + const ( // TrainingInstanceTypeMlM4Xlarge is a TrainingInstanceType enum value TrainingInstanceTypeMlM4Xlarge = "ml.m4.xlarge" @@ -50472,6 +51606,50 @@ const ( TrainingInstanceTypeMlC5n18xlarge = "ml.c5n.18xlarge" ) +// TrainingInstanceType_Values returns all elements of the TrainingInstanceType enum +func TrainingInstanceType_Values() []string { + return []string{ + TrainingInstanceTypeMlM4Xlarge, + TrainingInstanceTypeMlM42xlarge, + TrainingInstanceTypeMlM44xlarge, + TrainingInstanceTypeMlM410xlarge, + TrainingInstanceTypeMlM416xlarge, + TrainingInstanceTypeMlG4dnXlarge, + TrainingInstanceTypeMlG4dn2xlarge, + TrainingInstanceTypeMlG4dn4xlarge, + TrainingInstanceTypeMlG4dn8xlarge, + TrainingInstanceTypeMlG4dn12xlarge, + TrainingInstanceTypeMlG4dn16xlarge, + TrainingInstanceTypeMlM5Large, + TrainingInstanceTypeMlM5Xlarge, + TrainingInstanceTypeMlM52xlarge, + TrainingInstanceTypeMlM54xlarge, + TrainingInstanceTypeMlM512xlarge, + TrainingInstanceTypeMlM524xlarge, + TrainingInstanceTypeMlC4Xlarge, + TrainingInstanceTypeMlC42xlarge, + TrainingInstanceTypeMlC44xlarge, + TrainingInstanceTypeMlC48xlarge, + TrainingInstanceTypeMlP2Xlarge, + TrainingInstanceTypeMlP28xlarge, + TrainingInstanceTypeMlP216xlarge, + TrainingInstanceTypeMlP32xlarge, + TrainingInstanceTypeMlP38xlarge, + TrainingInstanceTypeMlP316xlarge, + TrainingInstanceTypeMlP3dn24xlarge, + TrainingInstanceTypeMlC5Xlarge, + TrainingInstanceTypeMlC52xlarge, + TrainingInstanceTypeMlC54xlarge, + TrainingInstanceTypeMlC59xlarge, + TrainingInstanceTypeMlC518xlarge, + TrainingInstanceTypeMlC5nXlarge, + TrainingInstanceTypeMlC5n2xlarge, + TrainingInstanceTypeMlC5n4xlarge, + TrainingInstanceTypeMlC5n9xlarge, + TrainingInstanceTypeMlC5n18xlarge, + } +} + const ( // TrainingJobEarlyStoppingTypeOff is a TrainingJobEarlyStoppingType enum value TrainingJobEarlyStoppingTypeOff = "Off" @@ -50480,6 +51658,14 @@ const ( TrainingJobEarlyStoppingTypeAuto = "Auto" ) +// TrainingJobEarlyStoppingType_Values returns all elements of the TrainingJobEarlyStoppingType enum +func TrainingJobEarlyStoppingType_Values() []string { + return []string{ + TrainingJobEarlyStoppingTypeOff, + TrainingJobEarlyStoppingTypeAuto, + } +} + const ( // TrainingJobSortByOptionsName is a TrainingJobSortByOptions enum value TrainingJobSortByOptionsName = "Name" @@ -50494,6 +51680,16 @@ const ( TrainingJobSortByOptionsFinalObjectiveMetricValue = "FinalObjectiveMetricValue" ) +// TrainingJobSortByOptions_Values returns all elements of the TrainingJobSortByOptions enum +func TrainingJobSortByOptions_Values() []string { + return []string{ + TrainingJobSortByOptionsName, + TrainingJobSortByOptionsCreationTime, + TrainingJobSortByOptionsStatus, + TrainingJobSortByOptionsFinalObjectiveMetricValue, + } +} + const ( // TrainingJobStatusInProgress is a TrainingJobStatus enum value TrainingJobStatusInProgress = "InProgress" @@ -50511,6 +51707,17 @@ const ( TrainingJobStatusStopped = "Stopped" ) +// TrainingJobStatus_Values returns all elements of the TrainingJobStatus enum +func TrainingJobStatus_Values() []string { + return []string{ + TrainingJobStatusInProgress, + TrainingJobStatusCompleted, + TrainingJobStatusFailed, + TrainingJobStatusStopping, + TrainingJobStatusStopped, + } +} + const ( // TransformInstanceTypeMlM4Xlarge is a TransformInstanceType enum value TransformInstanceTypeMlM4Xlarge = "ml.m4.xlarge" @@ -50591,6 +51798,38 @@ const ( TransformInstanceTypeMlM524xlarge = "ml.m5.24xlarge" ) +// TransformInstanceType_Values returns all elements of the TransformInstanceType enum +func TransformInstanceType_Values() []string { + return []string{ + TransformInstanceTypeMlM4Xlarge, + TransformInstanceTypeMlM42xlarge, + TransformInstanceTypeMlM44xlarge, + TransformInstanceTypeMlM410xlarge, + TransformInstanceTypeMlM416xlarge, + TransformInstanceTypeMlC4Xlarge, + TransformInstanceTypeMlC42xlarge, + TransformInstanceTypeMlC44xlarge, + TransformInstanceTypeMlC48xlarge, + TransformInstanceTypeMlP2Xlarge, + TransformInstanceTypeMlP28xlarge, + TransformInstanceTypeMlP216xlarge, + TransformInstanceTypeMlP32xlarge, + TransformInstanceTypeMlP38xlarge, + TransformInstanceTypeMlP316xlarge, + TransformInstanceTypeMlC5Xlarge, + TransformInstanceTypeMlC52xlarge, + TransformInstanceTypeMlC54xlarge, + TransformInstanceTypeMlC59xlarge, + TransformInstanceTypeMlC518xlarge, + TransformInstanceTypeMlM5Large, + TransformInstanceTypeMlM5Xlarge, + TransformInstanceTypeMlM52xlarge, + TransformInstanceTypeMlM54xlarge, + TransformInstanceTypeMlM512xlarge, + TransformInstanceTypeMlM524xlarge, + } +} + const ( // TransformJobStatusInProgress is a TransformJobStatus enum value TransformJobStatusInProgress = "InProgress" @@ -50608,6 +51847,17 @@ const ( TransformJobStatusStopped = "Stopped" ) +// TransformJobStatus_Values returns all elements of the TransformJobStatus enum +func TransformJobStatus_Values() []string { + return []string{ + TransformJobStatusInProgress, + TransformJobStatusCompleted, + TransformJobStatusFailed, + TransformJobStatusStopping, + TransformJobStatusStopped, + } +} + const ( // TrialComponentPrimaryStatusInProgress is a TrialComponentPrimaryStatus enum value TrialComponentPrimaryStatusInProgress = "InProgress" @@ -50625,6 +51875,17 @@ const ( TrialComponentPrimaryStatusStopped = "Stopped" ) +// TrialComponentPrimaryStatus_Values returns all elements of the TrialComponentPrimaryStatus enum +func TrialComponentPrimaryStatus_Values() []string { + return []string{ + TrialComponentPrimaryStatusInProgress, + TrialComponentPrimaryStatusCompleted, + TrialComponentPrimaryStatusFailed, + TrialComponentPrimaryStatusStopping, + TrialComponentPrimaryStatusStopped, + } +} + const ( // UserProfileSortKeyCreationTime is a UserProfileSortKey enum value UserProfileSortKeyCreationTime = "CreationTime" @@ -50633,6 +51894,14 @@ const ( UserProfileSortKeyLastModifiedTime = "LastModifiedTime" ) +// UserProfileSortKey_Values returns all elements of the UserProfileSortKey enum +func UserProfileSortKey_Values() []string { + return []string{ + UserProfileSortKeyCreationTime, + UserProfileSortKeyLastModifiedTime, + } +} + const ( // UserProfileStatusDeleting is a UserProfileStatus enum value UserProfileStatusDeleting = "Deleting" @@ -50647,6 +51916,16 @@ const ( UserProfileStatusPending = "Pending" ) +// UserProfileStatus_Values returns all elements of the UserProfileStatus enum +func UserProfileStatus_Values() []string { + return []string{ + UserProfileStatusDeleting, + UserProfileStatusFailed, + UserProfileStatusInService, + UserProfileStatusPending, + } +} + const ( // VariantPropertyTypeDesiredInstanceCount is a VariantPropertyType enum value VariantPropertyTypeDesiredInstanceCount = "DesiredInstanceCount" @@ -50657,3 +51936,12 @@ const ( // VariantPropertyTypeDataCaptureConfig is a VariantPropertyType enum value VariantPropertyTypeDataCaptureConfig = "DataCaptureConfig" ) + +// VariantPropertyType_Values returns all elements of the VariantPropertyType enum +func VariantPropertyType_Values() []string { + return []string{ + VariantPropertyTypeDesiredInstanceCount, + VariantPropertyTypeDesiredWeight, + VariantPropertyTypeDataCaptureConfig, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/secretsmanager/api.go b/vendor/github.com/aws/aws-sdk-go/service/secretsmanager/api.go index c6e769105bc..b89f513d5cc 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/secretsmanager/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/secretsmanager/api.go @@ -6549,6 +6549,17 @@ const ( FilterNameStringTypeAll = "all" ) +// FilterNameStringType_Values returns all elements of the FilterNameStringType enum +func FilterNameStringType_Values() []string { + return []string{ + FilterNameStringTypeDescription, + FilterNameStringTypeName, + FilterNameStringTypeTagKey, + FilterNameStringTypeTagValue, + FilterNameStringTypeAll, + } +} + const ( // SortOrderTypeAsc is a SortOrderType enum value SortOrderTypeAsc = "asc" @@ -6556,3 +6567,11 @@ const ( // SortOrderTypeDesc is a SortOrderType enum value SortOrderTypeDesc = "desc" ) + +// SortOrderType_Values returns all elements of the SortOrderType enum +func SortOrderType_Values() []string { + return []string{ + SortOrderTypeAsc, + SortOrderTypeDesc, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/securityhub/api.go b/vendor/github.com/aws/aws-sdk-go/service/securityhub/api.go index a8cb6e596ab..0d105df98c0 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/securityhub/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/securityhub/api.go @@ -15984,6 +15984,14 @@ const ( AwsIamAccessKeyStatusInactive = "Inactive" ) +// AwsIamAccessKeyStatus_Values returns all elements of the AwsIamAccessKeyStatus enum +func AwsIamAccessKeyStatus_Values() []string { + return []string{ + AwsIamAccessKeyStatusActive, + AwsIamAccessKeyStatusInactive, + } +} + const ( // ComplianceStatusPassed is a ComplianceStatus enum value ComplianceStatusPassed = "PASSED" @@ -15998,6 +16006,16 @@ const ( ComplianceStatusNotAvailable = "NOT_AVAILABLE" ) +// ComplianceStatus_Values returns all elements of the ComplianceStatus enum +func ComplianceStatus_Values() []string { + return []string{ + ComplianceStatusPassed, + ComplianceStatusWarning, + ComplianceStatusFailed, + ComplianceStatusNotAvailable, + } +} + const ( // ControlStatusEnabled is a ControlStatus enum value ControlStatusEnabled = "ENABLED" @@ -16006,11 +16024,26 @@ const ( ControlStatusDisabled = "DISABLED" ) +// ControlStatus_Values returns all elements of the ControlStatus enum +func ControlStatus_Values() []string { + return []string{ + ControlStatusEnabled, + ControlStatusDisabled, + } +} + const ( // DateRangeUnitDays is a DateRangeUnit enum value DateRangeUnitDays = "DAYS" ) +// DateRangeUnit_Values returns all elements of the DateRangeUnit enum +func DateRangeUnit_Values() []string { + return []string{ + DateRangeUnitDays, + } +} + const ( // IntegrationTypeSendFindingsToSecurityHub is a IntegrationType enum value IntegrationTypeSendFindingsToSecurityHub = "SEND_FINDINGS_TO_SECURITY_HUB" @@ -16019,6 +16052,14 @@ const ( IntegrationTypeReceiveFindingsFromSecurityHub = "RECEIVE_FINDINGS_FROM_SECURITY_HUB" ) +// IntegrationType_Values returns all elements of the IntegrationType enum +func IntegrationType_Values() []string { + return []string{ + IntegrationTypeSendFindingsToSecurityHub, + IntegrationTypeReceiveFindingsFromSecurityHub, + } +} + const ( // MalwareStateObserved is a MalwareState enum value MalwareStateObserved = "OBSERVED" @@ -16030,6 +16071,15 @@ const ( MalwareStateRemoved = "REMOVED" ) +// MalwareState_Values returns all elements of the MalwareState enum +func MalwareState_Values() []string { + return []string{ + MalwareStateObserved, + MalwareStateRemovalFailed, + MalwareStateRemoved, + } +} + const ( // MalwareTypeAdware is a MalwareType enum value MalwareTypeAdware = "ADWARE" @@ -16077,11 +16127,39 @@ const ( MalwareTypeWorm = "WORM" ) +// MalwareType_Values returns all elements of the MalwareType enum +func MalwareType_Values() []string { + return []string{ + MalwareTypeAdware, + MalwareTypeBlendedThreat, + MalwareTypeBotnetAgent, + MalwareTypeCoinMiner, + MalwareTypeExploitKit, + MalwareTypeKeylogger, + MalwareTypeMacro, + MalwareTypePotentiallyUnwanted, + MalwareTypeSpyware, + MalwareTypeRansomware, + MalwareTypeRemoteAccess, + MalwareTypeRootkit, + MalwareTypeTrojan, + MalwareTypeVirus, + MalwareTypeWorm, + } +} + const ( // MapFilterComparisonEquals is a MapFilterComparison enum value MapFilterComparisonEquals = "EQUALS" ) +// MapFilterComparison_Values returns all elements of the MapFilterComparison enum +func MapFilterComparison_Values() []string { + return []string{ + MapFilterComparisonEquals, + } +} + const ( // NetworkDirectionIn is a NetworkDirection enum value NetworkDirectionIn = "IN" @@ -16090,6 +16168,14 @@ const ( NetworkDirectionOut = "OUT" ) +// NetworkDirection_Values returns all elements of the NetworkDirection enum +func NetworkDirection_Values() []string { + return []string{ + NetworkDirectionIn, + NetworkDirectionOut, + } +} + const ( // PartitionAws is a Partition enum value PartitionAws = "aws" @@ -16101,6 +16187,15 @@ const ( PartitionAwsUsGov = "aws-us-gov" ) +// Partition_Values returns all elements of the Partition enum +func Partition_Values() []string { + return []string{ + PartitionAws, + PartitionAwsCn, + PartitionAwsUsGov, + } +} + const ( // RecordStateActive is a RecordState enum value RecordStateActive = "ACTIVE" @@ -16109,6 +16204,14 @@ const ( RecordStateArchived = "ARCHIVED" ) +// RecordState_Values returns all elements of the RecordState enum +func RecordState_Values() []string { + return []string{ + RecordStateActive, + RecordStateArchived, + } +} + const ( // SeverityLabelInformational is a SeverityLabel enum value SeverityLabelInformational = "INFORMATIONAL" @@ -16126,6 +16229,17 @@ const ( SeverityLabelCritical = "CRITICAL" ) +// SeverityLabel_Values returns all elements of the SeverityLabel enum +func SeverityLabel_Values() []string { + return []string{ + SeverityLabelInformational, + SeverityLabelLow, + SeverityLabelMedium, + SeverityLabelHigh, + SeverityLabelCritical, + } +} + const ( // SeverityRatingLow is a SeverityRating enum value SeverityRatingLow = "LOW" @@ -16140,6 +16254,16 @@ const ( SeverityRatingCritical = "CRITICAL" ) +// SeverityRating_Values returns all elements of the SeverityRating enum +func SeverityRating_Values() []string { + return []string{ + SeverityRatingLow, + SeverityRatingMedium, + SeverityRatingHigh, + SeverityRatingCritical, + } +} + const ( // SortOrderAsc is a SortOrder enum value SortOrderAsc = "asc" @@ -16148,6 +16272,14 @@ const ( SortOrderDesc = "desc" ) +// SortOrder_Values returns all elements of the SortOrder enum +func SortOrder_Values() []string { + return []string{ + SortOrderAsc, + SortOrderDesc, + } +} + const ( // StandardsStatusPending is a StandardsStatus enum value StandardsStatusPending = "PENDING" @@ -16165,6 +16297,17 @@ const ( StandardsStatusIncomplete = "INCOMPLETE" ) +// StandardsStatus_Values returns all elements of the StandardsStatus enum +func StandardsStatus_Values() []string { + return []string{ + StandardsStatusPending, + StandardsStatusReady, + StandardsStatusFailed, + StandardsStatusDeleting, + StandardsStatusIncomplete, + } +} + const ( // StringFilterComparisonEquals is a StringFilterComparison enum value StringFilterComparisonEquals = "EQUALS" @@ -16173,6 +16316,14 @@ const ( StringFilterComparisonPrefix = "PREFIX" ) +// StringFilterComparison_Values returns all elements of the StringFilterComparison enum +func StringFilterComparison_Values() []string { + return []string{ + StringFilterComparisonEquals, + StringFilterComparisonPrefix, + } +} + const ( // ThreatIntelIndicatorCategoryBackdoor is a ThreatIntelIndicatorCategory enum value ThreatIntelIndicatorCategoryBackdoor = "BACKDOOR" @@ -16193,6 +16344,18 @@ const ( ThreatIntelIndicatorCategoryKeylogger = "KEYLOGGER" ) +// ThreatIntelIndicatorCategory_Values returns all elements of the ThreatIntelIndicatorCategory enum +func ThreatIntelIndicatorCategory_Values() []string { + return []string{ + ThreatIntelIndicatorCategoryBackdoor, + ThreatIntelIndicatorCategoryCardStealer, + ThreatIntelIndicatorCategoryCommandAndControl, + ThreatIntelIndicatorCategoryDropSite, + ThreatIntelIndicatorCategoryExploitSite, + ThreatIntelIndicatorCategoryKeylogger, + } +} + const ( // ThreatIntelIndicatorTypeDomain is a ThreatIntelIndicatorType enum value ThreatIntelIndicatorTypeDomain = "DOMAIN" @@ -16228,6 +16391,23 @@ const ( ThreatIntelIndicatorTypeUrl = "URL" ) +// ThreatIntelIndicatorType_Values returns all elements of the ThreatIntelIndicatorType enum +func ThreatIntelIndicatorType_Values() []string { + return []string{ + ThreatIntelIndicatorTypeDomain, + ThreatIntelIndicatorTypeEmailAddress, + ThreatIntelIndicatorTypeHashMd5, + ThreatIntelIndicatorTypeHashSha1, + ThreatIntelIndicatorTypeHashSha256, + ThreatIntelIndicatorTypeHashSha512, + ThreatIntelIndicatorTypeIpv4Address, + ThreatIntelIndicatorTypeIpv6Address, + ThreatIntelIndicatorTypeMutex, + ThreatIntelIndicatorTypeProcess, + ThreatIntelIndicatorTypeUrl, + } +} + const ( // VerificationStateUnknown is a VerificationState enum value VerificationStateUnknown = "UNKNOWN" @@ -16242,6 +16422,16 @@ const ( VerificationStateBenignPositive = "BENIGN_POSITIVE" ) +// VerificationState_Values returns all elements of the VerificationState enum +func VerificationState_Values() []string { + return []string{ + VerificationStateUnknown, + VerificationStateTruePositive, + VerificationStateFalsePositive, + VerificationStateBenignPositive, + } +} + const ( // WorkflowStateNew is a WorkflowState enum value WorkflowStateNew = "NEW" @@ -16259,6 +16449,17 @@ const ( WorkflowStateResolved = "RESOLVED" ) +// WorkflowState_Values returns all elements of the WorkflowState enum +func WorkflowState_Values() []string { + return []string{ + WorkflowStateNew, + WorkflowStateAssigned, + WorkflowStateInProgress, + WorkflowStateDeferred, + WorkflowStateResolved, + } +} + const ( // WorkflowStatusNew is a WorkflowStatus enum value WorkflowStatusNew = "NEW" @@ -16272,3 +16473,13 @@ const ( // WorkflowStatusSuppressed is a WorkflowStatus enum value WorkflowStatusSuppressed = "SUPPRESSED" ) + +// WorkflowStatus_Values returns all elements of the WorkflowStatus enum +func WorkflowStatus_Values() []string { + return []string{ + WorkflowStatusNew, + WorkflowStatusNotified, + WorkflowStatusResolved, + WorkflowStatusSuppressed, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/serverlessapplicationrepository/api.go b/vendor/github.com/aws/aws-sdk-go/service/serverlessapplicationrepository/api.go index b87d26a28bc..803a1cef58c 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/serverlessapplicationrepository/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/serverlessapplicationrepository/api.go @@ -4520,6 +4520,16 @@ const ( CapabilityCapabilityResourcePolicy = "CAPABILITY_RESOURCE_POLICY" ) +// Capability_Values returns all elements of the Capability enum +func Capability_Values() []string { + return []string{ + CapabilityCapabilityIam, + CapabilityCapabilityNamedIam, + CapabilityCapabilityAutoExpand, + CapabilityCapabilityResourcePolicy, + } +} + const ( // StatusPreparing is a Status enum value StatusPreparing = "PREPARING" @@ -4530,3 +4540,12 @@ const ( // StatusExpired is a Status enum value StatusExpired = "EXPIRED" ) + +// Status_Values returns all elements of the Status enum +func Status_Values() []string { + return []string{ + StatusPreparing, + StatusActive, + StatusExpired, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/servicecatalog/api.go b/vendor/github.com/aws/aws-sdk-go/service/servicecatalog/api.go index 574e93c1736..8d3b963acab 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/servicecatalog/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/servicecatalog/api.go @@ -21047,6 +21047,15 @@ const ( AccessLevelFilterKeyUser = "User" ) +// AccessLevelFilterKey_Values returns all elements of the AccessLevelFilterKey enum +func AccessLevelFilterKey_Values() []string { + return []string{ + AccessLevelFilterKeyAccount, + AccessLevelFilterKeyRole, + AccessLevelFilterKeyUser, + } +} + const ( // AccessStatusEnabled is a AccessStatus enum value AccessStatusEnabled = "ENABLED" @@ -21058,6 +21067,15 @@ const ( AccessStatusDisabled = "DISABLED" ) +// AccessStatus_Values returns all elements of the AccessStatus enum +func AccessStatus_Values() []string { + return []string{ + AccessStatusEnabled, + AccessStatusUnderChange, + AccessStatusDisabled, + } +} + const ( // ChangeActionAdd is a ChangeAction enum value ChangeActionAdd = "ADD" @@ -21069,11 +21087,27 @@ const ( ChangeActionRemove = "REMOVE" ) +// ChangeAction_Values returns all elements of the ChangeAction enum +func ChangeAction_Values() []string { + return []string{ + ChangeActionAdd, + ChangeActionModify, + ChangeActionRemove, + } +} + const ( // CopyOptionCopyTags is a CopyOption enum value CopyOptionCopyTags = "CopyTags" ) +// CopyOption_Values returns all elements of the CopyOption enum +func CopyOption_Values() []string { + return []string{ + CopyOptionCopyTags, + } +} + const ( // CopyProductStatusSucceeded is a CopyProductStatus enum value CopyProductStatusSucceeded = "SUCCEEDED" @@ -21085,6 +21119,15 @@ const ( CopyProductStatusFailed = "FAILED" ) +// CopyProductStatus_Values returns all elements of the CopyProductStatus enum +func CopyProductStatus_Values() []string { + return []string{ + CopyProductStatusSucceeded, + CopyProductStatusInProgress, + CopyProductStatusFailed, + } +} + const ( // EvaluationTypeStatic is a EvaluationType enum value EvaluationTypeStatic = "STATIC" @@ -21093,6 +21136,14 @@ const ( EvaluationTypeDynamic = "DYNAMIC" ) +// EvaluationType_Values returns all elements of the EvaluationType enum +func EvaluationType_Values() []string { + return []string{ + EvaluationTypeStatic, + EvaluationTypeDynamic, + } +} + const ( // OrganizationNodeTypeOrganization is a OrganizationNodeType enum value OrganizationNodeTypeOrganization = "ORGANIZATION" @@ -21104,6 +21155,15 @@ const ( OrganizationNodeTypeAccount = "ACCOUNT" ) +// OrganizationNodeType_Values returns all elements of the OrganizationNodeType enum +func OrganizationNodeType_Values() []string { + return []string{ + OrganizationNodeTypeOrganization, + OrganizationNodeTypeOrganizationalUnit, + OrganizationNodeTypeAccount, + } +} + const ( // PortfolioShareTypeImported is a PortfolioShareType enum value PortfolioShareTypeImported = "IMPORTED" @@ -21115,16 +21175,39 @@ const ( PortfolioShareTypeAwsOrganizations = "AWS_ORGANIZATIONS" ) +// PortfolioShareType_Values returns all elements of the PortfolioShareType enum +func PortfolioShareType_Values() []string { + return []string{ + PortfolioShareTypeImported, + PortfolioShareTypeAwsServicecatalog, + PortfolioShareTypeAwsOrganizations, + } +} + const ( // PrincipalTypeIam is a PrincipalType enum value PrincipalTypeIam = "IAM" ) +// PrincipalType_Values returns all elements of the PrincipalType enum +func PrincipalType_Values() []string { + return []string{ + PrincipalTypeIam, + } +} + const ( // ProductSourceAccount is a ProductSource enum value ProductSourceAccount = "ACCOUNT" ) +// ProductSource_Values returns all elements of the ProductSource enum +func ProductSource_Values() []string { + return []string{ + ProductSourceAccount, + } +} + const ( // ProductTypeCloudFormationTemplate is a ProductType enum value ProductTypeCloudFormationTemplate = "CLOUD_FORMATION_TEMPLATE" @@ -21133,6 +21216,14 @@ const ( ProductTypeMarketplace = "MARKETPLACE" ) +// ProductType_Values returns all elements of the ProductType enum +func ProductType_Values() []string { + return []string{ + ProductTypeCloudFormationTemplate, + ProductTypeMarketplace, + } +} + const ( // ProductViewFilterByFullTextSearch is a ProductViewFilterBy enum value ProductViewFilterByFullTextSearch = "FullTextSearch" @@ -21147,6 +21238,16 @@ const ( ProductViewFilterBySourceProductId = "SourceProductId" ) +// ProductViewFilterBy_Values returns all elements of the ProductViewFilterBy enum +func ProductViewFilterBy_Values() []string { + return []string{ + ProductViewFilterByFullTextSearch, + ProductViewFilterByOwner, + ProductViewFilterByProductType, + ProductViewFilterBySourceProductId, + } +} + const ( // ProductViewSortByTitle is a ProductViewSortBy enum value ProductViewSortByTitle = "Title" @@ -21158,11 +21259,27 @@ const ( ProductViewSortByCreationDate = "CreationDate" ) +// ProductViewSortBy_Values returns all elements of the ProductViewSortBy enum +func ProductViewSortBy_Values() []string { + return []string{ + ProductViewSortByTitle, + ProductViewSortByVersionCount, + ProductViewSortByCreationDate, + } +} + const ( // PropertyKeyOwner is a PropertyKey enum value PropertyKeyOwner = "OWNER" ) +// PropertyKey_Values returns all elements of the PropertyKey enum +func PropertyKey_Values() []string { + return []string{ + PropertyKeyOwner, + } +} + const ( // ProvisionedProductPlanStatusCreateInProgress is a ProvisionedProductPlanStatus enum value ProvisionedProductPlanStatusCreateInProgress = "CREATE_IN_PROGRESS" @@ -21183,11 +21300,30 @@ const ( ProvisionedProductPlanStatusExecuteFailed = "EXECUTE_FAILED" ) +// ProvisionedProductPlanStatus_Values returns all elements of the ProvisionedProductPlanStatus enum +func ProvisionedProductPlanStatus_Values() []string { + return []string{ + ProvisionedProductPlanStatusCreateInProgress, + ProvisionedProductPlanStatusCreateSuccess, + ProvisionedProductPlanStatusCreateFailed, + ProvisionedProductPlanStatusExecuteInProgress, + ProvisionedProductPlanStatusExecuteSuccess, + ProvisionedProductPlanStatusExecuteFailed, + } +} + const ( // ProvisionedProductPlanTypeCloudformation is a ProvisionedProductPlanType enum value ProvisionedProductPlanTypeCloudformation = "CLOUDFORMATION" ) +// ProvisionedProductPlanType_Values returns all elements of the ProvisionedProductPlanType enum +func ProvisionedProductPlanType_Values() []string { + return []string{ + ProvisionedProductPlanTypeCloudformation, + } +} + const ( // ProvisionedProductStatusAvailable is a ProvisionedProductStatus enum value ProvisionedProductStatusAvailable = "AVAILABLE" @@ -21205,11 +21341,29 @@ const ( ProvisionedProductStatusPlanInProgress = "PLAN_IN_PROGRESS" ) +// ProvisionedProductStatus_Values returns all elements of the ProvisionedProductStatus enum +func ProvisionedProductStatus_Values() []string { + return []string{ + ProvisionedProductStatusAvailable, + ProvisionedProductStatusUnderChange, + ProvisionedProductStatusTainted, + ProvisionedProductStatusError, + ProvisionedProductStatusPlanInProgress, + } +} + const ( // ProvisionedProductViewFilterBySearchQuery is a ProvisionedProductViewFilterBy enum value ProvisionedProductViewFilterBySearchQuery = "SearchQuery" ) +// ProvisionedProductViewFilterBy_Values returns all elements of the ProvisionedProductViewFilterBy enum +func ProvisionedProductViewFilterBy_Values() []string { + return []string{ + ProvisionedProductViewFilterBySearchQuery, + } +} + const ( // ProvisioningArtifactGuidanceDefault is a ProvisioningArtifactGuidance enum value ProvisioningArtifactGuidanceDefault = "DEFAULT" @@ -21218,11 +21372,26 @@ const ( ProvisioningArtifactGuidanceDeprecated = "DEPRECATED" ) +// ProvisioningArtifactGuidance_Values returns all elements of the ProvisioningArtifactGuidance enum +func ProvisioningArtifactGuidance_Values() []string { + return []string{ + ProvisioningArtifactGuidanceDefault, + ProvisioningArtifactGuidanceDeprecated, + } +} + const ( // ProvisioningArtifactPropertyNameId is a ProvisioningArtifactPropertyName enum value ProvisioningArtifactPropertyNameId = "Id" ) +// ProvisioningArtifactPropertyName_Values returns all elements of the ProvisioningArtifactPropertyName enum +func ProvisioningArtifactPropertyName_Values() []string { + return []string{ + ProvisioningArtifactPropertyNameId, + } +} + const ( // ProvisioningArtifactTypeCloudFormationTemplate is a ProvisioningArtifactType enum value ProvisioningArtifactTypeCloudFormationTemplate = "CLOUD_FORMATION_TEMPLATE" @@ -21234,6 +21403,15 @@ const ( ProvisioningArtifactTypeMarketplaceCar = "MARKETPLACE_CAR" ) +// ProvisioningArtifactType_Values returns all elements of the ProvisioningArtifactType enum +func ProvisioningArtifactType_Values() []string { + return []string{ + ProvisioningArtifactTypeCloudFormationTemplate, + ProvisioningArtifactTypeMarketplaceAmi, + ProvisioningArtifactTypeMarketplaceCar, + } +} + const ( // RecordStatusCreated is a RecordStatus enum value RecordStatusCreated = "CREATED" @@ -21251,6 +21429,17 @@ const ( RecordStatusFailed = "FAILED" ) +// RecordStatus_Values returns all elements of the RecordStatus enum +func RecordStatus_Values() []string { + return []string{ + RecordStatusCreated, + RecordStatusInProgress, + RecordStatusInProgressInError, + RecordStatusSucceeded, + RecordStatusFailed, + } +} + const ( // ReplacementTrue is a Replacement enum value ReplacementTrue = "TRUE" @@ -21262,6 +21451,15 @@ const ( ReplacementConditional = "CONDITIONAL" ) +// Replacement_Values returns all elements of the Replacement enum +func Replacement_Values() []string { + return []string{ + ReplacementTrue, + ReplacementFalse, + ReplacementConditional, + } +} + const ( // RequiresRecreationNever is a RequiresRecreation enum value RequiresRecreationNever = "NEVER" @@ -21273,6 +21471,15 @@ const ( RequiresRecreationAlways = "ALWAYS" ) +// RequiresRecreation_Values returns all elements of the RequiresRecreation enum +func RequiresRecreation_Values() []string { + return []string{ + RequiresRecreationNever, + RequiresRecreationConditionally, + RequiresRecreationAlways, + } +} + const ( // ResourceAttributeProperties is a ResourceAttribute enum value ResourceAttributeProperties = "PROPERTIES" @@ -21293,6 +21500,18 @@ const ( ResourceAttributeTags = "TAGS" ) +// ResourceAttribute_Values returns all elements of the ResourceAttribute enum +func ResourceAttribute_Values() []string { + return []string{ + ResourceAttributeProperties, + ResourceAttributeMetadata, + ResourceAttributeCreationpolicy, + ResourceAttributeUpdatepolicy, + ResourceAttributeDeletionpolicy, + ResourceAttributeTags, + } +} + const ( // ServiceActionAssociationErrorCodeDuplicateResource is a ServiceActionAssociationErrorCode enum value ServiceActionAssociationErrorCodeDuplicateResource = "DUPLICATE_RESOURCE" @@ -21310,6 +21529,17 @@ const ( ServiceActionAssociationErrorCodeThrottling = "THROTTLING" ) +// ServiceActionAssociationErrorCode_Values returns all elements of the ServiceActionAssociationErrorCode enum +func ServiceActionAssociationErrorCode_Values() []string { + return []string{ + ServiceActionAssociationErrorCodeDuplicateResource, + ServiceActionAssociationErrorCodeInternalFailure, + ServiceActionAssociationErrorCodeLimitExceeded, + ServiceActionAssociationErrorCodeResourceNotFound, + ServiceActionAssociationErrorCodeThrottling, + } +} + const ( // ServiceActionDefinitionKeyName is a ServiceActionDefinitionKey enum value ServiceActionDefinitionKeyName = "Name" @@ -21324,11 +21554,28 @@ const ( ServiceActionDefinitionKeyParameters = "Parameters" ) +// ServiceActionDefinitionKey_Values returns all elements of the ServiceActionDefinitionKey enum +func ServiceActionDefinitionKey_Values() []string { + return []string{ + ServiceActionDefinitionKeyName, + ServiceActionDefinitionKeyVersion, + ServiceActionDefinitionKeyAssumeRole, + ServiceActionDefinitionKeyParameters, + } +} + const ( // ServiceActionDefinitionTypeSsmAutomation is a ServiceActionDefinitionType enum value ServiceActionDefinitionTypeSsmAutomation = "SSM_AUTOMATION" ) +// ServiceActionDefinitionType_Values returns all elements of the ServiceActionDefinitionType enum +func ServiceActionDefinitionType_Values() []string { + return []string{ + ServiceActionDefinitionTypeSsmAutomation, + } +} + const ( // ShareStatusNotStarted is a ShareStatus enum value ShareStatusNotStarted = "NOT_STARTED" @@ -21346,6 +21593,17 @@ const ( ShareStatusError = "ERROR" ) +// ShareStatus_Values returns all elements of the ShareStatus enum +func ShareStatus_Values() []string { + return []string{ + ShareStatusNotStarted, + ShareStatusInProgress, + ShareStatusCompleted, + ShareStatusCompletedWithErrors, + ShareStatusError, + } +} + const ( // SortOrderAscending is a SortOrder enum value SortOrderAscending = "ASCENDING" @@ -21354,6 +21612,14 @@ const ( SortOrderDescending = "DESCENDING" ) +// SortOrder_Values returns all elements of the SortOrder enum +func SortOrder_Values() []string { + return []string{ + SortOrderAscending, + SortOrderDescending, + } +} + const ( // StackInstanceStatusCurrent is a StackInstanceStatus enum value StackInstanceStatusCurrent = "CURRENT" @@ -21365,6 +21631,15 @@ const ( StackInstanceStatusInoperable = "INOPERABLE" ) +// StackInstanceStatus_Values returns all elements of the StackInstanceStatus enum +func StackInstanceStatus_Values() []string { + return []string{ + StackInstanceStatusCurrent, + StackInstanceStatusOutdated, + StackInstanceStatusInoperable, + } +} + const ( // StackSetOperationTypeCreate is a StackSetOperationType enum value StackSetOperationTypeCreate = "CREATE" @@ -21376,6 +21651,15 @@ const ( StackSetOperationTypeDelete = "DELETE" ) +// StackSetOperationType_Values returns all elements of the StackSetOperationType enum +func StackSetOperationType_Values() []string { + return []string{ + StackSetOperationTypeCreate, + StackSetOperationTypeUpdate, + StackSetOperationTypeDelete, + } +} + const ( // StatusAvailable is a Status enum value StatusAvailable = "AVAILABLE" @@ -21386,3 +21670,12 @@ const ( // StatusFailed is a Status enum value StatusFailed = "FAILED" ) + +// Status_Values returns all elements of the Status enum +func Status_Values() []string { + return []string{ + StatusAvailable, + StatusCreating, + StatusFailed, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/servicediscovery/api.go b/vendor/github.com/aws/aws-sdk-go/service/servicediscovery/api.go index e3d697c2af9..68aaa0b331b 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/servicediscovery/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/servicediscovery/api.go @@ -7544,6 +7544,14 @@ const ( CustomHealthStatusUnhealthy = "UNHEALTHY" ) +// CustomHealthStatus_Values returns all elements of the CustomHealthStatus enum +func CustomHealthStatus_Values() []string { + return []string{ + CustomHealthStatusHealthy, + CustomHealthStatusUnhealthy, + } +} + const ( // FilterConditionEq is a FilterCondition enum value FilterConditionEq = "EQ" @@ -7555,6 +7563,15 @@ const ( FilterConditionBetween = "BETWEEN" ) +// FilterCondition_Values returns all elements of the FilterCondition enum +func FilterCondition_Values() []string { + return []string{ + FilterConditionEq, + FilterConditionIn, + FilterConditionBetween, + } +} + const ( // HealthCheckTypeHttp is a HealthCheckType enum value HealthCheckTypeHttp = "HTTP" @@ -7566,6 +7583,15 @@ const ( HealthCheckTypeTcp = "TCP" ) +// HealthCheckType_Values returns all elements of the HealthCheckType enum +func HealthCheckType_Values() []string { + return []string{ + HealthCheckTypeHttp, + HealthCheckTypeHttps, + HealthCheckTypeTcp, + } +} + const ( // HealthStatusHealthy is a HealthStatus enum value HealthStatusHealthy = "HEALTHY" @@ -7577,6 +7603,15 @@ const ( HealthStatusUnknown = "UNKNOWN" ) +// HealthStatus_Values returns all elements of the HealthStatus enum +func HealthStatus_Values() []string { + return []string{ + HealthStatusHealthy, + HealthStatusUnhealthy, + HealthStatusUnknown, + } +} + const ( // HealthStatusFilterHealthy is a HealthStatusFilter enum value HealthStatusFilterHealthy = "HEALTHY" @@ -7588,11 +7623,27 @@ const ( HealthStatusFilterAll = "ALL" ) +// HealthStatusFilter_Values returns all elements of the HealthStatusFilter enum +func HealthStatusFilter_Values() []string { + return []string{ + HealthStatusFilterHealthy, + HealthStatusFilterUnhealthy, + HealthStatusFilterAll, + } +} + const ( // NamespaceFilterNameType is a NamespaceFilterName enum value NamespaceFilterNameType = "TYPE" ) +// NamespaceFilterName_Values returns all elements of the NamespaceFilterName enum +func NamespaceFilterName_Values() []string { + return []string{ + NamespaceFilterNameType, + } +} + const ( // NamespaceTypeDnsPublic is a NamespaceType enum value NamespaceTypeDnsPublic = "DNS_PUBLIC" @@ -7604,6 +7655,15 @@ const ( NamespaceTypeHttp = "HTTP" ) +// NamespaceType_Values returns all elements of the NamespaceType enum +func NamespaceType_Values() []string { + return []string{ + NamespaceTypeDnsPublic, + NamespaceTypeDnsPrivate, + NamespaceTypeHttp, + } +} + const ( // OperationFilterNameNamespaceId is a OperationFilterName enum value OperationFilterNameNamespaceId = "NAMESPACE_ID" @@ -7621,6 +7681,17 @@ const ( OperationFilterNameUpdateDate = "UPDATE_DATE" ) +// OperationFilterName_Values returns all elements of the OperationFilterName enum +func OperationFilterName_Values() []string { + return []string{ + OperationFilterNameNamespaceId, + OperationFilterNameServiceId, + OperationFilterNameStatus, + OperationFilterNameType, + OperationFilterNameUpdateDate, + } +} + const ( // OperationStatusSubmitted is a OperationStatus enum value OperationStatusSubmitted = "SUBMITTED" @@ -7635,6 +7706,16 @@ const ( OperationStatusFail = "FAIL" ) +// OperationStatus_Values returns all elements of the OperationStatus enum +func OperationStatus_Values() []string { + return []string{ + OperationStatusSubmitted, + OperationStatusPending, + OperationStatusSuccess, + OperationStatusFail, + } +} + const ( // OperationTargetTypeNamespace is a OperationTargetType enum value OperationTargetTypeNamespace = "NAMESPACE" @@ -7646,6 +7727,15 @@ const ( OperationTargetTypeInstance = "INSTANCE" ) +// OperationTargetType_Values returns all elements of the OperationTargetType enum +func OperationTargetType_Values() []string { + return []string{ + OperationTargetTypeNamespace, + OperationTargetTypeService, + OperationTargetTypeInstance, + } +} + const ( // OperationTypeCreateNamespace is a OperationType enum value OperationTypeCreateNamespace = "CREATE_NAMESPACE" @@ -7663,6 +7753,17 @@ const ( OperationTypeDeregisterInstance = "DEREGISTER_INSTANCE" ) +// OperationType_Values returns all elements of the OperationType enum +func OperationType_Values() []string { + return []string{ + OperationTypeCreateNamespace, + OperationTypeDeleteNamespace, + OperationTypeUpdateService, + OperationTypeRegisterInstance, + OperationTypeDeregisterInstance, + } +} + const ( // RecordTypeSrv is a RecordType enum value RecordTypeSrv = "SRV" @@ -7677,6 +7778,16 @@ const ( RecordTypeCname = "CNAME" ) +// RecordType_Values returns all elements of the RecordType enum +func RecordType_Values() []string { + return []string{ + RecordTypeSrv, + RecordTypeA, + RecordTypeAaaa, + RecordTypeCname, + } +} + const ( // RoutingPolicyMultivalue is a RoutingPolicy enum value RoutingPolicyMultivalue = "MULTIVALUE" @@ -7685,7 +7796,22 @@ const ( RoutingPolicyWeighted = "WEIGHTED" ) +// RoutingPolicy_Values returns all elements of the RoutingPolicy enum +func RoutingPolicy_Values() []string { + return []string{ + RoutingPolicyMultivalue, + RoutingPolicyWeighted, + } +} + const ( // ServiceFilterNameNamespaceId is a ServiceFilterName enum value ServiceFilterNameNamespaceId = "NAMESPACE_ID" ) + +// ServiceFilterName_Values returns all elements of the ServiceFilterName enum +func ServiceFilterName_Values() []string { + return []string{ + ServiceFilterNameNamespaceId, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/servicequotas/api.go b/vendor/github.com/aws/aws-sdk-go/service/servicequotas/api.go index 60a0a84ac66..0d705da1a49 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/servicequotas/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/servicequotas/api.go @@ -4791,6 +4791,16 @@ const ( ErrorCodeServiceQuotaNotAvailableError = "SERVICE_QUOTA_NOT_AVAILABLE_ERROR" ) +// ErrorCode_Values returns all elements of the ErrorCode enum +func ErrorCode_Values() []string { + return []string{ + ErrorCodeDependencyAccessDeniedError, + ErrorCodeDependencyThrottlingError, + ErrorCodeDependencyServiceError, + ErrorCodeServiceQuotaNotAvailableError, + } +} + const ( // PeriodUnitMicrosecond is a PeriodUnit enum value PeriodUnitMicrosecond = "MICROSECOND" @@ -4814,6 +4824,19 @@ const ( PeriodUnitWeek = "WEEK" ) +// PeriodUnit_Values returns all elements of the PeriodUnit enum +func PeriodUnit_Values() []string { + return []string{ + PeriodUnitMicrosecond, + PeriodUnitMillisecond, + PeriodUnitSecond, + PeriodUnitMinute, + PeriodUnitHour, + PeriodUnitDay, + PeriodUnitWeek, + } +} + const ( // RequestStatusPending is a RequestStatus enum value RequestStatusPending = "PENDING" @@ -4831,6 +4854,17 @@ const ( RequestStatusCaseClosed = "CASE_CLOSED" ) +// RequestStatus_Values returns all elements of the RequestStatus enum +func RequestStatus_Values() []string { + return []string{ + RequestStatusPending, + RequestStatusCaseOpened, + RequestStatusApproved, + RequestStatusDenied, + RequestStatusCaseClosed, + } +} + const ( // ServiceQuotaTemplateAssociationStatusAssociated is a ServiceQuotaTemplateAssociationStatus enum value ServiceQuotaTemplateAssociationStatusAssociated = "ASSOCIATED" @@ -4838,3 +4872,11 @@ const ( // ServiceQuotaTemplateAssociationStatusDisassociated is a ServiceQuotaTemplateAssociationStatus enum value ServiceQuotaTemplateAssociationStatusDisassociated = "DISASSOCIATED" ) + +// ServiceQuotaTemplateAssociationStatus_Values returns all elements of the ServiceQuotaTemplateAssociationStatus enum +func ServiceQuotaTemplateAssociationStatus_Values() []string { + return []string{ + ServiceQuotaTemplateAssociationStatusAssociated, + ServiceQuotaTemplateAssociationStatusDisassociated, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/ses/api.go b/vendor/github.com/aws/aws-sdk-go/service/ses/api.go index 5a2bc39fdbc..7dc9aef8ab4 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/ses/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/ses/api.go @@ -15124,6 +15124,14 @@ const ( BehaviorOnMXFailureRejectMessage = "RejectMessage" ) +// BehaviorOnMXFailure_Values returns all elements of the BehaviorOnMXFailure enum +func BehaviorOnMXFailure_Values() []string { + return []string{ + BehaviorOnMXFailureUseDefaultValue, + BehaviorOnMXFailureRejectMessage, + } +} + const ( // BounceTypeDoesNotExist is a BounceType enum value BounceTypeDoesNotExist = "DoesNotExist" @@ -15144,6 +15152,18 @@ const ( BounceTypeTemporaryFailure = "TemporaryFailure" ) +// BounceType_Values returns all elements of the BounceType enum +func BounceType_Values() []string { + return []string{ + BounceTypeDoesNotExist, + BounceTypeMessageTooLarge, + BounceTypeExceededQuota, + BounceTypeContentRejected, + BounceTypeUndefined, + BounceTypeTemporaryFailure, + } +} + const ( // BulkEmailStatusSuccess is a BulkEmailStatus enum value BulkEmailStatusSuccess = "Success" @@ -15188,6 +15208,26 @@ const ( BulkEmailStatusFailed = "Failed" ) +// BulkEmailStatus_Values returns all elements of the BulkEmailStatus enum +func BulkEmailStatus_Values() []string { + return []string{ + BulkEmailStatusSuccess, + BulkEmailStatusMessageRejected, + BulkEmailStatusMailFromDomainNotVerified, + BulkEmailStatusConfigurationSetDoesNotExist, + BulkEmailStatusTemplateDoesNotExist, + BulkEmailStatusAccountSuspended, + BulkEmailStatusAccountThrottled, + BulkEmailStatusAccountDailyQuotaExceeded, + BulkEmailStatusInvalidSendingPoolName, + BulkEmailStatusAccountSendingPaused, + BulkEmailStatusConfigurationSetSendingPaused, + BulkEmailStatusInvalidParameterValue, + BulkEmailStatusTransientFailure, + BulkEmailStatusFailed, + } +} + const ( // ConfigurationSetAttributeEventDestinations is a ConfigurationSetAttribute enum value ConfigurationSetAttributeEventDestinations = "eventDestinations" @@ -15202,6 +15242,16 @@ const ( ConfigurationSetAttributeReputationOptions = "reputationOptions" ) +// ConfigurationSetAttribute_Values returns all elements of the ConfigurationSetAttribute enum +func ConfigurationSetAttribute_Values() []string { + return []string{ + ConfigurationSetAttributeEventDestinations, + ConfigurationSetAttributeTrackingOptions, + ConfigurationSetAttributeDeliveryOptions, + ConfigurationSetAttributeReputationOptions, + } +} + const ( // CustomMailFromStatusPending is a CustomMailFromStatus enum value CustomMailFromStatusPending = "Pending" @@ -15216,6 +15266,16 @@ const ( CustomMailFromStatusTemporaryFailure = "TemporaryFailure" ) +// CustomMailFromStatus_Values returns all elements of the CustomMailFromStatus enum +func CustomMailFromStatus_Values() []string { + return []string{ + CustomMailFromStatusPending, + CustomMailFromStatusSuccess, + CustomMailFromStatusFailed, + CustomMailFromStatusTemporaryFailure, + } +} + const ( // DimensionValueSourceMessageTag is a DimensionValueSource enum value DimensionValueSourceMessageTag = "messageTag" @@ -15227,6 +15287,15 @@ const ( DimensionValueSourceLinkTag = "linkTag" ) +// DimensionValueSource_Values returns all elements of the DimensionValueSource enum +func DimensionValueSource_Values() []string { + return []string{ + DimensionValueSourceMessageTag, + DimensionValueSourceEmailHeader, + DimensionValueSourceLinkTag, + } +} + const ( // DsnActionFailed is a DsnAction enum value DsnActionFailed = "failed" @@ -15244,6 +15313,17 @@ const ( DsnActionExpanded = "expanded" ) +// DsnAction_Values returns all elements of the DsnAction enum +func DsnAction_Values() []string { + return []string{ + DsnActionFailed, + DsnActionDelayed, + DsnActionDelivered, + DsnActionRelayed, + DsnActionExpanded, + } +} + const ( // EventTypeSend is a EventType enum value EventTypeSend = "send" @@ -15270,6 +15350,20 @@ const ( EventTypeRenderingFailure = "renderingFailure" ) +// EventType_Values returns all elements of the EventType enum +func EventType_Values() []string { + return []string{ + EventTypeSend, + EventTypeReject, + EventTypeBounce, + EventTypeComplaint, + EventTypeDelivery, + EventTypeOpen, + EventTypeClick, + EventTypeRenderingFailure, + } +} + const ( // IdentityTypeEmailAddress is a IdentityType enum value IdentityTypeEmailAddress = "EmailAddress" @@ -15278,6 +15372,14 @@ const ( IdentityTypeDomain = "Domain" ) +// IdentityType_Values returns all elements of the IdentityType enum +func IdentityType_Values() []string { + return []string{ + IdentityTypeEmailAddress, + IdentityTypeDomain, + } +} + const ( // InvocationTypeEvent is a InvocationType enum value InvocationTypeEvent = "Event" @@ -15286,6 +15388,14 @@ const ( InvocationTypeRequestResponse = "RequestResponse" ) +// InvocationType_Values returns all elements of the InvocationType enum +func InvocationType_Values() []string { + return []string{ + InvocationTypeEvent, + InvocationTypeRequestResponse, + } +} + const ( // NotificationTypeBounce is a NotificationType enum value NotificationTypeBounce = "Bounce" @@ -15297,6 +15407,15 @@ const ( NotificationTypeDelivery = "Delivery" ) +// NotificationType_Values returns all elements of the NotificationType enum +func NotificationType_Values() []string { + return []string{ + NotificationTypeBounce, + NotificationTypeComplaint, + NotificationTypeDelivery, + } +} + const ( // ReceiptFilterPolicyBlock is a ReceiptFilterPolicy enum value ReceiptFilterPolicyBlock = "Block" @@ -15305,6 +15424,14 @@ const ( ReceiptFilterPolicyAllow = "Allow" ) +// ReceiptFilterPolicy_Values returns all elements of the ReceiptFilterPolicy enum +func ReceiptFilterPolicy_Values() []string { + return []string{ + ReceiptFilterPolicyBlock, + ReceiptFilterPolicyAllow, + } +} + const ( // SNSActionEncodingUtf8 is a SNSActionEncoding enum value SNSActionEncodingUtf8 = "UTF-8" @@ -15313,11 +15440,26 @@ const ( SNSActionEncodingBase64 = "Base64" ) +// SNSActionEncoding_Values returns all elements of the SNSActionEncoding enum +func SNSActionEncoding_Values() []string { + return []string{ + SNSActionEncodingUtf8, + SNSActionEncodingBase64, + } +} + const ( // StopScopeRuleSet is a StopScope enum value StopScopeRuleSet = "RuleSet" ) +// StopScope_Values returns all elements of the StopScope enum +func StopScope_Values() []string { + return []string{ + StopScopeRuleSet, + } +} + const ( // TlsPolicyRequire is a TlsPolicy enum value TlsPolicyRequire = "Require" @@ -15326,6 +15468,14 @@ const ( TlsPolicyOptional = "Optional" ) +// TlsPolicy_Values returns all elements of the TlsPolicy enum +func TlsPolicy_Values() []string { + return []string{ + TlsPolicyRequire, + TlsPolicyOptional, + } +} + const ( // VerificationStatusPending is a VerificationStatus enum value VerificationStatusPending = "Pending" @@ -15342,3 +15492,14 @@ const ( // VerificationStatusNotStarted is a VerificationStatus enum value VerificationStatusNotStarted = "NotStarted" ) + +// VerificationStatus_Values returns all elements of the VerificationStatus enum +func VerificationStatus_Values() []string { + return []string{ + VerificationStatusPending, + VerificationStatusSuccess, + VerificationStatusFailed, + VerificationStatusTemporaryFailure, + VerificationStatusNotStarted, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/sfn/api.go b/vendor/github.com/aws/aws-sdk-go/service/sfn/api.go index c93297216c7..30d4443a14e 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/sfn/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/sfn/api.go @@ -7678,6 +7678,17 @@ const ( ExecutionStatusAborted = "ABORTED" ) +// ExecutionStatus_Values returns all elements of the ExecutionStatus enum +func ExecutionStatus_Values() []string { + return []string{ + ExecutionStatusRunning, + ExecutionStatusSucceeded, + ExecutionStatusFailed, + ExecutionStatusTimedOut, + ExecutionStatusAborted, + } +} + const ( // HistoryEventTypeActivityFailed is a HistoryEventType enum value HistoryEventTypeActivityFailed = "ActivityFailed" @@ -7845,6 +7856,67 @@ const ( HistoryEventTypeWaitStateExited = "WaitStateExited" ) +// HistoryEventType_Values returns all elements of the HistoryEventType enum +func HistoryEventType_Values() []string { + return []string{ + HistoryEventTypeActivityFailed, + HistoryEventTypeActivityScheduled, + HistoryEventTypeActivityScheduleFailed, + HistoryEventTypeActivityStarted, + HistoryEventTypeActivitySucceeded, + HistoryEventTypeActivityTimedOut, + HistoryEventTypeChoiceStateEntered, + HistoryEventTypeChoiceStateExited, + HistoryEventTypeExecutionAborted, + HistoryEventTypeExecutionFailed, + HistoryEventTypeExecutionStarted, + HistoryEventTypeExecutionSucceeded, + HistoryEventTypeExecutionTimedOut, + HistoryEventTypeFailStateEntered, + HistoryEventTypeLambdaFunctionFailed, + HistoryEventTypeLambdaFunctionScheduled, + HistoryEventTypeLambdaFunctionScheduleFailed, + HistoryEventTypeLambdaFunctionStarted, + HistoryEventTypeLambdaFunctionStartFailed, + HistoryEventTypeLambdaFunctionSucceeded, + HistoryEventTypeLambdaFunctionTimedOut, + HistoryEventTypeMapIterationAborted, + HistoryEventTypeMapIterationFailed, + HistoryEventTypeMapIterationStarted, + HistoryEventTypeMapIterationSucceeded, + HistoryEventTypeMapStateAborted, + HistoryEventTypeMapStateEntered, + HistoryEventTypeMapStateExited, + HistoryEventTypeMapStateFailed, + HistoryEventTypeMapStateStarted, + HistoryEventTypeMapStateSucceeded, + HistoryEventTypeParallelStateAborted, + HistoryEventTypeParallelStateEntered, + HistoryEventTypeParallelStateExited, + HistoryEventTypeParallelStateFailed, + HistoryEventTypeParallelStateStarted, + HistoryEventTypeParallelStateSucceeded, + HistoryEventTypePassStateEntered, + HistoryEventTypePassStateExited, + HistoryEventTypeSucceedStateEntered, + HistoryEventTypeSucceedStateExited, + HistoryEventTypeTaskFailed, + HistoryEventTypeTaskScheduled, + HistoryEventTypeTaskStarted, + HistoryEventTypeTaskStartFailed, + HistoryEventTypeTaskStateAborted, + HistoryEventTypeTaskStateEntered, + HistoryEventTypeTaskStateExited, + HistoryEventTypeTaskSubmitFailed, + HistoryEventTypeTaskSubmitted, + HistoryEventTypeTaskSucceeded, + HistoryEventTypeTaskTimedOut, + HistoryEventTypeWaitStateAborted, + HistoryEventTypeWaitStateEntered, + HistoryEventTypeWaitStateExited, + } +} + const ( // LogLevelAll is a LogLevel enum value LogLevelAll = "ALL" @@ -7859,6 +7931,16 @@ const ( LogLevelOff = "OFF" ) +// LogLevel_Values returns all elements of the LogLevel enum +func LogLevel_Values() []string { + return []string{ + LogLevelAll, + LogLevelError, + LogLevelFatal, + LogLevelOff, + } +} + const ( // StateMachineStatusActive is a StateMachineStatus enum value StateMachineStatusActive = "ACTIVE" @@ -7867,6 +7949,14 @@ const ( StateMachineStatusDeleting = "DELETING" ) +// StateMachineStatus_Values returns all elements of the StateMachineStatus enum +func StateMachineStatus_Values() []string { + return []string{ + StateMachineStatusActive, + StateMachineStatusDeleting, + } +} + const ( // StateMachineTypeStandard is a StateMachineType enum value StateMachineTypeStandard = "STANDARD" @@ -7874,3 +7964,11 @@ const ( // StateMachineTypeExpress is a StateMachineType enum value StateMachineTypeExpress = "EXPRESS" ) + +// StateMachineType_Values returns all elements of the StateMachineType enum +func StateMachineType_Values() []string { + return []string{ + StateMachineTypeStandard, + StateMachineTypeExpress, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/shield/api.go b/vendor/github.com/aws/aws-sdk-go/service/shield/api.go index ab389eb9968..bbbfcde82ad 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/shield/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/shield/api.go @@ -5178,6 +5178,14 @@ const ( AttackLayerApplication = "APPLICATION" ) +// AttackLayer_Values returns all elements of the AttackLayer enum +func AttackLayer_Values() []string { + return []string{ + AttackLayerNetwork, + AttackLayerApplication, + } +} + const ( // AttackPropertyIdentifierDestinationUrl is a AttackPropertyIdentifier enum value AttackPropertyIdentifierDestinationUrl = "DESTINATION_URL" @@ -5204,6 +5212,20 @@ const ( AttackPropertyIdentifierWordpressPingbackSource = "WORDPRESS_PINGBACK_SOURCE" ) +// AttackPropertyIdentifier_Values returns all elements of the AttackPropertyIdentifier enum +func AttackPropertyIdentifier_Values() []string { + return []string{ + AttackPropertyIdentifierDestinationUrl, + AttackPropertyIdentifierReferrer, + AttackPropertyIdentifierSourceAsn, + AttackPropertyIdentifierSourceCountry, + AttackPropertyIdentifierSourceIpAddress, + AttackPropertyIdentifierSourceUserAgent, + AttackPropertyIdentifierWordpressPingbackReflector, + AttackPropertyIdentifierWordpressPingbackSource, + } +} + const ( // AutoRenewEnabled is a AutoRenew enum value AutoRenewEnabled = "ENABLED" @@ -5212,6 +5234,14 @@ const ( AutoRenewDisabled = "DISABLED" ) +// AutoRenew_Values returns all elements of the AutoRenew enum +func AutoRenew_Values() []string { + return []string{ + AutoRenewEnabled, + AutoRenewDisabled, + } +} + const ( // ProactiveEngagementStatusEnabled is a ProactiveEngagementStatus enum value ProactiveEngagementStatusEnabled = "ENABLED" @@ -5223,6 +5253,15 @@ const ( ProactiveEngagementStatusPending = "PENDING" ) +// ProactiveEngagementStatus_Values returns all elements of the ProactiveEngagementStatus enum +func ProactiveEngagementStatus_Values() []string { + return []string{ + ProactiveEngagementStatusEnabled, + ProactiveEngagementStatusDisabled, + ProactiveEngagementStatusPending, + } +} + const ( // SubResourceTypeIp is a SubResourceType enum value SubResourceTypeIp = "IP" @@ -5231,6 +5270,14 @@ const ( SubResourceTypeUrl = "URL" ) +// SubResourceType_Values returns all elements of the SubResourceType enum +func SubResourceType_Values() []string { + return []string{ + SubResourceTypeIp, + SubResourceTypeUrl, + } +} + const ( // SubscriptionStateActive is a SubscriptionState enum value SubscriptionStateActive = "ACTIVE" @@ -5239,6 +5286,14 @@ const ( SubscriptionStateInactive = "INACTIVE" ) +// SubscriptionState_Values returns all elements of the SubscriptionState enum +func SubscriptionState_Values() []string { + return []string{ + SubscriptionStateActive, + SubscriptionStateInactive, + } +} + const ( // UnitBits is a Unit enum value UnitBits = "BITS" @@ -5252,3 +5307,13 @@ const ( // UnitRequests is a Unit enum value UnitRequests = "REQUESTS" ) + +// Unit_Values returns all elements of the Unit enum +func Unit_Values() []string { + return []string{ + UnitBits, + UnitBytes, + UnitPackets, + UnitRequests, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/sqs/api.go b/vendor/github.com/aws/aws-sdk-go/service/sqs/api.go index 8ca39942689..06e05ee2a13 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/sqs/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/sqs/api.go @@ -5176,11 +5176,32 @@ const ( MessageSystemAttributeNameAwstraceHeader = "AWSTraceHeader" ) +// MessageSystemAttributeName_Values returns all elements of the MessageSystemAttributeName enum +func MessageSystemAttributeName_Values() []string { + return []string{ + MessageSystemAttributeNameSenderId, + MessageSystemAttributeNameSentTimestamp, + MessageSystemAttributeNameApproximateReceiveCount, + MessageSystemAttributeNameApproximateFirstReceiveTimestamp, + MessageSystemAttributeNameSequenceNumber, + MessageSystemAttributeNameMessageDeduplicationId, + MessageSystemAttributeNameMessageGroupId, + MessageSystemAttributeNameAwstraceHeader, + } +} + const ( // MessageSystemAttributeNameForSendsAwstraceHeader is a MessageSystemAttributeNameForSends enum value MessageSystemAttributeNameForSendsAwstraceHeader = "AWSTraceHeader" ) +// MessageSystemAttributeNameForSends_Values returns all elements of the MessageSystemAttributeNameForSends enum +func MessageSystemAttributeNameForSends_Values() []string { + return []string{ + MessageSystemAttributeNameForSendsAwstraceHeader, + } +} + const ( // QueueAttributeNameAll is a QueueAttributeName enum value QueueAttributeNameAll = "All" @@ -5236,3 +5257,27 @@ const ( // QueueAttributeNameKmsDataKeyReusePeriodSeconds is a QueueAttributeName enum value QueueAttributeNameKmsDataKeyReusePeriodSeconds = "KmsDataKeyReusePeriodSeconds" ) + +// QueueAttributeName_Values returns all elements of the QueueAttributeName enum +func QueueAttributeName_Values() []string { + return []string{ + QueueAttributeNameAll, + QueueAttributeNamePolicy, + QueueAttributeNameVisibilityTimeout, + QueueAttributeNameMaximumMessageSize, + QueueAttributeNameMessageRetentionPeriod, + QueueAttributeNameApproximateNumberOfMessages, + QueueAttributeNameApproximateNumberOfMessagesNotVisible, + QueueAttributeNameCreatedTimestamp, + QueueAttributeNameLastModifiedTimestamp, + QueueAttributeNameQueueArn, + QueueAttributeNameApproximateNumberOfMessagesDelayed, + QueueAttributeNameDelaySeconds, + QueueAttributeNameReceiveMessageWaitTimeSeconds, + QueueAttributeNameRedrivePolicy, + QueueAttributeNameFifoQueue, + QueueAttributeNameContentBasedDeduplication, + QueueAttributeNameKmsMasterKeyId, + QueueAttributeNameKmsDataKeyReusePeriodSeconds, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/ssm/api.go b/vendor/github.com/aws/aws-sdk-go/service/ssm/api.go index 549d09f16a5..7e49eff3d9d 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/ssm/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/ssm/api.go @@ -47253,6 +47253,17 @@ const ( AssociationComplianceSeverityUnspecified = "UNSPECIFIED" ) +// AssociationComplianceSeverity_Values returns all elements of the AssociationComplianceSeverity enum +func AssociationComplianceSeverity_Values() []string { + return []string{ + AssociationComplianceSeverityCritical, + AssociationComplianceSeverityHigh, + AssociationComplianceSeverityMedium, + AssociationComplianceSeverityLow, + AssociationComplianceSeverityUnspecified, + } +} + const ( // AssociationExecutionFilterKeyExecutionId is a AssociationExecutionFilterKey enum value AssociationExecutionFilterKeyExecutionId = "ExecutionId" @@ -47264,6 +47275,15 @@ const ( AssociationExecutionFilterKeyCreatedTime = "CreatedTime" ) +// AssociationExecutionFilterKey_Values returns all elements of the AssociationExecutionFilterKey enum +func AssociationExecutionFilterKey_Values() []string { + return []string{ + AssociationExecutionFilterKeyExecutionId, + AssociationExecutionFilterKeyStatus, + AssociationExecutionFilterKeyCreatedTime, + } +} + const ( // AssociationExecutionTargetsFilterKeyStatus is a AssociationExecutionTargetsFilterKey enum value AssociationExecutionTargetsFilterKeyStatus = "Status" @@ -47275,6 +47295,15 @@ const ( AssociationExecutionTargetsFilterKeyResourceType = "ResourceType" ) +// AssociationExecutionTargetsFilterKey_Values returns all elements of the AssociationExecutionTargetsFilterKey enum +func AssociationExecutionTargetsFilterKey_Values() []string { + return []string{ + AssociationExecutionTargetsFilterKeyStatus, + AssociationExecutionTargetsFilterKeyResourceId, + AssociationExecutionTargetsFilterKeyResourceType, + } +} + const ( // AssociationFilterKeyInstanceId is a AssociationFilterKey enum value AssociationFilterKeyInstanceId = "InstanceId" @@ -47301,6 +47330,20 @@ const ( AssociationFilterKeyResourceGroupName = "ResourceGroupName" ) +// AssociationFilterKey_Values returns all elements of the AssociationFilterKey enum +func AssociationFilterKey_Values() []string { + return []string{ + AssociationFilterKeyInstanceId, + AssociationFilterKeyName, + AssociationFilterKeyAssociationId, + AssociationFilterKeyAssociationStatusName, + AssociationFilterKeyLastExecutedBefore, + AssociationFilterKeyLastExecutedAfter, + AssociationFilterKeyAssociationName, + AssociationFilterKeyResourceGroupName, + } +} + const ( // AssociationFilterOperatorTypeEqual is a AssociationFilterOperatorType enum value AssociationFilterOperatorTypeEqual = "EQUAL" @@ -47312,6 +47355,15 @@ const ( AssociationFilterOperatorTypeGreaterThan = "GREATER_THAN" ) +// AssociationFilterOperatorType_Values returns all elements of the AssociationFilterOperatorType enum +func AssociationFilterOperatorType_Values() []string { + return []string{ + AssociationFilterOperatorTypeEqual, + AssociationFilterOperatorTypeLessThan, + AssociationFilterOperatorTypeGreaterThan, + } +} + const ( // AssociationStatusNamePending is a AssociationStatusName enum value AssociationStatusNamePending = "Pending" @@ -47323,6 +47375,15 @@ const ( AssociationStatusNameFailed = "Failed" ) +// AssociationStatusName_Values returns all elements of the AssociationStatusName enum +func AssociationStatusName_Values() []string { + return []string{ + AssociationStatusNamePending, + AssociationStatusNameSuccess, + AssociationStatusNameFailed, + } +} + const ( // AssociationSyncComplianceAuto is a AssociationSyncCompliance enum value AssociationSyncComplianceAuto = "AUTO" @@ -47331,11 +47392,26 @@ const ( AssociationSyncComplianceManual = "MANUAL" ) +// AssociationSyncCompliance_Values returns all elements of the AssociationSyncCompliance enum +func AssociationSyncCompliance_Values() []string { + return []string{ + AssociationSyncComplianceAuto, + AssociationSyncComplianceManual, + } +} + const ( // AttachmentHashTypeSha256 is a AttachmentHashType enum value AttachmentHashTypeSha256 = "Sha256" ) +// AttachmentHashType_Values returns all elements of the AttachmentHashType enum +func AttachmentHashType_Values() []string { + return []string{ + AttachmentHashTypeSha256, + } +} + const ( // AttachmentsSourceKeySourceUrl is a AttachmentsSourceKey enum value AttachmentsSourceKeySourceUrl = "SourceUrl" @@ -47347,6 +47423,15 @@ const ( AttachmentsSourceKeyAttachmentReference = "AttachmentReference" ) +// AttachmentsSourceKey_Values returns all elements of the AttachmentsSourceKey enum +func AttachmentsSourceKey_Values() []string { + return []string{ + AttachmentsSourceKeySourceUrl, + AttachmentsSourceKeyS3fileUrl, + AttachmentsSourceKeyAttachmentReference, + } +} + const ( // AutomationExecutionFilterKeyDocumentNamePrefix is a AutomationExecutionFilterKey enum value AutomationExecutionFilterKeyDocumentNamePrefix = "DocumentNamePrefix" @@ -47376,6 +47461,21 @@ const ( AutomationExecutionFilterKeyTagKey = "TagKey" ) +// AutomationExecutionFilterKey_Values returns all elements of the AutomationExecutionFilterKey enum +func AutomationExecutionFilterKey_Values() []string { + return []string{ + AutomationExecutionFilterKeyDocumentNamePrefix, + AutomationExecutionFilterKeyExecutionStatus, + AutomationExecutionFilterKeyExecutionId, + AutomationExecutionFilterKeyParentExecutionId, + AutomationExecutionFilterKeyCurrentAction, + AutomationExecutionFilterKeyStartTimeBefore, + AutomationExecutionFilterKeyStartTimeAfter, + AutomationExecutionFilterKeyAutomationType, + AutomationExecutionFilterKeyTagKey, + } +} + const ( // AutomationExecutionStatusPending is a AutomationExecutionStatus enum value AutomationExecutionStatusPending = "Pending" @@ -47402,6 +47502,20 @@ const ( AutomationExecutionStatusFailed = "Failed" ) +// AutomationExecutionStatus_Values returns all elements of the AutomationExecutionStatus enum +func AutomationExecutionStatus_Values() []string { + return []string{ + AutomationExecutionStatusPending, + AutomationExecutionStatusInProgress, + AutomationExecutionStatusWaiting, + AutomationExecutionStatusSuccess, + AutomationExecutionStatusTimedOut, + AutomationExecutionStatusCancelling, + AutomationExecutionStatusCancelled, + AutomationExecutionStatusFailed, + } +} + const ( // AutomationTypeCrossAccount is a AutomationType enum value AutomationTypeCrossAccount = "CrossAccount" @@ -47410,6 +47524,14 @@ const ( AutomationTypeLocal = "Local" ) +// AutomationType_Values returns all elements of the AutomationType enum +func AutomationType_Values() []string { + return []string{ + AutomationTypeCrossAccount, + AutomationTypeLocal, + } +} + const ( // CalendarStateOpen is a CalendarState enum value CalendarStateOpen = "OPEN" @@ -47418,6 +47540,14 @@ const ( CalendarStateClosed = "CLOSED" ) +// CalendarState_Values returns all elements of the CalendarState enum +func CalendarState_Values() []string { + return []string{ + CalendarStateOpen, + CalendarStateClosed, + } +} + const ( // CommandFilterKeyInvokedAfter is a CommandFilterKey enum value CommandFilterKeyInvokedAfter = "InvokedAfter" @@ -47435,6 +47565,17 @@ const ( CommandFilterKeyDocumentName = "DocumentName" ) +// CommandFilterKey_Values returns all elements of the CommandFilterKey enum +func CommandFilterKey_Values() []string { + return []string{ + CommandFilterKeyInvokedAfter, + CommandFilterKeyInvokedBefore, + CommandFilterKeyStatus, + CommandFilterKeyExecutionStage, + CommandFilterKeyDocumentName, + } +} + const ( // CommandInvocationStatusPending is a CommandInvocationStatus enum value CommandInvocationStatusPending = "Pending" @@ -47461,6 +47602,20 @@ const ( CommandInvocationStatusCancelling = "Cancelling" ) +// CommandInvocationStatus_Values returns all elements of the CommandInvocationStatus enum +func CommandInvocationStatus_Values() []string { + return []string{ + CommandInvocationStatusPending, + CommandInvocationStatusInProgress, + CommandInvocationStatusDelayed, + CommandInvocationStatusSuccess, + CommandInvocationStatusCancelled, + CommandInvocationStatusTimedOut, + CommandInvocationStatusFailed, + CommandInvocationStatusCancelling, + } +} + const ( // CommandPluginStatusPending is a CommandPluginStatus enum value CommandPluginStatusPending = "Pending" @@ -47481,6 +47636,18 @@ const ( CommandPluginStatusFailed = "Failed" ) +// CommandPluginStatus_Values returns all elements of the CommandPluginStatus enum +func CommandPluginStatus_Values() []string { + return []string{ + CommandPluginStatusPending, + CommandPluginStatusInProgress, + CommandPluginStatusSuccess, + CommandPluginStatusTimedOut, + CommandPluginStatusCancelled, + CommandPluginStatusFailed, + } +} + const ( // CommandStatusPending is a CommandStatus enum value CommandStatusPending = "Pending" @@ -47504,6 +47671,19 @@ const ( CommandStatusCancelling = "Cancelling" ) +// CommandStatus_Values returns all elements of the CommandStatus enum +func CommandStatus_Values() []string { + return []string{ + CommandStatusPending, + CommandStatusInProgress, + CommandStatusSuccess, + CommandStatusCancelled, + CommandStatusFailed, + CommandStatusTimedOut, + CommandStatusCancelling, + } +} + const ( // ComplianceQueryOperatorTypeEqual is a ComplianceQueryOperatorType enum value ComplianceQueryOperatorTypeEqual = "EQUAL" @@ -47521,6 +47701,17 @@ const ( ComplianceQueryOperatorTypeGreaterThan = "GREATER_THAN" ) +// ComplianceQueryOperatorType_Values returns all elements of the ComplianceQueryOperatorType enum +func ComplianceQueryOperatorType_Values() []string { + return []string{ + ComplianceQueryOperatorTypeEqual, + ComplianceQueryOperatorTypeNotEqual, + ComplianceQueryOperatorTypeBeginWith, + ComplianceQueryOperatorTypeLessThan, + ComplianceQueryOperatorTypeGreaterThan, + } +} + const ( // ComplianceSeverityCritical is a ComplianceSeverity enum value ComplianceSeverityCritical = "CRITICAL" @@ -47541,6 +47732,18 @@ const ( ComplianceSeverityUnspecified = "UNSPECIFIED" ) +// ComplianceSeverity_Values returns all elements of the ComplianceSeverity enum +func ComplianceSeverity_Values() []string { + return []string{ + ComplianceSeverityCritical, + ComplianceSeverityHigh, + ComplianceSeverityMedium, + ComplianceSeverityLow, + ComplianceSeverityInformational, + ComplianceSeverityUnspecified, + } +} + const ( // ComplianceStatusCompliant is a ComplianceStatus enum value ComplianceStatusCompliant = "COMPLIANT" @@ -47549,6 +47752,14 @@ const ( ComplianceStatusNonCompliant = "NON_COMPLIANT" ) +// ComplianceStatus_Values returns all elements of the ComplianceStatus enum +func ComplianceStatus_Values() []string { + return []string{ + ComplianceStatusCompliant, + ComplianceStatusNonCompliant, + } +} + const ( // ComplianceUploadTypeComplete is a ComplianceUploadType enum value ComplianceUploadTypeComplete = "COMPLETE" @@ -47557,6 +47768,14 @@ const ( ComplianceUploadTypePartial = "PARTIAL" ) +// ComplianceUploadType_Values returns all elements of the ComplianceUploadType enum +func ComplianceUploadType_Values() []string { + return []string{ + ComplianceUploadTypeComplete, + ComplianceUploadTypePartial, + } +} + const ( // ConnectionStatusConnected is a ConnectionStatus enum value ConnectionStatusConnected = "Connected" @@ -47565,6 +47784,14 @@ const ( ConnectionStatusNotConnected = "NotConnected" ) +// ConnectionStatus_Values returns all elements of the ConnectionStatus enum +func ConnectionStatus_Values() []string { + return []string{ + ConnectionStatusConnected, + ConnectionStatusNotConnected, + } +} + const ( // DescribeActivationsFilterKeysActivationIds is a DescribeActivationsFilterKeys enum value DescribeActivationsFilterKeysActivationIds = "ActivationIds" @@ -47576,6 +47803,15 @@ const ( DescribeActivationsFilterKeysIamRole = "IamRole" ) +// DescribeActivationsFilterKeys_Values returns all elements of the DescribeActivationsFilterKeys enum +func DescribeActivationsFilterKeys_Values() []string { + return []string{ + DescribeActivationsFilterKeysActivationIds, + DescribeActivationsFilterKeysDefaultInstanceName, + DescribeActivationsFilterKeysIamRole, + } +} + const ( // DocumentFilterKeyName is a DocumentFilterKey enum value DocumentFilterKeyName = "Name" @@ -47590,6 +47826,16 @@ const ( DocumentFilterKeyDocumentType = "DocumentType" ) +// DocumentFilterKey_Values returns all elements of the DocumentFilterKey enum +func DocumentFilterKey_Values() []string { + return []string{ + DocumentFilterKeyName, + DocumentFilterKeyOwner, + DocumentFilterKeyPlatformTypes, + DocumentFilterKeyDocumentType, + } +} + const ( // DocumentFormatYaml is a DocumentFormat enum value DocumentFormatYaml = "YAML" @@ -47601,6 +47847,15 @@ const ( DocumentFormatText = "TEXT" ) +// DocumentFormat_Values returns all elements of the DocumentFormat enum +func DocumentFormat_Values() []string { + return []string{ + DocumentFormatYaml, + DocumentFormatJson, + DocumentFormatText, + } +} + const ( // DocumentHashTypeSha256 is a DocumentHashType enum value DocumentHashTypeSha256 = "Sha256" @@ -47609,6 +47864,14 @@ const ( DocumentHashTypeSha1 = "Sha1" ) +// DocumentHashType_Values returns all elements of the DocumentHashType enum +func DocumentHashType_Values() []string { + return []string{ + DocumentHashTypeSha256, + DocumentHashTypeSha1, + } +} + const ( // DocumentParameterTypeString is a DocumentParameterType enum value DocumentParameterTypeString = "String" @@ -47617,11 +47880,26 @@ const ( DocumentParameterTypeStringList = "StringList" ) +// DocumentParameterType_Values returns all elements of the DocumentParameterType enum +func DocumentParameterType_Values() []string { + return []string{ + DocumentParameterTypeString, + DocumentParameterTypeStringList, + } +} + const ( // DocumentPermissionTypeShare is a DocumentPermissionType enum value DocumentPermissionTypeShare = "Share" ) +// DocumentPermissionType_Values returns all elements of the DocumentPermissionType enum +func DocumentPermissionType_Values() []string { + return []string{ + DocumentPermissionTypeShare, + } +} + // The status of a document. const ( // DocumentStatusCreating is a DocumentStatus enum value @@ -47640,6 +47918,17 @@ const ( DocumentStatusFailed = "Failed" ) +// DocumentStatus_Values returns all elements of the DocumentStatus enum +func DocumentStatus_Values() []string { + return []string{ + DocumentStatusCreating, + DocumentStatusActive, + DocumentStatusUpdating, + DocumentStatusDeleting, + DocumentStatusFailed, + } +} + const ( // DocumentTypeCommand is a DocumentType enum value DocumentTypeCommand = "Command" @@ -47669,6 +47958,21 @@ const ( DocumentTypeChangeCalendar = "ChangeCalendar" ) +// DocumentType_Values returns all elements of the DocumentType enum +func DocumentType_Values() []string { + return []string{ + DocumentTypeCommand, + DocumentTypePolicy, + DocumentTypeAutomation, + DocumentTypeSession, + DocumentTypePackage, + DocumentTypeApplicationConfiguration, + DocumentTypeApplicationConfigurationSchema, + DocumentTypeDeploymentStrategy, + DocumentTypeChangeCalendar, + } +} + const ( // ExecutionModeAuto is a ExecutionMode enum value ExecutionModeAuto = "Auto" @@ -47677,6 +47981,14 @@ const ( ExecutionModeInteractive = "Interactive" ) +// ExecutionMode_Values returns all elements of the ExecutionMode enum +func ExecutionMode_Values() []string { + return []string{ + ExecutionModeAuto, + ExecutionModeInteractive, + } +} + const ( // FaultClient is a Fault enum value FaultClient = "Client" @@ -47688,6 +48000,15 @@ const ( FaultUnknown = "Unknown" ) +// Fault_Values returns all elements of the Fault enum +func Fault_Values() []string { + return []string{ + FaultClient, + FaultServer, + FaultUnknown, + } +} + const ( // InstanceInformationFilterKeyInstanceIds is a InstanceInformationFilterKey enum value InstanceInformationFilterKeyInstanceIds = "InstanceIds" @@ -47714,6 +48035,20 @@ const ( InstanceInformationFilterKeyAssociationStatus = "AssociationStatus" ) +// InstanceInformationFilterKey_Values returns all elements of the InstanceInformationFilterKey enum +func InstanceInformationFilterKey_Values() []string { + return []string{ + InstanceInformationFilterKeyInstanceIds, + InstanceInformationFilterKeyAgentVersion, + InstanceInformationFilterKeyPingStatus, + InstanceInformationFilterKeyPlatformTypes, + InstanceInformationFilterKeyActivationIds, + InstanceInformationFilterKeyIamRole, + InstanceInformationFilterKeyResourceType, + InstanceInformationFilterKeyAssociationStatus, + } +} + const ( // InstancePatchStateOperatorTypeEqual is a InstancePatchStateOperatorType enum value InstancePatchStateOperatorTypeEqual = "Equal" @@ -47728,6 +48063,16 @@ const ( InstancePatchStateOperatorTypeGreaterThan = "GreaterThan" ) +// InstancePatchStateOperatorType_Values returns all elements of the InstancePatchStateOperatorType enum +func InstancePatchStateOperatorType_Values() []string { + return []string{ + InstancePatchStateOperatorTypeEqual, + InstancePatchStateOperatorTypeNotEqual, + InstancePatchStateOperatorTypeLessThan, + InstancePatchStateOperatorTypeGreaterThan, + } +} + const ( // InventoryAttributeDataTypeString is a InventoryAttributeDataType enum value InventoryAttributeDataTypeString = "string" @@ -47736,6 +48081,14 @@ const ( InventoryAttributeDataTypeNumber = "number" ) +// InventoryAttributeDataType_Values returns all elements of the InventoryAttributeDataType enum +func InventoryAttributeDataType_Values() []string { + return []string{ + InventoryAttributeDataTypeString, + InventoryAttributeDataTypeNumber, + } +} + const ( // InventoryDeletionStatusInProgress is a InventoryDeletionStatus enum value InventoryDeletionStatusInProgress = "InProgress" @@ -47744,6 +48097,14 @@ const ( InventoryDeletionStatusComplete = "Complete" ) +// InventoryDeletionStatus_Values returns all elements of the InventoryDeletionStatus enum +func InventoryDeletionStatus_Values() []string { + return []string{ + InventoryDeletionStatusInProgress, + InventoryDeletionStatusComplete, + } +} + const ( // InventoryQueryOperatorTypeEqual is a InventoryQueryOperatorType enum value InventoryQueryOperatorTypeEqual = "Equal" @@ -47764,6 +48125,18 @@ const ( InventoryQueryOperatorTypeExists = "Exists" ) +// InventoryQueryOperatorType_Values returns all elements of the InventoryQueryOperatorType enum +func InventoryQueryOperatorType_Values() []string { + return []string{ + InventoryQueryOperatorTypeEqual, + InventoryQueryOperatorTypeNotEqual, + InventoryQueryOperatorTypeBeginWith, + InventoryQueryOperatorTypeLessThan, + InventoryQueryOperatorTypeGreaterThan, + InventoryQueryOperatorTypeExists, + } +} + const ( // InventorySchemaDeleteOptionDisableSchema is a InventorySchemaDeleteOption enum value InventorySchemaDeleteOptionDisableSchema = "DisableSchema" @@ -47772,6 +48145,14 @@ const ( InventorySchemaDeleteOptionDeleteSchema = "DeleteSchema" ) +// InventorySchemaDeleteOption_Values returns all elements of the InventorySchemaDeleteOption enum +func InventorySchemaDeleteOption_Values() []string { + return []string{ + InventorySchemaDeleteOptionDisableSchema, + InventorySchemaDeleteOptionDeleteSchema, + } +} + const ( // LastResourceDataSyncStatusSuccessful is a LastResourceDataSyncStatus enum value LastResourceDataSyncStatusSuccessful = "Successful" @@ -47783,6 +48164,15 @@ const ( LastResourceDataSyncStatusInProgress = "InProgress" ) +// LastResourceDataSyncStatus_Values returns all elements of the LastResourceDataSyncStatus enum +func LastResourceDataSyncStatus_Values() []string { + return []string{ + LastResourceDataSyncStatusSuccessful, + LastResourceDataSyncStatusFailed, + LastResourceDataSyncStatusInProgress, + } +} + const ( // MaintenanceWindowExecutionStatusPending is a MaintenanceWindowExecutionStatus enum value MaintenanceWindowExecutionStatusPending = "PENDING" @@ -47809,6 +48199,20 @@ const ( MaintenanceWindowExecutionStatusSkippedOverlapping = "SKIPPED_OVERLAPPING" ) +// MaintenanceWindowExecutionStatus_Values returns all elements of the MaintenanceWindowExecutionStatus enum +func MaintenanceWindowExecutionStatus_Values() []string { + return []string{ + MaintenanceWindowExecutionStatusPending, + MaintenanceWindowExecutionStatusInProgress, + MaintenanceWindowExecutionStatusSuccess, + MaintenanceWindowExecutionStatusFailed, + MaintenanceWindowExecutionStatusTimedOut, + MaintenanceWindowExecutionStatusCancelling, + MaintenanceWindowExecutionStatusCancelled, + MaintenanceWindowExecutionStatusSkippedOverlapping, + } +} + const ( // MaintenanceWindowResourceTypeInstance is a MaintenanceWindowResourceType enum value MaintenanceWindowResourceTypeInstance = "INSTANCE" @@ -47817,6 +48221,14 @@ const ( MaintenanceWindowResourceTypeResourceGroup = "RESOURCE_GROUP" ) +// MaintenanceWindowResourceType_Values returns all elements of the MaintenanceWindowResourceType enum +func MaintenanceWindowResourceType_Values() []string { + return []string{ + MaintenanceWindowResourceTypeInstance, + MaintenanceWindowResourceTypeResourceGroup, + } +} + const ( // MaintenanceWindowTaskTypeRunCommand is a MaintenanceWindowTaskType enum value MaintenanceWindowTaskTypeRunCommand = "RUN_COMMAND" @@ -47831,6 +48243,16 @@ const ( MaintenanceWindowTaskTypeLambda = "LAMBDA" ) +// MaintenanceWindowTaskType_Values returns all elements of the MaintenanceWindowTaskType enum +func MaintenanceWindowTaskType_Values() []string { + return []string{ + MaintenanceWindowTaskTypeRunCommand, + MaintenanceWindowTaskTypeAutomation, + MaintenanceWindowTaskTypeStepFunctions, + MaintenanceWindowTaskTypeLambda, + } +} + const ( // NotificationEventAll is a NotificationEvent enum value NotificationEventAll = "All" @@ -47851,6 +48273,18 @@ const ( NotificationEventFailed = "Failed" ) +// NotificationEvent_Values returns all elements of the NotificationEvent enum +func NotificationEvent_Values() []string { + return []string{ + NotificationEventAll, + NotificationEventInProgress, + NotificationEventSuccess, + NotificationEventTimedOut, + NotificationEventCancelled, + NotificationEventFailed, + } +} + const ( // NotificationTypeCommand is a NotificationType enum value NotificationTypeCommand = "Command" @@ -47859,6 +48293,14 @@ const ( NotificationTypeInvocation = "Invocation" ) +// NotificationType_Values returns all elements of the NotificationType enum +func NotificationType_Values() []string { + return []string{ + NotificationTypeCommand, + NotificationTypeInvocation, + } +} + const ( // OperatingSystemWindows is a OperatingSystem enum value OperatingSystemWindows = "WINDOWS" @@ -47888,6 +48330,21 @@ const ( OperatingSystemDebian = "DEBIAN" ) +// OperatingSystem_Values returns all elements of the OperatingSystem enum +func OperatingSystem_Values() []string { + return []string{ + OperatingSystemWindows, + OperatingSystemAmazonLinux, + OperatingSystemAmazonLinux2, + OperatingSystemUbuntu, + OperatingSystemRedhatEnterpriseLinux, + OperatingSystemSuse, + OperatingSystemCentos, + OperatingSystemOracleLinux, + OperatingSystemDebian, + } +} + const ( // OpsFilterOperatorTypeEqual is a OpsFilterOperatorType enum value OpsFilterOperatorTypeEqual = "Equal" @@ -47908,6 +48365,18 @@ const ( OpsFilterOperatorTypeExists = "Exists" ) +// OpsFilterOperatorType_Values returns all elements of the OpsFilterOperatorType enum +func OpsFilterOperatorType_Values() []string { + return []string{ + OpsFilterOperatorTypeEqual, + OpsFilterOperatorTypeNotEqual, + OpsFilterOperatorTypeBeginWith, + OpsFilterOperatorTypeLessThan, + OpsFilterOperatorTypeGreaterThan, + OpsFilterOperatorTypeExists, + } +} + const ( // OpsItemDataTypeSearchableString is a OpsItemDataType enum value OpsItemDataTypeSearchableString = "SearchableString" @@ -47916,6 +48385,14 @@ const ( OpsItemDataTypeString = "String" ) +// OpsItemDataType_Values returns all elements of the OpsItemDataType enum +func OpsItemDataType_Values() []string { + return []string{ + OpsItemDataTypeSearchableString, + OpsItemDataTypeString, + } +} + const ( // OpsItemFilterKeyStatus is a OpsItemFilterKey enum value OpsItemFilterKeyStatus = "Status" @@ -47963,6 +48440,27 @@ const ( OpsItemFilterKeySeverity = "Severity" ) +// OpsItemFilterKey_Values returns all elements of the OpsItemFilterKey enum +func OpsItemFilterKey_Values() []string { + return []string{ + OpsItemFilterKeyStatus, + OpsItemFilterKeyCreatedBy, + OpsItemFilterKeySource, + OpsItemFilterKeyPriority, + OpsItemFilterKeyTitle, + OpsItemFilterKeyOpsItemId, + OpsItemFilterKeyCreatedTime, + OpsItemFilterKeyLastModifiedTime, + OpsItemFilterKeyOperationalData, + OpsItemFilterKeyOperationalDataKey, + OpsItemFilterKeyOperationalDataValue, + OpsItemFilterKeyResourceId, + OpsItemFilterKeyAutomationId, + OpsItemFilterKeyCategory, + OpsItemFilterKeySeverity, + } +} + const ( // OpsItemFilterOperatorEqual is a OpsItemFilterOperator enum value OpsItemFilterOperatorEqual = "Equal" @@ -47977,6 +48475,16 @@ const ( OpsItemFilterOperatorLessThan = "LessThan" ) +// OpsItemFilterOperator_Values returns all elements of the OpsItemFilterOperator enum +func OpsItemFilterOperator_Values() []string { + return []string{ + OpsItemFilterOperatorEqual, + OpsItemFilterOperatorContains, + OpsItemFilterOperatorGreaterThan, + OpsItemFilterOperatorLessThan, + } +} + const ( // OpsItemStatusOpen is a OpsItemStatus enum value OpsItemStatusOpen = "Open" @@ -47988,6 +48496,15 @@ const ( OpsItemStatusResolved = "Resolved" ) +// OpsItemStatus_Values returns all elements of the OpsItemStatus enum +func OpsItemStatus_Values() []string { + return []string{ + OpsItemStatusOpen, + OpsItemStatusInProgress, + OpsItemStatusResolved, + } +} + const ( // ParameterTierStandard is a ParameterTier enum value ParameterTierStandard = "Standard" @@ -47999,6 +48516,15 @@ const ( ParameterTierIntelligentTiering = "Intelligent-Tiering" ) +// ParameterTier_Values returns all elements of the ParameterTier enum +func ParameterTier_Values() []string { + return []string{ + ParameterTierStandard, + ParameterTierAdvanced, + ParameterTierIntelligentTiering, + } +} + const ( // ParameterTypeString is a ParameterType enum value ParameterTypeString = "String" @@ -48010,6 +48536,15 @@ const ( ParameterTypeSecureString = "SecureString" ) +// ParameterType_Values returns all elements of the ParameterType enum +func ParameterType_Values() []string { + return []string{ + ParameterTypeString, + ParameterTypeStringList, + ParameterTypeSecureString, + } +} + const ( // ParametersFilterKeyName is a ParametersFilterKey enum value ParametersFilterKeyName = "Name" @@ -48021,6 +48556,15 @@ const ( ParametersFilterKeyKeyId = "KeyId" ) +// ParametersFilterKey_Values returns all elements of the ParametersFilterKey enum +func ParametersFilterKey_Values() []string { + return []string{ + ParametersFilterKeyName, + ParametersFilterKeyType, + ParametersFilterKeyKeyId, + } +} + const ( // PatchActionAllowAsDependency is a PatchAction enum value PatchActionAllowAsDependency = "ALLOW_AS_DEPENDENCY" @@ -48029,6 +48573,14 @@ const ( PatchActionBlock = "BLOCK" ) +// PatchAction_Values returns all elements of the PatchAction enum +func PatchAction_Values() []string { + return []string{ + PatchActionAllowAsDependency, + PatchActionBlock, + } +} + const ( // PatchComplianceDataStateInstalled is a PatchComplianceDataState enum value PatchComplianceDataStateInstalled = "INSTALLED" @@ -48052,6 +48604,19 @@ const ( PatchComplianceDataStateFailed = "FAILED" ) +// PatchComplianceDataState_Values returns all elements of the PatchComplianceDataState enum +func PatchComplianceDataState_Values() []string { + return []string{ + PatchComplianceDataStateInstalled, + PatchComplianceDataStateInstalledOther, + PatchComplianceDataStateInstalledPendingReboot, + PatchComplianceDataStateInstalledRejected, + PatchComplianceDataStateMissing, + PatchComplianceDataStateNotApplicable, + PatchComplianceDataStateFailed, + } +} + const ( // PatchComplianceLevelCritical is a PatchComplianceLevel enum value PatchComplianceLevelCritical = "CRITICAL" @@ -48072,6 +48637,18 @@ const ( PatchComplianceLevelUnspecified = "UNSPECIFIED" ) +// PatchComplianceLevel_Values returns all elements of the PatchComplianceLevel enum +func PatchComplianceLevel_Values() []string { + return []string{ + PatchComplianceLevelCritical, + PatchComplianceLevelHigh, + PatchComplianceLevelMedium, + PatchComplianceLevelLow, + PatchComplianceLevelInformational, + PatchComplianceLevelUnspecified, + } +} + const ( // PatchDeploymentStatusApproved is a PatchDeploymentStatus enum value PatchDeploymentStatusApproved = "APPROVED" @@ -48086,6 +48663,16 @@ const ( PatchDeploymentStatusExplicitRejected = "EXPLICIT_REJECTED" ) +// PatchDeploymentStatus_Values returns all elements of the PatchDeploymentStatus enum +func PatchDeploymentStatus_Values() []string { + return []string{ + PatchDeploymentStatusApproved, + PatchDeploymentStatusPendingApproval, + PatchDeploymentStatusExplicitApproved, + PatchDeploymentStatusExplicitRejected, + } +} + const ( // PatchFilterKeyPatchSet is a PatchFilterKey enum value PatchFilterKeyPatchSet = "PATCH_SET" @@ -48115,6 +48702,21 @@ const ( PatchFilterKeySeverity = "SEVERITY" ) +// PatchFilterKey_Values returns all elements of the PatchFilterKey enum +func PatchFilterKey_Values() []string { + return []string{ + PatchFilterKeyPatchSet, + PatchFilterKeyProduct, + PatchFilterKeyProductFamily, + PatchFilterKeyClassification, + PatchFilterKeyMsrcSeverity, + PatchFilterKeyPatchId, + PatchFilterKeySection, + PatchFilterKeyPriority, + PatchFilterKeySeverity, + } +} + const ( // PatchOperationTypeScan is a PatchOperationType enum value PatchOperationTypeScan = "Scan" @@ -48123,6 +48725,14 @@ const ( PatchOperationTypeInstall = "Install" ) +// PatchOperationType_Values returns all elements of the PatchOperationType enum +func PatchOperationType_Values() []string { + return []string{ + PatchOperationTypeScan, + PatchOperationTypeInstall, + } +} + const ( // PatchPropertyProduct is a PatchProperty enum value PatchPropertyProduct = "PRODUCT" @@ -48143,6 +48753,18 @@ const ( PatchPropertySeverity = "SEVERITY" ) +// PatchProperty_Values returns all elements of the PatchProperty enum +func PatchProperty_Values() []string { + return []string{ + PatchPropertyProduct, + PatchPropertyProductFamily, + PatchPropertyClassification, + PatchPropertyMsrcSeverity, + PatchPropertyPriority, + PatchPropertySeverity, + } +} + const ( // PatchSetOs is a PatchSet enum value PatchSetOs = "OS" @@ -48151,6 +48773,14 @@ const ( PatchSetApplication = "APPLICATION" ) +// PatchSet_Values returns all elements of the PatchSet enum +func PatchSet_Values() []string { + return []string{ + PatchSetOs, + PatchSetApplication, + } +} + const ( // PingStatusOnline is a PingStatus enum value PingStatusOnline = "Online" @@ -48162,6 +48792,15 @@ const ( PingStatusInactive = "Inactive" ) +// PingStatus_Values returns all elements of the PingStatus enum +func PingStatus_Values() []string { + return []string{ + PingStatusOnline, + PingStatusConnectionLost, + PingStatusInactive, + } +} + const ( // PlatformTypeWindows is a PlatformType enum value PlatformTypeWindows = "Windows" @@ -48170,6 +48809,14 @@ const ( PlatformTypeLinux = "Linux" ) +// PlatformType_Values returns all elements of the PlatformType enum +func PlatformType_Values() []string { + return []string{ + PlatformTypeWindows, + PlatformTypeLinux, + } +} + const ( // RebootOptionRebootIfNeeded is a RebootOption enum value RebootOptionRebootIfNeeded = "RebootIfNeeded" @@ -48178,11 +48825,26 @@ const ( RebootOptionNoReboot = "NoReboot" ) +// RebootOption_Values returns all elements of the RebootOption enum +func RebootOption_Values() []string { + return []string{ + RebootOptionRebootIfNeeded, + RebootOptionNoReboot, + } +} + const ( // ResourceDataSyncS3FormatJsonSerDe is a ResourceDataSyncS3Format enum value ResourceDataSyncS3FormatJsonSerDe = "JsonSerDe" ) +// ResourceDataSyncS3Format_Values returns all elements of the ResourceDataSyncS3Format enum +func ResourceDataSyncS3Format_Values() []string { + return []string{ + ResourceDataSyncS3FormatJsonSerDe, + } +} + const ( // ResourceTypeManagedInstance is a ResourceType enum value ResourceTypeManagedInstance = "ManagedInstance" @@ -48194,6 +48856,15 @@ const ( ResourceTypeEc2instance = "EC2Instance" ) +// ResourceType_Values returns all elements of the ResourceType enum +func ResourceType_Values() []string { + return []string{ + ResourceTypeManagedInstance, + ResourceTypeDocument, + ResourceTypeEc2instance, + } +} + const ( // ResourceTypeForTaggingDocument is a ResourceTypeForTagging enum value ResourceTypeForTaggingDocument = "Document" @@ -48214,6 +48885,18 @@ const ( ResourceTypeForTaggingOpsItem = "OpsItem" ) +// ResourceTypeForTagging_Values returns all elements of the ResourceTypeForTagging enum +func ResourceTypeForTagging_Values() []string { + return []string{ + ResourceTypeForTaggingDocument, + ResourceTypeForTaggingManagedInstance, + ResourceTypeForTaggingMaintenanceWindow, + ResourceTypeForTaggingParameter, + ResourceTypeForTaggingPatchBaseline, + ResourceTypeForTaggingOpsItem, + } +} + const ( // SessionFilterKeyInvokedAfter is a SessionFilterKey enum value SessionFilterKeyInvokedAfter = "InvokedAfter" @@ -48231,6 +48914,17 @@ const ( SessionFilterKeyStatus = "Status" ) +// SessionFilterKey_Values returns all elements of the SessionFilterKey enum +func SessionFilterKey_Values() []string { + return []string{ + SessionFilterKeyInvokedAfter, + SessionFilterKeyInvokedBefore, + SessionFilterKeyTarget, + SessionFilterKeyOwner, + SessionFilterKeyStatus, + } +} + const ( // SessionStateActive is a SessionState enum value SessionStateActive = "Active" @@ -48239,6 +48933,14 @@ const ( SessionStateHistory = "History" ) +// SessionState_Values returns all elements of the SessionState enum +func SessionState_Values() []string { + return []string{ + SessionStateActive, + SessionStateHistory, + } +} + const ( // SessionStatusConnected is a SessionStatus enum value SessionStatusConnected = "Connected" @@ -48259,6 +48961,18 @@ const ( SessionStatusFailed = "Failed" ) +// SessionStatus_Values returns all elements of the SessionStatus enum +func SessionStatus_Values() []string { + return []string{ + SessionStatusConnected, + SessionStatusConnecting, + SessionStatusDisconnected, + SessionStatusTerminated, + SessionStatusTerminating, + SessionStatusFailed, + } +} + const ( // SignalTypeApprove is a SignalType enum value SignalTypeApprove = "Approve" @@ -48276,6 +48990,17 @@ const ( SignalTypeResume = "Resume" ) +// SignalType_Values returns all elements of the SignalType enum +func SignalType_Values() []string { + return []string{ + SignalTypeApprove, + SignalTypeReject, + SignalTypeStartStep, + SignalTypeStopStep, + SignalTypeResume, + } +} + const ( // StepExecutionFilterKeyStartTimeBefore is a StepExecutionFilterKey enum value StepExecutionFilterKeyStartTimeBefore = "StartTimeBefore" @@ -48296,6 +49021,18 @@ const ( StepExecutionFilterKeyAction = "Action" ) +// StepExecutionFilterKey_Values returns all elements of the StepExecutionFilterKey enum +func StepExecutionFilterKey_Values() []string { + return []string{ + StepExecutionFilterKeyStartTimeBefore, + StepExecutionFilterKeyStartTimeAfter, + StepExecutionFilterKeyStepExecutionStatus, + StepExecutionFilterKeyStepExecutionId, + StepExecutionFilterKeyStepName, + StepExecutionFilterKeyAction, + } +} + const ( // StopTypeComplete is a StopType enum value StopTypeComplete = "Complete" @@ -48303,3 +49040,11 @@ const ( // StopTypeCancel is a StopType enum value StopTypeCancel = "Cancel" ) + +// StopType_Values returns all elements of the StopType enum +func StopType_Values() []string { + return []string{ + StopTypeComplete, + StopTypeCancel, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/storagegateway/api.go b/vendor/github.com/aws/aws-sdk-go/service/storagegateway/api.go index 0cbb35689b9..c37fd26b4cf 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/storagegateway/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/storagegateway/api.go @@ -18999,6 +18999,19 @@ const ( ActiveDirectoryStatusUnknownError = "UNKNOWN_ERROR" ) +// ActiveDirectoryStatus_Values returns all elements of the ActiveDirectoryStatus enum +func ActiveDirectoryStatus_Values() []string { + return []string{ + ActiveDirectoryStatusAccessDenied, + ActiveDirectoryStatusDetached, + ActiveDirectoryStatusJoined, + ActiveDirectoryStatusJoining, + ActiveDirectoryStatusNetworkError, + ActiveDirectoryStatusTimeout, + ActiveDirectoryStatusUnknownError, + } +} + const ( // AvailabilityMonitorTestStatusComplete is a AvailabilityMonitorTestStatus enum value AvailabilityMonitorTestStatusComplete = "COMPLETE" @@ -19010,6 +19023,15 @@ const ( AvailabilityMonitorTestStatusPending = "PENDING" ) +// AvailabilityMonitorTestStatus_Values returns all elements of the AvailabilityMonitorTestStatus enum +func AvailabilityMonitorTestStatus_Values() []string { + return []string{ + AvailabilityMonitorTestStatusComplete, + AvailabilityMonitorTestStatusFailed, + AvailabilityMonitorTestStatusPending, + } +} + const ( // CaseSensitivityClientSpecified is a CaseSensitivity enum value CaseSensitivityClientSpecified = "ClientSpecified" @@ -19018,6 +19040,14 @@ const ( CaseSensitivityCaseSensitive = "CaseSensitive" ) +// CaseSensitivity_Values returns all elements of the CaseSensitivity enum +func CaseSensitivity_Values() []string { + return []string{ + CaseSensitivityClientSpecified, + CaseSensitivityCaseSensitive, + } +} + const ( // ErrorCodeActivationKeyExpired is a ErrorCode enum value ErrorCodeActivationKeyExpired = "ActivationKeyExpired" @@ -19206,6 +19236,74 @@ const ( ErrorCodeVolumeNotReady = "VolumeNotReady" ) +// ErrorCode_Values returns all elements of the ErrorCode enum +func ErrorCode_Values() []string { + return []string{ + ErrorCodeActivationKeyExpired, + ErrorCodeActivationKeyInvalid, + ErrorCodeActivationKeyNotFound, + ErrorCodeGatewayInternalError, + ErrorCodeGatewayNotConnected, + ErrorCodeGatewayNotFound, + ErrorCodeGatewayProxyNetworkConnectionBusy, + ErrorCodeAuthenticationFailure, + ErrorCodeBandwidthThrottleScheduleNotFound, + ErrorCodeBlocked, + ErrorCodeCannotExportSnapshot, + ErrorCodeChapCredentialNotFound, + ErrorCodeDiskAlreadyAllocated, + ErrorCodeDiskDoesNotExist, + ErrorCodeDiskSizeGreaterThanVolumeMaxSize, + ErrorCodeDiskSizeLessThanVolumeSize, + ErrorCodeDiskSizeNotGigAligned, + ErrorCodeDuplicateCertificateInfo, + ErrorCodeDuplicateSchedule, + ErrorCodeEndpointNotFound, + ErrorCodeIamnotSupported, + ErrorCodeInitiatorInvalid, + ErrorCodeInitiatorNotFound, + ErrorCodeInternalError, + ErrorCodeInvalidGateway, + ErrorCodeInvalidEndpoint, + ErrorCodeInvalidParameters, + ErrorCodeInvalidSchedule, + ErrorCodeLocalStorageLimitExceeded, + ErrorCodeLunAlreadyAllocated, + ErrorCodeLunInvalid, + ErrorCodeJoinDomainInProgress, + ErrorCodeMaximumContentLengthExceeded, + ErrorCodeMaximumTapeCartridgeCountExceeded, + ErrorCodeMaximumVolumeCountExceeded, + ErrorCodeNetworkConfigurationChanged, + ErrorCodeNoDisksAvailable, + ErrorCodeNotImplemented, + ErrorCodeNotSupported, + ErrorCodeOperationAborted, + ErrorCodeOutdatedGateway, + ErrorCodeParametersNotImplemented, + ErrorCodeRegionInvalid, + ErrorCodeRequestTimeout, + ErrorCodeServiceUnavailable, + ErrorCodeSnapshotDeleted, + ErrorCodeSnapshotIdInvalid, + ErrorCodeSnapshotInProgress, + ErrorCodeSnapshotNotFound, + ErrorCodeSnapshotScheduleNotFound, + ErrorCodeStagingAreaFull, + ErrorCodeStorageFailure, + ErrorCodeTapeCartridgeNotFound, + ErrorCodeTargetAlreadyExists, + ErrorCodeTargetInvalid, + ErrorCodeTargetNotFound, + ErrorCodeUnauthorizedOperation, + ErrorCodeVolumeAlreadyExists, + ErrorCodeVolumeIdInvalid, + ErrorCodeVolumeInUse, + ErrorCodeVolumeNotFound, + ErrorCodeVolumeNotReady, + } +} + // The type of the file share. const ( // FileShareTypeNfs is a FileShareType enum value @@ -19215,6 +19313,14 @@ const ( FileShareTypeSmb = "SMB" ) +// FileShareType_Values returns all elements of the FileShareType enum +func FileShareType_Values() []string { + return []string{ + FileShareTypeNfs, + FileShareTypeSmb, + } +} + const ( // HostEnvironmentVmware is a HostEnvironment enum value HostEnvironmentVmware = "VMWARE" @@ -19232,6 +19338,17 @@ const ( HostEnvironmentOther = "OTHER" ) +// HostEnvironment_Values returns all elements of the HostEnvironment enum +func HostEnvironment_Values() []string { + return []string{ + HostEnvironmentVmware, + HostEnvironmentHyperV, + HostEnvironmentEc2, + HostEnvironmentKvm, + HostEnvironmentOther, + } +} + // A value that sets the access control list (ACL) permission for objects in // the S3 bucket that a file gateway puts objects into. The default value is // private. @@ -19258,6 +19375,19 @@ const ( ObjectACLAwsExecRead = "aws-exec-read" ) +// ObjectACL_Values returns all elements of the ObjectACL enum +func ObjectACL_Values() []string { + return []string{ + ObjectACLPrivate, + ObjectACLPublicRead, + ObjectACLPublicReadWrite, + ObjectACLAuthenticatedRead, + ObjectACLBucketOwnerRead, + ObjectACLBucketOwnerFullControl, + ObjectACLAwsExecRead, + } +} + const ( // SMBSecurityStrategyClientSpecified is a SMBSecurityStrategy enum value SMBSecurityStrategyClientSpecified = "ClientSpecified" @@ -19268,3 +19398,12 @@ const ( // SMBSecurityStrategyMandatoryEncryption is a SMBSecurityStrategy enum value SMBSecurityStrategyMandatoryEncryption = "MandatoryEncryption" ) + +// SMBSecurityStrategy_Values returns all elements of the SMBSecurityStrategy enum +func SMBSecurityStrategy_Values() []string { + return []string{ + SMBSecurityStrategyClientSpecified, + SMBSecurityStrategyMandatorySigning, + SMBSecurityStrategyMandatoryEncryption, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/swf/api.go b/vendor/github.com/aws/aws-sdk-go/service/swf/api.go index bd25e12c8fa..746d05b1121 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/swf/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/swf/api.go @@ -16607,6 +16607,16 @@ const ( ActivityTaskTimeoutTypeHeartbeat = "HEARTBEAT" ) +// ActivityTaskTimeoutType_Values returns all elements of the ActivityTaskTimeoutType enum +func ActivityTaskTimeoutType_Values() []string { + return []string{ + ActivityTaskTimeoutTypeStartToClose, + ActivityTaskTimeoutTypeScheduleToStart, + ActivityTaskTimeoutTypeScheduleToClose, + ActivityTaskTimeoutTypeHeartbeat, + } +} + const ( // CancelTimerFailedCauseTimerIdUnknown is a CancelTimerFailedCause enum value CancelTimerFailedCauseTimerIdUnknown = "TIMER_ID_UNKNOWN" @@ -16615,6 +16625,14 @@ const ( CancelTimerFailedCauseOperationNotPermitted = "OPERATION_NOT_PERMITTED" ) +// CancelTimerFailedCause_Values returns all elements of the CancelTimerFailedCause enum +func CancelTimerFailedCause_Values() []string { + return []string{ + CancelTimerFailedCauseTimerIdUnknown, + CancelTimerFailedCauseOperationNotPermitted, + } +} + const ( // CancelWorkflowExecutionFailedCauseUnhandledDecision is a CancelWorkflowExecutionFailedCause enum value CancelWorkflowExecutionFailedCauseUnhandledDecision = "UNHANDLED_DECISION" @@ -16623,6 +16641,14 @@ const ( CancelWorkflowExecutionFailedCauseOperationNotPermitted = "OPERATION_NOT_PERMITTED" ) +// CancelWorkflowExecutionFailedCause_Values returns all elements of the CancelWorkflowExecutionFailedCause enum +func CancelWorkflowExecutionFailedCause_Values() []string { + return []string{ + CancelWorkflowExecutionFailedCauseUnhandledDecision, + CancelWorkflowExecutionFailedCauseOperationNotPermitted, + } +} + const ( // ChildPolicyTerminate is a ChildPolicy enum value ChildPolicyTerminate = "TERMINATE" @@ -16634,6 +16660,15 @@ const ( ChildPolicyAbandon = "ABANDON" ) +// ChildPolicy_Values returns all elements of the ChildPolicy enum +func ChildPolicy_Values() []string { + return []string{ + ChildPolicyTerminate, + ChildPolicyRequestCancel, + ChildPolicyAbandon, + } +} + const ( // CloseStatusCompleted is a CloseStatus enum value CloseStatusCompleted = "COMPLETED" @@ -16654,6 +16689,18 @@ const ( CloseStatusTimedOut = "TIMED_OUT" ) +// CloseStatus_Values returns all elements of the CloseStatus enum +func CloseStatus_Values() []string { + return []string{ + CloseStatusCompleted, + CloseStatusFailed, + CloseStatusCanceled, + CloseStatusTerminated, + CloseStatusContinuedAsNew, + CloseStatusTimedOut, + } +} + const ( // CompleteWorkflowExecutionFailedCauseUnhandledDecision is a CompleteWorkflowExecutionFailedCause enum value CompleteWorkflowExecutionFailedCauseUnhandledDecision = "UNHANDLED_DECISION" @@ -16662,6 +16709,14 @@ const ( CompleteWorkflowExecutionFailedCauseOperationNotPermitted = "OPERATION_NOT_PERMITTED" ) +// CompleteWorkflowExecutionFailedCause_Values returns all elements of the CompleteWorkflowExecutionFailedCause enum +func CompleteWorkflowExecutionFailedCause_Values() []string { + return []string{ + CompleteWorkflowExecutionFailedCauseUnhandledDecision, + CompleteWorkflowExecutionFailedCauseOperationNotPermitted, + } +} + const ( // ContinueAsNewWorkflowExecutionFailedCauseUnhandledDecision is a ContinueAsNewWorkflowExecutionFailedCause enum value ContinueAsNewWorkflowExecutionFailedCauseUnhandledDecision = "UNHANDLED_DECISION" @@ -16691,11 +16746,33 @@ const ( ContinueAsNewWorkflowExecutionFailedCauseOperationNotPermitted = "OPERATION_NOT_PERMITTED" ) +// ContinueAsNewWorkflowExecutionFailedCause_Values returns all elements of the ContinueAsNewWorkflowExecutionFailedCause enum +func ContinueAsNewWorkflowExecutionFailedCause_Values() []string { + return []string{ + ContinueAsNewWorkflowExecutionFailedCauseUnhandledDecision, + ContinueAsNewWorkflowExecutionFailedCauseWorkflowTypeDeprecated, + ContinueAsNewWorkflowExecutionFailedCauseWorkflowTypeDoesNotExist, + ContinueAsNewWorkflowExecutionFailedCauseDefaultExecutionStartToCloseTimeoutUndefined, + ContinueAsNewWorkflowExecutionFailedCauseDefaultTaskStartToCloseTimeoutUndefined, + ContinueAsNewWorkflowExecutionFailedCauseDefaultTaskListUndefined, + ContinueAsNewWorkflowExecutionFailedCauseDefaultChildPolicyUndefined, + ContinueAsNewWorkflowExecutionFailedCauseContinueAsNewWorkflowExecutionRateExceeded, + ContinueAsNewWorkflowExecutionFailedCauseOperationNotPermitted, + } +} + const ( // DecisionTaskTimeoutTypeStartToClose is a DecisionTaskTimeoutType enum value DecisionTaskTimeoutTypeStartToClose = "START_TO_CLOSE" ) +// DecisionTaskTimeoutType_Values returns all elements of the DecisionTaskTimeoutType enum +func DecisionTaskTimeoutType_Values() []string { + return []string{ + DecisionTaskTimeoutTypeStartToClose, + } +} + const ( // DecisionTypeScheduleActivityTask is a DecisionType enum value DecisionTypeScheduleActivityTask = "ScheduleActivityTask" @@ -16737,6 +16814,25 @@ const ( DecisionTypeScheduleLambdaFunction = "ScheduleLambdaFunction" ) +// DecisionType_Values returns all elements of the DecisionType enum +func DecisionType_Values() []string { + return []string{ + DecisionTypeScheduleActivityTask, + DecisionTypeRequestCancelActivityTask, + DecisionTypeCompleteWorkflowExecution, + DecisionTypeFailWorkflowExecution, + DecisionTypeCancelWorkflowExecution, + DecisionTypeContinueAsNewWorkflowExecution, + DecisionTypeRecordMarker, + DecisionTypeStartTimer, + DecisionTypeCancelTimer, + DecisionTypeSignalExternalWorkflowExecution, + DecisionTypeRequestCancelExternalWorkflowExecution, + DecisionTypeStartChildWorkflowExecution, + DecisionTypeScheduleLambdaFunction, + } +} + const ( // EventTypeWorkflowExecutionStarted is a EventType enum value EventTypeWorkflowExecutionStarted = "WorkflowExecutionStarted" @@ -16901,6 +16997,66 @@ const ( EventTypeStartLambdaFunctionFailed = "StartLambdaFunctionFailed" ) +// EventType_Values returns all elements of the EventType enum +func EventType_Values() []string { + return []string{ + EventTypeWorkflowExecutionStarted, + EventTypeWorkflowExecutionCancelRequested, + EventTypeWorkflowExecutionCompleted, + EventTypeCompleteWorkflowExecutionFailed, + EventTypeWorkflowExecutionFailed, + EventTypeFailWorkflowExecutionFailed, + EventTypeWorkflowExecutionTimedOut, + EventTypeWorkflowExecutionCanceled, + EventTypeCancelWorkflowExecutionFailed, + EventTypeWorkflowExecutionContinuedAsNew, + EventTypeContinueAsNewWorkflowExecutionFailed, + EventTypeWorkflowExecutionTerminated, + EventTypeDecisionTaskScheduled, + EventTypeDecisionTaskStarted, + EventTypeDecisionTaskCompleted, + EventTypeDecisionTaskTimedOut, + EventTypeActivityTaskScheduled, + EventTypeScheduleActivityTaskFailed, + EventTypeActivityTaskStarted, + EventTypeActivityTaskCompleted, + EventTypeActivityTaskFailed, + EventTypeActivityTaskTimedOut, + EventTypeActivityTaskCanceled, + EventTypeActivityTaskCancelRequested, + EventTypeRequestCancelActivityTaskFailed, + EventTypeWorkflowExecutionSignaled, + EventTypeMarkerRecorded, + EventTypeRecordMarkerFailed, + EventTypeTimerStarted, + EventTypeStartTimerFailed, + EventTypeTimerFired, + EventTypeTimerCanceled, + EventTypeCancelTimerFailed, + EventTypeStartChildWorkflowExecutionInitiated, + EventTypeStartChildWorkflowExecutionFailed, + EventTypeChildWorkflowExecutionStarted, + EventTypeChildWorkflowExecutionCompleted, + EventTypeChildWorkflowExecutionFailed, + EventTypeChildWorkflowExecutionTimedOut, + EventTypeChildWorkflowExecutionCanceled, + EventTypeChildWorkflowExecutionTerminated, + EventTypeSignalExternalWorkflowExecutionInitiated, + EventTypeSignalExternalWorkflowExecutionFailed, + EventTypeExternalWorkflowExecutionSignaled, + EventTypeRequestCancelExternalWorkflowExecutionInitiated, + EventTypeRequestCancelExternalWorkflowExecutionFailed, + EventTypeExternalWorkflowExecutionCancelRequested, + EventTypeLambdaFunctionScheduled, + EventTypeLambdaFunctionStarted, + EventTypeLambdaFunctionCompleted, + EventTypeLambdaFunctionFailed, + EventTypeLambdaFunctionTimedOut, + EventTypeScheduleLambdaFunctionFailed, + EventTypeStartLambdaFunctionFailed, + } +} + const ( // ExecutionStatusOpen is a ExecutionStatus enum value ExecutionStatusOpen = "OPEN" @@ -16909,6 +17065,14 @@ const ( ExecutionStatusClosed = "CLOSED" ) +// ExecutionStatus_Values returns all elements of the ExecutionStatus enum +func ExecutionStatus_Values() []string { + return []string{ + ExecutionStatusOpen, + ExecutionStatusClosed, + } +} + const ( // FailWorkflowExecutionFailedCauseUnhandledDecision is a FailWorkflowExecutionFailedCause enum value FailWorkflowExecutionFailedCauseUnhandledDecision = "UNHANDLED_DECISION" @@ -16917,16 +17081,38 @@ const ( FailWorkflowExecutionFailedCauseOperationNotPermitted = "OPERATION_NOT_PERMITTED" ) +// FailWorkflowExecutionFailedCause_Values returns all elements of the FailWorkflowExecutionFailedCause enum +func FailWorkflowExecutionFailedCause_Values() []string { + return []string{ + FailWorkflowExecutionFailedCauseUnhandledDecision, + FailWorkflowExecutionFailedCauseOperationNotPermitted, + } +} + const ( // LambdaFunctionTimeoutTypeStartToClose is a LambdaFunctionTimeoutType enum value LambdaFunctionTimeoutTypeStartToClose = "START_TO_CLOSE" ) +// LambdaFunctionTimeoutType_Values returns all elements of the LambdaFunctionTimeoutType enum +func LambdaFunctionTimeoutType_Values() []string { + return []string{ + LambdaFunctionTimeoutTypeStartToClose, + } +} + const ( // RecordMarkerFailedCauseOperationNotPermitted is a RecordMarkerFailedCause enum value RecordMarkerFailedCauseOperationNotPermitted = "OPERATION_NOT_PERMITTED" ) +// RecordMarkerFailedCause_Values returns all elements of the RecordMarkerFailedCause enum +func RecordMarkerFailedCause_Values() []string { + return []string{ + RecordMarkerFailedCauseOperationNotPermitted, + } +} + const ( // RegistrationStatusRegistered is a RegistrationStatus enum value RegistrationStatusRegistered = "REGISTERED" @@ -16935,6 +17121,14 @@ const ( RegistrationStatusDeprecated = "DEPRECATED" ) +// RegistrationStatus_Values returns all elements of the RegistrationStatus enum +func RegistrationStatus_Values() []string { + return []string{ + RegistrationStatusRegistered, + RegistrationStatusDeprecated, + } +} + const ( // RequestCancelActivityTaskFailedCauseActivityIdUnknown is a RequestCancelActivityTaskFailedCause enum value RequestCancelActivityTaskFailedCauseActivityIdUnknown = "ACTIVITY_ID_UNKNOWN" @@ -16943,6 +17137,14 @@ const ( RequestCancelActivityTaskFailedCauseOperationNotPermitted = "OPERATION_NOT_PERMITTED" ) +// RequestCancelActivityTaskFailedCause_Values returns all elements of the RequestCancelActivityTaskFailedCause enum +func RequestCancelActivityTaskFailedCause_Values() []string { + return []string{ + RequestCancelActivityTaskFailedCauseActivityIdUnknown, + RequestCancelActivityTaskFailedCauseOperationNotPermitted, + } +} + const ( // RequestCancelExternalWorkflowExecutionFailedCauseUnknownExternalWorkflowExecution is a RequestCancelExternalWorkflowExecutionFailedCause enum value RequestCancelExternalWorkflowExecutionFailedCauseUnknownExternalWorkflowExecution = "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION" @@ -16954,6 +17156,15 @@ const ( RequestCancelExternalWorkflowExecutionFailedCauseOperationNotPermitted = "OPERATION_NOT_PERMITTED" ) +// RequestCancelExternalWorkflowExecutionFailedCause_Values returns all elements of the RequestCancelExternalWorkflowExecutionFailedCause enum +func RequestCancelExternalWorkflowExecutionFailedCause_Values() []string { + return []string{ + RequestCancelExternalWorkflowExecutionFailedCauseUnknownExternalWorkflowExecution, + RequestCancelExternalWorkflowExecutionFailedCauseRequestCancelExternalWorkflowExecutionRateExceeded, + RequestCancelExternalWorkflowExecutionFailedCauseOperationNotPermitted, + } +} + const ( // ScheduleActivityTaskFailedCauseActivityTypeDeprecated is a ScheduleActivityTaskFailedCause enum value ScheduleActivityTaskFailedCauseActivityTypeDeprecated = "ACTIVITY_TYPE_DEPRECATED" @@ -16989,6 +17200,23 @@ const ( ScheduleActivityTaskFailedCauseOperationNotPermitted = "OPERATION_NOT_PERMITTED" ) +// ScheduleActivityTaskFailedCause_Values returns all elements of the ScheduleActivityTaskFailedCause enum +func ScheduleActivityTaskFailedCause_Values() []string { + return []string{ + ScheduleActivityTaskFailedCauseActivityTypeDeprecated, + ScheduleActivityTaskFailedCauseActivityTypeDoesNotExist, + ScheduleActivityTaskFailedCauseActivityIdAlreadyInUse, + ScheduleActivityTaskFailedCauseOpenActivitiesLimitExceeded, + ScheduleActivityTaskFailedCauseActivityCreationRateExceeded, + ScheduleActivityTaskFailedCauseDefaultScheduleToCloseTimeoutUndefined, + ScheduleActivityTaskFailedCauseDefaultTaskListUndefined, + ScheduleActivityTaskFailedCauseDefaultScheduleToStartTimeoutUndefined, + ScheduleActivityTaskFailedCauseDefaultStartToCloseTimeoutUndefined, + ScheduleActivityTaskFailedCauseDefaultHeartbeatTimeoutUndefined, + ScheduleActivityTaskFailedCauseOperationNotPermitted, + } +} + const ( // ScheduleLambdaFunctionFailedCauseIdAlreadyInUse is a ScheduleLambdaFunctionFailedCause enum value ScheduleLambdaFunctionFailedCauseIdAlreadyInUse = "ID_ALREADY_IN_USE" @@ -17003,6 +17231,16 @@ const ( ScheduleLambdaFunctionFailedCauseLambdaServiceNotAvailableInRegion = "LAMBDA_SERVICE_NOT_AVAILABLE_IN_REGION" ) +// ScheduleLambdaFunctionFailedCause_Values returns all elements of the ScheduleLambdaFunctionFailedCause enum +func ScheduleLambdaFunctionFailedCause_Values() []string { + return []string{ + ScheduleLambdaFunctionFailedCauseIdAlreadyInUse, + ScheduleLambdaFunctionFailedCauseOpenLambdaFunctionsLimitExceeded, + ScheduleLambdaFunctionFailedCauseLambdaFunctionCreationRateExceeded, + ScheduleLambdaFunctionFailedCauseLambdaServiceNotAvailableInRegion, + } +} + const ( // SignalExternalWorkflowExecutionFailedCauseUnknownExternalWorkflowExecution is a SignalExternalWorkflowExecutionFailedCause enum value SignalExternalWorkflowExecutionFailedCauseUnknownExternalWorkflowExecution = "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION" @@ -17014,6 +17252,15 @@ const ( SignalExternalWorkflowExecutionFailedCauseOperationNotPermitted = "OPERATION_NOT_PERMITTED" ) +// SignalExternalWorkflowExecutionFailedCause_Values returns all elements of the SignalExternalWorkflowExecutionFailedCause enum +func SignalExternalWorkflowExecutionFailedCause_Values() []string { + return []string{ + SignalExternalWorkflowExecutionFailedCauseUnknownExternalWorkflowExecution, + SignalExternalWorkflowExecutionFailedCauseSignalExternalWorkflowExecutionRateExceeded, + SignalExternalWorkflowExecutionFailedCauseOperationNotPermitted, + } +} + const ( // StartChildWorkflowExecutionFailedCauseWorkflowTypeDoesNotExist is a StartChildWorkflowExecutionFailedCause enum value StartChildWorkflowExecutionFailedCauseWorkflowTypeDoesNotExist = "WORKFLOW_TYPE_DOES_NOT_EXIST" @@ -17049,11 +17296,35 @@ const ( StartChildWorkflowExecutionFailedCauseOperationNotPermitted = "OPERATION_NOT_PERMITTED" ) +// StartChildWorkflowExecutionFailedCause_Values returns all elements of the StartChildWorkflowExecutionFailedCause enum +func StartChildWorkflowExecutionFailedCause_Values() []string { + return []string{ + StartChildWorkflowExecutionFailedCauseWorkflowTypeDoesNotExist, + StartChildWorkflowExecutionFailedCauseWorkflowTypeDeprecated, + StartChildWorkflowExecutionFailedCauseOpenChildrenLimitExceeded, + StartChildWorkflowExecutionFailedCauseOpenWorkflowsLimitExceeded, + StartChildWorkflowExecutionFailedCauseChildCreationRateExceeded, + StartChildWorkflowExecutionFailedCauseWorkflowAlreadyRunning, + StartChildWorkflowExecutionFailedCauseDefaultExecutionStartToCloseTimeoutUndefined, + StartChildWorkflowExecutionFailedCauseDefaultTaskListUndefined, + StartChildWorkflowExecutionFailedCauseDefaultTaskStartToCloseTimeoutUndefined, + StartChildWorkflowExecutionFailedCauseDefaultChildPolicyUndefined, + StartChildWorkflowExecutionFailedCauseOperationNotPermitted, + } +} + const ( // StartLambdaFunctionFailedCauseAssumeRoleFailed is a StartLambdaFunctionFailedCause enum value StartLambdaFunctionFailedCauseAssumeRoleFailed = "ASSUME_ROLE_FAILED" ) +// StartLambdaFunctionFailedCause_Values returns all elements of the StartLambdaFunctionFailedCause enum +func StartLambdaFunctionFailedCause_Values() []string { + return []string{ + StartLambdaFunctionFailedCauseAssumeRoleFailed, + } +} + const ( // StartTimerFailedCauseTimerIdAlreadyInUse is a StartTimerFailedCause enum value StartTimerFailedCauseTimerIdAlreadyInUse = "TIMER_ID_ALREADY_IN_USE" @@ -17068,11 +17339,28 @@ const ( StartTimerFailedCauseOperationNotPermitted = "OPERATION_NOT_PERMITTED" ) +// StartTimerFailedCause_Values returns all elements of the StartTimerFailedCause enum +func StartTimerFailedCause_Values() []string { + return []string{ + StartTimerFailedCauseTimerIdAlreadyInUse, + StartTimerFailedCauseOpenTimersLimitExceeded, + StartTimerFailedCauseTimerCreationRateExceeded, + StartTimerFailedCauseOperationNotPermitted, + } +} + const ( // WorkflowExecutionCancelRequestedCauseChildPolicyApplied is a WorkflowExecutionCancelRequestedCause enum value WorkflowExecutionCancelRequestedCauseChildPolicyApplied = "CHILD_POLICY_APPLIED" ) +// WorkflowExecutionCancelRequestedCause_Values returns all elements of the WorkflowExecutionCancelRequestedCause enum +func WorkflowExecutionCancelRequestedCause_Values() []string { + return []string{ + WorkflowExecutionCancelRequestedCauseChildPolicyApplied, + } +} + const ( // WorkflowExecutionTerminatedCauseChildPolicyApplied is a WorkflowExecutionTerminatedCause enum value WorkflowExecutionTerminatedCauseChildPolicyApplied = "CHILD_POLICY_APPLIED" @@ -17084,7 +17372,23 @@ const ( WorkflowExecutionTerminatedCauseOperatorInitiated = "OPERATOR_INITIATED" ) +// WorkflowExecutionTerminatedCause_Values returns all elements of the WorkflowExecutionTerminatedCause enum +func WorkflowExecutionTerminatedCause_Values() []string { + return []string{ + WorkflowExecutionTerminatedCauseChildPolicyApplied, + WorkflowExecutionTerminatedCauseEventLimitExceeded, + WorkflowExecutionTerminatedCauseOperatorInitiated, + } +} + const ( // WorkflowExecutionTimeoutTypeStartToClose is a WorkflowExecutionTimeoutType enum value WorkflowExecutionTimeoutTypeStartToClose = "START_TO_CLOSE" ) + +// WorkflowExecutionTimeoutType_Values returns all elements of the WorkflowExecutionTimeoutType enum +func WorkflowExecutionTimeoutType_Values() []string { + return []string{ + WorkflowExecutionTimeoutTypeStartToClose, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/synthetics/api.go b/vendor/github.com/aws/aws-sdk-go/service/synthetics/api.go index f1daa6fad45..107217f226f 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/synthetics/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/synthetics/api.go @@ -3774,6 +3774,15 @@ const ( CanaryRunStateFailed = "FAILED" ) +// CanaryRunState_Values returns all elements of the CanaryRunState enum +func CanaryRunState_Values() []string { + return []string{ + CanaryRunStateRunning, + CanaryRunStatePassed, + CanaryRunStateFailed, + } +} + const ( // CanaryRunStateReasonCodeCanaryFailure is a CanaryRunStateReasonCode enum value CanaryRunStateReasonCodeCanaryFailure = "CANARY_FAILURE" @@ -3782,6 +3791,14 @@ const ( CanaryRunStateReasonCodeExecutionFailure = "EXECUTION_FAILURE" ) +// CanaryRunStateReasonCode_Values returns all elements of the CanaryRunStateReasonCode enum +func CanaryRunStateReasonCode_Values() []string { + return []string{ + CanaryRunStateReasonCodeCanaryFailure, + CanaryRunStateReasonCodeExecutionFailure, + } +} + const ( // CanaryStateCreating is a CanaryState enum value CanaryStateCreating = "CREATING" @@ -3811,7 +3828,29 @@ const ( CanaryStateDeleting = "DELETING" ) +// CanaryState_Values returns all elements of the CanaryState enum +func CanaryState_Values() []string { + return []string{ + CanaryStateCreating, + CanaryStateReady, + CanaryStateStarting, + CanaryStateRunning, + CanaryStateUpdating, + CanaryStateStopping, + CanaryStateStopped, + CanaryStateError, + CanaryStateDeleting, + } +} + const ( // CanaryStateReasonCodeInvalidPermissions is a CanaryStateReasonCode enum value CanaryStateReasonCodeInvalidPermissions = "INVALID_PERMISSIONS" ) + +// CanaryStateReasonCode_Values returns all elements of the CanaryStateReasonCode enum +func CanaryStateReasonCode_Values() []string { + return []string{ + CanaryStateReasonCodeInvalidPermissions, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/transfer/api.go b/vendor/github.com/aws/aws-sdk-go/service/transfer/api.go index 3a9fc512c6c..1a8170f85fc 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/transfer/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/transfer/api.go @@ -502,6 +502,99 @@ func (c *Transfer) DeleteUserWithContext(ctx aws.Context, input *DeleteUserInput return out, req.Send() } +const opDescribeSecurityPolicy = "DescribeSecurityPolicy" + +// DescribeSecurityPolicyRequest generates a "aws/request.Request" representing the +// client's request for the DescribeSecurityPolicy operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeSecurityPolicy for more information on using the DescribeSecurityPolicy +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DescribeSecurityPolicyRequest method. +// req, resp := client.DescribeSecurityPolicyRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribeSecurityPolicy +func (c *Transfer) DescribeSecurityPolicyRequest(input *DescribeSecurityPolicyInput) (req *request.Request, output *DescribeSecurityPolicyOutput) { + op := &request.Operation{ + Name: opDescribeSecurityPolicy, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DescribeSecurityPolicyInput{} + } + + output = &DescribeSecurityPolicyOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeSecurityPolicy API operation for AWS Transfer Family. +// +// Describes the security policy that is attached to your file transfer protocol-enabled +// server. The response contains a description of the security policy's properties. +// For more information about security policies, see Working with security policies +// (https://docs.aws.amazon.com/transfer/latest/userguide/security-policies.html). +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Transfer Family's +// API operation DescribeSecurityPolicy for usage and error information. +// +// Returned Error Types: +// * ServiceUnavailableException +// The request has failed because the AWS Transfer Family service is not available. +// +// * InternalServiceError +// This exception is thrown when an error occurs in the AWS Transfer Family +// service. +// +// * InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// * ResourceNotFoundException +// This exception is thrown when a resource is not found by the AWS Transfer +// Family service. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribeSecurityPolicy +func (c *Transfer) DescribeSecurityPolicy(input *DescribeSecurityPolicyInput) (*DescribeSecurityPolicyOutput, error) { + req, out := c.DescribeSecurityPolicyRequest(input) + return out, req.Send() +} + +// DescribeSecurityPolicyWithContext is the same as DescribeSecurityPolicy with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeSecurityPolicy for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Transfer) DescribeSecurityPolicyWithContext(ctx aws.Context, input *DescribeSecurityPolicyInput, opts ...request.Option) (*DescribeSecurityPolicyOutput, error) { + req, out := c.DescribeSecurityPolicyRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDescribeServer = "DescribeServer" // DescribeServerRequest generates a "aws/request.Request" representing the @@ -793,6 +886,154 @@ func (c *Transfer) ImportSshPublicKeyWithContext(ctx aws.Context, input *ImportS return out, req.Send() } +const opListSecurityPolicies = "ListSecurityPolicies" + +// ListSecurityPoliciesRequest generates a "aws/request.Request" representing the +// client's request for the ListSecurityPolicies operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListSecurityPolicies for more information on using the ListSecurityPolicies +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListSecurityPoliciesRequest method. +// req, resp := client.ListSecurityPoliciesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ListSecurityPolicies +func (c *Transfer) ListSecurityPoliciesRequest(input *ListSecurityPoliciesInput) (req *request.Request, output *ListSecurityPoliciesOutput) { + op := &request.Operation{ + Name: opListSecurityPolicies, + HTTPMethod: "POST", + HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListSecurityPoliciesInput{} + } + + output = &ListSecurityPoliciesOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListSecurityPolicies API operation for AWS Transfer Family. +// +// Lists the security policies that are attached to your file transfer protocol-enabled +// servers. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Transfer Family's +// API operation ListSecurityPolicies for usage and error information. +// +// Returned Error Types: +// * ServiceUnavailableException +// The request has failed because the AWS Transfer Family service is not available. +// +// * InternalServiceError +// This exception is thrown when an error occurs in the AWS Transfer Family +// service. +// +// * InvalidNextTokenException +// The NextToken parameter that was passed is invalid. +// +// * InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ListSecurityPolicies +func (c *Transfer) ListSecurityPolicies(input *ListSecurityPoliciesInput) (*ListSecurityPoliciesOutput, error) { + req, out := c.ListSecurityPoliciesRequest(input) + return out, req.Send() +} + +// ListSecurityPoliciesWithContext is the same as ListSecurityPolicies with the addition of +// the ability to pass a context and additional request options. +// +// See ListSecurityPolicies for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Transfer) ListSecurityPoliciesWithContext(ctx aws.Context, input *ListSecurityPoliciesInput, opts ...request.Option) (*ListSecurityPoliciesOutput, error) { + req, out := c.ListSecurityPoliciesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListSecurityPoliciesPages iterates over the pages of a ListSecurityPolicies operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListSecurityPolicies method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListSecurityPolicies operation. +// pageNum := 0 +// err := client.ListSecurityPoliciesPages(params, +// func(page *transfer.ListSecurityPoliciesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *Transfer) ListSecurityPoliciesPages(input *ListSecurityPoliciesInput, fn func(*ListSecurityPoliciesOutput, bool) bool) error { + return c.ListSecurityPoliciesPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListSecurityPoliciesPagesWithContext same as ListSecurityPoliciesPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Transfer) ListSecurityPoliciesPagesWithContext(ctx aws.Context, input *ListSecurityPoliciesInput, fn func(*ListSecurityPoliciesOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListSecurityPoliciesInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListSecurityPoliciesRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListSecurityPoliciesOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListServers = "ListServers" // ListServersRequest generates a "aws/request.Request" representing the @@ -2151,8 +2392,8 @@ type CreateServerInput struct { // * FTP (File Transfer Protocol): Unencrypted file transfer // // If you select FTPS, you must choose a certificate stored in AWS Certificate - // Manager (ACM) which will be used to identify your server when clients connect - // to it over FTPS. + // Manager (ACM) which will be used to identify your file transfer protocol-enabled + // server when clients connect to it over FTPS. // // If Protocol includes either FTP or FTPS, then the EndpointType must be VPC // and the IdentityProviderType must be API_GATEWAY. @@ -2163,6 +2404,9 @@ type CreateServerInput struct { // the IdentityProviderType can be set to SERVICE_MANAGED. Protocols []*string `min:"1" type:"list"` + // Specifies the name of the security policy that is attached to the server. + SecurityPolicyName *string `type:"string"` + // Key-value pairs that can be used to group and search for file transfer protocol-enabled // servers. Tags []*Tag `min:"1" type:"list"` @@ -2265,6 +2509,12 @@ func (s *CreateServerInput) SetProtocols(v []*string) *CreateServerInput { return s } +// SetSecurityPolicyName sets the SecurityPolicyName field's value. +func (s *CreateServerInput) SetSecurityPolicyName(v string) *CreateServerInput { + s.SecurityPolicyName = &v + return s +} + // SetTags sets the Tags field's value. func (s *CreateServerInput) SetTags(v []*Tag) *CreateServerInput { s.Tags = v @@ -2321,7 +2571,7 @@ type CreateUserInput struct { // you can set Entry to '/' and set Target to the HomeDirectory parameter value. // // If the target of a logical directory entry does not exist in Amazon S3, the - // entry will be ignored. As a workaround, you can use the Amazon S3 api to + // entry will be ignored. As a workaround, you can use the Amazon S3 API to // create 0 byte objects as place holders for your directory. If using the CLI, // use the s3api call instead of s3 so you can use the put-object operation. // For example, you use the following: aws s3api put-object --bucket bucketname @@ -2378,9 +2628,10 @@ type CreateUserInput struct { // A unique string that identifies a user and is associated with a file transfer // protocol-enabled server as specified by the ServerId. This user name must - // be a minimum of 3 and a maximum of 32 characters long. The following are - // valid characters: a-z, A-Z, 0-9, underscore, and hyphen. The user name can't - // start with a hyphen. + // be a minimum of 3 and a maximum of 100 characters long. The following are + // valid characters: a-z, A-Z, 0-9, underscore '_', hyphen '-', period '.', + // and at sign '@'. The user name can't start with a hyphen, period, and at + // sign. // // UserName is a required field UserName *string `min:"3" type:"string" required:"true"` @@ -2762,6 +3013,69 @@ func (s DeleteUserOutput) GoString() string { return s.String() } +type DescribeSecurityPolicyInput struct { + _ struct{} `type:"structure"` + + // Specifies the name of the security policy that is attached to the server. + // + // SecurityPolicyName is a required field + SecurityPolicyName *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s DescribeSecurityPolicyInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeSecurityPolicyInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeSecurityPolicyInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeSecurityPolicyInput"} + if s.SecurityPolicyName == nil { + invalidParams.Add(request.NewErrParamRequired("SecurityPolicyName")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetSecurityPolicyName sets the SecurityPolicyName field's value. +func (s *DescribeSecurityPolicyInput) SetSecurityPolicyName(v string) *DescribeSecurityPolicyInput { + s.SecurityPolicyName = &v + return s +} + +type DescribeSecurityPolicyOutput struct { + _ struct{} `type:"structure"` + + // An array containing the properties of the security policy. + // + // SecurityPolicy is a required field + SecurityPolicy *DescribedSecurityPolicy `type:"structure" required:"true"` +} + +// String returns the string representation +func (s DescribeSecurityPolicyOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeSecurityPolicyOutput) GoString() string { + return s.String() +} + +// SetSecurityPolicy sets the SecurityPolicy field's value. +func (s *DescribeSecurityPolicyOutput) SetSecurityPolicy(v *DescribedSecurityPolicy) *DescribeSecurityPolicyOutput { + s.SecurityPolicy = v + return s +} + type DescribeServerInput struct { _ struct{} `type:"structure"` @@ -2929,17 +3243,90 @@ func (s *DescribeUserOutput) SetUser(v *DescribedUser) *DescribeUserOutput { return s } +// Describes the properties of a security policy that was specified. For more +// information about security policies, see Working with security policies (https://docs.aws.amazon.com/transfer/latest/userguide/security-policies.html). +type DescribedSecurityPolicy struct { + _ struct{} `type:"structure"` + + // Specifies whether this policy enables Federal Information Processing Standards + // (FIPS). + Fips *bool `type:"boolean"` + + // Specifies the name of the security policy that is attached to the server. + // + // SecurityPolicyName is a required field + SecurityPolicyName *string `type:"string" required:"true"` + + // Specifies the enabled Secure Shell (SSH) cipher encryption algorithms in + // the security policy that is attached to the server. + SshCiphers []*string `type:"list"` + + // Specifies the enabled SSH key exchange (KEX) encryption algorithms in the + // security policy that is attached to the server. + SshKexs []*string `type:"list"` + + // Specifies the enabled SSH message authentication code (MAC) encryption algorithms + // in the security policy that is attached to the server. + SshMacs []*string `type:"list"` + + // Specifies the enabled Transport Layer Security (TLS) cipher encryption algorithms + // in the security policy that is attached to the server. + TlsCiphers []*string `type:"list"` +} + +// String returns the string representation +func (s DescribedSecurityPolicy) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribedSecurityPolicy) GoString() string { + return s.String() +} + +// SetFips sets the Fips field's value. +func (s *DescribedSecurityPolicy) SetFips(v bool) *DescribedSecurityPolicy { + s.Fips = &v + return s +} + +// SetSecurityPolicyName sets the SecurityPolicyName field's value. +func (s *DescribedSecurityPolicy) SetSecurityPolicyName(v string) *DescribedSecurityPolicy { + s.SecurityPolicyName = &v + return s +} + +// SetSshCiphers sets the SshCiphers field's value. +func (s *DescribedSecurityPolicy) SetSshCiphers(v []*string) *DescribedSecurityPolicy { + s.SshCiphers = v + return s +} + +// SetSshKexs sets the SshKexs field's value. +func (s *DescribedSecurityPolicy) SetSshKexs(v []*string) *DescribedSecurityPolicy { + s.SshKexs = v + return s +} + +// SetSshMacs sets the SshMacs field's value. +func (s *DescribedSecurityPolicy) SetSshMacs(v []*string) *DescribedSecurityPolicy { + s.SshMacs = v + return s +} + +// SetTlsCiphers sets the TlsCiphers field's value. +func (s *DescribedSecurityPolicy) SetTlsCiphers(v []*string) *DescribedSecurityPolicy { + s.TlsCiphers = v + return s +} + // Describes the properties of a file transfer protocol-enabled server that -// was specified. Information returned includes the following: the server Amazon -// Resource Name (ARN), the certificate ARN (if the FTPS protocol was selected), -// the endpoint type and details, the authentication configuration and type, -// the logging role, the file transfer protocol or protocols, the server ID -// and state, and assigned tags or metadata. +// was specified. type DescribedServer struct { _ struct{} `type:"structure"` - // Specifies the unique Amazon Resource Name (ARN) for a file transfer protocol-enabled - // server to be described. + // Specifies the unique Amazon Resource Name (ARN) of the file transfer protocol-enabled + // server. // // Arn is a required field Arn *string `min:"20" type:"string" required:"true"` @@ -2992,6 +3379,9 @@ type DescribedServer struct { // * FTP (File Transfer Protocol): Unencrypted file transfer Protocols []*string `min:"1" type:"list"` + // Specifies the name of the security policy that is attached to the server. + SecurityPolicyName *string `type:"string"` + // Specifies the unique system-assigned identifier for a file transfer protocol-enabled // server that you instantiate. ServerId *string `min:"19" type:"string"` @@ -3080,6 +3470,12 @@ func (s *DescribedServer) SetProtocols(v []*string) *DescribedServer { return s } +// SetSecurityPolicyName sets the SecurityPolicyName field's value. +func (s *DescribedServer) SetSecurityPolicyName(v string) *DescribedServer { + s.SecurityPolicyName = &v + return s +} + // SetServerId sets the ServerId field's value. func (s *DescribedServer) SetServerId(v string) *DescribedServer { s.ServerId = &v @@ -3104,7 +3500,7 @@ func (s *DescribedServer) SetUserCount(v int64) *DescribedServer { return s } -// Returns properties of the user that you want to describe. +// Describes the properties of a user that was specified. type DescribedUser struct { _ struct{} `type:"structure"` @@ -3309,7 +3705,7 @@ func (s *EndpointDetails) SetVpcId(v string) *EndpointDetails { return s } -// Represents an object that contains entries and a targets for HomeDirectoryMappings. +// Represents an object that contains entries and targets for HomeDirectoryMappings. type HomeDirectoryMapEntry struct { _ struct{} `type:"structure"` @@ -3704,6 +4100,94 @@ func (s *InvalidRequestException) RequestID() string { return s.RespMetadata.RequestID } +type ListSecurityPoliciesInput struct { + _ struct{} `type:"structure"` + + // Specifies the number of security policies to return as a response to the + // ListSecurityPolicies query. + MaxResults *int64 `min:"1" type:"integer"` + + // When additional results are obtained from the ListSecurityPolicies command, + // a NextToken parameter is returned in the output. You can then pass the NextToken + // parameter in a subsequent command to continue listing additional security + // policies. + NextToken *string `min:"1" type:"string"` +} + +// String returns the string representation +func (s ListSecurityPoliciesInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListSecurityPoliciesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListSecurityPoliciesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListSecurityPoliciesInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.NextToken != nil && len(*s.NextToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListSecurityPoliciesInput) SetMaxResults(v int64) *ListSecurityPoliciesInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListSecurityPoliciesInput) SetNextToken(v string) *ListSecurityPoliciesInput { + s.NextToken = &v + return s +} + +type ListSecurityPoliciesOutput struct { + _ struct{} `type:"structure"` + + // When you can get additional results from the ListSecurityPolicies operation, + // a NextToken parameter is returned in the output. In a following command, + // you can pass in the NextToken parameter to continue listing security policies. + NextToken *string `min:"1" type:"string"` + + // An array of security policies that were listed. + // + // SecurityPolicyNames is a required field + SecurityPolicyNames []*string `type:"list" required:"true"` +} + +// String returns the string representation +func (s ListSecurityPoliciesOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListSecurityPoliciesOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *ListSecurityPoliciesOutput) SetNextToken(v string) *ListSecurityPoliciesOutput { + s.NextToken = &v + return s +} + +// SetSecurityPolicyNames sets the SecurityPolicyNames field's value. +func (s *ListSecurityPoliciesOutput) SetSecurityPolicyNames(v []*string) *ListSecurityPoliciesOutput { + s.SecurityPolicyNames = v + return s +} + type ListServersInput struct { _ struct{} `type:"structure"` @@ -3711,7 +4195,7 @@ type ListServersInput struct { // as a response to the ListServers query. MaxResults *int64 `min:"1" type:"integer"` - // When additional results are obtained from theListServers command, a NextToken + // When additional results are obtained from the ListServers command, a NextToken // parameter is returned in the output. You can then pass the NextToken parameter // in a subsequent command to continue listing additional file transfer protocol-enabled // servers. @@ -5073,6 +5557,9 @@ type UpdateServerInput struct { // the IdentityProviderType can be set to SERVICE_MANAGED. Protocols []*string `min:"1" type:"list"` + // Specifies the name of the security policy that is attached to the server. + SecurityPolicyName *string `type:"string"` + // A system-assigned unique identifier for a file transfer protocol-enabled // server instance that the user account is assigned to. // @@ -5161,6 +5648,12 @@ func (s *UpdateServerInput) SetProtocols(v []*string) *UpdateServerInput { return s } +// SetSecurityPolicyName sets the SecurityPolicyName field's value. +func (s *UpdateServerInput) SetSecurityPolicyName(v string) *UpdateServerInput { + s.SecurityPolicyName = &v + return s +} + // SetServerId sets the ServerId field's value. func (s *UpdateServerInput) SetServerId(v string) *UpdateServerInput { s.ServerId = &v @@ -5218,7 +5711,7 @@ type UpdateUserInput struct { // you can set Entry to '/' and set Target to the HomeDirectory parameter value. // // If the target of a logical directory entry does not exist in Amazon S3, the - // entry will be ignored. As a workaround, you can use the Amazon S3 api to + // entry will be ignored. As a workaround, you can use the Amazon S3 API to // create 0 byte objects as place holders for your directory. If using the CLI, // use the s3api call instead of s3 so you can use the put-object operation. // For example, you use the following: aws s3api put-object --bucket bucketname @@ -5264,11 +5757,11 @@ type UpdateUserInput struct { ServerId *string `min:"19" type:"string" required:"true"` // A unique string that identifies a user and is associated with a file transfer - // protocol-enabled server as specified by the ServerId. This is the string - // that will be used by your user when they log in to your server. This user - // name is a minimum of 3 and a maximum of 32 characters long. The following - // are valid characters: a-z, A-Z, 0-9, underscore, and hyphen. The user name - // can't start with a hyphen. + // protocol-enabled server as specified by the ServerId. This user name must + // be a minimum of 3 and a maximum of 100 characters long. The following are + // valid characters: a-z, A-Z, 0-9, underscore '_', hyphen '-', period '.', + // and at sign '@'. The user name can't start with a hyphen, period, and at + // sign. // // UserName is a required field UserName *string `min:"3" type:"string" required:"true"` @@ -5415,6 +5908,15 @@ const ( EndpointTypeVpcEndpoint = "VPC_ENDPOINT" ) +// EndpointType_Values returns all elements of the EndpointType enum +func EndpointType_Values() []string { + return []string{ + EndpointTypePublic, + EndpointTypeVpc, + EndpointTypeVpcEndpoint, + } +} + const ( // HomeDirectoryTypePath is a HomeDirectoryType enum value HomeDirectoryTypePath = "PATH" @@ -5423,6 +5925,14 @@ const ( HomeDirectoryTypeLogical = "LOGICAL" ) +// HomeDirectoryType_Values returns all elements of the HomeDirectoryType enum +func HomeDirectoryType_Values() []string { + return []string{ + HomeDirectoryTypePath, + HomeDirectoryTypeLogical, + } +} + // Returns information related to the type of user authentication that is in // use for a file transfer protocol-enabled server's users. For SERVICE_MANAGED // authentication, the Secure Shell (SSH) public keys are stored with a user @@ -5437,6 +5947,14 @@ const ( IdentityProviderTypeApiGateway = "API_GATEWAY" ) +// IdentityProviderType_Values returns all elements of the IdentityProviderType enum +func IdentityProviderType_Values() []string { + return []string{ + IdentityProviderTypeServiceManaged, + IdentityProviderTypeApiGateway, + } +} + const ( // ProtocolSftp is a Protocol enum value ProtocolSftp = "SFTP" @@ -5448,6 +5966,15 @@ const ( ProtocolFtps = "FTPS" ) +// Protocol_Values returns all elements of the Protocol enum +func Protocol_Values() []string { + return []string{ + ProtocolSftp, + ProtocolFtp, + ProtocolFtps, + } +} + // Describes the condition of a file transfer protocol-enabled server with respect // to its ability to perform file operations. There are six possible states: // OFFLINE, ONLINE, STARTING, STOPPING, START_FAILED, and STOP_FAILED. @@ -5477,3 +6004,15 @@ const ( // StateStopFailed is a State enum value StateStopFailed = "STOP_FAILED" ) + +// State_Values returns all elements of the State enum +func State_Values() []string { + return []string{ + StateOffline, + StateOnline, + StateStarting, + StateStopping, + StateStartFailed, + StateStopFailed, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/transfer/doc.go b/vendor/github.com/aws/aws-sdk-go/service/transfer/doc.go index 407175dd222..fcbf894a252 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/transfer/doc.go +++ b/vendor/github.com/aws/aws-sdk-go/service/transfer/doc.go @@ -4,8 +4,8 @@ // requests to AWS Transfer Family. // // AWS Transfer Family is a fully managed service that enables the transfer -// of files over the the File Transfer Protocol (FTP), File Transfer Protocol -// over SSL (FTPS), or Secure Shell (SSH) File Transfer Protocol (SFTP) directly +// of files over the File Transfer Protocol (FTP), File Transfer Protocol over +// SSL (FTPS), or Secure Shell (SSH) File Transfer Protocol (SFTP) directly // into and out of Amazon Simple Storage Service (Amazon S3). AWS helps you // seamlessly migrate your file transfer workflows to AWS Transfer Family by // integrating with existing authentication systems, and providing DNS routing diff --git a/vendor/github.com/aws/aws-sdk-go/service/waf/api.go b/vendor/github.com/aws/aws-sdk-go/service/waf/api.go index 8abf0df8933..bf68bfcee25 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/waf/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/waf/api.go @@ -23047,6 +23047,14 @@ const ( ChangeActionDelete = "DELETE" ) +// ChangeAction_Values returns all elements of the ChangeAction enum +func ChangeAction_Values() []string { + return []string{ + ChangeActionInsert, + ChangeActionDelete, + } +} + const ( // ChangeTokenStatusProvisioned is a ChangeTokenStatus enum value ChangeTokenStatusProvisioned = "PROVISIONED" @@ -23058,6 +23066,15 @@ const ( ChangeTokenStatusInsync = "INSYNC" ) +// ChangeTokenStatus_Values returns all elements of the ChangeTokenStatus enum +func ChangeTokenStatus_Values() []string { + return []string{ + ChangeTokenStatusProvisioned, + ChangeTokenStatusPending, + ChangeTokenStatusInsync, + } +} + const ( // ComparisonOperatorEq is a ComparisonOperator enum value ComparisonOperatorEq = "EQ" @@ -23078,11 +23095,30 @@ const ( ComparisonOperatorGt = "GT" ) +// ComparisonOperator_Values returns all elements of the ComparisonOperator enum +func ComparisonOperator_Values() []string { + return []string{ + ComparisonOperatorEq, + ComparisonOperatorNe, + ComparisonOperatorLe, + ComparisonOperatorLt, + ComparisonOperatorGe, + ComparisonOperatorGt, + } +} + const ( // GeoMatchConstraintTypeCountry is a GeoMatchConstraintType enum value GeoMatchConstraintTypeCountry = "Country" ) +// GeoMatchConstraintType_Values returns all elements of the GeoMatchConstraintType enum +func GeoMatchConstraintType_Values() []string { + return []string{ + GeoMatchConstraintTypeCountry, + } +} + const ( // GeoMatchConstraintValueAf is a GeoMatchConstraintValue enum value GeoMatchConstraintValueAf = "AF" @@ -23832,6 +23868,261 @@ const ( GeoMatchConstraintValueZw = "ZW" ) +// GeoMatchConstraintValue_Values returns all elements of the GeoMatchConstraintValue enum +func GeoMatchConstraintValue_Values() []string { + return []string{ + GeoMatchConstraintValueAf, + GeoMatchConstraintValueAx, + GeoMatchConstraintValueAl, + GeoMatchConstraintValueDz, + GeoMatchConstraintValueAs, + GeoMatchConstraintValueAd, + GeoMatchConstraintValueAo, + GeoMatchConstraintValueAi, + GeoMatchConstraintValueAq, + GeoMatchConstraintValueAg, + GeoMatchConstraintValueAr, + GeoMatchConstraintValueAm, + GeoMatchConstraintValueAw, + GeoMatchConstraintValueAu, + GeoMatchConstraintValueAt, + GeoMatchConstraintValueAz, + GeoMatchConstraintValueBs, + GeoMatchConstraintValueBh, + GeoMatchConstraintValueBd, + GeoMatchConstraintValueBb, + GeoMatchConstraintValueBy, + GeoMatchConstraintValueBe, + GeoMatchConstraintValueBz, + GeoMatchConstraintValueBj, + GeoMatchConstraintValueBm, + GeoMatchConstraintValueBt, + GeoMatchConstraintValueBo, + GeoMatchConstraintValueBq, + GeoMatchConstraintValueBa, + GeoMatchConstraintValueBw, + GeoMatchConstraintValueBv, + GeoMatchConstraintValueBr, + GeoMatchConstraintValueIo, + GeoMatchConstraintValueBn, + GeoMatchConstraintValueBg, + GeoMatchConstraintValueBf, + GeoMatchConstraintValueBi, + GeoMatchConstraintValueKh, + GeoMatchConstraintValueCm, + GeoMatchConstraintValueCa, + GeoMatchConstraintValueCv, + GeoMatchConstraintValueKy, + GeoMatchConstraintValueCf, + GeoMatchConstraintValueTd, + GeoMatchConstraintValueCl, + GeoMatchConstraintValueCn, + GeoMatchConstraintValueCx, + GeoMatchConstraintValueCc, + GeoMatchConstraintValueCo, + GeoMatchConstraintValueKm, + GeoMatchConstraintValueCg, + GeoMatchConstraintValueCd, + GeoMatchConstraintValueCk, + GeoMatchConstraintValueCr, + GeoMatchConstraintValueCi, + GeoMatchConstraintValueHr, + GeoMatchConstraintValueCu, + GeoMatchConstraintValueCw, + GeoMatchConstraintValueCy, + GeoMatchConstraintValueCz, + GeoMatchConstraintValueDk, + GeoMatchConstraintValueDj, + GeoMatchConstraintValueDm, + GeoMatchConstraintValueDo, + GeoMatchConstraintValueEc, + GeoMatchConstraintValueEg, + GeoMatchConstraintValueSv, + GeoMatchConstraintValueGq, + GeoMatchConstraintValueEr, + GeoMatchConstraintValueEe, + GeoMatchConstraintValueEt, + GeoMatchConstraintValueFk, + GeoMatchConstraintValueFo, + GeoMatchConstraintValueFj, + GeoMatchConstraintValueFi, + GeoMatchConstraintValueFr, + GeoMatchConstraintValueGf, + GeoMatchConstraintValuePf, + GeoMatchConstraintValueTf, + GeoMatchConstraintValueGa, + GeoMatchConstraintValueGm, + GeoMatchConstraintValueGe, + GeoMatchConstraintValueDe, + GeoMatchConstraintValueGh, + GeoMatchConstraintValueGi, + GeoMatchConstraintValueGr, + GeoMatchConstraintValueGl, + GeoMatchConstraintValueGd, + GeoMatchConstraintValueGp, + GeoMatchConstraintValueGu, + GeoMatchConstraintValueGt, + GeoMatchConstraintValueGg, + GeoMatchConstraintValueGn, + GeoMatchConstraintValueGw, + GeoMatchConstraintValueGy, + GeoMatchConstraintValueHt, + GeoMatchConstraintValueHm, + GeoMatchConstraintValueVa, + GeoMatchConstraintValueHn, + GeoMatchConstraintValueHk, + GeoMatchConstraintValueHu, + GeoMatchConstraintValueIs, + GeoMatchConstraintValueIn, + GeoMatchConstraintValueId, + GeoMatchConstraintValueIr, + GeoMatchConstraintValueIq, + GeoMatchConstraintValueIe, + GeoMatchConstraintValueIm, + GeoMatchConstraintValueIl, + GeoMatchConstraintValueIt, + GeoMatchConstraintValueJm, + GeoMatchConstraintValueJp, + GeoMatchConstraintValueJe, + GeoMatchConstraintValueJo, + GeoMatchConstraintValueKz, + GeoMatchConstraintValueKe, + GeoMatchConstraintValueKi, + GeoMatchConstraintValueKp, + GeoMatchConstraintValueKr, + GeoMatchConstraintValueKw, + GeoMatchConstraintValueKg, + GeoMatchConstraintValueLa, + GeoMatchConstraintValueLv, + GeoMatchConstraintValueLb, + GeoMatchConstraintValueLs, + GeoMatchConstraintValueLr, + GeoMatchConstraintValueLy, + GeoMatchConstraintValueLi, + GeoMatchConstraintValueLt, + GeoMatchConstraintValueLu, + GeoMatchConstraintValueMo, + GeoMatchConstraintValueMk, + GeoMatchConstraintValueMg, + GeoMatchConstraintValueMw, + GeoMatchConstraintValueMy, + GeoMatchConstraintValueMv, + GeoMatchConstraintValueMl, + GeoMatchConstraintValueMt, + GeoMatchConstraintValueMh, + GeoMatchConstraintValueMq, + GeoMatchConstraintValueMr, + GeoMatchConstraintValueMu, + GeoMatchConstraintValueYt, + GeoMatchConstraintValueMx, + GeoMatchConstraintValueFm, + GeoMatchConstraintValueMd, + GeoMatchConstraintValueMc, + GeoMatchConstraintValueMn, + GeoMatchConstraintValueMe, + GeoMatchConstraintValueMs, + GeoMatchConstraintValueMa, + GeoMatchConstraintValueMz, + GeoMatchConstraintValueMm, + GeoMatchConstraintValueNa, + GeoMatchConstraintValueNr, + GeoMatchConstraintValueNp, + GeoMatchConstraintValueNl, + GeoMatchConstraintValueNc, + GeoMatchConstraintValueNz, + GeoMatchConstraintValueNi, + GeoMatchConstraintValueNe, + GeoMatchConstraintValueNg, + GeoMatchConstraintValueNu, + GeoMatchConstraintValueNf, + GeoMatchConstraintValueMp, + GeoMatchConstraintValueNo, + GeoMatchConstraintValueOm, + GeoMatchConstraintValuePk, + GeoMatchConstraintValuePw, + GeoMatchConstraintValuePs, + GeoMatchConstraintValuePa, + GeoMatchConstraintValuePg, + GeoMatchConstraintValuePy, + GeoMatchConstraintValuePe, + GeoMatchConstraintValuePh, + GeoMatchConstraintValuePn, + GeoMatchConstraintValuePl, + GeoMatchConstraintValuePt, + GeoMatchConstraintValuePr, + GeoMatchConstraintValueQa, + GeoMatchConstraintValueRe, + GeoMatchConstraintValueRo, + GeoMatchConstraintValueRu, + GeoMatchConstraintValueRw, + GeoMatchConstraintValueBl, + GeoMatchConstraintValueSh, + GeoMatchConstraintValueKn, + GeoMatchConstraintValueLc, + GeoMatchConstraintValueMf, + GeoMatchConstraintValuePm, + GeoMatchConstraintValueVc, + GeoMatchConstraintValueWs, + GeoMatchConstraintValueSm, + GeoMatchConstraintValueSt, + GeoMatchConstraintValueSa, + GeoMatchConstraintValueSn, + GeoMatchConstraintValueRs, + GeoMatchConstraintValueSc, + GeoMatchConstraintValueSl, + GeoMatchConstraintValueSg, + GeoMatchConstraintValueSx, + GeoMatchConstraintValueSk, + GeoMatchConstraintValueSi, + GeoMatchConstraintValueSb, + GeoMatchConstraintValueSo, + GeoMatchConstraintValueZa, + GeoMatchConstraintValueGs, + GeoMatchConstraintValueSs, + GeoMatchConstraintValueEs, + GeoMatchConstraintValueLk, + GeoMatchConstraintValueSd, + GeoMatchConstraintValueSr, + GeoMatchConstraintValueSj, + GeoMatchConstraintValueSz, + GeoMatchConstraintValueSe, + GeoMatchConstraintValueCh, + GeoMatchConstraintValueSy, + GeoMatchConstraintValueTw, + GeoMatchConstraintValueTj, + GeoMatchConstraintValueTz, + GeoMatchConstraintValueTh, + GeoMatchConstraintValueTl, + GeoMatchConstraintValueTg, + GeoMatchConstraintValueTk, + GeoMatchConstraintValueTo, + GeoMatchConstraintValueTt, + GeoMatchConstraintValueTn, + GeoMatchConstraintValueTr, + GeoMatchConstraintValueTm, + GeoMatchConstraintValueTc, + GeoMatchConstraintValueTv, + GeoMatchConstraintValueUg, + GeoMatchConstraintValueUa, + GeoMatchConstraintValueAe, + GeoMatchConstraintValueGb, + GeoMatchConstraintValueUs, + GeoMatchConstraintValueUm, + GeoMatchConstraintValueUy, + GeoMatchConstraintValueUz, + GeoMatchConstraintValueVu, + GeoMatchConstraintValueVe, + GeoMatchConstraintValueVn, + GeoMatchConstraintValueVg, + GeoMatchConstraintValueVi, + GeoMatchConstraintValueWf, + GeoMatchConstraintValueEh, + GeoMatchConstraintValueYe, + GeoMatchConstraintValueZm, + GeoMatchConstraintValueZw, + } +} + const ( // IPSetDescriptorTypeIpv4 is a IPSetDescriptorType enum value IPSetDescriptorTypeIpv4 = "IPV4" @@ -23840,6 +24131,14 @@ const ( IPSetDescriptorTypeIpv6 = "IPV6" ) +// IPSetDescriptorType_Values returns all elements of the IPSetDescriptorType enum +func IPSetDescriptorType_Values() []string { + return []string{ + IPSetDescriptorTypeIpv4, + IPSetDescriptorTypeIpv6, + } +} + const ( // MatchFieldTypeUri is a MatchFieldType enum value MatchFieldTypeUri = "URI" @@ -23863,6 +24162,19 @@ const ( MatchFieldTypeAllQueryArgs = "ALL_QUERY_ARGS" ) +// MatchFieldType_Values returns all elements of the MatchFieldType enum +func MatchFieldType_Values() []string { + return []string{ + MatchFieldTypeUri, + MatchFieldTypeQueryString, + MatchFieldTypeHeader, + MatchFieldTypeMethod, + MatchFieldTypeBody, + MatchFieldTypeSingleQueryArg, + MatchFieldTypeAllQueryArgs, + } +} + const ( // MigrationErrorTypeEntityNotSupported is a MigrationErrorType enum value MigrationErrorTypeEntityNotSupported = "ENTITY_NOT_SUPPORTED" @@ -23886,6 +24198,19 @@ const ( MigrationErrorTypeS3InternalError = "S3_INTERNAL_ERROR" ) +// MigrationErrorType_Values returns all elements of the MigrationErrorType enum +func MigrationErrorType_Values() []string { + return []string{ + MigrationErrorTypeEntityNotSupported, + MigrationErrorTypeEntityNotFound, + MigrationErrorTypeS3BucketNoPermission, + MigrationErrorTypeS3BucketNotAccessible, + MigrationErrorTypeS3BucketNotFound, + MigrationErrorTypeS3BucketInvalidRegion, + MigrationErrorTypeS3InternalError, + } +} + const ( // ParameterExceptionFieldChangeAction is a ParameterExceptionField enum value ParameterExceptionFieldChangeAction = "CHANGE_ACTION" @@ -23942,6 +24267,30 @@ const ( ParameterExceptionFieldTagKeys = "TAG_KEYS" ) +// ParameterExceptionField_Values returns all elements of the ParameterExceptionField enum +func ParameterExceptionField_Values() []string { + return []string{ + ParameterExceptionFieldChangeAction, + ParameterExceptionFieldWafAction, + ParameterExceptionFieldWafOverrideAction, + ParameterExceptionFieldPredicateType, + ParameterExceptionFieldIpsetType, + ParameterExceptionFieldByteMatchFieldType, + ParameterExceptionFieldSqlInjectionMatchFieldType, + ParameterExceptionFieldByteMatchTextTransformation, + ParameterExceptionFieldByteMatchPositionalConstraint, + ParameterExceptionFieldSizeConstraintComparisonOperator, + ParameterExceptionFieldGeoMatchLocationType, + ParameterExceptionFieldGeoMatchLocationValue, + ParameterExceptionFieldRateKey, + ParameterExceptionFieldRuleType, + ParameterExceptionFieldNextMarker, + ParameterExceptionFieldResourceArn, + ParameterExceptionFieldTags, + ParameterExceptionFieldTagKeys, + } +} + const ( // ParameterExceptionReasonInvalidOption is a ParameterExceptionReason enum value ParameterExceptionReasonInvalidOption = "INVALID_OPTION" @@ -23956,6 +24305,16 @@ const ( ParameterExceptionReasonInvalidTagKey = "INVALID_TAG_KEY" ) +// ParameterExceptionReason_Values returns all elements of the ParameterExceptionReason enum +func ParameterExceptionReason_Values() []string { + return []string{ + ParameterExceptionReasonInvalidOption, + ParameterExceptionReasonIllegalCombination, + ParameterExceptionReasonIllegalArgument, + ParameterExceptionReasonInvalidTagKey, + } +} + const ( // PositionalConstraintExactly is a PositionalConstraint enum value PositionalConstraintExactly = "EXACTLY" @@ -23973,6 +24332,17 @@ const ( PositionalConstraintContainsWord = "CONTAINS_WORD" ) +// PositionalConstraint_Values returns all elements of the PositionalConstraint enum +func PositionalConstraint_Values() []string { + return []string{ + PositionalConstraintExactly, + PositionalConstraintStartsWith, + PositionalConstraintEndsWith, + PositionalConstraintContains, + PositionalConstraintContainsWord, + } +} + const ( // PredicateTypeIpmatch is a PredicateType enum value PredicateTypeIpmatch = "IPMatch" @@ -23996,11 +24366,31 @@ const ( PredicateTypeRegexMatch = "RegexMatch" ) +// PredicateType_Values returns all elements of the PredicateType enum +func PredicateType_Values() []string { + return []string{ + PredicateTypeIpmatch, + PredicateTypeByteMatch, + PredicateTypeSqlInjectionMatch, + PredicateTypeGeoMatch, + PredicateTypeSizeConstraint, + PredicateTypeXssMatch, + PredicateTypeRegexMatch, + } +} + const ( // RateKeyIp is a RateKey enum value RateKeyIp = "IP" ) +// RateKey_Values returns all elements of the RateKey enum +func RateKey_Values() []string { + return []string{ + RateKeyIp, + } +} + const ( // TextTransformationNone is a TextTransformation enum value TextTransformationNone = "NONE" @@ -24021,6 +24411,18 @@ const ( TextTransformationUrlDecode = "URL_DECODE" ) +// TextTransformation_Values returns all elements of the TextTransformation enum +func TextTransformation_Values() []string { + return []string{ + TextTransformationNone, + TextTransformationCompressWhiteSpace, + TextTransformationHtmlEntityDecode, + TextTransformationLowercase, + TextTransformationCmdLine, + TextTransformationUrlDecode, + } +} + const ( // WafActionTypeBlock is a WafActionType enum value WafActionTypeBlock = "BLOCK" @@ -24032,6 +24434,15 @@ const ( WafActionTypeCount = "COUNT" ) +// WafActionType_Values returns all elements of the WafActionType enum +func WafActionType_Values() []string { + return []string{ + WafActionTypeBlock, + WafActionTypeAllow, + WafActionTypeCount, + } +} + const ( // WafOverrideActionTypeNone is a WafOverrideActionType enum value WafOverrideActionTypeNone = "NONE" @@ -24040,6 +24451,14 @@ const ( WafOverrideActionTypeCount = "COUNT" ) +// WafOverrideActionType_Values returns all elements of the WafOverrideActionType enum +func WafOverrideActionType_Values() []string { + return []string{ + WafOverrideActionTypeNone, + WafOverrideActionTypeCount, + } +} + const ( // WafRuleTypeRegular is a WafRuleType enum value WafRuleTypeRegular = "REGULAR" @@ -24050,3 +24469,12 @@ const ( // WafRuleTypeGroup is a WafRuleType enum value WafRuleTypeGroup = "GROUP" ) + +// WafRuleType_Values returns all elements of the WafRuleType enum +func WafRuleType_Values() []string { + return []string{ + WafRuleTypeRegular, + WafRuleTypeRateBased, + WafRuleTypeGroup, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/wafregional/api.go b/vendor/github.com/aws/aws-sdk-go/service/wafregional/api.go index 81b86a223f5..0d42f296326 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/wafregional/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/wafregional/api.go @@ -12338,6 +12338,14 @@ const ( ChangeActionDelete = "DELETE" ) +// ChangeAction_Values returns all elements of the ChangeAction enum +func ChangeAction_Values() []string { + return []string{ + ChangeActionInsert, + ChangeActionDelete, + } +} + const ( // ChangeTokenStatusProvisioned is a ChangeTokenStatus enum value ChangeTokenStatusProvisioned = "PROVISIONED" @@ -12349,6 +12357,15 @@ const ( ChangeTokenStatusInsync = "INSYNC" ) +// ChangeTokenStatus_Values returns all elements of the ChangeTokenStatus enum +func ChangeTokenStatus_Values() []string { + return []string{ + ChangeTokenStatusProvisioned, + ChangeTokenStatusPending, + ChangeTokenStatusInsync, + } +} + const ( // ComparisonOperatorEq is a ComparisonOperator enum value ComparisonOperatorEq = "EQ" @@ -12369,11 +12386,30 @@ const ( ComparisonOperatorGt = "GT" ) +// ComparisonOperator_Values returns all elements of the ComparisonOperator enum +func ComparisonOperator_Values() []string { + return []string{ + ComparisonOperatorEq, + ComparisonOperatorNe, + ComparisonOperatorLe, + ComparisonOperatorLt, + ComparisonOperatorGe, + ComparisonOperatorGt, + } +} + const ( // GeoMatchConstraintTypeCountry is a GeoMatchConstraintType enum value GeoMatchConstraintTypeCountry = "Country" ) +// GeoMatchConstraintType_Values returns all elements of the GeoMatchConstraintType enum +func GeoMatchConstraintType_Values() []string { + return []string{ + GeoMatchConstraintTypeCountry, + } +} + const ( // GeoMatchConstraintValueAf is a GeoMatchConstraintValue enum value GeoMatchConstraintValueAf = "AF" @@ -13123,6 +13159,261 @@ const ( GeoMatchConstraintValueZw = "ZW" ) +// GeoMatchConstraintValue_Values returns all elements of the GeoMatchConstraintValue enum +func GeoMatchConstraintValue_Values() []string { + return []string{ + GeoMatchConstraintValueAf, + GeoMatchConstraintValueAx, + GeoMatchConstraintValueAl, + GeoMatchConstraintValueDz, + GeoMatchConstraintValueAs, + GeoMatchConstraintValueAd, + GeoMatchConstraintValueAo, + GeoMatchConstraintValueAi, + GeoMatchConstraintValueAq, + GeoMatchConstraintValueAg, + GeoMatchConstraintValueAr, + GeoMatchConstraintValueAm, + GeoMatchConstraintValueAw, + GeoMatchConstraintValueAu, + GeoMatchConstraintValueAt, + GeoMatchConstraintValueAz, + GeoMatchConstraintValueBs, + GeoMatchConstraintValueBh, + GeoMatchConstraintValueBd, + GeoMatchConstraintValueBb, + GeoMatchConstraintValueBy, + GeoMatchConstraintValueBe, + GeoMatchConstraintValueBz, + GeoMatchConstraintValueBj, + GeoMatchConstraintValueBm, + GeoMatchConstraintValueBt, + GeoMatchConstraintValueBo, + GeoMatchConstraintValueBq, + GeoMatchConstraintValueBa, + GeoMatchConstraintValueBw, + GeoMatchConstraintValueBv, + GeoMatchConstraintValueBr, + GeoMatchConstraintValueIo, + GeoMatchConstraintValueBn, + GeoMatchConstraintValueBg, + GeoMatchConstraintValueBf, + GeoMatchConstraintValueBi, + GeoMatchConstraintValueKh, + GeoMatchConstraintValueCm, + GeoMatchConstraintValueCa, + GeoMatchConstraintValueCv, + GeoMatchConstraintValueKy, + GeoMatchConstraintValueCf, + GeoMatchConstraintValueTd, + GeoMatchConstraintValueCl, + GeoMatchConstraintValueCn, + GeoMatchConstraintValueCx, + GeoMatchConstraintValueCc, + GeoMatchConstraintValueCo, + GeoMatchConstraintValueKm, + GeoMatchConstraintValueCg, + GeoMatchConstraintValueCd, + GeoMatchConstraintValueCk, + GeoMatchConstraintValueCr, + GeoMatchConstraintValueCi, + GeoMatchConstraintValueHr, + GeoMatchConstraintValueCu, + GeoMatchConstraintValueCw, + GeoMatchConstraintValueCy, + GeoMatchConstraintValueCz, + GeoMatchConstraintValueDk, + GeoMatchConstraintValueDj, + GeoMatchConstraintValueDm, + GeoMatchConstraintValueDo, + GeoMatchConstraintValueEc, + GeoMatchConstraintValueEg, + GeoMatchConstraintValueSv, + GeoMatchConstraintValueGq, + GeoMatchConstraintValueEr, + GeoMatchConstraintValueEe, + GeoMatchConstraintValueEt, + GeoMatchConstraintValueFk, + GeoMatchConstraintValueFo, + GeoMatchConstraintValueFj, + GeoMatchConstraintValueFi, + GeoMatchConstraintValueFr, + GeoMatchConstraintValueGf, + GeoMatchConstraintValuePf, + GeoMatchConstraintValueTf, + GeoMatchConstraintValueGa, + GeoMatchConstraintValueGm, + GeoMatchConstraintValueGe, + GeoMatchConstraintValueDe, + GeoMatchConstraintValueGh, + GeoMatchConstraintValueGi, + GeoMatchConstraintValueGr, + GeoMatchConstraintValueGl, + GeoMatchConstraintValueGd, + GeoMatchConstraintValueGp, + GeoMatchConstraintValueGu, + GeoMatchConstraintValueGt, + GeoMatchConstraintValueGg, + GeoMatchConstraintValueGn, + GeoMatchConstraintValueGw, + GeoMatchConstraintValueGy, + GeoMatchConstraintValueHt, + GeoMatchConstraintValueHm, + GeoMatchConstraintValueVa, + GeoMatchConstraintValueHn, + GeoMatchConstraintValueHk, + GeoMatchConstraintValueHu, + GeoMatchConstraintValueIs, + GeoMatchConstraintValueIn, + GeoMatchConstraintValueId, + GeoMatchConstraintValueIr, + GeoMatchConstraintValueIq, + GeoMatchConstraintValueIe, + GeoMatchConstraintValueIm, + GeoMatchConstraintValueIl, + GeoMatchConstraintValueIt, + GeoMatchConstraintValueJm, + GeoMatchConstraintValueJp, + GeoMatchConstraintValueJe, + GeoMatchConstraintValueJo, + GeoMatchConstraintValueKz, + GeoMatchConstraintValueKe, + GeoMatchConstraintValueKi, + GeoMatchConstraintValueKp, + GeoMatchConstraintValueKr, + GeoMatchConstraintValueKw, + GeoMatchConstraintValueKg, + GeoMatchConstraintValueLa, + GeoMatchConstraintValueLv, + GeoMatchConstraintValueLb, + GeoMatchConstraintValueLs, + GeoMatchConstraintValueLr, + GeoMatchConstraintValueLy, + GeoMatchConstraintValueLi, + GeoMatchConstraintValueLt, + GeoMatchConstraintValueLu, + GeoMatchConstraintValueMo, + GeoMatchConstraintValueMk, + GeoMatchConstraintValueMg, + GeoMatchConstraintValueMw, + GeoMatchConstraintValueMy, + GeoMatchConstraintValueMv, + GeoMatchConstraintValueMl, + GeoMatchConstraintValueMt, + GeoMatchConstraintValueMh, + GeoMatchConstraintValueMq, + GeoMatchConstraintValueMr, + GeoMatchConstraintValueMu, + GeoMatchConstraintValueYt, + GeoMatchConstraintValueMx, + GeoMatchConstraintValueFm, + GeoMatchConstraintValueMd, + GeoMatchConstraintValueMc, + GeoMatchConstraintValueMn, + GeoMatchConstraintValueMe, + GeoMatchConstraintValueMs, + GeoMatchConstraintValueMa, + GeoMatchConstraintValueMz, + GeoMatchConstraintValueMm, + GeoMatchConstraintValueNa, + GeoMatchConstraintValueNr, + GeoMatchConstraintValueNp, + GeoMatchConstraintValueNl, + GeoMatchConstraintValueNc, + GeoMatchConstraintValueNz, + GeoMatchConstraintValueNi, + GeoMatchConstraintValueNe, + GeoMatchConstraintValueNg, + GeoMatchConstraintValueNu, + GeoMatchConstraintValueNf, + GeoMatchConstraintValueMp, + GeoMatchConstraintValueNo, + GeoMatchConstraintValueOm, + GeoMatchConstraintValuePk, + GeoMatchConstraintValuePw, + GeoMatchConstraintValuePs, + GeoMatchConstraintValuePa, + GeoMatchConstraintValuePg, + GeoMatchConstraintValuePy, + GeoMatchConstraintValuePe, + GeoMatchConstraintValuePh, + GeoMatchConstraintValuePn, + GeoMatchConstraintValuePl, + GeoMatchConstraintValuePt, + GeoMatchConstraintValuePr, + GeoMatchConstraintValueQa, + GeoMatchConstraintValueRe, + GeoMatchConstraintValueRo, + GeoMatchConstraintValueRu, + GeoMatchConstraintValueRw, + GeoMatchConstraintValueBl, + GeoMatchConstraintValueSh, + GeoMatchConstraintValueKn, + GeoMatchConstraintValueLc, + GeoMatchConstraintValueMf, + GeoMatchConstraintValuePm, + GeoMatchConstraintValueVc, + GeoMatchConstraintValueWs, + GeoMatchConstraintValueSm, + GeoMatchConstraintValueSt, + GeoMatchConstraintValueSa, + GeoMatchConstraintValueSn, + GeoMatchConstraintValueRs, + GeoMatchConstraintValueSc, + GeoMatchConstraintValueSl, + GeoMatchConstraintValueSg, + GeoMatchConstraintValueSx, + GeoMatchConstraintValueSk, + GeoMatchConstraintValueSi, + GeoMatchConstraintValueSb, + GeoMatchConstraintValueSo, + GeoMatchConstraintValueZa, + GeoMatchConstraintValueGs, + GeoMatchConstraintValueSs, + GeoMatchConstraintValueEs, + GeoMatchConstraintValueLk, + GeoMatchConstraintValueSd, + GeoMatchConstraintValueSr, + GeoMatchConstraintValueSj, + GeoMatchConstraintValueSz, + GeoMatchConstraintValueSe, + GeoMatchConstraintValueCh, + GeoMatchConstraintValueSy, + GeoMatchConstraintValueTw, + GeoMatchConstraintValueTj, + GeoMatchConstraintValueTz, + GeoMatchConstraintValueTh, + GeoMatchConstraintValueTl, + GeoMatchConstraintValueTg, + GeoMatchConstraintValueTk, + GeoMatchConstraintValueTo, + GeoMatchConstraintValueTt, + GeoMatchConstraintValueTn, + GeoMatchConstraintValueTr, + GeoMatchConstraintValueTm, + GeoMatchConstraintValueTc, + GeoMatchConstraintValueTv, + GeoMatchConstraintValueUg, + GeoMatchConstraintValueUa, + GeoMatchConstraintValueAe, + GeoMatchConstraintValueGb, + GeoMatchConstraintValueUs, + GeoMatchConstraintValueUm, + GeoMatchConstraintValueUy, + GeoMatchConstraintValueUz, + GeoMatchConstraintValueVu, + GeoMatchConstraintValueVe, + GeoMatchConstraintValueVn, + GeoMatchConstraintValueVg, + GeoMatchConstraintValueVi, + GeoMatchConstraintValueWf, + GeoMatchConstraintValueEh, + GeoMatchConstraintValueYe, + GeoMatchConstraintValueZm, + GeoMatchConstraintValueZw, + } +} + const ( // IPSetDescriptorTypeIpv4 is a IPSetDescriptorType enum value IPSetDescriptorTypeIpv4 = "IPV4" @@ -13131,6 +13422,14 @@ const ( IPSetDescriptorTypeIpv6 = "IPV6" ) +// IPSetDescriptorType_Values returns all elements of the IPSetDescriptorType enum +func IPSetDescriptorType_Values() []string { + return []string{ + IPSetDescriptorTypeIpv4, + IPSetDescriptorTypeIpv6, + } +} + const ( // MatchFieldTypeUri is a MatchFieldType enum value MatchFieldTypeUri = "URI" @@ -13154,6 +13453,19 @@ const ( MatchFieldTypeAllQueryArgs = "ALL_QUERY_ARGS" ) +// MatchFieldType_Values returns all elements of the MatchFieldType enum +func MatchFieldType_Values() []string { + return []string{ + MatchFieldTypeUri, + MatchFieldTypeQueryString, + MatchFieldTypeHeader, + MatchFieldTypeMethod, + MatchFieldTypeBody, + MatchFieldTypeSingleQueryArg, + MatchFieldTypeAllQueryArgs, + } +} + const ( // MigrationErrorTypeEntityNotSupported is a MigrationErrorType enum value MigrationErrorTypeEntityNotSupported = "ENTITY_NOT_SUPPORTED" @@ -13177,6 +13489,19 @@ const ( MigrationErrorTypeS3InternalError = "S3_INTERNAL_ERROR" ) +// MigrationErrorType_Values returns all elements of the MigrationErrorType enum +func MigrationErrorType_Values() []string { + return []string{ + MigrationErrorTypeEntityNotSupported, + MigrationErrorTypeEntityNotFound, + MigrationErrorTypeS3BucketNoPermission, + MigrationErrorTypeS3BucketNotAccessible, + MigrationErrorTypeS3BucketNotFound, + MigrationErrorTypeS3BucketInvalidRegion, + MigrationErrorTypeS3InternalError, + } +} + const ( // ParameterExceptionFieldChangeAction is a ParameterExceptionField enum value ParameterExceptionFieldChangeAction = "CHANGE_ACTION" @@ -13233,6 +13558,30 @@ const ( ParameterExceptionFieldTagKeys = "TAG_KEYS" ) +// ParameterExceptionField_Values returns all elements of the ParameterExceptionField enum +func ParameterExceptionField_Values() []string { + return []string{ + ParameterExceptionFieldChangeAction, + ParameterExceptionFieldWafAction, + ParameterExceptionFieldWafOverrideAction, + ParameterExceptionFieldPredicateType, + ParameterExceptionFieldIpsetType, + ParameterExceptionFieldByteMatchFieldType, + ParameterExceptionFieldSqlInjectionMatchFieldType, + ParameterExceptionFieldByteMatchTextTransformation, + ParameterExceptionFieldByteMatchPositionalConstraint, + ParameterExceptionFieldSizeConstraintComparisonOperator, + ParameterExceptionFieldGeoMatchLocationType, + ParameterExceptionFieldGeoMatchLocationValue, + ParameterExceptionFieldRateKey, + ParameterExceptionFieldRuleType, + ParameterExceptionFieldNextMarker, + ParameterExceptionFieldResourceArn, + ParameterExceptionFieldTags, + ParameterExceptionFieldTagKeys, + } +} + const ( // ParameterExceptionReasonInvalidOption is a ParameterExceptionReason enum value ParameterExceptionReasonInvalidOption = "INVALID_OPTION" @@ -13247,6 +13596,16 @@ const ( ParameterExceptionReasonInvalidTagKey = "INVALID_TAG_KEY" ) +// ParameterExceptionReason_Values returns all elements of the ParameterExceptionReason enum +func ParameterExceptionReason_Values() []string { + return []string{ + ParameterExceptionReasonInvalidOption, + ParameterExceptionReasonIllegalCombination, + ParameterExceptionReasonIllegalArgument, + ParameterExceptionReasonInvalidTagKey, + } +} + const ( // PositionalConstraintExactly is a PositionalConstraint enum value PositionalConstraintExactly = "EXACTLY" @@ -13264,6 +13623,17 @@ const ( PositionalConstraintContainsWord = "CONTAINS_WORD" ) +// PositionalConstraint_Values returns all elements of the PositionalConstraint enum +func PositionalConstraint_Values() []string { + return []string{ + PositionalConstraintExactly, + PositionalConstraintStartsWith, + PositionalConstraintEndsWith, + PositionalConstraintContains, + PositionalConstraintContainsWord, + } +} + const ( // PredicateTypeIpmatch is a PredicateType enum value PredicateTypeIpmatch = "IPMatch" @@ -13287,11 +13657,31 @@ const ( PredicateTypeRegexMatch = "RegexMatch" ) +// PredicateType_Values returns all elements of the PredicateType enum +func PredicateType_Values() []string { + return []string{ + PredicateTypeIpmatch, + PredicateTypeByteMatch, + PredicateTypeSqlInjectionMatch, + PredicateTypeGeoMatch, + PredicateTypeSizeConstraint, + PredicateTypeXssMatch, + PredicateTypeRegexMatch, + } +} + const ( // RateKeyIp is a RateKey enum value RateKeyIp = "IP" ) +// RateKey_Values returns all elements of the RateKey enum +func RateKey_Values() []string { + return []string{ + RateKeyIp, + } +} + const ( // ResourceTypeApplicationLoadBalancer is a ResourceType enum value ResourceTypeApplicationLoadBalancer = "APPLICATION_LOAD_BALANCER" @@ -13300,6 +13690,14 @@ const ( ResourceTypeApiGateway = "API_GATEWAY" ) +// ResourceType_Values returns all elements of the ResourceType enum +func ResourceType_Values() []string { + return []string{ + ResourceTypeApplicationLoadBalancer, + ResourceTypeApiGateway, + } +} + const ( // TextTransformationNone is a TextTransformation enum value TextTransformationNone = "NONE" @@ -13320,6 +13718,18 @@ const ( TextTransformationUrlDecode = "URL_DECODE" ) +// TextTransformation_Values returns all elements of the TextTransformation enum +func TextTransformation_Values() []string { + return []string{ + TextTransformationNone, + TextTransformationCompressWhiteSpace, + TextTransformationHtmlEntityDecode, + TextTransformationLowercase, + TextTransformationCmdLine, + TextTransformationUrlDecode, + } +} + const ( // WafActionTypeBlock is a WafActionType enum value WafActionTypeBlock = "BLOCK" @@ -13331,6 +13741,15 @@ const ( WafActionTypeCount = "COUNT" ) +// WafActionType_Values returns all elements of the WafActionType enum +func WafActionType_Values() []string { + return []string{ + WafActionTypeBlock, + WafActionTypeAllow, + WafActionTypeCount, + } +} + const ( // WafOverrideActionTypeNone is a WafOverrideActionType enum value WafOverrideActionTypeNone = "NONE" @@ -13339,6 +13758,14 @@ const ( WafOverrideActionTypeCount = "COUNT" ) +// WafOverrideActionType_Values returns all elements of the WafOverrideActionType enum +func WafOverrideActionType_Values() []string { + return []string{ + WafOverrideActionTypeNone, + WafOverrideActionTypeCount, + } +} + const ( // WafRuleTypeRegular is a WafRuleType enum value WafRuleTypeRegular = "REGULAR" @@ -13349,3 +13776,12 @@ const ( // WafRuleTypeGroup is a WafRuleType enum value WafRuleTypeGroup = "GROUP" ) + +// WafRuleType_Values returns all elements of the WafRuleType enum +func WafRuleType_Values() []string { + return []string{ + WafRuleTypeRegular, + WafRuleTypeRateBased, + WafRuleTypeGroup, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/wafv2/api.go b/vendor/github.com/aws/aws-sdk-go/service/wafv2/api.go index e7c5fa25d40..0a282e62bb2 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/wafv2/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/wafv2/api.go @@ -14615,6 +14615,18 @@ const ( ComparisonOperatorGt = "GT" ) +// ComparisonOperator_Values returns all elements of the ComparisonOperator enum +func ComparisonOperator_Values() []string { + return []string{ + ComparisonOperatorEq, + ComparisonOperatorNe, + ComparisonOperatorLe, + ComparisonOperatorLt, + ComparisonOperatorGe, + ComparisonOperatorGt, + } +} + const ( // CountryCodeAf is a CountryCode enum value CountryCodeAf = "AF" @@ -15364,6 +15376,261 @@ const ( CountryCodeZw = "ZW" ) +// CountryCode_Values returns all elements of the CountryCode enum +func CountryCode_Values() []string { + return []string{ + CountryCodeAf, + CountryCodeAx, + CountryCodeAl, + CountryCodeDz, + CountryCodeAs, + CountryCodeAd, + CountryCodeAo, + CountryCodeAi, + CountryCodeAq, + CountryCodeAg, + CountryCodeAr, + CountryCodeAm, + CountryCodeAw, + CountryCodeAu, + CountryCodeAt, + CountryCodeAz, + CountryCodeBs, + CountryCodeBh, + CountryCodeBd, + CountryCodeBb, + CountryCodeBy, + CountryCodeBe, + CountryCodeBz, + CountryCodeBj, + CountryCodeBm, + CountryCodeBt, + CountryCodeBo, + CountryCodeBq, + CountryCodeBa, + CountryCodeBw, + CountryCodeBv, + CountryCodeBr, + CountryCodeIo, + CountryCodeBn, + CountryCodeBg, + CountryCodeBf, + CountryCodeBi, + CountryCodeKh, + CountryCodeCm, + CountryCodeCa, + CountryCodeCv, + CountryCodeKy, + CountryCodeCf, + CountryCodeTd, + CountryCodeCl, + CountryCodeCn, + CountryCodeCx, + CountryCodeCc, + CountryCodeCo, + CountryCodeKm, + CountryCodeCg, + CountryCodeCd, + CountryCodeCk, + CountryCodeCr, + CountryCodeCi, + CountryCodeHr, + CountryCodeCu, + CountryCodeCw, + CountryCodeCy, + CountryCodeCz, + CountryCodeDk, + CountryCodeDj, + CountryCodeDm, + CountryCodeDo, + CountryCodeEc, + CountryCodeEg, + CountryCodeSv, + CountryCodeGq, + CountryCodeEr, + CountryCodeEe, + CountryCodeEt, + CountryCodeFk, + CountryCodeFo, + CountryCodeFj, + CountryCodeFi, + CountryCodeFr, + CountryCodeGf, + CountryCodePf, + CountryCodeTf, + CountryCodeGa, + CountryCodeGm, + CountryCodeGe, + CountryCodeDe, + CountryCodeGh, + CountryCodeGi, + CountryCodeGr, + CountryCodeGl, + CountryCodeGd, + CountryCodeGp, + CountryCodeGu, + CountryCodeGt, + CountryCodeGg, + CountryCodeGn, + CountryCodeGw, + CountryCodeGy, + CountryCodeHt, + CountryCodeHm, + CountryCodeVa, + CountryCodeHn, + CountryCodeHk, + CountryCodeHu, + CountryCodeIs, + CountryCodeIn, + CountryCodeId, + CountryCodeIr, + CountryCodeIq, + CountryCodeIe, + CountryCodeIm, + CountryCodeIl, + CountryCodeIt, + CountryCodeJm, + CountryCodeJp, + CountryCodeJe, + CountryCodeJo, + CountryCodeKz, + CountryCodeKe, + CountryCodeKi, + CountryCodeKp, + CountryCodeKr, + CountryCodeKw, + CountryCodeKg, + CountryCodeLa, + CountryCodeLv, + CountryCodeLb, + CountryCodeLs, + CountryCodeLr, + CountryCodeLy, + CountryCodeLi, + CountryCodeLt, + CountryCodeLu, + CountryCodeMo, + CountryCodeMk, + CountryCodeMg, + CountryCodeMw, + CountryCodeMy, + CountryCodeMv, + CountryCodeMl, + CountryCodeMt, + CountryCodeMh, + CountryCodeMq, + CountryCodeMr, + CountryCodeMu, + CountryCodeYt, + CountryCodeMx, + CountryCodeFm, + CountryCodeMd, + CountryCodeMc, + CountryCodeMn, + CountryCodeMe, + CountryCodeMs, + CountryCodeMa, + CountryCodeMz, + CountryCodeMm, + CountryCodeNa, + CountryCodeNr, + CountryCodeNp, + CountryCodeNl, + CountryCodeNc, + CountryCodeNz, + CountryCodeNi, + CountryCodeNe, + CountryCodeNg, + CountryCodeNu, + CountryCodeNf, + CountryCodeMp, + CountryCodeNo, + CountryCodeOm, + CountryCodePk, + CountryCodePw, + CountryCodePs, + CountryCodePa, + CountryCodePg, + CountryCodePy, + CountryCodePe, + CountryCodePh, + CountryCodePn, + CountryCodePl, + CountryCodePt, + CountryCodePr, + CountryCodeQa, + CountryCodeRe, + CountryCodeRo, + CountryCodeRu, + CountryCodeRw, + CountryCodeBl, + CountryCodeSh, + CountryCodeKn, + CountryCodeLc, + CountryCodeMf, + CountryCodePm, + CountryCodeVc, + CountryCodeWs, + CountryCodeSm, + CountryCodeSt, + CountryCodeSa, + CountryCodeSn, + CountryCodeRs, + CountryCodeSc, + CountryCodeSl, + CountryCodeSg, + CountryCodeSx, + CountryCodeSk, + CountryCodeSi, + CountryCodeSb, + CountryCodeSo, + CountryCodeZa, + CountryCodeGs, + CountryCodeSs, + CountryCodeEs, + CountryCodeLk, + CountryCodeSd, + CountryCodeSr, + CountryCodeSj, + CountryCodeSz, + CountryCodeSe, + CountryCodeCh, + CountryCodeSy, + CountryCodeTw, + CountryCodeTj, + CountryCodeTz, + CountryCodeTh, + CountryCodeTl, + CountryCodeTg, + CountryCodeTk, + CountryCodeTo, + CountryCodeTt, + CountryCodeTn, + CountryCodeTr, + CountryCodeTm, + CountryCodeTc, + CountryCodeTv, + CountryCodeUg, + CountryCodeUa, + CountryCodeAe, + CountryCodeGb, + CountryCodeUs, + CountryCodeUm, + CountryCodeUy, + CountryCodeUz, + CountryCodeVu, + CountryCodeVe, + CountryCodeVn, + CountryCodeVg, + CountryCodeVi, + CountryCodeWf, + CountryCodeEh, + CountryCodeYe, + CountryCodeZm, + CountryCodeZw, + } +} + const ( // FallbackBehaviorMatch is a FallbackBehavior enum value FallbackBehaviorMatch = "MATCH" @@ -15372,6 +15639,14 @@ const ( FallbackBehaviorNoMatch = "NO_MATCH" ) +// FallbackBehavior_Values returns all elements of the FallbackBehavior enum +func FallbackBehavior_Values() []string { + return []string{ + FallbackBehaviorMatch, + FallbackBehaviorNoMatch, + } +} + const ( // ForwardedIPPositionFirst is a ForwardedIPPosition enum value ForwardedIPPositionFirst = "FIRST" @@ -15383,6 +15658,15 @@ const ( ForwardedIPPositionAny = "ANY" ) +// ForwardedIPPosition_Values returns all elements of the ForwardedIPPosition enum +func ForwardedIPPosition_Values() []string { + return []string{ + ForwardedIPPositionFirst, + ForwardedIPPositionLast, + ForwardedIPPositionAny, + } +} + const ( // IPAddressVersionIpv4 is a IPAddressVersion enum value IPAddressVersionIpv4 = "IPV4" @@ -15391,6 +15675,14 @@ const ( IPAddressVersionIpv6 = "IPV6" ) +// IPAddressVersion_Values returns all elements of the IPAddressVersion enum +func IPAddressVersion_Values() []string { + return []string{ + IPAddressVersionIpv4, + IPAddressVersionIpv6, + } +} + const ( // ParameterExceptionFieldWebAcl is a ParameterExceptionField enum value ParameterExceptionFieldWebAcl = "WEB_ACL" @@ -15522,6 +15814,55 @@ const ( ParameterExceptionFieldHeaderName = "HEADER_NAME" ) +// ParameterExceptionField_Values returns all elements of the ParameterExceptionField enum +func ParameterExceptionField_Values() []string { + return []string{ + ParameterExceptionFieldWebAcl, + ParameterExceptionFieldRuleGroup, + ParameterExceptionFieldRegexPatternSet, + ParameterExceptionFieldIpSet, + ParameterExceptionFieldManagedRuleSet, + ParameterExceptionFieldRule, + ParameterExceptionFieldExcludedRule, + ParameterExceptionFieldStatement, + ParameterExceptionFieldByteMatchStatement, + ParameterExceptionFieldSqliMatchStatement, + ParameterExceptionFieldXssMatchStatement, + ParameterExceptionFieldSizeConstraintStatement, + ParameterExceptionFieldGeoMatchStatement, + ParameterExceptionFieldRateBasedStatement, + ParameterExceptionFieldRuleGroupReferenceStatement, + ParameterExceptionFieldRegexPatternReferenceStatement, + ParameterExceptionFieldIpSetReferenceStatement, + ParameterExceptionFieldManagedRuleSetStatement, + ParameterExceptionFieldAndStatement, + ParameterExceptionFieldOrStatement, + ParameterExceptionFieldNotStatement, + ParameterExceptionFieldIpAddress, + ParameterExceptionFieldIpAddressVersion, + ParameterExceptionFieldFieldToMatch, + ParameterExceptionFieldTextTransformation, + ParameterExceptionFieldSingleQueryArgument, + ParameterExceptionFieldSingleHeader, + ParameterExceptionFieldDefaultAction, + ParameterExceptionFieldRuleAction, + ParameterExceptionFieldEntityLimit, + ParameterExceptionFieldOverrideAction, + ParameterExceptionFieldScopeValue, + ParameterExceptionFieldResourceArn, + ParameterExceptionFieldResourceType, + ParameterExceptionFieldTags, + ParameterExceptionFieldTagKeys, + ParameterExceptionFieldMetricName, + ParameterExceptionFieldFirewallManagerStatement, + ParameterExceptionFieldFallbackBehavior, + ParameterExceptionFieldPosition, + ParameterExceptionFieldForwardedIpConfig, + ParameterExceptionFieldIpSetForwardedIpConfig, + ParameterExceptionFieldHeaderName, + } +} + const ( // PositionalConstraintExactly is a PositionalConstraint enum value PositionalConstraintExactly = "EXACTLY" @@ -15539,6 +15880,17 @@ const ( PositionalConstraintContainsWord = "CONTAINS_WORD" ) +// PositionalConstraint_Values returns all elements of the PositionalConstraint enum +func PositionalConstraint_Values() []string { + return []string{ + PositionalConstraintExactly, + PositionalConstraintStartsWith, + PositionalConstraintEndsWith, + PositionalConstraintContains, + PositionalConstraintContainsWord, + } +} + const ( // RateBasedStatementAggregateKeyTypeIp is a RateBasedStatementAggregateKeyType enum value RateBasedStatementAggregateKeyTypeIp = "IP" @@ -15547,6 +15899,14 @@ const ( RateBasedStatementAggregateKeyTypeForwardedIp = "FORWARDED_IP" ) +// RateBasedStatementAggregateKeyType_Values returns all elements of the RateBasedStatementAggregateKeyType enum +func RateBasedStatementAggregateKeyType_Values() []string { + return []string{ + RateBasedStatementAggregateKeyTypeIp, + RateBasedStatementAggregateKeyTypeForwardedIp, + } +} + const ( // ResourceTypeApplicationLoadBalancer is a ResourceType enum value ResourceTypeApplicationLoadBalancer = "APPLICATION_LOAD_BALANCER" @@ -15555,6 +15915,14 @@ const ( ResourceTypeApiGateway = "API_GATEWAY" ) +// ResourceType_Values returns all elements of the ResourceType enum +func ResourceType_Values() []string { + return []string{ + ResourceTypeApplicationLoadBalancer, + ResourceTypeApiGateway, + } +} + const ( // ScopeCloudfront is a Scope enum value ScopeCloudfront = "CLOUDFRONT" @@ -15563,6 +15931,14 @@ const ( ScopeRegional = "REGIONAL" ) +// Scope_Values returns all elements of the Scope enum +func Scope_Values() []string { + return []string{ + ScopeCloudfront, + ScopeRegional, + } +} + const ( // TextTransformationTypeNone is a TextTransformationType enum value TextTransformationTypeNone = "NONE" @@ -15582,3 +15958,15 @@ const ( // TextTransformationTypeUrlDecode is a TextTransformationType enum value TextTransformationTypeUrlDecode = "URL_DECODE" ) + +// TextTransformationType_Values returns all elements of the TextTransformationType enum +func TextTransformationType_Values() []string { + return []string{ + TextTransformationTypeNone, + TextTransformationTypeCompressWhiteSpace, + TextTransformationTypeHtmlEntityDecode, + TextTransformationTypeLowercase, + TextTransformationTypeCmdLine, + TextTransformationTypeUrlDecode, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/worklink/api.go b/vendor/github.com/aws/aws-sdk-go/service/worklink/api.go index 50f9d5ff3a8..e7cba85d4a6 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/worklink/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/worklink/api.go @@ -6724,6 +6724,13 @@ const ( AuthorizationProviderTypeSaml = "SAML" ) +// AuthorizationProviderType_Values returns all elements of the AuthorizationProviderType enum +func AuthorizationProviderType_Values() []string { + return []string{ + AuthorizationProviderTypeSaml, + } +} + const ( // DeviceStatusActive is a DeviceStatus enum value DeviceStatusActive = "ACTIVE" @@ -6732,6 +6739,14 @@ const ( DeviceStatusSignedOut = "SIGNED_OUT" ) +// DeviceStatus_Values returns all elements of the DeviceStatus enum +func DeviceStatus_Values() []string { + return []string{ + DeviceStatusActive, + DeviceStatusSignedOut, + } +} + const ( // DomainStatusPendingValidation is a DomainStatus enum value DomainStatusPendingValidation = "PENDING_VALIDATION" @@ -6758,6 +6773,20 @@ const ( DomainStatusFailedToDisassociate = "FAILED_TO_DISASSOCIATE" ) +// DomainStatus_Values returns all elements of the DomainStatus enum +func DomainStatus_Values() []string { + return []string{ + DomainStatusPendingValidation, + DomainStatusAssociating, + DomainStatusActive, + DomainStatusInactive, + DomainStatusDisassociating, + DomainStatusDisassociated, + DomainStatusFailedToAssociate, + DomainStatusFailedToDisassociate, + } +} + const ( // FleetStatusCreating is a FleetStatus enum value FleetStatusCreating = "CREATING" @@ -6778,7 +6807,26 @@ const ( FleetStatusFailedToDelete = "FAILED_TO_DELETE" ) +// FleetStatus_Values returns all elements of the FleetStatus enum +func FleetStatus_Values() []string { + return []string{ + FleetStatusCreating, + FleetStatusActive, + FleetStatusDeleting, + FleetStatusDeleted, + FleetStatusFailedToCreate, + FleetStatusFailedToDelete, + } +} + const ( // IdentityProviderTypeSaml is a IdentityProviderType enum value IdentityProviderTypeSaml = "SAML" ) + +// IdentityProviderType_Values returns all elements of the IdentityProviderType enum +func IdentityProviderType_Values() []string { + return []string{ + IdentityProviderTypeSaml, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/workmail/api.go b/vendor/github.com/aws/aws-sdk-go/service/workmail/api.go index 959b4386d58..312744fcb9f 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/workmail/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/workmail/api.go @@ -10462,6 +10462,14 @@ const ( AccessControlRuleEffectDeny = "DENY" ) +// AccessControlRuleEffect_Values returns all elements of the AccessControlRuleEffect enum +func AccessControlRuleEffect_Values() []string { + return []string{ + AccessControlRuleEffectAllow, + AccessControlRuleEffectDeny, + } +} + const ( // EntityStateEnabled is a EntityState enum value EntityStateEnabled = "ENABLED" @@ -10473,6 +10481,15 @@ const ( EntityStateDeleted = "DELETED" ) +// EntityState_Values returns all elements of the EntityState enum +func EntityState_Values() []string { + return []string{ + EntityStateEnabled, + EntityStateDisabled, + EntityStateDeleted, + } +} + const ( // FolderNameInbox is a FolderName enum value FolderNameInbox = "INBOX" @@ -10490,6 +10507,17 @@ const ( FolderNameJunkEmail = "JUNK_EMAIL" ) +// FolderName_Values returns all elements of the FolderName enum +func FolderName_Values() []string { + return []string{ + FolderNameInbox, + FolderNameDeletedItems, + FolderNameSentItems, + FolderNameDrafts, + FolderNameJunkEmail, + } +} + const ( // MemberTypeGroup is a MemberType enum value MemberTypeGroup = "GROUP" @@ -10498,6 +10526,14 @@ const ( MemberTypeUser = "USER" ) +// MemberType_Values returns all elements of the MemberType enum +func MemberType_Values() []string { + return []string{ + MemberTypeGroup, + MemberTypeUser, + } +} + const ( // PermissionTypeFullAccess is a PermissionType enum value PermissionTypeFullAccess = "FULL_ACCESS" @@ -10509,6 +10545,15 @@ const ( PermissionTypeSendOnBehalf = "SEND_ON_BEHALF" ) +// PermissionType_Values returns all elements of the PermissionType enum +func PermissionType_Values() []string { + return []string{ + PermissionTypeFullAccess, + PermissionTypeSendAs, + PermissionTypeSendOnBehalf, + } +} + const ( // ResourceTypeRoom is a ResourceType enum value ResourceTypeRoom = "ROOM" @@ -10517,6 +10562,14 @@ const ( ResourceTypeEquipment = "EQUIPMENT" ) +// ResourceType_Values returns all elements of the ResourceType enum +func ResourceType_Values() []string { + return []string{ + ResourceTypeRoom, + ResourceTypeEquipment, + } +} + const ( // RetentionActionNone is a RetentionAction enum value RetentionActionNone = "NONE" @@ -10528,6 +10581,15 @@ const ( RetentionActionPermanentlyDelete = "PERMANENTLY_DELETE" ) +// RetentionAction_Values returns all elements of the RetentionAction enum +func RetentionAction_Values() []string { + return []string{ + RetentionActionNone, + RetentionActionDelete, + RetentionActionPermanentlyDelete, + } +} + const ( // UserRoleUser is a UserRole enum value UserRoleUser = "USER" @@ -10538,3 +10600,12 @@ const ( // UserRoleSystemUser is a UserRole enum value UserRoleSystemUser = "SYSTEM_USER" ) + +// UserRole_Values returns all elements of the UserRole enum +func UserRole_Values() []string { + return []string{ + UserRoleUser, + UserRoleResource, + UserRoleSystemUser, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/workspaces/api.go b/vendor/github.com/aws/aws-sdk-go/service/workspaces/api.go index fa50e91e039..b8ccae6fefd 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/workspaces/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/workspaces/api.go @@ -2879,6 +2879,9 @@ func (c *WorkSpaces) ModifyWorkspaceCreationPropertiesRequest(input *ModifyWorks // * ResourceNotFoundException // The resource could not be found. // +// * OperationNotSupportedException +// This operation is not supported. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifyWorkspaceCreationProperties func (c *WorkSpaces) ModifyWorkspaceCreationProperties(input *ModifyWorkspaceCreationPropertiesInput) (*ModifyWorkspaceCreationPropertiesOutput, error) { req, out := c.ModifyWorkspaceCreationPropertiesRequest(input) @@ -8966,7 +8969,8 @@ type Workspace struct { // The identifier of the bundle used to create the WorkSpace. BundleId *string `type:"string"` - // The name of the WorkSpace, as seen by the operating system. + // The name of the WorkSpace, as seen by the operating system. The format of + // this name varies. For more information, see Launch a WorkSpace (https://docs.aws.amazon.com/workspaces/latest/adminguide/launch-workspaces-tutorials.html). ComputerName *string `type:"string"` // The identifier of the AWS Directory Service directory for the WorkSpace. @@ -9363,6 +9367,22 @@ type WorkspaceCreationProperties struct { // information, see WorkSpace Maintenance (https://docs.aws.amazon.com/workspaces/latest/adminguide/workspace-maintenance.html). EnableMaintenanceMode *bool `type:"boolean"` + // Indicates whether Amazon WorkDocs is enabled for your WorkSpaces. + // + // If WorkDocs is already enabled for a WorkSpaces directory and you disable + // it, new WorkSpaces launched in the directory will not have WorkDocs enabled. + // However, WorkDocs remains enabled for any existing WorkSpaces, unless you + // either disable users' access to WorkDocs or you delete the WorkDocs site. + // To disable users' access to WorkDocs, see Disabling Users (https://docs.aws.amazon.com/workdocs/latest/adminguide/inactive-user.html) + // in the Amazon WorkDocs Administration Guide. To delete a WorkDocs site, see + // Deleting a Site (https://docs.aws.amazon.com/workdocs/latest/adminguide/manage-sites.html) + // in the Amazon WorkDocs Administration Guide. + // + // If you enable WorkDocs on a directory that already has existing WorkSpaces, + // the existing WorkSpaces and any new WorkSpaces that are launched in the directory + // will have WorkDocs enabled. + EnableWorkDocs *bool `type:"boolean"` + // Indicates whether users are local administrators of their WorkSpaces. UserEnabledAsLocalAdministrator *bool `type:"boolean"` } @@ -9414,6 +9434,12 @@ func (s *WorkspaceCreationProperties) SetEnableMaintenanceMode(v bool) *Workspac return s } +// SetEnableWorkDocs sets the EnableWorkDocs field's value. +func (s *WorkspaceCreationProperties) SetEnableWorkDocs(v bool) *WorkspaceCreationProperties { + s.EnableWorkDocs = &v + return s +} + // SetUserEnabledAsLocalAdministrator sets the UserEnabledAsLocalAdministrator field's value. func (s *WorkspaceCreationProperties) SetUserEnabledAsLocalAdministrator(v bool) *WorkspaceCreationProperties { s.UserEnabledAsLocalAdministrator = &v @@ -9955,6 +9981,14 @@ const ( AccessPropertyValueDeny = "DENY" ) +// AccessPropertyValue_Values returns all elements of the AccessPropertyValue enum +func AccessPropertyValue_Values() []string { + return []string{ + AccessPropertyValueAllow, + AccessPropertyValueDeny, + } +} + const ( // ComputeValue is a Compute enum value ComputeValue = "VALUE" @@ -9978,6 +10012,19 @@ const ( ComputeGraphicspro = "GRAPHICSPRO" ) +// Compute_Values returns all elements of the Compute enum +func Compute_Values() []string { + return []string{ + ComputeValue, + ComputeStandard, + ComputePerformance, + ComputePower, + ComputeGraphics, + ComputePowerpro, + ComputeGraphicspro, + } +} + const ( // ConnectionStateConnected is a ConnectionState enum value ConnectionStateConnected = "CONNECTED" @@ -9989,6 +10036,15 @@ const ( ConnectionStateUnknown = "UNKNOWN" ) +// ConnectionState_Values returns all elements of the ConnectionState enum +func ConnectionState_Values() []string { + return []string{ + ConnectionStateConnected, + ConnectionStateDisconnected, + ConnectionStateUnknown, + } +} + const ( // DedicatedTenancyModificationStateEnumPending is a DedicatedTenancyModificationStateEnum enum value DedicatedTenancyModificationStateEnumPending = "PENDING" @@ -10000,11 +10056,27 @@ const ( DedicatedTenancyModificationStateEnumFailed = "FAILED" ) +// DedicatedTenancyModificationStateEnum_Values returns all elements of the DedicatedTenancyModificationStateEnum enum +func DedicatedTenancyModificationStateEnum_Values() []string { + return []string{ + DedicatedTenancyModificationStateEnumPending, + DedicatedTenancyModificationStateEnumCompleted, + DedicatedTenancyModificationStateEnumFailed, + } +} + const ( // DedicatedTenancySupportEnumEnabled is a DedicatedTenancySupportEnum enum value DedicatedTenancySupportEnumEnabled = "ENABLED" ) +// DedicatedTenancySupportEnum_Values returns all elements of the DedicatedTenancySupportEnum enum +func DedicatedTenancySupportEnum_Values() []string { + return []string{ + DedicatedTenancySupportEnumEnabled, + } +} + const ( // DedicatedTenancySupportResultEnumEnabled is a DedicatedTenancySupportResultEnum enum value DedicatedTenancySupportResultEnumEnabled = "ENABLED" @@ -10013,6 +10085,14 @@ const ( DedicatedTenancySupportResultEnumDisabled = "DISABLED" ) +// DedicatedTenancySupportResultEnum_Values returns all elements of the DedicatedTenancySupportResultEnum enum +func DedicatedTenancySupportResultEnum_Values() []string { + return []string{ + DedicatedTenancySupportResultEnumEnabled, + DedicatedTenancySupportResultEnumDisabled, + } +} + const ( // ImageTypeOwned is a ImageType enum value ImageTypeOwned = "OWNED" @@ -10021,6 +10101,14 @@ const ( ImageTypeShared = "SHARED" ) +// ImageType_Values returns all elements of the ImageType enum +func ImageType_Values() []string { + return []string{ + ImageTypeOwned, + ImageTypeShared, + } +} + const ( // ModificationResourceEnumRootVolume is a ModificationResourceEnum enum value ModificationResourceEnumRootVolume = "ROOT_VOLUME" @@ -10032,6 +10120,15 @@ const ( ModificationResourceEnumComputeType = "COMPUTE_TYPE" ) +// ModificationResourceEnum_Values returns all elements of the ModificationResourceEnum enum +func ModificationResourceEnum_Values() []string { + return []string{ + ModificationResourceEnumRootVolume, + ModificationResourceEnumUserVolume, + ModificationResourceEnumComputeType, + } +} + const ( // ModificationStateEnumUpdateInitiated is a ModificationStateEnum enum value ModificationStateEnumUpdateInitiated = "UPDATE_INITIATED" @@ -10040,6 +10137,14 @@ const ( ModificationStateEnumUpdateInProgress = "UPDATE_IN_PROGRESS" ) +// ModificationStateEnum_Values returns all elements of the ModificationStateEnum enum +func ModificationStateEnum_Values() []string { + return []string{ + ModificationStateEnumUpdateInitiated, + ModificationStateEnumUpdateInProgress, + } +} + const ( // OperatingSystemTypeWindows is a OperatingSystemType enum value OperatingSystemTypeWindows = "WINDOWS" @@ -10048,6 +10153,14 @@ const ( OperatingSystemTypeLinux = "LINUX" ) +// OperatingSystemType_Values returns all elements of the OperatingSystemType enum +func OperatingSystemType_Values() []string { + return []string{ + OperatingSystemTypeWindows, + OperatingSystemTypeLinux, + } +} + const ( // ReconnectEnumEnabled is a ReconnectEnum enum value ReconnectEnumEnabled = "ENABLED" @@ -10056,6 +10169,14 @@ const ( ReconnectEnumDisabled = "DISABLED" ) +// ReconnectEnum_Values returns all elements of the ReconnectEnum enum +func ReconnectEnum_Values() []string { + return []string{ + ReconnectEnumEnabled, + ReconnectEnumDisabled, + } +} + const ( // RunningModeAutoStop is a RunningMode enum value RunningModeAutoStop = "AUTO_STOP" @@ -10064,6 +10185,14 @@ const ( RunningModeAlwaysOn = "ALWAYS_ON" ) +// RunningMode_Values returns all elements of the RunningMode enum +func RunningMode_Values() []string { + return []string{ + RunningModeAutoStop, + RunningModeAlwaysOn, + } +} + const ( // TargetWorkspaceStateAvailable is a TargetWorkspaceState enum value TargetWorkspaceStateAvailable = "AVAILABLE" @@ -10072,6 +10201,14 @@ const ( TargetWorkspaceStateAdminMaintenance = "ADMIN_MAINTENANCE" ) +// TargetWorkspaceState_Values returns all elements of the TargetWorkspaceState enum +func TargetWorkspaceState_Values() []string { + return []string{ + TargetWorkspaceStateAvailable, + TargetWorkspaceStateAdminMaintenance, + } +} + const ( // TenancyDedicated is a Tenancy enum value TenancyDedicated = "DEDICATED" @@ -10080,6 +10217,14 @@ const ( TenancyShared = "SHARED" ) +// Tenancy_Values returns all elements of the Tenancy enum +func Tenancy_Values() []string { + return []string{ + TenancyDedicated, + TenancyShared, + } +} + const ( // WorkspaceDirectoryStateRegistering is a WorkspaceDirectoryState enum value WorkspaceDirectoryStateRegistering = "REGISTERING" @@ -10097,6 +10242,17 @@ const ( WorkspaceDirectoryStateError = "ERROR" ) +// WorkspaceDirectoryState_Values returns all elements of the WorkspaceDirectoryState enum +func WorkspaceDirectoryState_Values() []string { + return []string{ + WorkspaceDirectoryStateRegistering, + WorkspaceDirectoryStateRegistered, + WorkspaceDirectoryStateDeregistering, + WorkspaceDirectoryStateDeregistered, + WorkspaceDirectoryStateError, + } +} + const ( // WorkspaceDirectoryTypeSimpleAd is a WorkspaceDirectoryType enum value WorkspaceDirectoryTypeSimpleAd = "SIMPLE_AD" @@ -10105,6 +10261,14 @@ const ( WorkspaceDirectoryTypeAdConnector = "AD_CONNECTOR" ) +// WorkspaceDirectoryType_Values returns all elements of the WorkspaceDirectoryType enum +func WorkspaceDirectoryType_Values() []string { + return []string{ + WorkspaceDirectoryTypeSimpleAd, + WorkspaceDirectoryTypeAdConnector, + } +} + const ( // WorkspaceImageIngestionProcessByolRegular is a WorkspaceImageIngestionProcess enum value WorkspaceImageIngestionProcessByolRegular = "BYOL_REGULAR" @@ -10116,6 +10280,15 @@ const ( WorkspaceImageIngestionProcessByolGraphicspro = "BYOL_GRAPHICSPRO" ) +// WorkspaceImageIngestionProcess_Values returns all elements of the WorkspaceImageIngestionProcess enum +func WorkspaceImageIngestionProcess_Values() []string { + return []string{ + WorkspaceImageIngestionProcessByolRegular, + WorkspaceImageIngestionProcessByolGraphics, + WorkspaceImageIngestionProcessByolGraphicspro, + } +} + const ( // WorkspaceImageRequiredTenancyDefault is a WorkspaceImageRequiredTenancy enum value WorkspaceImageRequiredTenancyDefault = "DEFAULT" @@ -10124,6 +10297,14 @@ const ( WorkspaceImageRequiredTenancyDedicated = "DEDICATED" ) +// WorkspaceImageRequiredTenancy_Values returns all elements of the WorkspaceImageRequiredTenancy enum +func WorkspaceImageRequiredTenancy_Values() []string { + return []string{ + WorkspaceImageRequiredTenancyDefault, + WorkspaceImageRequiredTenancyDedicated, + } +} + const ( // WorkspaceImageStateAvailable is a WorkspaceImageState enum value WorkspaceImageStateAvailable = "AVAILABLE" @@ -10135,6 +10316,15 @@ const ( WorkspaceImageStateError = "ERROR" ) +// WorkspaceImageState_Values returns all elements of the WorkspaceImageState enum +func WorkspaceImageState_Values() []string { + return []string{ + WorkspaceImageStateAvailable, + WorkspaceImageStatePending, + WorkspaceImageStateError, + } +} + const ( // WorkspaceStatePending is a WorkspaceState enum value WorkspaceStatePending = "PENDING" @@ -10187,3 +10377,26 @@ const ( // WorkspaceStateError is a WorkspaceState enum value WorkspaceStateError = "ERROR" ) + +// WorkspaceState_Values returns all elements of the WorkspaceState enum +func WorkspaceState_Values() []string { + return []string{ + WorkspaceStatePending, + WorkspaceStateAvailable, + WorkspaceStateImpaired, + WorkspaceStateUnhealthy, + WorkspaceStateRebooting, + WorkspaceStateStarting, + WorkspaceStateRebuilding, + WorkspaceStateRestoring, + WorkspaceStateMaintenance, + WorkspaceStateAdminMaintenance, + WorkspaceStateTerminating, + WorkspaceStateTerminated, + WorkspaceStateSuspended, + WorkspaceStateUpdating, + WorkspaceStateStopping, + WorkspaceStateStopped, + WorkspaceStateError, + } +} diff --git a/vendor/github.com/aws/aws-sdk-go/service/xray/api.go b/vendor/github.com/aws/aws-sdk-go/service/xray/api.go index 9092ddb1b4d..18ff3dd6e38 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/xray/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/xray/api.go @@ -6603,6 +6603,14 @@ const ( EncryptionStatusActive = "ACTIVE" ) +// EncryptionStatus_Values returns all elements of the EncryptionStatus enum +func EncryptionStatus_Values() []string { + return []string{ + EncryptionStatusUpdating, + EncryptionStatusActive, + } +} + const ( // EncryptionTypeNone is a EncryptionType enum value EncryptionTypeNone = "NONE" @@ -6611,6 +6619,14 @@ const ( EncryptionTypeKms = "KMS" ) +// EncryptionType_Values returns all elements of the EncryptionType enum +func EncryptionType_Values() []string { + return []string{ + EncryptionTypeNone, + EncryptionTypeKms, + } +} + const ( // SamplingStrategyNamePartialScan is a SamplingStrategyName enum value SamplingStrategyNamePartialScan = "PartialScan" @@ -6619,6 +6635,14 @@ const ( SamplingStrategyNameFixedRate = "FixedRate" ) +// SamplingStrategyName_Values returns all elements of the SamplingStrategyName enum +func SamplingStrategyName_Values() []string { + return []string{ + SamplingStrategyNamePartialScan, + SamplingStrategyNameFixedRate, + } +} + const ( // TimeRangeTypeTraceId is a TimeRangeType enum value TimeRangeTypeTraceId = "TraceId" @@ -6626,3 +6650,11 @@ const ( // TimeRangeTypeEvent is a TimeRangeType enum value TimeRangeTypeEvent = "Event" ) + +// TimeRangeType_Values returns all elements of the TimeRangeType enum +func TimeRangeType_Values() []string { + return []string{ + TimeRangeTypeTraceId, + TimeRangeTypeEvent, + } +} diff --git a/vendor/modules.txt b/vendor/modules.txt index 73a0e5786b0..4d532e79b1b 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -29,7 +29,7 @@ github.com/apparentlymart/go-cidr/cidr github.com/apparentlymart/go-textseg/textseg # github.com/armon/go-radix v1.0.0 github.com/armon/go-radix -# github.com/aws/aws-sdk-go v1.33.21 +# github.com/aws/aws-sdk-go v1.34.4 ## explicit github.com/aws/aws-sdk-go/aws github.com/aws/aws-sdk-go/aws/arn