diff --git a/.changes/next-release/service.wildcard-feature-1609970085121499000.json b/.changes/next-release/service.wildcard-feature-1609970085121499000.json new file mode 100644 index 00000000000..dbb6fddf406 --- /dev/null +++ b/.changes/next-release/service.wildcard-feature-1609970085121499000.json @@ -0,0 +1,261 @@ +{ + "ID": "service.wildcard-feature-1609970085121499000", + "SchemaVersion": 1, + "Module": "service/...", + "Type": "feature", + "Description": "fix enum constant name generation", + "MinVersion": "", + "AffectedModules": [ + "service/accessanalyzer", + "service/acm", + "service/acmpca", + "service/alexaforbusiness", + "service/amplify", + "service/apigateway", + "service/apigatewaymanagementapi", + "service/apigatewayv2", + "service/appconfig", + "service/appflow", + "service/appintegrations", + "service/applicationautoscaling", + "service/applicationdiscoveryservice", + "service/applicationinsights", + "service/appmesh", + "service/appstream", + "service/appsync", + "service/athena", + "service/auditmanager", + "service/autoscaling", + "service/autoscalingplans", + "service/backup", + "service/batch", + "service/braket", + "service/budgets", + "service/chime", + "service/cloud9", + "service/clouddirectory", + "service/cloudformation", + "service/cloudfront", + "service/cloudhsm", + "service/cloudhsmv2", + "service/cloudsearch", + "service/cloudsearchdomain", + "service/cloudtrail", + "service/cloudwatch", + "service/cloudwatchevents", + "service/cloudwatchlogs", + "service/codeartifact", + "service/codebuild", + "service/codecommit", + "service/codedeploy", + "service/codeguruprofiler", + "service/codegurureviewer", + "service/codepipeline", + "service/codestar", + "service/codestarconnections", + "service/codestarnotifications", + "service/cognitoidentity", + "service/cognitoidentityprovider", + "service/cognitosync", + "service/comprehend", + "service/comprehendmedical", + "service/computeoptimizer", + "service/configservice", + "service/connect", + "service/connectcontactlens", + "service/connectparticipant", + "service/costandusagereportservice", + "service/costexplorer", + "service/customerprofiles", + "service/databasemigrationservice", + "service/databrew", + "service/dataexchange", + "service/datapipeline", + "service/datasync", + "service/dax", + "service/detective", + "service/devicefarm", + "service/devopsguru", + "service/directconnect", + "service/directoryservice", + "service/dlm", + "service/docdb", + "service/dynamodb", + "service/dynamodbstreams", + "service/ebs", + "service/ec2", + "service/ec2instanceconnect", + "service/ecr", + "service/ecrpublic", + "service/ecs", + "service/efs", + "service/eks", + "service/elasticache", + "service/elasticbeanstalk", + "service/elasticinference", + "service/elasticloadbalancing", + "service/elasticloadbalancingv2", + "service/elasticsearchservice", + "service/elastictranscoder", + "service/emr", + "service/emrcontainers", + "service/eventbridge", + "service/firehose", + "service/fms", + "service/forecast", + "service/forecastquery", + "service/frauddetector", + "service/fsx", + "service/gamelift", + "service/glacier", + "service/globalaccelerator", + "service/glue", + "service/greengrass", + "service/greengrassv2", + "service/groundstation", + "service/guardduty", + "service/health", + "service/healthlake", + "service/honeycode", + "service/iam", + "service/identitystore", + "service/imagebuilder", + "service/inspector", + "service/iot", + "service/iot1clickdevicesservice", + "service/iot1clickprojects", + "service/iotanalytics", + "service/iotdataplane", + "service/iotdeviceadvisor", + "service/iotevents", + "service/ioteventsdata", + "service/iotfleethub", + "service/iotjobsdataplane", + "service/iotsecuretunneling", + "service/iotsitewise", + "service/iotthingsgraph", + "service/iotwireless", + "service/ivs", + "service/kafka", + "service/kendra", + "service/kinesis", + "service/kinesisanalytics", + "service/kinesisanalyticsv2", + "service/kinesisvideo", + "service/kinesisvideoarchivedmedia", + "service/kinesisvideomedia", + "service/kinesisvideosignaling", + "service/kms", + "service/lakeformation", + "service/lambda", + "service/lexmodelbuildingservice", + "service/lexruntimeservice", + "service/licensemanager", + "service/lightsail", + "service/lookoutvision", + "service/machinelearning", + "service/macie", + "service/macie2", + "service/managedblockchain", + "service/marketplacecatalog", + "service/marketplacecommerceanalytics", + "service/marketplaceentitlementservice", + "service/marketplacemetering", + "service/mediaconnect", + "service/mediaconvert", + "service/medialive", + "service/mediapackage", + "service/mediapackagevod", + "service/mediastore", + "service/mediastoredata", + "service/mediatailor", + "service/migrationhub", + "service/migrationhubconfig", + "service/mobile", + "service/mq", + "service/mturk", + "service/neptune", + "service/networkfirewall", + "service/networkmanager", + "service/opsworks", + "service/opsworkscm", + "service/organizations", + "service/outposts", + "service/personalize", + "service/personalizeevents", + "service/personalizeruntime", + "service/pi", + "service/pinpoint", + "service/pinpointemail", + "service/pinpointsmsvoice", + "service/polly", + "service/pricing", + "service/qldb", + "service/qldbsession", + "service/quicksight", + "service/ram", + "service/rds", + "service/rdsdata", + "service/redshift", + "service/redshiftdata", + "service/rekognition", + "service/resourcegroups", + "service/resourcegroupstaggingapi", + "service/robomaker", + "service/route53", + "service/route53domains", + "service/route53resolver", + "service/s3", + "service/s3/internal/configtesting", + "service/s3control", + "service/s3outposts", + "service/sagemaker", + "service/sagemakera2iruntime", + "service/sagemakeredge", + "service/sagemakerfeaturestoreruntime", + "service/sagemakerruntime", + "service/savingsplans", + "service/schemas", + "service/secretsmanager", + "service/securityhub", + "service/serverlessapplicationrepository", + "service/servicecatalog", + "service/servicecatalogappregistry", + "service/servicediscovery", + "service/servicequotas", + "service/ses", + "service/sesv2", + "service/sfn", + "service/shield", + "service/signer", + "service/sms", + "service/snowball", + "service/sns", + "service/sqs", + "service/ssm", + "service/sso", + "service/ssoadmin", + "service/ssooidc", + "service/storagegateway", + "service/sts", + "service/support", + "service/swf", + "service/synthetics", + "service/textract", + "service/timestreamquery", + "service/timestreamwrite", + "service/transcribe", + "service/transfer", + "service/translate", + "service/waf", + "service/wafregional", + "service/wafv2", + "service/wellarchitected", + "service/workdocs", + "service/worklink", + "service/workmail", + "service/workmailmessageflow", + "service/workspaces", + "service/xray" + ] +} \ No newline at end of file diff --git a/internal/protocoltest/awsrestjson/api_client.go b/internal/protocoltest/awsrestjson/api_client.go index 21169837b0b..f107b8d8162 100644 --- a/internal/protocoltest/awsrestjson/api_client.go +++ b/internal/protocoltest/awsrestjson/api_client.go @@ -86,6 +86,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/internal/protocoltest/ec2query/api_client.go b/internal/protocoltest/ec2query/api_client.go index c813713263f..2691f42c426 100644 --- a/internal/protocoltest/ec2query/api_client.go +++ b/internal/protocoltest/ec2query/api_client.go @@ -86,6 +86,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/internal/protocoltest/jsonrpc/api_client.go b/internal/protocoltest/jsonrpc/api_client.go index e50126d16b7..911df79a9b5 100644 --- a/internal/protocoltest/jsonrpc/api_client.go +++ b/internal/protocoltest/jsonrpc/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/internal/protocoltest/jsonrpc10/api_client.go b/internal/protocoltest/jsonrpc10/api_client.go index 52a6f6e913b..4979efd2a51 100644 --- a/internal/protocoltest/jsonrpc10/api_client.go +++ b/internal/protocoltest/jsonrpc10/api_client.go @@ -78,6 +78,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/internal/protocoltest/query/api_client.go b/internal/protocoltest/query/api_client.go index 97729a74004..00dcb807d6a 100644 --- a/internal/protocoltest/query/api_client.go +++ b/internal/protocoltest/query/api_client.go @@ -86,6 +86,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/internal/protocoltest/restxml/api_client.go b/internal/protocoltest/restxml/api_client.go index c2c846ed4a6..d86cbf652f9 100644 --- a/internal/protocoltest/restxml/api_client.go +++ b/internal/protocoltest/restxml/api_client.go @@ -86,6 +86,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/accessanalyzer/api_client.go b/service/accessanalyzer/api_client.go index 21b3ff6fbe8..dc6e68f01bc 100644 --- a/service/accessanalyzer/api_client.go +++ b/service/accessanalyzer/api_client.go @@ -96,6 +96,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/acm/api_client.go b/service/acm/api_client.go index fbdcd862b27..3dc3b28545c 100644 --- a/service/acm/api_client.go +++ b/service/acm/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/acmpca/api_client.go b/service/acmpca/api_client.go index 1bd68ca768e..47590b0c70b 100644 --- a/service/acmpca/api_client.go +++ b/service/acmpca/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/acmpca/types/enums.go b/service/acmpca/types/enums.go index c0250b2bf5c..c9ff3125c0b 100644 --- a/service/acmpca/types/enums.go +++ b/service/acmpca/types/enums.go @@ -6,9 +6,9 @@ type ActionType string // Enum values for ActionType const ( - ActionTypeIssuecertificate ActionType = "IssueCertificate" - ActionTypeGetcertificate ActionType = "GetCertificate" - ActionTypeListpermissions ActionType = "ListPermissions" + ActionTypeIssueCertificate ActionType = "IssueCertificate" + ActionTypeGetCertificate ActionType = "GetCertificate" + ActionTypeListPermissions ActionType = "ListPermissions" ) // Values returns all known values for ActionType. Note that this can be expanded diff --git a/service/alexaforbusiness/api_client.go b/service/alexaforbusiness/api_client.go index 85cde448a04..a08fe3e15a2 100644 --- a/service/alexaforbusiness/api_client.go +++ b/service/alexaforbusiness/api_client.go @@ -96,6 +96,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/amplify/api_client.go b/service/amplify/api_client.go index c3bca19fe3c..ccca7f7bae4 100644 --- a/service/amplify/api_client.go +++ b/service/amplify/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/apigateway/api_client.go b/service/apigateway/api_client.go index 43ce75e2514..6ac2330d191 100644 --- a/service/apigateway/api_client.go +++ b/service/apigateway/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/apigatewaymanagementapi/api_client.go b/service/apigatewaymanagementapi/api_client.go index 41cea6784b8..8d684cf3a73 100644 --- a/service/apigatewaymanagementapi/api_client.go +++ b/service/apigatewaymanagementapi/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/apigatewayv2/api_client.go b/service/apigatewayv2/api_client.go index 962955e175b..ff95de88916 100644 --- a/service/apigatewayv2/api_client.go +++ b/service/apigatewayv2/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/appconfig/api_client.go b/service/appconfig/api_client.go index 009fa7fb214..5a23d1c00d0 100644 --- a/service/appconfig/api_client.go +++ b/service/appconfig/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/appflow/api_client.go b/service/appflow/api_client.go index 5e388e9db6d..d8f9744e9df 100644 --- a/service/appflow/api_client.go +++ b/service/appflow/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/appintegrations/api_client.go b/service/appintegrations/api_client.go index 1aa742b32ef..3959fc2e92a 100644 --- a/service/appintegrations/api_client.go +++ b/service/appintegrations/api_client.go @@ -97,6 +97,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/applicationautoscaling/api_client.go b/service/applicationautoscaling/api_client.go index 75ab053c22d..64fb50940ae 100644 --- a/service/applicationautoscaling/api_client.go +++ b/service/applicationautoscaling/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/applicationautoscaling/types/enums.go b/service/applicationautoscaling/types/enums.go index 2d27bbb0d03..3d1d9244677 100644 --- a/service/applicationautoscaling/types/enums.go +++ b/service/applicationautoscaling/types/enums.go @@ -6,9 +6,9 @@ type AdjustmentType string // Enum values for AdjustmentType const ( - AdjustmentTypeChangeincapacity AdjustmentType = "ChangeInCapacity" - AdjustmentTypePercentchangeincapacity AdjustmentType = "PercentChangeInCapacity" - AdjustmentTypeExactcapacity AdjustmentType = "ExactCapacity" + AdjustmentTypeChangeInCapacity AdjustmentType = "ChangeInCapacity" + AdjustmentTypePercentChangeInCapacity AdjustmentType = "PercentChangeInCapacity" + AdjustmentTypeExactCapacity AdjustmentType = "ExactCapacity" ) // Values returns all known values for AdjustmentType. Note that this can be @@ -49,7 +49,7 @@ const ( MetricStatisticAverage MetricStatistic = "Average" MetricStatisticMinimum MetricStatistic = "Minimum" MetricStatisticMaximum MetricStatistic = "Maximum" - MetricStatisticSamplecount MetricStatistic = "SampleCount" + MetricStatisticSampleCount MetricStatistic = "SampleCount" MetricStatisticSum MetricStatistic = "Sum" ) @@ -70,23 +70,23 @@ type MetricType string // Enum values for MetricType const ( - MetricTypeDynamodbreadcapacityutilization MetricType = "DynamoDBReadCapacityUtilization" - MetricTypeDynamodbwritecapacityutilization MetricType = "DynamoDBWriteCapacityUtilization" - MetricTypeAlbrequestcountpertarget MetricType = "ALBRequestCountPerTarget" - MetricTypeRdsreaderaveragecpuutilization MetricType = "RDSReaderAverageCPUUtilization" - MetricTypeRdsreaderaveragedatabaseconnections MetricType = "RDSReaderAverageDatabaseConnections" - MetricTypeEc2spotfleetrequestaveragecpuutilization MetricType = "EC2SpotFleetRequestAverageCPUUtilization" - MetricTypeEc2spotfleetrequestaveragenetworkin MetricType = "EC2SpotFleetRequestAverageNetworkIn" - MetricTypeEc2spotfleetrequestaveragenetworkout MetricType = "EC2SpotFleetRequestAverageNetworkOut" - MetricTypeSagemakervariantinvocationsperinstance MetricType = "SageMakerVariantInvocationsPerInstance" - MetricTypeEcsserviceaveragecpuutilization MetricType = "ECSServiceAverageCPUUtilization" - MetricTypeEcsserviceaveragememoryutilization MetricType = "ECSServiceAverageMemoryUtilization" - MetricTypeAppstreamaveragecapacityutilization MetricType = "AppStreamAverageCapacityUtilization" - MetricTypeComprehendinferenceutilization MetricType = "ComprehendInferenceUtilization" - MetricTypeLambdaprovisionedconcurrencyutilization MetricType = "LambdaProvisionedConcurrencyUtilization" - MetricTypeCassandrareadcapacityutilization MetricType = "CassandraReadCapacityUtilization" - MetricTypeCassandrawritecapacityutilization MetricType = "CassandraWriteCapacityUtilization" - MetricTypeKafkabrokerstorageutilization MetricType = "KafkaBrokerStorageUtilization" + MetricTypeDynamoDBReadCapacityUtilization MetricType = "DynamoDBReadCapacityUtilization" + MetricTypeDynamoDBWriteCapacityUtilization MetricType = "DynamoDBWriteCapacityUtilization" + MetricTypeALBRequestCountPerTarget MetricType = "ALBRequestCountPerTarget" + MetricTypeRDSReaderAverageCPUUtilization MetricType = "RDSReaderAverageCPUUtilization" + MetricTypeRDSReaderAverageDatabaseConnections MetricType = "RDSReaderAverageDatabaseConnections" + MetricTypeEC2SpotFleetRequestAverageCPUUtilization MetricType = "EC2SpotFleetRequestAverageCPUUtilization" + MetricTypeEC2SpotFleetRequestAverageNetworkIn MetricType = "EC2SpotFleetRequestAverageNetworkIn" + MetricTypeEC2SpotFleetRequestAverageNetworkOut MetricType = "EC2SpotFleetRequestAverageNetworkOut" + MetricTypeSageMakerVariantInvocationsPerInstance MetricType = "SageMakerVariantInvocationsPerInstance" + MetricTypeECSServiceAverageCPUUtilization MetricType = "ECSServiceAverageCPUUtilization" + MetricTypeECSServiceAverageMemoryUtilization MetricType = "ECSServiceAverageMemoryUtilization" + MetricTypeAppStreamAverageCapacityUtilization MetricType = "AppStreamAverageCapacityUtilization" + MetricTypeComprehendInferenceUtilization MetricType = "ComprehendInferenceUtilization" + MetricTypeLambdaProvisionedConcurrencyUtilization MetricType = "LambdaProvisionedConcurrencyUtilization" + MetricTypeCassandraReadCapacityUtilization MetricType = "CassandraReadCapacityUtilization" + MetricTypeCassandraWriteCapacityUtilization MetricType = "CassandraWriteCapacityUtilization" + MetricTypeKafkaBrokerStorageUtilization MetricType = "KafkaBrokerStorageUtilization" ) // Values returns all known values for MetricType. Note that this can be expanded @@ -118,8 +118,8 @@ type PolicyType string // Enum values for PolicyType const ( - PolicyTypeStepscaling PolicyType = "StepScaling" - PolicyTypeTargettrackingscaling PolicyType = "TargetTrackingScaling" + PolicyTypeStepScaling PolicyType = "StepScaling" + PolicyTypeTargetTrackingScaling PolicyType = "TargetTrackingScaling" ) // Values returns all known values for PolicyType. Note that this can be expanded @@ -136,23 +136,23 @@ type ScalableDimension string // Enum values for ScalableDimension const ( - ScalableDimensionEcsservicedesiredcount ScalableDimension = "ecs:service:DesiredCount" - ScalableDimensionEc2spotfleetrequesttargetcapacity ScalableDimension = "ec2:spot-fleet-request:TargetCapacity" - ScalableDimensionEmrinstancegroupinstancecount ScalableDimension = "elasticmapreduce:instancegroup:InstanceCount" - ScalableDimensionAppstreamfleetdesiredcapacity ScalableDimension = "appstream:fleet:DesiredCapacity" - ScalableDimensionDynamodbtablereadcapacityunits ScalableDimension = "dynamodb:table:ReadCapacityUnits" - ScalableDimensionDynamodbtablewritecapacityunits ScalableDimension = "dynamodb:table:WriteCapacityUnits" - ScalableDimensionDynamodbindexreadcapacityunits ScalableDimension = "dynamodb:index:ReadCapacityUnits" - ScalableDimensionDynamodbindexwritecapacityunits ScalableDimension = "dynamodb:index:WriteCapacityUnits" - ScalableDimensionRdsclusterreadreplicacount ScalableDimension = "rds:cluster:ReadReplicaCount" - ScalableDimensionSagemakervariantdesiredinstancecount ScalableDimension = "sagemaker:variant:DesiredInstanceCount" - ScalableDimensionCustomresourcescalabledimension ScalableDimension = "custom-resource:ResourceType:Property" - ScalableDimensionComprehenddocclassifierendpointinferenceunits ScalableDimension = "comprehend:document-classifier-endpoint:DesiredInferenceUnits" - ScalableDimensionComprehendentityrecognizerendpointinferenceunits ScalableDimension = "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits" - ScalableDimensionLambdafunctionprovisionedconcurrency ScalableDimension = "lambda:function:ProvisionedConcurrency" - ScalableDimensionCassandratablereadcapacityunits ScalableDimension = "cassandra:table:ReadCapacityUnits" - ScalableDimensionCassandratablewritecapacityunits ScalableDimension = "cassandra:table:WriteCapacityUnits" - ScalableDimensionKafkabrokerstoragevolumesize ScalableDimension = "kafka:broker-storage:VolumeSize" + ScalableDimensionECSServiceDesiredCount ScalableDimension = "ecs:service:DesiredCount" + ScalableDimensionEC2SpotFleetRequestTargetCapacity ScalableDimension = "ec2:spot-fleet-request:TargetCapacity" + ScalableDimensionEMRInstanceGroupInstanceCount ScalableDimension = "elasticmapreduce:instancegroup:InstanceCount" + ScalableDimensionAppstreamFleetDesiredCapacity ScalableDimension = "appstream:fleet:DesiredCapacity" + ScalableDimensionDynamoDBTableReadCapacityUnits ScalableDimension = "dynamodb:table:ReadCapacityUnits" + ScalableDimensionDynamoDBTableWriteCapacityUnits ScalableDimension = "dynamodb:table:WriteCapacityUnits" + ScalableDimensionDynamoDBIndexReadCapacityUnits ScalableDimension = "dynamodb:index:ReadCapacityUnits" + ScalableDimensionDynamoDBIndexWriteCapacityUnits ScalableDimension = "dynamodb:index:WriteCapacityUnits" + ScalableDimensionRDSClusterReadReplicaCount ScalableDimension = "rds:cluster:ReadReplicaCount" + ScalableDimensionSageMakerVariantDesiredInstanceCount ScalableDimension = "sagemaker:variant:DesiredInstanceCount" + ScalableDimensionCustomResourceScalableDimension ScalableDimension = "custom-resource:ResourceType:Property" + ScalableDimensionComprehendDocClassifierEndpointInferenceUnits ScalableDimension = "comprehend:document-classifier-endpoint:DesiredInferenceUnits" + ScalableDimensionComprehendEntityRecognizerEndpointInferenceUnits ScalableDimension = "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits" + ScalableDimensionLambdaFunctionProvisionedConcurrency ScalableDimension = "lambda:function:ProvisionedConcurrency" + ScalableDimensionCassandraTableReadCapacityUnits ScalableDimension = "cassandra:table:ReadCapacityUnits" + ScalableDimensionCassandraTableWriteCapacityUnits ScalableDimension = "cassandra:table:WriteCapacityUnits" + ScalableDimensionKafkaBrokerStorageVolumeSize ScalableDimension = "kafka:broker-storage:VolumeSize" ) // Values returns all known values for ScalableDimension. Note that this can be @@ -185,7 +185,7 @@ type ScalingActivityStatusCode string // Enum values for ScalingActivityStatusCode const ( ScalingActivityStatusCodePending ScalingActivityStatusCode = "Pending" - ScalingActivityStatusCodeInprogress ScalingActivityStatusCode = "InProgress" + ScalingActivityStatusCodeInProgress ScalingActivityStatusCode = "InProgress" ScalingActivityStatusCodeSuccessful ScalingActivityStatusCode = "Successful" ScalingActivityStatusCodeOverridden ScalingActivityStatusCode = "Overridden" ScalingActivityStatusCodeUnfulfilled ScalingActivityStatusCode = "Unfulfilled" diff --git a/service/applicationdiscoveryservice/api_client.go b/service/applicationdiscoveryservice/api_client.go index c5dc2dcc62b..9f897e73aba 100644 --- a/service/applicationdiscoveryservice/api_client.go +++ b/service/applicationdiscoveryservice/api_client.go @@ -97,6 +97,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/applicationinsights/api_client.go b/service/applicationinsights/api_client.go index 6c1e03a13f0..a5db1a1bc3e 100644 --- a/service/applicationinsights/api_client.go +++ b/service/applicationinsights/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/appmesh/api_client.go b/service/appmesh/api_client.go index 2ba949d16f2..2c476d81e9e 100644 --- a/service/appmesh/api_client.go +++ b/service/appmesh/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/appstream/api_client.go b/service/appstream/api_client.go index cbe62645789..3cd54af1f12 100644 --- a/service/appstream/api_client.go +++ b/service/appstream/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/appsync/api_client.go b/service/appsync/api_client.go index 17a9ea42ae0..459228810af 100644 --- a/service/appsync/api_client.go +++ b/service/appsync/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/appsync/types/enums.go b/service/appsync/types/enums.go index ff4252b6bdb..0ee879d09a3 100644 --- a/service/appsync/types/enums.go +++ b/service/appsync/types/enums.go @@ -291,7 +291,7 @@ const ( SchemaStatusDeleting SchemaStatus = "DELETING" SchemaStatusFailed SchemaStatus = "FAILED" SchemaStatusSuccess SchemaStatus = "SUCCESS" - SchemaStatusNotapplicable SchemaStatus = "NOT_APPLICABLE" + SchemaStatusNotApplicable SchemaStatus = "NOT_APPLICABLE" ) // Values returns all known values for SchemaStatus. Note that this can be expanded diff --git a/service/athena/api_client.go b/service/athena/api_client.go index 05a32c95aaa..25319e5a89f 100644 --- a/service/athena/api_client.go +++ b/service/athena/api_client.go @@ -96,6 +96,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/auditmanager/api_client.go b/service/auditmanager/api_client.go index 205915d98fb..96d75fb94c5 100644 --- a/service/auditmanager/api_client.go +++ b/service/auditmanager/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/autoscaling/api_client.go b/service/autoscaling/api_client.go index 567bb3cd221..dbf1d2ac8ca 100644 --- a/service/autoscaling/api_client.go +++ b/service/autoscaling/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/autoscaling/types/enums.go b/service/autoscaling/types/enums.go index e072605dc17..d29c4b2dd2a 100644 --- a/service/autoscaling/types/enums.go +++ b/service/autoscaling/types/enums.go @@ -45,7 +45,7 @@ type InstanceRefreshStatus string // Enum values for InstanceRefreshStatus const ( InstanceRefreshStatusPending InstanceRefreshStatus = "Pending" - InstanceRefreshStatusInprogress InstanceRefreshStatus = "InProgress" + InstanceRefreshStatusInProgress InstanceRefreshStatus = "InProgress" InstanceRefreshStatusSuccessful InstanceRefreshStatus = "Successful" InstanceRefreshStatusFailed InstanceRefreshStatus = "Failed" InstanceRefreshStatusCancelling InstanceRefreshStatus = "Cancelling" @@ -113,7 +113,7 @@ const ( MetricStatisticAverage MetricStatistic = "Average" MetricStatisticMinimum MetricStatistic = "Minimum" MetricStatisticMaximum MetricStatistic = "Maximum" - MetricStatisticSamplecount MetricStatistic = "SampleCount" + MetricStatisticSampleCount MetricStatistic = "SampleCount" MetricStatisticSum MetricStatistic = "Sum" ) @@ -134,10 +134,10 @@ type MetricType string // Enum values for MetricType const ( - MetricTypeAsgaveragecpuutilization MetricType = "ASGAverageCPUUtilization" - MetricTypeAsgaveragenetworkin MetricType = "ASGAverageNetworkIn" - MetricTypeAsgaveragenetworkout MetricType = "ASGAverageNetworkOut" - MetricTypeAlbrequestcountpertarget MetricType = "ALBRequestCountPerTarget" + MetricTypeASGAverageCPUUtilization MetricType = "ASGAverageCPUUtilization" + MetricTypeASGAverageNetworkIn MetricType = "ASGAverageNetworkIn" + MetricTypeASGAverageNetworkOut MetricType = "ASGAverageNetworkOut" + MetricTypeALBRequestCountPerTarget MetricType = "ALBRequestCountPerTarget" ) // Values returns all known values for MetricType. Note that this can be expanded @@ -172,15 +172,15 @@ type ScalingActivityStatusCode string // Enum values for ScalingActivityStatusCode const ( - ScalingActivityStatusCodePendingspotbidplacement ScalingActivityStatusCode = "PendingSpotBidPlacement" - ScalingActivityStatusCodeWaitingforspotinstancerequestid ScalingActivityStatusCode = "WaitingForSpotInstanceRequestId" - ScalingActivityStatusCodeWaitingforspotinstanceid ScalingActivityStatusCode = "WaitingForSpotInstanceId" - ScalingActivityStatusCodeWaitingforinstanceid ScalingActivityStatusCode = "WaitingForInstanceId" - ScalingActivityStatusCodePreinservice ScalingActivityStatusCode = "PreInService" - ScalingActivityStatusCodeInprogress ScalingActivityStatusCode = "InProgress" - ScalingActivityStatusCodeWaitingforelbconnectiondraining ScalingActivityStatusCode = "WaitingForELBConnectionDraining" - ScalingActivityStatusCodeMidlifecycleaction ScalingActivityStatusCode = "MidLifecycleAction" - ScalingActivityStatusCodeWaitingforinstancewarmup ScalingActivityStatusCode = "WaitingForInstanceWarmup" + ScalingActivityStatusCodePendingSpotBidPlacement ScalingActivityStatusCode = "PendingSpotBidPlacement" + ScalingActivityStatusCodeWaitingForSpotInstanceRequestId ScalingActivityStatusCode = "WaitingForSpotInstanceRequestId" + ScalingActivityStatusCodeWaitingForSpotInstanceId ScalingActivityStatusCode = "WaitingForSpotInstanceId" + ScalingActivityStatusCodeWaitingForInstanceId ScalingActivityStatusCode = "WaitingForInstanceId" + ScalingActivityStatusCodePreInService ScalingActivityStatusCode = "PreInService" + ScalingActivityStatusCodeInProgress ScalingActivityStatusCode = "InProgress" + ScalingActivityStatusCodeWaitingForELBConnectionDraining ScalingActivityStatusCode = "WaitingForELBConnectionDraining" + ScalingActivityStatusCodeMidLifecycleAction ScalingActivityStatusCode = "MidLifecycleAction" + ScalingActivityStatusCodeWaitingForInstanceWarmup ScalingActivityStatusCode = "WaitingForInstanceWarmup" ScalingActivityStatusCodeSuccessful ScalingActivityStatusCode = "Successful" ScalingActivityStatusCodeFailed ScalingActivityStatusCode = "Failed" ScalingActivityStatusCodeCancelled ScalingActivityStatusCode = "Cancelled" diff --git a/service/autoscalingplans/api_client.go b/service/autoscalingplans/api_client.go index 47ad6a995ae..c1cabce04e2 100644 --- a/service/autoscalingplans/api_client.go +++ b/service/autoscalingplans/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/autoscalingplans/types/enums.go b/service/autoscalingplans/types/enums.go index 8d1c6053ad3..ab9e8351bf7 100644 --- a/service/autoscalingplans/types/enums.go +++ b/service/autoscalingplans/types/enums.go @@ -6,10 +6,10 @@ type ForecastDataType string // Enum values for ForecastDataType const ( - ForecastDataTypeCapacityforecast ForecastDataType = "CapacityForecast" - ForecastDataTypeLoadforecast ForecastDataType = "LoadForecast" - ForecastDataTypeScheduledactionmincapacity ForecastDataType = "ScheduledActionMinCapacity" - ForecastDataTypeScheduledactionmaxcapacity ForecastDataType = "ScheduledActionMaxCapacity" + ForecastDataTypeCapacityForecast ForecastDataType = "CapacityForecast" + ForecastDataTypeLoadForecast ForecastDataType = "LoadForecast" + ForecastDataTypeScheduledActionMinCapacity ForecastDataType = "ScheduledActionMinCapacity" + ForecastDataTypeScheduledActionMaxCapacity ForecastDataType = "ScheduledActionMaxCapacity" ) // Values returns all known values for ForecastDataType. Note that this can be @@ -28,10 +28,10 @@ type LoadMetricType string // Enum values for LoadMetricType const ( - LoadMetricTypeAsgtotalcpuutilization LoadMetricType = "ASGTotalCPUUtilization" - LoadMetricTypeAsgtotalnetworkin LoadMetricType = "ASGTotalNetworkIn" - LoadMetricTypeAsgtotalnetworkout LoadMetricType = "ASGTotalNetworkOut" - LoadMetricTypeAlbtargetgrouprequestcount LoadMetricType = "ALBTargetGroupRequestCount" + LoadMetricTypeASGTotalCPUUtilization LoadMetricType = "ASGTotalCPUUtilization" + LoadMetricTypeASGTotalNetworkIn LoadMetricType = "ASGTotalNetworkIn" + LoadMetricTypeASGTotalNetworkOut LoadMetricType = "ASGTotalNetworkOut" + LoadMetricTypeALBTargetGroupRequestCount LoadMetricType = "ALBTargetGroupRequestCount" ) // Values returns all known values for LoadMetricType. Note that this can be @@ -53,7 +53,7 @@ const ( MetricStatisticAverage MetricStatistic = "Average" MetricStatisticMinimum MetricStatistic = "Minimum" MetricStatisticMaximum MetricStatistic = "Maximum" - MetricStatisticSamplecount MetricStatistic = "SampleCount" + MetricStatisticSampleCount MetricStatistic = "SampleCount" MetricStatisticSum MetricStatistic = "Sum" ) @@ -74,7 +74,7 @@ type PolicyType string // Enum values for PolicyType const ( - PolicyTypeTargettrackingscaling PolicyType = "TargetTrackingScaling" + PolicyTypeTargetTrackingScaling PolicyType = "TargetTrackingScaling" ) // Values returns all known values for PolicyType. Note that this can be expanded @@ -90,9 +90,9 @@ type PredictiveScalingMaxCapacityBehavior string // Enum values for PredictiveScalingMaxCapacityBehavior const ( - PredictiveScalingMaxCapacityBehaviorSetforecastcapacitytomaxcapacity PredictiveScalingMaxCapacityBehavior = "SetForecastCapacityToMaxCapacity" - PredictiveScalingMaxCapacityBehaviorSetmaxcapacitytoforecastcapacity PredictiveScalingMaxCapacityBehavior = "SetMaxCapacityToForecastCapacity" - PredictiveScalingMaxCapacityBehaviorSetmaxcapacityaboveforecastcapacity PredictiveScalingMaxCapacityBehavior = "SetMaxCapacityAboveForecastCapacity" + PredictiveScalingMaxCapacityBehaviorSetForecastCapacityToMaxCapacity PredictiveScalingMaxCapacityBehavior = "SetForecastCapacityToMaxCapacity" + PredictiveScalingMaxCapacityBehaviorSetMaxCapacityToForecastCapacity PredictiveScalingMaxCapacityBehavior = "SetMaxCapacityToForecastCapacity" + PredictiveScalingMaxCapacityBehaviorSetMaxCapacityAboveForecastCapacity PredictiveScalingMaxCapacityBehavior = "SetMaxCapacityAboveForecastCapacity" ) // Values returns all known values for PredictiveScalingMaxCapacityBehavior. Note @@ -111,8 +111,8 @@ type PredictiveScalingMode string // Enum values for PredictiveScalingMode const ( - PredictiveScalingModeForecastandscale PredictiveScalingMode = "ForecastAndScale" - PredictiveScalingModeForecastonly PredictiveScalingMode = "ForecastOnly" + PredictiveScalingModeForecastAndScale PredictiveScalingMode = "ForecastAndScale" + PredictiveScalingModeForecastOnly PredictiveScalingMode = "ForecastOnly" ) // Values returns all known values for PredictiveScalingMode. Note that this can be @@ -129,14 +129,14 @@ type ScalableDimension string // Enum values for ScalableDimension const ( - ScalableDimensionAutoscalinggroupdesiredcapacity ScalableDimension = "autoscaling:autoScalingGroup:DesiredCapacity" - ScalableDimensionEcsservicedesiredcount ScalableDimension = "ecs:service:DesiredCount" - ScalableDimensionEc2spotfleetrequesttargetcapacity ScalableDimension = "ec2:spot-fleet-request:TargetCapacity" - ScalableDimensionRdsclusterreadreplicacount ScalableDimension = "rds:cluster:ReadReplicaCount" - ScalableDimensionDynamodbtablereadcapacityunits ScalableDimension = "dynamodb:table:ReadCapacityUnits" - ScalableDimensionDynamodbtablewritecapacityunits ScalableDimension = "dynamodb:table:WriteCapacityUnits" - ScalableDimensionDynamodbindexreadcapacityunits ScalableDimension = "dynamodb:index:ReadCapacityUnits" - ScalableDimensionDynamodbindexwritecapacityunits ScalableDimension = "dynamodb:index:WriteCapacityUnits" + ScalableDimensionAutoScalingGroupDesiredCapacity ScalableDimension = "autoscaling:autoScalingGroup:DesiredCapacity" + ScalableDimensionECSServiceDesiredCount ScalableDimension = "ecs:service:DesiredCount" + ScalableDimensionEC2SpotFleetRequestTargetCapacity ScalableDimension = "ec2:spot-fleet-request:TargetCapacity" + ScalableDimensionRDSClusterReadReplicaCount ScalableDimension = "rds:cluster:ReadReplicaCount" + ScalableDimensionDynamoDBTableReadCapacityUnits ScalableDimension = "dynamodb:table:ReadCapacityUnits" + ScalableDimensionDynamoDBTableWriteCapacityUnits ScalableDimension = "dynamodb:table:WriteCapacityUnits" + ScalableDimensionDynamoDBIndexReadCapacityUnits ScalableDimension = "dynamodb:index:ReadCapacityUnits" + ScalableDimensionDynamoDBIndexWriteCapacityUnits ScalableDimension = "dynamodb:index:WriteCapacityUnits" ) // Values returns all known values for ScalableDimension. Note that this can be @@ -159,19 +159,19 @@ type ScalingMetricType string // Enum values for ScalingMetricType const ( - ScalingMetricTypeAsgaveragecpuutilization ScalingMetricType = "ASGAverageCPUUtilization" - ScalingMetricTypeAsgaveragenetworkin ScalingMetricType = "ASGAverageNetworkIn" - ScalingMetricTypeAsgaveragenetworkout ScalingMetricType = "ASGAverageNetworkOut" - ScalingMetricTypeDynamodbreadcapacityutilization ScalingMetricType = "DynamoDBReadCapacityUtilization" - ScalingMetricTypeDynamodbwritecapacityutilization ScalingMetricType = "DynamoDBWriteCapacityUtilization" - ScalingMetricTypeEcsserviceaveragecpuutilization ScalingMetricType = "ECSServiceAverageCPUUtilization" - ScalingMetricTypeEcsserviceaveragememoryutilization ScalingMetricType = "ECSServiceAverageMemoryUtilization" - ScalingMetricTypeAlbrequestcountpertarget ScalingMetricType = "ALBRequestCountPerTarget" - ScalingMetricTypeRdsreaderaveragecpuutilization ScalingMetricType = "RDSReaderAverageCPUUtilization" - ScalingMetricTypeRdsreaderaveragedatabaseconnections ScalingMetricType = "RDSReaderAverageDatabaseConnections" - ScalingMetricTypeEc2spotfleetrequestaveragecpuutilization ScalingMetricType = "EC2SpotFleetRequestAverageCPUUtilization" - ScalingMetricTypeEc2spotfleetrequestaveragenetworkin ScalingMetricType = "EC2SpotFleetRequestAverageNetworkIn" - ScalingMetricTypeEc2spotfleetrequestaveragenetworkout ScalingMetricType = "EC2SpotFleetRequestAverageNetworkOut" + ScalingMetricTypeASGAverageCPUUtilization ScalingMetricType = "ASGAverageCPUUtilization" + ScalingMetricTypeASGAverageNetworkIn ScalingMetricType = "ASGAverageNetworkIn" + ScalingMetricTypeASGAverageNetworkOut ScalingMetricType = "ASGAverageNetworkOut" + ScalingMetricTypeDynamoDBReadCapacityUtilization ScalingMetricType = "DynamoDBReadCapacityUtilization" + ScalingMetricTypeDynamoDBWriteCapacityUtilization ScalingMetricType = "DynamoDBWriteCapacityUtilization" + ScalingMetricTypeECSServiceAverageCPUUtilization ScalingMetricType = "ECSServiceAverageCPUUtilization" + ScalingMetricTypeECSServiceAverageMemoryUtilization ScalingMetricType = "ECSServiceAverageMemoryUtilization" + ScalingMetricTypeALBRequestCountPerTarget ScalingMetricType = "ALBRequestCountPerTarget" + ScalingMetricTypeRDSReaderAverageCPUUtilization ScalingMetricType = "RDSReaderAverageCPUUtilization" + ScalingMetricTypeRDSReaderAverageDatabaseConnections ScalingMetricType = "RDSReaderAverageDatabaseConnections" + ScalingMetricTypeEC2SpotFleetRequestAverageCPUUtilization ScalingMetricType = "EC2SpotFleetRequestAverageCPUUtilization" + ScalingMetricTypeEC2SpotFleetRequestAverageNetworkIn ScalingMetricType = "EC2SpotFleetRequestAverageNetworkIn" + ScalingMetricTypeEC2SpotFleetRequestAverageNetworkOut ScalingMetricType = "EC2SpotFleetRequestAverageNetworkOut" ) // Values returns all known values for ScalingMetricType. Note that this can be @@ -200,13 +200,13 @@ type ScalingPlanStatusCode string // Enum values for ScalingPlanStatusCode const ( ScalingPlanStatusCodeActive ScalingPlanStatusCode = "Active" - ScalingPlanStatusCodeActivewithproblems ScalingPlanStatusCode = "ActiveWithProblems" - ScalingPlanStatusCodeCreationinprogress ScalingPlanStatusCode = "CreationInProgress" - ScalingPlanStatusCodeCreationfailed ScalingPlanStatusCode = "CreationFailed" - ScalingPlanStatusCodeDeletioninprogress ScalingPlanStatusCode = "DeletionInProgress" - ScalingPlanStatusCodeDeletionfailed ScalingPlanStatusCode = "DeletionFailed" - ScalingPlanStatusCodeUpdateinprogress ScalingPlanStatusCode = "UpdateInProgress" - ScalingPlanStatusCodeUpdatefailed ScalingPlanStatusCode = "UpdateFailed" + ScalingPlanStatusCodeActiveWithProblems ScalingPlanStatusCode = "ActiveWithProblems" + ScalingPlanStatusCodeCreationInProgress ScalingPlanStatusCode = "CreationInProgress" + ScalingPlanStatusCodeCreationFailed ScalingPlanStatusCode = "CreationFailed" + ScalingPlanStatusCodeDeletionInProgress ScalingPlanStatusCode = "DeletionInProgress" + ScalingPlanStatusCodeDeletionFailed ScalingPlanStatusCode = "DeletionFailed" + ScalingPlanStatusCodeUpdateInProgress ScalingPlanStatusCode = "UpdateInProgress" + ScalingPlanStatusCodeUpdateFailed ScalingPlanStatusCode = "UpdateFailed" ) // Values returns all known values for ScalingPlanStatusCode. Note that this can be @@ -229,8 +229,8 @@ type ScalingPolicyUpdateBehavior string // Enum values for ScalingPolicyUpdateBehavior const ( - ScalingPolicyUpdateBehaviorKeepexternalpolicies ScalingPolicyUpdateBehavior = "KeepExternalPolicies" - ScalingPolicyUpdateBehaviorReplaceexternalpolicies ScalingPolicyUpdateBehavior = "ReplaceExternalPolicies" + ScalingPolicyUpdateBehaviorKeepExternalPolicies ScalingPolicyUpdateBehavior = "KeepExternalPolicies" + ScalingPolicyUpdateBehaviorReplaceExternalPolicies ScalingPolicyUpdateBehavior = "ReplaceExternalPolicies" ) // Values returns all known values for ScalingPolicyUpdateBehavior. Note that this @@ -248,7 +248,7 @@ type ScalingStatusCode string // Enum values for ScalingStatusCode const ( ScalingStatusCodeInactive ScalingStatusCode = "Inactive" - ScalingStatusCodePartiallyactive ScalingStatusCode = "PartiallyActive" + ScalingStatusCodePartiallyActive ScalingStatusCode = "PartiallyActive" ScalingStatusCodeActive ScalingStatusCode = "Active" ) diff --git a/service/backup/api_client.go b/service/backup/api_client.go index 200ae4a8f90..4817facdac3 100644 --- a/service/backup/api_client.go +++ b/service/backup/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/batch/api_client.go b/service/batch/api_client.go index 21831cabe22..fb4ab2f45fb 100644 --- a/service/batch/api_client.go +++ b/service/batch/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/braket/api_client.go b/service/braket/api_client.go index beede6b7fc6..254373c96d4 100644 --- a/service/braket/api_client.go +++ b/service/braket/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/budgets/api_client.go b/service/budgets/api_client.go index 0eecaf4bf7d..bcadbbb00f6 100644 --- a/service/budgets/api_client.go +++ b/service/budgets/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/budgets/types/enums.go b/service/budgets/types/enums.go index 709b46194d1..d4207c56b9d 100644 --- a/service/budgets/types/enums.go +++ b/service/budgets/types/enums.go @@ -98,10 +98,10 @@ type BudgetType string const ( BudgetTypeUsage BudgetType = "USAGE" BudgetTypeCost BudgetType = "COST" - BudgetTypeRiutilization BudgetType = "RI_UTILIZATION" - BudgetTypeRicoverage BudgetType = "RI_COVERAGE" - BudgetTypeSputilization BudgetType = "SAVINGS_PLANS_UTILIZATION" - BudgetTypeSpcoverage BudgetType = "SAVINGS_PLANS_COVERAGE" + BudgetTypeRIUtilization BudgetType = "RI_UTILIZATION" + BudgetTypeRICoverage BudgetType = "RI_COVERAGE" + BudgetTypeSPUtilization BudgetType = "SAVINGS_PLANS_UTILIZATION" + BudgetTypeSPCoverage BudgetType = "SAVINGS_PLANS_COVERAGE" ) // Values returns all known values for BudgetType. Note that this can be expanded @@ -143,10 +143,10 @@ type EventType string // Enum values for EventType const ( EventTypeSystem EventType = "SYSTEM" - EventTypeCreateaction EventType = "CREATE_ACTION" - EventTypeDeleteaction EventType = "DELETE_ACTION" - EventTypeUpdateaction EventType = "UPDATE_ACTION" - EventTypeExecuteaction EventType = "EXECUTE_ACTION" + EventTypeCreateAction EventType = "CREATE_ACTION" + EventTypeDeleteAction EventType = "DELETE_ACTION" + EventTypeUpdateAction EventType = "UPDATE_ACTION" + EventTypeExecuteAction EventType = "EXECUTE_ACTION" ) // Values returns all known values for EventType. Note that this can be expanded in @@ -166,10 +166,10 @@ type ExecutionType string // Enum values for ExecutionType const ( - ExecutionTypeApprovebudgetaction ExecutionType = "APPROVE_BUDGET_ACTION" - ExecutionTypeRetrybudgetaction ExecutionType = "RETRY_BUDGET_ACTION" - ExecutionTypeReversebudgetaction ExecutionType = "REVERSE_BUDGET_ACTION" - ExecutionTypeResetbudgetaction ExecutionType = "RESET_BUDGET_ACTION" + ExecutionTypeApproveBudgetAction ExecutionType = "APPROVE_BUDGET_ACTION" + ExecutionTypeRetryBudgetAction ExecutionType = "RETRY_BUDGET_ACTION" + ExecutionTypeReverseBudgetAction ExecutionType = "REVERSE_BUDGET_ACTION" + ExecutionTypeResetBudgetAction ExecutionType = "RESET_BUDGET_ACTION" ) // Values returns all known values for ExecutionType. Note that this can be diff --git a/service/chime/api_client.go b/service/chime/api_client.go index 373d4ed7fc5..889435cc422 100644 --- a/service/chime/api_client.go +++ b/service/chime/api_client.go @@ -96,6 +96,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/chime/types/enums.go b/service/chime/types/enums.go index 444ce81cd71..a79c8572562 100644 --- a/service/chime/types/enums.go +++ b/service/chime/types/enums.go @@ -7,9 +7,9 @@ type AccountType string // Enum values for AccountType const ( AccountTypeTeam AccountType = "Team" - AccountTypeEnterprisedirectory AccountType = "EnterpriseDirectory" - AccountTypeEnterpriselwa AccountType = "EnterpriseLWA" - AccountTypeEnterpriseoidc AccountType = "EnterpriseOIDC" + AccountTypeEnterpriseDirectory AccountType = "EnterpriseDirectory" + AccountTypeEnterpriseLWA AccountType = "EnterpriseLWA" + AccountTypeEnterpriseOIDC AccountType = "EnterpriseOIDC" ) // Values returns all known values for AccountType. Note that this can be expanded @@ -29,7 +29,7 @@ type AppInstanceDataType string // Enum values for AppInstanceDataType const ( AppInstanceDataTypeChannel AppInstanceDataType = "Channel" - AppInstanceDataTypeChannelmessage AppInstanceDataType = "ChannelMessage" + AppInstanceDataTypeChannelMessage AppInstanceDataType = "ChannelMessage" ) // Values returns all known values for AppInstanceDataType. Note that this can be @@ -46,7 +46,7 @@ type BotType string // Enum values for BotType const ( - BotTypeChatbot BotType = "ChatBot" + BotTypeChatBot BotType = "ChatBot" ) // Values returns all known values for BotType. Note that this can be expanded in @@ -63,9 +63,9 @@ type CallingNameStatus string // Enum values for CallingNameStatus const ( CallingNameStatusUnassigned CallingNameStatus = "Unassigned" - CallingNameStatusUpdateinprogress CallingNameStatus = "UpdateInProgress" - CallingNameStatusUpdatesucceeded CallingNameStatus = "UpdateSucceeded" - CallingNameStatusUpdatefailed CallingNameStatus = "UpdateFailed" + CallingNameStatusUpdateInProgress CallingNameStatus = "UpdateInProgress" + CallingNameStatusUpdateSucceeded CallingNameStatus = "UpdateSucceeded" + CallingNameStatusUpdateFailed CallingNameStatus = "UpdateFailed" ) // Values returns all known values for CallingNameStatus. Note that this can be @@ -193,7 +193,7 @@ type EmailStatus string // Enum values for EmailStatus const ( - EmailStatusNotsent EmailStatus = "NotSent" + EmailStatusNotSent EmailStatus = "NotSent" EmailStatusSent EmailStatus = "Sent" EmailStatusFailed EmailStatus = "Failed" ) @@ -213,21 +213,21 @@ type ErrorCode string // Enum values for ErrorCode const ( - ErrorCodeBadrequest ErrorCode = "BadRequest" + ErrorCodeBadRequest ErrorCode = "BadRequest" ErrorCodeConflict ErrorCode = "Conflict" ErrorCodeForbidden ErrorCode = "Forbidden" - ErrorCodeNotfound ErrorCode = "NotFound" - ErrorCodePreconditionfailed ErrorCode = "PreconditionFailed" - ErrorCodeResourcelimitexceeded ErrorCode = "ResourceLimitExceeded" - ErrorCodeServicefailure ErrorCode = "ServiceFailure" - ErrorCodeAccessdenied ErrorCode = "AccessDenied" - ErrorCodeServiceunavailable ErrorCode = "ServiceUnavailable" + ErrorCodeNotFound ErrorCode = "NotFound" + ErrorCodePreconditionFailed ErrorCode = "PreconditionFailed" + ErrorCodeResourceLimitExceeded ErrorCode = "ResourceLimitExceeded" + ErrorCodeServiceFailure ErrorCode = "ServiceFailure" + ErrorCodeAccessDenied ErrorCode = "AccessDenied" + ErrorCodeServiceUnavailable ErrorCode = "ServiceUnavailable" ErrorCodeThrottled ErrorCode = "Throttled" ErrorCodeThrottling ErrorCode = "Throttling" ErrorCodeUnauthorized ErrorCode = "Unauthorized" ErrorCodeUnprocessable ErrorCode = "Unprocessable" - ErrorCodeVoiceconnectorgroupassociationsexist ErrorCode = "VoiceConnectorGroupAssociationsExist" - ErrorCodePhonenumberassociationsexist ErrorCode = "PhoneNumberAssociationsExist" + ErrorCodeVoiceConnectorGroupAssociationsExist ErrorCode = "VoiceConnectorGroupAssociationsExist" + ErrorCodePhoneNumberAssociationsExist ErrorCode = "PhoneNumberAssociationsExist" ) // Values returns all known values for ErrorCode. Note that this can be expanded in @@ -258,7 +258,7 @@ type GeoMatchLevel string // Enum values for GeoMatchLevel const ( GeoMatchLevelCountry GeoMatchLevel = "Country" - GeoMatchLevelAreacode GeoMatchLevel = "AreaCode" + GeoMatchLevelAreaCode GeoMatchLevel = "AreaCode" ) // Values returns all known values for GeoMatchLevel. Note that this can be @@ -298,7 +298,7 @@ const ( LicenseBasic License = "Basic" LicensePlus License = "Plus" LicensePro License = "Pro" - LicenseProtrial License = "ProTrial" + LicenseProTrial License = "ProTrial" ) // Values returns all known values for License. Note that this can be expanded in @@ -337,7 +337,7 @@ type NotificationTarget string // Enum values for NotificationTarget const ( - NotificationTargetEventbridge NotificationTarget = "EventBridge" + NotificationTargetEventBridge NotificationTarget = "EventBridge" NotificationTargetSns NotificationTarget = "SNS" NotificationTargetSqs NotificationTarget = "SQS" ) @@ -357,8 +357,8 @@ type NumberSelectionBehavior string // Enum values for NumberSelectionBehavior const ( - NumberSelectionBehaviorPrefersticky NumberSelectionBehavior = "PreferSticky" - NumberSelectionBehaviorAvoidsticky NumberSelectionBehavior = "AvoidSticky" + NumberSelectionBehaviorPreferSticky NumberSelectionBehavior = "PreferSticky" + NumberSelectionBehaviorAvoidSticky NumberSelectionBehavior = "AvoidSticky" ) // Values returns all known values for NumberSelectionBehavior. Note that this can @@ -413,11 +413,11 @@ type PhoneNumberAssociationName string // Enum values for PhoneNumberAssociationName const ( - PhoneNumberAssociationNameAccountid PhoneNumberAssociationName = "AccountId" - PhoneNumberAssociationNameUserid PhoneNumberAssociationName = "UserId" - PhoneNumberAssociationNameVoiceconnectorid PhoneNumberAssociationName = "VoiceConnectorId" - PhoneNumberAssociationNameVoiceconnectorgroupid PhoneNumberAssociationName = "VoiceConnectorGroupId" - PhoneNumberAssociationNameSipruleid PhoneNumberAssociationName = "SipRuleId" + PhoneNumberAssociationNameAccountId PhoneNumberAssociationName = "AccountId" + PhoneNumberAssociationNameUserId PhoneNumberAssociationName = "UserId" + PhoneNumberAssociationNameVoiceConnectorId PhoneNumberAssociationName = "VoiceConnectorId" + PhoneNumberAssociationNameVoiceConnectorGroupId PhoneNumberAssociationName = "VoiceConnectorGroupId" + PhoneNumberAssociationNameSipRuleId PhoneNumberAssociationName = "SipRuleId" ) // Values returns all known values for PhoneNumberAssociationName. Note that this @@ -459,8 +459,8 @@ type PhoneNumberProductType string // Enum values for PhoneNumberProductType const ( - PhoneNumberProductTypeBusinesscalling PhoneNumberProductType = "BusinessCalling" - PhoneNumberProductTypeVoiceconnector PhoneNumberProductType = "VoiceConnector" + PhoneNumberProductTypeBusinessCalling PhoneNumberProductType = "BusinessCalling" + PhoneNumberProductTypeVoiceConnector PhoneNumberProductType = "VoiceConnector" ) // Values returns all known values for PhoneNumberProductType. Note that this can @@ -477,14 +477,14 @@ type PhoneNumberStatus string // Enum values for PhoneNumberStatus const ( - PhoneNumberStatusAcquireinprogress PhoneNumberStatus = "AcquireInProgress" - PhoneNumberStatusAcquirefailed PhoneNumberStatus = "AcquireFailed" + PhoneNumberStatusAcquireInProgress PhoneNumberStatus = "AcquireInProgress" + PhoneNumberStatusAcquireFailed PhoneNumberStatus = "AcquireFailed" PhoneNumberStatusUnassigned PhoneNumberStatus = "Unassigned" PhoneNumberStatusAssigned PhoneNumberStatus = "Assigned" - PhoneNumberStatusReleaseinprogress PhoneNumberStatus = "ReleaseInProgress" - PhoneNumberStatusDeleteinprogress PhoneNumberStatus = "DeleteInProgress" - PhoneNumberStatusReleasefailed PhoneNumberStatus = "ReleaseFailed" - PhoneNumberStatusDeletefailed PhoneNumberStatus = "DeleteFailed" + PhoneNumberStatusReleaseInProgress PhoneNumberStatus = "ReleaseInProgress" + PhoneNumberStatusDeleteInProgress PhoneNumberStatus = "DeleteInProgress" + PhoneNumberStatusReleaseFailed PhoneNumberStatus = "ReleaseFailed" + PhoneNumberStatusDeleteFailed PhoneNumberStatus = "DeleteFailed" ) // Values returns all known values for PhoneNumberStatus. Note that this can be @@ -508,7 +508,7 @@ type PhoneNumberType string // Enum values for PhoneNumberType const ( PhoneNumberTypeLocal PhoneNumberType = "Local" - PhoneNumberTypeTollfree PhoneNumberType = "TollFree" + PhoneNumberTypeTollFree PhoneNumberType = "TollFree" ) // Values returns all known values for PhoneNumberType. Note that this can be @@ -526,7 +526,7 @@ type ProxySessionStatus string // Enum values for ProxySessionStatus const ( ProxySessionStatusOpen ProxySessionStatus = "Open" - ProxySessionStatusInprogress ProxySessionStatus = "InProgress" + ProxySessionStatusInProgress ProxySessionStatus = "InProgress" ProxySessionStatusClosed ProxySessionStatus = "Closed" ) @@ -583,8 +583,8 @@ type SipRuleTriggerType string // Enum values for SipRuleTriggerType const ( - SipRuleTriggerTypeTophonenumber SipRuleTriggerType = "ToPhoneNumber" - SipRuleTriggerTypeRequesturihostname SipRuleTriggerType = "RequestUriHostname" + SipRuleTriggerTypeToPhoneNumber SipRuleTriggerType = "ToPhoneNumber" + SipRuleTriggerTypeRequestUriHostname SipRuleTriggerType = "RequestUriHostname" ) // Values returns all known values for SipRuleTriggerType. Note that this can be @@ -619,8 +619,8 @@ type UserType string // Enum values for UserType const ( - UserTypePrivateuser UserType = "PrivateUser" - UserTypeShareddevice UserType = "SharedDevice" + UserTypePrivateUser UserType = "PrivateUser" + UserTypeSharedDevice UserType = "SharedDevice" ) // Values returns all known values for UserType. Note that this can be expanded in diff --git a/service/cloud9/api_client.go b/service/cloud9/api_client.go index 8417cd109ab..7beb466c23a 100644 --- a/service/cloud9/api_client.go +++ b/service/cloud9/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/clouddirectory/api_client.go b/service/clouddirectory/api_client.go index 1d291cea296..52249ee3448 100644 --- a/service/clouddirectory/api_client.go +++ b/service/clouddirectory/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/clouddirectory/types/enums.go b/service/clouddirectory/types/enums.go index b34e007f601..ec9f578e979 100644 --- a/service/clouddirectory/types/enums.go +++ b/service/clouddirectory/types/enums.go @@ -6,19 +6,19 @@ type BatchReadExceptionType string // Enum values for BatchReadExceptionType const ( - BatchReadExceptionTypeValidationexception BatchReadExceptionType = "ValidationException" - BatchReadExceptionTypeInvalidarnexception BatchReadExceptionType = "InvalidArnException" - BatchReadExceptionTypeResourcenotfoundexception BatchReadExceptionType = "ResourceNotFoundException" - BatchReadExceptionTypeInvalidnexttokenexception BatchReadExceptionType = "InvalidNextTokenException" - BatchReadExceptionTypeAccessdeniedexception BatchReadExceptionType = "AccessDeniedException" - BatchReadExceptionTypeNotnodeexception BatchReadExceptionType = "NotNodeException" - BatchReadExceptionTypeFacetvalidationexception BatchReadExceptionType = "FacetValidationException" - BatchReadExceptionTypeCannotlistparentofrootexception BatchReadExceptionType = "CannotListParentOfRootException" - BatchReadExceptionTypeNotindexexception BatchReadExceptionType = "NotIndexException" - BatchReadExceptionTypeNotpolicyexception BatchReadExceptionType = "NotPolicyException" - BatchReadExceptionTypeDirectorynotenabledexception BatchReadExceptionType = "DirectoryNotEnabledException" - BatchReadExceptionTypeLimitexceededexception BatchReadExceptionType = "LimitExceededException" - BatchReadExceptionTypeInternalserviceexception BatchReadExceptionType = "InternalServiceException" + BatchReadExceptionTypeValidationException BatchReadExceptionType = "ValidationException" + BatchReadExceptionTypeInvalidArnException BatchReadExceptionType = "InvalidArnException" + BatchReadExceptionTypeResourceNotFoundException BatchReadExceptionType = "ResourceNotFoundException" + BatchReadExceptionTypeInvalidNextTokenException BatchReadExceptionType = "InvalidNextTokenException" + BatchReadExceptionTypeAccessDeniedException BatchReadExceptionType = "AccessDeniedException" + BatchReadExceptionTypeNotNodeException BatchReadExceptionType = "NotNodeException" + BatchReadExceptionTypeFacetValidationException BatchReadExceptionType = "FacetValidationException" + BatchReadExceptionTypeCannotListParentOfRootException BatchReadExceptionType = "CannotListParentOfRootException" + BatchReadExceptionTypeNotIndexException BatchReadExceptionType = "NotIndexException" + BatchReadExceptionTypeNotPolicyException BatchReadExceptionType = "NotPolicyException" + BatchReadExceptionTypeDirectoryNotEnabledException BatchReadExceptionType = "DirectoryNotEnabledException" + BatchReadExceptionTypeLimitExceededException BatchReadExceptionType = "LimitExceededException" + BatchReadExceptionTypeInternalServiceException BatchReadExceptionType = "InternalServiceException" ) // Values returns all known values for BatchReadExceptionType. Note that this can @@ -46,24 +46,24 @@ type BatchWriteExceptionType string // Enum values for BatchWriteExceptionType const ( - BatchWriteExceptionTypeInternalserviceexception BatchWriteExceptionType = "InternalServiceException" - BatchWriteExceptionTypeValidationexception BatchWriteExceptionType = "ValidationException" - BatchWriteExceptionTypeInvalidarnexception BatchWriteExceptionType = "InvalidArnException" - BatchWriteExceptionTypeLinknamealreadyinuseexception BatchWriteExceptionType = "LinkNameAlreadyInUseException" - BatchWriteExceptionTypeStillcontainslinksexception BatchWriteExceptionType = "StillContainsLinksException" - BatchWriteExceptionTypeFacetvalidationexception BatchWriteExceptionType = "FacetValidationException" - BatchWriteExceptionTypeObjectnotdetachedexception BatchWriteExceptionType = "ObjectNotDetachedException" - BatchWriteExceptionTypeResourcenotfoundexception BatchWriteExceptionType = "ResourceNotFoundException" - BatchWriteExceptionTypeAccessdeniedexception BatchWriteExceptionType = "AccessDeniedException" - BatchWriteExceptionTypeInvalidattachmentexception BatchWriteExceptionType = "InvalidAttachmentException" - BatchWriteExceptionTypeNotindexexception BatchWriteExceptionType = "NotIndexException" - BatchWriteExceptionTypeNotnodeexception BatchWriteExceptionType = "NotNodeException" - BatchWriteExceptionTypeIndexedattributemissingexception BatchWriteExceptionType = "IndexedAttributeMissingException" - BatchWriteExceptionTypeObjectalreadydetachedexception BatchWriteExceptionType = "ObjectAlreadyDetachedException" - BatchWriteExceptionTypeNotpolicyexception BatchWriteExceptionType = "NotPolicyException" - BatchWriteExceptionTypeDirectorynotenabledexception BatchWriteExceptionType = "DirectoryNotEnabledException" - BatchWriteExceptionTypeLimitexceededexception BatchWriteExceptionType = "LimitExceededException" - BatchWriteExceptionTypeUnsupportedindextypeexception BatchWriteExceptionType = "UnsupportedIndexTypeException" + BatchWriteExceptionTypeInternalServiceException BatchWriteExceptionType = "InternalServiceException" + BatchWriteExceptionTypeValidationException BatchWriteExceptionType = "ValidationException" + BatchWriteExceptionTypeInvalidArnException BatchWriteExceptionType = "InvalidArnException" + BatchWriteExceptionTypeLinkNameAlreadyInUseException BatchWriteExceptionType = "LinkNameAlreadyInUseException" + BatchWriteExceptionTypeStillContainsLinksException BatchWriteExceptionType = "StillContainsLinksException" + BatchWriteExceptionTypeFacetValidationException BatchWriteExceptionType = "FacetValidationException" + BatchWriteExceptionTypeObjectNotDetachedException BatchWriteExceptionType = "ObjectNotDetachedException" + BatchWriteExceptionTypeResourceNotFoundException BatchWriteExceptionType = "ResourceNotFoundException" + BatchWriteExceptionTypeAccessDeniedException BatchWriteExceptionType = "AccessDeniedException" + BatchWriteExceptionTypeInvalidAttachmentException BatchWriteExceptionType = "InvalidAttachmentException" + BatchWriteExceptionTypeNotIndexException BatchWriteExceptionType = "NotIndexException" + BatchWriteExceptionTypeNotNodeException BatchWriteExceptionType = "NotNodeException" + BatchWriteExceptionTypeIndexedAttributeMissingException BatchWriteExceptionType = "IndexedAttributeMissingException" + BatchWriteExceptionTypeObjectAlreadyDetachedException BatchWriteExceptionType = "ObjectAlreadyDetachedException" + BatchWriteExceptionTypeNotPolicyException BatchWriteExceptionType = "NotPolicyException" + BatchWriteExceptionTypeDirectoryNotEnabledException BatchWriteExceptionType = "DirectoryNotEnabledException" + BatchWriteExceptionTypeLimitExceededException BatchWriteExceptionType = "LimitExceededException" + BatchWriteExceptionTypeUnsupportedIndexTypeException BatchWriteExceptionType = "UnsupportedIndexTypeException" ) // Values returns all known values for BatchWriteExceptionType. Note that this can diff --git a/service/cloudformation/api_client.go b/service/cloudformation/api_client.go index 03b16979bec..4cca94a2806 100644 --- a/service/cloudformation/api_client.go +++ b/service/cloudformation/api_client.go @@ -96,6 +96,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/cloudformation/types/enums.go b/service/cloudformation/types/enums.go index a54f47b9959..d915cbfe092 100644 --- a/service/cloudformation/types/enums.go +++ b/service/cloudformation/types/enums.go @@ -120,10 +120,10 @@ type ChangeSource string // Enum values for ChangeSource const ( - ChangeSourceResourcereference ChangeSource = "ResourceReference" - ChangeSourceParameterreference ChangeSource = "ParameterReference" - ChangeSourceResourceattribute ChangeSource = "ResourceAttribute" - ChangeSourceDirectmodification ChangeSource = "DirectModification" + ChangeSourceResourceReference ChangeSource = "ResourceReference" + ChangeSourceParameterReference ChangeSource = "ParameterReference" + ChangeSourceResourceAttribute ChangeSource = "ResourceAttribute" + ChangeSourceDirectModification ChangeSource = "DirectModification" ChangeSourceAutomatic ChangeSource = "Automatic" ) @@ -242,20 +242,20 @@ type HandlerErrorCode string // Enum values for HandlerErrorCode const ( - HandlerErrorCodeNotupdatable HandlerErrorCode = "NotUpdatable" - HandlerErrorCodeInvalidrequest HandlerErrorCode = "InvalidRequest" - HandlerErrorCodeAccessdenied HandlerErrorCode = "AccessDenied" - HandlerErrorCodeInvalidcredentials HandlerErrorCode = "InvalidCredentials" - HandlerErrorCodeAlreadyexists HandlerErrorCode = "AlreadyExists" - HandlerErrorCodeNotfound HandlerErrorCode = "NotFound" - HandlerErrorCodeResourceconflict HandlerErrorCode = "ResourceConflict" + HandlerErrorCodeNotUpdatable HandlerErrorCode = "NotUpdatable" + HandlerErrorCodeInvalidRequest HandlerErrorCode = "InvalidRequest" + HandlerErrorCodeAccessDenied HandlerErrorCode = "AccessDenied" + HandlerErrorCodeInvalidCredentials HandlerErrorCode = "InvalidCredentials" + HandlerErrorCodeAlreadyExists HandlerErrorCode = "AlreadyExists" + HandlerErrorCodeNotFound HandlerErrorCode = "NotFound" + HandlerErrorCodeResourceConflict HandlerErrorCode = "ResourceConflict" HandlerErrorCodeThrottling HandlerErrorCode = "Throttling" - HandlerErrorCodeServicelimitexceeded HandlerErrorCode = "ServiceLimitExceeded" - HandlerErrorCodeServicetimeout HandlerErrorCode = "NotStabilized" - HandlerErrorCodeGeneralserviceexception HandlerErrorCode = "GeneralServiceException" - HandlerErrorCodeServiceinternalerror HandlerErrorCode = "ServiceInternalError" - HandlerErrorCodeNetworkfailure HandlerErrorCode = "NetworkFailure" - HandlerErrorCodeInternalfailure HandlerErrorCode = "InternalFailure" + HandlerErrorCodeServiceLimitExceeded HandlerErrorCode = "ServiceLimitExceeded" + HandlerErrorCodeServiceTimeout HandlerErrorCode = "NotStabilized" + HandlerErrorCodeGeneralServiceException HandlerErrorCode = "GeneralServiceException" + HandlerErrorCodeServiceInternalError HandlerErrorCode = "ServiceInternalError" + HandlerErrorCodeNetworkFailure HandlerErrorCode = "NetworkFailure" + HandlerErrorCodeInternalFailure HandlerErrorCode = "InternalFailure" ) // Values returns all known values for HandlerErrorCode. Note that this can be @@ -444,9 +444,9 @@ type ResourceAttribute string const ( ResourceAttributeProperties ResourceAttribute = "Properties" ResourceAttributeMetadata ResourceAttribute = "Metadata" - ResourceAttributeCreationpolicy ResourceAttribute = "CreationPolicy" - ResourceAttributeUpdatepolicy ResourceAttribute = "UpdatePolicy" - ResourceAttributeDeletionpolicy ResourceAttribute = "DeletionPolicy" + ResourceAttributeCreationPolicy ResourceAttribute = "CreationPolicy" + ResourceAttributeUpdatePolicy ResourceAttribute = "UpdatePolicy" + ResourceAttributeDeletionPolicy ResourceAttribute = "DeletionPolicy" ResourceAttributeTags ResourceAttribute = "Tags" ) diff --git a/service/cloudfront/api_client.go b/service/cloudfront/api_client.go index 33402547d56..62b3d4643cc 100644 --- a/service/cloudfront/api_client.go +++ b/service/cloudfront/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/cloudfront/types/enums.go b/service/cloudfront/types/enums.go index 95137e7a8a8..2a0d202440e 100644 --- a/service/cloudfront/types/enums.go +++ b/service/cloudfront/types/enums.go @@ -8,7 +8,7 @@ type CachePolicyCookieBehavior string const ( CachePolicyCookieBehaviorNone CachePolicyCookieBehavior = "none" CachePolicyCookieBehaviorWhitelist CachePolicyCookieBehavior = "whitelist" - CachePolicyCookieBehaviorAllexcept CachePolicyCookieBehavior = "allExcept" + CachePolicyCookieBehaviorAllExcept CachePolicyCookieBehavior = "allExcept" CachePolicyCookieBehaviorAll CachePolicyCookieBehavior = "all" ) @@ -48,7 +48,7 @@ type CachePolicyQueryStringBehavior string const ( CachePolicyQueryStringBehaviorNone CachePolicyQueryStringBehavior = "none" CachePolicyQueryStringBehaviorWhitelist CachePolicyQueryStringBehavior = "whitelist" - CachePolicyQueryStringBehaviorAllexcept CachePolicyQueryStringBehavior = "allExcept" + CachePolicyQueryStringBehaviorAllExcept CachePolicyQueryStringBehavior = "allExcept" CachePolicyQueryStringBehaviorAll CachePolicyQueryStringBehavior = "all" ) @@ -129,7 +129,7 @@ type Format string // Enum values for Format const ( - FormatUrlencoded Format = "URLEncoded" + FormatURLEncoded Format = "URLEncoded" ) // Values returns all known values for Format. Note that this can be expanded in @@ -251,12 +251,12 @@ type MinimumProtocolVersion string // Enum values for MinimumProtocolVersion const ( - MinimumProtocolVersionSslv3 MinimumProtocolVersion = "SSLv3" - MinimumProtocolVersionTlsv1 MinimumProtocolVersion = "TLSv1" - MinimumProtocolVersionTlsv12016 MinimumProtocolVersion = "TLSv1_2016" - MinimumProtocolVersionTlsv112016 MinimumProtocolVersion = "TLSv1.1_2016" - MinimumProtocolVersionTlsv122018 MinimumProtocolVersion = "TLSv1.2_2018" - MinimumProtocolVersionTlsv122019 MinimumProtocolVersion = "TLSv1.2_2019" + MinimumProtocolVersionSSLv3 MinimumProtocolVersion = "SSLv3" + MinimumProtocolVersionTLSv1 MinimumProtocolVersion = "TLSv1" + MinimumProtocolVersionTLSv12016 MinimumProtocolVersion = "TLSv1_2016" + MinimumProtocolVersionTLSv112016 MinimumProtocolVersion = "TLSv1.1_2016" + MinimumProtocolVersionTLSv122018 MinimumProtocolVersion = "TLSv1.2_2018" + MinimumProtocolVersionTLSv122019 MinimumProtocolVersion = "TLSv1.2_2019" ) // Values returns all known values for MinimumProtocolVersion. Note that this can @@ -320,8 +320,8 @@ type OriginRequestPolicyHeaderBehavior string const ( OriginRequestPolicyHeaderBehaviorNone OriginRequestPolicyHeaderBehavior = "none" OriginRequestPolicyHeaderBehaviorWhitelist OriginRequestPolicyHeaderBehavior = "whitelist" - OriginRequestPolicyHeaderBehaviorAllviewer OriginRequestPolicyHeaderBehavior = "allViewer" - OriginRequestPolicyHeaderBehaviorAllviewerandwhitelistcloudfront OriginRequestPolicyHeaderBehavior = "allViewerAndWhitelistCloudFront" + OriginRequestPolicyHeaderBehaviorAllViewer OriginRequestPolicyHeaderBehavior = "allViewer" + OriginRequestPolicyHeaderBehaviorAllViewerAndWhitelistCloudFront OriginRequestPolicyHeaderBehavior = "allViewerAndWhitelistCloudFront" ) // Values returns all known values for OriginRequestPolicyHeaderBehavior. Note that @@ -380,9 +380,9 @@ type PriceClass string // Enum values for PriceClass const ( - PriceClassPriceclass100 PriceClass = "PriceClass_100" - PriceClassPriceclass200 PriceClass = "PriceClass_200" - PriceClassPriceclassAll PriceClass = "PriceClass_All" + PriceClassPriceClass100 PriceClass = "PriceClass_100" + PriceClassPriceClass200 PriceClass = "PriceClass_200" + PriceClassPriceClassAll PriceClass = "PriceClass_All" ) // Values returns all known values for PriceClass. Note that this can be expanded @@ -419,10 +419,10 @@ type SslProtocol string // Enum values for SslProtocol const ( - SslProtocolSslv3 SslProtocol = "SSLv3" - SslProtocolTlsv1 SslProtocol = "TLSv1" - SslProtocolTlsv11 SslProtocol = "TLSv1.1" - SslProtocolTlsv12 SslProtocol = "TLSv1.2" + SslProtocolSSLv3 SslProtocol = "SSLv3" + SslProtocolTLSv1 SslProtocol = "TLSv1" + SslProtocolTLSv11 SslProtocol = "TLSv1.1" + SslProtocolTLSv12 SslProtocol = "TLSv1.2" ) // Values returns all known values for SslProtocol. Note that this can be expanded diff --git a/service/cloudhsm/api_client.go b/service/cloudhsm/api_client.go index fae078a2945..57edf7e4a1c 100644 --- a/service/cloudhsm/api_client.go +++ b/service/cloudhsm/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/cloudhsmv2/api_client.go b/service/cloudhsmv2/api_client.go index 6924e91db91..5d7fcad687b 100644 --- a/service/cloudhsmv2/api_client.go +++ b/service/cloudhsmv2/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/cloudsearch/api_client.go b/service/cloudsearch/api_client.go index bc114de7f95..a57df930f83 100644 --- a/service/cloudsearch/api_client.go +++ b/service/cloudsearch/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/cloudsearch/types/enums.go b/service/cloudsearch/types/enums.go index d2129aace04..66cd6da07dd 100644 --- a/service/cloudsearch/types/enums.go +++ b/service/cloudsearch/types/enums.go @@ -148,10 +148,10 @@ type OptionState string // Enum values for OptionState const ( - OptionStateRequiresindexdocuments OptionState = "RequiresIndexDocuments" + OptionStateRequiresIndexDocuments OptionState = "RequiresIndexDocuments" OptionStateProcessing OptionState = "Processing" OptionStateActive OptionState = "Active" - OptionStateFailedtovalidate OptionState = "FailedToValidate" + OptionStateFailedToValidate OptionState = "FailedToValidate" ) // Values returns all known values for OptionState. Note that this can be expanded diff --git a/service/cloudsearchdomain/api_client.go b/service/cloudsearchdomain/api_client.go index aa96d5f537b..36439c37a09 100644 --- a/service/cloudsearchdomain/api_client.go +++ b/service/cloudsearchdomain/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/cloudtrail/api_client.go b/service/cloudtrail/api_client.go index 7ea97a0cd1e..94f71d2700c 100644 --- a/service/cloudtrail/api_client.go +++ b/service/cloudtrail/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/cloudtrail/types/enums.go b/service/cloudtrail/types/enums.go index d53a5502c78..9e9ceb73b42 100644 --- a/service/cloudtrail/types/enums.go +++ b/service/cloudtrail/types/enums.go @@ -22,7 +22,7 @@ type InsightType string // Enum values for InsightType const ( - InsightTypeApicallrateinsight InsightType = "ApiCallRateInsight" + InsightTypeApiCallRateInsight InsightType = "ApiCallRateInsight" ) // Values returns all known values for InsightType. Note that this can be expanded @@ -68,8 +68,8 @@ type ReadWriteType string // Enum values for ReadWriteType const ( - ReadWriteTypeReadonly ReadWriteType = "ReadOnly" - ReadWriteTypeWriteonly ReadWriteType = "WriteOnly" + ReadWriteTypeReadOnly ReadWriteType = "ReadOnly" + ReadWriteTypeWriteOnly ReadWriteType = "WriteOnly" ReadWriteTypeAll ReadWriteType = "All" ) diff --git a/service/cloudwatch/api_client.go b/service/cloudwatch/api_client.go index 9e7984ea802..228c249c528 100644 --- a/service/cloudwatch/api_client.go +++ b/service/cloudwatch/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/cloudwatch/types/enums.go b/service/cloudwatch/types/enums.go index 5a0fc1c6999..22e708abd83 100644 --- a/service/cloudwatch/types/enums.go +++ b/service/cloudwatch/types/enums.go @@ -6,8 +6,8 @@ type AlarmType string // Enum values for AlarmType const ( - AlarmTypeCompositealarm AlarmType = "CompositeAlarm" - AlarmTypeMetricalarm AlarmType = "MetricAlarm" + AlarmTypeCompositeAlarm AlarmType = "CompositeAlarm" + AlarmTypeMetricAlarm AlarmType = "MetricAlarm" ) // Values returns all known values for AlarmType. Note that this can be expanded in @@ -44,13 +44,13 @@ type ComparisonOperator string // Enum values for ComparisonOperator const ( - ComparisonOperatorGreaterthanorequaltothreshold ComparisonOperator = "GreaterThanOrEqualToThreshold" - ComparisonOperatorGreaterthanthreshold ComparisonOperator = "GreaterThanThreshold" - ComparisonOperatorLessthanthreshold ComparisonOperator = "LessThanThreshold" - ComparisonOperatorLessthanorequaltothreshold ComparisonOperator = "LessThanOrEqualToThreshold" - ComparisonOperatorLessthanlowerorgreaterthanupperthreshold ComparisonOperator = "LessThanLowerOrGreaterThanUpperThreshold" - ComparisonOperatorLessthanlowerthreshold ComparisonOperator = "LessThanLowerThreshold" - ComparisonOperatorGreaterthanupperthreshold ComparisonOperator = "GreaterThanUpperThreshold" + ComparisonOperatorGreaterThanOrEqualToThreshold ComparisonOperator = "GreaterThanOrEqualToThreshold" + ComparisonOperatorGreaterThanThreshold ComparisonOperator = "GreaterThanThreshold" + ComparisonOperatorLessThanThreshold ComparisonOperator = "LessThanThreshold" + ComparisonOperatorLessThanOrEqualToThreshold ComparisonOperator = "LessThanOrEqualToThreshold" + ComparisonOperatorLessThanLowerOrGreaterThanUpperThreshold ComparisonOperator = "LessThanLowerOrGreaterThanUpperThreshold" + ComparisonOperatorLessThanLowerThreshold ComparisonOperator = "LessThanLowerThreshold" + ComparisonOperatorGreaterThanUpperThreshold ComparisonOperator = "GreaterThanUpperThreshold" ) // Values returns all known values for ComparisonOperator. Note that this can be @@ -72,8 +72,8 @@ type HistoryItemType string // Enum values for HistoryItemType const ( - HistoryItemTypeConfigurationupdate HistoryItemType = "ConfigurationUpdate" - HistoryItemTypeStateupdate HistoryItemType = "StateUpdate" + HistoryItemTypeConfigurationUpdate HistoryItemType = "ConfigurationUpdate" + HistoryItemTypeStateUpdate HistoryItemType = "StateUpdate" HistoryItemTypeAction HistoryItemType = "Action" ) @@ -214,7 +214,7 @@ type Statistic string // Enum values for Statistic const ( - StatisticSamplecount Statistic = "SampleCount" + StatisticSampleCount Statistic = "SampleCount" StatisticAverage Statistic = "Average" StatisticSum Statistic = "Sum" StatisticMinimum Statistic = "Minimum" diff --git a/service/cloudwatchevents/api_client.go b/service/cloudwatchevents/api_client.go index b599f8080bb..757344ff5a9 100644 --- a/service/cloudwatchevents/api_client.go +++ b/service/cloudwatchevents/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/cloudwatchlogs/api_client.go b/service/cloudwatchlogs/api_client.go index acda0ddf6b1..922aee31070 100644 --- a/service/cloudwatchlogs/api_client.go +++ b/service/cloudwatchlogs/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/cloudwatchlogs/types/enums.go b/service/cloudwatchlogs/types/enums.go index 338eb5bd51f..78601b04c22 100644 --- a/service/cloudwatchlogs/types/enums.go +++ b/service/cloudwatchlogs/types/enums.go @@ -7,7 +7,7 @@ type Distribution string // Enum values for Distribution const ( DistributionRandom Distribution = "Random" - DistributionBylogstream Distribution = "ByLogStream" + DistributionByLogStream Distribution = "ByLogStream" ) // Values returns all known values for Distribution. Note that this can be expanded @@ -50,8 +50,8 @@ type OrderBy string // Enum values for OrderBy const ( - OrderByLogstreamname OrderBy = "LogStreamName" - OrderByLasteventtime OrderBy = "LastEventTime" + OrderByLogStreamName OrderBy = "LogStreamName" + OrderByLastEventTime OrderBy = "LastEventTime" ) // Values returns all known values for OrderBy. Note that this can be expanded in diff --git a/service/codeartifact/api_client.go b/service/codeartifact/api_client.go index e25db9a2641..c85b268477c 100644 --- a/service/codeartifact/api_client.go +++ b/service/codeartifact/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/codebuild/api_client.go b/service/codebuild/api_client.go index ba5c3fd85d1..66f35db4162 100644 --- a/service/codebuild/api_client.go +++ b/service/codebuild/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/codecommit/api_client.go b/service/codecommit/api_client.go index 8872659d755..3156b0c1286 100644 --- a/service/codecommit/api_client.go +++ b/service/codecommit/api_client.go @@ -96,6 +96,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/codedeploy/api_client.go b/service/codedeploy/api_client.go index 630c4177a4e..76646a98465 100644 --- a/service/codedeploy/api_client.go +++ b/service/codedeploy/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/codedeploy/types/enums.go b/service/codedeploy/types/enums.go index 9077774ee36..8e47b3f819a 100644 --- a/service/codedeploy/types/enums.go +++ b/service/codedeploy/types/enums.go @@ -6,9 +6,9 @@ type ApplicationRevisionSortBy string // Enum values for ApplicationRevisionSortBy const ( - ApplicationRevisionSortByRegistertime ApplicationRevisionSortBy = "registerTime" - ApplicationRevisionSortByFirstusedtime ApplicationRevisionSortBy = "firstUsedTime" - ApplicationRevisionSortByLastusedtime ApplicationRevisionSortBy = "lastUsedTime" + ApplicationRevisionSortByRegisterTime ApplicationRevisionSortBy = "registerTime" + ApplicationRevisionSortByFirstUsedTime ApplicationRevisionSortBy = "firstUsedTime" + ApplicationRevisionSortByLastUsedTime ApplicationRevisionSortBy = "lastUsedTime" ) // Values returns all known values for ApplicationRevisionSortBy. Note that this @@ -47,7 +47,7 @@ type BundleType string // Enum values for BundleType const ( BundleTypeTar BundleType = "tar" - BundleTypeTargzip BundleType = "tgz" + BundleTypeTarGZip BundleType = "tgz" BundleTypeZip BundleType = "zip" BundleTypeYaml BundleType = "YAML" BundleTypeJson BundleType = "JSON" @@ -92,10 +92,10 @@ type DeploymentCreator string const ( DeploymentCreatorUser DeploymentCreator = "user" DeploymentCreatorAutoscaling DeploymentCreator = "autoscaling" - DeploymentCreatorCodedeployrollback DeploymentCreator = "codeDeployRollback" - DeploymentCreatorCodedeploy DeploymentCreator = "CodeDeploy" - DeploymentCreatorCloudformation DeploymentCreator = "CloudFormation" - DeploymentCreatorCloudformationrollback DeploymentCreator = "CloudFormationRollback" + DeploymentCreatorCodeDeployRollback DeploymentCreator = "codeDeployRollback" + DeploymentCreatorCodeDeploy DeploymentCreator = "CodeDeploy" + DeploymentCreatorCloudFormation DeploymentCreator = "CloudFormation" + DeploymentCreatorCloudFormationRollback DeploymentCreator = "CloudFormationRollback" ) // Values returns all known values for DeploymentCreator. Note that this can be @@ -553,9 +553,9 @@ type RevisionLocationType string // Enum values for RevisionLocationType const ( RevisionLocationTypeS3 RevisionLocationType = "S3" - RevisionLocationTypeGithub RevisionLocationType = "GitHub" + RevisionLocationTypeGitHub RevisionLocationType = "GitHub" RevisionLocationTypeString RevisionLocationType = "String" - RevisionLocationTypeAppspeccontent RevisionLocationType = "AppSpecContent" + RevisionLocationTypeAppSpecContent RevisionLocationType = "AppSpecContent" ) // Values returns all known values for RevisionLocationType. Note that this can be @@ -694,9 +694,9 @@ type TrafficRoutingType string // Enum values for TrafficRoutingType const ( - TrafficRoutingTypeTimebasedcanary TrafficRoutingType = "TimeBasedCanary" - TrafficRoutingTypeTimebasedlinear TrafficRoutingType = "TimeBasedLinear" - TrafficRoutingTypeAllatonce TrafficRoutingType = "AllAtOnce" + TrafficRoutingTypeTimeBasedCanary TrafficRoutingType = "TimeBasedCanary" + TrafficRoutingTypeTimeBasedLinear TrafficRoutingType = "TimeBasedLinear" + TrafficRoutingTypeAllAtOnce TrafficRoutingType = "AllAtOnce" ) // Values returns all known values for TrafficRoutingType. Note that this can be diff --git a/service/codeguruprofiler/api_client.go b/service/codeguruprofiler/api_client.go index 10dac4bc1da..1b6826f4414 100644 --- a/service/codeguruprofiler/api_client.go +++ b/service/codeguruprofiler/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/codegurureviewer/api_client.go b/service/codegurureviewer/api_client.go index 411fd3b8e0e..d6c40cfc4a4 100644 --- a/service/codegurureviewer/api_client.go +++ b/service/codegurureviewer/api_client.go @@ -97,6 +97,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/codepipeline/api_client.go b/service/codepipeline/api_client.go index efe266b5741..10bd9342259 100644 --- a/service/codepipeline/api_client.go +++ b/service/codepipeline/api_client.go @@ -96,6 +96,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/codepipeline/types/enums.go b/service/codepipeline/types/enums.go index 5c376d3a6f7..23da95593e6 100644 --- a/service/codepipeline/types/enums.go +++ b/service/codepipeline/types/enums.go @@ -53,7 +53,7 @@ type ActionExecutionStatus string // Enum values for ActionExecutionStatus const ( - ActionExecutionStatusInprogress ActionExecutionStatus = "InProgress" + ActionExecutionStatusInProgress ActionExecutionStatus = "InProgress" ActionExecutionStatusAbandoned ActionExecutionStatus = "Abandoned" ActionExecutionStatusSucceeded ActionExecutionStatus = "Succeeded" ActionExecutionStatusFailed ActionExecutionStatus = "Failed" @@ -76,7 +76,7 @@ type ActionOwner string // Enum values for ActionOwner const ( ActionOwnerAws ActionOwner = "AWS" - ActionOwnerThirdparty ActionOwner = "ThirdParty" + ActionOwnerThirdParty ActionOwner = "ThirdParty" ActionOwnerCustom ActionOwner = "Custom" ) @@ -177,12 +177,12 @@ type FailureType string // Enum values for FailureType const ( - FailureTypeJobfailed FailureType = "JobFailed" - FailureTypeConfigurationerror FailureType = "ConfigurationError" - FailureTypePermissionerror FailureType = "PermissionError" - FailureTypeRevisionoutofsync FailureType = "RevisionOutOfSync" - FailureTypeRevisionunavailable FailureType = "RevisionUnavailable" - FailureTypeSystemunavailable FailureType = "SystemUnavailable" + FailureTypeJobFailed FailureType = "JobFailed" + FailureTypeConfigurationError FailureType = "ConfigurationError" + FailureTypePermissionError FailureType = "PermissionError" + FailureTypeRevisionOutOfSync FailureType = "RevisionOutOfSync" + FailureTypeRevisionUnavailable FailureType = "RevisionUnavailable" + FailureTypeSystemUnavailable FailureType = "SystemUnavailable" ) // Values returns all known values for FailureType. Note that this can be expanded @@ -206,8 +206,8 @@ const ( JobStatusCreated JobStatus = "Created" JobStatusQueued JobStatus = "Queued" JobStatusDispatched JobStatus = "Dispatched" - JobStatusInprogress JobStatus = "InProgress" - JobStatusTimedout JobStatus = "TimedOut" + JobStatusInProgress JobStatus = "InProgress" + JobStatusTimedOut JobStatus = "TimedOut" JobStatusSucceeded JobStatus = "Succeeded" JobStatusFailed JobStatus = "Failed" ) @@ -231,7 +231,7 @@ type PipelineExecutionStatus string // Enum values for PipelineExecutionStatus const ( - PipelineExecutionStatusInprogress PipelineExecutionStatus = "InProgress" + PipelineExecutionStatusInProgress PipelineExecutionStatus = "InProgress" PipelineExecutionStatusStopped PipelineExecutionStatus = "Stopped" PipelineExecutionStatusStopping PipelineExecutionStatus = "Stopping" PipelineExecutionStatusSucceeded PipelineExecutionStatus = "Succeeded" @@ -257,7 +257,7 @@ type StageExecutionStatus string // Enum values for StageExecutionStatus const ( - StageExecutionStatusInprogress StageExecutionStatus = "InProgress" + StageExecutionStatusInProgress StageExecutionStatus = "InProgress" StageExecutionStatusFailed StageExecutionStatus = "Failed" StageExecutionStatusStopped StageExecutionStatus = "Stopped" StageExecutionStatusStopping StageExecutionStatus = "Stopping" @@ -315,12 +315,12 @@ type TriggerType string // Enum values for TriggerType const ( - TriggerTypeCreatepipeline TriggerType = "CreatePipeline" - TriggerTypeStartpipelineexecution TriggerType = "StartPipelineExecution" - TriggerTypePollforsourcechanges TriggerType = "PollForSourceChanges" + TriggerTypeCreatePipeline TriggerType = "CreatePipeline" + TriggerTypeStartPipelineExecution TriggerType = "StartPipelineExecution" + TriggerTypePollForSourceChanges TriggerType = "PollForSourceChanges" TriggerTypeWebhook TriggerType = "Webhook" - TriggerTypeCloudwatchevent TriggerType = "CloudWatchEvent" - TriggerTypePutactionrevision TriggerType = "PutActionRevision" + TriggerTypeCloudWatchEvent TriggerType = "CloudWatchEvent" + TriggerTypePutActionRevision TriggerType = "PutActionRevision" ) // Values returns all known values for TriggerType. Note that this can be expanded diff --git a/service/codestar/api_client.go b/service/codestar/api_client.go index 738d7a909d2..6bd19c25abc 100644 --- a/service/codestar/api_client.go +++ b/service/codestar/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/codestarconnections/api_client.go b/service/codestarconnections/api_client.go index 8eddec0958a..182a3fc63e1 100644 --- a/service/codestarconnections/api_client.go +++ b/service/codestarconnections/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/codestarnotifications/api_client.go b/service/codestarnotifications/api_client.go index d51cc1c0c40..84fdeaa2c50 100644 --- a/service/codestarnotifications/api_client.go +++ b/service/codestarnotifications/api_client.go @@ -97,6 +97,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/cognitoidentity/api_client.go b/service/cognitoidentity/api_client.go index 51959717593..1e1a4a02b8d 100644 --- a/service/cognitoidentity/api_client.go +++ b/service/cognitoidentity/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/cognitoidentityprovider/api_client.go b/service/cognitoidentityprovider/api_client.go index 9787e1f4800..dfaffd209a0 100644 --- a/service/cognitoidentityprovider/api_client.go +++ b/service/cognitoidentityprovider/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/cognitoidentityprovider/types/enums.go b/service/cognitoidentityprovider/types/enums.go index e0a2031250c..e8352dd19d7 100644 --- a/service/cognitoidentityprovider/types/enums.go +++ b/service/cognitoidentityprovider/types/enums.go @@ -376,9 +376,9 @@ type EventType string // Enum values for EventType const ( - EventTypeSignin EventType = "SignIn" - EventTypeSignup EventType = "SignUp" - EventTypeForgotpassword EventType = "ForgotPassword" + EventTypeSignIn EventType = "SignIn" + EventTypeSignUp EventType = "SignUp" + EventTypeForgotPassword EventType = "ForgotPassword" ) // Values returns all known values for EventType. Note that this can be expanded in @@ -447,8 +447,8 @@ const ( IdentityProviderTypeTypeSaml IdentityProviderTypeType = "SAML" IdentityProviderTypeTypeFacebook IdentityProviderTypeType = "Facebook" IdentityProviderTypeTypeGoogle IdentityProviderTypeType = "Google" - IdentityProviderTypeTypeLoginwithamazon IdentityProviderTypeType = "LoginWithAmazon" - IdentityProviderTypeTypeSigninwithapple IdentityProviderTypeType = "SignInWithApple" + IdentityProviderTypeTypeLoginWithAmazon IdentityProviderTypeType = "LoginWithAmazon" + IdentityProviderTypeTypeSignInWithApple IdentityProviderTypeType = "SignInWithApple" IdentityProviderTypeTypeOidc IdentityProviderTypeType = "OIDC" ) @@ -547,8 +547,8 @@ type RiskDecisionType string // Enum values for RiskDecisionType const ( - RiskDecisionTypeNorisk RiskDecisionType = "NoRisk" - RiskDecisionTypeAccounttakeover RiskDecisionType = "AccountTakeover" + RiskDecisionTypeNoRisk RiskDecisionType = "NoRisk" + RiskDecisionTypeAccountTakeover RiskDecisionType = "AccountTakeover" RiskDecisionTypeBlock RiskDecisionType = "Block" ) @@ -629,7 +629,7 @@ type UserImportJobStatusType string const ( UserImportJobStatusTypeCreated UserImportJobStatusType = "Created" UserImportJobStatusTypePending UserImportJobStatusType = "Pending" - UserImportJobStatusTypeInprogress UserImportJobStatusType = "InProgress" + UserImportJobStatusTypeInProgress UserImportJobStatusType = "InProgress" UserImportJobStatusTypeStopping UserImportJobStatusType = "Stopping" UserImportJobStatusTypeExpired UserImportJobStatusType = "Expired" UserImportJobStatusTypeStopped UserImportJobStatusType = "Stopped" diff --git a/service/cognitosync/api_client.go b/service/cognitosync/api_client.go index 18fc1f7b25f..f7b117d3a8e 100644 --- a/service/cognitosync/api_client.go +++ b/service/cognitosync/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/comprehend/api_client.go b/service/comprehend/api_client.go index 0c331be0e5a..ae1c1b57169 100644 --- a/service/comprehend/api_client.go +++ b/service/comprehend/api_client.go @@ -96,6 +96,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/comprehendmedical/api_client.go b/service/comprehendmedical/api_client.go index 7674c8f9618..6125257f820 100644 --- a/service/comprehendmedical/api_client.go +++ b/service/comprehendmedical/api_client.go @@ -97,6 +97,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/computeoptimizer/api_client.go b/service/computeoptimizer/api_client.go index 5496778362d..cddd7f3ed4b 100644 --- a/service/computeoptimizer/api_client.go +++ b/service/computeoptimizer/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/configservice/api_client.go b/service/configservice/api_client.go index 8b7b1ba06e3..94ba3e0c541 100644 --- a/service/configservice/api_client.go +++ b/service/configservice/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/configservice/types/enums.go b/service/configservice/types/enums.go index 62f6c258f05..897d8019f1e 100644 --- a/service/configservice/types/enums.go +++ b/service/configservice/types/enums.go @@ -126,10 +126,10 @@ type ConfigurationItemStatus string // Enum values for ConfigurationItemStatus const ( ConfigurationItemStatusOk ConfigurationItemStatus = "OK" - ConfigurationItemStatusResourcediscovered ConfigurationItemStatus = "ResourceDiscovered" - ConfigurationItemStatusResourcenotrecorded ConfigurationItemStatus = "ResourceNotRecorded" - ConfigurationItemStatusResourcedeleted ConfigurationItemStatus = "ResourceDeleted" - ConfigurationItemStatusResourcedeletednotrecorded ConfigurationItemStatus = "ResourceDeletedNotRecorded" + ConfigurationItemStatusResourceDiscovered ConfigurationItemStatus = "ResourceDiscovered" + ConfigurationItemStatusResourceNotRecorded ConfigurationItemStatus = "ResourceNotRecorded" + ConfigurationItemStatusResourceDeleted ConfigurationItemStatus = "ResourceDeleted" + ConfigurationItemStatusResourceDeletedNotRecorded ConfigurationItemStatus = "ResourceDeletedNotRecorded" ) // Values returns all known values for ConfigurationItemStatus. Note that this can @@ -232,7 +232,7 @@ const ( MaximumExecutionFrequencyThreeHours MaximumExecutionFrequency = "Three_Hours" MaximumExecutionFrequencySixHours MaximumExecutionFrequency = "Six_Hours" MaximumExecutionFrequencyTwelveHours MaximumExecutionFrequency = "Twelve_Hours" - MaximumExecutionFrequencyTwentyfourHours MaximumExecutionFrequency = "TwentyFour_Hours" + MaximumExecutionFrequencyTwentyFourHours MaximumExecutionFrequency = "TwentyFour_Hours" ) // Values returns all known values for MaximumExecutionFrequency. Note that this @@ -284,10 +284,10 @@ type MessageType string // Enum values for MessageType const ( - MessageTypeConfigurationitemchangenotification MessageType = "ConfigurationItemChangeNotification" - MessageTypeConfigurationsnapshotdeliverycompleted MessageType = "ConfigurationSnapshotDeliveryCompleted" - MessageTypeSchedulednotification MessageType = "ScheduledNotification" - MessageTypeOversizedconfigurationitemchangenotification MessageType = "OversizedConfigurationItemChangeNotification" + MessageTypeConfigurationItemChangeNotification MessageType = "ConfigurationItemChangeNotification" + MessageTypeConfigurationSnapshotDeliveryCompleted MessageType = "ConfigurationSnapshotDeliveryCompleted" + MessageTypeScheduledNotification MessageType = "ScheduledNotification" + MessageTypeOversizedConfigurationItemChangeNotification MessageType = "OversizedConfigurationItemChangeNotification" ) // Values returns all known values for MessageType. Note that this can be expanded @@ -541,99 +541,99 @@ type ResourceType string // Enum values for ResourceType const ( - ResourceTypeCustomergateway ResourceType = "AWS::EC2::CustomerGateway" + ResourceTypeCustomerGateway ResourceType = "AWS::EC2::CustomerGateway" ResourceTypeEip ResourceType = "AWS::EC2::EIP" ResourceTypeHost ResourceType = "AWS::EC2::Host" ResourceTypeInstance ResourceType = "AWS::EC2::Instance" - ResourceTypeInternetgateway ResourceType = "AWS::EC2::InternetGateway" - ResourceTypeNetworkacl ResourceType = "AWS::EC2::NetworkAcl" - ResourceTypeNetworkinterface ResourceType = "AWS::EC2::NetworkInterface" - ResourceTypeRoutetable ResourceType = "AWS::EC2::RouteTable" - ResourceTypeSecuritygroup ResourceType = "AWS::EC2::SecurityGroup" + ResourceTypeInternetGateway ResourceType = "AWS::EC2::InternetGateway" + ResourceTypeNetworkAcl ResourceType = "AWS::EC2::NetworkAcl" + ResourceTypeNetworkInterface ResourceType = "AWS::EC2::NetworkInterface" + ResourceTypeRouteTable ResourceType = "AWS::EC2::RouteTable" + ResourceTypeSecurityGroup ResourceType = "AWS::EC2::SecurityGroup" ResourceTypeSubnet ResourceType = "AWS::EC2::Subnet" ResourceTypeTrail ResourceType = "AWS::CloudTrail::Trail" ResourceTypeVolume ResourceType = "AWS::EC2::Volume" ResourceTypeVpc ResourceType = "AWS::EC2::VPC" - ResourceTypeVpnconnection ResourceType = "AWS::EC2::VPNConnection" - ResourceTypeVpngateway ResourceType = "AWS::EC2::VPNGateway" - ResourceTypeRegisteredhainstance ResourceType = "AWS::EC2::RegisteredHAInstance" - ResourceTypeNatgateway ResourceType = "AWS::EC2::NatGateway" - ResourceTypeEgressonlyinternetgateway ResourceType = "AWS::EC2::EgressOnlyInternetGateway" - ResourceTypeVpcendpoint ResourceType = "AWS::EC2::VPCEndpoint" - ResourceTypeVpcendpointservice ResourceType = "AWS::EC2::VPCEndpointService" - ResourceTypeFlowlog ResourceType = "AWS::EC2::FlowLog" - ResourceTypeVpcpeeringconnection ResourceType = "AWS::EC2::VPCPeeringConnection" + ResourceTypeVPNConnection ResourceType = "AWS::EC2::VPNConnection" + ResourceTypeVPNGateway ResourceType = "AWS::EC2::VPNGateway" + ResourceTypeRegisteredHAInstance ResourceType = "AWS::EC2::RegisteredHAInstance" + ResourceTypeNatGateway ResourceType = "AWS::EC2::NatGateway" + ResourceTypeEgressOnlyInternetGateway ResourceType = "AWS::EC2::EgressOnlyInternetGateway" + ResourceTypeVPCEndpoint ResourceType = "AWS::EC2::VPCEndpoint" + ResourceTypeVPCEndpointService ResourceType = "AWS::EC2::VPCEndpointService" + ResourceTypeFlowLog ResourceType = "AWS::EC2::FlowLog" + ResourceTypeVPCPeeringConnection ResourceType = "AWS::EC2::VPCPeeringConnection" ResourceTypeDomain ResourceType = "AWS::Elasticsearch::Domain" ResourceTypeGroup ResourceType = "AWS::IAM::Group" ResourceTypePolicy ResourceType = "AWS::IAM::Policy" ResourceTypeRole ResourceType = "AWS::IAM::Role" ResourceTypeUser ResourceType = "AWS::IAM::User" - ResourceTypeLoadbalancerv2 ResourceType = "AWS::ElasticLoadBalancingV2::LoadBalancer" + ResourceTypeLoadBalancerV2 ResourceType = "AWS::ElasticLoadBalancingV2::LoadBalancer" ResourceTypeCertificate ResourceType = "AWS::ACM::Certificate" - ResourceTypeDbinstance ResourceType = "AWS::RDS::DBInstance" - ResourceTypeDbsubnetgroup ResourceType = "AWS::RDS::DBSubnetGroup" - ResourceTypeDbsecuritygroup ResourceType = "AWS::RDS::DBSecurityGroup" - ResourceTypeDbsnapshot ResourceType = "AWS::RDS::DBSnapshot" - ResourceTypeDbcluster ResourceType = "AWS::RDS::DBCluster" - ResourceTypeDbclustersnapshot ResourceType = "AWS::RDS::DBClusterSnapshot" - ResourceTypeEventsubscription ResourceType = "AWS::RDS::EventSubscription" + ResourceTypeDBInstance ResourceType = "AWS::RDS::DBInstance" + ResourceTypeDBSubnetGroup ResourceType = "AWS::RDS::DBSubnetGroup" + ResourceTypeDBSecurityGroup ResourceType = "AWS::RDS::DBSecurityGroup" + ResourceTypeDBSnapshot ResourceType = "AWS::RDS::DBSnapshot" + ResourceTypeDBCluster ResourceType = "AWS::RDS::DBCluster" + ResourceTypeDBClusterSnapshot ResourceType = "AWS::RDS::DBClusterSnapshot" + ResourceTypeEventSubscription ResourceType = "AWS::RDS::EventSubscription" ResourceTypeBucket ResourceType = "AWS::S3::Bucket" - ResourceTypeAccountpublicaccessblock ResourceType = "AWS::S3::AccountPublicAccessBlock" + ResourceTypeAccountPublicAccessBlock ResourceType = "AWS::S3::AccountPublicAccessBlock" ResourceTypeCluster ResourceType = "AWS::Redshift::Cluster" - ResourceTypeClustersnapshot ResourceType = "AWS::Redshift::ClusterSnapshot" - ResourceTypeClusterparametergroup ResourceType = "AWS::Redshift::ClusterParameterGroup" - ResourceTypeClustersecuritygroup ResourceType = "AWS::Redshift::ClusterSecurityGroup" - ResourceTypeClustersubnetgroup ResourceType = "AWS::Redshift::ClusterSubnetGroup" - ResourceTypeRedshifteventsubscription ResourceType = "AWS::Redshift::EventSubscription" - ResourceTypeManagedinstanceinventory ResourceType = "AWS::SSM::ManagedInstanceInventory" + ResourceTypeClusterSnapshot ResourceType = "AWS::Redshift::ClusterSnapshot" + ResourceTypeClusterParameterGroup ResourceType = "AWS::Redshift::ClusterParameterGroup" + ResourceTypeClusterSecurityGroup ResourceType = "AWS::Redshift::ClusterSecurityGroup" + ResourceTypeClusterSubnetGroup ResourceType = "AWS::Redshift::ClusterSubnetGroup" + ResourceTypeRedshiftEventSubscription ResourceType = "AWS::Redshift::EventSubscription" + ResourceTypeManagedInstanceInventory ResourceType = "AWS::SSM::ManagedInstanceInventory" ResourceTypeAlarm ResourceType = "AWS::CloudWatch::Alarm" ResourceTypeStack ResourceType = "AWS::CloudFormation::Stack" - ResourceTypeLoadbalancer ResourceType = "AWS::ElasticLoadBalancing::LoadBalancer" - ResourceTypeAutoscalinggroup ResourceType = "AWS::AutoScaling::AutoScalingGroup" - ResourceTypeLaunchconfiguration ResourceType = "AWS::AutoScaling::LaunchConfiguration" - ResourceTypeScalingpolicy ResourceType = "AWS::AutoScaling::ScalingPolicy" - ResourceTypeScheduledaction ResourceType = "AWS::AutoScaling::ScheduledAction" + ResourceTypeLoadBalancer ResourceType = "AWS::ElasticLoadBalancing::LoadBalancer" + ResourceTypeAutoScalingGroup ResourceType = "AWS::AutoScaling::AutoScalingGroup" + ResourceTypeLaunchConfiguration ResourceType = "AWS::AutoScaling::LaunchConfiguration" + ResourceTypeScalingPolicy ResourceType = "AWS::AutoScaling::ScalingPolicy" + ResourceTypeScheduledAction ResourceType = "AWS::AutoScaling::ScheduledAction" ResourceTypeTable ResourceType = "AWS::DynamoDB::Table" ResourceTypeProject ResourceType = "AWS::CodeBuild::Project" - ResourceTypeRatebasedrule ResourceType = "AWS::WAF::RateBasedRule" + ResourceTypeRateBasedRule ResourceType = "AWS::WAF::RateBasedRule" ResourceTypeRule ResourceType = "AWS::WAF::Rule" - ResourceTypeRulegroup ResourceType = "AWS::WAF::RuleGroup" - ResourceTypeWebacl ResourceType = "AWS::WAF::WebACL" - ResourceTypeRegionalratebasedrule ResourceType = "AWS::WAFRegional::RateBasedRule" - ResourceTypeRegionalrule ResourceType = "AWS::WAFRegional::Rule" - ResourceTypeRegionalrulegroup ResourceType = "AWS::WAFRegional::RuleGroup" - ResourceTypeRegionalwebacl ResourceType = "AWS::WAFRegional::WebACL" + ResourceTypeRuleGroup ResourceType = "AWS::WAF::RuleGroup" + ResourceTypeWebACL ResourceType = "AWS::WAF::WebACL" + ResourceTypeRegionalRateBasedRule ResourceType = "AWS::WAFRegional::RateBasedRule" + ResourceTypeRegionalRule ResourceType = "AWS::WAFRegional::Rule" + ResourceTypeRegionalRuleGroup ResourceType = "AWS::WAFRegional::RuleGroup" + ResourceTypeRegionalWebACL ResourceType = "AWS::WAFRegional::WebACL" ResourceTypeDistribution ResourceType = "AWS::CloudFront::Distribution" - ResourceTypeStreamingdistribution ResourceType = "AWS::CloudFront::StreamingDistribution" + ResourceTypeStreamingDistribution ResourceType = "AWS::CloudFront::StreamingDistribution" ResourceTypeFunction ResourceType = "AWS::Lambda::Function" ResourceTypeApplication ResourceType = "AWS::ElasticBeanstalk::Application" - ResourceTypeApplicationversion ResourceType = "AWS::ElasticBeanstalk::ApplicationVersion" + ResourceTypeApplicationVersion ResourceType = "AWS::ElasticBeanstalk::ApplicationVersion" ResourceTypeEnvironment ResourceType = "AWS::ElasticBeanstalk::Environment" - ResourceTypeWebaclv2 ResourceType = "AWS::WAFv2::WebACL" - ResourceTypeRulegroupv2 ResourceType = "AWS::WAFv2::RuleGroup" - ResourceTypeIpsetv2 ResourceType = "AWS::WAFv2::IPSet" - ResourceTypeRegexpatternsetv2 ResourceType = "AWS::WAFv2::RegexPatternSet" - ResourceTypeManagedrulesetv2 ResourceType = "AWS::WAFv2::ManagedRuleSet" - ResourceTypeEncryptionconfig ResourceType = "AWS::XRay::EncryptionConfig" - ResourceTypeAssociationcompliance ResourceType = "AWS::SSM::AssociationCompliance" - ResourceTypePatchcompliance ResourceType = "AWS::SSM::PatchCompliance" + ResourceTypeWebACLV2 ResourceType = "AWS::WAFv2::WebACL" + ResourceTypeRuleGroupV2 ResourceType = "AWS::WAFv2::RuleGroup" + ResourceTypeIPSetV2 ResourceType = "AWS::WAFv2::IPSet" + ResourceTypeRegexPatternSetV2 ResourceType = "AWS::WAFv2::RegexPatternSet" + ResourceTypeManagedRuleSetV2 ResourceType = "AWS::WAFv2::ManagedRuleSet" + ResourceTypeEncryptionConfig ResourceType = "AWS::XRay::EncryptionConfig" + ResourceTypeAssociationCompliance ResourceType = "AWS::SSM::AssociationCompliance" + ResourceTypePatchCompliance ResourceType = "AWS::SSM::PatchCompliance" ResourceTypeProtection ResourceType = "AWS::Shield::Protection" - ResourceTypeRegionalprotection ResourceType = "AWS::ShieldRegional::Protection" - ResourceTypeResourcecompliance ResourceType = "AWS::Config::ResourceCompliance" + ResourceTypeRegionalProtection ResourceType = "AWS::ShieldRegional::Protection" + ResourceTypeResourceCompliance ResourceType = "AWS::Config::ResourceCompliance" ResourceTypeStage ResourceType = "AWS::ApiGateway::Stage" - ResourceTypeRestapi ResourceType = "AWS::ApiGateway::RestApi" - ResourceTypeStagev2 ResourceType = "AWS::ApiGatewayV2::Stage" + ResourceTypeRestApi ResourceType = "AWS::ApiGateway::RestApi" + ResourceTypeStageV2 ResourceType = "AWS::ApiGatewayV2::Stage" ResourceTypeApi ResourceType = "AWS::ApiGatewayV2::Api" ResourceTypePipeline ResourceType = "AWS::CodePipeline::Pipeline" - ResourceTypeCloudformationprovisionedproduct ResourceType = "AWS::ServiceCatalog::CloudFormationProvisionedProduct" - ResourceTypeCloudformationproduct ResourceType = "AWS::ServiceCatalog::CloudFormationProduct" + ResourceTypeCloudFormationProvisionedProduct ResourceType = "AWS::ServiceCatalog::CloudFormationProvisionedProduct" + ResourceTypeCloudFormationProduct ResourceType = "AWS::ServiceCatalog::CloudFormationProduct" ResourceTypePortfolio ResourceType = "AWS::ServiceCatalog::Portfolio" ResourceTypeQueue ResourceType = "AWS::SQS::Queue" ResourceTypeKey ResourceType = "AWS::KMS::Key" - ResourceTypeQldbledger ResourceType = "AWS::QLDB::Ledger" + ResourceTypeQLDBLedger ResourceType = "AWS::QLDB::Ledger" ResourceTypeSecret ResourceType = "AWS::SecretsManager::Secret" ResourceTypeTopic ResourceType = "AWS::SNS::Topic" - ResourceTypeFiledata ResourceType = "AWS::SSM::FileData" + ResourceTypeFileData ResourceType = "AWS::SSM::FileData" ) // Values returns all known values for ResourceType. Note that this can be expanded diff --git a/service/connect/api_client.go b/service/connect/api_client.go index 639bfe686a0..5cbc9192486 100644 --- a/service/connect/api_client.go +++ b/service/connect/api_client.go @@ -97,6 +97,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/connectcontactlens/api_client.go b/service/connectcontactlens/api_client.go index 2137b2ad807..a4c27484759 100644 --- a/service/connectcontactlens/api_client.go +++ b/service/connectcontactlens/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/connectparticipant/api_client.go b/service/connectparticipant/api_client.go index 6cc3a7dffeb..791ec20b3d6 100644 --- a/service/connectparticipant/api_client.go +++ b/service/connectparticipant/api_client.go @@ -97,6 +97,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/costandusagereportservice/api_client.go b/service/costandusagereportservice/api_client.go index 5ae81d7edf9..4e7bcfa790c 100644 --- a/service/costandusagereportservice/api_client.go +++ b/service/costandusagereportservice/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/costexplorer/api_client.go b/service/costexplorer/api_client.go index e30637c4fde..f57fdd2939a 100644 --- a/service/costexplorer/api_client.go +++ b/service/costexplorer/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/costexplorer/types/enums.go b/service/costexplorer/types/enums.go index 32dcbb4b8dd..6cb6d90b2c8 100644 --- a/service/costexplorer/types/enums.go +++ b/service/costexplorer/types/enums.go @@ -84,7 +84,7 @@ type CostCategoryRuleVersion string // Enum values for CostCategoryRuleVersion const ( - CostCategoryRuleVersionCostcategoryexpressionv1 CostCategoryRuleVersion = "CostCategoryExpression.v1" + CostCategoryRuleVersionCostCategoryExpressionV1 CostCategoryRuleVersion = "CostCategoryExpression.v1" ) // Values returns all known values for CostCategoryRuleVersion. Note that this can diff --git a/service/customerprofiles/api_client.go b/service/customerprofiles/api_client.go index b505adc18fb..1954a95dcc1 100644 --- a/service/customerprofiles/api_client.go +++ b/service/customerprofiles/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/databasemigrationservice/api_client.go b/service/databasemigrationservice/api_client.go index bed07fb7428..7fe3abd294b 100644 --- a/service/databasemigrationservice/api_client.go +++ b/service/databasemigrationservice/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/databrew/api_client.go b/service/databrew/api_client.go index a32bb7167d2..4fdb4dbd713 100644 --- a/service/databrew/api_client.go +++ b/service/databrew/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/dataexchange/api_client.go b/service/dataexchange/api_client.go index 6df843168bf..05500070507 100644 --- a/service/dataexchange/api_client.go +++ b/service/dataexchange/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/datapipeline/api_client.go b/service/datapipeline/api_client.go index 58956d44bfb..1b8e650539a 100644 --- a/service/datapipeline/api_client.go +++ b/service/datapipeline/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/datapipeline/types/enums.go b/service/datapipeline/types/enums.go index a2a4c6c9aad..4dc9accd377 100644 --- a/service/datapipeline/types/enums.go +++ b/service/datapipeline/types/enums.go @@ -7,9 +7,9 @@ type OperatorType string // Enum values for OperatorType const ( OperatorTypeEqual OperatorType = "EQ" - OperatorTypeReferenceequal OperatorType = "REF_EQ" - OperatorTypeLessthanorequal OperatorType = "LE" - OperatorTypeGreaterthanorequal OperatorType = "GE" + OperatorTypeReferenceEqual OperatorType = "REF_EQ" + OperatorTypeLessThanOrEqual OperatorType = "LE" + OperatorTypeGreaterThanOrEqual OperatorType = "GE" OperatorTypeBetween OperatorType = "BETWEEN" ) diff --git a/service/datasync/api_client.go b/service/datasync/api_client.go index 3cf430933be..f8cbf0aee9f 100644 --- a/service/datasync/api_client.go +++ b/service/datasync/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/datasync/types/enums.go b/service/datasync/types/enums.go index a0e82f0092c..1892e615aa7 100644 --- a/service/datasync/types/enums.go +++ b/service/datasync/types/enums.go @@ -100,9 +100,9 @@ type LocationFilterName string // Enum values for LocationFilterName const ( - LocationFilterNameLocationuri LocationFilterName = "LocationUri" - LocationFilterNameLocationtype LocationFilterName = "LocationType" - LocationFilterNameCreationtime LocationFilterName = "CreationTime" + LocationFilterNameLocationUri LocationFilterName = "LocationUri" + LocationFilterNameLocationType LocationFilterName = "LocationType" + LocationFilterNameCreationTime LocationFilterName = "CreationTime" ) // Values returns all known values for LocationFilterName. Note that this can be @@ -400,8 +400,8 @@ type TaskFilterName string // Enum values for TaskFilterName const ( - TaskFilterNameLocationid TaskFilterName = "LocationId" - TaskFilterNameCreationtime TaskFilterName = "CreationTime" + TaskFilterNameLocationId TaskFilterName = "LocationId" + TaskFilterNameCreationTime TaskFilterName = "CreationTime" ) // Values returns all known values for TaskFilterName. Note that this can be diff --git a/service/dax/api_client.go b/service/dax/api_client.go index 4777ec1c836..c0652498fd9 100644 --- a/service/dax/api_client.go +++ b/service/dax/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/detective/api_client.go b/service/detective/api_client.go index 42aad73faa2..8c250d4448a 100644 --- a/service/detective/api_client.go +++ b/service/detective/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/devicefarm/api_client.go b/service/devicefarm/api_client.go index 4e979ed70fe..6f86c353602 100644 --- a/service/devicefarm/api_client.go +++ b/service/devicefarm/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/devopsguru/api_client.go b/service/devopsguru/api_client.go index 2b88b68ba3a..f368a82c416 100644 --- a/service/devopsguru/api_client.go +++ b/service/devopsguru/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/directconnect/api_client.go b/service/directconnect/api_client.go index 7a6095e653f..8a20f0e2799 100644 --- a/service/directconnect/api_client.go +++ b/service/directconnect/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/directconnect/types/enums.go b/service/directconnect/types/enums.go index c2b6c627df3..01ce06c9a7b 100644 --- a/service/directconnect/types/enums.go +++ b/service/directconnect/types/enums.go @@ -6,8 +6,8 @@ type AddressFamily string // Enum values for AddressFamily const ( - AddressFamilyIpv4 AddressFamily = "ipv4" - AddressFamilyIpv6 AddressFamily = "ipv6" + AddressFamilyIPv4 AddressFamily = "ipv4" + AddressFamilyIPv6 AddressFamily = "ipv6" ) // Values returns all known values for AddressFamily. Note that this can be @@ -169,8 +169,8 @@ type DirectConnectGatewayAttachmentType string // Enum values for DirectConnectGatewayAttachmentType const ( - DirectConnectGatewayAttachmentTypeTransitvirtualinterface DirectConnectGatewayAttachmentType = "TransitVirtualInterface" - DirectConnectGatewayAttachmentTypePrivatevirtualinterface DirectConnectGatewayAttachmentType = "PrivateVirtualInterface" + DirectConnectGatewayAttachmentTypeTransitVirtualInterface DirectConnectGatewayAttachmentType = "TransitVirtualInterface" + DirectConnectGatewayAttachmentTypePrivateVirtualInterface DirectConnectGatewayAttachmentType = "PrivateVirtualInterface" ) // Values returns all known values for DirectConnectGatewayAttachmentType. Note @@ -210,8 +210,8 @@ type GatewayType string // Enum values for GatewayType const ( - GatewayTypeVirtualprivategateway GatewayType = "virtualPrivateGateway" - GatewayTypeTransitgateway GatewayType = "transitGateway" + GatewayTypeVirtualPrivateGateway GatewayType = "virtualPrivateGateway" + GatewayTypeTransitGateway GatewayType = "transitGateway" ) // Values returns all known values for GatewayType. Note that this can be expanded diff --git a/service/directoryservice/api_client.go b/service/directoryservice/api_client.go index 8602e574c8a..52429eecd68 100644 --- a/service/directoryservice/api_client.go +++ b/service/directoryservice/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/dlm/api_client.go b/service/dlm/api_client.go index 1899e021504..20d768734cf 100644 --- a/service/dlm/api_client.go +++ b/service/dlm/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/dlm/types/enums.go b/service/dlm/types/enums.go index 431f04325f4..211fc6c7e0e 100644 --- a/service/dlm/types/enums.go +++ b/service/dlm/types/enums.go @@ -22,7 +22,7 @@ type EventTypeValues string // Enum values for EventTypeValues const ( - EventTypeValuesSharesnapshot EventTypeValues = "shareSnapshot" + EventTypeValuesShareSnapshot EventTypeValues = "shareSnapshot" ) // Values returns all known values for EventTypeValues. Note that this can be diff --git a/service/docdb/api_client.go b/service/docdb/api_client.go index b731f977315..f2713fe0e33 100644 --- a/service/docdb/api_client.go +++ b/service/docdb/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/dynamodb/api_client.go b/service/dynamodb/api_client.go index d051ccf915f..365a6882db1 100644 --- a/service/dynamodb/api_client.go +++ b/service/dynamodb/api_client.go @@ -106,6 +106,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/dynamodb/types/enums.go b/service/dynamodb/types/enums.go index 029bcb69371..9bc776c757c 100644 --- a/service/dynamodb/types/enums.go +++ b/service/dynamodb/types/enums.go @@ -88,17 +88,17 @@ type BatchStatementErrorCodeEnum string // Enum values for BatchStatementErrorCodeEnum const ( - BatchStatementErrorCodeEnumConditionalcheckfailed BatchStatementErrorCodeEnum = "ConditionalCheckFailed" - BatchStatementErrorCodeEnumItemcollectionsizelimitexceeded BatchStatementErrorCodeEnum = "ItemCollectionSizeLimitExceeded" - BatchStatementErrorCodeEnumRequestlimitexceeded BatchStatementErrorCodeEnum = "RequestLimitExceeded" - BatchStatementErrorCodeEnumValidationerror BatchStatementErrorCodeEnum = "ValidationError" - BatchStatementErrorCodeEnumProvisionedthroughputexceeded BatchStatementErrorCodeEnum = "ProvisionedThroughputExceeded" - BatchStatementErrorCodeEnumTransactionconflict BatchStatementErrorCodeEnum = "TransactionConflict" - BatchStatementErrorCodeEnumThrottlingerror BatchStatementErrorCodeEnum = "ThrottlingError" - BatchStatementErrorCodeEnumInternalservererror BatchStatementErrorCodeEnum = "InternalServerError" - BatchStatementErrorCodeEnumResourcenotfound BatchStatementErrorCodeEnum = "ResourceNotFound" - BatchStatementErrorCodeEnumAccessdenied BatchStatementErrorCodeEnum = "AccessDenied" - BatchStatementErrorCodeEnumDuplicateitem BatchStatementErrorCodeEnum = "DuplicateItem" + BatchStatementErrorCodeEnumConditionalCheckFailed BatchStatementErrorCodeEnum = "ConditionalCheckFailed" + BatchStatementErrorCodeEnumItemCollectionSizeLimitExceeded BatchStatementErrorCodeEnum = "ItemCollectionSizeLimitExceeded" + BatchStatementErrorCodeEnumRequestLimitExceeded BatchStatementErrorCodeEnum = "RequestLimitExceeded" + BatchStatementErrorCodeEnumValidationError BatchStatementErrorCodeEnum = "ValidationError" + BatchStatementErrorCodeEnumProvisionedThroughputExceeded BatchStatementErrorCodeEnum = "ProvisionedThroughputExceeded" + BatchStatementErrorCodeEnumTransactionConflict BatchStatementErrorCodeEnum = "TransactionConflict" + BatchStatementErrorCodeEnumThrottlingError BatchStatementErrorCodeEnum = "ThrottlingError" + BatchStatementErrorCodeEnumInternalServerError BatchStatementErrorCodeEnum = "InternalServerError" + BatchStatementErrorCodeEnumResourceNotFound BatchStatementErrorCodeEnum = "ResourceNotFound" + BatchStatementErrorCodeEnumAccessDenied BatchStatementErrorCodeEnum = "AccessDenied" + BatchStatementErrorCodeEnumDuplicateItem BatchStatementErrorCodeEnum = "DuplicateItem" ) // Values returns all known values for BatchStatementErrorCodeEnum. Note that this diff --git a/service/dynamodbstreams/api_client.go b/service/dynamodbstreams/api_client.go index dbc70b87044..9390bfebaf5 100644 --- a/service/dynamodbstreams/api_client.go +++ b/service/dynamodbstreams/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/ebs/api_client.go b/service/ebs/api_client.go index 4fd90355e2d..2aa1347ec4e 100644 --- a/service/ebs/api_client.go +++ b/service/ebs/api_client.go @@ -97,6 +97,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/ec2/api_client.go b/service/ec2/api_client.go index 647bff212b5..1d062bd9cdf 100644 --- a/service/ec2/api_client.go +++ b/service/ec2/api_client.go @@ -98,6 +98,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/ec2/types/enums.go b/service/ec2/types/enums.go index fcde761ebc8..c3e8f0d9d78 100644 --- a/service/ec2/types/enums.go +++ b/service/ec2/types/enums.go @@ -1114,7 +1114,7 @@ type DnsNameState string // Enum values for DnsNameState const ( - DnsNameStatePendingverification DnsNameState = "pendingVerification" + DnsNameStatePendingVerification DnsNameState = "pendingVerification" DnsNameStateVerified DnsNameState = "verified" DnsNameStateFailed DnsNameState = "failed" ) @@ -1614,7 +1614,7 @@ type FlowLogsResourceType string const ( FlowLogsResourceTypeVpc FlowLogsResourceType = "VPC" FlowLogsResourceTypeSubnet FlowLogsResourceType = "Subnet" - FlowLogsResourceTypeNetworkinterface FlowLogsResourceType = "NetworkInterface" + FlowLogsResourceTypeNetworkInterface FlowLogsResourceType = "NetworkInterface" ) // Values returns all known values for FlowLogsResourceType. Note that this can be @@ -1634,8 +1634,8 @@ type FpgaImageAttributeName string const ( FpgaImageAttributeNameDescription FpgaImageAttributeName = "description" FpgaImageAttributeNameName FpgaImageAttributeName = "name" - FpgaImageAttributeNameLoadpermission FpgaImageAttributeName = "loadPermission" - FpgaImageAttributeNameProductcodes FpgaImageAttributeName = "productCodes" + FpgaImageAttributeNameLoadPermission FpgaImageAttributeName = "loadPermission" + FpgaImageAttributeNameProductCodes FpgaImageAttributeName = "productCodes" ) // Values returns all known values for FpgaImageAttributeName. Note that this can @@ -1808,11 +1808,11 @@ const ( ImageAttributeNameDescription ImageAttributeName = "description" ImageAttributeNameKernel ImageAttributeName = "kernel" ImageAttributeNameRamdisk ImageAttributeName = "ramdisk" - ImageAttributeNameLaunchpermission ImageAttributeName = "launchPermission" - ImageAttributeNameProductcodes ImageAttributeName = "productCodes" - ImageAttributeNameBlockdevicemapping ImageAttributeName = "blockDeviceMapping" - ImageAttributeNameSriovnetsupport ImageAttributeName = "sriovNetSupport" - ImageAttributeNameBootmode ImageAttributeName = "bootMode" + ImageAttributeNameLaunchPermission ImageAttributeName = "launchPermission" + ImageAttributeNameProductCodes ImageAttributeName = "productCodes" + ImageAttributeNameBlockDeviceMapping ImageAttributeName = "blockDeviceMapping" + ImageAttributeNameSriovNetSupport ImageAttributeName = "sriovNetSupport" + ImageAttributeNameBootMode ImageAttributeName = "bootMode" ) // Values returns all known values for ImageAttributeName. Note that this can be @@ -1883,21 +1883,21 @@ type InstanceAttributeName string // Enum values for InstanceAttributeName const ( - InstanceAttributeNameInstancetype InstanceAttributeName = "instanceType" + InstanceAttributeNameInstanceType InstanceAttributeName = "instanceType" InstanceAttributeNameKernel InstanceAttributeName = "kernel" InstanceAttributeNameRamdisk InstanceAttributeName = "ramdisk" - InstanceAttributeNameUserdata InstanceAttributeName = "userData" - InstanceAttributeNameDisableapitermination InstanceAttributeName = "disableApiTermination" - InstanceAttributeNameInstanceinitiatedshutdownbehavior InstanceAttributeName = "instanceInitiatedShutdownBehavior" - InstanceAttributeNameRootdevicename InstanceAttributeName = "rootDeviceName" - InstanceAttributeNameBlockdevicemapping InstanceAttributeName = "blockDeviceMapping" - InstanceAttributeNameProductcodes InstanceAttributeName = "productCodes" - InstanceAttributeNameSourcedestcheck InstanceAttributeName = "sourceDestCheck" - InstanceAttributeNameGroupset InstanceAttributeName = "groupSet" - InstanceAttributeNameEbsoptimized InstanceAttributeName = "ebsOptimized" - InstanceAttributeNameSriovnetsupport InstanceAttributeName = "sriovNetSupport" - InstanceAttributeNameEnasupport InstanceAttributeName = "enaSupport" - InstanceAttributeNameEnclaveoptions InstanceAttributeName = "enclaveOptions" + InstanceAttributeNameUserData InstanceAttributeName = "userData" + InstanceAttributeNameDisableApiTermination InstanceAttributeName = "disableApiTermination" + InstanceAttributeNameInstanceInitiatedShutdownBehavior InstanceAttributeName = "instanceInitiatedShutdownBehavior" + InstanceAttributeNameRootDeviceName InstanceAttributeName = "rootDeviceName" + InstanceAttributeNameBlockDeviceMapping InstanceAttributeName = "blockDeviceMapping" + InstanceAttributeNameProductCodes InstanceAttributeName = "productCodes" + InstanceAttributeNameSourceDestCheck InstanceAttributeName = "sourceDestCheck" + InstanceAttributeNameGroupSet InstanceAttributeName = "groupSet" + InstanceAttributeNameEbsOptimized InstanceAttributeName = "ebsOptimized" + InstanceAttributeNameSriovNetSupport InstanceAttributeName = "sriovNetSupport" + InstanceAttributeNameEnaSupport InstanceAttributeName = "enaSupport" + InstanceAttributeNameEnclaveOptions InstanceAttributeName = "enclaveOptions" ) // Values returns all known values for InstanceAttributeName. Note that this can be @@ -3224,8 +3224,8 @@ type MoveStatus string // Enum values for MoveStatus const ( - MoveStatusMovingtovpc MoveStatus = "movingToVpc" - MoveStatusRestoringtoclassic MoveStatus = "restoringToClassic" + MoveStatusMovingToVpc MoveStatus = "movingToVpc" + MoveStatusRestoringToClassic MoveStatus = "restoringToClassic" ) // Values returns all known values for MoveStatus. Note that this can be expanded @@ -3285,8 +3285,8 @@ type NetworkInterfaceAttribute string // Enum values for NetworkInterfaceAttribute const ( NetworkInterfaceAttributeDescription NetworkInterfaceAttribute = "description" - NetworkInterfaceAttributeGroupset NetworkInterfaceAttribute = "groupSet" - NetworkInterfaceAttributeSourcedestcheck NetworkInterfaceAttribute = "sourceDestCheck" + NetworkInterfaceAttributeGroupSet NetworkInterfaceAttribute = "groupSet" + NetworkInterfaceAttributeSourceDestCheck NetworkInterfaceAttribute = "sourceDestCheck" NetworkInterfaceAttributeAttachment NetworkInterfaceAttribute = "attachment" ) @@ -3370,7 +3370,7 @@ type NetworkInterfaceType string // Enum values for NetworkInterfaceType const ( NetworkInterfaceTypeInterface NetworkInterfaceType = "interface" - NetworkInterfaceTypeNatgateway NetworkInterfaceType = "natGateway" + NetworkInterfaceTypeNatGateway NetworkInterfaceType = "natGateway" NetworkInterfaceTypeEfa NetworkInterfaceType = "efa" ) @@ -3623,7 +3623,7 @@ type PrincipalType string const ( PrincipalTypeAll PrincipalType = "All" PrincipalTypeService PrincipalType = "Service" - PrincipalTypeOrganizationunit PrincipalType = "OrganizationUnit" + PrincipalTypeOrganizationUnit PrincipalType = "OrganizationUnit" PrincipalTypeAccount PrincipalType = "Account" PrincipalTypeUser PrincipalType = "User" PrincipalTypeRole PrincipalType = "Role" @@ -3829,7 +3829,7 @@ type ResetFpgaImageAttributeName string // Enum values for ResetFpgaImageAttributeName const ( - ResetFpgaImageAttributeNameLoadpermission ResetFpgaImageAttributeName = "loadPermission" + ResetFpgaImageAttributeNameLoadPermission ResetFpgaImageAttributeName = "loadPermission" ) // Values returns all known values for ResetFpgaImageAttributeName. Note that this @@ -3845,7 +3845,7 @@ type ResetImageAttributeName string // Enum values for ResetImageAttributeName const ( - ResetImageAttributeNameLaunchpermission ResetImageAttributeName = "launchPermission" + ResetImageAttributeNameLaunchPermission ResetImageAttributeName = "launchPermission" ) // Values returns all known values for ResetImageAttributeName. Note that this can @@ -4003,9 +4003,9 @@ type RouteOrigin string // Enum values for RouteOrigin const ( - RouteOriginCreateroutetable RouteOrigin = "CreateRouteTable" - RouteOriginCreateroute RouteOrigin = "CreateRoute" - RouteOriginEnablevgwroutepropagation RouteOrigin = "EnableVgwRoutePropagation" + RouteOriginCreateRouteTable RouteOrigin = "CreateRouteTable" + RouteOriginCreateRoute RouteOrigin = "CreateRoute" + RouteOriginEnableVgwRoutePropagation RouteOrigin = "EnableVgwRoutePropagation" ) // Values returns all known values for RouteOrigin. Note that this can be expanded @@ -4146,7 +4146,7 @@ type ServiceType string const ( ServiceTypeInterface ServiceType = "Interface" ServiceTypeGateway ServiceType = "Gateway" - ServiceTypeGatewayloadbalancer ServiceType = "GatewayLoadBalancer" + ServiceTypeGatewayLoadBalancer ServiceType = "GatewayLoadBalancer" ) // Values returns all known values for ServiceType. Note that this can be expanded @@ -4182,8 +4182,8 @@ type SnapshotAttributeName string // Enum values for SnapshotAttributeName const ( - SnapshotAttributeNameProductcodes SnapshotAttributeName = "productCodes" - SnapshotAttributeNameCreatevolumepermission SnapshotAttributeName = "createVolumePermission" + SnapshotAttributeNameProductCodes SnapshotAttributeName = "productCodes" + SnapshotAttributeNameCreateVolumePermission SnapshotAttributeName = "createVolumePermission" ) // Values returns all known values for SnapshotAttributeName. Note that this can be @@ -4303,7 +4303,7 @@ type State string // Enum values for State const ( - StatePendingacceptance State = "PendingAcceptance" + StatePendingAcceptance State = "PendingAcceptance" StatePending State = "Pending" StateAvailable State = "Available" StateDeleting State = "Deleting" @@ -4351,9 +4351,9 @@ type Status string // Enum values for Status const ( - StatusMoveinprogress Status = "MoveInProgress" - StatusInvpc Status = "InVpc" - StatusInclassic Status = "InClassic" + StatusMoveInProgress Status = "MoveInProgress" + StatusInVpc Status = "InVpc" + StatusInClassic Status = "InClassic" ) // Values returns all known values for Status. Note that this can be expanded in @@ -4698,9 +4698,9 @@ type TransitGatewayAttachmentState string // Enum values for TransitGatewayAttachmentState const ( TransitGatewayAttachmentStateInitiating TransitGatewayAttachmentState = "initiating" - TransitGatewayAttachmentStateInitiatingrequest TransitGatewayAttachmentState = "initiatingRequest" - TransitGatewayAttachmentStatePendingacceptance TransitGatewayAttachmentState = "pendingAcceptance" - TransitGatewayAttachmentStateRollingback TransitGatewayAttachmentState = "rollingBack" + TransitGatewayAttachmentStateInitiatingRequest TransitGatewayAttachmentState = "initiatingRequest" + TransitGatewayAttachmentStatePendingAcceptance TransitGatewayAttachmentState = "pendingAcceptance" + TransitGatewayAttachmentStateRollingBack TransitGatewayAttachmentState = "rollingBack" TransitGatewayAttachmentStatePending TransitGatewayAttachmentState = "pending" TransitGatewayAttachmentStateAvailable TransitGatewayAttachmentState = "available" TransitGatewayAttachmentStateModifying TransitGatewayAttachmentState = "modifying" @@ -4761,7 +4761,7 @@ type TransitGatewayMulitcastDomainAssociationState string // Enum values for TransitGatewayMulitcastDomainAssociationState const ( - TransitGatewayMulitcastDomainAssociationStatePendingacceptance TransitGatewayMulitcastDomainAssociationState = "pendingAcceptance" + TransitGatewayMulitcastDomainAssociationStatePendingAcceptance TransitGatewayMulitcastDomainAssociationState = "pendingAcceptance" TransitGatewayMulitcastDomainAssociationStateAssociating TransitGatewayMulitcastDomainAssociationState = "associating" TransitGatewayMulitcastDomainAssociationStateAssociated TransitGatewayMulitcastDomainAssociationState = "associated" TransitGatewayMulitcastDomainAssociationStateDisassociating TransitGatewayMulitcastDomainAssociationState = "disassociating" @@ -5090,8 +5090,8 @@ type VolumeAttributeName string // Enum values for VolumeAttributeName const ( - VolumeAttributeNameAutoenableio VolumeAttributeName = "autoEnableIO" - VolumeAttributeNameProductcodes VolumeAttributeName = "productCodes" + VolumeAttributeNameAutoEnableIO VolumeAttributeName = "autoEnableIO" + VolumeAttributeNameProductCodes VolumeAttributeName = "productCodes" ) // Values returns all known values for VolumeAttributeName. Note that this can be @@ -5222,8 +5222,8 @@ type VpcAttributeName string // Enum values for VpcAttributeName const ( - VpcAttributeNameEnablednssupport VpcAttributeName = "enableDnsSupport" - VpcAttributeNameEnablednshostnames VpcAttributeName = "enableDnsHostnames" + VpcAttributeNameEnableDnsSupport VpcAttributeName = "enableDnsSupport" + VpcAttributeNameEnableDnsHostnames VpcAttributeName = "enableDnsHostnames" ) // Values returns all known values for VpcAttributeName. Note that this can be @@ -5268,7 +5268,7 @@ type VpcEndpointType string const ( VpcEndpointTypeInterface VpcEndpointType = "Interface" VpcEndpointTypeGateway VpcEndpointType = "Gateway" - VpcEndpointTypeGatewayloadbalancer VpcEndpointType = "GatewayLoadBalancer" + VpcEndpointTypeGatewayLoadBalancer VpcEndpointType = "GatewayLoadBalancer" ) // Values returns all known values for VpcEndpointType. Note that this can be diff --git a/service/ec2instanceconnect/api_client.go b/service/ec2instanceconnect/api_client.go index 96e0996418c..b3373b9b26f 100644 --- a/service/ec2instanceconnect/api_client.go +++ b/service/ec2instanceconnect/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/ecr/api_client.go b/service/ecr/api_client.go index 2cb246bc6bb..7504ac19cc2 100644 --- a/service/ecr/api_client.go +++ b/service/ecr/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/ecr/types/enums.go b/service/ecr/types/enums.go index f9c87a2b415..f9a881823ed 100644 --- a/service/ecr/types/enums.go +++ b/service/ecr/types/enums.go @@ -66,13 +66,13 @@ type ImageFailureCode string // Enum values for ImageFailureCode const ( - ImageFailureCodeInvalidimagedigest ImageFailureCode = "InvalidImageDigest" - ImageFailureCodeInvalidimagetag ImageFailureCode = "InvalidImageTag" - ImageFailureCodeImagetagdoesnotmatchdigest ImageFailureCode = "ImageTagDoesNotMatchDigest" - ImageFailureCodeImagenotfound ImageFailureCode = "ImageNotFound" - ImageFailureCodeMissingdigestandtag ImageFailureCode = "MissingDigestAndTag" - ImageFailureCodeImagereferencedbymanifestlist ImageFailureCode = "ImageReferencedByManifestList" - ImageFailureCodeKmserror ImageFailureCode = "KmsError" + ImageFailureCodeInvalidImageDigest ImageFailureCode = "InvalidImageDigest" + ImageFailureCodeInvalidImageTag ImageFailureCode = "InvalidImageTag" + ImageFailureCodeImageTagDoesNotMatchDigest ImageFailureCode = "ImageTagDoesNotMatchDigest" + ImageFailureCodeImageNotFound ImageFailureCode = "ImageNotFound" + ImageFailureCodeMissingDigestAndTag ImageFailureCode = "MissingDigestAndTag" + ImageFailureCodeImageReferencedByManifestList ImageFailureCode = "ImageReferencedByManifestList" + ImageFailureCodeKmsError ImageFailureCode = "KmsError" ) // Values returns all known values for ImageFailureCode. Note that this can be @@ -130,8 +130,8 @@ type LayerFailureCode string // Enum values for LayerFailureCode const ( - LayerFailureCodeInvalidlayerdigest LayerFailureCode = "InvalidLayerDigest" - LayerFailureCodeMissinglayerdigest LayerFailureCode = "MissingLayerDigest" + LayerFailureCodeInvalidLayerDigest LayerFailureCode = "InvalidLayerDigest" + LayerFailureCodeMissingLayerDigest LayerFailureCode = "MissingLayerDigest" ) // Values returns all known values for LayerFailureCode. Note that this can be diff --git a/service/ecrpublic/api_client.go b/service/ecrpublic/api_client.go index 15b88e70239..30f15a92fa1 100644 --- a/service/ecrpublic/api_client.go +++ b/service/ecrpublic/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/ecrpublic/types/enums.go b/service/ecrpublic/types/enums.go index 419bed0618e..d80a0524475 100644 --- a/service/ecrpublic/types/enums.go +++ b/service/ecrpublic/types/enums.go @@ -6,13 +6,13 @@ type ImageFailureCode string // Enum values for ImageFailureCode const ( - ImageFailureCodeInvalidimagedigest ImageFailureCode = "InvalidImageDigest" - ImageFailureCodeInvalidimagetag ImageFailureCode = "InvalidImageTag" - ImageFailureCodeImagetagdoesnotmatchdigest ImageFailureCode = "ImageTagDoesNotMatchDigest" - ImageFailureCodeImagenotfound ImageFailureCode = "ImageNotFound" - ImageFailureCodeMissingdigestandtag ImageFailureCode = "MissingDigestAndTag" - ImageFailureCodeImagereferencedbymanifestlist ImageFailureCode = "ImageReferencedByManifestList" - ImageFailureCodeKmserror ImageFailureCode = "KmsError" + ImageFailureCodeInvalidImageDigest ImageFailureCode = "InvalidImageDigest" + ImageFailureCodeInvalidImageTag ImageFailureCode = "InvalidImageTag" + ImageFailureCodeImageTagDoesNotMatchDigest ImageFailureCode = "ImageTagDoesNotMatchDigest" + ImageFailureCodeImageNotFound ImageFailureCode = "ImageNotFound" + ImageFailureCodeMissingDigestAndTag ImageFailureCode = "MissingDigestAndTag" + ImageFailureCodeImageReferencedByManifestList ImageFailureCode = "ImageReferencedByManifestList" + ImageFailureCodeKmsError ImageFailureCode = "KmsError" ) // Values returns all known values for ImageFailureCode. Note that this can be @@ -52,8 +52,8 @@ type LayerFailureCode string // Enum values for LayerFailureCode const ( - LayerFailureCodeInvalidlayerdigest LayerFailureCode = "InvalidLayerDigest" - LayerFailureCodeMissinglayerdigest LayerFailureCode = "MissingLayerDigest" + LayerFailureCodeInvalidLayerDigest LayerFailureCode = "InvalidLayerDigest" + LayerFailureCodeMissingLayerDigest LayerFailureCode = "MissingLayerDigest" ) // Values returns all known values for LayerFailureCode. Note that this can be diff --git a/service/ecs/api_client.go b/service/ecs/api_client.go index aa36ec0641f..fbf11aa248c 100644 --- a/service/ecs/api_client.go +++ b/service/ecs/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/efs/api_client.go b/service/efs/api_client.go index 31567f3a295..7335b070fb2 100644 --- a/service/efs/api_client.go +++ b/service/efs/api_client.go @@ -97,6 +97,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/eks/api_client.go b/service/eks/api_client.go index aacf1f8904f..70c9c00ac06 100644 --- a/service/eks/api_client.go +++ b/service/eks/api_client.go @@ -97,6 +97,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/elasticache/api_client.go b/service/elasticache/api_client.go index e064a8c5d88..a1ede6add69 100644 --- a/service/elasticache/api_client.go +++ b/service/elasticache/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/elasticbeanstalk/api_client.go b/service/elasticbeanstalk/api_client.go index da8e4eafb7b..c9d4a9faa79 100644 --- a/service/elasticbeanstalk/api_client.go +++ b/service/elasticbeanstalk/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/elasticbeanstalk/types/enums.go b/service/elasticbeanstalk/types/enums.go index 22c47dd0f74..7a2814a6718 100644 --- a/service/elasticbeanstalk/types/enums.go +++ b/service/elasticbeanstalk/types/enums.go @@ -48,8 +48,8 @@ type ActionType string // Enum values for ActionType const ( - ActionTypeInstancerefresh ActionType = "InstanceRefresh" - ActionTypePlatformupdate ActionType = "PlatformUpdate" + ActionTypeInstanceRefresh ActionType = "InstanceRefresh" + ActionTypePlatformUpdate ActionType = "PlatformUpdate" ActionTypeUnknown ActionType = "Unknown" ) @@ -176,11 +176,11 @@ const ( EnvironmentHealthAttributeStatus EnvironmentHealthAttribute = "Status" EnvironmentHealthAttributeColor EnvironmentHealthAttribute = "Color" EnvironmentHealthAttributeCauses EnvironmentHealthAttribute = "Causes" - EnvironmentHealthAttributeApplicationmetrics EnvironmentHealthAttribute = "ApplicationMetrics" - EnvironmentHealthAttributeInstanceshealth EnvironmentHealthAttribute = "InstancesHealth" + EnvironmentHealthAttributeApplicationMetrics EnvironmentHealthAttribute = "ApplicationMetrics" + EnvironmentHealthAttributeInstancesHealth EnvironmentHealthAttribute = "InstancesHealth" EnvironmentHealthAttributeAll EnvironmentHealthAttribute = "All" - EnvironmentHealthAttributeHealthstatus EnvironmentHealthAttribute = "HealthStatus" - EnvironmentHealthAttributeRefreshedat EnvironmentHealthAttribute = "RefreshedAt" + EnvironmentHealthAttributeHealthStatus EnvironmentHealthAttribute = "HealthStatus" + EnvironmentHealthAttributeRefreshedAt EnvironmentHealthAttribute = "RefreshedAt" ) // Values returns all known values for EnvironmentHealthAttribute. Note that this @@ -203,7 +203,7 @@ type EnvironmentHealthStatus string // Enum values for EnvironmentHealthStatus const ( - EnvironmentHealthStatusNodata EnvironmentHealthStatus = "NoData" + EnvironmentHealthStatusNoData EnvironmentHealthStatus = "NoData" EnvironmentHealthStatusUnknown EnvironmentHealthStatus = "Unknown" EnvironmentHealthStatusPending EnvironmentHealthStatus = "Pending" EnvironmentHealthStatusOk EnvironmentHealthStatus = "Ok" @@ -256,8 +256,8 @@ const ( EnvironmentStatusAborting EnvironmentStatus = "Aborting" EnvironmentStatusLaunching EnvironmentStatus = "Launching" EnvironmentStatusUpdating EnvironmentStatus = "Updating" - EnvironmentStatusLinkingfrom EnvironmentStatus = "LinkingFrom" - EnvironmentStatusLinkingto EnvironmentStatus = "LinkingTo" + EnvironmentStatusLinkingFrom EnvironmentStatus = "LinkingFrom" + EnvironmentStatusLinkingTo EnvironmentStatus = "LinkingTo" EnvironmentStatusReady EnvironmentStatus = "Ready" EnvironmentStatusTerminating EnvironmentStatus = "Terminating" EnvironmentStatusTerminated EnvironmentStatus = "Terminated" @@ -309,13 +309,13 @@ type FailureType string // Enum values for FailureType const ( - FailureTypeUpdatecancelled FailureType = "UpdateCancelled" - FailureTypeCancellationfailed FailureType = "CancellationFailed" - FailureTypeRollbackfailed FailureType = "RollbackFailed" - FailureTypeRollbacksuccessful FailureType = "RollbackSuccessful" - FailureTypeInternalfailure FailureType = "InternalFailure" - FailureTypeInvalidenvironmentstate FailureType = "InvalidEnvironmentState" - FailureTypePermissionserror FailureType = "PermissionsError" + FailureTypeUpdateCancelled FailureType = "UpdateCancelled" + FailureTypeCancellationFailed FailureType = "CancellationFailed" + FailureTypeRollbackFailed FailureType = "RollbackFailed" + FailureTypeRollbackSuccessful FailureType = "RollbackSuccessful" + FailureTypeInternalFailure FailureType = "InternalFailure" + FailureTypeInvalidEnvironmentState FailureType = "InvalidEnvironmentState" + FailureTypePermissionsError FailureType = "PermissionsError" ) // Values returns all known values for FailureType. Note that this can be expanded @@ -337,16 +337,16 @@ type InstancesHealthAttribute string // Enum values for InstancesHealthAttribute const ( - InstancesHealthAttributeHealthstatus InstancesHealthAttribute = "HealthStatus" + InstancesHealthAttributeHealthStatus InstancesHealthAttribute = "HealthStatus" InstancesHealthAttributeColor InstancesHealthAttribute = "Color" InstancesHealthAttributeCauses InstancesHealthAttribute = "Causes" - InstancesHealthAttributeApplicationmetrics InstancesHealthAttribute = "ApplicationMetrics" - InstancesHealthAttributeRefreshedat InstancesHealthAttribute = "RefreshedAt" - InstancesHealthAttributeLaunchedat InstancesHealthAttribute = "LaunchedAt" + InstancesHealthAttributeApplicationMetrics InstancesHealthAttribute = "ApplicationMetrics" + InstancesHealthAttributeRefreshedAt InstancesHealthAttribute = "RefreshedAt" + InstancesHealthAttributeLaunchedAt InstancesHealthAttribute = "LaunchedAt" InstancesHealthAttributeSystem InstancesHealthAttribute = "System" InstancesHealthAttributeDeployment InstancesHealthAttribute = "Deployment" - InstancesHealthAttributeAvailabilityzone InstancesHealthAttribute = "AvailabilityZone" - InstancesHealthAttributeInstancetype InstancesHealthAttribute = "InstanceType" + InstancesHealthAttributeAvailabilityZone InstancesHealthAttribute = "AvailabilityZone" + InstancesHealthAttributeInstanceType InstancesHealthAttribute = "InstanceType" InstancesHealthAttributeAll InstancesHealthAttribute = "All" ) @@ -397,7 +397,7 @@ type SourceRepository string // Enum values for SourceRepository const ( - SourceRepositoryCodecommit SourceRepository = "CodeCommit" + SourceRepositoryCodeCommit SourceRepository = "CodeCommit" SourceRepositoryS3 SourceRepository = "S3" ) diff --git a/service/elasticinference/api_client.go b/service/elasticinference/api_client.go index ddd44a70ee1..16d26f235ff 100644 --- a/service/elasticinference/api_client.go +++ b/service/elasticinference/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/elasticloadbalancing/api_client.go b/service/elasticloadbalancing/api_client.go index 445e75f0c64..64dcb86df32 100644 --- a/service/elasticloadbalancing/api_client.go +++ b/service/elasticloadbalancing/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/elasticloadbalancingv2/api_client.go b/service/elasticloadbalancingv2/api_client.go index c25bd68e827..7b1c516bb6c 100644 --- a/service/elasticloadbalancingv2/api_client.go +++ b/service/elasticloadbalancingv2/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/elasticsearchservice/api_client.go b/service/elasticsearchservice/api_client.go index 62c2fd21405..ce6d73584ac 100644 --- a/service/elasticsearchservice/api_client.go +++ b/service/elasticsearchservice/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/elasticsearchservice/types/enums.go b/service/elasticsearchservice/types/enums.go index d91eb3b6f96..fb439a2f02a 100644 --- a/service/elasticsearchservice/types/enums.go +++ b/service/elasticsearchservice/types/enums.go @@ -30,9 +30,9 @@ type DescribePackagesFilterName string // Enum values for DescribePackagesFilterName const ( - DescribePackagesFilterNamePackageid DescribePackagesFilterName = "PackageID" - DescribePackagesFilterNamePackagename DescribePackagesFilterName = "PackageName" - DescribePackagesFilterNamePackagestatus DescribePackagesFilterName = "PackageStatus" + DescribePackagesFilterNamePackageID DescribePackagesFilterName = "PackageID" + DescribePackagesFilterNamePackageName DescribePackagesFilterName = "PackageName" + DescribePackagesFilterNamePackageStatus DescribePackagesFilterName = "PackageStatus" ) // Values returns all known values for DescribePackagesFilterName. Note that this @@ -271,7 +271,7 @@ type OptionState string // Enum values for OptionState const ( - OptionStateRequiresindexdocuments OptionState = "RequiresIndexDocuments" + OptionStateRequiresIndexDocuments OptionState = "RequiresIndexDocuments" OptionStateProcessing OptionState = "Processing" OptionStateActive OptionState = "Active" ) diff --git a/service/elastictranscoder/api_client.go b/service/elastictranscoder/api_client.go index 81de55c962d..148e7b075e2 100644 --- a/service/elastictranscoder/api_client.go +++ b/service/elastictranscoder/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/emr/api_client.go b/service/emr/api_client.go index cc06689db18..46e574dabff 100644 --- a/service/emr/api_client.go +++ b/service/emr/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/emr/types/enums.go b/service/emr/types/enums.go index f817fff7abc..4c76e352fca 100644 --- a/service/emr/types/enums.go +++ b/service/emr/types/enums.go @@ -211,7 +211,7 @@ type ComputeLimitsUnitType string // Enum values for ComputeLimitsUnitType const ( - ComputeLimitsUnitTypeInstancefleetunits ComputeLimitsUnitType = "InstanceFleetUnits" + ComputeLimitsUnitTypeInstanceFleetUnits ComputeLimitsUnitType = "InstanceFleetUnits" ComputeLimitsUnitTypeInstances ComputeLimitsUnitType = "Instances" ComputeLimitsUnitTypeVcpu ComputeLimitsUnitType = "VCPU" ) diff --git a/service/emrcontainers/api_client.go b/service/emrcontainers/api_client.go index 1d74cb24d36..25785b28932 100644 --- a/service/emrcontainers/api_client.go +++ b/service/emrcontainers/api_client.go @@ -97,6 +97,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/eventbridge/api_client.go b/service/eventbridge/api_client.go index 1625cb892be..e5d61fd456c 100644 --- a/service/eventbridge/api_client.go +++ b/service/eventbridge/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/firehose/api_client.go b/service/firehose/api_client.go index 84a46f3a705..162cf555c7d 100644 --- a/service/firehose/api_client.go +++ b/service/firehose/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/firehose/types/enums.go b/service/firehose/types/enums.go index 89582bc19a1..8c746036a69 100644 --- a/service/firehose/types/enums.go +++ b/service/firehose/types/enums.go @@ -143,8 +143,8 @@ type DeliveryStreamType string // Enum values for DeliveryStreamType const ( - DeliveryStreamTypeDirectput DeliveryStreamType = "DirectPut" - DeliveryStreamTypeKinesisstreamassource DeliveryStreamType = "KinesisStreamAsSource" + DeliveryStreamTypeDirectPut DeliveryStreamType = "DirectPut" + DeliveryStreamTypeKinesisStreamAsSource DeliveryStreamType = "KinesisStreamAsSource" ) // Values returns all known values for DeliveryStreamType. Note that this can be @@ -161,11 +161,11 @@ type ElasticsearchIndexRotationPeriod string // Enum values for ElasticsearchIndexRotationPeriod const ( - ElasticsearchIndexRotationPeriodNorotation ElasticsearchIndexRotationPeriod = "NoRotation" - ElasticsearchIndexRotationPeriodOnehour ElasticsearchIndexRotationPeriod = "OneHour" - ElasticsearchIndexRotationPeriodOneday ElasticsearchIndexRotationPeriod = "OneDay" - ElasticsearchIndexRotationPeriodOneweek ElasticsearchIndexRotationPeriod = "OneWeek" - ElasticsearchIndexRotationPeriodOnemonth ElasticsearchIndexRotationPeriod = "OneMonth" + ElasticsearchIndexRotationPeriodNoRotation ElasticsearchIndexRotationPeriod = "NoRotation" + ElasticsearchIndexRotationPeriodOneHour ElasticsearchIndexRotationPeriod = "OneHour" + ElasticsearchIndexRotationPeriodOneDay ElasticsearchIndexRotationPeriod = "OneDay" + ElasticsearchIndexRotationPeriodOneWeek ElasticsearchIndexRotationPeriod = "OneWeek" + ElasticsearchIndexRotationPeriodOneMonth ElasticsearchIndexRotationPeriod = "OneMonth" ) // Values returns all known values for ElasticsearchIndexRotationPeriod. Note that @@ -186,8 +186,8 @@ type ElasticsearchS3BackupMode string // Enum values for ElasticsearchS3BackupMode const ( - ElasticsearchS3BackupModeFaileddocumentsonly ElasticsearchS3BackupMode = "FailedDocumentsOnly" - ElasticsearchS3BackupModeAlldocuments ElasticsearchS3BackupMode = "AllDocuments" + ElasticsearchS3BackupModeFailedDocumentsOnly ElasticsearchS3BackupMode = "FailedDocumentsOnly" + ElasticsearchS3BackupModeAllDocuments ElasticsearchS3BackupMode = "AllDocuments" ) // Values returns all known values for ElasticsearchS3BackupMode. Note that this @@ -222,8 +222,8 @@ type HttpEndpointS3BackupMode string // Enum values for HttpEndpointS3BackupMode const ( - HttpEndpointS3BackupModeFaileddataonly HttpEndpointS3BackupMode = "FailedDataOnly" - HttpEndpointS3BackupModeAlldata HttpEndpointS3BackupMode = "AllData" + HttpEndpointS3BackupModeFailedDataOnly HttpEndpointS3BackupMode = "FailedDataOnly" + HttpEndpointS3BackupModeAllData HttpEndpointS3BackupMode = "AllData" ) // Values returns all known values for HttpEndpointS3BackupMode. Note that this can @@ -258,7 +258,7 @@ type NoEncryptionConfig string // Enum values for NoEncryptionConfig const ( - NoEncryptionConfigNoencryption NoEncryptionConfig = "NoEncryption" + NoEncryptionConfigNoEncryption NoEncryptionConfig = "NoEncryption" ) // Values returns all known values for NoEncryptionConfig. Note that this can be @@ -426,8 +426,8 @@ type SplunkS3BackupMode string // Enum values for SplunkS3BackupMode const ( - SplunkS3BackupModeFailedeventsonly SplunkS3BackupMode = "FailedEventsOnly" - SplunkS3BackupModeAllevents SplunkS3BackupMode = "AllEvents" + SplunkS3BackupModeFailedEventsOnly SplunkS3BackupMode = "FailedEventsOnly" + SplunkS3BackupModeAllEvents SplunkS3BackupMode = "AllEvents" ) // Values returns all known values for SplunkS3BackupMode. Note that this can be diff --git a/service/fms/api_client.go b/service/fms/api_client.go index 0f7d91e9ac7..28f45fe8ddb 100644 --- a/service/fms/api_client.go +++ b/service/fms/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/fms/types/enums.go b/service/fms/types/enums.go index 4e84ff10e0a..17ab6ea2abe 100644 --- a/service/fms/types/enums.go +++ b/service/fms/types/enums.go @@ -8,7 +8,7 @@ type AccountRoleStatus string const ( AccountRoleStatusReady AccountRoleStatus = "READY" AccountRoleStatusCreating AccountRoleStatus = "CREATING" - AccountRoleStatusPendingdeletion AccountRoleStatus = "PENDING_DELETION" + AccountRoleStatusPendingDeletion AccountRoleStatus = "PENDING_DELETION" AccountRoleStatusDeleting AccountRoleStatus = "DELETING" AccountRoleStatusDeleted AccountRoleStatus = "DELETED" ) @@ -48,10 +48,10 @@ type DependentServiceName string // Enum values for DependentServiceName const ( - DependentServiceNameAwsconfig DependentServiceName = "AWSCONFIG" + DependentServiceNameAWSConfig DependentServiceName = "AWSCONFIG" DependentServiceNameAwswaf DependentServiceName = "AWSWAF" - DependentServiceNameAwsshieldadvanced DependentServiceName = "AWSSHIELD_ADVANCED" - DependentServiceNameAwsvirtualprivatecloud DependentServiceName = "AWSVPC" + DependentServiceNameAWSShieldAdvanced DependentServiceName = "AWSSHIELD_ADVANCED" + DependentServiceNameAWSVirtualPrivateCloud DependentServiceName = "AWSVPC" ) // Values returns all known values for DependentServiceName. Note that this can be @@ -71,7 +71,7 @@ type PolicyComplianceStatusType string // Enum values for PolicyComplianceStatusType const ( PolicyComplianceStatusTypeCompliant PolicyComplianceStatusType = "COMPLIANT" - PolicyComplianceStatusTypeNoncompliant PolicyComplianceStatusType = "NON_COMPLIANT" + PolicyComplianceStatusTypeNonCompliant PolicyComplianceStatusType = "NON_COMPLIANT" ) // Values returns all known values for PolicyComplianceStatusType. Note that this @@ -134,19 +134,19 @@ type ViolationReason string // Enum values for ViolationReason const ( - ViolationReasonWebaclmissingrulegroup ViolationReason = "WEB_ACL_MISSING_RULE_GROUP" - ViolationReasonResourcemissingwebacl ViolationReason = "RESOURCE_MISSING_WEB_ACL" - ViolationReasonResourceincorrectwebacl ViolationReason = "RESOURCE_INCORRECT_WEB_ACL" - ViolationReasonResourcemissingshieldprotection ViolationReason = "RESOURCE_MISSING_SHIELD_PROTECTION" - ViolationReasonResourcemissingwebaclorshieldprotection ViolationReason = "RESOURCE_MISSING_WEB_ACL_OR_SHIELD_PROTECTION" - ViolationReasonResourcemissingsecuritygroup ViolationReason = "RESOURCE_MISSING_SECURITY_GROUP" - ViolationReasonResourceviolatesauditsecuritygroup ViolationReason = "RESOURCE_VIOLATES_AUDIT_SECURITY_GROUP" - ViolationReasonSecuritygroupunused ViolationReason = "SECURITY_GROUP_UNUSED" - ViolationReasonSecuritygroupredundant ViolationReason = "SECURITY_GROUP_REDUNDANT" - ViolationReasonMissingfirewall ViolationReason = "MISSING_FIREWALL" - ViolationReasonMissingfirewallsubnetinaz ViolationReason = "MISSING_FIREWALL_SUBNET_IN_AZ" - ViolationReasonMissingexpectedroutetable ViolationReason = "MISSING_EXPECTED_ROUTE_TABLE" - ViolationReasonNetworkfirewallpolicymodified ViolationReason = "NETWORK_FIREWALL_POLICY_MODIFIED" + ViolationReasonWebAclMissingRuleGroup ViolationReason = "WEB_ACL_MISSING_RULE_GROUP" + ViolationReasonResourceMissingWebAcl ViolationReason = "RESOURCE_MISSING_WEB_ACL" + ViolationReasonResourceIncorrectWebAcl ViolationReason = "RESOURCE_INCORRECT_WEB_ACL" + ViolationReasonResourceMissingShieldProtection ViolationReason = "RESOURCE_MISSING_SHIELD_PROTECTION" + ViolationReasonResourceMissingWebaclOrShieldProtection ViolationReason = "RESOURCE_MISSING_WEB_ACL_OR_SHIELD_PROTECTION" + ViolationReasonResourceMissingSecurityGroup ViolationReason = "RESOURCE_MISSING_SECURITY_GROUP" + ViolationReasonResourceViolatesAuditSecurityGroup ViolationReason = "RESOURCE_VIOLATES_AUDIT_SECURITY_GROUP" + ViolationReasonSecurityGroupUnused ViolationReason = "SECURITY_GROUP_UNUSED" + ViolationReasonSecurityGroupRedundant ViolationReason = "SECURITY_GROUP_REDUNDANT" + ViolationReasonMissingFirewall ViolationReason = "MISSING_FIREWALL" + ViolationReasonMissingFirewallSubnetInAZ ViolationReason = "MISSING_FIREWALL_SUBNET_IN_AZ" + ViolationReasonMissingExpectedRouteTable ViolationReason = "MISSING_EXPECTED_ROUTE_TABLE" + ViolationReasonNetworkFirewallPolicyModified ViolationReason = "NETWORK_FIREWALL_POLICY_MODIFIED" ) // Values returns all known values for ViolationReason. Note that this can be diff --git a/service/forecast/api_client.go b/service/forecast/api_client.go index 5106fd604d7..160eeabc316 100644 --- a/service/forecast/api_client.go +++ b/service/forecast/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/forecast/types/enums.go b/service/forecast/types/enums.go index a18c95ba592..e8053a637cb 100644 --- a/service/forecast/types/enums.go +++ b/service/forecast/types/enums.go @@ -133,7 +133,7 @@ const ( ScalingTypeAuto ScalingType = "Auto" ScalingTypeLinear ScalingType = "Linear" ScalingTypeLogarithmic ScalingType = "Logarithmic" - ScalingTypeReverselogarithmic ScalingType = "ReverseLogarithmic" + ScalingTypeReverseLogarithmic ScalingType = "ReverseLogarithmic" ) // Values returns all known values for ScalingType. Note that this can be expanded diff --git a/service/forecastquery/api_client.go b/service/forecastquery/api_client.go index 89b6b45aff7..0a674270d16 100644 --- a/service/forecastquery/api_client.go +++ b/service/forecastquery/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/frauddetector/api_client.go b/service/frauddetector/api_client.go index 774e5235154..56d2246511f 100644 --- a/service/frauddetector/api_client.go +++ b/service/frauddetector/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/fsx/api_client.go b/service/fsx/api_client.go index c4dcac55c60..ac566f0ec5d 100644 --- a/service/fsx/api_client.go +++ b/service/fsx/api_client.go @@ -96,6 +96,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/gamelift/api_client.go b/service/gamelift/api_client.go index f84ba4bf46f..425a92ee4f3 100644 --- a/service/gamelift/api_client.go +++ b/service/gamelift/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/gamelift/types/enums.go b/service/gamelift/types/enums.go index 96d56f35d0f..4f943f4fd90 100644 --- a/service/gamelift/types/enums.go +++ b/service/gamelift/types/enums.go @@ -100,10 +100,10 @@ type ComparisonOperatorType string // Enum values for ComparisonOperatorType const ( - ComparisonOperatorTypeGreaterthanorequaltothreshold ComparisonOperatorType = "GreaterThanOrEqualToThreshold" - ComparisonOperatorTypeGreaterthanthreshold ComparisonOperatorType = "GreaterThanThreshold" - ComparisonOperatorTypeLessthanthreshold ComparisonOperatorType = "LessThanThreshold" - ComparisonOperatorTypeLessthanorequaltothreshold ComparisonOperatorType = "LessThanOrEqualToThreshold" + ComparisonOperatorTypeGreaterThanOrEqualToThreshold ComparisonOperatorType = "GreaterThanOrEqualToThreshold" + ComparisonOperatorTypeGreaterThanThreshold ComparisonOperatorType = "GreaterThanThreshold" + ComparisonOperatorTypeLessThanThreshold ComparisonOperatorType = "LessThanThreshold" + ComparisonOperatorTypeLessThanOrEqualToThreshold ComparisonOperatorType = "LessThanOrEqualToThreshold" ) // Values returns all known values for ComparisonOperatorType. Note that this can @@ -380,7 +380,7 @@ type FleetAction string // Enum values for FleetAction const ( - FleetActionAutoscaling FleetAction = "AUTO_SCALING" + FleetActionAutoScaling FleetAction = "AUTO_SCALING" ) // Values returns all known values for FleetAction. Note that this can be expanded @@ -428,7 +428,7 @@ type FleetType string // Enum values for FleetType const ( - FleetTypeOndemand FleetType = "ON_DEMAND" + FleetTypeOnDemand FleetType = "ON_DEMAND" FleetTypeSpot FleetType = "SPOT" ) @@ -843,17 +843,17 @@ type MetricName string // Enum values for MetricName const ( - MetricNameActivatinggamesessions MetricName = "ActivatingGameSessions" - MetricNameActivegamesessions MetricName = "ActiveGameSessions" - MetricNameActiveinstances MetricName = "ActiveInstances" - MetricNameAvailablegamesessions MetricName = "AvailableGameSessions" - MetricNameAvailableplayersessions MetricName = "AvailablePlayerSessions" - MetricNameCurrentplayersessions MetricName = "CurrentPlayerSessions" - MetricNameIdleinstances MetricName = "IdleInstances" - MetricNamePercentavailablegamesessions MetricName = "PercentAvailableGameSessions" - MetricNamePercentidleinstances MetricName = "PercentIdleInstances" - MetricNameQueuedepth MetricName = "QueueDepth" - MetricNameWaittime MetricName = "WaitTime" + MetricNameActivatingGameSessions MetricName = "ActivatingGameSessions" + MetricNameActiveGameSessions MetricName = "ActiveGameSessions" + MetricNameActiveInstances MetricName = "ActiveInstances" + MetricNameAvailableGameSessions MetricName = "AvailableGameSessions" + MetricNameAvailablePlayerSessions MetricName = "AvailablePlayerSessions" + MetricNameCurrentPlayerSessions MetricName = "CurrentPlayerSessions" + MetricNameIdleInstances MetricName = "IdleInstances" + MetricNamePercentAvailableGameSessions MetricName = "PercentAvailableGameSessions" + MetricNamePercentIdleInstances MetricName = "PercentIdleInstances" + MetricNameQueueDepth MetricName = "QueueDepth" + MetricNameWaitTime MetricName = "WaitTime" ) // Values returns all known values for MetricName. Note that this can be expanded @@ -939,8 +939,8 @@ type PolicyType string // Enum values for PolicyType const ( - PolicyTypeRulebased PolicyType = "RuleBased" - PolicyTypeTargetbased PolicyType = "TargetBased" + PolicyTypeRuleBased PolicyType = "RuleBased" + PolicyTypeTargetBased PolicyType = "TargetBased" ) // Values returns all known values for PolicyType. Note that this can be expanded @@ -957,8 +957,8 @@ type ProtectionPolicy string // Enum values for ProtectionPolicy const ( - ProtectionPolicyNoprotection ProtectionPolicy = "NoProtection" - ProtectionPolicyFullprotection ProtectionPolicy = "FullProtection" + ProtectionPolicyNoProtection ProtectionPolicy = "NoProtection" + ProtectionPolicyFullProtection ProtectionPolicy = "FullProtection" ) // Values returns all known values for ProtectionPolicy. Note that this can be @@ -993,9 +993,9 @@ type ScalingAdjustmentType string // Enum values for ScalingAdjustmentType const ( - ScalingAdjustmentTypeChangeincapacity ScalingAdjustmentType = "ChangeInCapacity" - ScalingAdjustmentTypeExactcapacity ScalingAdjustmentType = "ExactCapacity" - ScalingAdjustmentTypePercentchangeincapacity ScalingAdjustmentType = "PercentChangeInCapacity" + ScalingAdjustmentTypeChangeInCapacity ScalingAdjustmentType = "ChangeInCapacity" + ScalingAdjustmentTypeExactCapacity ScalingAdjustmentType = "ExactCapacity" + ScalingAdjustmentTypePercentChangeInCapacity ScalingAdjustmentType = "PercentChangeInCapacity" ) // Values returns all known values for ScalingAdjustmentType. Note that this can be diff --git a/service/glacier/api_client.go b/service/glacier/api_client.go index 356ecd98668..27fe2f41f97 100644 --- a/service/glacier/api_client.go +++ b/service/glacier/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/glacier/types/enums.go b/service/glacier/types/enums.go index e052fb1637c..e93a88cd4f5 100644 --- a/service/glacier/types/enums.go +++ b/service/glacier/types/enums.go @@ -6,8 +6,8 @@ type ActionCode string // Enum values for ActionCode const ( - ActionCodeArchiveretrieval ActionCode = "ArchiveRetrieval" - ActionCodeInventoryretrieval ActionCode = "InventoryRetrieval" + ActionCodeArchiveRetrieval ActionCode = "ArchiveRetrieval" + ActionCodeInventoryRetrieval ActionCode = "InventoryRetrieval" ActionCodeSelect ActionCode = "Select" ) @@ -27,12 +27,12 @@ type CannedACL string // Enum values for CannedACL const ( CannedACLPrivate CannedACL = "private" - CannedACLPublicread CannedACL = "public-read" - CannedACLPublicreadwrite CannedACL = "public-read-write" - CannedACLAwsexecread CannedACL = "aws-exec-read" - CannedACLAuthenticatedread CannedACL = "authenticated-read" - CannedACLBucketownerread CannedACL = "bucket-owner-read" - CannedACLBucketownerfullcontrol CannedACL = "bucket-owner-full-control" + CannedACLPublicRead CannedACL = "public-read" + CannedACLPublicReadWrite CannedACL = "public-read-write" + CannedACLAwsExecRead CannedACL = "aws-exec-read" + CannedACLAuthenticatedRead CannedACL = "authenticated-read" + CannedACLBucketOwnerRead CannedACL = "bucket-owner-read" + CannedACLBucketOwnerFullControl CannedACL = "bucket-owner-full-control" ) // Values returns all known values for CannedACL. Note that this can be expanded in @@ -133,7 +133,7 @@ type QuoteFields string // Enum values for QuoteFields const ( QuoteFieldsAlways QuoteFields = "ALWAYS" - QuoteFieldsAsneeded QuoteFields = "ASNEEDED" + QuoteFieldsAsNeeded QuoteFields = "ASNEEDED" ) // Values returns all known values for QuoteFields. Note that this can be expanded @@ -150,7 +150,7 @@ type StatusCode string // Enum values for StatusCode const ( - StatusCodeInprogress StatusCode = "InProgress" + StatusCodeInProgress StatusCode = "InProgress" StatusCodeSucceeded StatusCode = "Succeeded" StatusCodeFailed StatusCode = "Failed" ) @@ -171,8 +171,8 @@ type StorageClass string // Enum values for StorageClass const ( StorageClassStandard StorageClass = "STANDARD" - StorageClassReducedredundancy StorageClass = "REDUCED_REDUNDANCY" - StorageClassStandardinfrequentaccess StorageClass = "STANDARD_IA" + StorageClassReducedRedundancy StorageClass = "REDUCED_REDUNDANCY" + StorageClassStandardInfrequentAccess StorageClass = "STANDARD_IA" ) // Values returns all known values for StorageClass. Note that this can be expanded @@ -190,8 +190,8 @@ type Type string // Enum values for Type const ( - TypeAmazoncustomerbyemail Type = "AmazonCustomerByEmail" - TypeCanonicaluser Type = "CanonicalUser" + TypeAmazonCustomerByEmail Type = "AmazonCustomerByEmail" + TypeCanonicalUser Type = "CanonicalUser" TypeGroup Type = "Group" ) diff --git a/service/globalaccelerator/api_client.go b/service/globalaccelerator/api_client.go index 0dd5b324621..f1974e5c185 100644 --- a/service/globalaccelerator/api_client.go +++ b/service/globalaccelerator/api_client.go @@ -97,6 +97,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/glue/api_client.go b/service/glue/api_client.go index 2144a92938a..403a1345c2c 100644 --- a/service/glue/api_client.go +++ b/service/glue/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/greengrass/api_client.go b/service/greengrass/api_client.go index 00707570962..ed5a90fccb3 100644 --- a/service/greengrass/api_client.go +++ b/service/greengrass/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/greengrass/types/enums.go b/service/greengrass/types/enums.go index 20ad79e368b..caa396ba85a 100644 --- a/service/greengrass/types/enums.go +++ b/service/greengrass/types/enums.go @@ -32,8 +32,8 @@ type ConfigurationSyncStatus string // Enum values for ConfigurationSyncStatus const ( - ConfigurationSyncStatusInsync ConfigurationSyncStatus = "InSync" - ConfigurationSyncStatusOutofsync ConfigurationSyncStatus = "OutOfSync" + ConfigurationSyncStatusInSync ConfigurationSyncStatus = "InSync" + ConfigurationSyncStatusOutOfSync ConfigurationSyncStatus = "OutOfSync" ) // Values returns all known values for ConfigurationSyncStatus. Note that this can @@ -50,10 +50,10 @@ type DeploymentType string // Enum values for DeploymentType const ( - DeploymentTypeNewdeployment DeploymentType = "NewDeployment" + DeploymentTypeNewDeployment DeploymentType = "NewDeployment" DeploymentTypeRedeployment DeploymentType = "Redeployment" - DeploymentTypeResetdeployment DeploymentType = "ResetDeployment" - DeploymentTypeForceresetdeployment DeploymentType = "ForceResetDeployment" + DeploymentTypeResetDeployment DeploymentType = "ResetDeployment" + DeploymentTypeForceResetDeployment DeploymentType = "ForceResetDeployment" ) // Values returns all known values for DeploymentType. Note that this can be @@ -90,8 +90,8 @@ type FunctionIsolationMode string // Enum values for FunctionIsolationMode const ( - FunctionIsolationModeGreengrasscontainer FunctionIsolationMode = "GreengrassContainer" - FunctionIsolationModeNocontainer FunctionIsolationMode = "NoContainer" + FunctionIsolationModeGreengrassContainer FunctionIsolationMode = "GreengrassContainer" + FunctionIsolationModeNoContainer FunctionIsolationMode = "NoContainer" ) // Values returns all known values for FunctionIsolationMode. Note that this can be @@ -108,7 +108,7 @@ type LoggerComponent string // Enum values for LoggerComponent const ( - LoggerComponentGreengrasssystem LoggerComponent = "GreengrassSystem" + LoggerComponentGreengrassSystem LoggerComponent = "GreengrassSystem" LoggerComponentLambda LoggerComponent = "Lambda" ) @@ -150,8 +150,8 @@ type LoggerType string // Enum values for LoggerType const ( - LoggerTypeFilesystem LoggerType = "FileSystem" - LoggerTypeAwscloudwatch LoggerType = "AWSCloudWatch" + LoggerTypeFileSystem LoggerType = "FileSystem" + LoggerTypeAWSCloudWatch LoggerType = "AWSCloudWatch" ) // Values returns all known values for LoggerType. Note that this can be expanded diff --git a/service/greengrassv2/api_client.go b/service/greengrassv2/api_client.go index df1d4bc2f8b..9ffea376e9c 100644 --- a/service/greengrassv2/api_client.go +++ b/service/greengrassv2/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/groundstation/api_client.go b/service/groundstation/api_client.go index f981d5f9917..9e49fbe5d61 100644 --- a/service/groundstation/api_client.go +++ b/service/groundstation/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/guardduty/api_client.go b/service/guardduty/api_client.go index 1628f832fef..95c5f927e24 100644 --- a/service/guardduty/api_client.go +++ b/service/guardduty/api_client.go @@ -96,6 +96,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/health/api_client.go b/service/health/api_client.go index 06262d262a4..79b0e487001 100644 --- a/service/health/api_client.go +++ b/service/health/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/health/types/enums.go b/service/health/types/enums.go index 0164eb621cf..39152205057 100644 --- a/service/health/types/enums.go +++ b/service/health/types/enums.go @@ -26,7 +26,7 @@ type EventAggregateField string // Enum values for EventAggregateField const ( - EventAggregateFieldEventtypecategory EventAggregateField = "eventTypeCategory" + EventAggregateFieldEventTypeCategory EventAggregateField = "eventTypeCategory" ) // Values returns all known values for EventAggregateField. Note that this can be diff --git a/service/healthlake/api_client.go b/service/healthlake/api_client.go index bcfdba9592c..b7ab83fa0e7 100644 --- a/service/healthlake/api_client.go +++ b/service/healthlake/api_client.go @@ -96,6 +96,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/honeycode/api_client.go b/service/honeycode/api_client.go index 811330177df..cee900f75b4 100644 --- a/service/honeycode/api_client.go +++ b/service/honeycode/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/honeycode/types/enums.go b/service/honeycode/types/enums.go index 82e81ff1225..a769228a720 100644 --- a/service/honeycode/types/enums.go +++ b/service/honeycode/types/enums.go @@ -11,7 +11,7 @@ const ( FormatCurrency Format = "CURRENCY" FormatDate Format = "DATE" FormatTime Format = "TIME" - FormatDatetime Format = "DATE_TIME" + FormatDateTime Format = "DATE_TIME" FormatPercentage Format = "PERCENTAGE" FormatText Format = "TEXT" FormatAccounting Format = "ACCOUNTING" @@ -68,7 +68,7 @@ type ImportSourceDataFormat string // Enum values for ImportSourceDataFormat const ( - ImportSourceDataFormatDelimitedtext ImportSourceDataFormat = "DELIMITED_TEXT" + ImportSourceDataFormatDelimitedText ImportSourceDataFormat = "DELIMITED_TEXT" ) // Values returns all known values for ImportSourceDataFormat. Note that this can @@ -85,7 +85,7 @@ type TableDataImportJobStatus string // Enum values for TableDataImportJobStatus const ( TableDataImportJobStatusSubmitted TableDataImportJobStatus = "SUBMITTED" - TableDataImportJobStatusInprogress TableDataImportJobStatus = "IN_PROGRESS" + TableDataImportJobStatusInProgress TableDataImportJobStatus = "IN_PROGRESS" TableDataImportJobStatusCompleted TableDataImportJobStatus = "COMPLETED" TableDataImportJobStatusFailed TableDataImportJobStatus = "FAILED" ) diff --git a/service/iam/api_client.go b/service/iam/api_client.go index 70953fe163b..481ae19af3d 100644 --- a/service/iam/api_client.go +++ b/service/iam/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/iam/types/enums.go b/service/iam/types/enums.go index e7cb1c47b35..613738022c9 100644 --- a/service/iam/types/enums.go +++ b/service/iam/types/enums.go @@ -126,8 +126,8 @@ const ( EntityTypeUser EntityType = "User" EntityTypeRole EntityType = "Role" EntityTypeGroup EntityType = "Group" - EntityTypeLocalmanagedpolicy EntityType = "LocalManagedPolicy" - EntityTypeAwsmanagedpolicy EntityType = "AWSManagedPolicy" + EntityTypeLocalManagedPolicy EntityType = "LocalManagedPolicy" + EntityTypeAWSManagedPolicy EntityType = "AWSManagedPolicy" ) // Values returns all known values for EntityType. Note that this can be expanded @@ -147,8 +147,8 @@ type GlobalEndpointTokenVersion string // Enum values for GlobalEndpointTokenVersion const ( - GlobalEndpointTokenVersionV1token GlobalEndpointTokenVersion = "v1Token" - GlobalEndpointTokenVersionV2token GlobalEndpointTokenVersion = "v2Token" + GlobalEndpointTokenVersionV1Token GlobalEndpointTokenVersion = "v1Token" + GlobalEndpointTokenVersionV2Token GlobalEndpointTokenVersion = "v2Token" ) // Values returns all known values for GlobalEndpointTokenVersion. Note that this @@ -308,8 +308,8 @@ type PolicyUsageType string // Enum values for PolicyUsageType const ( - PolicyUsageTypePermissionspolicy PolicyUsageType = "PermissionsPolicy" - PolicyUsageTypePermissionsboundary PolicyUsageType = "PermissionsBoundary" + PolicyUsageTypePermissionsPolicy PolicyUsageType = "PermissionsPolicy" + PolicyUsageTypePermissionsBoundary PolicyUsageType = "PermissionsBoundary" ) // Values returns all known values for PolicyUsageType. Note that this can be @@ -403,31 +403,31 @@ type SummaryKeyType string // Enum values for SummaryKeyType const ( SummaryKeyTypeUsers SummaryKeyType = "Users" - SummaryKeyTypeUsersquota SummaryKeyType = "UsersQuota" + SummaryKeyTypeUsersQuota SummaryKeyType = "UsersQuota" SummaryKeyTypeGroups SummaryKeyType = "Groups" - SummaryKeyTypeGroupsquota SummaryKeyType = "GroupsQuota" - SummaryKeyTypeServercertificates SummaryKeyType = "ServerCertificates" - SummaryKeyTypeServercertificatesquota SummaryKeyType = "ServerCertificatesQuota" - SummaryKeyTypeUserpolicysizequota SummaryKeyType = "UserPolicySizeQuota" - SummaryKeyTypeGrouppolicysizequota SummaryKeyType = "GroupPolicySizeQuota" - SummaryKeyTypeGroupsperuserquota SummaryKeyType = "GroupsPerUserQuota" - SummaryKeyTypeSigningcertificatesperuserquota SummaryKeyType = "SigningCertificatesPerUserQuota" - SummaryKeyTypeAccesskeysperuserquota SummaryKeyType = "AccessKeysPerUserQuota" - SummaryKeyTypeMfadevices SummaryKeyType = "MFADevices" - SummaryKeyTypeMfadevicesinuse SummaryKeyType = "MFADevicesInUse" - SummaryKeyTypeAccountmfaenabled SummaryKeyType = "AccountMFAEnabled" - SummaryKeyTypeAccountaccesskeyspresent SummaryKeyType = "AccountAccessKeysPresent" - SummaryKeyTypeAccountsigningcertificatespresent SummaryKeyType = "AccountSigningCertificatesPresent" - SummaryKeyTypeAttachedpoliciespergroupquota SummaryKeyType = "AttachedPoliciesPerGroupQuota" - SummaryKeyTypeAttachedpoliciesperrolequota SummaryKeyType = "AttachedPoliciesPerRoleQuota" - SummaryKeyTypeAttachedpoliciesperuserquota SummaryKeyType = "AttachedPoliciesPerUserQuota" + SummaryKeyTypeGroupsQuota SummaryKeyType = "GroupsQuota" + SummaryKeyTypeServerCertificates SummaryKeyType = "ServerCertificates" + SummaryKeyTypeServerCertificatesQuota SummaryKeyType = "ServerCertificatesQuota" + SummaryKeyTypeUserPolicySizeQuota SummaryKeyType = "UserPolicySizeQuota" + SummaryKeyTypeGroupPolicySizeQuota SummaryKeyType = "GroupPolicySizeQuota" + SummaryKeyTypeGroupsPerUserQuota SummaryKeyType = "GroupsPerUserQuota" + SummaryKeyTypeSigningCertificatesPerUserQuota SummaryKeyType = "SigningCertificatesPerUserQuota" + SummaryKeyTypeAccessKeysPerUserQuota SummaryKeyType = "AccessKeysPerUserQuota" + SummaryKeyTypeMFADevices SummaryKeyType = "MFADevices" + SummaryKeyTypeMFADevicesInUse SummaryKeyType = "MFADevicesInUse" + SummaryKeyTypeAccountMFAEnabled SummaryKeyType = "AccountMFAEnabled" + SummaryKeyTypeAccountAccessKeysPresent SummaryKeyType = "AccountAccessKeysPresent" + SummaryKeyTypeAccountSigningCertificatesPresent SummaryKeyType = "AccountSigningCertificatesPresent" + SummaryKeyTypeAttachedPoliciesPerGroupQuota SummaryKeyType = "AttachedPoliciesPerGroupQuota" + SummaryKeyTypeAttachedPoliciesPerRoleQuota SummaryKeyType = "AttachedPoliciesPerRoleQuota" + SummaryKeyTypeAttachedPoliciesPerUserQuota SummaryKeyType = "AttachedPoliciesPerUserQuota" SummaryKeyTypePolicies SummaryKeyType = "Policies" - SummaryKeyTypePoliciesquota SummaryKeyType = "PoliciesQuota" - SummaryKeyTypePolicysizequota SummaryKeyType = "PolicySizeQuota" - SummaryKeyTypePolicyversionsinuse SummaryKeyType = "PolicyVersionsInUse" - SummaryKeyTypePolicyversionsinusequota SummaryKeyType = "PolicyVersionsInUseQuota" - SummaryKeyTypeVersionsperpolicyquota SummaryKeyType = "VersionsPerPolicyQuota" - SummaryKeyTypeGlobalendpointtokenversion SummaryKeyType = "GlobalEndpointTokenVersion" + SummaryKeyTypePoliciesQuota SummaryKeyType = "PoliciesQuota" + SummaryKeyTypePolicySizeQuota SummaryKeyType = "PolicySizeQuota" + SummaryKeyTypePolicyVersionsInUse SummaryKeyType = "PolicyVersionsInUse" + SummaryKeyTypePolicyVersionsInUseQuota SummaryKeyType = "PolicyVersionsInUseQuota" + SummaryKeyTypeVersionsPerPolicyQuota SummaryKeyType = "VersionsPerPolicyQuota" + SummaryKeyTypeGlobalEndpointTokenVersion SummaryKeyType = "GlobalEndpointTokenVersion" ) // Values returns all known values for SummaryKeyType. Note that this can be diff --git a/service/identitystore/api_client.go b/service/identitystore/api_client.go index ef32305c055..a5b6b868200 100644 --- a/service/identitystore/api_client.go +++ b/service/identitystore/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/imagebuilder/api_client.go b/service/imagebuilder/api_client.go index 157fe7ff9e4..cf39f923634 100644 --- a/service/imagebuilder/api_client.go +++ b/service/imagebuilder/api_client.go @@ -96,6 +96,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/inspector/api_client.go b/service/inspector/api_client.go index 6dbb64bc89f..d0855eb1447 100644 --- a/service/inspector/api_client.go +++ b/service/inspector/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/iot/api_client.go b/service/iot/api_client.go index a23e3f46b14..7eea199cea5 100644 --- a/service/iot/api_client.go +++ b/service/iot/api_client.go @@ -96,6 +96,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/iot/types/enums.go b/service/iot/types/enums.go index 6a55a63756f..59ca8347dc1 100644 --- a/service/iot/types/enums.go +++ b/service/iot/types/enums.go @@ -367,13 +367,13 @@ type CannedAccessControlList string // Enum values for CannedAccessControlList const ( CannedAccessControlListPrivate CannedAccessControlList = "private" - CannedAccessControlListPublicread CannedAccessControlList = "public-read" - CannedAccessControlListPublicreadwrite CannedAccessControlList = "public-read-write" - CannedAccessControlListAwsexecread CannedAccessControlList = "aws-exec-read" - CannedAccessControlListAuthenticatedread CannedAccessControlList = "authenticated-read" - CannedAccessControlListBucketownerread CannedAccessControlList = "bucket-owner-read" - CannedAccessControlListBucketownerfullcontrol CannedAccessControlList = "bucket-owner-full-control" - CannedAccessControlListLogdeliverywrite CannedAccessControlList = "log-delivery-write" + CannedAccessControlListPublicRead CannedAccessControlList = "public-read" + CannedAccessControlListPublicReadWrite CannedAccessControlList = "public-read-write" + CannedAccessControlListAwsExecRead CannedAccessControlList = "aws-exec-read" + CannedAccessControlListAuthenticatedRead CannedAccessControlList = "authenticated-read" + CannedAccessControlListBucketOwnerRead CannedAccessControlList = "bucket-owner-read" + CannedAccessControlListBucketOwnerFullControl CannedAccessControlList = "bucket-owner-full-control" + CannedAccessControlListLogDeliveryWrite CannedAccessControlList = "log-delivery-write" ) // Values returns all known values for CannedAccessControlList. Note that this can @@ -1003,7 +1003,7 @@ type Status string // Enum values for Status const ( - StatusInprogress Status = "InProgress" + StatusInProgress Status = "InProgress" StatusCompleted Status = "Completed" StatusFailed Status = "Failed" StatusCancelled Status = "Cancelled" diff --git a/service/iot1clickdevicesservice/api_client.go b/service/iot1clickdevicesservice/api_client.go index c89fe956db6..e466ac8c011 100644 --- a/service/iot1clickdevicesservice/api_client.go +++ b/service/iot1clickdevicesservice/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/iot1clickprojects/api_client.go b/service/iot1clickprojects/api_client.go index 02dbb2b1048..a94984d14da 100644 --- a/service/iot1clickprojects/api_client.go +++ b/service/iot1clickprojects/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/iotanalytics/api_client.go b/service/iotanalytics/api_client.go index 69a92282673..00aa2638896 100644 --- a/service/iotanalytics/api_client.go +++ b/service/iotanalytics/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/iotdataplane/api_client.go b/service/iotdataplane/api_client.go index 79875118248..f233cf95891 100644 --- a/service/iotdataplane/api_client.go +++ b/service/iotdataplane/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/iotdeviceadvisor/api_client.go b/service/iotdeviceadvisor/api_client.go index ec9a4e14790..b75a6fb8fa9 100644 --- a/service/iotdeviceadvisor/api_client.go +++ b/service/iotdeviceadvisor/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/iotevents/api_client.go b/service/iotevents/api_client.go index 4110646ce4c..1c9d65ad24b 100644 --- a/service/iotevents/api_client.go +++ b/service/iotevents/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/ioteventsdata/api_client.go b/service/ioteventsdata/api_client.go index 0b4ae05b5d1..682126524b1 100644 --- a/service/ioteventsdata/api_client.go +++ b/service/ioteventsdata/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/ioteventsdata/types/enums.go b/service/ioteventsdata/types/enums.go index e397c1ce3e0..6223a716372 100644 --- a/service/ioteventsdata/types/enums.go +++ b/service/ioteventsdata/types/enums.go @@ -6,11 +6,11 @@ type ErrorCode string // Enum values for ErrorCode const ( - ErrorCodeResourcenotfoundexception ErrorCode = "ResourceNotFoundException" - ErrorCodeInvalidrequestexception ErrorCode = "InvalidRequestException" - ErrorCodeInternalfailureexception ErrorCode = "InternalFailureException" - ErrorCodeServiceunavailableexception ErrorCode = "ServiceUnavailableException" - ErrorCodeThrottlingexception ErrorCode = "ThrottlingException" + ErrorCodeResourceNotFoundException ErrorCode = "ResourceNotFoundException" + ErrorCodeInvalidRequestException ErrorCode = "InvalidRequestException" + ErrorCodeInternalFailureException ErrorCode = "InternalFailureException" + ErrorCodeServiceUnavailableException ErrorCode = "ServiceUnavailableException" + ErrorCodeThrottlingException ErrorCode = "ThrottlingException" ) // Values returns all known values for ErrorCode. Note that this can be expanded in diff --git a/service/iotfleethub/api_client.go b/service/iotfleethub/api_client.go index 16aa9d9144d..c93d511e659 100644 --- a/service/iotfleethub/api_client.go +++ b/service/iotfleethub/api_client.go @@ -96,6 +96,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/iotjobsdataplane/api_client.go b/service/iotjobsdataplane/api_client.go index 0d6d81c9f95..8f7843a4cdf 100644 --- a/service/iotjobsdataplane/api_client.go +++ b/service/iotjobsdataplane/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/iotsecuretunneling/api_client.go b/service/iotsecuretunneling/api_client.go index 8f60ea3f72f..e38d2a1a9a7 100644 --- a/service/iotsecuretunneling/api_client.go +++ b/service/iotsecuretunneling/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/iotsitewise/api_client.go b/service/iotsitewise/api_client.go index ef22e4cb310..4ca8c846a75 100644 --- a/service/iotsitewise/api_client.go +++ b/service/iotsitewise/api_client.go @@ -96,6 +96,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/iotsitewise/types/enums.go b/service/iotsitewise/types/enums.go index f4c8f5a0578..8e96a3bb244 100644 --- a/service/iotsitewise/types/enums.go +++ b/service/iotsitewise/types/enums.go @@ -132,15 +132,15 @@ type BatchPutAssetPropertyValueErrorCode string // Enum values for BatchPutAssetPropertyValueErrorCode const ( - BatchPutAssetPropertyValueErrorCodeResourcenotfoundexception BatchPutAssetPropertyValueErrorCode = "ResourceNotFoundException" - BatchPutAssetPropertyValueErrorCodeInvalidrequestexception BatchPutAssetPropertyValueErrorCode = "InvalidRequestException" - BatchPutAssetPropertyValueErrorCodeInternalfailureexception BatchPutAssetPropertyValueErrorCode = "InternalFailureException" - BatchPutAssetPropertyValueErrorCodeServiceunavailableexception BatchPutAssetPropertyValueErrorCode = "ServiceUnavailableException" - BatchPutAssetPropertyValueErrorCodeThrottlingexception BatchPutAssetPropertyValueErrorCode = "ThrottlingException" - BatchPutAssetPropertyValueErrorCodeLimitexceededexception BatchPutAssetPropertyValueErrorCode = "LimitExceededException" - BatchPutAssetPropertyValueErrorCodeConflictingoperationexception BatchPutAssetPropertyValueErrorCode = "ConflictingOperationException" - BatchPutAssetPropertyValueErrorCodeTimestampoutofrangeexception BatchPutAssetPropertyValueErrorCode = "TimestampOutOfRangeException" - BatchPutAssetPropertyValueErrorCodeAccessdeniedexception BatchPutAssetPropertyValueErrorCode = "AccessDeniedException" + BatchPutAssetPropertyValueErrorCodeResourceNotFoundException BatchPutAssetPropertyValueErrorCode = "ResourceNotFoundException" + BatchPutAssetPropertyValueErrorCodeInvalidRequestException BatchPutAssetPropertyValueErrorCode = "InvalidRequestException" + BatchPutAssetPropertyValueErrorCodeInternalFailureException BatchPutAssetPropertyValueErrorCode = "InternalFailureException" + BatchPutAssetPropertyValueErrorCodeServiceUnavailableException BatchPutAssetPropertyValueErrorCode = "ServiceUnavailableException" + BatchPutAssetPropertyValueErrorCodeThrottlingException BatchPutAssetPropertyValueErrorCode = "ThrottlingException" + BatchPutAssetPropertyValueErrorCodeLimitExceededException BatchPutAssetPropertyValueErrorCode = "LimitExceededException" + BatchPutAssetPropertyValueErrorCodeConflictingOperationException BatchPutAssetPropertyValueErrorCode = "ConflictingOperationException" + BatchPutAssetPropertyValueErrorCodeTimestampOutOfRangeException BatchPutAssetPropertyValueErrorCode = "TimestampOutOfRangeException" + BatchPutAssetPropertyValueErrorCodeAccessDeniedException BatchPutAssetPropertyValueErrorCode = "AccessDeniedException" ) // Values returns all known values for BatchPutAssetPropertyValueErrorCode. Note diff --git a/service/iotthingsgraph/api_client.go b/service/iotthingsgraph/api_client.go index df32d365546..4e256dbedc7 100644 --- a/service/iotthingsgraph/api_client.go +++ b/service/iotthingsgraph/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/iotwireless/api_client.go b/service/iotwireless/api_client.go index dc82fb9d241..f839c88b964 100644 --- a/service/iotwireless/api_client.go +++ b/service/iotwireless/api_client.go @@ -96,6 +96,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/iotwireless/types/enums.go b/service/iotwireless/types/enums.go index 91f0f635c77..2dcdb4cc9ad 100644 --- a/service/iotwireless/types/enums.go +++ b/service/iotwireless/types/enums.go @@ -6,7 +6,7 @@ type ExpressionType string // Enum values for ExpressionType const ( - ExpressionTypeRulename ExpressionType = "RuleName" + ExpressionTypeRuleName ExpressionType = "RuleName" ) // Values returns all known values for ExpressionType. Note that this can be @@ -38,9 +38,9 @@ type WirelessDeviceIdType string // Enum values for WirelessDeviceIdType const ( - WirelessDeviceIdTypeWirelessdeviceid WirelessDeviceIdType = "WirelessDeviceId" - WirelessDeviceIdTypeDeveui WirelessDeviceIdType = "DevEui" - WirelessDeviceIdTypeThingname WirelessDeviceIdType = "ThingName" + WirelessDeviceIdTypeWirelessDeviceId WirelessDeviceIdType = "WirelessDeviceId" + WirelessDeviceIdTypeDevEui WirelessDeviceIdType = "DevEui" + WirelessDeviceIdTypeThingName WirelessDeviceIdType = "ThingName" ) // Values returns all known values for WirelessDeviceIdType. Note that this can be @@ -59,7 +59,7 @@ type WirelessDeviceType string // Enum values for WirelessDeviceType const ( WirelessDeviceTypeSidewalk WirelessDeviceType = "Sidewalk" - WirelessDeviceTypeLorawan WirelessDeviceType = "LoRaWAN" + WirelessDeviceTypeLoRaWAN WirelessDeviceType = "LoRaWAN" ) // Values returns all known values for WirelessDeviceType. Note that this can be @@ -76,9 +76,9 @@ type WirelessGatewayIdType string // Enum values for WirelessGatewayIdType const ( - WirelessGatewayIdTypeGatewayeui WirelessGatewayIdType = "GatewayEui" - WirelessGatewayIdTypeWirelessgatewayid WirelessGatewayIdType = "WirelessGatewayId" - WirelessGatewayIdTypeThingname WirelessGatewayIdType = "ThingName" + WirelessGatewayIdTypeGatewayEui WirelessGatewayIdType = "GatewayEui" + WirelessGatewayIdTypeWirelessGatewayId WirelessGatewayIdType = "WirelessGatewayId" + WirelessGatewayIdTypeThingName WirelessGatewayIdType = "ThingName" ) // Values returns all known values for WirelessGatewayIdType. Note that this can be diff --git a/service/ivs/api_client.go b/service/ivs/api_client.go index 38734da2115..95a6db268dd 100644 --- a/service/ivs/api_client.go +++ b/service/ivs/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/ivs/types/enums.go b/service/ivs/types/enums.go index 89755fcd6cd..3203b5cea08 100644 --- a/service/ivs/types/enums.go +++ b/service/ivs/types/enums.go @@ -6,8 +6,8 @@ type ChannelLatencyMode string // Enum values for ChannelLatencyMode const ( - ChannelLatencyModeNormallatency ChannelLatencyMode = "NORMAL" - ChannelLatencyModeLowlatency ChannelLatencyMode = "LOW" + ChannelLatencyModeNormalLatency ChannelLatencyMode = "NORMAL" + ChannelLatencyModeLowLatency ChannelLatencyMode = "LOW" ) // Values returns all known values for ChannelLatencyMode. Note that this can be @@ -24,8 +24,8 @@ type ChannelType string // Enum values for ChannelType const ( - ChannelTypeBasicchanneltype ChannelType = "BASIC" - ChannelTypeStandardchanneltype ChannelType = "STANDARD" + ChannelTypeBasicChannelType ChannelType = "BASIC" + ChannelTypeStandardChannelType ChannelType = "STANDARD" ) // Values returns all known values for ChannelType. Note that this can be expanded @@ -42,7 +42,7 @@ type StreamHealth string // Enum values for StreamHealth const ( - StreamHealthStreamhealthy StreamHealth = "HEALTHY" + StreamHealthStreamHealthy StreamHealth = "HEALTHY" StreamHealthStarving StreamHealth = "STARVING" StreamHealthUnknown StreamHealth = "UNKNOWN" ) @@ -62,8 +62,8 @@ type StreamState string // Enum values for StreamState const ( - StreamStateStreamlive StreamState = "LIVE" - StreamStateStreamoffline StreamState = "OFFLINE" + StreamStateStreamLive StreamState = "LIVE" + StreamStateStreamOffline StreamState = "OFFLINE" ) // Values returns all known values for StreamState. Note that this can be expanded diff --git a/service/kafka/api_client.go b/service/kafka/api_client.go index 28159bb06bc..8e5c3751551 100644 --- a/service/kafka/api_client.go +++ b/service/kafka/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/kendra/api_client.go b/service/kendra/api_client.go index 285d3384dda..4578b661cec 100644 --- a/service/kendra/api_client.go +++ b/service/kendra/api_client.go @@ -97,6 +97,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/kinesis/api_client.go b/service/kinesis/api_client.go index 62a7b29cc08..2a8aeb7ad86 100644 --- a/service/kinesis/api_client.go +++ b/service/kinesis/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/kinesisanalytics/api_client.go b/service/kinesisanalytics/api_client.go index 118a2d92dd5..5493416825f 100644 --- a/service/kinesisanalytics/api_client.go +++ b/service/kinesisanalytics/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/kinesisanalyticsv2/api_client.go b/service/kinesisanalyticsv2/api_client.go index f30eb762364..80818024ec7 100644 --- a/service/kinesisanalyticsv2/api_client.go +++ b/service/kinesisanalyticsv2/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/kinesisvideo/api_client.go b/service/kinesisvideo/api_client.go index 1f52192b1b1..9391d200691 100644 --- a/service/kinesisvideo/api_client.go +++ b/service/kinesisvideo/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/kinesisvideoarchivedmedia/api_client.go b/service/kinesisvideoarchivedmedia/api_client.go index 8065a45dfd9..3d461d85af3 100644 --- a/service/kinesisvideoarchivedmedia/api_client.go +++ b/service/kinesisvideoarchivedmedia/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/kinesisvideomedia/api_client.go b/service/kinesisvideomedia/api_client.go index b390419bda0..96fbf376c03 100644 --- a/service/kinesisvideomedia/api_client.go +++ b/service/kinesisvideomedia/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/kinesisvideosignaling/api_client.go b/service/kinesisvideosignaling/api_client.go index 9366de2d547..aab52ef6672 100644 --- a/service/kinesisvideosignaling/api_client.go +++ b/service/kinesisvideosignaling/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/kms/api_client.go b/service/kms/api_client.go index 7c81bb8e1ed..9dfac202d58 100644 --- a/service/kms/api_client.go +++ b/service/kms/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/kms/types/enums.go b/service/kms/types/enums.go index dc38e8a2428..a639e50e2f4 100644 --- a/service/kms/types/enums.go +++ b/service/kms/types/enums.go @@ -198,18 +198,18 @@ type GrantOperation string const ( GrantOperationDecrypt GrantOperation = "Decrypt" GrantOperationEncrypt GrantOperation = "Encrypt" - GrantOperationGeneratedatakey GrantOperation = "GenerateDataKey" - GrantOperationGeneratedatakeywithoutplaintext GrantOperation = "GenerateDataKeyWithoutPlaintext" - GrantOperationReencryptfrom GrantOperation = "ReEncryptFrom" - GrantOperationReencryptto GrantOperation = "ReEncryptTo" + GrantOperationGenerateDataKey GrantOperation = "GenerateDataKey" + GrantOperationGenerateDataKeyWithoutPlaintext GrantOperation = "GenerateDataKeyWithoutPlaintext" + GrantOperationReEncryptFrom GrantOperation = "ReEncryptFrom" + GrantOperationReEncryptTo GrantOperation = "ReEncryptTo" GrantOperationSign GrantOperation = "Sign" GrantOperationVerify GrantOperation = "Verify" - GrantOperationGetpublickey GrantOperation = "GetPublicKey" - GrantOperationCreategrant GrantOperation = "CreateGrant" - GrantOperationRetiregrant GrantOperation = "RetireGrant" - GrantOperationDescribekey GrantOperation = "DescribeKey" - GrantOperationGeneratedatakeypair GrantOperation = "GenerateDataKeyPair" - GrantOperationGeneratedatakeypairwithoutplaintext GrantOperation = "GenerateDataKeyPairWithoutPlaintext" + GrantOperationGetPublicKey GrantOperation = "GetPublicKey" + GrantOperationCreateGrant GrantOperation = "CreateGrant" + GrantOperationRetireGrant GrantOperation = "RetireGrant" + GrantOperationDescribeKey GrantOperation = "DescribeKey" + GrantOperationGenerateDataKeyPair GrantOperation = "GenerateDataKeyPair" + GrantOperationGenerateDataKeyPairWithoutPlaintext GrantOperation = "GenerateDataKeyPairWithoutPlaintext" ) // Values returns all known values for GrantOperation. Note that this can be @@ -258,8 +258,8 @@ type KeyState string const ( KeyStateEnabled KeyState = "Enabled" KeyStateDisabled KeyState = "Disabled" - KeyStatePendingdeletion KeyState = "PendingDeletion" - KeyStatePendingimport KeyState = "PendingImport" + KeyStatePendingDeletion KeyState = "PendingDeletion" + KeyStatePendingImport KeyState = "PendingImport" KeyStateUnavailable KeyState = "Unavailable" ) diff --git a/service/lakeformation/api_client.go b/service/lakeformation/api_client.go index 9259aa5fee9..e965a39715e 100644 --- a/service/lakeformation/api_client.go +++ b/service/lakeformation/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/lambda/api_client.go b/service/lambda/api_client.go index 63ce863bddc..ca7cffae228 100644 --- a/service/lambda/api_client.go +++ b/service/lambda/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/lambda/types/enums.go b/service/lambda/types/enums.go index 6c9b3adacf3..4dfaba94f28 100644 --- a/service/lambda/types/enums.go +++ b/service/lambda/types/enums.go @@ -60,7 +60,7 @@ type FunctionResponseType string // Enum values for FunctionResponseType const ( - FunctionResponseTypeReportbatchitemfailures FunctionResponseType = "ReportBatchItemFailures" + FunctionResponseTypeReportBatchItemFailures FunctionResponseType = "ReportBatchItemFailures" ) // Values returns all known values for FunctionResponseType. Note that this can be @@ -93,8 +93,8 @@ type InvocationType string // Enum values for InvocationType const ( InvocationTypeEvent InvocationType = "Event" - InvocationTypeRequestresponse InvocationType = "RequestResponse" - InvocationTypeDryrun InvocationType = "DryRun" + InvocationTypeRequestResponse InvocationType = "RequestResponse" + InvocationTypeDryRun InvocationType = "DryRun" ) // Values returns all known values for InvocationType. Note that this can be @@ -114,7 +114,7 @@ type LastUpdateStatus string const ( LastUpdateStatusSuccessful LastUpdateStatus = "Successful" LastUpdateStatusFailed LastUpdateStatus = "Failed" - LastUpdateStatusInprogress LastUpdateStatus = "InProgress" + LastUpdateStatusInProgress LastUpdateStatus = "InProgress" ) // Values returns all known values for LastUpdateStatus. Note that this can be @@ -132,16 +132,16 @@ type LastUpdateStatusReasonCode string // Enum values for LastUpdateStatusReasonCode const ( - LastUpdateStatusReasonCodeEnilimitexceeded LastUpdateStatusReasonCode = "EniLimitExceeded" - LastUpdateStatusReasonCodeInsufficientrolepermissions LastUpdateStatusReasonCode = "InsufficientRolePermissions" - LastUpdateStatusReasonCodeInvalidconfiguration LastUpdateStatusReasonCode = "InvalidConfiguration" - LastUpdateStatusReasonCodeInternalerror LastUpdateStatusReasonCode = "InternalError" - LastUpdateStatusReasonCodeSubnetoutofipaddresses LastUpdateStatusReasonCode = "SubnetOutOfIPAddresses" - LastUpdateStatusReasonCodeInvalidsubnet LastUpdateStatusReasonCode = "InvalidSubnet" - LastUpdateStatusReasonCodeInvalidsecuritygroup LastUpdateStatusReasonCode = "InvalidSecurityGroup" - LastUpdateStatusReasonCodeImagedeleted LastUpdateStatusReasonCode = "ImageDeleted" - LastUpdateStatusReasonCodeImageaccessdenied LastUpdateStatusReasonCode = "ImageAccessDenied" - LastUpdateStatusReasonCodeInvalidimage LastUpdateStatusReasonCode = "InvalidImage" + LastUpdateStatusReasonCodeEniLimitExceeded LastUpdateStatusReasonCode = "EniLimitExceeded" + LastUpdateStatusReasonCodeInsufficientRolePermissions LastUpdateStatusReasonCode = "InsufficientRolePermissions" + LastUpdateStatusReasonCodeInvalidConfiguration LastUpdateStatusReasonCode = "InvalidConfiguration" + LastUpdateStatusReasonCodeInternalError LastUpdateStatusReasonCode = "InternalError" + LastUpdateStatusReasonCodeSubnetOutOfIPAddresses LastUpdateStatusReasonCode = "SubnetOutOfIPAddresses" + LastUpdateStatusReasonCodeInvalidSubnet LastUpdateStatusReasonCode = "InvalidSubnet" + LastUpdateStatusReasonCodeInvalidSecurityGroup LastUpdateStatusReasonCode = "InvalidSecurityGroup" + LastUpdateStatusReasonCodeImageDeleted LastUpdateStatusReasonCode = "ImageDeleted" + LastUpdateStatusReasonCodeImageAccessDenied LastUpdateStatusReasonCode = "ImageAccessDenied" + LastUpdateStatusReasonCodeInvalidImage LastUpdateStatusReasonCode = "InvalidImage" ) // Values returns all known values for LastUpdateStatusReasonCode. Note that this @@ -332,16 +332,16 @@ const ( StateReasonCodeIdle StateReasonCode = "Idle" StateReasonCodeCreating StateReasonCode = "Creating" StateReasonCodeRestoring StateReasonCode = "Restoring" - StateReasonCodeEnilimitexceeded StateReasonCode = "EniLimitExceeded" - StateReasonCodeInsufficientrolepermissions StateReasonCode = "InsufficientRolePermissions" - StateReasonCodeInvalidconfiguration StateReasonCode = "InvalidConfiguration" - StateReasonCodeInternalerror StateReasonCode = "InternalError" - StateReasonCodeSubnetoutofipaddresses StateReasonCode = "SubnetOutOfIPAddresses" - StateReasonCodeInvalidsubnet StateReasonCode = "InvalidSubnet" - StateReasonCodeInvalidsecuritygroup StateReasonCode = "InvalidSecurityGroup" - StateReasonCodeImagedeleted StateReasonCode = "ImageDeleted" - StateReasonCodeImageaccessdenied StateReasonCode = "ImageAccessDenied" - StateReasonCodeInvalidimage StateReasonCode = "InvalidImage" + StateReasonCodeEniLimitExceeded StateReasonCode = "EniLimitExceeded" + StateReasonCodeInsufficientRolePermissions StateReasonCode = "InsufficientRolePermissions" + StateReasonCodeInvalidConfiguration StateReasonCode = "InvalidConfiguration" + StateReasonCodeInternalError StateReasonCode = "InternalError" + StateReasonCodeSubnetOutOfIPAddresses StateReasonCode = "SubnetOutOfIPAddresses" + StateReasonCodeInvalidSubnet StateReasonCode = "InvalidSubnet" + StateReasonCodeInvalidSecurityGroup StateReasonCode = "InvalidSecurityGroup" + StateReasonCodeImageDeleted StateReasonCode = "ImageDeleted" + StateReasonCodeImageAccessDenied StateReasonCode = "ImageAccessDenied" + StateReasonCodeInvalidImage StateReasonCode = "InvalidImage" ) // Values returns all known values for StateReasonCode. Note that this can be @@ -369,11 +369,11 @@ type ThrottleReason string // Enum values for ThrottleReason const ( - ThrottleReasonConcurrentinvocationlimitexceeded ThrottleReason = "ConcurrentInvocationLimitExceeded" - ThrottleReasonFunctioninvocationratelimitexceeded ThrottleReason = "FunctionInvocationRateLimitExceeded" - ThrottleReasonReservedfunctionconcurrentinvocationlimitexceeded ThrottleReason = "ReservedFunctionConcurrentInvocationLimitExceeded" - ThrottleReasonReservedfunctioninvocationratelimitexceeded ThrottleReason = "ReservedFunctionInvocationRateLimitExceeded" - ThrottleReasonCallerratelimitexceeded ThrottleReason = "CallerRateLimitExceeded" + ThrottleReasonConcurrentInvocationLimitExceeded ThrottleReason = "ConcurrentInvocationLimitExceeded" + ThrottleReasonFunctionInvocationRateLimitExceeded ThrottleReason = "FunctionInvocationRateLimitExceeded" + ThrottleReasonReservedFunctionConcurrentInvocationLimitExceeded ThrottleReason = "ReservedFunctionConcurrentInvocationLimitExceeded" + ThrottleReasonReservedFunctionInvocationRateLimitExceeded ThrottleReason = "ReservedFunctionInvocationRateLimitExceeded" + ThrottleReasonCallerRateLimitExceeded ThrottleReason = "CallerRateLimitExceeded" ) // Values returns all known values for ThrottleReason. Note that this can be @@ -394,7 +394,7 @@ type TracingMode string // Enum values for TracingMode const ( TracingModeActive TracingMode = "Active" - TracingModePassthrough TracingMode = "PassThrough" + TracingModePassThrough TracingMode = "PassThrough" ) // Values returns all known values for TracingMode. Note that this can be expanded diff --git a/service/lexmodelbuildingservice/api_client.go b/service/lexmodelbuildingservice/api_client.go index 200f489e8ec..d7520dbfb53 100644 --- a/service/lexmodelbuildingservice/api_client.go +++ b/service/lexmodelbuildingservice/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/lexruntimeservice/api_client.go b/service/lexruntimeservice/api_client.go index a7264d30ef0..947084cdeb7 100644 --- a/service/lexruntimeservice/api_client.go +++ b/service/lexruntimeservice/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/licensemanager/api_client.go b/service/licensemanager/api_client.go index 06b611885ac..bf7524d26ec 100644 --- a/service/licensemanager/api_client.go +++ b/service/licensemanager/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/lightsail/api_client.go b/service/lightsail/api_client.go index 882c7bde6a9..5df43d67f1f 100644 --- a/service/lightsail/api_client.go +++ b/service/lightsail/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/lightsail/types/enums.go b/service/lightsail/types/enums.go index 926c49d1cc7..265e6fde760 100644 --- a/service/lightsail/types/enums.go +++ b/service/lightsail/types/enums.go @@ -24,7 +24,7 @@ type AddOnType string // Enum values for AddOnType const ( - AddOnTypeAutosnapshot AddOnType = "AutoSnapshot" + AddOnTypeAutoSnapshot AddOnType = "AutoSnapshot" ) // Values returns all known values for AddOnType. Note that this can be expanded in @@ -82,8 +82,8 @@ type BehaviorEnum string // Enum values for BehaviorEnum const ( - BehaviorEnumDontcachesetting BehaviorEnum = "dont-cache" - BehaviorEnumCachesetting BehaviorEnum = "cache" + BehaviorEnumDontCacheSetting BehaviorEnum = "dont-cache" + BehaviorEnumCacheSetting BehaviorEnum = "cache" ) // Values returns all known values for BehaviorEnum. Note that this can be expanded @@ -118,11 +118,11 @@ type CertificateStatus string // Enum values for CertificateStatus const ( - CertificateStatusPendingvalidation CertificateStatus = "PENDING_VALIDATION" + CertificateStatusPendingValidation CertificateStatus = "PENDING_VALIDATION" CertificateStatusIssued CertificateStatus = "ISSUED" CertificateStatusInactive CertificateStatus = "INACTIVE" CertificateStatusExpired CertificateStatus = "EXPIRED" - CertificateStatusValidationtimedout CertificateStatus = "VALIDATION_TIMED_OUT" + CertificateStatusValidationTimedOut CertificateStatus = "VALIDATION_TIMED_OUT" CertificateStatusRevoked CertificateStatus = "REVOKED" CertificateStatusFailed CertificateStatus = "FAILED" ) @@ -146,7 +146,7 @@ type CloudFormationStackRecordSourceType string // Enum values for CloudFormationStackRecordSourceType const ( - CloudFormationStackRecordSourceTypeExportsnapshotrecord CloudFormationStackRecordSourceType = "ExportSnapshotRecord" + CloudFormationStackRecordSourceTypeExportSnapshotRecord CloudFormationStackRecordSourceType = "ExportSnapshotRecord" ) // Values returns all known values for CloudFormationStackRecordSourceType. Note @@ -163,10 +163,10 @@ type ComparisonOperator string // Enum values for ComparisonOperator const ( - ComparisonOperatorGreaterthanorequaltothreshold ComparisonOperator = "GreaterThanOrEqualToThreshold" - ComparisonOperatorGreaterthanthreshold ComparisonOperator = "GreaterThanThreshold" - ComparisonOperatorLessthanthreshold ComparisonOperator = "LessThanThreshold" - ComparisonOperatorLessthanorequaltothreshold ComparisonOperator = "LessThanOrEqualToThreshold" + ComparisonOperatorGreaterThanOrEqualToThreshold ComparisonOperator = "GreaterThanOrEqualToThreshold" + ComparisonOperatorGreaterThanThreshold ComparisonOperator = "GreaterThanThreshold" + ComparisonOperatorLessThanThreshold ComparisonOperator = "LessThanThreshold" + ComparisonOperatorLessThanOrEqualToThreshold ComparisonOperator = "LessThanOrEqualToThreshold" ) // Values returns all known values for ComparisonOperator. Note that this can be @@ -185,7 +185,7 @@ type ContactMethodStatus string // Enum values for ContactMethodStatus const ( - ContactMethodStatusPendingverification ContactMethodStatus = "PendingVerification" + ContactMethodStatusPendingVerification ContactMethodStatus = "PendingVerification" ContactMethodStatusValid ContactMethodStatus = "Valid" ContactMethodStatusInvalid ContactMethodStatus = "Invalid" ) @@ -263,8 +263,8 @@ type ContainerServiceMetricName string // Enum values for ContainerServiceMetricName const ( - ContainerServiceMetricNameCpuutilization ContainerServiceMetricName = "CPUUtilization" - ContainerServiceMetricNameMemoryutilization ContainerServiceMetricName = "MemoryUtilization" + ContainerServiceMetricNameCPUUtilization ContainerServiceMetricName = "CPUUtilization" + ContainerServiceMetricNameMemoryUtilization ContainerServiceMetricName = "MemoryUtilization" ) // Values returns all known values for ContainerServiceMetricName. Note that this @@ -380,7 +380,7 @@ const ( DiskStatePending DiskState = "pending" DiskStateError DiskState = "error" DiskStateAvailable DiskState = "available" - DiskStateInuse DiskState = "in-use" + DiskStateInUse DiskState = "in-use" DiskStateUnknown DiskState = "unknown" ) @@ -402,11 +402,11 @@ type DistributionMetricName string // Enum values for DistributionMetricName const ( DistributionMetricNameRequests DistributionMetricName = "Requests" - DistributionMetricNameBytesdownloaded DistributionMetricName = "BytesDownloaded" - DistributionMetricNameBytesuploaded DistributionMetricName = "BytesUploaded" - DistributionMetricNameTotalerrorrate DistributionMetricName = "TotalErrorRate" - DistributionMetricNameHttp4xxerrorrate DistributionMetricName = "Http4xxErrorRate" - DistributionMetricNameHttp5xxerrorrate DistributionMetricName = "Http5xxErrorRate" + DistributionMetricNameBytesDownloaded DistributionMetricName = "BytesDownloaded" + DistributionMetricNameBytesUploaded DistributionMetricName = "BytesUploaded" + DistributionMetricNameTotalErrorRate DistributionMetricName = "TotalErrorRate" + DistributionMetricNameHttp4xxErrorRate DistributionMetricName = "Http4xxErrorRate" + DistributionMetricNameHttp5xxErrorRate DistributionMetricName = "Http5xxErrorRate" ) // Values returns all known values for DistributionMetricName. Note that this can @@ -427,8 +427,8 @@ type ExportSnapshotRecordSourceType string // Enum values for ExportSnapshotRecordSourceType const ( - ExportSnapshotRecordSourceTypeInstancesnapshot ExportSnapshotRecordSourceType = "InstanceSnapshot" - ExportSnapshotRecordSourceTypeDisksnapshot ExportSnapshotRecordSourceType = "DiskSnapshot" + ExportSnapshotRecordSourceTypeInstanceSnapshot ExportSnapshotRecordSourceType = "InstanceSnapshot" + ExportSnapshotRecordSourceTypeDiskSnapshot ExportSnapshotRecordSourceType = "DiskSnapshot" ) // Values returns all known values for ExportSnapshotRecordSourceType. Note that @@ -447,7 +447,7 @@ type ForwardValues string // Enum values for ForwardValues const ( ForwardValuesNone ForwardValues = "none" - ForwardValuesAllowlist ForwardValues = "allow-list" + ForwardValuesAllowList ForwardValues = "allow-list" ForwardValuesAll ForwardValues = "all" ) @@ -467,17 +467,17 @@ type HeaderEnum string // Enum values for HeaderEnum const ( HeaderEnumAccept HeaderEnum = "Accept" - HeaderEnumAcceptcharset HeaderEnum = "Accept-Charset" - HeaderEnumAcceptdatetime HeaderEnum = "Accept-Datetime" - HeaderEnumAcceptencoding HeaderEnum = "Accept-Encoding" - HeaderEnumAcceptlanguage HeaderEnum = "Accept-Language" + HeaderEnumAcceptCharset HeaderEnum = "Accept-Charset" + HeaderEnumAcceptDatetime HeaderEnum = "Accept-Datetime" + HeaderEnumAcceptEncoding HeaderEnum = "Accept-Encoding" + HeaderEnumAcceptLanguage HeaderEnum = "Accept-Language" HeaderEnumAuthorization HeaderEnum = "Authorization" - HeaderEnumCloudfrontforwardedproto HeaderEnum = "CloudFront-Forwarded-Proto" - HeaderEnumCloudfrontisdesktopviewer HeaderEnum = "CloudFront-Is-Desktop-Viewer" - HeaderEnumCloudfrontismobileviewer HeaderEnum = "CloudFront-Is-Mobile-Viewer" - HeaderEnumCloudfrontissmarttvviewer HeaderEnum = "CloudFront-Is-SmartTV-Viewer" - HeaderEnumCloudfrontistabletviewer HeaderEnum = "CloudFront-Is-Tablet-Viewer" - HeaderEnumCloudfrontviewercountry HeaderEnum = "CloudFront-Viewer-Country" + HeaderEnumCloudFrontForwardedProto HeaderEnum = "CloudFront-Forwarded-Proto" + HeaderEnumCloudFrontIsDesktopViewer HeaderEnum = "CloudFront-Is-Desktop-Viewer" + HeaderEnumCloudFrontIsMobileViewer HeaderEnum = "CloudFront-Is-Mobile-Viewer" + HeaderEnumCloudFrontIsSmartTVViewer HeaderEnum = "CloudFront-Is-SmartTV-Viewer" + HeaderEnumCloudFrontIsTabletViewer HeaderEnum = "CloudFront-Is-Tablet-Viewer" + HeaderEnumCloudFrontViewerCountry HeaderEnum = "CloudFront-Viewer-Country" HeaderEnumHost HeaderEnum = "Host" HeaderEnumOrigin HeaderEnum = "Origin" HeaderEnumReferer HeaderEnum = "Referer" @@ -528,17 +528,17 @@ type InstanceHealthReason string // Enum values for InstanceHealthReason const ( - InstanceHealthReasonLbregistrationinprogress InstanceHealthReason = "Lb.RegistrationInProgress" - InstanceHealthReasonLbinitialhealthchecking InstanceHealthReason = "Lb.InitialHealthChecking" - InstanceHealthReasonLbinternalerror InstanceHealthReason = "Lb.InternalError" - InstanceHealthReasonInstanceresponsecodemismatch InstanceHealthReason = "Instance.ResponseCodeMismatch" - InstanceHealthReasonInstancetimeout InstanceHealthReason = "Instance.Timeout" - InstanceHealthReasonInstancefailedhealthchecks InstanceHealthReason = "Instance.FailedHealthChecks" - InstanceHealthReasonInstancenotregistered InstanceHealthReason = "Instance.NotRegistered" - InstanceHealthReasonInstancenotinuse InstanceHealthReason = "Instance.NotInUse" - InstanceHealthReasonInstancederegistrationinprogress InstanceHealthReason = "Instance.DeregistrationInProgress" - InstanceHealthReasonInstanceinvalidstate InstanceHealthReason = "Instance.InvalidState" - InstanceHealthReasonInstanceipunusable InstanceHealthReason = "Instance.IpUnusable" + InstanceHealthReasonLbRegistrationInProgress InstanceHealthReason = "Lb.RegistrationInProgress" + InstanceHealthReasonLbInitialHealthChecking InstanceHealthReason = "Lb.InitialHealthChecking" + InstanceHealthReasonLbInternalError InstanceHealthReason = "Lb.InternalError" + InstanceHealthReasonInstanceResponseCodeMismatch InstanceHealthReason = "Instance.ResponseCodeMismatch" + InstanceHealthReasonInstanceTimeout InstanceHealthReason = "Instance.Timeout" + InstanceHealthReasonInstanceFailedHealthChecks InstanceHealthReason = "Instance.FailedHealthChecks" + InstanceHealthReasonInstanceNotRegistered InstanceHealthReason = "Instance.NotRegistered" + InstanceHealthReasonInstanceNotInUse InstanceHealthReason = "Instance.NotInUse" + InstanceHealthReasonInstanceDeregistrationInProgress InstanceHealthReason = "Instance.DeregistrationInProgress" + InstanceHealthReasonInstanceInvalidState InstanceHealthReason = "Instance.InvalidState" + InstanceHealthReasonInstanceIpUnusable InstanceHealthReason = "Instance.IpUnusable" ) // Values returns all known values for InstanceHealthReason. Note that this can be @@ -590,14 +590,14 @@ type InstanceMetricName string // Enum values for InstanceMetricName const ( - InstanceMetricNameCpuutilization InstanceMetricName = "CPUUtilization" - InstanceMetricNameNetworkin InstanceMetricName = "NetworkIn" - InstanceMetricNameNetworkout InstanceMetricName = "NetworkOut" - InstanceMetricNameStatuscheckfailed InstanceMetricName = "StatusCheckFailed" - InstanceMetricNameStatuscheckfailedInstance InstanceMetricName = "StatusCheckFailed_Instance" - InstanceMetricNameStatuscheckfailedSystem InstanceMetricName = "StatusCheckFailed_System" - InstanceMetricNameBurstcapacitytime InstanceMetricName = "BurstCapacityTime" - InstanceMetricNameBurstcapacitypercentage InstanceMetricName = "BurstCapacityPercentage" + InstanceMetricNameCPUUtilization InstanceMetricName = "CPUUtilization" + InstanceMetricNameNetworkIn InstanceMetricName = "NetworkIn" + InstanceMetricNameNetworkOut InstanceMetricName = "NetworkOut" + InstanceMetricNameStatusCheckFailed InstanceMetricName = "StatusCheckFailed" + InstanceMetricNameStatusCheckFailedInstance InstanceMetricName = "StatusCheckFailed_Instance" + InstanceMetricNameStatusCheckFailedSystem InstanceMetricName = "StatusCheckFailed_System" + InstanceMetricNameBurstCapacityTime InstanceMetricName = "BurstCapacityTime" + InstanceMetricNameBurstCapacityPercentage InstanceMetricName = "BurstCapacityPercentage" ) // Values returns all known values for InstanceMetricName. Note that this can be @@ -620,7 +620,7 @@ type InstancePlatform string // Enum values for InstancePlatform const ( - InstancePlatformLinuxunix InstancePlatform = "LINUX_UNIX" + InstancePlatformLinuxUnix InstancePlatform = "LINUX_UNIX" InstancePlatformWindows InstancePlatform = "WINDOWS" ) @@ -658,9 +658,9 @@ type LoadBalancerAttributeName string // Enum values for LoadBalancerAttributeName const ( - LoadBalancerAttributeNameHealthcheckpath LoadBalancerAttributeName = "HealthCheckPath" - LoadBalancerAttributeNameSessionstickinessenabled LoadBalancerAttributeName = "SessionStickinessEnabled" - LoadBalancerAttributeNameSessionstickinessLbCookiedurationseconds LoadBalancerAttributeName = "SessionStickiness_LB_CookieDurationSeconds" + LoadBalancerAttributeNameHealthCheckPath LoadBalancerAttributeName = "HealthCheckPath" + LoadBalancerAttributeNameSessionStickinessEnabled LoadBalancerAttributeName = "SessionStickinessEnabled" + LoadBalancerAttributeNameSessionStickinessLbCookieDurationSeconds LoadBalancerAttributeName = "SessionStickiness_LB_CookieDurationSeconds" ) // Values returns all known values for LoadBalancerAttributeName. Note that this @@ -678,18 +678,18 @@ type LoadBalancerMetricName string // Enum values for LoadBalancerMetricName const ( - LoadBalancerMetricNameClienttlsnegotiationerrorcount LoadBalancerMetricName = "ClientTLSNegotiationErrorCount" - LoadBalancerMetricNameHealthyhostcount LoadBalancerMetricName = "HealthyHostCount" - LoadBalancerMetricNameUnhealthyhostcount LoadBalancerMetricName = "UnhealthyHostCount" - LoadBalancerMetricNameHttpcodeLb4xxCount LoadBalancerMetricName = "HTTPCode_LB_4XX_Count" - LoadBalancerMetricNameHttpcodeLb5xxCount LoadBalancerMetricName = "HTTPCode_LB_5XX_Count" - LoadBalancerMetricNameHttpcodeInstance2xxCount LoadBalancerMetricName = "HTTPCode_Instance_2XX_Count" - LoadBalancerMetricNameHttpcodeInstance3xxCount LoadBalancerMetricName = "HTTPCode_Instance_3XX_Count" - LoadBalancerMetricNameHttpcodeInstance4xxCount LoadBalancerMetricName = "HTTPCode_Instance_4XX_Count" - LoadBalancerMetricNameHttpcodeInstance5xxCount LoadBalancerMetricName = "HTTPCode_Instance_5XX_Count" - LoadBalancerMetricNameInstanceresponsetime LoadBalancerMetricName = "InstanceResponseTime" - LoadBalancerMetricNameRejectedconnectioncount LoadBalancerMetricName = "RejectedConnectionCount" - LoadBalancerMetricNameRequestcount LoadBalancerMetricName = "RequestCount" + LoadBalancerMetricNameClientTLSNegotiationErrorCount LoadBalancerMetricName = "ClientTLSNegotiationErrorCount" + LoadBalancerMetricNameHealthyHostCount LoadBalancerMetricName = "HealthyHostCount" + LoadBalancerMetricNameUnhealthyHostCount LoadBalancerMetricName = "UnhealthyHostCount" + LoadBalancerMetricNameHTTPCodeLb4xxCount LoadBalancerMetricName = "HTTPCode_LB_4XX_Count" + LoadBalancerMetricNameHTTPCodeLb5xxCount LoadBalancerMetricName = "HTTPCode_LB_5XX_Count" + LoadBalancerMetricNameHTTPCodeInstance2xxCount LoadBalancerMetricName = "HTTPCode_Instance_2XX_Count" + LoadBalancerMetricNameHTTPCodeInstance3xxCount LoadBalancerMetricName = "HTTPCode_Instance_3XX_Count" + LoadBalancerMetricNameHTTPCodeInstance4xxCount LoadBalancerMetricName = "HTTPCode_Instance_4XX_Count" + LoadBalancerMetricNameHTTPCodeInstance5xxCount LoadBalancerMetricName = "HTTPCode_Instance_5XX_Count" + LoadBalancerMetricNameInstanceResponseTime LoadBalancerMetricName = "InstanceResponseTime" + LoadBalancerMetricNameRejectedConnectionCount LoadBalancerMetricName = "RejectedConnectionCount" + LoadBalancerMetricNameRequestCount LoadBalancerMetricName = "RequestCount" ) // Values returns all known values for LoadBalancerMetricName. Note that this can @@ -736,7 +736,7 @@ type LoadBalancerState string const ( LoadBalancerStateActive LoadBalancerState = "active" LoadBalancerStateProvisioning LoadBalancerState = "provisioning" - LoadBalancerStateActiveimpaired LoadBalancerState = "active_impaired" + LoadBalancerStateActiveImpaired LoadBalancerState = "active_impaired" LoadBalancerStateFailed LoadBalancerState = "failed" LoadBalancerStateUnknown LoadBalancerState = "unknown" ) @@ -758,7 +758,7 @@ type LoadBalancerTlsCertificateDomainStatus string // Enum values for LoadBalancerTlsCertificateDomainStatus const ( - LoadBalancerTlsCertificateDomainStatusPendingvalidation LoadBalancerTlsCertificateDomainStatus = "PENDING_VALIDATION" + LoadBalancerTlsCertificateDomainStatusPendingValidation LoadBalancerTlsCertificateDomainStatus = "PENDING_VALIDATION" LoadBalancerTlsCertificateDomainStatusFailed LoadBalancerTlsCertificateDomainStatus = "FAILED" LoadBalancerTlsCertificateDomainStatusSuccess LoadBalancerTlsCertificateDomainStatus = "SUCCESS" ) @@ -779,10 +779,10 @@ type LoadBalancerTlsCertificateFailureReason string // Enum values for LoadBalancerTlsCertificateFailureReason const ( - LoadBalancerTlsCertificateFailureReasonNoavailablecontacts LoadBalancerTlsCertificateFailureReason = "NO_AVAILABLE_CONTACTS" - LoadBalancerTlsCertificateFailureReasonAdditionalverificationrequired LoadBalancerTlsCertificateFailureReason = "ADDITIONAL_VERIFICATION_REQUIRED" - LoadBalancerTlsCertificateFailureReasonDomainnotallowed LoadBalancerTlsCertificateFailureReason = "DOMAIN_NOT_ALLOWED" - LoadBalancerTlsCertificateFailureReasonInvalidpublicdomain LoadBalancerTlsCertificateFailureReason = "INVALID_PUBLIC_DOMAIN" + LoadBalancerTlsCertificateFailureReasonNoAvailableContacts LoadBalancerTlsCertificateFailureReason = "NO_AVAILABLE_CONTACTS" + LoadBalancerTlsCertificateFailureReasonAdditionalVerificationRequired LoadBalancerTlsCertificateFailureReason = "ADDITIONAL_VERIFICATION_REQUIRED" + LoadBalancerTlsCertificateFailureReasonDomainNotAllowed LoadBalancerTlsCertificateFailureReason = "DOMAIN_NOT_ALLOWED" + LoadBalancerTlsCertificateFailureReasonInvalidPublicDomain LoadBalancerTlsCertificateFailureReason = "INVALID_PUBLIC_DOMAIN" LoadBalancerTlsCertificateFailureReasonOther LoadBalancerTlsCertificateFailureReason = "OTHER" ) @@ -804,8 +804,8 @@ type LoadBalancerTlsCertificateRenewalStatus string // Enum values for LoadBalancerTlsCertificateRenewalStatus const ( - LoadBalancerTlsCertificateRenewalStatusPendingautorenewal LoadBalancerTlsCertificateRenewalStatus = "PENDING_AUTO_RENEWAL" - LoadBalancerTlsCertificateRenewalStatusPendingvalidation LoadBalancerTlsCertificateRenewalStatus = "PENDING_VALIDATION" + LoadBalancerTlsCertificateRenewalStatusPendingAutoRenewal LoadBalancerTlsCertificateRenewalStatus = "PENDING_AUTO_RENEWAL" + LoadBalancerTlsCertificateRenewalStatusPendingValidation LoadBalancerTlsCertificateRenewalStatus = "PENDING_VALIDATION" LoadBalancerTlsCertificateRenewalStatusSuccess LoadBalancerTlsCertificateRenewalStatus = "SUCCESS" LoadBalancerTlsCertificateRenewalStatusFailed LoadBalancerTlsCertificateRenewalStatus = "FAILED" ) @@ -828,15 +828,15 @@ type LoadBalancerTlsCertificateRevocationReason string // Enum values for LoadBalancerTlsCertificateRevocationReason const ( LoadBalancerTlsCertificateRevocationReasonUnspecified LoadBalancerTlsCertificateRevocationReason = "UNSPECIFIED" - LoadBalancerTlsCertificateRevocationReasonKeycompromise LoadBalancerTlsCertificateRevocationReason = "KEY_COMPROMISE" - LoadBalancerTlsCertificateRevocationReasonCacompromise LoadBalancerTlsCertificateRevocationReason = "CA_COMPROMISE" - LoadBalancerTlsCertificateRevocationReasonAffiliationchanged LoadBalancerTlsCertificateRevocationReason = "AFFILIATION_CHANGED" + LoadBalancerTlsCertificateRevocationReasonKeyCompromise LoadBalancerTlsCertificateRevocationReason = "KEY_COMPROMISE" + LoadBalancerTlsCertificateRevocationReasonCaCompromise LoadBalancerTlsCertificateRevocationReason = "CA_COMPROMISE" + LoadBalancerTlsCertificateRevocationReasonAffiliationChanged LoadBalancerTlsCertificateRevocationReason = "AFFILIATION_CHANGED" LoadBalancerTlsCertificateRevocationReasonSuperceded LoadBalancerTlsCertificateRevocationReason = "SUPERCEDED" - LoadBalancerTlsCertificateRevocationReasonCessationofoperation LoadBalancerTlsCertificateRevocationReason = "CESSATION_OF_OPERATION" - LoadBalancerTlsCertificateRevocationReasonCertificatehold LoadBalancerTlsCertificateRevocationReason = "CERTIFICATE_HOLD" - LoadBalancerTlsCertificateRevocationReasonRemovefromcrl LoadBalancerTlsCertificateRevocationReason = "REMOVE_FROM_CRL" - LoadBalancerTlsCertificateRevocationReasonPrivilegewithdrawn LoadBalancerTlsCertificateRevocationReason = "PRIVILEGE_WITHDRAWN" - LoadBalancerTlsCertificateRevocationReasonAacompromise LoadBalancerTlsCertificateRevocationReason = "A_A_COMPROMISE" + LoadBalancerTlsCertificateRevocationReasonCessationOfOperation LoadBalancerTlsCertificateRevocationReason = "CESSATION_OF_OPERATION" + LoadBalancerTlsCertificateRevocationReasonCertificateHold LoadBalancerTlsCertificateRevocationReason = "CERTIFICATE_HOLD" + LoadBalancerTlsCertificateRevocationReasonRemoveFromCrl LoadBalancerTlsCertificateRevocationReason = "REMOVE_FROM_CRL" + LoadBalancerTlsCertificateRevocationReasonPrivilegeWithdrawn LoadBalancerTlsCertificateRevocationReason = "PRIVILEGE_WITHDRAWN" + LoadBalancerTlsCertificateRevocationReasonAACompromise LoadBalancerTlsCertificateRevocationReason = "A_A_COMPROMISE" ) // Values returns all known values for LoadBalancerTlsCertificateRevocationReason. @@ -862,11 +862,11 @@ type LoadBalancerTlsCertificateStatus string // Enum values for LoadBalancerTlsCertificateStatus const ( - LoadBalancerTlsCertificateStatusPendingvalidation LoadBalancerTlsCertificateStatus = "PENDING_VALIDATION" + LoadBalancerTlsCertificateStatusPendingValidation LoadBalancerTlsCertificateStatus = "PENDING_VALIDATION" LoadBalancerTlsCertificateStatusIssued LoadBalancerTlsCertificateStatus = "ISSUED" LoadBalancerTlsCertificateStatusInactive LoadBalancerTlsCertificateStatus = "INACTIVE" LoadBalancerTlsCertificateStatusExpired LoadBalancerTlsCertificateStatus = "EXPIRED" - LoadBalancerTlsCertificateStatusValidationtimedout LoadBalancerTlsCertificateStatus = "VALIDATION_TIMED_OUT" + LoadBalancerTlsCertificateStatusValidationTimedOut LoadBalancerTlsCertificateStatus = "VALIDATION_TIMED_OUT" LoadBalancerTlsCertificateStatusRevoked LoadBalancerTlsCertificateStatus = "REVOKED" LoadBalancerTlsCertificateStatusFailed LoadBalancerTlsCertificateStatus = "FAILED" LoadBalancerTlsCertificateStatusUnknown LoadBalancerTlsCertificateStatus = "UNKNOWN" @@ -893,31 +893,31 @@ type MetricName string // Enum values for MetricName const ( - MetricNameCpuutilization MetricName = "CPUUtilization" - MetricNameNetworkin MetricName = "NetworkIn" - MetricNameNetworkout MetricName = "NetworkOut" - MetricNameStatuscheckfailed MetricName = "StatusCheckFailed" - MetricNameStatuscheckfailedInstance MetricName = "StatusCheckFailed_Instance" - MetricNameStatuscheckfailedSystem MetricName = "StatusCheckFailed_System" - MetricNameClienttlsnegotiationerrorcount MetricName = "ClientTLSNegotiationErrorCount" - MetricNameHealthyhostcount MetricName = "HealthyHostCount" - MetricNameUnhealthyhostcount MetricName = "UnhealthyHostCount" - MetricNameHttpcodeLb4xxCount MetricName = "HTTPCode_LB_4XX_Count" - MetricNameHttpcodeLb5xxCount MetricName = "HTTPCode_LB_5XX_Count" - MetricNameHttpcodeInstance2xxCount MetricName = "HTTPCode_Instance_2XX_Count" - MetricNameHttpcodeInstance3xxCount MetricName = "HTTPCode_Instance_3XX_Count" - MetricNameHttpcodeInstance4xxCount MetricName = "HTTPCode_Instance_4XX_Count" - MetricNameHttpcodeInstance5xxCount MetricName = "HTTPCode_Instance_5XX_Count" - MetricNameInstanceresponsetime MetricName = "InstanceResponseTime" - MetricNameRejectedconnectioncount MetricName = "RejectedConnectionCount" - MetricNameRequestcount MetricName = "RequestCount" - MetricNameDatabaseconnections MetricName = "DatabaseConnections" - MetricNameDiskqueuedepth MetricName = "DiskQueueDepth" - MetricNameFreestoragespace MetricName = "FreeStorageSpace" - MetricNameNetworkreceivethroughput MetricName = "NetworkReceiveThroughput" - MetricNameNetworktransmitthroughput MetricName = "NetworkTransmitThroughput" - MetricNameBurstcapacitytime MetricName = "BurstCapacityTime" - MetricNameBurstcapacitypercentage MetricName = "BurstCapacityPercentage" + MetricNameCPUUtilization MetricName = "CPUUtilization" + MetricNameNetworkIn MetricName = "NetworkIn" + MetricNameNetworkOut MetricName = "NetworkOut" + MetricNameStatusCheckFailed MetricName = "StatusCheckFailed" + MetricNameStatusCheckFailedInstance MetricName = "StatusCheckFailed_Instance" + MetricNameStatusCheckFailedSystem MetricName = "StatusCheckFailed_System" + MetricNameClientTLSNegotiationErrorCount MetricName = "ClientTLSNegotiationErrorCount" + MetricNameHealthyHostCount MetricName = "HealthyHostCount" + MetricNameUnhealthyHostCount MetricName = "UnhealthyHostCount" + MetricNameHTTPCodeLb4xxCount MetricName = "HTTPCode_LB_4XX_Count" + MetricNameHTTPCodeLb5xxCount MetricName = "HTTPCode_LB_5XX_Count" + MetricNameHTTPCodeInstance2xxCount MetricName = "HTTPCode_Instance_2XX_Count" + MetricNameHTTPCodeInstance3xxCount MetricName = "HTTPCode_Instance_3XX_Count" + MetricNameHTTPCodeInstance4xxCount MetricName = "HTTPCode_Instance_4XX_Count" + MetricNameHTTPCodeInstance5xxCount MetricName = "HTTPCode_Instance_5XX_Count" + MetricNameInstanceResponseTime MetricName = "InstanceResponseTime" + MetricNameRejectedConnectionCount MetricName = "RejectedConnectionCount" + MetricNameRequestCount MetricName = "RequestCount" + MetricNameDatabaseConnections MetricName = "DatabaseConnections" + MetricNameDiskQueueDepth MetricName = "DiskQueueDepth" + MetricNameFreeStorageSpace MetricName = "FreeStorageSpace" + MetricNameNetworkReceiveThroughput MetricName = "NetworkReceiveThroughput" + MetricNameNetworkTransmitThroughput MetricName = "NetworkTransmitThroughput" + MetricNameBurstCapacityTime MetricName = "BurstCapacityTime" + MetricNameBurstCapacityPercentage MetricName = "BurstCapacityPercentage" ) // Values returns all known values for MetricName. Note that this can be expanded @@ -961,7 +961,7 @@ const ( MetricStatisticMaximum MetricStatistic = "Maximum" MetricStatisticSum MetricStatistic = "Sum" MetricStatisticAverage MetricStatistic = "Average" - MetricStatisticSamplecount MetricStatistic = "SampleCount" + MetricStatisticSampleCount MetricStatistic = "SampleCount" ) // Values returns all known values for MetricStatistic. Note that this can be @@ -996,17 +996,17 @@ const ( MetricUnitTerabits MetricUnit = "Terabits" MetricUnitPercent MetricUnit = "Percent" MetricUnitCount MetricUnit = "Count" - MetricUnitBytessecond MetricUnit = "Bytes/Second" - MetricUnitKilobytessecond MetricUnit = "Kilobytes/Second" - MetricUnitMegabytessecond MetricUnit = "Megabytes/Second" - MetricUnitGigabytessecond MetricUnit = "Gigabytes/Second" - MetricUnitTerabytessecond MetricUnit = "Terabytes/Second" - MetricUnitBitssecond MetricUnit = "Bits/Second" - MetricUnitKilobitssecond MetricUnit = "Kilobits/Second" - MetricUnitMegabitssecond MetricUnit = "Megabits/Second" - MetricUnitGigabitssecond MetricUnit = "Gigabits/Second" - MetricUnitTerabitssecond MetricUnit = "Terabits/Second" - MetricUnitCountsecond MetricUnit = "Count/Second" + MetricUnitBytesSecond MetricUnit = "Bytes/Second" + MetricUnitKilobytesSecond MetricUnit = "Kilobytes/Second" + MetricUnitMegabytesSecond MetricUnit = "Megabytes/Second" + MetricUnitGigabytesSecond MetricUnit = "Gigabytes/Second" + MetricUnitTerabytesSecond MetricUnit = "Terabytes/Second" + MetricUnitBitsSecond MetricUnit = "Bits/Second" + MetricUnitKilobitsSecond MetricUnit = "Kilobits/Second" + MetricUnitMegabitsSecond MetricUnit = "Megabits/Second" + MetricUnitGigabitsSecond MetricUnit = "Gigabits/Second" + MetricUnitTerabitsSecond MetricUnit = "Terabits/Second" + MetricUnitCountSecond MetricUnit = "Count/Second" MetricUnitNone MetricUnit = "None" ) @@ -1071,7 +1071,7 @@ type OperationStatus string // Enum values for OperationStatus const ( - OperationStatusNotstarted OperationStatus = "NotStarted" + OperationStatusNotStarted OperationStatus = "NotStarted" OperationStatusStarted OperationStatus = "Started" OperationStatusFailed OperationStatus = "Failed" OperationStatusCompleted OperationStatus = "Completed" @@ -1095,77 +1095,77 @@ type OperationType string // Enum values for OperationType const ( - OperationTypeDeleteknownhostkeys OperationType = "DeleteKnownHostKeys" - OperationTypeDeleteinstance OperationType = "DeleteInstance" - OperationTypeCreateinstance OperationType = "CreateInstance" - OperationTypeStopinstance OperationType = "StopInstance" - OperationTypeStartinstance OperationType = "StartInstance" - OperationTypeRebootinstance OperationType = "RebootInstance" - OperationTypeOpeninstancepublicports OperationType = "OpenInstancePublicPorts" - OperationTypePutinstancepublicports OperationType = "PutInstancePublicPorts" - OperationTypeCloseinstancepublicports OperationType = "CloseInstancePublicPorts" - OperationTypeAllocatestaticip OperationType = "AllocateStaticIp" - OperationTypeReleasestaticip OperationType = "ReleaseStaticIp" - OperationTypeAttachstaticip OperationType = "AttachStaticIp" - OperationTypeDetachstaticip OperationType = "DetachStaticIp" - OperationTypeUpdatedomainentry OperationType = "UpdateDomainEntry" - OperationTypeDeletedomainentry OperationType = "DeleteDomainEntry" - OperationTypeCreatedomain OperationType = "CreateDomain" - OperationTypeDeletedomain OperationType = "DeleteDomain" - OperationTypeCreateinstancesnapshot OperationType = "CreateInstanceSnapshot" - OperationTypeDeleteinstancesnapshot OperationType = "DeleteInstanceSnapshot" - OperationTypeCreateinstancesfromsnapshot OperationType = "CreateInstancesFromSnapshot" - OperationTypeCreateloadbalancer OperationType = "CreateLoadBalancer" - OperationTypeDeleteloadbalancer OperationType = "DeleteLoadBalancer" - OperationTypeAttachinstancestoloadbalancer OperationType = "AttachInstancesToLoadBalancer" - OperationTypeDetachinstancesfromloadbalancer OperationType = "DetachInstancesFromLoadBalancer" - OperationTypeUpdateloadbalancerattribute OperationType = "UpdateLoadBalancerAttribute" - OperationTypeCreateloadbalancertlscertificate OperationType = "CreateLoadBalancerTlsCertificate" - OperationTypeDeleteloadbalancertlscertificate OperationType = "DeleteLoadBalancerTlsCertificate" - OperationTypeAttachloadbalancertlscertificate OperationType = "AttachLoadBalancerTlsCertificate" - OperationTypeCreatedisk OperationType = "CreateDisk" - OperationTypeDeletedisk OperationType = "DeleteDisk" - OperationTypeAttachdisk OperationType = "AttachDisk" - OperationTypeDetachdisk OperationType = "DetachDisk" - OperationTypeCreatedisksnapshot OperationType = "CreateDiskSnapshot" - OperationTypeDeletedisksnapshot OperationType = "DeleteDiskSnapshot" - OperationTypeCreatediskfromsnapshot OperationType = "CreateDiskFromSnapshot" - OperationTypeCreaterelationaldatabase OperationType = "CreateRelationalDatabase" - OperationTypeUpdaterelationaldatabase OperationType = "UpdateRelationalDatabase" - OperationTypeDeleterelationaldatabase OperationType = "DeleteRelationalDatabase" - OperationTypeCreaterelationaldatabasefromsnapshot OperationType = "CreateRelationalDatabaseFromSnapshot" - OperationTypeCreaterelationaldatabasesnapshot OperationType = "CreateRelationalDatabaseSnapshot" - OperationTypeDeleterelationaldatabasesnapshot OperationType = "DeleteRelationalDatabaseSnapshot" - OperationTypeUpdaterelationaldatabaseparameters OperationType = "UpdateRelationalDatabaseParameters" - OperationTypeStartrelationaldatabase OperationType = "StartRelationalDatabase" - OperationTypeRebootrelationaldatabase OperationType = "RebootRelationalDatabase" - OperationTypeStoprelationaldatabase OperationType = "StopRelationalDatabase" - OperationTypeEnableaddon OperationType = "EnableAddOn" - OperationTypeDisableaddon OperationType = "DisableAddOn" - OperationTypePutalarm OperationType = "PutAlarm" - OperationTypeGetalarms OperationType = "GetAlarms" - OperationTypeDeletealarm OperationType = "DeleteAlarm" - OperationTypeTestalarm OperationType = "TestAlarm" - OperationTypeCreatecontactmethod OperationType = "CreateContactMethod" - OperationTypeGetcontactmethods OperationType = "GetContactMethods" - OperationTypeSendcontactmethodverification OperationType = "SendContactMethodVerification" - OperationTypeDeletecontactmethod OperationType = "DeleteContactMethod" - OperationTypeCreatedistribution OperationType = "CreateDistribution" - OperationTypeUpdatedistribution OperationType = "UpdateDistribution" - OperationTypeDeletedistribution OperationType = "DeleteDistribution" - OperationTypeResetdistributioncache OperationType = "ResetDistributionCache" - OperationTypeAttachcertificatetodistribution OperationType = "AttachCertificateToDistribution" - OperationTypeDetachcertificatefromdistribution OperationType = "DetachCertificateFromDistribution" - OperationTypeUpdatedistributionbundle OperationType = "UpdateDistributionBundle" - OperationTypeCreatecertificate OperationType = "CreateCertificate" - OperationTypeDeletecertificate OperationType = "DeleteCertificate" - OperationTypeCreatecontainerservice OperationType = "CreateContainerService" - OperationTypeUpdatecontainerservice OperationType = "UpdateContainerService" - OperationTypeDeletecontainerservice OperationType = "DeleteContainerService" - OperationTypeCreatecontainerservicedeployment OperationType = "CreateContainerServiceDeployment" - OperationTypeCreatecontainerserviceregistrylogin OperationType = "CreateContainerServiceRegistryLogin" - OperationTypeRegistercontainerimage OperationType = "RegisterContainerImage" - OperationTypeDeletecontainerimage OperationType = "DeleteContainerImage" + OperationTypeDeleteKnownHostKeys OperationType = "DeleteKnownHostKeys" + OperationTypeDeleteInstance OperationType = "DeleteInstance" + OperationTypeCreateInstance OperationType = "CreateInstance" + OperationTypeStopInstance OperationType = "StopInstance" + OperationTypeStartInstance OperationType = "StartInstance" + OperationTypeRebootInstance OperationType = "RebootInstance" + OperationTypeOpenInstancePublicPorts OperationType = "OpenInstancePublicPorts" + OperationTypePutInstancePublicPorts OperationType = "PutInstancePublicPorts" + OperationTypeCloseInstancePublicPorts OperationType = "CloseInstancePublicPorts" + OperationTypeAllocateStaticIp OperationType = "AllocateStaticIp" + OperationTypeReleaseStaticIp OperationType = "ReleaseStaticIp" + OperationTypeAttachStaticIp OperationType = "AttachStaticIp" + OperationTypeDetachStaticIp OperationType = "DetachStaticIp" + OperationTypeUpdateDomainEntry OperationType = "UpdateDomainEntry" + OperationTypeDeleteDomainEntry OperationType = "DeleteDomainEntry" + OperationTypeCreateDomain OperationType = "CreateDomain" + OperationTypeDeleteDomain OperationType = "DeleteDomain" + OperationTypeCreateInstanceSnapshot OperationType = "CreateInstanceSnapshot" + OperationTypeDeleteInstanceSnapshot OperationType = "DeleteInstanceSnapshot" + OperationTypeCreateInstancesFromSnapshot OperationType = "CreateInstancesFromSnapshot" + OperationTypeCreateLoadBalancer OperationType = "CreateLoadBalancer" + OperationTypeDeleteLoadBalancer OperationType = "DeleteLoadBalancer" + OperationTypeAttachInstancesToLoadBalancer OperationType = "AttachInstancesToLoadBalancer" + OperationTypeDetachInstancesFromLoadBalancer OperationType = "DetachInstancesFromLoadBalancer" + OperationTypeUpdateLoadBalancerAttribute OperationType = "UpdateLoadBalancerAttribute" + OperationTypeCreateLoadBalancerTlsCertificate OperationType = "CreateLoadBalancerTlsCertificate" + OperationTypeDeleteLoadBalancerTlsCertificate OperationType = "DeleteLoadBalancerTlsCertificate" + OperationTypeAttachLoadBalancerTlsCertificate OperationType = "AttachLoadBalancerTlsCertificate" + OperationTypeCreateDisk OperationType = "CreateDisk" + OperationTypeDeleteDisk OperationType = "DeleteDisk" + OperationTypeAttachDisk OperationType = "AttachDisk" + OperationTypeDetachDisk OperationType = "DetachDisk" + OperationTypeCreateDiskSnapshot OperationType = "CreateDiskSnapshot" + OperationTypeDeleteDiskSnapshot OperationType = "DeleteDiskSnapshot" + OperationTypeCreateDiskFromSnapshot OperationType = "CreateDiskFromSnapshot" + OperationTypeCreateRelationalDatabase OperationType = "CreateRelationalDatabase" + OperationTypeUpdateRelationalDatabase OperationType = "UpdateRelationalDatabase" + OperationTypeDeleteRelationalDatabase OperationType = "DeleteRelationalDatabase" + OperationTypeCreateRelationalDatabaseFromSnapshot OperationType = "CreateRelationalDatabaseFromSnapshot" + OperationTypeCreateRelationalDatabaseSnapshot OperationType = "CreateRelationalDatabaseSnapshot" + OperationTypeDeleteRelationalDatabaseSnapshot OperationType = "DeleteRelationalDatabaseSnapshot" + OperationTypeUpdateRelationalDatabaseParameters OperationType = "UpdateRelationalDatabaseParameters" + OperationTypeStartRelationalDatabase OperationType = "StartRelationalDatabase" + OperationTypeRebootRelationalDatabase OperationType = "RebootRelationalDatabase" + OperationTypeStopRelationalDatabase OperationType = "StopRelationalDatabase" + OperationTypeEnableAddOn OperationType = "EnableAddOn" + OperationTypeDisableAddOn OperationType = "DisableAddOn" + OperationTypePutAlarm OperationType = "PutAlarm" + OperationTypeGetAlarms OperationType = "GetAlarms" + OperationTypeDeleteAlarm OperationType = "DeleteAlarm" + OperationTypeTestAlarm OperationType = "TestAlarm" + OperationTypeCreateContactMethod OperationType = "CreateContactMethod" + OperationTypeGetContactMethods OperationType = "GetContactMethods" + OperationTypeSendContactMethodVerification OperationType = "SendContactMethodVerification" + OperationTypeDeleteContactMethod OperationType = "DeleteContactMethod" + OperationTypeCreateDistribution OperationType = "CreateDistribution" + OperationTypeUpdateDistribution OperationType = "UpdateDistribution" + OperationTypeDeleteDistribution OperationType = "DeleteDistribution" + OperationTypeResetDistributionCache OperationType = "ResetDistributionCache" + OperationTypeAttachCertificateToDistribution OperationType = "AttachCertificateToDistribution" + OperationTypeDetachCertificateFromDistribution OperationType = "DetachCertificateFromDistribution" + OperationTypeUpdateDistributionBundle OperationType = "UpdateDistributionBundle" + OperationTypeCreateCertificate OperationType = "CreateCertificate" + OperationTypeDeleteCertificate OperationType = "DeleteCertificate" + OperationTypeCreateContainerService OperationType = "CreateContainerService" + OperationTypeUpdateContainerService OperationType = "UpdateContainerService" + OperationTypeDeleteContainerService OperationType = "DeleteContainerService" + OperationTypeCreateContainerServiceDeployment OperationType = "CreateContainerServiceDeployment" + OperationTypeCreateContainerServiceRegistryLogin OperationType = "CreateContainerServiceRegistryLogin" + OperationTypeRegisterContainerImage OperationType = "RegisterContainerImage" + OperationTypeDeleteContainerImage OperationType = "DeleteContainerImage" ) // Values returns all known values for OperationType. Note that this can be @@ -1251,8 +1251,8 @@ type OriginProtocolPolicyEnum string // Enum values for OriginProtocolPolicyEnum const ( - OriginProtocolPolicyEnumHttponly OriginProtocolPolicyEnum = "http-only" - OriginProtocolPolicyEnumHttpsonly OriginProtocolPolicyEnum = "https-only" + OriginProtocolPolicyEnumHTTPOnly OriginProtocolPolicyEnum = "http-only" + OriginProtocolPolicyEnumHTTPSOnly OriginProtocolPolicyEnum = "https-only" ) // Values returns all known values for OriginProtocolPolicyEnum. Note that this can @@ -1405,12 +1405,12 @@ type RelationalDatabaseMetricName string // Enum values for RelationalDatabaseMetricName const ( - RelationalDatabaseMetricNameCpuutilization RelationalDatabaseMetricName = "CPUUtilization" - RelationalDatabaseMetricNameDatabaseconnections RelationalDatabaseMetricName = "DatabaseConnections" - RelationalDatabaseMetricNameDiskqueuedepth RelationalDatabaseMetricName = "DiskQueueDepth" - RelationalDatabaseMetricNameFreestoragespace RelationalDatabaseMetricName = "FreeStorageSpace" - RelationalDatabaseMetricNameNetworkreceivethroughput RelationalDatabaseMetricName = "NetworkReceiveThroughput" - RelationalDatabaseMetricNameNetworktransmitthroughput RelationalDatabaseMetricName = "NetworkTransmitThroughput" + RelationalDatabaseMetricNameCPUUtilization RelationalDatabaseMetricName = "CPUUtilization" + RelationalDatabaseMetricNameDatabaseConnections RelationalDatabaseMetricName = "DatabaseConnections" + RelationalDatabaseMetricNameDiskQueueDepth RelationalDatabaseMetricName = "DiskQueueDepth" + RelationalDatabaseMetricNameFreeStorageSpace RelationalDatabaseMetricName = "FreeStorageSpace" + RelationalDatabaseMetricNameNetworkReceiveThroughput RelationalDatabaseMetricName = "NetworkReceiveThroughput" + RelationalDatabaseMetricNameNetworkTransmitThroughput RelationalDatabaseMetricName = "NetworkTransmitThroughput" ) // Values returns all known values for RelationalDatabaseMetricName. Note that this @@ -1452,8 +1452,8 @@ type RenewalStatus string // Enum values for RenewalStatus const ( - RenewalStatusPendingautorenewal RenewalStatus = "PendingAutoRenewal" - RenewalStatusPendingvalidation RenewalStatus = "PendingValidation" + RenewalStatusPendingAutoRenewal RenewalStatus = "PendingAutoRenewal" + RenewalStatusPendingValidation RenewalStatus = "PendingValidation" RenewalStatusSuccess RenewalStatus = "Success" RenewalStatusFailed RenewalStatus = "Failed" ) @@ -1474,23 +1474,23 @@ type ResourceType string // Enum values for ResourceType const ( - ResourceTypeContainerservice ResourceType = "ContainerService" + ResourceTypeContainerService ResourceType = "ContainerService" ResourceTypeInstance ResourceType = "Instance" - ResourceTypeStaticip ResourceType = "StaticIp" - ResourceTypeKeypair ResourceType = "KeyPair" - ResourceTypeInstancesnapshot ResourceType = "InstanceSnapshot" + ResourceTypeStaticIp ResourceType = "StaticIp" + ResourceTypeKeyPair ResourceType = "KeyPair" + ResourceTypeInstanceSnapshot ResourceType = "InstanceSnapshot" ResourceTypeDomain ResourceType = "Domain" - ResourceTypePeeredvpc ResourceType = "PeeredVpc" - ResourceTypeLoadbalancer ResourceType = "LoadBalancer" - ResourceTypeLoadbalancertlscertificate ResourceType = "LoadBalancerTlsCertificate" + ResourceTypePeeredVpc ResourceType = "PeeredVpc" + ResourceTypeLoadBalancer ResourceType = "LoadBalancer" + ResourceTypeLoadBalancerTlsCertificate ResourceType = "LoadBalancerTlsCertificate" ResourceTypeDisk ResourceType = "Disk" - ResourceTypeDisksnapshot ResourceType = "DiskSnapshot" - ResourceTypeRelationaldatabase ResourceType = "RelationalDatabase" - ResourceTypeRelationaldatabasesnapshot ResourceType = "RelationalDatabaseSnapshot" - ResourceTypeExportsnapshotrecord ResourceType = "ExportSnapshotRecord" - ResourceTypeCloudformationstackrecord ResourceType = "CloudFormationStackRecord" + ResourceTypeDiskSnapshot ResourceType = "DiskSnapshot" + ResourceTypeRelationalDatabase ResourceType = "RelationalDatabase" + ResourceTypeRelationalDatabaseSnapshot ResourceType = "RelationalDatabaseSnapshot" + ResourceTypeExportSnapshotRecord ResourceType = "ExportSnapshotRecord" + ResourceTypeCloudFormationStackRecord ResourceType = "CloudFormationStackRecord" ResourceTypeAlarm ResourceType = "Alarm" - ResourceTypeContactmethod ResourceType = "ContactMethod" + ResourceTypeContactMethod ResourceType = "ContactMethod" ResourceTypeDistribution ResourceType = "Distribution" ResourceTypeCertificate ResourceType = "Certificate" ) @@ -1527,7 +1527,7 @@ type TreatMissingData string // Enum values for TreatMissingData const ( TreatMissingDataBreaching TreatMissingData = "breaching" - TreatMissingDataNotbreaching TreatMissingData = "notBreaching" + TreatMissingDataNotBreaching TreatMissingData = "notBreaching" TreatMissingDataIgnore TreatMissingData = "ignore" TreatMissingDataMissing TreatMissingData = "missing" ) diff --git a/service/lookoutvision/api_client.go b/service/lookoutvision/api_client.go index e18cba3e32e..ba0010cad5a 100644 --- a/service/lookoutvision/api_client.go +++ b/service/lookoutvision/api_client.go @@ -97,6 +97,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/machinelearning/api_client.go b/service/machinelearning/api_client.go index 207a2664e62..07c77c8aec7 100644 --- a/service/machinelearning/api_client.go +++ b/service/machinelearning/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/macie/api_client.go b/service/macie/api_client.go index 248e1d86b39..dea728ec42c 100644 --- a/service/macie/api_client.go +++ b/service/macie/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/macie2/api_client.go b/service/macie2/api_client.go index 1224711c08a..b21ed4b1401 100644 --- a/service/macie2/api_client.go +++ b/service/macie2/api_client.go @@ -96,6 +96,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/macie2/types/enums.go b/service/macie2/types/enums.go index 26391657f6a..72724161b5e 100644 --- a/service/macie2/types/enums.go +++ b/service/macie2/types/enums.go @@ -110,8 +110,8 @@ type ErrorCode string // Enum values for ErrorCode const ( - ErrorCodeClienterror ErrorCode = "ClientError" - ErrorCodeInternalerror ErrorCode = "InternalError" + ErrorCodeClientError ErrorCode = "ClientError" + ErrorCodeInternalError ErrorCode = "InternalError" ) // Values returns all known values for ErrorCode. Note that this can be expanded in @@ -200,7 +200,7 @@ type FindingStatisticsSortAttributeName string // Enum values for FindingStatisticsSortAttributeName const ( - FindingStatisticsSortAttributeNameGroupkey FindingStatisticsSortAttributeName = "groupKey" + FindingStatisticsSortAttributeNameGroupKey FindingStatisticsSortAttributeName = "groupKey" FindingStatisticsSortAttributeNameCount FindingStatisticsSortAttributeName = "count" ) @@ -219,16 +219,16 @@ type FindingType string // Enum values for FindingType const ( - FindingTypeSensitivedataS3objectMultiple FindingType = "SensitiveData:S3Object/Multiple" - FindingTypeSensitivedataS3objectFinancial FindingType = "SensitiveData:S3Object/Financial" - FindingTypeSensitivedataS3objectPersonal FindingType = "SensitiveData:S3Object/Personal" - FindingTypeSensitivedataS3objectCredentials FindingType = "SensitiveData:S3Object/Credentials" - FindingTypeSensitivedataS3objectCustomidentifier FindingType = "SensitiveData:S3Object/CustomIdentifier" - FindingTypePolicyIamuserS3bucketpublic FindingType = "Policy:IAMUser/S3BucketPublic" - FindingTypePolicyIamuserS3bucketsharedexternally FindingType = "Policy:IAMUser/S3BucketSharedExternally" - FindingTypePolicyIamuserS3bucketreplicatedexternally FindingType = "Policy:IAMUser/S3BucketReplicatedExternally" - FindingTypePolicyIamuserS3bucketencryptiondisabled FindingType = "Policy:IAMUser/S3BucketEncryptionDisabled" - FindingTypePolicyIamuserS3blockpublicaccessdisabled FindingType = "Policy:IAMUser/S3BlockPublicAccessDisabled" + FindingTypeSensitiveDataS3ObjectMultiple FindingType = "SensitiveData:S3Object/Multiple" + FindingTypeSensitiveDataS3ObjectFinancial FindingType = "SensitiveData:S3Object/Financial" + FindingTypeSensitiveDataS3ObjectPersonal FindingType = "SensitiveData:S3Object/Personal" + FindingTypeSensitiveDataS3ObjectCredentials FindingType = "SensitiveData:S3Object/Credentials" + FindingTypeSensitiveDataS3ObjectCustomIdentifier FindingType = "SensitiveData:S3Object/CustomIdentifier" + FindingTypePolicyIAMUserS3BucketPublic FindingType = "Policy:IAMUser/S3BucketPublic" + FindingTypePolicyIAMUserS3BucketSharedExternally FindingType = "Policy:IAMUser/S3BucketSharedExternally" + FindingTypePolicyIAMUserS3BucketReplicatedExternally FindingType = "Policy:IAMUser/S3BucketReplicatedExternally" + FindingTypePolicyIAMUserS3BucketEncryptionDisabled FindingType = "Policy:IAMUser/S3BucketEncryptionDisabled" + FindingTypePolicyIAMUserS3BlockPublicAccessDisabled FindingType = "Policy:IAMUser/S3BlockPublicAccessDisabled" ) // Values returns all known values for FindingType. Note that this can be expanded @@ -253,9 +253,9 @@ type GroupBy string // Enum values for GroupBy const ( - GroupByResourcesaffectedS3bucketName GroupBy = "resourcesAffected.s3Bucket.name" + GroupByResourcesAffectedS3BucketName GroupBy = "resourcesAffected.s3Bucket.name" GroupByType GroupBy = "type" - GroupByClassificationdetailsJobid GroupBy = "classificationDetails.jobId" + GroupByClassificationDetailsJobId GroupBy = "classificationDetails.jobId" GroupBySeverityDescription GroupBy = "severity.description" ) @@ -405,9 +405,9 @@ type ListJobsFilterKey string // Enum values for ListJobsFilterKey const ( - ListJobsFilterKeyJobtype ListJobsFilterKey = "jobType" - ListJobsFilterKeyJobstatus ListJobsFilterKey = "jobStatus" - ListJobsFilterKeyCreatedat ListJobsFilterKey = "createdAt" + ListJobsFilterKeyJobType ListJobsFilterKey = "jobType" + ListJobsFilterKeyJobStatus ListJobsFilterKey = "jobStatus" + ListJobsFilterKeyCreatedAt ListJobsFilterKey = "createdAt" ListJobsFilterKeyName ListJobsFilterKey = "name" ) @@ -427,10 +427,10 @@ type ListJobsSortAttributeName string // Enum values for ListJobsSortAttributeName const ( - ListJobsSortAttributeNameCreatedat ListJobsSortAttributeName = "createdAt" - ListJobsSortAttributeNameJobstatus ListJobsSortAttributeName = "jobStatus" + ListJobsSortAttributeNameCreatedAt ListJobsSortAttributeName = "createdAt" + ListJobsSortAttributeNameJobStatus ListJobsSortAttributeName = "jobStatus" ListJobsSortAttributeNameName ListJobsSortAttributeName = "name" - ListJobsSortAttributeNameJobtype ListJobsSortAttributeName = "jobType" + ListJobsSortAttributeNameJobType ListJobsSortAttributeName = "jobType" ) // Values returns all known values for ListJobsSortAttributeName. Note that this @@ -491,10 +491,10 @@ const ( RelationshipStatusCreated RelationshipStatus = "Created" RelationshipStatusRemoved RelationshipStatus = "Removed" RelationshipStatusResigned RelationshipStatus = "Resigned" - RelationshipStatusEmailverificationinprogress RelationshipStatus = "EmailVerificationInProgress" - RelationshipStatusEmailverificationfailed RelationshipStatus = "EmailVerificationFailed" - RelationshipStatusRegiondisabled RelationshipStatus = "RegionDisabled" - RelationshipStatusAccountsuspended RelationshipStatus = "AccountSuspended" + RelationshipStatusEmailVerificationInProgress RelationshipStatus = "EmailVerificationInProgress" + RelationshipStatusEmailVerificationFailed RelationshipStatus = "EmailVerificationFailed" + RelationshipStatusRegionDisabled RelationshipStatus = "RegionDisabled" + RelationshipStatusAccountSuspended RelationshipStatus = "AccountSuspended" ) // Values returns all known values for RelationshipStatus. Note that this can be @@ -696,9 +696,9 @@ type UsageStatisticsFilterKey string // Enum values for UsageStatisticsFilterKey const ( - UsageStatisticsFilterKeyAccountid UsageStatisticsFilterKey = "accountId" - UsageStatisticsFilterKeyServicelimit UsageStatisticsFilterKey = "serviceLimit" - UsageStatisticsFilterKeyFreetrialstartdate UsageStatisticsFilterKey = "freeTrialStartDate" + UsageStatisticsFilterKeyAccountId UsageStatisticsFilterKey = "accountId" + UsageStatisticsFilterKeyServiceLimit UsageStatisticsFilterKey = "serviceLimit" + UsageStatisticsFilterKeyFreeTrialStartDate UsageStatisticsFilterKey = "freeTrialStartDate" UsageStatisticsFilterKeyTotal UsageStatisticsFilterKey = "total" ) @@ -718,10 +718,10 @@ type UsageStatisticsSortKey string // Enum values for UsageStatisticsSortKey const ( - UsageStatisticsSortKeyAccountid UsageStatisticsSortKey = "accountId" + UsageStatisticsSortKeyAccountId UsageStatisticsSortKey = "accountId" UsageStatisticsSortKeyTotal UsageStatisticsSortKey = "total" - UsageStatisticsSortKeyServicelimitvalue UsageStatisticsSortKey = "serviceLimitValue" - UsageStatisticsSortKeyFreetrialstartdate UsageStatisticsSortKey = "freeTrialStartDate" + UsageStatisticsSortKeyServiceLimitValue UsageStatisticsSortKey = "serviceLimitValue" + UsageStatisticsSortKeyFreeTrialStartDate UsageStatisticsSortKey = "freeTrialStartDate" ) // Values returns all known values for UsageStatisticsSortKey. Note that this can @@ -758,12 +758,12 @@ type UserIdentityType string // Enum values for UserIdentityType const ( - UserIdentityTypeAssumedrole UserIdentityType = "AssumedRole" - UserIdentityTypeIamuser UserIdentityType = "IAMUser" - UserIdentityTypeFederateduser UserIdentityType = "FederatedUser" + UserIdentityTypeAssumedRole UserIdentityType = "AssumedRole" + UserIdentityTypeIAMUser UserIdentityType = "IAMUser" + UserIdentityTypeFederatedUser UserIdentityType = "FederatedUser" UserIdentityTypeRoot UserIdentityType = "Root" - UserIdentityTypeAwsaccount UserIdentityType = "AWSAccount" - UserIdentityTypeAwsservice UserIdentityType = "AWSService" + UserIdentityTypeAWSAccount UserIdentityType = "AWSAccount" + UserIdentityTypeAWSService UserIdentityType = "AWSService" ) // Values returns all known values for UserIdentityType. Note that this can be diff --git a/service/managedblockchain/api_client.go b/service/managedblockchain/api_client.go index d1cfea5a95e..96e8d8b0963 100644 --- a/service/managedblockchain/api_client.go +++ b/service/managedblockchain/api_client.go @@ -97,6 +97,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/managedblockchain/types/enums.go b/service/managedblockchain/types/enums.go index e292c39ef56..7522116efa2 100644 --- a/service/managedblockchain/types/enums.go +++ b/service/managedblockchain/types/enums.go @@ -170,8 +170,8 @@ type StateDBType string // Enum values for StateDBType const ( - StateDBTypeLeveldb StateDBType = "LevelDB" - StateDBTypeCouchdb StateDBType = "CouchDB" + StateDBTypeLevelDB StateDBType = "LevelDB" + StateDBTypeCouchDB StateDBType = "CouchDB" ) // Values returns all known values for StateDBType. Note that this can be expanded diff --git a/service/marketplacecatalog/api_client.go b/service/marketplacecatalog/api_client.go index d9afe0a2c19..5c77d94300b 100644 --- a/service/marketplacecatalog/api_client.go +++ b/service/marketplacecatalog/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/marketplacecatalog/types/enums.go b/service/marketplacecatalog/types/enums.go index edb68fa2479..9af3e3e2e43 100644 --- a/service/marketplacecatalog/types/enums.go +++ b/service/marketplacecatalog/types/enums.go @@ -30,8 +30,8 @@ type FailureCode string // Enum values for FailureCode const ( - FailureCodeClienterror FailureCode = "CLIENT_ERROR" - FailureCodeServerfault FailureCode = "SERVER_FAULT" + FailureCodeClientError FailureCode = "CLIENT_ERROR" + FailureCodeServerFault FailureCode = "SERVER_FAULT" ) // Values returns all known values for FailureCode. Note that this can be expanded diff --git a/service/marketplacecommerceanalytics/api_client.go b/service/marketplacecommerceanalytics/api_client.go index cb80e6db265..f0c4c11798f 100644 --- a/service/marketplacecommerceanalytics/api_client.go +++ b/service/marketplacecommerceanalytics/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/marketplaceentitlementservice/api_client.go b/service/marketplaceentitlementservice/api_client.go index 5c6d6dace53..51a98630a0d 100644 --- a/service/marketplaceentitlementservice/api_client.go +++ b/service/marketplaceentitlementservice/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/marketplacemetering/api_client.go b/service/marketplacemetering/api_client.go index 1bac6f695cf..68b4ab03fb1 100644 --- a/service/marketplacemetering/api_client.go +++ b/service/marketplacemetering/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/mediaconnect/api_client.go b/service/mediaconnect/api_client.go index 0ff84ca99cf..a7314ea7282 100644 --- a/service/mediaconnect/api_client.go +++ b/service/mediaconnect/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/mediaconvert/api_client.go b/service/mediaconvert/api_client.go index e28ef80913a..338ad1d685f 100644 --- a/service/mediaconvert/api_client.go +++ b/service/mediaconvert/api_client.go @@ -97,6 +97,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/medialive/api_client.go b/service/medialive/api_client.go index fc067e49267..31413c57b90 100644 --- a/service/medialive/api_client.go +++ b/service/medialive/api_client.go @@ -97,6 +97,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/mediapackage/api_client.go b/service/mediapackage/api_client.go index 9f27d3a447e..a4e43944f99 100644 --- a/service/mediapackage/api_client.go +++ b/service/mediapackage/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/mediapackagevod/api_client.go b/service/mediapackagevod/api_client.go index 5bf4fdb4420..101ee3eceb7 100644 --- a/service/mediapackagevod/api_client.go +++ b/service/mediapackagevod/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/mediastore/api_client.go b/service/mediastore/api_client.go index c5062ca21c3..2f7c35ff2f8 100644 --- a/service/mediastore/api_client.go +++ b/service/mediastore/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/mediastoredata/api_client.go b/service/mediastoredata/api_client.go index 685dd1d161d..c3e26eabce5 100644 --- a/service/mediastoredata/api_client.go +++ b/service/mediastoredata/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/mediatailor/api_client.go b/service/mediatailor/api_client.go index 3c2dc36cf7b..33b69942259 100644 --- a/service/mediatailor/api_client.go +++ b/service/mediatailor/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/migrationhub/api_client.go b/service/migrationhub/api_client.go index 3fa88df8379..d1ed8dbacb5 100644 --- a/service/migrationhub/api_client.go +++ b/service/migrationhub/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/migrationhubconfig/api_client.go b/service/migrationhubconfig/api_client.go index b499026e335..5fb31d9a918 100644 --- a/service/migrationhubconfig/api_client.go +++ b/service/migrationhubconfig/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/mobile/api_client.go b/service/mobile/api_client.go index 4d52c57ab53..9a5f3184c0a 100644 --- a/service/mobile/api_client.go +++ b/service/mobile/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/mq/api_client.go b/service/mq/api_client.go index 50247fac72f..d7f9078f530 100644 --- a/service/mq/api_client.go +++ b/service/mq/api_client.go @@ -96,6 +96,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/mturk/api_client.go b/service/mturk/api_client.go index f778531407a..63ef5a4c9f1 100644 --- a/service/mturk/api_client.go +++ b/service/mturk/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/mturk/types/enums.go b/service/mturk/types/enums.go index dd276df52b2..5b273668dcd 100644 --- a/service/mturk/types/enums.go +++ b/service/mturk/types/enums.go @@ -26,16 +26,16 @@ type Comparator string // Enum values for Comparator const ( - ComparatorLessthan Comparator = "LessThan" - ComparatorLessthanorequalto Comparator = "LessThanOrEqualTo" - ComparatorGreaterthan Comparator = "GreaterThan" - ComparatorGreaterthanorequalto Comparator = "GreaterThanOrEqualTo" - ComparatorEqualto Comparator = "EqualTo" - ComparatorNotequalto Comparator = "NotEqualTo" + ComparatorLessThan Comparator = "LessThan" + ComparatorLessThanOrEqualTo Comparator = "LessThanOrEqualTo" + ComparatorGreaterThan Comparator = "GreaterThan" + ComparatorGreaterThanOrEqualTo Comparator = "GreaterThanOrEqualTo" + ComparatorEqualTo Comparator = "EqualTo" + ComparatorNotEqualTo Comparator = "NotEqualTo" ComparatorExists Comparator = "Exists" - ComparatorDoesnotexist Comparator = "DoesNotExist" + ComparatorDoesNotExist Comparator = "DoesNotExist" ComparatorIn Comparator = "In" - ComparatorNotin Comparator = "NotIn" + ComparatorNotIn Comparator = "NotIn" ) // Values returns all known values for Comparator. Note that this can be expanded @@ -60,17 +60,17 @@ type EventType string // Enum values for EventType const ( - EventTypeAssignmentaccepted EventType = "AssignmentAccepted" - EventTypeAssignmentabandoned EventType = "AssignmentAbandoned" - EventTypeAssignmentreturned EventType = "AssignmentReturned" - EventTypeAssignmentsubmitted EventType = "AssignmentSubmitted" - EventTypeAssignmentrejected EventType = "AssignmentRejected" - EventTypeAssignmentapproved EventType = "AssignmentApproved" - EventTypeHitcreated EventType = "HITCreated" - EventTypeHitexpired EventType = "HITExpired" - EventTypeHitreviewable EventType = "HITReviewable" - EventTypeHitextended EventType = "HITExtended" - EventTypeHitdisposed EventType = "HITDisposed" + EventTypeAssignmentAccepted EventType = "AssignmentAccepted" + EventTypeAssignmentAbandoned EventType = "AssignmentAbandoned" + EventTypeAssignmentReturned EventType = "AssignmentReturned" + EventTypeAssignmentSubmitted EventType = "AssignmentSubmitted" + EventTypeAssignmentRejected EventType = "AssignmentRejected" + EventTypeAssignmentApproved EventType = "AssignmentApproved" + EventTypeHITCreated EventType = "HITCreated" + EventTypeHITExpired EventType = "HITExpired" + EventTypeHITReviewable EventType = "HITReviewable" + EventTypeHITExtended EventType = "HITExtended" + EventTypeHITDisposed EventType = "HITDisposed" EventTypePing EventType = "Ping" ) @@ -99,8 +99,8 @@ type HITAccessActions string // Enum values for HITAccessActions const ( HITAccessActionsAccept HITAccessActions = "Accept" - HITAccessActionsPreviewandaccept HITAccessActions = "PreviewAndAccept" - HITAccessActionsDiscoverpreviewandaccept HITAccessActions = "DiscoverPreviewAndAccept" + HITAccessActionsPreviewAndAccept HITAccessActions = "PreviewAndAccept" + HITAccessActionsDiscoverPreviewAndAccept HITAccessActions = "DiscoverPreviewAndAccept" ) // Values returns all known values for HITAccessActions. Note that this can be @@ -118,10 +118,10 @@ type HITReviewStatus string // Enum values for HITReviewStatus const ( - HITReviewStatusNotreviewed HITReviewStatus = "NotReviewed" - HITReviewStatusMarkedforreview HITReviewStatus = "MarkedForReview" - HITReviewStatusReviewedappropriate HITReviewStatus = "ReviewedAppropriate" - HITReviewStatusReviewedinappropriate HITReviewStatus = "ReviewedInappropriate" + HITReviewStatusNotReviewed HITReviewStatus = "NotReviewed" + HITReviewStatusMarkedForReview HITReviewStatus = "MarkedForReview" + HITReviewStatusReviewedAppropriate HITReviewStatus = "ReviewedAppropriate" + HITReviewStatusReviewedInappropriate HITReviewStatus = "ReviewedInappropriate" ) // Values returns all known values for HITReviewStatus. Note that this can be @@ -184,8 +184,8 @@ type NotifyWorkersFailureCode string // Enum values for NotifyWorkersFailureCode const ( - NotifyWorkersFailureCodeSoftfailure NotifyWorkersFailureCode = "SoftFailure" - NotifyWorkersFailureCodeHardfailure NotifyWorkersFailureCode = "HardFailure" + NotifyWorkersFailureCodeSoftFailure NotifyWorkersFailureCode = "SoftFailure" + NotifyWorkersFailureCodeHardFailure NotifyWorkersFailureCode = "HardFailure" ) // Values returns all known values for NotifyWorkersFailureCode. Note that this can diff --git a/service/neptune/api_client.go b/service/neptune/api_client.go index d90c1df9394..1dcdcdb415f 100644 --- a/service/neptune/api_client.go +++ b/service/neptune/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/networkfirewall/api_client.go b/service/networkfirewall/api_client.go index 165115a4c26..9cb7ee7c6f1 100644 --- a/service/networkfirewall/api_client.go +++ b/service/networkfirewall/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/networkmanager/api_client.go b/service/networkmanager/api_client.go index 7247fa26fb5..69d6210e324 100644 --- a/service/networkmanager/api_client.go +++ b/service/networkmanager/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/opsworks/api_client.go b/service/opsworks/api_client.go index 248b529c525..3c528d9804c 100644 --- a/service/opsworks/api_client.go +++ b/service/opsworks/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/opsworks/types/enums.go b/service/opsworks/types/enums.go index c46c114b334..48ed342d629 100644 --- a/service/opsworks/types/enums.go +++ b/service/opsworks/types/enums.go @@ -6,10 +6,10 @@ type AppAttributesKeys string // Enum values for AppAttributesKeys const ( - AppAttributesKeysDocumentroot AppAttributesKeys = "DocumentRoot" - AppAttributesKeysRailsenv AppAttributesKeys = "RailsEnv" - AppAttributesKeysAutobundleondeploy AppAttributesKeys = "AutoBundleOnDeploy" - AppAttributesKeysAwsflowrubysettings AppAttributesKeys = "AwsFlowRubySettings" + AppAttributesKeysDocumentRoot AppAttributesKeys = "DocumentRoot" + AppAttributesKeysRailsEnv AppAttributesKeys = "RailsEnv" + AppAttributesKeysAutoBundleOnDeploy AppAttributesKeys = "AutoBundleOnDeploy" + AppAttributesKeysAwsFlowRubySettings AppAttributesKeys = "AwsFlowRubySettings" ) // Values returns all known values for AppAttributesKeys. Note that this can be @@ -365,31 +365,31 @@ type LayerAttributesKeys string // Enum values for LayerAttributesKeys const ( - LayerAttributesKeysEcsclusterarn LayerAttributesKeys = "EcsClusterArn" - LayerAttributesKeysEnablehaproxystats LayerAttributesKeys = "EnableHaproxyStats" - LayerAttributesKeysHaproxystatsurl LayerAttributesKeys = "HaproxyStatsUrl" - LayerAttributesKeysHaproxystatsuser LayerAttributesKeys = "HaproxyStatsUser" - LayerAttributesKeysHaproxystatspassword LayerAttributesKeys = "HaproxyStatsPassword" - LayerAttributesKeysHaproxyhealthcheckurl LayerAttributesKeys = "HaproxyHealthCheckUrl" - LayerAttributesKeysHaproxyhealthcheckmethod LayerAttributesKeys = "HaproxyHealthCheckMethod" - LayerAttributesKeysMysqlrootpassword LayerAttributesKeys = "MysqlRootPassword" - LayerAttributesKeysMysqlrootpasswordubiquitous LayerAttributesKeys = "MysqlRootPasswordUbiquitous" - LayerAttributesKeysGangliaurl LayerAttributesKeys = "GangliaUrl" - LayerAttributesKeysGangliauser LayerAttributesKeys = "GangliaUser" - LayerAttributesKeysGangliapassword LayerAttributesKeys = "GangliaPassword" - LayerAttributesKeysMemcachedmemory LayerAttributesKeys = "MemcachedMemory" - LayerAttributesKeysNodejsversion LayerAttributesKeys = "NodejsVersion" - LayerAttributesKeysRubyversion LayerAttributesKeys = "RubyVersion" - LayerAttributesKeysRubygemsversion LayerAttributesKeys = "RubygemsVersion" - LayerAttributesKeysManagebundler LayerAttributesKeys = "ManageBundler" - LayerAttributesKeysBundlerversion LayerAttributesKeys = "BundlerVersion" - LayerAttributesKeysRailsstack LayerAttributesKeys = "RailsStack" - LayerAttributesKeysPassengerversion LayerAttributesKeys = "PassengerVersion" + LayerAttributesKeysEcsClusterArn LayerAttributesKeys = "EcsClusterArn" + LayerAttributesKeysEnableHaproxyStats LayerAttributesKeys = "EnableHaproxyStats" + LayerAttributesKeysHaproxyStatsUrl LayerAttributesKeys = "HaproxyStatsUrl" + LayerAttributesKeysHaproxyStatsUser LayerAttributesKeys = "HaproxyStatsUser" + LayerAttributesKeysHaproxyStatsPassword LayerAttributesKeys = "HaproxyStatsPassword" + LayerAttributesKeysHaproxyHealthCheckUrl LayerAttributesKeys = "HaproxyHealthCheckUrl" + LayerAttributesKeysHaproxyHealthCheckMethod LayerAttributesKeys = "HaproxyHealthCheckMethod" + LayerAttributesKeysMysqlRootPassword LayerAttributesKeys = "MysqlRootPassword" + LayerAttributesKeysMysqlRootPasswordUbiquitous LayerAttributesKeys = "MysqlRootPasswordUbiquitous" + LayerAttributesKeysGangliaUrl LayerAttributesKeys = "GangliaUrl" + LayerAttributesKeysGangliaUser LayerAttributesKeys = "GangliaUser" + LayerAttributesKeysGangliaPassword LayerAttributesKeys = "GangliaPassword" + LayerAttributesKeysMemcachedMemory LayerAttributesKeys = "MemcachedMemory" + LayerAttributesKeysNodejsVersion LayerAttributesKeys = "NodejsVersion" + LayerAttributesKeysRubyVersion LayerAttributesKeys = "RubyVersion" + LayerAttributesKeysRubygemsVersion LayerAttributesKeys = "RubygemsVersion" + LayerAttributesKeysManageBundler LayerAttributesKeys = "ManageBundler" + LayerAttributesKeysBundlerVersion LayerAttributesKeys = "BundlerVersion" + LayerAttributesKeysRailsStack LayerAttributesKeys = "RailsStack" + LayerAttributesKeysPassengerVersion LayerAttributesKeys = "PassengerVersion" LayerAttributesKeysJvm LayerAttributesKeys = "Jvm" - LayerAttributesKeysJvmversion LayerAttributesKeys = "JvmVersion" - LayerAttributesKeysJvmoptions LayerAttributesKeys = "JvmOptions" - LayerAttributesKeysJavaappserver LayerAttributesKeys = "JavaAppServer" - LayerAttributesKeysJavaappserverversion LayerAttributesKeys = "JavaAppServerVersion" + LayerAttributesKeysJvmVersion LayerAttributesKeys = "JvmVersion" + LayerAttributesKeysJvmOptions LayerAttributesKeys = "JvmOptions" + LayerAttributesKeysJavaAppServer LayerAttributesKeys = "JavaAppServer" + LayerAttributesKeysJavaAppServerVersion LayerAttributesKeys = "JavaAppServerVersion" ) // Values returns all known values for LayerAttributesKeys. Note that this can be diff --git a/service/opsworkscm/api_client.go b/service/opsworkscm/api_client.go index 3e6652b731d..e339a495cfe 100644 --- a/service/opsworkscm/api_client.go +++ b/service/opsworkscm/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/organizations/api_client.go b/service/organizations/api_client.go index 662cfdc3acd..f6366a1ed6d 100644 --- a/service/organizations/api_client.go +++ b/service/organizations/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/outposts/api_client.go b/service/outposts/api_client.go index 79a968168e7..e4dfce93989 100644 --- a/service/outposts/api_client.go +++ b/service/outposts/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/personalize/api_client.go b/service/personalize/api_client.go index 56a314a5b69..b105c053afe 100644 --- a/service/personalize/api_client.go +++ b/service/personalize/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/personalizeevents/api_client.go b/service/personalizeevents/api_client.go index d9c61b211c6..756383caa1d 100644 --- a/service/personalizeevents/api_client.go +++ b/service/personalizeevents/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/personalizeruntime/api_client.go b/service/personalizeruntime/api_client.go index e82b3829786..b4533da3a47 100644 --- a/service/personalizeruntime/api_client.go +++ b/service/personalizeruntime/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/pi/api_client.go b/service/pi/api_client.go index 25d54b31daf..ae4f9ee2cd4 100644 --- a/service/pi/api_client.go +++ b/service/pi/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/pinpoint/api_client.go b/service/pinpoint/api_client.go index 47d18fddc06..b82122c4a33 100644 --- a/service/pinpoint/api_client.go +++ b/service/pinpoint/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/pinpointemail/api_client.go b/service/pinpointemail/api_client.go index 6aff6775203..c123914f985 100644 --- a/service/pinpointemail/api_client.go +++ b/service/pinpointemail/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/pinpointsmsvoice/api_client.go b/service/pinpointsmsvoice/api_client.go index 4662f16904f..bec6ba3dad1 100644 --- a/service/pinpointsmsvoice/api_client.go +++ b/service/pinpointsmsvoice/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/polly/api_client.go b/service/polly/api_client.go index 12987ad3540..1b1a6672523 100644 --- a/service/polly/api_client.go +++ b/service/polly/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/pricing/api_client.go b/service/pricing/api_client.go index 88cba629647..b2a09f6434c 100644 --- a/service/pricing/api_client.go +++ b/service/pricing/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/qldb/api_client.go b/service/qldb/api_client.go index d127bf4c1b0..9271110385c 100644 --- a/service/qldb/api_client.go +++ b/service/qldb/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/qldbsession/api_client.go b/service/qldbsession/api_client.go index 0f9227881fc..b3a3995a4e6 100644 --- a/service/qldbsession/api_client.go +++ b/service/qldbsession/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/quicksight/api_client.go b/service/quicksight/api_client.go index 1c06dbd036c..af6b645501d 100644 --- a/service/quicksight/api_client.go +++ b/service/quicksight/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/quicksight/types/enums.go b/service/quicksight/types/enums.go index f920ff45b89..c865737b51c 100644 --- a/service/quicksight/types/enums.go +++ b/service/quicksight/types/enums.go @@ -388,7 +388,7 @@ type FilterOperator string // Enum values for FilterOperator const ( - FilterOperatorStringequals FilterOperator = "StringEquals" + FilterOperatorStringEquals FilterOperator = "StringEquals" ) // Values returns all known values for FilterOperator. Note that this can be diff --git a/service/ram/api_client.go b/service/ram/api_client.go index 7fd486b0f59..68aa62692e8 100644 --- a/service/ram/api_client.go +++ b/service/ram/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/rds/api_client.go b/service/rds/api_client.go index c4c1ed2db1d..de10e0ea3c4 100644 --- a/service/rds/api_client.go +++ b/service/rds/api_client.go @@ -90,6 +90,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/rdsdata/api_client.go b/service/rdsdata/api_client.go index 4b9d1d1a322..08a2d3b6534 100644 --- a/service/rdsdata/api_client.go +++ b/service/rdsdata/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/redshift/api_client.go b/service/redshift/api_client.go index e0f54451f67..d4c947afafa 100644 --- a/service/redshift/api_client.go +++ b/service/redshift/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/redshiftdata/api_client.go b/service/redshiftdata/api_client.go index 21cd0da2bb1..0b637a6193d 100644 --- a/service/redshiftdata/api_client.go +++ b/service/redshiftdata/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/rekognition/api_client.go b/service/rekognition/api_client.go index d4c96fdc081..9ef230ed822 100644 --- a/service/rekognition/api_client.go +++ b/service/rekognition/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/rekognition/types/enums.go b/service/rekognition/types/enums.go index f4f272433c9..eeb7febb3a0 100644 --- a/service/rekognition/types/enums.go +++ b/service/rekognition/types/enums.go @@ -204,36 +204,36 @@ type LandmarkType string // Enum values for LandmarkType const ( - LandmarkTypeEyeleft LandmarkType = "eyeLeft" - LandmarkTypeEyeright LandmarkType = "eyeRight" + LandmarkTypeEyeLeft LandmarkType = "eyeLeft" + LandmarkTypeEyeRight LandmarkType = "eyeRight" LandmarkTypeNose LandmarkType = "nose" - LandmarkTypeMouthleft LandmarkType = "mouthLeft" - LandmarkTypeMouthright LandmarkType = "mouthRight" - LandmarkTypeLefteyebrowleft LandmarkType = "leftEyeBrowLeft" - LandmarkTypeLefteyebrowright LandmarkType = "leftEyeBrowRight" - LandmarkTypeLefteyebrowup LandmarkType = "leftEyeBrowUp" - LandmarkTypeRighteyebrowleft LandmarkType = "rightEyeBrowLeft" - LandmarkTypeRighteyebrowright LandmarkType = "rightEyeBrowRight" - LandmarkTypeRighteyebrowup LandmarkType = "rightEyeBrowUp" - LandmarkTypeLefteyeleft LandmarkType = "leftEyeLeft" - LandmarkTypeLefteyeright LandmarkType = "leftEyeRight" - LandmarkTypeLefteyeup LandmarkType = "leftEyeUp" - LandmarkTypeLefteyedown LandmarkType = "leftEyeDown" - LandmarkTypeRighteyeleft LandmarkType = "rightEyeLeft" - LandmarkTypeRighteyeright LandmarkType = "rightEyeRight" - LandmarkTypeRighteyeup LandmarkType = "rightEyeUp" - LandmarkTypeRighteyedown LandmarkType = "rightEyeDown" - LandmarkTypeNoseleft LandmarkType = "noseLeft" - LandmarkTypeNoseright LandmarkType = "noseRight" - LandmarkTypeMouthup LandmarkType = "mouthUp" - LandmarkTypeMouthdown LandmarkType = "mouthDown" - LandmarkTypeLeftpupil LandmarkType = "leftPupil" - LandmarkTypeRightpupil LandmarkType = "rightPupil" - LandmarkTypeUpperjawlineleft LandmarkType = "upperJawlineLeft" - LandmarkTypeMidjawlineleft LandmarkType = "midJawlineLeft" - LandmarkTypeChinbottom LandmarkType = "chinBottom" - LandmarkTypeMidjawlineright LandmarkType = "midJawlineRight" - LandmarkTypeUpperjawlineright LandmarkType = "upperJawlineRight" + LandmarkTypeMouthLeft LandmarkType = "mouthLeft" + LandmarkTypeMouthRight LandmarkType = "mouthRight" + LandmarkTypeLeftEyeBrowLeft LandmarkType = "leftEyeBrowLeft" + LandmarkTypeLeftEyeBrowRight LandmarkType = "leftEyeBrowRight" + LandmarkTypeLeftEyeBrowUp LandmarkType = "leftEyeBrowUp" + LandmarkTypeRightEyeBrowLeft LandmarkType = "rightEyeBrowLeft" + LandmarkTypeRightEyeBrowRight LandmarkType = "rightEyeBrowRight" + LandmarkTypeRightEyeBrowUp LandmarkType = "rightEyeBrowUp" + LandmarkTypeLeftEyeLeft LandmarkType = "leftEyeLeft" + LandmarkTypeLeftEyeRight LandmarkType = "leftEyeRight" + LandmarkTypeLeftEyeUp LandmarkType = "leftEyeUp" + LandmarkTypeLeftEyeDown LandmarkType = "leftEyeDown" + LandmarkTypeRightEyeLeft LandmarkType = "rightEyeLeft" + LandmarkTypeRightEyeRight LandmarkType = "rightEyeRight" + LandmarkTypeRightEyeUp LandmarkType = "rightEyeUp" + LandmarkTypeRightEyeDown LandmarkType = "rightEyeDown" + LandmarkTypeNoseLeft LandmarkType = "noseLeft" + LandmarkTypeNoseRight LandmarkType = "noseRight" + LandmarkTypeMouthUp LandmarkType = "mouthUp" + LandmarkTypeMouthDown LandmarkType = "mouthDown" + LandmarkTypeLeftPupil LandmarkType = "leftPupil" + LandmarkTypeRightPupil LandmarkType = "rightPupil" + LandmarkTypeUpperJawlineLeft LandmarkType = "upperJawlineLeft" + LandmarkTypeMidJawlineLeft LandmarkType = "midJawlineLeft" + LandmarkTypeChinBottom LandmarkType = "chinBottom" + LandmarkTypeMidJawlineRight LandmarkType = "midJawlineRight" + LandmarkTypeUpperJawlineRight LandmarkType = "upperJawlineRight" ) // Values returns all known values for LandmarkType. Note that this can be expanded diff --git a/service/resourcegroups/api_client.go b/service/resourcegroups/api_client.go index 48a8d3336c8..a4a956d4ff4 100644 --- a/service/resourcegroups/api_client.go +++ b/service/resourcegroups/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/resourcegroups/types/enums.go b/service/resourcegroups/types/enums.go index d2c1e6a80b1..9bd3a8d242a 100644 --- a/service/resourcegroups/types/enums.go +++ b/service/resourcegroups/types/enums.go @@ -26,8 +26,8 @@ type GroupFilterName string // Enum values for GroupFilterName const ( - GroupFilterNameResourcetype GroupFilterName = "resource-type" - GroupFilterNameConfigurationtype GroupFilterName = "configuration-type" + GroupFilterNameResourceType GroupFilterName = "resource-type" + GroupFilterNameConfigurationType GroupFilterName = "configuration-type" ) // Values returns all known values for GroupFilterName. Note that this can be @@ -80,7 +80,7 @@ type ResourceFilterName string // Enum values for ResourceFilterName const ( - ResourceFilterNameResourcetype ResourceFilterName = "resource-type" + ResourceFilterNameResourceType ResourceFilterName = "resource-type" ) // Values returns all known values for ResourceFilterName. Note that this can be diff --git a/service/resourcegroupstaggingapi/api_client.go b/service/resourcegroupstaggingapi/api_client.go index 201e3d806d5..a59e8e78908 100644 --- a/service/resourcegroupstaggingapi/api_client.go +++ b/service/resourcegroupstaggingapi/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/robomaker/api_client.go b/service/robomaker/api_client.go index 3428b2533c2..5e2de162472 100644 --- a/service/robomaker/api_client.go +++ b/service/robomaker/api_client.go @@ -96,6 +96,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/robomaker/types/enums.go b/service/robomaker/types/enums.go index fb547629365..987ca679303 100644 --- a/service/robomaker/types/enums.go +++ b/service/robomaker/types/enums.go @@ -26,26 +26,26 @@ type DeploymentJobErrorCode string // Enum values for DeploymentJobErrorCode const ( - DeploymentJobErrorCodeResourcenotfound DeploymentJobErrorCode = "ResourceNotFound" - DeploymentJobErrorCodeEnvironmentsetuperror DeploymentJobErrorCode = "EnvironmentSetupError" - DeploymentJobErrorCodeEtagmismatch DeploymentJobErrorCode = "EtagMismatch" - DeploymentJobErrorCodeFailurethresholdbreached DeploymentJobErrorCode = "FailureThresholdBreached" - DeploymentJobErrorCodeRobotdeploymentaborted DeploymentJobErrorCode = "RobotDeploymentAborted" - DeploymentJobErrorCodeRobotdeploymentnoresponse DeploymentJobErrorCode = "RobotDeploymentNoResponse" - DeploymentJobErrorCodeRobotagentconnectiontimeout DeploymentJobErrorCode = "RobotAgentConnectionTimeout" - DeploymentJobErrorCodeGreengrassdeploymentfailed DeploymentJobErrorCode = "GreengrassDeploymentFailed" - DeploymentJobErrorCodeInvalidgreengrassgroup DeploymentJobErrorCode = "InvalidGreengrassGroup" - DeploymentJobErrorCodeMissingrobotarchitecture DeploymentJobErrorCode = "MissingRobotArchitecture" - DeploymentJobErrorCodeMissingrobotapplicationarchitecture DeploymentJobErrorCode = "MissingRobotApplicationArchitecture" - DeploymentJobErrorCodeMissingrobotdeploymentresource DeploymentJobErrorCode = "MissingRobotDeploymentResource" - DeploymentJobErrorCodeGreengrassgroupversiondoesnotexist DeploymentJobErrorCode = "GreengrassGroupVersionDoesNotExist" - DeploymentJobErrorCodeLambdadeleted DeploymentJobErrorCode = "LambdaDeleted" - DeploymentJobErrorCodeExtractingbundlefailure DeploymentJobErrorCode = "ExtractingBundleFailure" - DeploymentJobErrorCodePrelaunchfilefailure DeploymentJobErrorCode = "PreLaunchFileFailure" - DeploymentJobErrorCodePostlaunchfilefailure DeploymentJobErrorCode = "PostLaunchFileFailure" - DeploymentJobErrorCodeBadpermissionerror DeploymentJobErrorCode = "BadPermissionError" - DeploymentJobErrorCodeDownloadconditionfailed DeploymentJobErrorCode = "DownloadConditionFailed" - DeploymentJobErrorCodeInternalservererror DeploymentJobErrorCode = "InternalServerError" + DeploymentJobErrorCodeResourceNotFound DeploymentJobErrorCode = "ResourceNotFound" + DeploymentJobErrorCodeEnvironmentSetupError DeploymentJobErrorCode = "EnvironmentSetupError" + DeploymentJobErrorCodeEtagMismatch DeploymentJobErrorCode = "EtagMismatch" + DeploymentJobErrorCodeFailureThresholdBreached DeploymentJobErrorCode = "FailureThresholdBreached" + DeploymentJobErrorCodeRobotDeploymentAborted DeploymentJobErrorCode = "RobotDeploymentAborted" + DeploymentJobErrorCodeRobotDeploymentNoResponse DeploymentJobErrorCode = "RobotDeploymentNoResponse" + DeploymentJobErrorCodeRobotAgentConnectionTimeout DeploymentJobErrorCode = "RobotAgentConnectionTimeout" + DeploymentJobErrorCodeGreengrassDeploymentFailed DeploymentJobErrorCode = "GreengrassDeploymentFailed" + DeploymentJobErrorCodeInvalidGreengrassGroup DeploymentJobErrorCode = "InvalidGreengrassGroup" + DeploymentJobErrorCodeMissingRobotArchitecture DeploymentJobErrorCode = "MissingRobotArchitecture" + DeploymentJobErrorCodeMissingRobotApplicationArchitecture DeploymentJobErrorCode = "MissingRobotApplicationArchitecture" + DeploymentJobErrorCodeMissingRobotDeploymentResource DeploymentJobErrorCode = "MissingRobotDeploymentResource" + DeploymentJobErrorCodeGreengrassGroupVersionDoesNotExist DeploymentJobErrorCode = "GreengrassGroupVersionDoesNotExist" + DeploymentJobErrorCodeLambdaDeleted DeploymentJobErrorCode = "LambdaDeleted" + DeploymentJobErrorCodeExtractingBundleFailure DeploymentJobErrorCode = "ExtractingBundleFailure" + DeploymentJobErrorCodePreLaunchFileFailure DeploymentJobErrorCode = "PreLaunchFileFailure" + DeploymentJobErrorCodePostLaunchFileFailure DeploymentJobErrorCode = "PostLaunchFileFailure" + DeploymentJobErrorCodeBadPermissionError DeploymentJobErrorCode = "BadPermissionError" + DeploymentJobErrorCodeDownloadConditionFailed DeploymentJobErrorCode = "DownloadConditionFailed" + DeploymentJobErrorCodeInternalServerError DeploymentJobErrorCode = "InternalServerError" ) // Values returns all known values for DeploymentJobErrorCode. Note that this can @@ -82,7 +82,7 @@ type DeploymentStatus string const ( DeploymentStatusPending DeploymentStatus = "Pending" DeploymentStatusPreparing DeploymentStatus = "Preparing" - DeploymentStatusInprogress DeploymentStatus = "InProgress" + DeploymentStatusInProgress DeploymentStatus = "InProgress" DeploymentStatusFailed DeploymentStatus = "Failed" DeploymentStatusSucceeded DeploymentStatus = "Succeeded" DeploymentStatusCanceled DeploymentStatus = "Canceled" @@ -140,13 +140,13 @@ type RobotDeploymentStep string // Enum values for RobotDeploymentStep const ( - RobotDeploymentStepValidatingstep RobotDeploymentStep = "Validating" - RobotDeploymentStepDownloadingextractingstep RobotDeploymentStep = "DownloadingExtracting" - RobotDeploymentStepExecutingdownloadcondition RobotDeploymentStep = "ExecutingDownloadCondition" - RobotDeploymentStepPrelaunchstep RobotDeploymentStep = "ExecutingPreLaunch" - RobotDeploymentStepLaunchingstep RobotDeploymentStep = "Launching" - RobotDeploymentStepPostlaunchstep RobotDeploymentStep = "ExecutingPostLaunch" - RobotDeploymentStepFinishedstep RobotDeploymentStep = "Finished" + RobotDeploymentStepValidatingStep RobotDeploymentStep = "Validating" + RobotDeploymentStepDownloadingExtractingStep RobotDeploymentStep = "DownloadingExtracting" + RobotDeploymentStepExecutingDownloadCondition RobotDeploymentStep = "ExecutingDownloadCondition" + RobotDeploymentStepPreLaunchStep RobotDeploymentStep = "ExecutingPreLaunch" + RobotDeploymentStepLaunchingStep RobotDeploymentStep = "Launching" + RobotDeploymentStepPostLaunchStep RobotDeploymentStep = "ExecutingPostLaunch" + RobotDeploymentStepFinishedStep RobotDeploymentStep = "Finished" ) // Values returns all known values for RobotDeploymentStep. Note that this can be @@ -209,11 +209,11 @@ type RobotStatus string const ( RobotStatusAvailable RobotStatus = "Available" RobotStatusRegistered RobotStatus = "Registered" - RobotStatusPendingnewdeployment RobotStatus = "PendingNewDeployment" + RobotStatusPendingNewDeployment RobotStatus = "PendingNewDeployment" RobotStatusDeploying RobotStatus = "Deploying" RobotStatusFailed RobotStatus = "Failed" - RobotStatusInsync RobotStatus = "InSync" - RobotStatusNoresponse RobotStatus = "NoResponse" + RobotStatusInSync RobotStatus = "InSync" + RobotStatusNoResponse RobotStatus = "NoResponse" ) // Values returns all known values for RobotStatus. Note that this can be expanded @@ -235,7 +235,7 @@ type SimulationJobBatchErrorCode string // Enum values for SimulationJobBatchErrorCode const ( - SimulationJobBatchErrorCodeInternalserviceerror SimulationJobBatchErrorCode = "InternalServiceError" + SimulationJobBatchErrorCodeInternalServiceError SimulationJobBatchErrorCode = "InternalServiceError" ) // Values returns all known values for SimulationJobBatchErrorCode. Note that this @@ -252,14 +252,14 @@ type SimulationJobBatchStatus string // Enum values for SimulationJobBatchStatus const ( SimulationJobBatchStatusPending SimulationJobBatchStatus = "Pending" - SimulationJobBatchStatusInprogress SimulationJobBatchStatus = "InProgress" + SimulationJobBatchStatusInProgress SimulationJobBatchStatus = "InProgress" SimulationJobBatchStatusFailed SimulationJobBatchStatus = "Failed" SimulationJobBatchStatusCompleted SimulationJobBatchStatus = "Completed" SimulationJobBatchStatusCanceled SimulationJobBatchStatus = "Canceled" SimulationJobBatchStatusCanceling SimulationJobBatchStatus = "Canceling" SimulationJobBatchStatusCompleting SimulationJobBatchStatus = "Completing" - SimulationJobBatchStatusTimingout SimulationJobBatchStatus = "TimingOut" - SimulationJobBatchStatusTimedout SimulationJobBatchStatus = "TimedOut" + SimulationJobBatchStatusTimingOut SimulationJobBatchStatus = "TimingOut" + SimulationJobBatchStatusTimedOut SimulationJobBatchStatus = "TimedOut" ) // Values returns all known values for SimulationJobBatchStatus. Note that this can @@ -283,33 +283,33 @@ type SimulationJobErrorCode string // Enum values for SimulationJobErrorCode const ( - SimulationJobErrorCodeInternalserviceerror SimulationJobErrorCode = "InternalServiceError" - SimulationJobErrorCodeRobotapplicationcrash SimulationJobErrorCode = "RobotApplicationCrash" - SimulationJobErrorCodeSimulationapplicationcrash SimulationJobErrorCode = "SimulationApplicationCrash" - SimulationJobErrorCodeBadpermissionsrobotapplication SimulationJobErrorCode = "BadPermissionsRobotApplication" - SimulationJobErrorCodeBadpermissionssimulationapplication SimulationJobErrorCode = "BadPermissionsSimulationApplication" - SimulationJobErrorCodeBadpermissionss3object SimulationJobErrorCode = "BadPermissionsS3Object" - SimulationJobErrorCodeBadpermissionss3output SimulationJobErrorCode = "BadPermissionsS3Output" - SimulationJobErrorCodeBadpermissionscloudwatchlogs SimulationJobErrorCode = "BadPermissionsCloudwatchLogs" - SimulationJobErrorCodeSubnetiplimitexceeded SimulationJobErrorCode = "SubnetIpLimitExceeded" - SimulationJobErrorCodeEnilimitexceeded SimulationJobErrorCode = "ENILimitExceeded" - SimulationJobErrorCodeBadpermissionsusercredentials SimulationJobErrorCode = "BadPermissionsUserCredentials" - SimulationJobErrorCodeInvalidbundlerobotapplication SimulationJobErrorCode = "InvalidBundleRobotApplication" - SimulationJobErrorCodeInvalidbundlesimulationapplication SimulationJobErrorCode = "InvalidBundleSimulationApplication" - SimulationJobErrorCodeInvalids3resource SimulationJobErrorCode = "InvalidS3Resource" - SimulationJobErrorCodeLimitexceeded SimulationJobErrorCode = "LimitExceeded" - SimulationJobErrorCodeMismatchedetag SimulationJobErrorCode = "MismatchedEtag" - SimulationJobErrorCodeRobotapplicationversionmismatchedetag SimulationJobErrorCode = "RobotApplicationVersionMismatchedEtag" - SimulationJobErrorCodeSimulationapplicationversionmismatchedetag SimulationJobErrorCode = "SimulationApplicationVersionMismatchedEtag" - SimulationJobErrorCodeResourcenotfound SimulationJobErrorCode = "ResourceNotFound" - SimulationJobErrorCodeRequestthrottled SimulationJobErrorCode = "RequestThrottled" - SimulationJobErrorCodeBatchtimedout SimulationJobErrorCode = "BatchTimedOut" - SimulationJobErrorCodeBatchcanceled SimulationJobErrorCode = "BatchCanceled" - SimulationJobErrorCodeInvalidinput SimulationJobErrorCode = "InvalidInput" - SimulationJobErrorCodeWrongregions3bucket SimulationJobErrorCode = "WrongRegionS3Bucket" - SimulationJobErrorCodeWrongregions3output SimulationJobErrorCode = "WrongRegionS3Output" - SimulationJobErrorCodeWrongregionrobotapplication SimulationJobErrorCode = "WrongRegionRobotApplication" - SimulationJobErrorCodeWrongregionsimulationapplication SimulationJobErrorCode = "WrongRegionSimulationApplication" + SimulationJobErrorCodeInternalServiceError SimulationJobErrorCode = "InternalServiceError" + SimulationJobErrorCodeRobotApplicationCrash SimulationJobErrorCode = "RobotApplicationCrash" + SimulationJobErrorCodeSimulationApplicationCrash SimulationJobErrorCode = "SimulationApplicationCrash" + SimulationJobErrorCodeBadPermissionsRobotApplication SimulationJobErrorCode = "BadPermissionsRobotApplication" + SimulationJobErrorCodeBadPermissionsSimulationApplication SimulationJobErrorCode = "BadPermissionsSimulationApplication" + SimulationJobErrorCodeBadPermissionsS3Object SimulationJobErrorCode = "BadPermissionsS3Object" + SimulationJobErrorCodeBadPermissionsS3Output SimulationJobErrorCode = "BadPermissionsS3Output" + SimulationJobErrorCodeBadPermissionsCloudwatchLogs SimulationJobErrorCode = "BadPermissionsCloudwatchLogs" + SimulationJobErrorCodeSubnetIpLimitExceeded SimulationJobErrorCode = "SubnetIpLimitExceeded" + SimulationJobErrorCodeENILimitExceeded SimulationJobErrorCode = "ENILimitExceeded" + SimulationJobErrorCodeBadPermissionsUserCredentials SimulationJobErrorCode = "BadPermissionsUserCredentials" + SimulationJobErrorCodeInvalidBundleRobotApplication SimulationJobErrorCode = "InvalidBundleRobotApplication" + SimulationJobErrorCodeInvalidBundleSimulationApplication SimulationJobErrorCode = "InvalidBundleSimulationApplication" + SimulationJobErrorCodeInvalidS3Resource SimulationJobErrorCode = "InvalidS3Resource" + SimulationJobErrorCodeLimitExceeded SimulationJobErrorCode = "LimitExceeded" + SimulationJobErrorCodeMismatchedEtag SimulationJobErrorCode = "MismatchedEtag" + SimulationJobErrorCodeRobotApplicationVersionMismatchedEtag SimulationJobErrorCode = "RobotApplicationVersionMismatchedEtag" + SimulationJobErrorCodeSimulationApplicationVersionMismatchedEtag SimulationJobErrorCode = "SimulationApplicationVersionMismatchedEtag" + SimulationJobErrorCodeResourceNotFound SimulationJobErrorCode = "ResourceNotFound" + SimulationJobErrorCodeRequestThrottled SimulationJobErrorCode = "RequestThrottled" + SimulationJobErrorCodeBatchTimedOut SimulationJobErrorCode = "BatchTimedOut" + SimulationJobErrorCodeBatchCanceled SimulationJobErrorCode = "BatchCanceled" + SimulationJobErrorCodeInvalidInput SimulationJobErrorCode = "InvalidInput" + SimulationJobErrorCodeWrongRegionS3Bucket SimulationJobErrorCode = "WrongRegionS3Bucket" + SimulationJobErrorCodeWrongRegionS3Output SimulationJobErrorCode = "WrongRegionS3Output" + SimulationJobErrorCodeWrongRegionRobotApplication SimulationJobErrorCode = "WrongRegionRobotApplication" + SimulationJobErrorCodeWrongRegionSimulationApplication SimulationJobErrorCode = "WrongRegionSimulationApplication" ) // Values returns all known values for SimulationJobErrorCode. Note that this can @@ -357,7 +357,7 @@ const ( SimulationJobStatusRestarting SimulationJobStatus = "Restarting" SimulationJobStatusCompleted SimulationJobStatus = "Completed" SimulationJobStatusFailed SimulationJobStatus = "Failed" - SimulationJobStatusRunningfailed SimulationJobStatus = "RunningFailed" + SimulationJobStatusRunningFailed SimulationJobStatus = "RunningFailed" SimulationJobStatusTerminating SimulationJobStatus = "Terminating" SimulationJobStatusTerminated SimulationJobStatus = "Terminated" SimulationJobStatusCanceled SimulationJobStatus = "Canceled" @@ -386,7 +386,7 @@ type SimulationSoftwareSuiteType string // Enum values for SimulationSoftwareSuiteType const ( SimulationSoftwareSuiteTypeGazebo SimulationSoftwareSuiteType = "Gazebo" - SimulationSoftwareSuiteTypeRosbagplay SimulationSoftwareSuiteType = "RosbagPlay" + SimulationSoftwareSuiteTypeRosbagPlay SimulationSoftwareSuiteType = "RosbagPlay" ) // Values returns all known values for SimulationSoftwareSuiteType. Note that this @@ -403,12 +403,12 @@ type WorldExportJobErrorCode string // Enum values for WorldExportJobErrorCode const ( - WorldExportJobErrorCodeInternalserviceerror WorldExportJobErrorCode = "InternalServiceError" - WorldExportJobErrorCodeLimitexceeded WorldExportJobErrorCode = "LimitExceeded" - WorldExportJobErrorCodeResourcenotfound WorldExportJobErrorCode = "ResourceNotFound" - WorldExportJobErrorCodeRequestthrottled WorldExportJobErrorCode = "RequestThrottled" - WorldExportJobErrorCodeInvalidinput WorldExportJobErrorCode = "InvalidInput" - WorldExportJobErrorCodeAccessdenied WorldExportJobErrorCode = "AccessDenied" + WorldExportJobErrorCodeInternalServiceError WorldExportJobErrorCode = "InternalServiceError" + WorldExportJobErrorCodeLimitExceeded WorldExportJobErrorCode = "LimitExceeded" + WorldExportJobErrorCodeResourceNotFound WorldExportJobErrorCode = "ResourceNotFound" + WorldExportJobErrorCodeRequestThrottled WorldExportJobErrorCode = "RequestThrottled" + WorldExportJobErrorCodeInvalidInput WorldExportJobErrorCode = "InvalidInput" + WorldExportJobErrorCodeAccessDenied WorldExportJobErrorCode = "AccessDenied" ) // Values returns all known values for WorldExportJobErrorCode. Note that this can @@ -455,12 +455,12 @@ type WorldGenerationJobErrorCode string // Enum values for WorldGenerationJobErrorCode const ( - WorldGenerationJobErrorCodeInternalserviceerror WorldGenerationJobErrorCode = "InternalServiceError" - WorldGenerationJobErrorCodeLimitexceeded WorldGenerationJobErrorCode = "LimitExceeded" - WorldGenerationJobErrorCodeResourcenotfound WorldGenerationJobErrorCode = "ResourceNotFound" - WorldGenerationJobErrorCodeRequestthrottled WorldGenerationJobErrorCode = "RequestThrottled" - WorldGenerationJobErrorCodeInvalidinput WorldGenerationJobErrorCode = "InvalidInput" - WorldGenerationJobErrorCodeAllworldgenerationfailed WorldGenerationJobErrorCode = "AllWorldGenerationFailed" + WorldGenerationJobErrorCodeInternalServiceError WorldGenerationJobErrorCode = "InternalServiceError" + WorldGenerationJobErrorCodeLimitExceeded WorldGenerationJobErrorCode = "LimitExceeded" + WorldGenerationJobErrorCodeResourceNotFound WorldGenerationJobErrorCode = "ResourceNotFound" + WorldGenerationJobErrorCodeRequestThrottled WorldGenerationJobErrorCode = "RequestThrottled" + WorldGenerationJobErrorCodeInvalidInput WorldGenerationJobErrorCode = "InvalidInput" + WorldGenerationJobErrorCodeAllWorldGenerationFailed WorldGenerationJobErrorCode = "AllWorldGenerationFailed" ) // Values returns all known values for WorldGenerationJobErrorCode. Note that this @@ -485,7 +485,7 @@ const ( WorldGenerationJobStatusRunning WorldGenerationJobStatus = "Running" WorldGenerationJobStatusCompleted WorldGenerationJobStatus = "Completed" WorldGenerationJobStatusFailed WorldGenerationJobStatus = "Failed" - WorldGenerationJobStatusPartialfailed WorldGenerationJobStatus = "PartialFailed" + WorldGenerationJobStatusPartialFailed WorldGenerationJobStatus = "PartialFailed" WorldGenerationJobStatusCanceling WorldGenerationJobStatus = "Canceling" WorldGenerationJobStatusCanceled WorldGenerationJobStatus = "Canceled" ) diff --git a/service/route53/api_client.go b/service/route53/api_client.go index 37ff0d1e8a1..cdf47a2a7d5 100644 --- a/service/route53/api_client.go +++ b/service/route53/api_client.go @@ -90,6 +90,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/route53/types/enums.go b/service/route53/types/enums.go index a2abdf916cf..816364010e2 100644 --- a/service/route53/types/enums.go +++ b/service/route53/types/enums.go @@ -136,10 +136,10 @@ type ComparisonOperator string // Enum values for ComparisonOperator const ( - ComparisonOperatorGreaterthanorequaltothreshold ComparisonOperator = "GreaterThanOrEqualToThreshold" - ComparisonOperatorGreaterthanthreshold ComparisonOperator = "GreaterThanThreshold" - ComparisonOperatorLessthanthreshold ComparisonOperator = "LessThanThreshold" - ComparisonOperatorLessthanorequaltothreshold ComparisonOperator = "LessThanOrEqualToThreshold" + ComparisonOperatorGreaterThanOrEqualToThreshold ComparisonOperator = "GreaterThanOrEqualToThreshold" + ComparisonOperatorGreaterThanThreshold ComparisonOperator = "GreaterThanThreshold" + ComparisonOperatorLessThanThreshold ComparisonOperator = "LessThanThreshold" + ComparisonOperatorLessThanOrEqualToThreshold ComparisonOperator = "LessThanOrEqualToThreshold" ) // Values returns all known values for ComparisonOperator. Note that this can be @@ -236,7 +236,7 @@ type InsufficientDataHealthStatus string const ( InsufficientDataHealthStatusHealthy InsufficientDataHealthStatus = "Healthy" InsufficientDataHealthStatusUnhealthy InsufficientDataHealthStatus = "Unhealthy" - InsufficientDataHealthStatusLastknownstatus InsufficientDataHealthStatus = "LastKnownStatus" + InsufficientDataHealthStatusLastKnownStatus InsufficientDataHealthStatus = "LastKnownStatus" ) // Values returns all known values for InsufficientDataHealthStatus. Note that this @@ -254,10 +254,10 @@ type ResettableElementName string // Enum values for ResettableElementName const ( - ResettableElementNameFullyqualifieddomainname ResettableElementName = "FullyQualifiedDomainName" + ResettableElementNameFullyQualifiedDomainName ResettableElementName = "FullyQualifiedDomainName" ResettableElementNameRegions ResettableElementName = "Regions" - ResettableElementNameResourcepath ResettableElementName = "ResourcePath" - ResettableElementNameChildhealthchecks ResettableElementName = "ChildHealthChecks" + ResettableElementNameResourcePath ResettableElementName = "ResourcePath" + ResettableElementNameChildHealthChecks ResettableElementName = "ChildHealthChecks" ) // Values returns all known values for ResettableElementName. Note that this can be @@ -413,7 +413,7 @@ type Statistic string const ( StatisticAverage Statistic = "Average" StatisticSum Statistic = "Sum" - StatisticSamplecount Statistic = "SampleCount" + StatisticSampleCount Statistic = "SampleCount" StatisticMaximum Statistic = "Maximum" StatisticMinimum Statistic = "Minimum" ) diff --git a/service/route53domains/api_client.go b/service/route53domains/api_client.go index 92f27d6dcd8..bfd77a6c8cd 100644 --- a/service/route53domains/api_client.go +++ b/service/route53domains/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/route53resolver/api_client.go b/service/route53resolver/api_client.go index d981875940a..2b6ec0489be 100644 --- a/service/route53resolver/api_client.go +++ b/service/route53resolver/api_client.go @@ -97,6 +97,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/route53resolver/types/enums.go b/service/route53resolver/types/enums.go index 1d47ec31189..cc6ddc4733c 100644 --- a/service/route53resolver/types/enums.go +++ b/service/route53resolver/types/enums.go @@ -7,15 +7,15 @@ type IpAddressStatus string // Enum values for IpAddressStatus const ( IpAddressStatusCreating IpAddressStatus = "CREATING" - IpAddressStatusFailedcreation IpAddressStatus = "FAILED_CREATION" + IpAddressStatusFailedCreation IpAddressStatus = "FAILED_CREATION" IpAddressStatusAttaching IpAddressStatus = "ATTACHING" IpAddressStatusAttached IpAddressStatus = "ATTACHED" - IpAddressStatusRemapdetaching IpAddressStatus = "REMAP_DETACHING" - IpAddressStatusRemapattaching IpAddressStatus = "REMAP_ATTACHING" + IpAddressStatusRemapDetaching IpAddressStatus = "REMAP_DETACHING" + IpAddressStatusRemapAttaching IpAddressStatus = "REMAP_ATTACHING" IpAddressStatusDetaching IpAddressStatus = "DETACHING" - IpAddressStatusFailedresourcegone IpAddressStatus = "FAILED_RESOURCE_GONE" + IpAddressStatusFailedResourceGone IpAddressStatus = "FAILED_RESOURCE_GONE" IpAddressStatusDeleting IpAddressStatus = "DELETING" - IpAddressStatusDeletefailedfasexpired IpAddressStatus = "DELETE_FAILED_FAS_EXPIRED" + IpAddressStatusDeleteFailedFasExpired IpAddressStatus = "DELETE_FAILED_FAS_EXPIRED" ) // Values returns all known values for IpAddressStatus. Note that this can be @@ -61,8 +61,8 @@ const ( ResolverEndpointStatusCreating ResolverEndpointStatus = "CREATING" ResolverEndpointStatusOperational ResolverEndpointStatus = "OPERATIONAL" ResolverEndpointStatusUpdating ResolverEndpointStatus = "UPDATING" - ResolverEndpointStatusAutorecovering ResolverEndpointStatus = "AUTO_RECOVERING" - ResolverEndpointStatusActionneeded ResolverEndpointStatus = "ACTION_NEEDED" + ResolverEndpointStatusAutoRecovering ResolverEndpointStatus = "AUTO_RECOVERING" + ResolverEndpointStatusActionNeeded ResolverEndpointStatus = "ACTION_NEEDED" ResolverEndpointStatusDeleting ResolverEndpointStatus = "DELETING" ) @@ -85,9 +85,9 @@ type ResolverQueryLogConfigAssociationError string // Enum values for ResolverQueryLogConfigAssociationError const ( ResolverQueryLogConfigAssociationErrorNone ResolverQueryLogConfigAssociationError = "NONE" - ResolverQueryLogConfigAssociationErrorDestinationnotfound ResolverQueryLogConfigAssociationError = "DESTINATION_NOT_FOUND" - ResolverQueryLogConfigAssociationErrorAccessdenied ResolverQueryLogConfigAssociationError = "ACCESS_DENIED" - ResolverQueryLogConfigAssociationErrorInternalserviceerror ResolverQueryLogConfigAssociationError = "INTERNAL_SERVICE_ERROR" + ResolverQueryLogConfigAssociationErrorDestinationNotFound ResolverQueryLogConfigAssociationError = "DESTINATION_NOT_FOUND" + ResolverQueryLogConfigAssociationErrorAccessDenied ResolverQueryLogConfigAssociationError = "ACCESS_DENIED" + ResolverQueryLogConfigAssociationErrorInternalServiceError ResolverQueryLogConfigAssociationError = "INTERNAL_SERVICE_ERROR" ) // Values returns all known values for ResolverQueryLogConfigAssociationError. Note @@ -109,7 +109,7 @@ type ResolverQueryLogConfigAssociationStatus string const ( ResolverQueryLogConfigAssociationStatusCreating ResolverQueryLogConfigAssociationStatus = "CREATING" ResolverQueryLogConfigAssociationStatusActive ResolverQueryLogConfigAssociationStatus = "ACTIVE" - ResolverQueryLogConfigAssociationStatusActionneeded ResolverQueryLogConfigAssociationStatus = "ACTION_NEEDED" + ResolverQueryLogConfigAssociationStatusActionNeeded ResolverQueryLogConfigAssociationStatus = "ACTION_NEEDED" ResolverQueryLogConfigAssociationStatusDeleting ResolverQueryLogConfigAssociationStatus = "DELETING" ResolverQueryLogConfigAssociationStatusFailed ResolverQueryLogConfigAssociationStatus = "FAILED" ) @@ -221,9 +221,9 @@ type ShareStatus string // Enum values for ShareStatus const ( - ShareStatusNotshared ShareStatus = "NOT_SHARED" - ShareStatusSharedwithme ShareStatus = "SHARED_WITH_ME" - ShareStatusSharedbyme ShareStatus = "SHARED_BY_ME" + ShareStatusNotShared ShareStatus = "NOT_SHARED" + ShareStatusSharedWithMe ShareStatus = "SHARED_WITH_ME" + ShareStatusSharedByMe ShareStatus = "SHARED_BY_ME" ) // Values returns all known values for ShareStatus. Note that this can be expanded diff --git a/service/s3/api_client.go b/service/s3/api_client.go index 01f5685b803..53c277effbe 100644 --- a/service/s3/api_client.go +++ b/service/s3/api_client.go @@ -113,6 +113,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/s3/types/enums.go b/service/s3/types/enums.go index e27d8d45a01..41fe45df9dd 100644 --- a/service/s3/types/enums.go +++ b/service/s3/types/enums.go @@ -449,16 +449,16 @@ type InventoryOptionalField string // Enum values for InventoryOptionalField const ( InventoryOptionalFieldSize InventoryOptionalField = "Size" - InventoryOptionalFieldLastmodifieddate InventoryOptionalField = "LastModifiedDate" - InventoryOptionalFieldStorageclass InventoryOptionalField = "StorageClass" - InventoryOptionalFieldEtag InventoryOptionalField = "ETag" - InventoryOptionalFieldIsmultipartuploaded InventoryOptionalField = "IsMultipartUploaded" - InventoryOptionalFieldReplicationstatus InventoryOptionalField = "ReplicationStatus" - InventoryOptionalFieldEncryptionstatus InventoryOptionalField = "EncryptionStatus" - InventoryOptionalFieldObjectlockretainuntildate InventoryOptionalField = "ObjectLockRetainUntilDate" - InventoryOptionalFieldObjectlockmode InventoryOptionalField = "ObjectLockMode" - InventoryOptionalFieldObjectlocklegalholdstatus InventoryOptionalField = "ObjectLockLegalHoldStatus" - InventoryOptionalFieldIntelligenttieringaccesstier InventoryOptionalField = "IntelligentTieringAccessTier" + InventoryOptionalFieldLastModifiedDate InventoryOptionalField = "LastModifiedDate" + InventoryOptionalFieldStorageClass InventoryOptionalField = "StorageClass" + InventoryOptionalFieldETag InventoryOptionalField = "ETag" + InventoryOptionalFieldIsMultipartUploaded InventoryOptionalField = "IsMultipartUploaded" + InventoryOptionalFieldReplicationStatus InventoryOptionalField = "ReplicationStatus" + InventoryOptionalFieldEncryptionStatus InventoryOptionalField = "EncryptionStatus" + InventoryOptionalFieldObjectLockRetainUntilDate InventoryOptionalField = "ObjectLockRetainUntilDate" + InventoryOptionalFieldObjectLockMode InventoryOptionalField = "ObjectLockMode" + InventoryOptionalFieldObjectLockLegalHoldStatus InventoryOptionalField = "ObjectLockLegalHoldStatus" + InventoryOptionalFieldIntelligentTieringAccessTier InventoryOptionalField = "IntelligentTieringAccessTier" ) // Values returns all known values for InventoryOptionalField. Note that this can @@ -672,8 +672,8 @@ type ObjectOwnership string // Enum values for ObjectOwnership const ( - ObjectOwnershipBucketownerpreferred ObjectOwnership = "BucketOwnerPreferred" - ObjectOwnershipObjectwriter ObjectOwnership = "ObjectWriter" + ObjectOwnershipBucketOwnerPreferred ObjectOwnership = "BucketOwnerPreferred" + ObjectOwnershipObjectWriter ObjectOwnership = "ObjectWriter" ) // Values returns all known values for ObjectOwnership. Note that this can be @@ -753,7 +753,7 @@ type Payer string // Enum values for Payer const ( PayerRequester Payer = "Requester" - PayerBucketowner Payer = "BucketOwner" + PayerBucketOwner Payer = "BucketOwner" ) // Values returns all known values for Payer. Note that this can be expanded in the @@ -1099,8 +1099,8 @@ type Type string // Enum values for Type const ( - TypeCanonicaluser Type = "CanonicalUser" - TypeAmazoncustomerbyemail Type = "AmazonCustomerByEmail" + TypeCanonicalUser Type = "CanonicalUser" + TypeAmazonCustomerByEmail Type = "AmazonCustomerByEmail" TypeGroup Type = "Group" ) diff --git a/service/s3control/api_client.go b/service/s3control/api_client.go index 04714d24152..7d7f3fda918 100644 --- a/service/s3control/api_client.go +++ b/service/s3control/api_client.go @@ -104,6 +104,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/s3control/types/enums.go b/service/s3control/types/enums.go index 088a0ca7b0c..7f929a36ffb 100644 --- a/service/s3control/types/enums.go +++ b/service/s3control/types/enums.go @@ -103,7 +103,7 @@ const ( JobManifestFieldNameIgnore JobManifestFieldName = "Ignore" JobManifestFieldNameBucket JobManifestFieldName = "Bucket" JobManifestFieldNameKey JobManifestFieldName = "Key" - JobManifestFieldNameVersionid JobManifestFieldName = "VersionId" + JobManifestFieldNameVersionId JobManifestFieldName = "VersionId" ) // Values returns all known values for JobManifestFieldName. Note that this can be @@ -122,8 +122,8 @@ type JobManifestFormat string // Enum values for JobManifestFormat const ( - JobManifestFormatS3batchoperationsCsv20180820 JobManifestFormat = "S3BatchOperations_CSV_20180820" - JobManifestFormatS3inventoryreportCsv20161130 JobManifestFormat = "S3InventoryReport_CSV_20161130" + JobManifestFormatS3BatchOperationsCsv20180820 JobManifestFormat = "S3BatchOperations_CSV_20180820" + JobManifestFormatS3InventoryReportCsv20161130 JobManifestFormat = "S3InventoryReport_CSV_20161130" ) // Values returns all known values for JobManifestFormat. Note that this can be @@ -156,8 +156,8 @@ type JobReportScope string // Enum values for JobReportScope const ( - JobReportScopeAlltasks JobReportScope = "AllTasks" - JobReportScopeFailedtasksonly JobReportScope = "FailedTasksOnly" + JobReportScopeAllTasks JobReportScope = "AllTasks" + JobReportScopeFailedTasksOnly JobReportScope = "FailedTasksOnly" ) // Values returns all known values for JobReportScope. Note that this can be @@ -232,13 +232,13 @@ type OperationName string // Enum values for OperationName const ( - OperationNameLambdainvoke OperationName = "LambdaInvoke" - OperationNameS3putobjectcopy OperationName = "S3PutObjectCopy" - OperationNameS3putobjectacl OperationName = "S3PutObjectAcl" - OperationNameS3putobjecttagging OperationName = "S3PutObjectTagging" - OperationNameS3initiaterestoreobject OperationName = "S3InitiateRestoreObject" - OperationNameS3putobjectlegalhold OperationName = "S3PutObjectLegalHold" - OperationNameS3putobjectretention OperationName = "S3PutObjectRetention" + OperationNameLambdaInvoke OperationName = "LambdaInvoke" + OperationNameS3PutObjectCopy OperationName = "S3PutObjectCopy" + OperationNameS3PutObjectAcl OperationName = "S3PutObjectAcl" + OperationNameS3PutObjectTagging OperationName = "S3PutObjectTagging" + OperationNameS3InitiateRestoreObject OperationName = "S3InitiateRestoreObject" + OperationNameS3PutObjectLegalHold OperationName = "S3PutObjectLegalHold" + OperationNameS3PutObjectRetention OperationName = "S3PutObjectRetention" ) // Values returns all known values for OperationName. Note that this can be diff --git a/service/s3outposts/api_client.go b/service/s3outposts/api_client.go index e49fe7a619a..0291ad45d9d 100644 --- a/service/s3outposts/api_client.go +++ b/service/s3outposts/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/sagemaker/api_client.go b/service/sagemaker/api_client.go index 0b2e4aab802..47a086592ce 100644 --- a/service/sagemaker/api_client.go +++ b/service/sagemaker/api_client.go @@ -97,6 +97,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/sagemaker/types/enums.go b/service/sagemaker/types/enums.go index d2118b7e6a3..312b56aed4c 100644 --- a/service/sagemaker/types/enums.go +++ b/service/sagemaker/types/enums.go @@ -74,8 +74,8 @@ type AppImageConfigSortKey string // Enum values for AppImageConfigSortKey const ( - AppImageConfigSortKeyCreationtime AppImageConfigSortKey = "CreationTime" - AppImageConfigSortKeyLastmodifiedtime AppImageConfigSortKey = "LastModifiedTime" + AppImageConfigSortKeyCreationTime AppImageConfigSortKey = "CreationTime" + AppImageConfigSortKeyLastModifiedTime AppImageConfigSortKey = "LastModifiedTime" AppImageConfigSortKeyName AppImageConfigSortKey = "Name" ) @@ -172,8 +172,8 @@ type AppNetworkAccessType string // Enum values for AppNetworkAccessType const ( - AppNetworkAccessTypePublicinternetonly AppNetworkAccessType = "PublicInternetOnly" - AppNetworkAccessTypeVpconly AppNetworkAccessType = "VpcOnly" + AppNetworkAccessTypePublicInternetOnly AppNetworkAccessType = "PublicInternetOnly" + AppNetworkAccessTypeVpcOnly AppNetworkAccessType = "VpcOnly" ) // Values returns all known values for AppNetworkAccessType. Note that this can be @@ -190,7 +190,7 @@ type AppSortKey string // Enum values for AppSortKey const ( - AppSortKeyCreationtime AppSortKey = "CreationTime" + AppSortKeyCreationTime AppSortKey = "CreationTime" ) // Values returns all known values for AppSortKey. Note that this can be expanded @@ -209,7 +209,7 @@ const ( AppStatusDeleted AppStatus = "Deleted" AppStatusDeleting AppStatus = "Deleting" AppStatusFailed AppStatus = "Failed" - AppStatusInservice AppStatus = "InService" + AppStatusInService AppStatus = "InService" AppStatusPending AppStatus = "Pending" ) @@ -230,9 +230,9 @@ type AppType string // Enum values for AppType const ( - AppTypeJupyterserver AppType = "JupyterServer" - AppTypeKernelgateway AppType = "KernelGateway" - AppTypeTensorboard AppType = "TensorBoard" + AppTypeJupyterServer AppType = "JupyterServer" + AppTypeKernelGateway AppType = "KernelGateway" + AppTypeTensorBoard AppType = "TensorBoard" ) // Values returns all known values for AppType. Note that this can be expanded in @@ -585,9 +585,9 @@ type CandidateSortBy string // Enum values for CandidateSortBy const ( - CandidateSortByCreationtime CandidateSortBy = "CreationTime" + CandidateSortByCreationTime CandidateSortBy = "CreationTime" CandidateSortByStatus CandidateSortBy = "Status" - CandidateSortByFinalobjectivemetricvalue CandidateSortBy = "FinalObjectiveMetricValue" + CandidateSortByFinalObjectiveMetricValue CandidateSortBy = "FinalObjectiveMetricValue" ) // Values returns all known values for CandidateSortBy. Note that this can be @@ -921,7 +921,7 @@ type DomainStatus string const ( DomainStatusDeleting DomainStatus = "Deleting" DomainStatusFailed DomainStatus = "Failed" - DomainStatusInservice DomainStatus = "InService" + DomainStatusInService DomainStatus = "InService" DomainStatusPending DomainStatus = "Pending" DomainStatusUpdating DomainStatus = "Updating" DomainStatusUpdateFailed DomainStatus = "Update_Failed" @@ -948,7 +948,7 @@ type EdgePackagingJobStatus string // Enum values for EdgePackagingJobStatus const ( EdgePackagingJobStatusStarting EdgePackagingJobStatus = "STARTING" - EdgePackagingJobStatusInprogress EdgePackagingJobStatus = "INPROGRESS" + EdgePackagingJobStatusInProgress EdgePackagingJobStatus = "INPROGRESS" EdgePackagingJobStatusCompleted EdgePackagingJobStatus = "COMPLETED" EdgePackagingJobStatusFailed EdgePackagingJobStatus = "FAILED" EdgePackagingJobStatusStopping EdgePackagingJobStatus = "STOPPING" @@ -974,7 +974,7 @@ type EndpointConfigSortKey string // Enum values for EndpointConfigSortKey const ( EndpointConfigSortKeyName EndpointConfigSortKey = "Name" - EndpointConfigSortKeyCreationtime EndpointConfigSortKey = "CreationTime" + EndpointConfigSortKeyCreationTime EndpointConfigSortKey = "CreationTime" ) // Values returns all known values for EndpointConfigSortKey. Note that this can be @@ -992,7 +992,7 @@ type EndpointSortKey string // Enum values for EndpointSortKey const ( EndpointSortKeyName EndpointSortKey = "Name" - EndpointSortKeyCreationtime EndpointSortKey = "CreationTime" + EndpointSortKeyCreationTime EndpointSortKey = "CreationTime" EndpointSortKeyStatus EndpointSortKey = "Status" ) @@ -1304,7 +1304,7 @@ type HyperParameterTuningJobSortByOptions string const ( HyperParameterTuningJobSortByOptionsName HyperParameterTuningJobSortByOptions = "Name" HyperParameterTuningJobSortByOptionsStatus HyperParameterTuningJobSortByOptions = "Status" - HyperParameterTuningJobSortByOptionsCreationtime HyperParameterTuningJobSortByOptions = "CreationTime" + HyperParameterTuningJobSortByOptionsCreationTime HyperParameterTuningJobSortByOptions = "CreationTime" ) // Values returns all known values for HyperParameterTuningJobSortByOptions. Note @@ -1687,8 +1687,8 @@ type ListDeviceFleetsSortBy string // Enum values for ListDeviceFleetsSortBy const ( ListDeviceFleetsSortByName ListDeviceFleetsSortBy = "NAME" - ListDeviceFleetsSortByCreationtime ListDeviceFleetsSortBy = "CREATION_TIME" - ListDeviceFleetsSortByLastmodifiedtime ListDeviceFleetsSortBy = "LAST_MODIFIED_TIME" + ListDeviceFleetsSortByCreationTime ListDeviceFleetsSortBy = "CREATION_TIME" + ListDeviceFleetsSortByLastModifiedTime ListDeviceFleetsSortBy = "LAST_MODIFIED_TIME" ) // Values returns all known values for ListDeviceFleetsSortBy. Note that this can @@ -1707,10 +1707,10 @@ type ListEdgePackagingJobsSortBy string // Enum values for ListEdgePackagingJobsSortBy const ( ListEdgePackagingJobsSortByName ListEdgePackagingJobsSortBy = "NAME" - ListEdgePackagingJobsSortByModelname ListEdgePackagingJobsSortBy = "MODEL_NAME" - ListEdgePackagingJobsSortByCreationtime ListEdgePackagingJobsSortBy = "CREATION_TIME" - ListEdgePackagingJobsSortByLastmodifiedtime ListEdgePackagingJobsSortBy = "LAST_MODIFIED_TIME" - ListEdgePackagingJobsSortByEdgepackagingjobstatus ListEdgePackagingJobsSortBy = "STATUS" + ListEdgePackagingJobsSortByModelName ListEdgePackagingJobsSortBy = "MODEL_NAME" + ListEdgePackagingJobsSortByCreationTime ListEdgePackagingJobsSortBy = "CREATION_TIME" + ListEdgePackagingJobsSortByLastModifiedTime ListEdgePackagingJobsSortBy = "LAST_MODIFIED_TIME" + ListEdgePackagingJobsSortByEdgePackagingJobStatus ListEdgePackagingJobsSortBy = "STATUS" ) // Values returns all known values for ListEdgePackagingJobsSortBy. Note that this @@ -1748,7 +1748,7 @@ type ListWorkforcesSortByOptions string // Enum values for ListWorkforcesSortByOptions const ( ListWorkforcesSortByOptionsName ListWorkforcesSortByOptions = "Name" - ListWorkforcesSortByOptionsCreatedate ListWorkforcesSortByOptions = "CreateDate" + ListWorkforcesSortByOptionsCreateDate ListWorkforcesSortByOptions = "CreateDate" ) // Values returns all known values for ListWorkforcesSortByOptions. Note that this @@ -1766,7 +1766,7 @@ type ListWorkteamsSortByOptions string // Enum values for ListWorkteamsSortByOptions const ( ListWorkteamsSortByOptionsName ListWorkteamsSortByOptions = "Name" - ListWorkteamsSortByOptionsCreatedate ListWorkteamsSortByOptions = "CreateDate" + ListWorkteamsSortByOptionsCreateDate ListWorkteamsSortByOptions = "CreateDate" ) // Values returns all known values for ListWorkteamsSortByOptions. Note that this @@ -1910,7 +1910,7 @@ type ModelSortKey string // Enum values for ModelSortKey const ( ModelSortKeyName ModelSortKey = "Name" - ModelSortKeyCreationtime ModelSortKey = "CreationTime" + ModelSortKeyCreationTime ModelSortKey = "CreationTime" ) // Values returns all known values for ModelSortKey. Note that this can be expanded @@ -2134,7 +2134,7 @@ type NotebookInstanceStatus string // Enum values for NotebookInstanceStatus const ( NotebookInstanceStatusPending NotebookInstanceStatus = "Pending" - NotebookInstanceStatusInservice NotebookInstanceStatus = "InService" + NotebookInstanceStatusInService NotebookInstanceStatus = "InService" NotebookInstanceStatusStopping NotebookInstanceStatus = "Stopping" NotebookInstanceStatusStopped NotebookInstanceStatus = "Stopped" NotebookInstanceStatusFailed NotebookInstanceStatus = "Failed" @@ -3661,9 +3661,9 @@ type TrainingJobSortByOptions string // Enum values for TrainingJobSortByOptions const ( TrainingJobSortByOptionsName TrainingJobSortByOptions = "Name" - TrainingJobSortByOptionsCreationtime TrainingJobSortByOptions = "CreationTime" + TrainingJobSortByOptionsCreationTime TrainingJobSortByOptions = "CreationTime" TrainingJobSortByOptionsStatus TrainingJobSortByOptions = "Status" - TrainingJobSortByOptionsFinalobjectivemetricvalue TrainingJobSortByOptions = "FinalObjectiveMetricValue" + TrainingJobSortByOptionsFinalObjectiveMetricValue TrainingJobSortByOptions = "FinalObjectiveMetricValue" ) // Values returns all known values for TrainingJobSortByOptions. Note that this can @@ -3820,8 +3820,8 @@ type UserProfileSortKey string // Enum values for UserProfileSortKey const ( - UserProfileSortKeyCreationtime UserProfileSortKey = "CreationTime" - UserProfileSortKeyLastmodifiedtime UserProfileSortKey = "LastModifiedTime" + UserProfileSortKeyCreationTime UserProfileSortKey = "CreationTime" + UserProfileSortKeyLastModifiedTime UserProfileSortKey = "LastModifiedTime" ) // Values returns all known values for UserProfileSortKey. Note that this can be @@ -3840,7 +3840,7 @@ type UserProfileStatus string const ( UserProfileStatusDeleting UserProfileStatus = "Deleting" UserProfileStatusFailed UserProfileStatus = "Failed" - UserProfileStatusInservice UserProfileStatus = "InService" + UserProfileStatusInService UserProfileStatus = "InService" UserProfileStatusPending UserProfileStatus = "Pending" UserProfileStatusUpdating UserProfileStatus = "Updating" UserProfileStatusUpdateFailed UserProfileStatus = "Update_Failed" @@ -3866,9 +3866,9 @@ type VariantPropertyType string // Enum values for VariantPropertyType const ( - VariantPropertyTypeDesiredinstancecount VariantPropertyType = "DesiredInstanceCount" - VariantPropertyTypeDesiredweight VariantPropertyType = "DesiredWeight" - VariantPropertyTypeDatacaptureconfig VariantPropertyType = "DataCaptureConfig" + VariantPropertyTypeDesiredInstanceCount VariantPropertyType = "DesiredInstanceCount" + VariantPropertyTypeDesiredWeight VariantPropertyType = "DesiredWeight" + VariantPropertyTypeDataCaptureConfig VariantPropertyType = "DataCaptureConfig" ) // Values returns all known values for VariantPropertyType. Note that this can be diff --git a/service/sagemakera2iruntime/api_client.go b/service/sagemakera2iruntime/api_client.go index e6c6dc7889e..efa1978bef2 100644 --- a/service/sagemakera2iruntime/api_client.go +++ b/service/sagemakera2iruntime/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/sagemakeredge/api_client.go b/service/sagemakeredge/api_client.go index aef01d29973..12898afcb28 100644 --- a/service/sagemakeredge/api_client.go +++ b/service/sagemakeredge/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/sagemakerfeaturestoreruntime/api_client.go b/service/sagemakerfeaturestoreruntime/api_client.go index 8ba5c200c3a..df67e74a924 100644 --- a/service/sagemakerfeaturestoreruntime/api_client.go +++ b/service/sagemakerfeaturestoreruntime/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/sagemakerruntime/api_client.go b/service/sagemakerruntime/api_client.go index bc4be3801cd..244f3a48dff 100644 --- a/service/sagemakerruntime/api_client.go +++ b/service/sagemakerruntime/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/savingsplans/api_client.go b/service/savingsplans/api_client.go index f8e80631510..b13cfe9e663 100644 --- a/service/savingsplans/api_client.go +++ b/service/savingsplans/api_client.go @@ -96,6 +96,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/savingsplans/types/enums.go b/service/savingsplans/types/enums.go index a5b48393b87..2f74ba77a77 100644 --- a/service/savingsplans/types/enums.go +++ b/service/savingsplans/types/enums.go @@ -25,7 +25,7 @@ type SavingsPlanOfferingFilterAttribute string // Enum values for SavingsPlanOfferingFilterAttribute const ( SavingsPlanOfferingFilterAttributeRegion SavingsPlanOfferingFilterAttribute = "region" - SavingsPlanOfferingFilterAttributeInstancefamily SavingsPlanOfferingFilterAttribute = "instanceFamily" + SavingsPlanOfferingFilterAttributeInstanceFamily SavingsPlanOfferingFilterAttribute = "instanceFamily" ) // Values returns all known values for SavingsPlanOfferingFilterAttribute. Note diff --git a/service/schemas/api_client.go b/service/schemas/api_client.go index 4878bd94d04..7561d6bccfb 100644 --- a/service/schemas/api_client.go +++ b/service/schemas/api_client.go @@ -96,6 +96,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/schemas/types/enums.go b/service/schemas/types/enums.go index bf4fa235a62..3e5a861c178 100644 --- a/service/schemas/types/enums.go +++ b/service/schemas/types/enums.go @@ -44,8 +44,8 @@ type Type string // Enum values for Type const ( - TypeOpenapi3 Type = "OpenApi3" - TypeJsonschemadraft4 Type = "JSONSchemaDraft4" + TypeOpenApi3 Type = "OpenApi3" + TypeJSONSchemaDraft4 Type = "JSONSchemaDraft4" ) // Values returns all known values for Type. Note that this can be expanded in the diff --git a/service/secretsmanager/api_client.go b/service/secretsmanager/api_client.go index c9491bf0c88..e710ef4b4cb 100644 --- a/service/secretsmanager/api_client.go +++ b/service/secretsmanager/api_client.go @@ -96,6 +96,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/securityhub/api_client.go b/service/securityhub/api_client.go index 6b3300df78b..5430b2e540a 100644 --- a/service/securityhub/api_client.go +++ b/service/securityhub/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/serverlessapplicationrepository/api_client.go b/service/serverlessapplicationrepository/api_client.go index 7d7f60dee1c..757ae4867a2 100644 --- a/service/serverlessapplicationrepository/api_client.go +++ b/service/serverlessapplicationrepository/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/servicecatalog/api_client.go b/service/servicecatalog/api_client.go index 29dae1f5e79..41df919f90b 100644 --- a/service/servicecatalog/api_client.go +++ b/service/servicecatalog/api_client.go @@ -96,6 +96,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/servicecatalog/types/enums.go b/service/servicecatalog/types/enums.go index 48ab536b4f6..f415b2e4456 100644 --- a/service/servicecatalog/types/enums.go +++ b/service/servicecatalog/types/enums.go @@ -66,7 +66,7 @@ type CopyOption string // Enum values for CopyOption const ( - CopyOptionCopytags CopyOption = "CopyTags" + CopyOptionCopyTags CopyOption = "CopyTags" ) // Values returns all known values for CopyOption. Note that this can be expanded @@ -232,10 +232,10 @@ type ProductViewFilterBy string // Enum values for ProductViewFilterBy const ( - ProductViewFilterByFulltextsearch ProductViewFilterBy = "FullTextSearch" + ProductViewFilterByFullTextSearch ProductViewFilterBy = "FullTextSearch" ProductViewFilterByOwner ProductViewFilterBy = "Owner" - ProductViewFilterByProducttype ProductViewFilterBy = "ProductType" - ProductViewFilterBySourceproductid ProductViewFilterBy = "SourceProductId" + ProductViewFilterByProductType ProductViewFilterBy = "ProductType" + ProductViewFilterBySourceProductId ProductViewFilterBy = "SourceProductId" ) // Values returns all known values for ProductViewFilterBy. Note that this can be @@ -255,8 +255,8 @@ type ProductViewSortBy string // Enum values for ProductViewSortBy const ( ProductViewSortByTitle ProductViewSortBy = "Title" - ProductViewSortByVersioncount ProductViewSortBy = "VersionCount" - ProductViewSortByCreationdate ProductViewSortBy = "CreationDate" + ProductViewSortByVersionCount ProductViewSortBy = "VersionCount" + ProductViewSortByCreationDate ProductViewSortBy = "CreationDate" ) // Values returns all known values for ProductViewSortBy. Note that this can be @@ -275,7 +275,7 @@ type PropertyKey string // Enum values for PropertyKey const ( PropertyKeyOwner PropertyKey = "OWNER" - PropertyKeyLaunchrole PropertyKey = "LAUNCH_ROLE" + PropertyKeyLaunchRole PropertyKey = "LAUNCH_ROLE" ) // Values returns all known values for PropertyKey. Note that this can be expanded @@ -358,7 +358,7 @@ type ProvisionedProductViewFilterBy string // Enum values for ProvisionedProductViewFilterBy const ( - ProvisionedProductViewFilterBySearchquery ProvisionedProductViewFilterBy = "SearchQuery" + ProvisionedProductViewFilterBySearchQuery ProvisionedProductViewFilterBy = "SearchQuery" ) // Values returns all known values for ProvisionedProductViewFilterBy. Note that @@ -520,11 +520,11 @@ type ServiceActionAssociationErrorCode string // Enum values for ServiceActionAssociationErrorCode const ( - ServiceActionAssociationErrorCodeDuplicateresourceexception ServiceActionAssociationErrorCode = "DUPLICATE_RESOURCE" - ServiceActionAssociationErrorCodeInternalfailure ServiceActionAssociationErrorCode = "INTERNAL_FAILURE" - ServiceActionAssociationErrorCodeLimitexceededexception ServiceActionAssociationErrorCode = "LIMIT_EXCEEDED" - ServiceActionAssociationErrorCodeResourcenotfoundexception ServiceActionAssociationErrorCode = "RESOURCE_NOT_FOUND" - ServiceActionAssociationErrorCodeThrottlingexception ServiceActionAssociationErrorCode = "THROTTLING" + ServiceActionAssociationErrorCodeDuplicateResourceException ServiceActionAssociationErrorCode = "DUPLICATE_RESOURCE" + ServiceActionAssociationErrorCodeInternalFailure ServiceActionAssociationErrorCode = "INTERNAL_FAILURE" + ServiceActionAssociationErrorCodeLimitExceededException ServiceActionAssociationErrorCode = "LIMIT_EXCEEDED" + ServiceActionAssociationErrorCodeResourceNotFoundException ServiceActionAssociationErrorCode = "RESOURCE_NOT_FOUND" + ServiceActionAssociationErrorCodeThrottlingException ServiceActionAssociationErrorCode = "THROTTLING" ) // Values returns all known values for ServiceActionAssociationErrorCode. Note that @@ -547,7 +547,7 @@ type ServiceActionDefinitionKey string const ( ServiceActionDefinitionKeyName ServiceActionDefinitionKey = "Name" ServiceActionDefinitionKeyVersion ServiceActionDefinitionKey = "Version" - ServiceActionDefinitionKeyAssumerole ServiceActionDefinitionKey = "AssumeRole" + ServiceActionDefinitionKeyAssumeRole ServiceActionDefinitionKey = "AssumeRole" ServiceActionDefinitionKeyParameters ServiceActionDefinitionKey = "Parameters" ) @@ -567,7 +567,7 @@ type ServiceActionDefinitionType string // Enum values for ServiceActionDefinitionType const ( - ServiceActionDefinitionTypeSsmautomation ServiceActionDefinitionType = "SSM_AUTOMATION" + ServiceActionDefinitionTypeSsmAutomation ServiceActionDefinitionType = "SSM_AUTOMATION" ) // Values returns all known values for ServiceActionDefinitionType. Note that this diff --git a/service/servicecatalogappregistry/api_client.go b/service/servicecatalogappregistry/api_client.go index a3164f0cb63..cb84a8a650a 100644 --- a/service/servicecatalogappregistry/api_client.go +++ b/service/servicecatalogappregistry/api_client.go @@ -97,6 +97,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/servicediscovery/api_client.go b/service/servicediscovery/api_client.go index 9fb8f445b39..7d4d7e9d47e 100644 --- a/service/servicediscovery/api_client.go +++ b/service/servicediscovery/api_client.go @@ -96,6 +96,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/servicequotas/api_client.go b/service/servicequotas/api_client.go index fbc38337fd7..a1400fa1d2e 100644 --- a/service/servicequotas/api_client.go +++ b/service/servicequotas/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/ses/api_client.go b/service/ses/api_client.go index 4609666e1b0..619f1166052 100644 --- a/service/ses/api_client.go +++ b/service/ses/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/ses/types/enums.go b/service/ses/types/enums.go index 109fdaff017..66ad03df69a 100644 --- a/service/ses/types/enums.go +++ b/service/ses/types/enums.go @@ -6,8 +6,8 @@ type BehaviorOnMXFailure string // Enum values for BehaviorOnMXFailure const ( - BehaviorOnMXFailureUsedefaultvalue BehaviorOnMXFailure = "UseDefaultValue" - BehaviorOnMXFailureRejectmessage BehaviorOnMXFailure = "RejectMessage" + BehaviorOnMXFailureUseDefaultValue BehaviorOnMXFailure = "UseDefaultValue" + BehaviorOnMXFailureRejectMessage BehaviorOnMXFailure = "RejectMessage" ) // Values returns all known values for BehaviorOnMXFailure. Note that this can be @@ -24,12 +24,12 @@ type BounceType string // Enum values for BounceType const ( - BounceTypeDoesnotexist BounceType = "DoesNotExist" - BounceTypeMessagetoolarge BounceType = "MessageTooLarge" - BounceTypeExceededquota BounceType = "ExceededQuota" - BounceTypeContentrejected BounceType = "ContentRejected" + BounceTypeDoesNotExist BounceType = "DoesNotExist" + BounceTypeMessageTooLarge BounceType = "MessageTooLarge" + BounceTypeExceededQuota BounceType = "ExceededQuota" + BounceTypeContentRejected BounceType = "ContentRejected" BounceTypeUndefined BounceType = "Undefined" - BounceTypeTemporaryfailure BounceType = "TemporaryFailure" + BounceTypeTemporaryFailure BounceType = "TemporaryFailure" ) // Values returns all known values for BounceType. Note that this can be expanded @@ -51,18 +51,18 @@ type BulkEmailStatus string // Enum values for BulkEmailStatus const ( BulkEmailStatusSuccess BulkEmailStatus = "Success" - BulkEmailStatusMessagerejected BulkEmailStatus = "MessageRejected" - BulkEmailStatusMailfromdomainnotverified BulkEmailStatus = "MailFromDomainNotVerified" - BulkEmailStatusConfigurationsetdoesnotexist BulkEmailStatus = "ConfigurationSetDoesNotExist" - BulkEmailStatusTemplatedoesnotexist BulkEmailStatus = "TemplateDoesNotExist" - BulkEmailStatusAccountsuspended BulkEmailStatus = "AccountSuspended" - BulkEmailStatusAccountthrottled BulkEmailStatus = "AccountThrottled" - BulkEmailStatusAccountdailyquotaexceeded BulkEmailStatus = "AccountDailyQuotaExceeded" - BulkEmailStatusInvalidsendingpoolname BulkEmailStatus = "InvalidSendingPoolName" - BulkEmailStatusAccountsendingpaused BulkEmailStatus = "AccountSendingPaused" - BulkEmailStatusConfigurationsetsendingpaused BulkEmailStatus = "ConfigurationSetSendingPaused" - BulkEmailStatusInvalidparametervalue BulkEmailStatus = "InvalidParameterValue" - BulkEmailStatusTransientfailure BulkEmailStatus = "TransientFailure" + BulkEmailStatusMessageRejected BulkEmailStatus = "MessageRejected" + BulkEmailStatusMailFromDomainNotVerified BulkEmailStatus = "MailFromDomainNotVerified" + BulkEmailStatusConfigurationSetDoesNotExist BulkEmailStatus = "ConfigurationSetDoesNotExist" + BulkEmailStatusTemplateDoesNotExist BulkEmailStatus = "TemplateDoesNotExist" + BulkEmailStatusAccountSuspended BulkEmailStatus = "AccountSuspended" + BulkEmailStatusAccountThrottled BulkEmailStatus = "AccountThrottled" + BulkEmailStatusAccountDailyQuotaExceeded BulkEmailStatus = "AccountDailyQuotaExceeded" + BulkEmailStatusInvalidSendingPoolName BulkEmailStatus = "InvalidSendingPoolName" + BulkEmailStatusAccountSendingPaused BulkEmailStatus = "AccountSendingPaused" + BulkEmailStatusConfigurationSetSendingPaused BulkEmailStatus = "ConfigurationSetSendingPaused" + BulkEmailStatusInvalidParameterValue BulkEmailStatus = "InvalidParameterValue" + BulkEmailStatusTransientFailure BulkEmailStatus = "TransientFailure" BulkEmailStatusFailed BulkEmailStatus = "Failed" ) @@ -117,7 +117,7 @@ const ( CustomMailFromStatusPending CustomMailFromStatus = "Pending" CustomMailFromStatusSuccess CustomMailFromStatus = "Success" CustomMailFromStatusFailed CustomMailFromStatus = "Failed" - CustomMailFromStatusTemporaryfailure CustomMailFromStatus = "TemporaryFailure" + CustomMailFromStatusTemporaryFailure CustomMailFromStatus = "TemporaryFailure" ) // Values returns all known values for CustomMailFromStatus. Note that this can be @@ -210,7 +210,7 @@ type IdentityType string // Enum values for IdentityType const ( - IdentityTypeEmailaddress IdentityType = "EmailAddress" + IdentityTypeEmailAddress IdentityType = "EmailAddress" IdentityTypeDomain IdentityType = "Domain" ) @@ -229,7 +229,7 @@ type InvocationType string // Enum values for InvocationType const ( InvocationTypeEvent InvocationType = "Event" - InvocationTypeRequestresponse InvocationType = "RequestResponse" + InvocationTypeRequestResponse InvocationType = "RequestResponse" ) // Values returns all known values for InvocationType. Note that this can be @@ -339,8 +339,8 @@ const ( VerificationStatusPending VerificationStatus = "Pending" VerificationStatusSuccess VerificationStatus = "Success" VerificationStatusFailed VerificationStatus = "Failed" - VerificationStatusTemporaryfailure VerificationStatus = "TemporaryFailure" - VerificationStatusNotstarted VerificationStatus = "NotStarted" + VerificationStatusTemporaryFailure VerificationStatus = "TemporaryFailure" + VerificationStatusNotStarted VerificationStatus = "NotStarted" ) // Values returns all known values for VerificationStatus. Note that this can be diff --git a/service/sesv2/api_client.go b/service/sesv2/api_client.go index 5b63fb5ce07..4be2631c73b 100644 --- a/service/sesv2/api_client.go +++ b/service/sesv2/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/sfn/api_client.go b/service/sfn/api_client.go index 0001ccb02d9..aacedfe3534 100644 --- a/service/sfn/api_client.go +++ b/service/sfn/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/sfn/types/enums.go b/service/sfn/types/enums.go index ca503ba6d27..0bbd6ebdfcc 100644 --- a/service/sfn/types/enums.go +++ b/service/sfn/types/enums.go @@ -30,61 +30,61 @@ type HistoryEventType string // Enum values for HistoryEventType const ( - HistoryEventTypeActivityfailed HistoryEventType = "ActivityFailed" - HistoryEventTypeActivityscheduled HistoryEventType = "ActivityScheduled" - HistoryEventTypeActivityschedulefailed HistoryEventType = "ActivityScheduleFailed" - HistoryEventTypeActivitystarted HistoryEventType = "ActivityStarted" - HistoryEventTypeActivitysucceeded HistoryEventType = "ActivitySucceeded" - HistoryEventTypeActivitytimedout HistoryEventType = "ActivityTimedOut" - HistoryEventTypeChoicestateentered HistoryEventType = "ChoiceStateEntered" - HistoryEventTypeChoicestateexited HistoryEventType = "ChoiceStateExited" - HistoryEventTypeExecutionaborted HistoryEventType = "ExecutionAborted" - HistoryEventTypeExecutionfailed HistoryEventType = "ExecutionFailed" - HistoryEventTypeExecutionstarted HistoryEventType = "ExecutionStarted" - HistoryEventTypeExecutionsucceeded HistoryEventType = "ExecutionSucceeded" - HistoryEventTypeExecutiontimedout HistoryEventType = "ExecutionTimedOut" - HistoryEventTypeFailstateentered HistoryEventType = "FailStateEntered" - HistoryEventTypeLambdafunctionfailed HistoryEventType = "LambdaFunctionFailed" - HistoryEventTypeLambdafunctionscheduled HistoryEventType = "LambdaFunctionScheduled" - HistoryEventTypeLambdafunctionschedulefailed HistoryEventType = "LambdaFunctionScheduleFailed" - HistoryEventTypeLambdafunctionstarted HistoryEventType = "LambdaFunctionStarted" - HistoryEventTypeLambdafunctionstartfailed HistoryEventType = "LambdaFunctionStartFailed" - HistoryEventTypeLambdafunctionsucceeded HistoryEventType = "LambdaFunctionSucceeded" - HistoryEventTypeLambdafunctiontimedout HistoryEventType = "LambdaFunctionTimedOut" - HistoryEventTypeMapiterationaborted HistoryEventType = "MapIterationAborted" - HistoryEventTypeMapiterationfailed HistoryEventType = "MapIterationFailed" - HistoryEventTypeMapiterationstarted HistoryEventType = "MapIterationStarted" - HistoryEventTypeMapiterationsucceeded HistoryEventType = "MapIterationSucceeded" - HistoryEventTypeMapstateaborted HistoryEventType = "MapStateAborted" - HistoryEventTypeMapstateentered HistoryEventType = "MapStateEntered" - HistoryEventTypeMapstateexited HistoryEventType = "MapStateExited" - HistoryEventTypeMapstatefailed HistoryEventType = "MapStateFailed" - HistoryEventTypeMapstatestarted HistoryEventType = "MapStateStarted" - HistoryEventTypeMapstatesucceeded HistoryEventType = "MapStateSucceeded" - HistoryEventTypeParallelstateaborted HistoryEventType = "ParallelStateAborted" - HistoryEventTypeParallelstateentered HistoryEventType = "ParallelStateEntered" - HistoryEventTypeParallelstateexited HistoryEventType = "ParallelStateExited" - HistoryEventTypeParallelstatefailed HistoryEventType = "ParallelStateFailed" - HistoryEventTypeParallelstatestarted HistoryEventType = "ParallelStateStarted" - HistoryEventTypeParallelstatesucceeded HistoryEventType = "ParallelStateSucceeded" - HistoryEventTypePassstateentered HistoryEventType = "PassStateEntered" - HistoryEventTypePassstateexited HistoryEventType = "PassStateExited" - HistoryEventTypeSucceedstateentered HistoryEventType = "SucceedStateEntered" - HistoryEventTypeSucceedstateexited HistoryEventType = "SucceedStateExited" - HistoryEventTypeTaskfailed HistoryEventType = "TaskFailed" - HistoryEventTypeTaskscheduled HistoryEventType = "TaskScheduled" - HistoryEventTypeTaskstarted HistoryEventType = "TaskStarted" - HistoryEventTypeTaskstartfailed HistoryEventType = "TaskStartFailed" - HistoryEventTypeTaskstateaborted HistoryEventType = "TaskStateAborted" - HistoryEventTypeTaskstateentered HistoryEventType = "TaskStateEntered" - HistoryEventTypeTaskstateexited HistoryEventType = "TaskStateExited" - HistoryEventTypeTasksubmitfailed HistoryEventType = "TaskSubmitFailed" - HistoryEventTypeTasksubmitted HistoryEventType = "TaskSubmitted" - HistoryEventTypeTasksucceeded HistoryEventType = "TaskSucceeded" - HistoryEventTypeTasktimedout HistoryEventType = "TaskTimedOut" - HistoryEventTypeWaitstateaborted HistoryEventType = "WaitStateAborted" - HistoryEventTypeWaitstateentered HistoryEventType = "WaitStateEntered" - HistoryEventTypeWaitstateexited HistoryEventType = "WaitStateExited" + HistoryEventTypeActivityFailed HistoryEventType = "ActivityFailed" + HistoryEventTypeActivityScheduled HistoryEventType = "ActivityScheduled" + HistoryEventTypeActivityScheduleFailed HistoryEventType = "ActivityScheduleFailed" + HistoryEventTypeActivityStarted HistoryEventType = "ActivityStarted" + HistoryEventTypeActivitySucceeded HistoryEventType = "ActivitySucceeded" + HistoryEventTypeActivityTimedOut HistoryEventType = "ActivityTimedOut" + HistoryEventTypeChoiceStateEntered HistoryEventType = "ChoiceStateEntered" + HistoryEventTypeChoiceStateExited HistoryEventType = "ChoiceStateExited" + HistoryEventTypeExecutionAborted HistoryEventType = "ExecutionAborted" + HistoryEventTypeExecutionFailed HistoryEventType = "ExecutionFailed" + HistoryEventTypeExecutionStarted HistoryEventType = "ExecutionStarted" + HistoryEventTypeExecutionSucceeded HistoryEventType = "ExecutionSucceeded" + HistoryEventTypeExecutionTimedOut HistoryEventType = "ExecutionTimedOut" + HistoryEventTypeFailStateEntered HistoryEventType = "FailStateEntered" + HistoryEventTypeLambdaFunctionFailed HistoryEventType = "LambdaFunctionFailed" + HistoryEventTypeLambdaFunctionScheduled HistoryEventType = "LambdaFunctionScheduled" + HistoryEventTypeLambdaFunctionScheduleFailed HistoryEventType = "LambdaFunctionScheduleFailed" + HistoryEventTypeLambdaFunctionStarted HistoryEventType = "LambdaFunctionStarted" + HistoryEventTypeLambdaFunctionStartFailed HistoryEventType = "LambdaFunctionStartFailed" + HistoryEventTypeLambdaFunctionSucceeded HistoryEventType = "LambdaFunctionSucceeded" + HistoryEventTypeLambdaFunctionTimedOut HistoryEventType = "LambdaFunctionTimedOut" + HistoryEventTypeMapIterationAborted HistoryEventType = "MapIterationAborted" + HistoryEventTypeMapIterationFailed HistoryEventType = "MapIterationFailed" + HistoryEventTypeMapIterationStarted HistoryEventType = "MapIterationStarted" + HistoryEventTypeMapIterationSucceeded HistoryEventType = "MapIterationSucceeded" + HistoryEventTypeMapStateAborted HistoryEventType = "MapStateAborted" + HistoryEventTypeMapStateEntered HistoryEventType = "MapStateEntered" + HistoryEventTypeMapStateExited HistoryEventType = "MapStateExited" + HistoryEventTypeMapStateFailed HistoryEventType = "MapStateFailed" + HistoryEventTypeMapStateStarted HistoryEventType = "MapStateStarted" + HistoryEventTypeMapStateSucceeded HistoryEventType = "MapStateSucceeded" + HistoryEventTypeParallelStateAborted HistoryEventType = "ParallelStateAborted" + HistoryEventTypeParallelStateEntered HistoryEventType = "ParallelStateEntered" + HistoryEventTypeParallelStateExited HistoryEventType = "ParallelStateExited" + HistoryEventTypeParallelStateFailed HistoryEventType = "ParallelStateFailed" + HistoryEventTypeParallelStateStarted HistoryEventType = "ParallelStateStarted" + HistoryEventTypeParallelStateSucceeded HistoryEventType = "ParallelStateSucceeded" + HistoryEventTypePassStateEntered HistoryEventType = "PassStateEntered" + HistoryEventTypePassStateExited HistoryEventType = "PassStateExited" + HistoryEventTypeSucceedStateEntered HistoryEventType = "SucceedStateEntered" + HistoryEventTypeSucceedStateExited HistoryEventType = "SucceedStateExited" + HistoryEventTypeTaskFailed HistoryEventType = "TaskFailed" + HistoryEventTypeTaskScheduled HistoryEventType = "TaskScheduled" + HistoryEventTypeTaskStarted HistoryEventType = "TaskStarted" + HistoryEventTypeTaskStartFailed HistoryEventType = "TaskStartFailed" + HistoryEventTypeTaskStateAborted HistoryEventType = "TaskStateAborted" + HistoryEventTypeTaskStateEntered HistoryEventType = "TaskStateEntered" + HistoryEventTypeTaskStateExited HistoryEventType = "TaskStateExited" + HistoryEventTypeTaskSubmitFailed HistoryEventType = "TaskSubmitFailed" + HistoryEventTypeTaskSubmitted HistoryEventType = "TaskSubmitted" + HistoryEventTypeTaskSucceeded HistoryEventType = "TaskSucceeded" + HistoryEventTypeTaskTimedOut HistoryEventType = "TaskTimedOut" + HistoryEventTypeWaitStateAborted HistoryEventType = "WaitStateAborted" + HistoryEventTypeWaitStateEntered HistoryEventType = "WaitStateEntered" + HistoryEventTypeWaitStateExited HistoryEventType = "WaitStateExited" ) // Values returns all known values for HistoryEventType. Note that this can be diff --git a/service/shield/api_client.go b/service/shield/api_client.go index 4de615dd273..77609829b7c 100644 --- a/service/shield/api_client.go +++ b/service/shield/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/signer/api_client.go b/service/signer/api_client.go index 0e228a9381b..60d0f030ce9 100644 --- a/service/signer/api_client.go +++ b/service/signer/api_client.go @@ -96,6 +96,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/signer/types/enums.go b/service/signer/types/enums.go index 001ce62fb39..ecc20891319 100644 --- a/service/signer/types/enums.go +++ b/service/signer/types/enums.go @@ -6,7 +6,7 @@ type Category string // Enum values for Category const ( - CategoryAwsiot Category = "AWSIoT" + CategoryAWSIoT Category = "AWSIoT" ) // Values returns all known values for Category. Note that this can be expanded in @@ -59,8 +59,8 @@ type ImageFormat string // Enum values for ImageFormat const ( ImageFormatJson ImageFormat = "JSON" - ImageFormatJsonembedded ImageFormat = "JSONEmbedded" - ImageFormatJsondetached ImageFormat = "JSONDetached" + ImageFormatJSONEmbedded ImageFormat = "JSONEmbedded" + ImageFormatJSONDetached ImageFormat = "JSONDetached" ) // Values returns all known values for ImageFormat. Note that this can be expanded @@ -98,7 +98,7 @@ type SigningStatus string // Enum values for SigningStatus const ( - SigningStatusInprogress SigningStatus = "InProgress" + SigningStatusInProgress SigningStatus = "InProgress" SigningStatusFailed SigningStatus = "Failed" SigningStatusSucceeded SigningStatus = "Succeeded" ) diff --git a/service/sms/api_client.go b/service/sms/api_client.go index 0a1ab8185b3..e0e88f13a87 100644 --- a/service/sms/api_client.go +++ b/service/sms/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/sms/types/enums.go b/service/sms/types/enums.go index 202fb2de55c..3e5979b878b 100644 --- a/service/sms/types/enums.go +++ b/service/sms/types/enums.go @@ -6,7 +6,7 @@ type AppLaunchConfigurationStatus string // Enum values for AppLaunchConfigurationStatus const ( - AppLaunchConfigurationStatusNotconfigured AppLaunchConfigurationStatus = "NOT_CONFIGURED" + AppLaunchConfigurationStatusNotConfigured AppLaunchConfigurationStatus = "NOT_CONFIGURED" AppLaunchConfigurationStatusConfigured AppLaunchConfigurationStatus = "CONFIGURED" ) @@ -24,20 +24,20 @@ type AppLaunchStatus string // Enum values for AppLaunchStatus const ( - AppLaunchStatusReadyforconfiguration AppLaunchStatus = "READY_FOR_CONFIGURATION" - AppLaunchStatusConfigurationinprogress AppLaunchStatus = "CONFIGURATION_IN_PROGRESS" - AppLaunchStatusConfigurationinvalid AppLaunchStatus = "CONFIGURATION_INVALID" - AppLaunchStatusReadyforlaunch AppLaunchStatus = "READY_FOR_LAUNCH" - AppLaunchStatusValidationinprogress AppLaunchStatus = "VALIDATION_IN_PROGRESS" - AppLaunchStatusLaunchpending AppLaunchStatus = "LAUNCH_PENDING" - AppLaunchStatusLaunchinprogress AppLaunchStatus = "LAUNCH_IN_PROGRESS" + AppLaunchStatusReadyForConfiguration AppLaunchStatus = "READY_FOR_CONFIGURATION" + AppLaunchStatusConfigurationInProgress AppLaunchStatus = "CONFIGURATION_IN_PROGRESS" + AppLaunchStatusConfigurationInvalid AppLaunchStatus = "CONFIGURATION_INVALID" + AppLaunchStatusReadyForLaunch AppLaunchStatus = "READY_FOR_LAUNCH" + AppLaunchStatusValidationInProgress AppLaunchStatus = "VALIDATION_IN_PROGRESS" + AppLaunchStatusLaunchPending AppLaunchStatus = "LAUNCH_PENDING" + AppLaunchStatusLaunchInProgress AppLaunchStatus = "LAUNCH_IN_PROGRESS" AppLaunchStatusLaunched AppLaunchStatus = "LAUNCHED" - AppLaunchStatusPartiallylaunched AppLaunchStatus = "PARTIALLY_LAUNCHED" - AppLaunchStatusDeltalaunchinprogress AppLaunchStatus = "DELTA_LAUNCH_IN_PROGRESS" - AppLaunchStatusDeltalaunchfailed AppLaunchStatus = "DELTA_LAUNCH_FAILED" - AppLaunchStatusLaunchfailed AppLaunchStatus = "LAUNCH_FAILED" - AppLaunchStatusTerminateinprogress AppLaunchStatus = "TERMINATE_IN_PROGRESS" - AppLaunchStatusTerminatefailed AppLaunchStatus = "TERMINATE_FAILED" + AppLaunchStatusPartiallyLaunched AppLaunchStatus = "PARTIALLY_LAUNCHED" + AppLaunchStatusDeltaLaunchInProgress AppLaunchStatus = "DELTA_LAUNCH_IN_PROGRESS" + AppLaunchStatusDeltaLaunchFailed AppLaunchStatus = "DELTA_LAUNCH_FAILED" + AppLaunchStatusLaunchFailed AppLaunchStatus = "LAUNCH_FAILED" + AppLaunchStatusTerminateInProgress AppLaunchStatus = "TERMINATE_IN_PROGRESS" + AppLaunchStatusTerminateFailed AppLaunchStatus = "TERMINATE_FAILED" AppLaunchStatusTerminated AppLaunchStatus = "TERMINATED" ) @@ -68,7 +68,7 @@ type AppReplicationConfigurationStatus string // Enum values for AppReplicationConfigurationStatus const ( - AppReplicationConfigurationStatusNotconfigured AppReplicationConfigurationStatus = "NOT_CONFIGURED" + AppReplicationConfigurationStatusNotConfigured AppReplicationConfigurationStatus = "NOT_CONFIGURED" AppReplicationConfigurationStatusConfigured AppReplicationConfigurationStatus = "CONFIGURED" ) @@ -87,22 +87,22 @@ type AppReplicationStatus string // Enum values for AppReplicationStatus const ( - AppReplicationStatusReadyforconfiguration AppReplicationStatus = "READY_FOR_CONFIGURATION" - AppReplicationStatusConfigurationinprogress AppReplicationStatus = "CONFIGURATION_IN_PROGRESS" - AppReplicationStatusConfigurationinvalid AppReplicationStatus = "CONFIGURATION_INVALID" - AppReplicationStatusReadyforreplication AppReplicationStatus = "READY_FOR_REPLICATION" - AppReplicationStatusValidationinprogress AppReplicationStatus = "VALIDATION_IN_PROGRESS" - AppReplicationStatusReplicationpending AppReplicationStatus = "REPLICATION_PENDING" - AppReplicationStatusReplicationinprogress AppReplicationStatus = "REPLICATION_IN_PROGRESS" + AppReplicationStatusReadyForConfiguration AppReplicationStatus = "READY_FOR_CONFIGURATION" + AppReplicationStatusConfigurationInProgress AppReplicationStatus = "CONFIGURATION_IN_PROGRESS" + AppReplicationStatusConfigurationInvalid AppReplicationStatus = "CONFIGURATION_INVALID" + AppReplicationStatusReadyForReplication AppReplicationStatus = "READY_FOR_REPLICATION" + AppReplicationStatusValidationInProgress AppReplicationStatus = "VALIDATION_IN_PROGRESS" + AppReplicationStatusReplicationPending AppReplicationStatus = "REPLICATION_PENDING" + AppReplicationStatusReplicationInProgress AppReplicationStatus = "REPLICATION_IN_PROGRESS" AppReplicationStatusReplicated AppReplicationStatus = "REPLICATED" - AppReplicationStatusPartiallyreplicated AppReplicationStatus = "PARTIALLY_REPLICATED" - AppReplicationStatusDeltareplicationinprogress AppReplicationStatus = "DELTA_REPLICATION_IN_PROGRESS" - AppReplicationStatusDeltareplicated AppReplicationStatus = "DELTA_REPLICATED" - AppReplicationStatusDeltareplicationfailed AppReplicationStatus = "DELTA_REPLICATION_FAILED" - AppReplicationStatusReplicationfailed AppReplicationStatus = "REPLICATION_FAILED" - AppReplicationStatusReplicationstopping AppReplicationStatus = "REPLICATION_STOPPING" - AppReplicationStatusReplicationstopfailed AppReplicationStatus = "REPLICATION_STOP_FAILED" - AppReplicationStatusReplicationstopped AppReplicationStatus = "REPLICATION_STOPPED" + AppReplicationStatusPartiallyReplicated AppReplicationStatus = "PARTIALLY_REPLICATED" + AppReplicationStatusDeltaReplicationInProgress AppReplicationStatus = "DELTA_REPLICATION_IN_PROGRESS" + AppReplicationStatusDeltaReplicated AppReplicationStatus = "DELTA_REPLICATED" + AppReplicationStatusDeltaReplicationFailed AppReplicationStatus = "DELTA_REPLICATION_FAILED" + AppReplicationStatusReplicationFailed AppReplicationStatus = "REPLICATION_FAILED" + AppReplicationStatusReplicationStopping AppReplicationStatus = "REPLICATION_STOPPING" + AppReplicationStatusReplicationStopFailed AppReplicationStatus = "REPLICATION_STOP_FAILED" + AppReplicationStatusReplicationStopped AppReplicationStatus = "REPLICATION_STOPPED" ) // Values returns all known values for AppReplicationStatus. Note that this can be @@ -175,11 +175,11 @@ type ConnectorCapability string // Enum values for ConnectorCapability const ( - ConnectorCapabilityVsphere ConnectorCapability = "VSPHERE" + ConnectorCapabilityVSphere ConnectorCapability = "VSPHERE" ConnectorCapabilityScvmm ConnectorCapability = "SCVMM" - ConnectorCapabilityHypervmanager ConnectorCapability = "HYPERV-MANAGER" - ConnectorCapabilitySnapshotbatching ConnectorCapability = "SNAPSHOT_BATCHING" - ConnectorCapabilitySmsoptimized ConnectorCapability = "SMS_OPTIMIZED" + ConnectorCapabilityHyperVManager ConnectorCapability = "HYPERV-MANAGER" + ConnectorCapabilitySnapshotBatching ConnectorCapability = "SNAPSHOT_BATCHING" + ConnectorCapabilitySmsOptimized ConnectorCapability = "SMS_OPTIMIZED" ) // Values returns all known values for ConnectorCapability. Note that this can be @@ -259,7 +259,7 @@ const ( ReplicationJobStateDeleting ReplicationJobState = "DELETING" ReplicationJobStateDeleted ReplicationJobState = "DELETED" ReplicationJobStateCompleted ReplicationJobState = "COMPLETED" - ReplicationJobStatePausedonfailure ReplicationJobState = "PAUSED_ON_FAILURE" + ReplicationJobStatePausedOnFailure ReplicationJobState = "PAUSED_ON_FAILURE" ReplicationJobStateFailing ReplicationJobState = "FAILING" ) @@ -311,7 +311,7 @@ type ReplicationRunType string // Enum values for ReplicationRunType const ( - ReplicationRunTypeOndemand ReplicationRunType = "ON_DEMAND" + ReplicationRunTypeOnDemand ReplicationRunType = "ON_DEMAND" ReplicationRunTypeAutomatic ReplicationRunType = "AUTOMATIC" ) @@ -347,7 +347,7 @@ type ServerCatalogStatus string // Enum values for ServerCatalogStatus const ( - ServerCatalogStatusNotimported ServerCatalogStatus = "NOT_IMPORTED" + ServerCatalogStatusNotImported ServerCatalogStatus = "NOT_IMPORTED" ServerCatalogStatusImporting ServerCatalogStatus = "IMPORTING" ServerCatalogStatusAvailable ServerCatalogStatus = "AVAILABLE" ServerCatalogStatusDeleted ServerCatalogStatus = "DELETED" @@ -371,7 +371,7 @@ type ServerType string // Enum values for ServerType const ( - ServerTypeVirtualmachine ServerType = "VIRTUAL_MACHINE" + ServerTypeVirtualMachine ServerType = "VIRTUAL_MACHINE" ) // Values returns all known values for ServerType. Note that this can be expanded @@ -403,9 +403,9 @@ type ValidationStatus string // Enum values for ValidationStatus const ( - ValidationStatusReadyforvalidation ValidationStatus = "READY_FOR_VALIDATION" + ValidationStatusReadyForValidation ValidationStatus = "READY_FOR_VALIDATION" ValidationStatusPending ValidationStatus = "PENDING" - ValidationStatusInprogress ValidationStatus = "IN_PROGRESS" + ValidationStatusInProgress ValidationStatus = "IN_PROGRESS" ValidationStatusSucceeded ValidationStatus = "SUCCEEDED" ValidationStatusFailed ValidationStatus = "FAILED" ) @@ -427,9 +427,9 @@ type VmManagerType string // Enum values for VmManagerType const ( - VmManagerTypeVsphere VmManagerType = "VSPHERE" + VmManagerTypeVSphere VmManagerType = "VSPHERE" VmManagerTypeScvmm VmManagerType = "SCVMM" - VmManagerTypeHypervmanager VmManagerType = "HYPERV-MANAGER" + VmManagerTypeHyperVManager VmManagerType = "HYPERV-MANAGER" ) // Values returns all known values for VmManagerType. Note that this can be diff --git a/service/snowball/api_client.go b/service/snowball/api_client.go index 5a45df63389..bb05948ffea 100644 --- a/service/snowball/api_client.go +++ b/service/snowball/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/sns/api_client.go b/service/sns/api_client.go index cfc805e84d4..fbdc4c891b0 100644 --- a/service/sns/api_client.go +++ b/service/sns/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/sqs/api_client.go b/service/sqs/api_client.go index 246d7ed1364..dd83fe0df3a 100644 --- a/service/sqs/api_client.go +++ b/service/sqs/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/sqs/types/enums.go b/service/sqs/types/enums.go index 1d69b6cfacd..68f551e2b68 100644 --- a/service/sqs/types/enums.go +++ b/service/sqs/types/enums.go @@ -6,14 +6,14 @@ type MessageSystemAttributeName string // Enum values for MessageSystemAttributeName const ( - MessageSystemAttributeNameSenderid MessageSystemAttributeName = "SenderId" - MessageSystemAttributeNameSenttimestamp MessageSystemAttributeName = "SentTimestamp" - MessageSystemAttributeNameApproximatereceivecount MessageSystemAttributeName = "ApproximateReceiveCount" - MessageSystemAttributeNameApproximatefirstreceivetimestamp MessageSystemAttributeName = "ApproximateFirstReceiveTimestamp" - MessageSystemAttributeNameSequencenumber MessageSystemAttributeName = "SequenceNumber" - MessageSystemAttributeNameMessagededuplicationid MessageSystemAttributeName = "MessageDeduplicationId" - MessageSystemAttributeNameMessagegroupid MessageSystemAttributeName = "MessageGroupId" - MessageSystemAttributeNameAwstraceheader MessageSystemAttributeName = "AWSTraceHeader" + MessageSystemAttributeNameSenderId MessageSystemAttributeName = "SenderId" + MessageSystemAttributeNameSentTimestamp MessageSystemAttributeName = "SentTimestamp" + MessageSystemAttributeNameApproximateReceiveCount MessageSystemAttributeName = "ApproximateReceiveCount" + MessageSystemAttributeNameApproximateFirstReceiveTimestamp MessageSystemAttributeName = "ApproximateFirstReceiveTimestamp" + MessageSystemAttributeNameSequenceNumber MessageSystemAttributeName = "SequenceNumber" + MessageSystemAttributeNameMessageDeduplicationId MessageSystemAttributeName = "MessageDeduplicationId" + MessageSystemAttributeNameMessageGroupId MessageSystemAttributeName = "MessageGroupId" + MessageSystemAttributeNameAWSTraceHeader MessageSystemAttributeName = "AWSTraceHeader" ) // Values returns all known values for MessageSystemAttributeName. Note that this @@ -36,7 +36,7 @@ type MessageSystemAttributeNameForSends string // Enum values for MessageSystemAttributeNameForSends const ( - MessageSystemAttributeNameForSendsAwstraceheader MessageSystemAttributeNameForSends = "AWSTraceHeader" + MessageSystemAttributeNameForSendsAWSTraceHeader MessageSystemAttributeNameForSends = "AWSTraceHeader" ) // Values returns all known values for MessageSystemAttributeNameForSends. Note @@ -55,24 +55,24 @@ type QueueAttributeName string const ( QueueAttributeNameAll QueueAttributeName = "All" QueueAttributeNamePolicy QueueAttributeName = "Policy" - QueueAttributeNameVisibilitytimeout QueueAttributeName = "VisibilityTimeout" - QueueAttributeNameMaximummessagesize QueueAttributeName = "MaximumMessageSize" - QueueAttributeNameMessageretentionperiod QueueAttributeName = "MessageRetentionPeriod" - QueueAttributeNameApproximatenumberofmessages QueueAttributeName = "ApproximateNumberOfMessages" - QueueAttributeNameApproximatenumberofmessagesnotvisible QueueAttributeName = "ApproximateNumberOfMessagesNotVisible" - QueueAttributeNameCreatedtimestamp QueueAttributeName = "CreatedTimestamp" - QueueAttributeNameLastmodifiedtimestamp QueueAttributeName = "LastModifiedTimestamp" - QueueAttributeNameQueuearn QueueAttributeName = "QueueArn" - QueueAttributeNameApproximatenumberofmessagesdelayed QueueAttributeName = "ApproximateNumberOfMessagesDelayed" - QueueAttributeNameDelayseconds QueueAttributeName = "DelaySeconds" - QueueAttributeNameReceivemessagewaittimeseconds QueueAttributeName = "ReceiveMessageWaitTimeSeconds" - QueueAttributeNameRedrivepolicy QueueAttributeName = "RedrivePolicy" - QueueAttributeNameFifoqueue QueueAttributeName = "FifoQueue" - QueueAttributeNameContentbaseddeduplication QueueAttributeName = "ContentBasedDeduplication" - QueueAttributeNameKmsmasterkeyid QueueAttributeName = "KmsMasterKeyId" - QueueAttributeNameKmsdatakeyreuseperiodseconds QueueAttributeName = "KmsDataKeyReusePeriodSeconds" - QueueAttributeNameDeduplicationscope QueueAttributeName = "DeduplicationScope" - QueueAttributeNameFifothroughputlimit QueueAttributeName = "FifoThroughputLimit" + QueueAttributeNameVisibilityTimeout QueueAttributeName = "VisibilityTimeout" + QueueAttributeNameMaximumMessageSize QueueAttributeName = "MaximumMessageSize" + QueueAttributeNameMessageRetentionPeriod QueueAttributeName = "MessageRetentionPeriod" + QueueAttributeNameApproximateNumberOfMessages QueueAttributeName = "ApproximateNumberOfMessages" + QueueAttributeNameApproximateNumberOfMessagesNotVisible QueueAttributeName = "ApproximateNumberOfMessagesNotVisible" + QueueAttributeNameCreatedTimestamp QueueAttributeName = "CreatedTimestamp" + QueueAttributeNameLastModifiedTimestamp QueueAttributeName = "LastModifiedTimestamp" + QueueAttributeNameQueueArn QueueAttributeName = "QueueArn" + QueueAttributeNameApproximateNumberOfMessagesDelayed QueueAttributeName = "ApproximateNumberOfMessagesDelayed" + QueueAttributeNameDelaySeconds QueueAttributeName = "DelaySeconds" + QueueAttributeNameReceiveMessageWaitTimeSeconds QueueAttributeName = "ReceiveMessageWaitTimeSeconds" + QueueAttributeNameRedrivePolicy QueueAttributeName = "RedrivePolicy" + QueueAttributeNameFifoQueue QueueAttributeName = "FifoQueue" + QueueAttributeNameContentBasedDeduplication QueueAttributeName = "ContentBasedDeduplication" + QueueAttributeNameKmsMasterKeyId QueueAttributeName = "KmsMasterKeyId" + QueueAttributeNameKmsDataKeyReusePeriodSeconds QueueAttributeName = "KmsDataKeyReusePeriodSeconds" + QueueAttributeNameDeduplicationScope QueueAttributeName = "DeduplicationScope" + QueueAttributeNameFifoThroughputLimit QueueAttributeName = "FifoThroughputLimit" ) // Values returns all known values for QueueAttributeName. Note that this can be diff --git a/service/ssm/api_client.go b/service/ssm/api_client.go index d700ad9f696..7b10414f794 100644 --- a/service/ssm/api_client.go +++ b/service/ssm/api_client.go @@ -97,6 +97,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/ssm/types/enums.go b/service/ssm/types/enums.go index ea3c9a5acb2..fcc2197dc3a 100644 --- a/service/ssm/types/enums.go +++ b/service/ssm/types/enums.go @@ -31,9 +31,9 @@ type AssociationExecutionFilterKey string // Enum values for AssociationExecutionFilterKey const ( - AssociationExecutionFilterKeyExecutionid AssociationExecutionFilterKey = "ExecutionId" + AssociationExecutionFilterKeyExecutionId AssociationExecutionFilterKey = "ExecutionId" AssociationExecutionFilterKeyStatus AssociationExecutionFilterKey = "Status" - AssociationExecutionFilterKeyCreatedtime AssociationExecutionFilterKey = "CreatedTime" + AssociationExecutionFilterKeyCreatedTime AssociationExecutionFilterKey = "CreatedTime" ) // Values returns all known values for AssociationExecutionFilterKey. Note that @@ -53,8 +53,8 @@ type AssociationExecutionTargetsFilterKey string // Enum values for AssociationExecutionTargetsFilterKey const ( AssociationExecutionTargetsFilterKeyStatus AssociationExecutionTargetsFilterKey = "Status" - AssociationExecutionTargetsFilterKeyResourceid AssociationExecutionTargetsFilterKey = "ResourceId" - AssociationExecutionTargetsFilterKeyResourcetype AssociationExecutionTargetsFilterKey = "ResourceType" + AssociationExecutionTargetsFilterKeyResourceId AssociationExecutionTargetsFilterKey = "ResourceId" + AssociationExecutionTargetsFilterKeyResourceType AssociationExecutionTargetsFilterKey = "ResourceType" ) // Values returns all known values for AssociationExecutionTargetsFilterKey. Note @@ -73,14 +73,14 @@ type AssociationFilterKey string // Enum values for AssociationFilterKey const ( - AssociationFilterKeyInstanceid AssociationFilterKey = "InstanceId" + AssociationFilterKeyInstanceId AssociationFilterKey = "InstanceId" AssociationFilterKeyName AssociationFilterKey = "Name" - AssociationFilterKeyAssociationid AssociationFilterKey = "AssociationId" + AssociationFilterKeyAssociationId AssociationFilterKey = "AssociationId" AssociationFilterKeyStatus AssociationFilterKey = "AssociationStatusName" - AssociationFilterKeyLastexecutedbefore AssociationFilterKey = "LastExecutedBefore" - AssociationFilterKeyLastexecutedafter AssociationFilterKey = "LastExecutedAfter" - AssociationFilterKeyAssociationname AssociationFilterKey = "AssociationName" - AssociationFilterKeyResourcegroupname AssociationFilterKey = "ResourceGroupName" + AssociationFilterKeyLastExecutedBefore AssociationFilterKey = "LastExecutedBefore" + AssociationFilterKeyLastExecutedAfter AssociationFilterKey = "LastExecutedAfter" + AssociationFilterKeyAssociationName AssociationFilterKey = "AssociationName" + AssociationFilterKeyResourceGroupName AssociationFilterKey = "ResourceGroupName" ) // Values returns all known values for AssociationFilterKey. Note that this can be @@ -104,8 +104,8 @@ type AssociationFilterOperatorType string // Enum values for AssociationFilterOperatorType const ( AssociationFilterOperatorTypeEqual AssociationFilterOperatorType = "EQUAL" - AssociationFilterOperatorTypeLessthan AssociationFilterOperatorType = "LESS_THAN" - AssociationFilterOperatorTypeGreaterthan AssociationFilterOperatorType = "GREATER_THAN" + AssociationFilterOperatorTypeLessThan AssociationFilterOperatorType = "LESS_THAN" + AssociationFilterOperatorTypeGreaterThan AssociationFilterOperatorType = "GREATER_THAN" ) // Values returns all known values for AssociationFilterOperatorType. Note that @@ -178,9 +178,9 @@ type AttachmentsSourceKey string // Enum values for AttachmentsSourceKey const ( - AttachmentsSourceKeySourceurl AttachmentsSourceKey = "SourceUrl" - AttachmentsSourceKeyS3fileurl AttachmentsSourceKey = "S3FileUrl" - AttachmentsSourceKeyAttachmentreference AttachmentsSourceKey = "AttachmentReference" + AttachmentsSourceKeySourceUrl AttachmentsSourceKey = "SourceUrl" + AttachmentsSourceKeyS3FileUrl AttachmentsSourceKey = "S3FileUrl" + AttachmentsSourceKeyAttachmentReference AttachmentsSourceKey = "AttachmentReference" ) // Values returns all known values for AttachmentsSourceKey. Note that this can be @@ -286,7 +286,7 @@ type AutomationSubtype string // Enum values for AutomationSubtype const ( - AutomationSubtypeChangerequest AutomationSubtype = "ChangeRequest" + AutomationSubtypeChangeRequest AutomationSubtype = "ChangeRequest" ) // Values returns all known values for AutomationSubtype. Note that this can be @@ -302,7 +302,7 @@ type AutomationType string // Enum values for AutomationType const ( - AutomationTypeCrossaccount AutomationType = "CrossAccount" + AutomationTypeCrossAccount AutomationType = "CrossAccount" AutomationTypeLocal AutomationType = "Local" ) @@ -447,10 +447,10 @@ type ComplianceQueryOperatorType string // Enum values for ComplianceQueryOperatorType const ( ComplianceQueryOperatorTypeEqual ComplianceQueryOperatorType = "EQUAL" - ComplianceQueryOperatorTypeNotequal ComplianceQueryOperatorType = "NOT_EQUAL" - ComplianceQueryOperatorTypeBeginwith ComplianceQueryOperatorType = "BEGIN_WITH" - ComplianceQueryOperatorTypeLessthan ComplianceQueryOperatorType = "LESS_THAN" - ComplianceQueryOperatorTypeGreaterthan ComplianceQueryOperatorType = "GREATER_THAN" + ComplianceQueryOperatorTypeNotEqual ComplianceQueryOperatorType = "NOT_EQUAL" + ComplianceQueryOperatorTypeBeginWith ComplianceQueryOperatorType = "BEGIN_WITH" + ComplianceQueryOperatorTypeLessThan ComplianceQueryOperatorType = "LESS_THAN" + ComplianceQueryOperatorTypeGreaterThan ComplianceQueryOperatorType = "GREATER_THAN" ) // Values returns all known values for ComplianceQueryOperatorType. Note that this @@ -497,7 +497,7 @@ type ComplianceStatus string // Enum values for ComplianceStatus const ( ComplianceStatusCompliant ComplianceStatus = "COMPLIANT" - ComplianceStatusNoncompliant ComplianceStatus = "NON_COMPLIANT" + ComplianceStatusNonCompliant ComplianceStatus = "NON_COMPLIANT" ) // Values returns all known values for ComplianceStatus. Note that this can be @@ -573,8 +573,8 @@ type DocumentFilterKey string const ( DocumentFilterKeyName DocumentFilterKey = "Name" DocumentFilterKeyOwner DocumentFilterKey = "Owner" - DocumentFilterKeyPlatformtypes DocumentFilterKey = "PlatformTypes" - DocumentFilterKeyDocumenttype DocumentFilterKey = "DocumentType" + DocumentFilterKeyPlatformTypes DocumentFilterKey = "PlatformTypes" + DocumentFilterKeyDocumentType DocumentFilterKey = "DocumentType" ) // Values returns all known values for DocumentFilterKey. Note that this can be @@ -631,7 +631,7 @@ type DocumentMetadataEnum string // Enum values for DocumentMetadataEnum const ( - DocumentMetadataEnumDocumentreviews DocumentMetadataEnum = "DocumentReviews" + DocumentMetadataEnumDocumentReviews DocumentMetadataEnum = "DocumentReviews" ) // Values returns all known values for DocumentMetadataEnum. Note that this can be @@ -648,7 +648,7 @@ type DocumentParameterType string // Enum values for DocumentParameterType const ( DocumentParameterTypeString DocumentParameterType = "String" - DocumentParameterTypeStringlist DocumentParameterType = "StringList" + DocumentParameterTypeStringList DocumentParameterType = "StringList" ) // Values returns all known values for DocumentParameterType. Note that this can be @@ -681,8 +681,8 @@ type DocumentReviewAction string // Enum values for DocumentReviewAction const ( - DocumentReviewActionSendforreview DocumentReviewAction = "SendForReview" - DocumentReviewActionUpdatereview DocumentReviewAction = "UpdateReview" + DocumentReviewActionSendForReview DocumentReviewAction = "SendForReview" + DocumentReviewActionUpdateReview DocumentReviewAction = "UpdateReview" DocumentReviewActionApprove DocumentReviewAction = "Approve" DocumentReviewActionReject DocumentReviewAction = "Reject" ) @@ -748,11 +748,11 @@ const ( DocumentTypeAutomation DocumentType = "Automation" DocumentTypeSession DocumentType = "Session" DocumentTypePackage DocumentType = "Package" - DocumentTypeApplicationconfiguration DocumentType = "ApplicationConfiguration" - DocumentTypeApplicationconfigurationschema DocumentType = "ApplicationConfigurationSchema" - DocumentTypeDeploymentstrategy DocumentType = "DeploymentStrategy" - DocumentTypeChangecalendar DocumentType = "ChangeCalendar" - DocumentTypeChangetemplate DocumentType = "Automation.ChangeTemplate" + DocumentTypeApplicationConfiguration DocumentType = "ApplicationConfiguration" + DocumentTypeApplicationConfigurationSchema DocumentType = "ApplicationConfigurationSchema" + DocumentTypeDeploymentStrategy DocumentType = "DeploymentStrategy" + DocumentTypeChangeCalendar DocumentType = "ChangeCalendar" + DocumentTypeChangeTemplate DocumentType = "Automation.ChangeTemplate" ) // Values returns all known values for DocumentType. Note that this can be expanded @@ -969,13 +969,13 @@ type MaintenanceWindowExecutionStatus string // Enum values for MaintenanceWindowExecutionStatus const ( MaintenanceWindowExecutionStatusPending MaintenanceWindowExecutionStatus = "PENDING" - MaintenanceWindowExecutionStatusInprogress MaintenanceWindowExecutionStatus = "IN_PROGRESS" + MaintenanceWindowExecutionStatusInProgress MaintenanceWindowExecutionStatus = "IN_PROGRESS" MaintenanceWindowExecutionStatusSuccess MaintenanceWindowExecutionStatus = "SUCCESS" MaintenanceWindowExecutionStatusFailed MaintenanceWindowExecutionStatus = "FAILED" - MaintenanceWindowExecutionStatusTimedout MaintenanceWindowExecutionStatus = "TIMED_OUT" + MaintenanceWindowExecutionStatusTimedOut MaintenanceWindowExecutionStatus = "TIMED_OUT" MaintenanceWindowExecutionStatusCancelling MaintenanceWindowExecutionStatus = "CANCELLING" MaintenanceWindowExecutionStatusCancelled MaintenanceWindowExecutionStatus = "CANCELLED" - MaintenanceWindowExecutionStatusSkippedoverlapping MaintenanceWindowExecutionStatus = "SKIPPED_OVERLAPPING" + MaintenanceWindowExecutionStatusSkippedOverlapping MaintenanceWindowExecutionStatus = "SKIPPED_OVERLAPPING" ) // Values returns all known values for MaintenanceWindowExecutionStatus. Note that @@ -1000,7 +1000,7 @@ type MaintenanceWindowResourceType string // Enum values for MaintenanceWindowResourceType const ( MaintenanceWindowResourceTypeInstance MaintenanceWindowResourceType = "INSTANCE" - MaintenanceWindowResourceTypeResourcegroup MaintenanceWindowResourceType = "RESOURCE_GROUP" + MaintenanceWindowResourceTypeResourceGroup MaintenanceWindowResourceType = "RESOURCE_GROUP" ) // Values returns all known values for MaintenanceWindowResourceType. Note that @@ -1018,9 +1018,9 @@ type MaintenanceWindowTaskType string // Enum values for MaintenanceWindowTaskType const ( - MaintenanceWindowTaskTypeRuncommand MaintenanceWindowTaskType = "RUN_COMMAND" + MaintenanceWindowTaskTypeRunCommand MaintenanceWindowTaskType = "RUN_COMMAND" MaintenanceWindowTaskTypeAutomation MaintenanceWindowTaskType = "AUTOMATION" - MaintenanceWindowTaskTypeStepfunctions MaintenanceWindowTaskType = "STEP_FUNCTIONS" + MaintenanceWindowTaskTypeStepFunctions MaintenanceWindowTaskType = "STEP_FUNCTIONS" MaintenanceWindowTaskTypeLambda MaintenanceWindowTaskType = "LAMBDA" ) @@ -1085,15 +1085,15 @@ type OperatingSystem string // Enum values for OperatingSystem const ( OperatingSystemWindows OperatingSystem = "WINDOWS" - OperatingSystemAmazonlinux OperatingSystem = "AMAZON_LINUX" - OperatingSystemAmazonlinux2 OperatingSystem = "AMAZON_LINUX_2" + OperatingSystemAmazonLinux OperatingSystem = "AMAZON_LINUX" + OperatingSystemAmazonLinux2 OperatingSystem = "AMAZON_LINUX_2" OperatingSystemUbuntu OperatingSystem = "UBUNTU" - OperatingSystemRedhatenterpriselinux OperatingSystem = "REDHAT_ENTERPRISE_LINUX" + OperatingSystemRedhatEnterpriseLinux OperatingSystem = "REDHAT_ENTERPRISE_LINUX" OperatingSystemSuse OperatingSystem = "SUSE" - OperatingSystemCentos OperatingSystem = "CENTOS" - OperatingSystemOraclelinux OperatingSystem = "ORACLE_LINUX" + OperatingSystemCentOS OperatingSystem = "CENTOS" + OperatingSystemOracleLinux OperatingSystem = "ORACLE_LINUX" OperatingSystemDebian OperatingSystem = "DEBIAN" - OperatingSystemMacos OperatingSystem = "MACOS" + OperatingSystemMacOS OperatingSystem = "MACOS" ) // Values returns all known values for OperatingSystem. Note that this can be @@ -1392,7 +1392,7 @@ type PatchAction string // Enum values for PatchAction const ( - PatchActionAllowasdependency PatchAction = "ALLOW_AS_DEPENDENCY" + PatchActionAllowAsDependency PatchAction = "ALLOW_AS_DEPENDENCY" PatchActionBlock PatchAction = "BLOCK" ) @@ -1411,11 +1411,11 @@ type PatchComplianceDataState string // Enum values for PatchComplianceDataState const ( PatchComplianceDataStateInstalled PatchComplianceDataState = "INSTALLED" - PatchComplianceDataStateInstalledother PatchComplianceDataState = "INSTALLED_OTHER" - PatchComplianceDataStateInstalledpendingreboot PatchComplianceDataState = "INSTALLED_PENDING_REBOOT" - PatchComplianceDataStateInstalledrejected PatchComplianceDataState = "INSTALLED_REJECTED" + PatchComplianceDataStateInstalledOther PatchComplianceDataState = "INSTALLED_OTHER" + PatchComplianceDataStateInstalledPendingReboot PatchComplianceDataState = "INSTALLED_PENDING_REBOOT" + PatchComplianceDataStateInstalledRejected PatchComplianceDataState = "INSTALLED_REJECTED" PatchComplianceDataStateMissing PatchComplianceDataState = "MISSING" - PatchComplianceDataStateNotapplicable PatchComplianceDataState = "NOT_APPLICABLE" + PatchComplianceDataStateNotApplicable PatchComplianceDataState = "NOT_APPLICABLE" PatchComplianceDataStateFailed PatchComplianceDataState = "FAILED" ) @@ -1465,9 +1465,9 @@ type PatchDeploymentStatus string // Enum values for PatchDeploymentStatus const ( PatchDeploymentStatusApproved PatchDeploymentStatus = "APPROVED" - PatchDeploymentStatusPendingapproval PatchDeploymentStatus = "PENDING_APPROVAL" - PatchDeploymentStatusExplicitapproved PatchDeploymentStatus = "EXPLICIT_APPROVED" - PatchDeploymentStatusExplicitrejected PatchDeploymentStatus = "EXPLICIT_REJECTED" + PatchDeploymentStatusPendingApproval PatchDeploymentStatus = "PENDING_APPROVAL" + PatchDeploymentStatusExplicitApproved PatchDeploymentStatus = "EXPLICIT_APPROVED" + PatchDeploymentStatusExplicitRejected PatchDeploymentStatus = "EXPLICIT_REJECTED" ) // Values returns all known values for PatchDeploymentStatus. Note that this can be @@ -1487,17 +1487,17 @@ type PatchFilterKey string // Enum values for PatchFilterKey const ( PatchFilterKeyArch PatchFilterKey = "ARCH" - PatchFilterKeyAdvisoryid PatchFilterKey = "ADVISORY_ID" - PatchFilterKeyBugzillaid PatchFilterKey = "BUGZILLA_ID" - PatchFilterKeyPatchset PatchFilterKey = "PATCH_SET" + PatchFilterKeyAdvisoryId PatchFilterKey = "ADVISORY_ID" + PatchFilterKeyBugzillaId PatchFilterKey = "BUGZILLA_ID" + PatchFilterKeyPatchSet PatchFilterKey = "PATCH_SET" PatchFilterKeyProduct PatchFilterKey = "PRODUCT" - PatchFilterKeyProductfamily PatchFilterKey = "PRODUCT_FAMILY" + PatchFilterKeyProductFamily PatchFilterKey = "PRODUCT_FAMILY" PatchFilterKeyClassification PatchFilterKey = "CLASSIFICATION" - PatchFilterKeyCveid PatchFilterKey = "CVE_ID" + PatchFilterKeyCVEId PatchFilterKey = "CVE_ID" PatchFilterKeyEpoch PatchFilterKey = "EPOCH" - PatchFilterKeyMsrcseverity PatchFilterKey = "MSRC_SEVERITY" + PatchFilterKeyMsrcSeverity PatchFilterKey = "MSRC_SEVERITY" PatchFilterKeyName PatchFilterKey = "NAME" - PatchFilterKeyPatchid PatchFilterKey = "PATCH_ID" + PatchFilterKeyPatchId PatchFilterKey = "PATCH_ID" PatchFilterKeySection PatchFilterKey = "SECTION" PatchFilterKeyPriority PatchFilterKey = "PRIORITY" PatchFilterKeyRepository PatchFilterKey = "REPOSITORY" @@ -1557,11 +1557,11 @@ type PatchProperty string // Enum values for PatchProperty const ( PatchPropertyProduct PatchProperty = "PRODUCT" - PatchPropertyPatchproductfamily PatchProperty = "PRODUCT_FAMILY" - PatchPropertyPatchclassification PatchProperty = "CLASSIFICATION" - PatchPropertyPatchmsrcseverity PatchProperty = "MSRC_SEVERITY" - PatchPropertyPatchpriority PatchProperty = "PRIORITY" - PatchPropertyPatchseverity PatchProperty = "SEVERITY" + PatchPropertyPatchProductFamily PatchProperty = "PRODUCT_FAMILY" + PatchPropertyPatchClassification PatchProperty = "CLASSIFICATION" + PatchPropertyPatchMsrcSeverity PatchProperty = "MSRC_SEVERITY" + PatchPropertyPatchPriority PatchProperty = "PRIORITY" + PatchPropertyPatchSeverity PatchProperty = "SEVERITY" ) // Values returns all known values for PatchProperty. Note that this can be diff --git a/service/sso/api_client.go b/service/sso/api_client.go index bfe1bbb8705..bec5996f0c2 100644 --- a/service/sso/api_client.go +++ b/service/sso/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/ssoadmin/api_client.go b/service/ssoadmin/api_client.go index 00995b4e841..b1b8868e83c 100644 --- a/service/ssoadmin/api_client.go +++ b/service/ssoadmin/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/ssooidc/api_client.go b/service/ssooidc/api_client.go index 642af5e98d6..59d93c3549e 100644 --- a/service/ssooidc/api_client.go +++ b/service/ssooidc/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/storagegateway/api_client.go b/service/storagegateway/api_client.go index cbc975cb8d2..a2d0bb04368 100644 --- a/service/storagegateway/api_client.go +++ b/service/storagegateway/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/storagegateway/types/enums.go b/service/storagegateway/types/enums.go index 0ec818707c4..78a561e4a98 100644 --- a/service/storagegateway/types/enums.go +++ b/service/storagegateway/types/enums.go @@ -55,8 +55,8 @@ type CaseSensitivity string // Enum values for CaseSensitivity const ( - CaseSensitivityClientspecified CaseSensitivity = "ClientSpecified" - CaseSensitivityCasesensitive CaseSensitivity = "CaseSensitive" + CaseSensitivityClientSpecified CaseSensitivity = "ClientSpecified" + CaseSensitivityCaseSensitive CaseSensitivity = "CaseSensitive" ) // Values returns all known values for CaseSensitivity. Note that this can be @@ -73,68 +73,68 @@ type ErrorCode string // Enum values for ErrorCode const ( - ErrorCodeActivationkeyexpired ErrorCode = "ActivationKeyExpired" - ErrorCodeActivationkeyinvalid ErrorCode = "ActivationKeyInvalid" - ErrorCodeActivationkeynotfound ErrorCode = "ActivationKeyNotFound" - ErrorCodeGatewayinternalerror ErrorCode = "GatewayInternalError" - ErrorCodeGatewaynotconnected ErrorCode = "GatewayNotConnected" - ErrorCodeGatewaynotfound ErrorCode = "GatewayNotFound" - ErrorCodeGatewayproxynetworkconnectionbusy ErrorCode = "GatewayProxyNetworkConnectionBusy" - ErrorCodeAuthenticationfailure ErrorCode = "AuthenticationFailure" - ErrorCodeBandwidththrottleschedulenotfound ErrorCode = "BandwidthThrottleScheduleNotFound" + ErrorCodeActivationKeyExpired ErrorCode = "ActivationKeyExpired" + ErrorCodeActivationKeyInvalid ErrorCode = "ActivationKeyInvalid" + ErrorCodeActivationKeyNotFound ErrorCode = "ActivationKeyNotFound" + ErrorCodeGatewayInternalError ErrorCode = "GatewayInternalError" + ErrorCodeGatewayNotConnected ErrorCode = "GatewayNotConnected" + ErrorCodeGatewayNotFound ErrorCode = "GatewayNotFound" + ErrorCodeGatewayProxyNetworkConnectionBusy ErrorCode = "GatewayProxyNetworkConnectionBusy" + ErrorCodeAuthenticationFailure ErrorCode = "AuthenticationFailure" + ErrorCodeBandwidthThrottleScheduleNotFound ErrorCode = "BandwidthThrottleScheduleNotFound" ErrorCodeBlocked ErrorCode = "Blocked" - ErrorCodeCannotexportsnapshot ErrorCode = "CannotExportSnapshot" - ErrorCodeChapcredentialnotfound ErrorCode = "ChapCredentialNotFound" - ErrorCodeDiskalreadyallocated ErrorCode = "DiskAlreadyAllocated" - ErrorCodeDiskdoesnotexist ErrorCode = "DiskDoesNotExist" - ErrorCodeDisksizegreaterthanvolumemaxsize ErrorCode = "DiskSizeGreaterThanVolumeMaxSize" - ErrorCodeDisksizelessthanvolumesize ErrorCode = "DiskSizeLessThanVolumeSize" - ErrorCodeDisksizenotgigaligned ErrorCode = "DiskSizeNotGigAligned" - ErrorCodeDuplicatecertificateinfo ErrorCode = "DuplicateCertificateInfo" - ErrorCodeDuplicateschedule ErrorCode = "DuplicateSchedule" - ErrorCodeEndpointnotfound ErrorCode = "EndpointNotFound" - ErrorCodeIamnotsupported ErrorCode = "IAMNotSupported" - ErrorCodeInitiatorinvalid ErrorCode = "InitiatorInvalid" - ErrorCodeInitiatornotfound ErrorCode = "InitiatorNotFound" - ErrorCodeInternalerror ErrorCode = "InternalError" - ErrorCodeInvalidgateway ErrorCode = "InvalidGateway" - ErrorCodeInvalidendpoint ErrorCode = "InvalidEndpoint" - ErrorCodeInvalidparameters ErrorCode = "InvalidParameters" - ErrorCodeInvalidschedule ErrorCode = "InvalidSchedule" - ErrorCodeLocalstoragelimitexceeded ErrorCode = "LocalStorageLimitExceeded" - ErrorCodeLunalreadyallocated ErrorCode = "LunAlreadyAllocated " - ErrorCodeLuninvalid ErrorCode = "LunInvalid" - ErrorCodeJoindomaininprogress ErrorCode = "JoinDomainInProgress" - ErrorCodeMaximumcontentlengthexceeded ErrorCode = "MaximumContentLengthExceeded" - ErrorCodeMaximumtapecartridgecountexceeded ErrorCode = "MaximumTapeCartridgeCountExceeded" - ErrorCodeMaximumvolumecountexceeded ErrorCode = "MaximumVolumeCountExceeded" - ErrorCodeNetworkconfigurationchanged ErrorCode = "NetworkConfigurationChanged" - ErrorCodeNodisksavailable ErrorCode = "NoDisksAvailable" - ErrorCodeNotimplemented ErrorCode = "NotImplemented" - ErrorCodeNotsupported ErrorCode = "NotSupported" - ErrorCodeOperationaborted ErrorCode = "OperationAborted" - ErrorCodeOutdatedgateway ErrorCode = "OutdatedGateway" - ErrorCodeParametersnotimplemented ErrorCode = "ParametersNotImplemented" - ErrorCodeRegioninvalid ErrorCode = "RegionInvalid" - ErrorCodeRequesttimeout ErrorCode = "RequestTimeout" - ErrorCodeServiceunavailable ErrorCode = "ServiceUnavailable" - ErrorCodeSnapshotdeleted ErrorCode = "SnapshotDeleted" - ErrorCodeSnapshotidinvalid ErrorCode = "SnapshotIdInvalid" - ErrorCodeSnapshotinprogress ErrorCode = "SnapshotInProgress" - ErrorCodeSnapshotnotfound ErrorCode = "SnapshotNotFound" - ErrorCodeSnapshotschedulenotfound ErrorCode = "SnapshotScheduleNotFound" - ErrorCodeStagingareafull ErrorCode = "StagingAreaFull" - ErrorCodeStoragefailure ErrorCode = "StorageFailure" - ErrorCodeTapecartridgenotfound ErrorCode = "TapeCartridgeNotFound" - ErrorCodeTargetalreadyexists ErrorCode = "TargetAlreadyExists" - ErrorCodeTargetinvalid ErrorCode = "TargetInvalid" - ErrorCodeTargetnotfound ErrorCode = "TargetNotFound" - ErrorCodeUnauthorizedoperation ErrorCode = "UnauthorizedOperation" - ErrorCodeVolumealreadyexists ErrorCode = "VolumeAlreadyExists" - ErrorCodeVolumeidinvalid ErrorCode = "VolumeIdInvalid" - ErrorCodeVolumeinuse ErrorCode = "VolumeInUse" - ErrorCodeVolumenotfound ErrorCode = "VolumeNotFound" - ErrorCodeVolumenotready ErrorCode = "VolumeNotReady" + ErrorCodeCannotExportSnapshot ErrorCode = "CannotExportSnapshot" + ErrorCodeChapCredentialNotFound ErrorCode = "ChapCredentialNotFound" + ErrorCodeDiskAlreadyAllocated ErrorCode = "DiskAlreadyAllocated" + ErrorCodeDiskDoesNotExist ErrorCode = "DiskDoesNotExist" + ErrorCodeDiskSizeGreaterThanVolumeMaxSize ErrorCode = "DiskSizeGreaterThanVolumeMaxSize" + ErrorCodeDiskSizeLessThanVolumeSize ErrorCode = "DiskSizeLessThanVolumeSize" + ErrorCodeDiskSizeNotGigAligned ErrorCode = "DiskSizeNotGigAligned" + ErrorCodeDuplicateCertificateInfo ErrorCode = "DuplicateCertificateInfo" + ErrorCodeDuplicateSchedule ErrorCode = "DuplicateSchedule" + ErrorCodeEndpointNotFound ErrorCode = "EndpointNotFound" + ErrorCodeIAMNotSupported ErrorCode = "IAMNotSupported" + ErrorCodeInitiatorInvalid ErrorCode = "InitiatorInvalid" + ErrorCodeInitiatorNotFound ErrorCode = "InitiatorNotFound" + ErrorCodeInternalError ErrorCode = "InternalError" + ErrorCodeInvalidGateway ErrorCode = "InvalidGateway" + ErrorCodeInvalidEndpoint ErrorCode = "InvalidEndpoint" + ErrorCodeInvalidParameters ErrorCode = "InvalidParameters" + ErrorCodeInvalidSchedule ErrorCode = "InvalidSchedule" + ErrorCodeLocalStorageLimitExceeded ErrorCode = "LocalStorageLimitExceeded" + ErrorCodeLunAlreadyAllocated ErrorCode = "LunAlreadyAllocated " + ErrorCodeLunInvalid ErrorCode = "LunInvalid" + ErrorCodeJoinDomainInProgress ErrorCode = "JoinDomainInProgress" + ErrorCodeMaximumContentLengthExceeded ErrorCode = "MaximumContentLengthExceeded" + ErrorCodeMaximumTapeCartridgeCountExceeded ErrorCode = "MaximumTapeCartridgeCountExceeded" + ErrorCodeMaximumVolumeCountExceeded ErrorCode = "MaximumVolumeCountExceeded" + ErrorCodeNetworkConfigurationChanged ErrorCode = "NetworkConfigurationChanged" + ErrorCodeNoDisksAvailable ErrorCode = "NoDisksAvailable" + ErrorCodeNotImplemented ErrorCode = "NotImplemented" + ErrorCodeNotSupported ErrorCode = "NotSupported" + ErrorCodeOperationAborted ErrorCode = "OperationAborted" + ErrorCodeOutdatedGateway ErrorCode = "OutdatedGateway" + ErrorCodeParametersNotImplemented ErrorCode = "ParametersNotImplemented" + ErrorCodeRegionInvalid ErrorCode = "RegionInvalid" + ErrorCodeRequestTimeout ErrorCode = "RequestTimeout" + ErrorCodeServiceUnavailable ErrorCode = "ServiceUnavailable" + ErrorCodeSnapshotDeleted ErrorCode = "SnapshotDeleted" + ErrorCodeSnapshotIdInvalid ErrorCode = "SnapshotIdInvalid" + ErrorCodeSnapshotInProgress ErrorCode = "SnapshotInProgress" + ErrorCodeSnapshotNotFound ErrorCode = "SnapshotNotFound" + ErrorCodeSnapshotScheduleNotFound ErrorCode = "SnapshotScheduleNotFound" + ErrorCodeStagingAreaFull ErrorCode = "StagingAreaFull" + ErrorCodeStorageFailure ErrorCode = "StorageFailure" + ErrorCodeTapeCartridgeNotFound ErrorCode = "TapeCartridgeNotFound" + ErrorCodeTargetAlreadyExists ErrorCode = "TargetAlreadyExists" + ErrorCodeTargetInvalid ErrorCode = "TargetInvalid" + ErrorCodeTargetNotFound ErrorCode = "TargetNotFound" + ErrorCodeUnauthorizedOperation ErrorCode = "UnauthorizedOperation" + ErrorCodeVolumeAlreadyExists ErrorCode = "VolumeAlreadyExists" + ErrorCodeVolumeIdInvalid ErrorCode = "VolumeIdInvalid" + ErrorCodeVolumeInUse ErrorCode = "VolumeInUse" + ErrorCodeVolumeNotFound ErrorCode = "VolumeNotFound" + ErrorCodeVolumeNotReady ErrorCode = "VolumeNotReady" ) // Values returns all known values for ErrorCode. Note that this can be expanded in @@ -319,9 +319,9 @@ type SMBSecurityStrategy string // Enum values for SMBSecurityStrategy const ( - SMBSecurityStrategyClientspecified SMBSecurityStrategy = "ClientSpecified" - SMBSecurityStrategyMandatorysigning SMBSecurityStrategy = "MandatorySigning" - SMBSecurityStrategyMandatoryencryption SMBSecurityStrategy = "MandatoryEncryption" + SMBSecurityStrategyClientSpecified SMBSecurityStrategy = "ClientSpecified" + SMBSecurityStrategyMandatorySigning SMBSecurityStrategy = "MandatorySigning" + SMBSecurityStrategyMandatoryEncryption SMBSecurityStrategy = "MandatoryEncryption" ) // Values returns all known values for SMBSecurityStrategy. Note that this can be diff --git a/service/sts/api_client.go b/service/sts/api_client.go index 346ee86f72b..e5dfe254e26 100644 --- a/service/sts/api_client.go +++ b/service/sts/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/support/api_client.go b/service/support/api_client.go index 34c7f3b4c57..bcc95627d89 100644 --- a/service/support/api_client.go +++ b/service/support/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/swf/api_client.go b/service/swf/api_client.go index eeb69ebb315..47618200243 100644 --- a/service/swf/api_client.go +++ b/service/swf/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/swf/types/enums.go b/service/swf/types/enums.go index 86afca87eac..f11545b4fcb 100644 --- a/service/swf/types/enums.go +++ b/service/swf/types/enums.go @@ -179,19 +179,19 @@ type DecisionType string // Enum values for DecisionType const ( - DecisionTypeScheduleactivitytask DecisionType = "ScheduleActivityTask" - DecisionTypeRequestcancelactivitytask DecisionType = "RequestCancelActivityTask" - DecisionTypeCompleteworkflowexecution DecisionType = "CompleteWorkflowExecution" - DecisionTypeFailworkflowexecution DecisionType = "FailWorkflowExecution" - DecisionTypeCancelworkflowexecution DecisionType = "CancelWorkflowExecution" - DecisionTypeContinueasnewworkflowexecution DecisionType = "ContinueAsNewWorkflowExecution" - DecisionTypeRecordmarker DecisionType = "RecordMarker" - DecisionTypeStarttimer DecisionType = "StartTimer" - DecisionTypeCanceltimer DecisionType = "CancelTimer" - DecisionTypeSignalexternalworkflowexecution DecisionType = "SignalExternalWorkflowExecution" - DecisionTypeRequestcancelexternalworkflowexecution DecisionType = "RequestCancelExternalWorkflowExecution" - DecisionTypeStartchildworkflowexecution DecisionType = "StartChildWorkflowExecution" - DecisionTypeSchedulelambdafunction DecisionType = "ScheduleLambdaFunction" + DecisionTypeScheduleActivityTask DecisionType = "ScheduleActivityTask" + DecisionTypeRequestCancelActivityTask DecisionType = "RequestCancelActivityTask" + DecisionTypeCompleteWorkflowExecution DecisionType = "CompleteWorkflowExecution" + DecisionTypeFailWorkflowExecution DecisionType = "FailWorkflowExecution" + DecisionTypeCancelWorkflowExecution DecisionType = "CancelWorkflowExecution" + DecisionTypeContinueAsNewWorkflowExecution DecisionType = "ContinueAsNewWorkflowExecution" + DecisionTypeRecordMarker DecisionType = "RecordMarker" + DecisionTypeStartTimer DecisionType = "StartTimer" + DecisionTypeCancelTimer DecisionType = "CancelTimer" + DecisionTypeSignalExternalWorkflowExecution DecisionType = "SignalExternalWorkflowExecution" + DecisionTypeRequestCancelExternalWorkflowExecution DecisionType = "RequestCancelExternalWorkflowExecution" + DecisionTypeStartChildWorkflowExecution DecisionType = "StartChildWorkflowExecution" + DecisionTypeScheduleLambdaFunction DecisionType = "ScheduleLambdaFunction" ) // Values returns all known values for DecisionType. Note that this can be expanded @@ -219,60 +219,60 @@ type EventType string // Enum values for EventType const ( - EventTypeWorkflowexecutionstarted EventType = "WorkflowExecutionStarted" - EventTypeWorkflowexecutioncancelrequested EventType = "WorkflowExecutionCancelRequested" - EventTypeWorkflowexecutioncompleted EventType = "WorkflowExecutionCompleted" - EventTypeCompleteworkflowexecutionfailed EventType = "CompleteWorkflowExecutionFailed" - EventTypeWorkflowexecutionfailed EventType = "WorkflowExecutionFailed" - EventTypeFailworkflowexecutionfailed EventType = "FailWorkflowExecutionFailed" - EventTypeWorkflowexecutiontimedout EventType = "WorkflowExecutionTimedOut" - EventTypeWorkflowexecutioncanceled EventType = "WorkflowExecutionCanceled" - EventTypeCancelworkflowexecutionfailed EventType = "CancelWorkflowExecutionFailed" - EventTypeWorkflowexecutioncontinuedasnew EventType = "WorkflowExecutionContinuedAsNew" - EventTypeContinueasnewworkflowexecutionfailed EventType = "ContinueAsNewWorkflowExecutionFailed" - EventTypeWorkflowexecutionterminated EventType = "WorkflowExecutionTerminated" - EventTypeDecisiontaskscheduled EventType = "DecisionTaskScheduled" - EventTypeDecisiontaskstarted EventType = "DecisionTaskStarted" - EventTypeDecisiontaskcompleted EventType = "DecisionTaskCompleted" - EventTypeDecisiontasktimedout EventType = "DecisionTaskTimedOut" - EventTypeActivitytaskscheduled EventType = "ActivityTaskScheduled" - EventTypeScheduleactivitytaskfailed EventType = "ScheduleActivityTaskFailed" - EventTypeActivitytaskstarted EventType = "ActivityTaskStarted" - EventTypeActivitytaskcompleted EventType = "ActivityTaskCompleted" - EventTypeActivitytaskfailed EventType = "ActivityTaskFailed" - EventTypeActivitytasktimedout EventType = "ActivityTaskTimedOut" - EventTypeActivitytaskcanceled EventType = "ActivityTaskCanceled" - EventTypeActivitytaskcancelrequested EventType = "ActivityTaskCancelRequested" - EventTypeRequestcancelactivitytaskfailed EventType = "RequestCancelActivityTaskFailed" - EventTypeWorkflowexecutionsignaled EventType = "WorkflowExecutionSignaled" - EventTypeMarkerrecorded EventType = "MarkerRecorded" - EventTypeRecordmarkerfailed EventType = "RecordMarkerFailed" - EventTypeTimerstarted EventType = "TimerStarted" - EventTypeStarttimerfailed EventType = "StartTimerFailed" - EventTypeTimerfired EventType = "TimerFired" - EventTypeTimercanceled EventType = "TimerCanceled" - EventTypeCanceltimerfailed EventType = "CancelTimerFailed" - EventTypeStartchildworkflowexecutioninitiated EventType = "StartChildWorkflowExecutionInitiated" - EventTypeStartchildworkflowexecutionfailed EventType = "StartChildWorkflowExecutionFailed" - EventTypeChildworkflowexecutionstarted EventType = "ChildWorkflowExecutionStarted" - EventTypeChildworkflowexecutioncompleted EventType = "ChildWorkflowExecutionCompleted" - EventTypeChildworkflowexecutionfailed EventType = "ChildWorkflowExecutionFailed" - EventTypeChildworkflowexecutiontimedout EventType = "ChildWorkflowExecutionTimedOut" - EventTypeChildworkflowexecutioncanceled EventType = "ChildWorkflowExecutionCanceled" - EventTypeChildworkflowexecutionterminated EventType = "ChildWorkflowExecutionTerminated" - EventTypeSignalexternalworkflowexecutioninitiated EventType = "SignalExternalWorkflowExecutionInitiated" - EventTypeSignalexternalworkflowexecutionfailed EventType = "SignalExternalWorkflowExecutionFailed" - EventTypeExternalworkflowexecutionsignaled EventType = "ExternalWorkflowExecutionSignaled" - EventTypeRequestcancelexternalworkflowexecutioninitiated EventType = "RequestCancelExternalWorkflowExecutionInitiated" - EventTypeRequestcancelexternalworkflowexecutionfailed EventType = "RequestCancelExternalWorkflowExecutionFailed" - EventTypeExternalworkflowexecutioncancelrequested EventType = "ExternalWorkflowExecutionCancelRequested" - EventTypeLambdafunctionscheduled EventType = "LambdaFunctionScheduled" - EventTypeLambdafunctionstarted EventType = "LambdaFunctionStarted" - EventTypeLambdafunctioncompleted EventType = "LambdaFunctionCompleted" - EventTypeLambdafunctionfailed EventType = "LambdaFunctionFailed" - EventTypeLambdafunctiontimedout EventType = "LambdaFunctionTimedOut" - EventTypeSchedulelambdafunctionfailed EventType = "ScheduleLambdaFunctionFailed" - EventTypeStartlambdafunctionfailed EventType = "StartLambdaFunctionFailed" + EventTypeWorkflowExecutionStarted EventType = "WorkflowExecutionStarted" + EventTypeWorkflowExecutionCancelRequested EventType = "WorkflowExecutionCancelRequested" + EventTypeWorkflowExecutionCompleted EventType = "WorkflowExecutionCompleted" + EventTypeCompleteWorkflowExecutionFailed EventType = "CompleteWorkflowExecutionFailed" + EventTypeWorkflowExecutionFailed EventType = "WorkflowExecutionFailed" + EventTypeFailWorkflowExecutionFailed EventType = "FailWorkflowExecutionFailed" + EventTypeWorkflowExecutionTimedOut EventType = "WorkflowExecutionTimedOut" + EventTypeWorkflowExecutionCanceled EventType = "WorkflowExecutionCanceled" + EventTypeCancelWorkflowExecutionFailed EventType = "CancelWorkflowExecutionFailed" + EventTypeWorkflowExecutionContinuedAsNew EventType = "WorkflowExecutionContinuedAsNew" + EventTypeContinueAsNewWorkflowExecutionFailed EventType = "ContinueAsNewWorkflowExecutionFailed" + EventTypeWorkflowExecutionTerminated EventType = "WorkflowExecutionTerminated" + EventTypeDecisionTaskScheduled EventType = "DecisionTaskScheduled" + EventTypeDecisionTaskStarted EventType = "DecisionTaskStarted" + EventTypeDecisionTaskCompleted EventType = "DecisionTaskCompleted" + EventTypeDecisionTaskTimedOut EventType = "DecisionTaskTimedOut" + EventTypeActivityTaskScheduled EventType = "ActivityTaskScheduled" + EventTypeScheduleActivityTaskFailed EventType = "ScheduleActivityTaskFailed" + EventTypeActivityTaskStarted EventType = "ActivityTaskStarted" + EventTypeActivityTaskCompleted EventType = "ActivityTaskCompleted" + EventTypeActivityTaskFailed EventType = "ActivityTaskFailed" + EventTypeActivityTaskTimedOut EventType = "ActivityTaskTimedOut" + EventTypeActivityTaskCanceled EventType = "ActivityTaskCanceled" + EventTypeActivityTaskCancelRequested EventType = "ActivityTaskCancelRequested" + EventTypeRequestCancelActivityTaskFailed EventType = "RequestCancelActivityTaskFailed" + EventTypeWorkflowExecutionSignaled EventType = "WorkflowExecutionSignaled" + EventTypeMarkerRecorded EventType = "MarkerRecorded" + EventTypeRecordMarkerFailed EventType = "RecordMarkerFailed" + EventTypeTimerStarted EventType = "TimerStarted" + EventTypeStartTimerFailed EventType = "StartTimerFailed" + EventTypeTimerFired EventType = "TimerFired" + EventTypeTimerCanceled EventType = "TimerCanceled" + EventTypeCancelTimerFailed EventType = "CancelTimerFailed" + EventTypeStartChildWorkflowExecutionInitiated EventType = "StartChildWorkflowExecutionInitiated" + EventTypeStartChildWorkflowExecutionFailed EventType = "StartChildWorkflowExecutionFailed" + EventTypeChildWorkflowExecutionStarted EventType = "ChildWorkflowExecutionStarted" + EventTypeChildWorkflowExecutionCompleted EventType = "ChildWorkflowExecutionCompleted" + EventTypeChildWorkflowExecutionFailed EventType = "ChildWorkflowExecutionFailed" + EventTypeChildWorkflowExecutionTimedOut EventType = "ChildWorkflowExecutionTimedOut" + EventTypeChildWorkflowExecutionCanceled EventType = "ChildWorkflowExecutionCanceled" + EventTypeChildWorkflowExecutionTerminated EventType = "ChildWorkflowExecutionTerminated" + EventTypeSignalExternalWorkflowExecutionInitiated EventType = "SignalExternalWorkflowExecutionInitiated" + EventTypeSignalExternalWorkflowExecutionFailed EventType = "SignalExternalWorkflowExecutionFailed" + EventTypeExternalWorkflowExecutionSignaled EventType = "ExternalWorkflowExecutionSignaled" + EventTypeRequestCancelExternalWorkflowExecutionInitiated EventType = "RequestCancelExternalWorkflowExecutionInitiated" + EventTypeRequestCancelExternalWorkflowExecutionFailed EventType = "RequestCancelExternalWorkflowExecutionFailed" + EventTypeExternalWorkflowExecutionCancelRequested EventType = "ExternalWorkflowExecutionCancelRequested" + EventTypeLambdaFunctionScheduled EventType = "LambdaFunctionScheduled" + EventTypeLambdaFunctionStarted EventType = "LambdaFunctionStarted" + EventTypeLambdaFunctionCompleted EventType = "LambdaFunctionCompleted" + EventTypeLambdaFunctionFailed EventType = "LambdaFunctionFailed" + EventTypeLambdaFunctionTimedOut EventType = "LambdaFunctionTimedOut" + EventTypeScheduleLambdaFunctionFailed EventType = "ScheduleLambdaFunctionFailed" + EventTypeStartLambdaFunctionFailed EventType = "StartLambdaFunctionFailed" ) // Values returns all known values for EventType. Note that this can be expanded in diff --git a/service/synthetics/api_client.go b/service/synthetics/api_client.go index e2b44142b8e..b07cbd5fb91 100644 --- a/service/synthetics/api_client.go +++ b/service/synthetics/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/textract/api_client.go b/service/textract/api_client.go index 79aa623b34a..720bb3c24b5 100644 --- a/service/textract/api_client.go +++ b/service/textract/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/timestreamquery/api_client.go b/service/timestreamquery/api_client.go index d0b4879bbeb..c564aa0c931 100644 --- a/service/timestreamquery/api_client.go +++ b/service/timestreamquery/api_client.go @@ -97,6 +97,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/timestreamwrite/api_client.go b/service/timestreamwrite/api_client.go index cfa799f747c..3b3f69232ec 100644 --- a/service/timestreamwrite/api_client.go +++ b/service/timestreamwrite/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/transcribe/api_client.go b/service/transcribe/api_client.go index f06f9f97504..811026d644b 100644 --- a/service/transcribe/api_client.go +++ b/service/transcribe/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/transfer/api_client.go b/service/transfer/api_client.go index fc721923581..dd8ddde528a 100644 --- a/service/transfer/api_client.go +++ b/service/transfer/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/translate/api_client.go b/service/translate/api_client.go index 8b04cd7f4c5..b26611a1d54 100644 --- a/service/translate/api_client.go +++ b/service/translate/api_client.go @@ -96,6 +96,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/waf/api_client.go b/service/waf/api_client.go index d87a9136e27..b777d3ff450 100644 --- a/service/waf/api_client.go +++ b/service/waf/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/wafregional/api_client.go b/service/wafregional/api_client.go index 7a777c4dbbf..c5b8ea3015f 100644 --- a/service/wafregional/api_client.go +++ b/service/wafregional/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/wafv2/api_client.go b/service/wafv2/api_client.go index 829eae354bb..c819a3f1bbb 100644 --- a/service/wafv2/api_client.go +++ b/service/wafv2/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/wellarchitected/api_client.go b/service/wellarchitected/api_client.go index 474d0786da1..d67262890f3 100644 --- a/service/wellarchitected/api_client.go +++ b/service/wellarchitected/api_client.go @@ -97,6 +97,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/workdocs/api_client.go b/service/workdocs/api_client.go index 44066d852b8..3a778c39ff7 100644 --- a/service/workdocs/api_client.go +++ b/service/workdocs/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/worklink/api_client.go b/service/worklink/api_client.go index 651e5151d25..4cc4cd65e00 100644 --- a/service/worklink/api_client.go +++ b/service/worklink/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/workmail/api_client.go b/service/workmail/api_client.go index 291456122ba..d35429250d6 100644 --- a/service/workmail/api_client.go +++ b/service/workmail/api_client.go @@ -96,6 +96,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/workmailmessageflow/api_client.go b/service/workmailmessageflow/api_client.go index f1b7f647698..7f074db07df 100644 --- a/service/workmailmessageflow/api_client.go +++ b/service/workmailmessageflow/api_client.go @@ -89,6 +89,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/workspaces/api_client.go b/service/workspaces/api_client.go index ff938853180..d436f33bef2 100644 --- a/service/workspaces/api_client.go +++ b/service/workspaces/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/xray/api_client.go b/service/xray/api_client.go index fc52371b070..e189416eff4 100644 --- a/service/xray/api_client.go +++ b/service/xray/api_client.go @@ -88,6 +88,14 @@ type Options struct { HTTPClient HTTPClient } +// WithAPIOptions returns a functional option for setting the Client's APIOptions +// option. +func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options) { + return func(o *Options) { + o.APIOptions = append(o.APIOptions, optFns...) + } +} + type HTTPClient interface { Do(*http.Request) (*http.Response, error) } diff --git a/service/xray/types/enums.go b/service/xray/types/enums.go index 92767bcdece..e5a97ebbddd 100644 --- a/service/xray/types/enums.go +++ b/service/xray/types/enums.go @@ -76,8 +76,8 @@ type SamplingStrategyName string // Enum values for SamplingStrategyName const ( - SamplingStrategyNamePartialscan SamplingStrategyName = "PartialScan" - SamplingStrategyNameFixedrate SamplingStrategyName = "FixedRate" + SamplingStrategyNamePartialScan SamplingStrategyName = "PartialScan" + SamplingStrategyNameFixedRate SamplingStrategyName = "FixedRate" ) // Values returns all known values for SamplingStrategyName. Note that this can be @@ -94,7 +94,7 @@ type TimeRangeType string // Enum values for TimeRangeType const ( - TimeRangeTypeTraceid TimeRangeType = "TraceId" + TimeRangeTypeTraceId TimeRangeType = "TraceId" TimeRangeTypeEvent TimeRangeType = "Event" )