From d4ec10bfb9f8b55b29330aabf79bfb3d46d2ad68 Mon Sep 17 00:00:00 2001 From: AWS SDK for Go v2 automation user Date: Wed, 29 Jun 2022 18:19:41 +0000 Subject: [PATCH] Regenerated Clients --- .../01c04db7b4f3461f8c8b8eb01fdd8144.json | 8 + .../196af991e6c54c4cb36754f687de4cac.json | 8 + .../62bf42efac844782a82f2a4a8874169c.json | 8 + .../9c5ca9374ad34e12bbfd94d1fa58f785.json | 8 + .../b0a10cf916de4364bd27a3448d1afe66.json | 8 + .../d5864a46d9fb479898254ad7b6d81934.json | 8 + .../e97c8b7c1cfe4ed1946907331aa3746d.json | 8 + aws/protocol/eventstream/go.mod | 2 +- aws/protocol/eventstream/go.sum | 4 +- config/go.mod | 2 +- config/go.sum | 4 +- credentials/go.mod | 2 +- credentials/go.sum | 4 +- example/service/dynamodb/createTable/go.sum | 4 +- example/service/dynamodb/scanItems/go.sum | 4 +- example/service/s3/listObjects/go.sum | 4 +- example/service/s3/usingPrivateLink/go.sum | 4 +- feature/cloudfront/sign/go.sum | 4 +- feature/dynamodb/attributevalue/go.mod | 2 +- feature/dynamodb/attributevalue/go.sum | 4 +- feature/dynamodb/expression/go.sum | 4 +- feature/dynamodbstreams/attributevalue/go.mod | 2 +- feature/dynamodbstreams/attributevalue/go.sum | 4 +- feature/ec2/imds/go.mod | 2 +- feature/ec2/imds/go.sum | 4 +- .../ec2/imds/internal/configtesting/go.sum | 4 +- feature/rds/auth/go.sum | 4 +- feature/s3/manager/go.mod | 2 +- feature/s3/manager/go.sum | 4 +- go.mod | 2 +- go.sum | 4 +- internal/configsources/configtesting/go.sum | 4 +- internal/configsources/go.sum | 4 +- internal/endpoints/v2/go.mod | 2 +- internal/endpoints/v2/go.sum | 4 +- internal/ini/go.sum | 2 +- internal/protocoltest/awsrestjson/go.mod | 2 +- internal/protocoltest/awsrestjson/go.sum | 4 +- internal/protocoltest/ec2query/go.mod | 2 +- internal/protocoltest/ec2query/go.sum | 4 +- internal/protocoltest/jsonrpc/go.mod | 2 +- internal/protocoltest/jsonrpc/go.sum | 4 +- internal/protocoltest/jsonrpc10/go.mod | 2 +- internal/protocoltest/jsonrpc10/go.sum | 4 +- internal/protocoltest/query/go.mod | 2 +- internal/protocoltest/query/go.sum | 4 +- internal/protocoltest/restxml/go.mod | 2 +- internal/protocoltest/restxml/go.sum | 4 +- .../protocoltest/restxmlwithnamespace/go.mod | 2 +- .../protocoltest/restxmlwithnamespace/go.sum | 4 +- internal/v4a/go.mod | 2 +- internal/v4a/go.sum | 4 +- service/accessanalyzer/go.mod | 2 +- service/accessanalyzer/go.sum | 4 +- service/account/go.mod | 2 +- service/account/go.sum | 4 +- service/acm/go.mod | 2 +- service/acm/go.sum | 4 +- service/acmpca/go.mod | 2 +- service/acmpca/go.sum | 4 +- service/alexaforbusiness/go.mod | 2 +- service/alexaforbusiness/go.sum | 4 +- service/amp/go.mod | 2 +- service/amp/go.sum | 4 +- service/amplify/go.mod | 2 +- service/amplify/go.sum | 4 +- service/amplifybackend/go.mod | 2 +- service/amplifybackend/go.sum | 4 +- service/amplifyuibuilder/go.mod | 2 +- service/amplifyuibuilder/go.sum | 4 +- service/apigateway/go.mod | 2 +- service/apigateway/go.sum | 4 +- service/apigatewaymanagementapi/go.mod | 2 +- service/apigatewaymanagementapi/go.sum | 4 +- service/apigatewayv2/go.mod | 2 +- service/apigatewayv2/go.sum | 4 +- service/appconfig/go.mod | 2 +- service/appconfig/go.sum | 4 +- service/appconfigdata/go.mod | 2 +- service/appconfigdata/go.sum | 4 +- service/appflow/go.mod | 2 +- service/appflow/go.sum | 4 +- service/appintegrations/go.mod | 2 +- service/appintegrations/go.sum | 4 +- service/applicationautoscaling/go.mod | 2 +- service/applicationautoscaling/go.sum | 4 +- service/applicationcostprofiler/go.mod | 2 +- service/applicationcostprofiler/go.sum | 4 +- service/applicationdiscoveryservice/go.mod | 2 +- service/applicationdiscoveryservice/go.sum | 4 +- service/applicationinsights/go.mod | 2 +- service/applicationinsights/go.sum | 4 +- service/appmesh/go.mod | 2 +- service/appmesh/go.sum | 4 +- service/apprunner/go.mod | 2 +- service/apprunner/go.sum | 4 +- service/appstream/api_op_CreateStack.go | 4 + service/appstream/api_op_UpdateFleet.go | 7 +- service/appstream/api_op_UpdateStack.go | 4 + service/appstream/deserializers.go | 45 + service/appstream/go.mod | 2 +- service/appstream/go.sum | 4 +- service/appstream/serializers.go | 26 + service/appstream/types/enums.go | 20 + service/appstream/types/types.go | 14 + service/appsync/go.mod | 2 +- service/appsync/go.sum | 4 +- service/athena/go.mod | 2 +- service/athena/go.sum | 4 +- service/auditmanager/go.mod | 2 +- service/auditmanager/go.sum | 4 +- service/autoscaling/go.mod | 2 +- service/autoscaling/go.sum | 4 +- service/autoscalingplans/go.mod | 2 +- service/autoscalingplans/go.sum | 4 +- service/backup/go.mod | 2 +- service/backup/go.sum | 4 +- service/backupgateway/go.mod | 2 +- service/backupgateway/go.sum | 4 +- service/batch/go.mod | 2 +- service/batch/go.sum | 4 +- service/billingconductor/go.mod | 2 +- service/billingconductor/go.sum | 4 +- service/braket/go.mod | 2 +- service/braket/go.sum | 4 +- service/budgets/go.mod | 2 +- service/budgets/go.sum | 4 +- service/chime/go.mod | 2 +- service/chime/go.sum | 4 +- service/chimesdkidentity/go.mod | 2 +- service/chimesdkidentity/go.sum | 4 +- service/chimesdkmediapipelines/go.mod | 2 +- service/chimesdkmediapipelines/go.sum | 4 +- service/chimesdkmeetings/go.mod | 2 +- service/chimesdkmeetings/go.sum | 4 +- service/chimesdkmessaging/go.mod | 2 +- service/chimesdkmessaging/go.sum | 4 +- service/cloud9/go.mod | 2 +- service/cloud9/go.sum | 4 +- service/cloudcontrol/go.mod | 2 +- service/cloudcontrol/go.sum | 4 +- service/clouddirectory/go.mod | 2 +- service/clouddirectory/go.sum | 4 +- service/cloudformation/go.mod | 2 +- service/cloudformation/go.sum | 4 +- service/cloudfront/go.mod | 2 +- service/cloudfront/go.sum | 4 +- service/cloudhsm/go.mod | 2 +- service/cloudhsm/go.sum | 4 +- service/cloudhsmv2/go.mod | 2 +- service/cloudhsmv2/go.sum | 4 +- service/cloudsearch/go.mod | 2 +- service/cloudsearch/go.sum | 4 +- service/cloudsearchdomain/go.mod | 2 +- service/cloudsearchdomain/go.sum | 4 +- service/cloudtrail/go.mod | 2 +- service/cloudtrail/go.sum | 4 +- service/cloudwatch/go.mod | 2 +- service/cloudwatch/go.sum | 4 +- service/cloudwatchevents/go.mod | 2 +- service/cloudwatchevents/go.sum | 4 +- service/cloudwatchlogs/go.mod | 2 +- service/cloudwatchlogs/go.sum | 4 +- service/codeartifact/go.mod | 2 +- service/codeartifact/go.sum | 4 +- service/codebuild/go.mod | 2 +- service/codebuild/go.sum | 4 +- .../codebuild/internal/endpoints/endpoints.go | 3 + service/codecommit/go.mod | 2 +- service/codecommit/go.sum | 4 +- service/codedeploy/go.mod | 2 +- service/codedeploy/go.sum | 4 +- service/codeguruprofiler/go.mod | 2 +- service/codeguruprofiler/go.sum | 4 +- service/codegurureviewer/go.mod | 2 +- service/codegurureviewer/go.sum | 4 +- service/codepipeline/go.mod | 2 +- service/codepipeline/go.sum | 4 +- service/codestar/go.mod | 2 +- service/codestar/go.sum | 4 +- service/codestarconnections/go.mod | 2 +- service/codestarconnections/go.sum | 4 +- service/codestarnotifications/go.mod | 2 +- service/codestarnotifications/go.sum | 4 +- service/cognitoidentity/go.mod | 2 +- service/cognitoidentity/go.sum | 4 +- service/cognitoidentityprovider/go.mod | 2 +- service/cognitoidentityprovider/go.sum | 4 +- service/cognitosync/go.mod | 2 +- service/cognitosync/go.sum | 4 +- service/comprehend/go.mod | 2 +- service/comprehend/go.sum | 4 +- service/comprehendmedical/go.mod | 2 +- service/comprehendmedical/go.sum | 4 +- service/computeoptimizer/go.mod | 2 +- service/computeoptimizer/go.sum | 4 +- service/configservice/go.mod | 2 +- service/configservice/go.sum | 4 +- service/connect/go.mod | 2 +- service/connect/go.sum | 4 +- service/connectcampaigns/go.mod | 2 +- service/connectcampaigns/go.sum | 4 +- service/connectcontactlens/go.mod | 2 +- service/connectcontactlens/go.sum | 4 +- service/connectparticipant/go.mod | 2 +- service/connectparticipant/go.sum | 4 +- service/costandusagereportservice/go.mod | 2 +- service/costandusagereportservice/go.sum | 4 +- service/costexplorer/go.mod | 2 +- service/costexplorer/go.sum | 4 +- service/customerprofiles/go.mod | 2 +- service/customerprofiles/go.sum | 4 +- service/databasemigrationservice/go.mod | 2 +- service/databasemigrationservice/go.sum | 4 +- service/databrew/go.mod | 2 +- service/databrew/go.sum | 4 +- service/dataexchange/go.mod | 2 +- service/dataexchange/go.sum | 4 +- service/datapipeline/go.mod | 2 +- service/datapipeline/go.sum | 4 +- service/datasync/go.mod | 2 +- service/datasync/go.sum | 4 +- service/dax/go.mod | 2 +- service/dax/go.sum | 4 +- service/detective/go.mod | 2 +- service/detective/go.sum | 4 +- service/devicefarm/go.mod | 2 +- service/devicefarm/go.sum | 4 +- service/devopsguru/go.mod | 2 +- service/devopsguru/go.sum | 4 +- service/directconnect/go.mod | 2 +- service/directconnect/go.sum | 4 +- service/directoryservice/go.mod | 2 +- service/directoryservice/go.sum | 4 +- service/dlm/go.mod | 2 +- service/dlm/go.sum | 4 +- service/docdb/go.mod | 2 +- service/docdb/go.sum | 4 +- service/drs/go.mod | 2 +- service/drs/go.sum | 4 +- service/dynamodb/go.mod | 2 +- service/dynamodb/go.sum | 4 +- service/dynamodbstreams/go.mod | 2 +- service/dynamodbstreams/go.sum | 4 +- service/ebs/go.mod | 2 +- service/ebs/go.sum | 4 +- service/ec2/go.mod | 2 +- service/ec2/go.sum | 4 +- service/ec2instanceconnect/go.mod | 2 +- service/ec2instanceconnect/go.sum | 4 +- service/ecr/go.mod | 2 +- service/ecr/go.sum | 4 +- service/ecrpublic/go.mod | 2 +- service/ecrpublic/go.sum | 4 +- service/ecs/go.mod | 2 +- service/ecs/go.sum | 4 +- service/efs/go.mod | 2 +- service/efs/go.sum | 4 +- service/eks/go.mod | 2 +- service/eks/go.sum | 4 +- service/elasticache/go.mod | 2 +- service/elasticache/go.sum | 4 +- service/elasticbeanstalk/go.mod | 2 +- service/elasticbeanstalk/go.sum | 4 +- service/elasticinference/go.mod | 2 +- service/elasticinference/go.sum | 4 +- service/elasticloadbalancing/go.mod | 2 +- service/elasticloadbalancing/go.sum | 4 +- .../api_op_CreateLoadBalancer.go | 38 +- .../api_op_CreateTargetGroup.go | 9 +- .../api_op_ModifyTargetGroup.go | 15 +- service/elasticloadbalancingv2/go.mod | 2 +- service/elasticloadbalancingv2/go.sum | 4 +- service/elasticloadbalancingv2/types/types.go | 90 +- service/elasticsearchservice/go.mod | 2 +- service/elasticsearchservice/go.sum | 4 +- service/elastictranscoder/go.mod | 2 +- service/elastictranscoder/go.sum | 4 +- service/emr/deserializers.go | 13 + service/emr/go.mod | 2 +- service/emr/go.sum | 4 +- service/emr/serializers.go | 5 + service/emr/types/types.go | 25 +- service/emrcontainers/go.mod | 2 +- service/emrcontainers/go.sum | 4 +- service/emrserverless/go.mod | 2 +- service/emrserverless/go.sum | 4 +- service/eventbridge/go.mod | 2 +- service/eventbridge/go.sum | 4 +- service/evidently/go.mod | 2 +- service/evidently/go.sum | 4 +- service/finspace/go.mod | 2 +- service/finspace/go.sum | 4 +- service/finspacedata/go.mod | 2 +- service/finspacedata/go.sum | 4 +- service/firehose/go.mod | 2 +- service/firehose/go.sum | 4 +- service/fis/go.mod | 2 +- service/fis/go.sum | 4 +- service/fms/go.mod | 2 +- service/fms/go.sum | 4 +- service/forecast/go.mod | 2 +- service/forecast/go.sum | 4 +- service/forecastquery/go.mod | 2 +- service/forecastquery/go.sum | 4 +- service/frauddetector/go.mod | 2 +- service/frauddetector/go.sum | 4 +- service/fsx/go.mod | 2 +- service/fsx/go.sum | 4 +- service/gamelift/go.mod | 2 +- service/gamelift/go.sum | 4 +- service/gamesparks/go.mod | 2 +- service/gamesparks/go.sum | 4 +- service/glacier/go.mod | 2 +- service/glacier/go.sum | 4 +- service/globalaccelerator/go.mod | 2 +- service/globalaccelerator/go.sum | 4 +- service/glue/go.mod | 2 +- service/glue/go.sum | 4 +- service/grafana/go.mod | 2 +- service/grafana/go.sum | 4 +- service/greengrass/go.mod | 2 +- service/greengrass/go.sum | 4 +- service/greengrassv2/go.mod | 2 +- service/greengrassv2/go.sum | 4 +- service/groundstation/go.mod | 2 +- service/groundstation/go.sum | 4 +- service/guardduty/go.mod | 2 +- service/guardduty/go.sum | 4 +- service/health/go.mod | 2 +- service/health/go.sum | 4 +- service/healthlake/go.mod | 2 +- service/healthlake/go.sum | 4 +- service/honeycode/go.mod | 2 +- service/honeycode/go.sum | 4 +- service/iam/go.mod | 2 +- service/iam/go.sum | 4 +- service/identitystore/go.mod | 2 +- service/identitystore/go.sum | 4 +- service/imagebuilder/go.mod | 2 +- service/imagebuilder/go.sum | 4 +- service/inspector/go.mod | 2 +- service/inspector/go.sum | 4 +- service/inspector2/go.mod | 2 +- service/inspector2/go.sum | 4 +- service/internal/accept-encoding/go.mod | 2 +- service/internal/accept-encoding/go.sum | 4 +- service/internal/benchmark/go.mod | 2 +- service/internal/benchmark/go.sum | 4 +- service/internal/checksum/go.mod | 2 +- service/internal/checksum/go.sum | 4 +- service/internal/endpoint-discovery/go.mod | 2 +- service/internal/endpoint-discovery/go.sum | 4 +- service/internal/eventstreamtesting/go.sum | 4 +- service/internal/integrationtest/go.mod | 2 +- service/internal/integrationtest/go.sum | 4 +- service/internal/presigned-url/go.mod | 2 +- service/internal/presigned-url/go.sum | 4 +- service/internal/s3shared/go.mod | 2 +- service/internal/s3shared/go.sum | 4 +- service/iot/go.mod | 2 +- service/iot/go.sum | 4 +- service/iot1clickdevicesservice/go.mod | 2 +- service/iot1clickdevicesservice/go.sum | 4 +- service/iot1clickprojects/go.mod | 2 +- service/iot1clickprojects/go.sum | 4 +- service/iotanalytics/go.mod | 2 +- service/iotanalytics/go.sum | 4 +- service/iotdataplane/go.mod | 2 +- service/iotdataplane/go.sum | 4 +- service/iotdeviceadvisor/go.mod | 2 +- service/iotdeviceadvisor/go.sum | 4 +- .../internal/endpoints/endpoints.go | 34 + service/iotevents/go.mod | 2 +- service/iotevents/go.sum | 4 +- service/ioteventsdata/go.mod | 2 +- service/ioteventsdata/go.sum | 4 +- service/iotfleethub/go.mod | 2 +- service/iotfleethub/go.sum | 4 +- service/iotjobsdataplane/go.mod | 2 +- service/iotjobsdataplane/go.sum | 4 +- service/iotsecuretunneling/go.mod | 2 +- service/iotsecuretunneling/go.sum | 4 +- service/iotsitewise/go.mod | 2 +- service/iotsitewise/go.sum | 4 +- service/iotthingsgraph/go.mod | 2 +- service/iotthingsgraph/go.sum | 4 +- service/iottwinmaker/go.mod | 2 +- service/iottwinmaker/go.sum | 4 +- service/iotwireless/go.mod | 2 +- service/iotwireless/go.sum | 4 +- service/ivs/go.mod | 2 +- service/ivs/go.sum | 4 +- service/ivschat/go.mod | 2 +- service/ivschat/go.sum | 4 +- service/kafka/go.mod | 2 +- service/kafka/go.sum | 4 +- service/kafkaconnect/go.mod | 2 +- service/kafkaconnect/go.sum | 4 +- service/kendra/go.mod | 2 +- service/kendra/go.sum | 4 +- service/keyspaces/go.mod | 2 +- service/keyspaces/go.sum | 4 +- service/kinesis/go.mod | 2 +- service/kinesis/go.sum | 4 +- service/kinesis/internal/testing/go.mod | 2 +- service/kinesis/internal/testing/go.sum | 4 +- service/kinesisanalytics/go.mod | 2 +- service/kinesisanalytics/go.sum | 4 +- service/kinesisanalyticsv2/go.mod | 2 +- service/kinesisanalyticsv2/go.sum | 4 +- service/kinesisvideo/go.mod | 2 +- service/kinesisvideo/go.sum | 4 +- service/kinesisvideoarchivedmedia/go.mod | 2 +- service/kinesisvideoarchivedmedia/go.sum | 4 +- service/kinesisvideomedia/go.mod | 2 +- service/kinesisvideomedia/go.sum | 4 +- service/kinesisvideosignaling/go.mod | 2 +- service/kinesisvideosignaling/go.sum | 4 +- service/kms/go.mod | 2 +- service/kms/go.sum | 4 +- service/lakeformation/go.mod | 2 +- service/lakeformation/go.sum | 4 +- .../internal/endpoints/endpoints.go | 18 + service/lambda/go.mod | 2 +- service/lambda/go.sum | 4 +- service/lexmodelbuildingservice/go.mod | 2 +- service/lexmodelbuildingservice/go.sum | 4 +- service/lexmodelsv2/go.mod | 2 +- service/lexmodelsv2/go.sum | 4 +- service/lexruntimeservice/go.mod | 2 +- service/lexruntimeservice/go.sum | 4 +- service/lexruntimev2/go.mod | 2 +- service/lexruntimev2/go.sum | 4 +- service/licensemanager/go.mod | 2 +- service/licensemanager/go.sum | 4 +- service/lightsail/go.mod | 2 +- service/lightsail/go.sum | 4 +- service/location/go.mod | 2 +- service/location/go.sum | 4 +- service/lookoutequipment/go.mod | 2 +- service/lookoutequipment/go.sum | 4 +- service/lookoutmetrics/go.mod | 2 +- service/lookoutmetrics/go.sum | 4 +- service/lookoutvision/go.mod | 2 +- service/lookoutvision/go.sum | 4 +- service/m2/go.mod | 2 +- service/m2/go.sum | 4 +- service/machinelearning/go.mod | 2 +- service/machinelearning/go.sum | 4 +- service/macie/go.mod | 2 +- service/macie/go.sum | 4 +- service/macie2/go.mod | 2 +- service/macie2/go.sum | 4 +- service/managedblockchain/go.mod | 2 +- service/managedblockchain/go.sum | 4 +- service/marketplacecatalog/go.mod | 2 +- service/marketplacecatalog/go.sum | 4 +- service/marketplacecommerceanalytics/go.mod | 2 +- service/marketplacecommerceanalytics/go.sum | 4 +- service/marketplaceentitlementservice/go.mod | 2 +- service/marketplaceentitlementservice/go.sum | 4 +- service/marketplacemetering/go.mod | 2 +- service/marketplacemetering/go.sum | 4 +- service/mediaconnect/go.mod | 2 +- service/mediaconnect/go.sum | 4 +- service/mediaconvert/go.mod | 2 +- service/mediaconvert/go.sum | 4 +- service/medialive/api_op_DeleteReservation.go | 3 + .../medialive/api_op_DescribeReservation.go | 3 + service/medialive/api_op_PurchaseOffering.go | 3 + service/medialive/api_op_UpdateReservation.go | 3 + service/medialive/deserializers.go | 81 +- service/medialive/go.mod | 2 +- service/medialive/go.sum | 4 +- service/medialive/serializers.go | 36 + service/medialive/types/enums.go | 40 + service/medialive/types/types.go | 19 + service/mediapackage/go.mod | 2 +- service/mediapackage/go.sum | 4 +- service/mediapackagevod/go.mod | 2 +- service/mediapackagevod/go.sum | 4 +- service/mediastore/go.mod | 2 +- service/mediastore/go.sum | 4 +- service/mediastoredata/go.mod | 2 +- service/mediastoredata/go.sum | 4 +- service/mediatailor/go.mod | 2 +- service/mediatailor/go.sum | 4 +- service/memorydb/go.mod | 2 +- service/memorydb/go.sum | 4 +- service/mgn/go.mod | 2 +- service/mgn/go.sum | 4 +- service/migrationhub/go.mod | 2 +- service/migrationhub/go.sum | 4 +- service/migrationhubconfig/go.mod | 2 +- service/migrationhubconfig/go.sum | 4 +- service/migrationhubrefactorspaces/go.mod | 2 +- service/migrationhubrefactorspaces/go.sum | 4 +- service/migrationhubstrategy/go.mod | 2 +- service/migrationhubstrategy/go.sum | 4 +- service/mobile/go.mod | 2 +- service/mobile/go.sum | 4 +- service/mq/go.mod | 2 +- service/mq/go.sum | 4 +- service/mturk/go.mod | 2 +- service/mturk/go.sum | 4 +- service/mwaa/go.mod | 2 +- service/mwaa/go.sum | 4 +- service/neptune/go.mod | 2 +- service/neptune/go.sum | 4 +- service/networkfirewall/go.mod | 2 +- service/networkfirewall/go.sum | 4 +- service/networkmanager/go.mod | 2 +- service/networkmanager/go.sum | 4 +- service/nimble/go.mod | 2 +- service/nimble/go.sum | 4 +- service/opensearch/go.mod | 2 +- service/opensearch/go.sum | 4 +- service/opsworks/go.mod | 2 +- service/opsworks/go.sum | 4 +- service/opsworkscm/go.mod | 2 +- service/opsworkscm/go.sum | 4 +- service/organizations/go.mod | 2 +- service/organizations/go.sum | 4 +- service/outposts/go.mod | 2 +- service/outposts/go.sum | 4 +- service/panorama/go.mod | 2 +- service/panorama/go.sum | 4 +- service/personalize/go.mod | 2 +- service/personalize/go.sum | 4 +- service/personalizeevents/go.mod | 2 +- service/personalizeevents/go.sum | 4 +- service/personalizeruntime/go.mod | 2 +- service/personalizeruntime/go.sum | 4 +- service/pi/go.mod | 2 +- service/pi/go.sum | 4 +- service/pinpoint/go.mod | 2 +- service/pinpoint/go.sum | 4 +- service/pinpointemail/go.mod | 2 +- service/pinpointemail/go.sum | 4 +- service/pinpointsmsvoice/go.mod | 2 +- service/pinpointsmsvoice/go.sum | 4 +- service/pinpointsmsvoicev2/go.mod | 2 +- service/pinpointsmsvoicev2/go.sum | 4 +- service/polly/go.mod | 2 +- service/polly/go.sum | 4 +- service/pricing/go.mod | 2 +- service/pricing/go.sum | 4 +- service/proton/go.mod | 2 +- service/proton/go.sum | 4 +- service/qldb/go.mod | 2 +- service/qldb/go.sum | 4 +- service/qldbsession/go.mod | 2 +- service/qldbsession/go.sum | 4 +- service/quicksight/go.mod | 2 +- service/quicksight/go.sum | 4 +- service/ram/go.mod | 2 +- service/ram/go.sum | 4 +- service/rbin/go.mod | 2 +- service/rbin/go.sum | 4 +- service/rds/go.mod | 2 +- service/rds/go.sum | 4 +- service/rdsdata/go.mod | 2 +- service/rdsdata/go.sum | 4 +- service/redshift/go.mod | 2 +- service/redshift/go.sum | 4 +- service/redshiftdata/go.mod | 2 +- service/redshiftdata/go.sum | 4 +- service/redshiftserverless/LICENSE.txt | 202 + service/redshiftserverless/api_client.go | 433 + service/redshiftserverless/api_client_test.go | 123 + .../api_op_ConvertRecoveryPointToSnapshot.go | 131 + .../api_op_CreateEndpointAccess.go | 138 + .../api_op_CreateNamespace.go | 150 + .../api_op_CreateSnapshot.go | 131 + .../api_op_CreateUsageLimit.go | 144 + .../api_op_CreateWorkgroup.go | 153 + .../api_op_DeleteEndpointAccess.go | 121 + .../api_op_DeleteNamespace.go | 131 + .../api_op_DeleteResourcePolicy.go | 116 + .../api_op_DeleteSnapshot.go | 121 + .../api_op_DeleteUsageLimit.go | 121 + .../api_op_DeleteWorkgroup.go | 123 + .../api_op_GetCredentials.go | 165 + .../api_op_GetEndpointAccess.go | 121 + .../redshiftserverless/api_op_GetNamespace.go | 123 + .../api_op_GetRecoveryPoint.go | 121 + .../api_op_GetResourcePolicy.go | 121 + .../redshiftserverless/api_op_GetSnapshot.go | 122 + .../api_op_GetUsageLimit.go | 121 + .../redshiftserverless/api_op_GetWorkgroup.go | 123 + .../api_op_ListEndpointAccess.go | 229 + .../api_op_ListNamespaces.go | 221 + .../api_op_ListRecoveryPoints.go | 230 + .../api_op_ListSnapshots.go | 235 + .../api_op_ListTagsForResource.go | 121 + .../api_op_ListUsageLimits.go | 226 + .../api_op_ListWorkgroups.go | 221 + .../api_op_PutResourcePolicy.go | 132 + .../api_op_RestoreFromRecoveryPoint.go | 134 + .../api_op_RestoreFromSnapshot.go | 141 + .../redshiftserverless/api_op_TagResource.go | 122 + .../api_op_UntagResource.go | 121 + .../api_op_UpdateEndpointAccess.go | 125 + .../api_op_UpdateNamespace.go | 146 + .../api_op_UpdateSnapshot.go | 124 + .../api_op_UpdateUsageLimit.go | 128 + .../api_op_UpdateWorkgroup.go | 146 + service/redshiftserverless/deserializers.go | 8532 +++++++++++++++++ service/redshiftserverless/doc.go | 23 + service/redshiftserverless/endpoints.go | 200 + service/redshiftserverless/generated.json | 64 + service/redshiftserverless/go.mod | 16 + service/redshiftserverless/go.sum | 11 + .../redshiftserverless/go_module_metadata.go | 6 + .../internal/endpoints/endpoints.go | 285 + .../internal/endpoints/endpoints_test.go | 11 + service/redshiftserverless/protocol_test.go | 3 + service/redshiftserverless/serializers.go | 3035 ++++++ service/redshiftserverless/types/enums.go | 149 + service/redshiftserverless/types/errors.go | 207 + service/redshiftserverless/types/types.go | 374 + service/redshiftserverless/validators.go | 1269 +++ service/rekognition/go.mod | 2 +- service/rekognition/go.sum | 4 +- service/resiliencehub/go.mod | 2 +- service/resiliencehub/go.sum | 4 +- service/resourcegroups/go.mod | 2 +- service/resourcegroups/go.sum | 4 +- service/resourcegroupstaggingapi/go.mod | 2 +- service/resourcegroupstaggingapi/go.sum | 4 +- service/robomaker/go.mod | 2 +- service/robomaker/go.sum | 4 +- service/route53/go.mod | 2 +- service/route53/go.sum | 4 +- service/route53domains/go.mod | 2 +- service/route53domains/go.sum | 4 +- service/route53recoverycluster/go.mod | 2 +- service/route53recoverycluster/go.sum | 4 +- service/route53recoverycontrolconfig/go.mod | 2 +- service/route53recoverycontrolconfig/go.sum | 4 +- service/route53recoveryreadiness/go.mod | 2 +- service/route53recoveryreadiness/go.sum | 4 +- service/route53resolver/go.mod | 2 +- service/route53resolver/go.sum | 4 +- service/rum/go.mod | 2 +- service/rum/go.sum | 4 +- service/s3/go.mod | 2 +- service/s3/go.sum | 4 +- service/s3/internal/configtesting/go.sum | 4 +- service/s3control/go.mod | 2 +- service/s3control/go.sum | 4 +- service/s3outposts/go.mod | 2 +- service/s3outposts/go.sum | 4 +- .../sagemaker/api_op_DescribeFeatureGroup.go | 9 + .../api_op_DescribeFeatureMetadata.go | 162 + .../sagemaker/api_op_UpdateFeatureGroup.go | 126 + .../sagemaker/api_op_UpdateFeatureMetadata.go | 132 + service/sagemaker/deserializers.go | 1885 ++-- service/sagemaker/generated.json | 3 + service/sagemaker/go.mod | 2 +- service/sagemaker/go.sum | 4 +- service/sagemaker/serializers.go | 291 + service/sagemaker/types/enums.go | 22 + service/sagemaker/types/types.go | 92 +- service/sagemaker/validators.go | 123 + service/sagemakera2iruntime/go.mod | 2 +- service/sagemakera2iruntime/go.sum | 4 +- service/sagemakeredge/go.mod | 2 +- service/sagemakeredge/go.sum | 4 +- service/sagemakerfeaturestoreruntime/go.mod | 2 +- service/sagemakerfeaturestoreruntime/go.sum | 4 +- service/sagemakerruntime/go.mod | 2 +- service/sagemakerruntime/go.sum | 4 +- service/savingsplans/go.mod | 2 +- service/savingsplans/go.sum | 4 +- service/schemas/go.mod | 2 +- service/schemas/go.sum | 4 +- service/secretsmanager/go.mod | 2 +- service/secretsmanager/go.sum | 4 +- service/securityhub/go.mod | 2 +- service/securityhub/go.sum | 4 +- .../serverlessapplicationrepository/go.mod | 2 +- .../serverlessapplicationrepository/go.sum | 4 +- service/servicecatalog/go.mod | 2 +- service/servicecatalog/go.sum | 4 +- service/servicecatalogappregistry/go.mod | 2 +- service/servicecatalogappregistry/go.sum | 4 +- service/servicediscovery/go.mod | 2 +- service/servicediscovery/go.sum | 4 +- service/servicequotas/go.mod | 2 +- service/servicequotas/go.sum | 4 +- service/ses/go.mod | 2 +- service/ses/go.sum | 4 +- service/sesv2/go.mod | 2 +- service/sesv2/go.sum | 4 +- service/sfn/go.mod | 2 +- service/sfn/go.sum | 4 +- service/shield/go.mod | 2 +- service/shield/go.sum | 4 +- service/signer/go.mod | 2 +- service/signer/go.sum | 4 +- service/sms/go.mod | 2 +- service/sms/go.sum | 4 +- service/snowball/go.mod | 2 +- service/snowball/go.sum | 4 +- service/snowdevicemanagement/go.mod | 2 +- service/snowdevicemanagement/go.sum | 4 +- service/sns/go.mod | 2 +- service/sns/go.sum | 4 +- service/sqs/go.mod | 2 +- service/sqs/go.sum | 4 +- service/ssm/go.mod | 2 +- service/ssm/go.sum | 4 +- service/ssmcontacts/go.mod | 2 +- service/ssmcontacts/go.sum | 4 +- service/ssmincidents/go.mod | 2 +- service/ssmincidents/go.sum | 4 +- service/sso/go.mod | 2 +- service/sso/go.sum | 4 +- service/ssoadmin/go.mod | 2 +- service/ssoadmin/go.sum | 4 +- service/ssooidc/go.mod | 2 +- service/ssooidc/go.sum | 4 +- .../ssooidc/internal/endpoints/endpoints.go | 8 + service/storagegateway/go.mod | 2 +- service/storagegateway/go.sum | 4 +- service/sts/go.mod | 2 +- service/sts/go.sum | 4 +- service/support/go.mod | 2 +- service/support/go.sum | 4 +- service/swf/go.mod | 2 +- service/swf/go.sum | 4 +- service/synthetics/go.mod | 2 +- service/synthetics/go.sum | 4 +- service/textract/go.mod | 2 +- service/textract/go.sum | 4 +- service/timestreamquery/go.mod | 2 +- service/timestreamquery/go.sum | 4 +- service/timestreamwrite/go.mod | 2 +- service/timestreamwrite/go.sum | 4 +- service/transcribe/go.mod | 2 +- service/transcribe/go.sum | 4 +- service/transcribestreaming/go.mod | 2 +- service/transcribestreaming/go.sum | 4 +- .../internal/testing/go.mod | 2 +- .../internal/testing/go.sum | 4 +- service/transfer/go.mod | 2 +- service/transfer/go.sum | 4 +- service/translate/api_op_GetParallelData.go | 6 +- service/translate/api_op_GetTerminology.go | 14 +- service/translate/api_op_ImportTerminology.go | 17 +- service/translate/api_op_ListLanguages.go | 221 + .../api_op_StartTextTranslationJob.go | 9 +- service/translate/api_op_TranslateText.go | 9 +- service/translate/deserializers.go | 341 + service/translate/generated.json | 1 + service/translate/go.mod | 2 +- service/translate/go.sum | 4 +- service/translate/serializers.go | 77 + service/translate/types/enums.go | 34 + service/translate/types/errors.go | 39 +- service/translate/types/types.go | 63 +- service/voiceid/go.mod | 2 +- service/voiceid/go.sum | 4 +- service/waf/go.mod | 2 +- service/waf/go.sum | 4 +- service/wafregional/go.mod | 2 +- service/wafregional/go.sum | 4 +- service/wafv2/go.mod | 2 +- service/wafv2/go.sum | 4 +- service/wellarchitected/go.mod | 2 +- service/wellarchitected/go.sum | 4 +- service/wisdom/go.mod | 2 +- service/wisdom/go.sum | 4 +- service/workdocs/go.mod | 2 +- service/workdocs/go.sum | 4 +- service/worklink/go.mod | 2 +- service/worklink/go.sum | 4 +- service/workmail/go.mod | 2 +- service/workmail/go.sum | 4 +- service/workmailmessageflow/go.mod | 2 +- service/workmailmessageflow/go.sum | 4 +- service/workspaces/go.mod | 2 +- service/workspaces/go.sum | 4 +- service/workspacesweb/go.mod | 2 +- service/workspacesweb/go.sum | 4 +- service/xray/go.mod | 2 +- service/xray/go.sum | 4 +- 789 files changed, 24969 insertions(+), 1719 deletions(-) create mode 100644 .changelog/01c04db7b4f3461f8c8b8eb01fdd8144.json create mode 100644 .changelog/196af991e6c54c4cb36754f687de4cac.json create mode 100644 .changelog/62bf42efac844782a82f2a4a8874169c.json create mode 100644 .changelog/9c5ca9374ad34e12bbfd94d1fa58f785.json create mode 100644 .changelog/b0a10cf916de4364bd27a3448d1afe66.json create mode 100644 .changelog/d5864a46d9fb479898254ad7b6d81934.json create mode 100644 .changelog/e97c8b7c1cfe4ed1946907331aa3746d.json create mode 100644 service/redshiftserverless/LICENSE.txt create mode 100644 service/redshiftserverless/api_client.go create mode 100644 service/redshiftserverless/api_client_test.go create mode 100644 service/redshiftserverless/api_op_ConvertRecoveryPointToSnapshot.go create mode 100644 service/redshiftserverless/api_op_CreateEndpointAccess.go create mode 100644 service/redshiftserverless/api_op_CreateNamespace.go create mode 100644 service/redshiftserverless/api_op_CreateSnapshot.go create mode 100644 service/redshiftserverless/api_op_CreateUsageLimit.go create mode 100644 service/redshiftserverless/api_op_CreateWorkgroup.go create mode 100644 service/redshiftserverless/api_op_DeleteEndpointAccess.go create mode 100644 service/redshiftserverless/api_op_DeleteNamespace.go create mode 100644 service/redshiftserverless/api_op_DeleteResourcePolicy.go create mode 100644 service/redshiftserverless/api_op_DeleteSnapshot.go create mode 100644 service/redshiftserverless/api_op_DeleteUsageLimit.go create mode 100644 service/redshiftserverless/api_op_DeleteWorkgroup.go create mode 100644 service/redshiftserverless/api_op_GetCredentials.go create mode 100644 service/redshiftserverless/api_op_GetEndpointAccess.go create mode 100644 service/redshiftserverless/api_op_GetNamespace.go create mode 100644 service/redshiftserverless/api_op_GetRecoveryPoint.go create mode 100644 service/redshiftserverless/api_op_GetResourcePolicy.go create mode 100644 service/redshiftserverless/api_op_GetSnapshot.go create mode 100644 service/redshiftserverless/api_op_GetUsageLimit.go create mode 100644 service/redshiftserverless/api_op_GetWorkgroup.go create mode 100644 service/redshiftserverless/api_op_ListEndpointAccess.go create mode 100644 service/redshiftserverless/api_op_ListNamespaces.go create mode 100644 service/redshiftserverless/api_op_ListRecoveryPoints.go create mode 100644 service/redshiftserverless/api_op_ListSnapshots.go create mode 100644 service/redshiftserverless/api_op_ListTagsForResource.go create mode 100644 service/redshiftserverless/api_op_ListUsageLimits.go create mode 100644 service/redshiftserverless/api_op_ListWorkgroups.go create mode 100644 service/redshiftserverless/api_op_PutResourcePolicy.go create mode 100644 service/redshiftserverless/api_op_RestoreFromRecoveryPoint.go create mode 100644 service/redshiftserverless/api_op_RestoreFromSnapshot.go create mode 100644 service/redshiftserverless/api_op_TagResource.go create mode 100644 service/redshiftserverless/api_op_UntagResource.go create mode 100644 service/redshiftserverless/api_op_UpdateEndpointAccess.go create mode 100644 service/redshiftserverless/api_op_UpdateNamespace.go create mode 100644 service/redshiftserverless/api_op_UpdateSnapshot.go create mode 100644 service/redshiftserverless/api_op_UpdateUsageLimit.go create mode 100644 service/redshiftserverless/api_op_UpdateWorkgroup.go create mode 100644 service/redshiftserverless/deserializers.go create mode 100644 service/redshiftserverless/doc.go create mode 100644 service/redshiftserverless/endpoints.go create mode 100644 service/redshiftserverless/generated.json create mode 100644 service/redshiftserverless/go.mod create mode 100644 service/redshiftserverless/go.sum create mode 100644 service/redshiftserverless/go_module_metadata.go create mode 100644 service/redshiftserverless/internal/endpoints/endpoints.go create mode 100644 service/redshiftserverless/internal/endpoints/endpoints_test.go create mode 100644 service/redshiftserverless/protocol_test.go create mode 100644 service/redshiftserverless/serializers.go create mode 100644 service/redshiftserverless/types/enums.go create mode 100644 service/redshiftserverless/types/errors.go create mode 100644 service/redshiftserverless/types/types.go create mode 100644 service/redshiftserverless/validators.go create mode 100644 service/sagemaker/api_op_DescribeFeatureMetadata.go create mode 100644 service/sagemaker/api_op_UpdateFeatureGroup.go create mode 100644 service/sagemaker/api_op_UpdateFeatureMetadata.go create mode 100644 service/translate/api_op_ListLanguages.go diff --git a/.changelog/01c04db7b4f3461f8c8b8eb01fdd8144.json b/.changelog/01c04db7b4f3461f8c8b8eb01fdd8144.json new file mode 100644 index 00000000000..ef37a231e64 --- /dev/null +++ b/.changelog/01c04db7b4f3461f8c8b8eb01fdd8144.json @@ -0,0 +1,8 @@ +{ + "id": "01c04db7-b4f3-461f-8c8b-8eb01fdd8144", + "type": "feature", + "description": "This release introduces additional optional parameter \"Throughput\" to VolumeSpecification to enable user to configure throughput for gp3 ebs volumes.", + "modules": [ + "service/emr" + ] +} \ No newline at end of file diff --git a/.changelog/196af991e6c54c4cb36754f687de4cac.json b/.changelog/196af991e6c54c4cb36754f687de4cac.json new file mode 100644 index 00000000000..a675699f3f7 --- /dev/null +++ b/.changelog/196af991e6c54c4cb36754f687de4cac.json @@ -0,0 +1,8 @@ +{ + "id": "196af991-e6c5-4c4c-b367-54f687de4cac", + "type": "feature", + "description": "Added ListLanguages API which can be used to list the languages supported by Translate.", + "modules": [ + "service/translate" + ] +} \ No newline at end of file diff --git a/.changelog/62bf42efac844782a82f2a4a8874169c.json b/.changelog/62bf42efac844782a82f2a4a8874169c.json new file mode 100644 index 00000000000..525aeebfbbf --- /dev/null +++ b/.changelog/62bf42efac844782a82f2a4a8874169c.json @@ -0,0 +1,8 @@ +{ + "id": "62bf42ef-ac84-4782-a82f-2a4a8874169c", + "type": "feature", + "description": "Includes support for StreamingExperienceSettings in CreateStack and UpdateStack APIs", + "modules": [ + "service/appstream" + ] +} \ No newline at end of file diff --git a/.changelog/9c5ca9374ad34e12bbfd94d1fa58f785.json b/.changelog/9c5ca9374ad34e12bbfd94d1fa58f785.json new file mode 100644 index 00000000000..8b7ef79f5be --- /dev/null +++ b/.changelog/9c5ca9374ad34e12bbfd94d1fa58f785.json @@ -0,0 +1,8 @@ +{ + "id": "9c5ca937-4ad3-4e12-bbfd-94d1fa58f785", + "type": "feature", + "description": "This release adds: UpdateFeatureGroup, UpdateFeatureMetadata, DescribeFeatureMetadata APIs; FeatureMetadata type in Search API; LastModifiedTime, LastUpdateStatus, OnlineStoreTotalSizeBytes in DescribeFeatureGroup API.", + "modules": [ + "service/sagemaker" + ] +} \ No newline at end of file diff --git a/.changelog/b0a10cf916de4364bd27a3448d1afe66.json b/.changelog/b0a10cf916de4364bd27a3448d1afe66.json new file mode 100644 index 00000000000..ebe4f812ed5 --- /dev/null +++ b/.changelog/b0a10cf916de4364bd27a3448d1afe66.json @@ -0,0 +1,8 @@ +{ + "id": "b0a10cf9-16de-4364-bd27-a3448d1afe66", + "type": "documentation", + "description": "This release adds two attributes for ALB. One, helps to preserve the host header and the other helps to modify, preserve, or remove the X-Forwarded-For header in the HTTP request.", + "modules": [ + "service/elasticloadbalancingv2" + ] +} \ No newline at end of file diff --git a/.changelog/d5864a46d9fb479898254ad7b6d81934.json b/.changelog/d5864a46d9fb479898254ad7b6d81934.json new file mode 100644 index 00000000000..416a7072ddf --- /dev/null +++ b/.changelog/d5864a46d9fb479898254ad7b6d81934.json @@ -0,0 +1,8 @@ +{ + "id": "d5864a46-d9fb-4798-9825-4ad7b6d81934", + "type": "feature", + "description": "Add new API operations for Amazon Redshift Serverless, a new way of using Amazon Redshift without needing to manually manage provisioned clusters. The new operations let you interact with Redshift Serverless resources, such as create snapshots, list VPC endpoints, delete resource policies, and more.", + "modules": [ + "service/redshiftserverless" + ] +} \ No newline at end of file diff --git a/.changelog/e97c8b7c1cfe4ed1946907331aa3746d.json b/.changelog/e97c8b7c1cfe4ed1946907331aa3746d.json new file mode 100644 index 00000000000..7375e50c673 --- /dev/null +++ b/.changelog/e97c8b7c1cfe4ed1946907331aa3746d.json @@ -0,0 +1,8 @@ +{ + "id": "e97c8b7c-1cfe-4ed1-9469-07331aa3746d", + "type": "feature", + "description": "This release adds support for automatic renewal of MediaLive reservations at the end of each reservation term. Automatic renewal is optional. This release also adds support for labelling accessibility-focused audio and caption tracks in HLS outputs.", + "modules": [ + "service/medialive" + ] +} \ No newline at end of file diff --git a/aws/protocol/eventstream/go.mod b/aws/protocol/eventstream/go.mod index 12347ce9e4f..e81ee6d16c1 100644 --- a/aws/protocol/eventstream/go.mod +++ b/aws/protocol/eventstream/go.mod @@ -2,6 +2,6 @@ module github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream go 1.15 -require github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 +require github.com/aws/smithy-go v1.12.0 replace github.com/aws/aws-sdk-go-v2 => ../../../ diff --git a/aws/protocol/eventstream/go.sum b/aws/protocol/eventstream/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/aws/protocol/eventstream/go.sum +++ b/aws/protocol/eventstream/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/config/go.mod b/config/go.mod index b19731e8524..0132dfe6437 100644 --- a/config/go.mod +++ b/config/go.mod @@ -9,7 +9,7 @@ require ( github.com/aws/aws-sdk-go-v2/internal/ini v1.3.13 github.com/aws/aws-sdk-go-v2/service/sso v1.11.9 github.com/aws/aws-sdk-go-v2/service/sts v1.16.7 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/google/go-cmp v0.5.8 ) diff --git a/config/go.sum b/config/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/config/go.sum +++ b/config/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/credentials/go.mod b/credentials/go.mod index 514ce8aa4c1..5b068262b65 100644 --- a/credentials/go.mod +++ b/credentials/go.mod @@ -7,7 +7,7 @@ require ( github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.12.6 github.com/aws/aws-sdk-go-v2/service/sso v1.11.9 github.com/aws/aws-sdk-go-v2/service/sts v1.16.7 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/google/go-cmp v0.5.8 ) diff --git a/credentials/go.sum b/credentials/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/credentials/go.sum +++ b/credentials/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/example/service/dynamodb/createTable/go.sum b/example/service/dynamodb/createTable/go.sum index 616ca36a561..b0e3c06c6d6 100644 --- a/example/service/dynamodb/createTable/go.sum +++ b/example/service/dynamodb/createTable/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= diff --git a/example/service/dynamodb/scanItems/go.sum b/example/service/dynamodb/scanItems/go.sum index 616ca36a561..b0e3c06c6d6 100644 --- a/example/service/dynamodb/scanItems/go.sum +++ b/example/service/dynamodb/scanItems/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= diff --git a/example/service/s3/listObjects/go.sum b/example/service/s3/listObjects/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/example/service/s3/listObjects/go.sum +++ b/example/service/s3/listObjects/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/example/service/s3/usingPrivateLink/go.sum b/example/service/s3/usingPrivateLink/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/example/service/s3/usingPrivateLink/go.sum +++ b/example/service/s3/usingPrivateLink/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/feature/cloudfront/sign/go.sum b/feature/cloudfront/sign/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/feature/cloudfront/sign/go.sum +++ b/feature/cloudfront/sign/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/feature/dynamodb/attributevalue/go.mod b/feature/dynamodb/attributevalue/go.mod index 260f79debc7..8bbbe3834b8 100644 --- a/feature/dynamodb/attributevalue/go.mod +++ b/feature/dynamodb/attributevalue/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/service/dynamodb v1.15.7 github.com/aws/aws-sdk-go-v2/service/dynamodbstreams v1.13.7 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/google/go-cmp v0.5.8 ) diff --git a/feature/dynamodb/attributevalue/go.sum b/feature/dynamodb/attributevalue/go.sum index 616ca36a561..b0e3c06c6d6 100644 --- a/feature/dynamodb/attributevalue/go.sum +++ b/feature/dynamodb/attributevalue/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= diff --git a/feature/dynamodb/expression/go.sum b/feature/dynamodb/expression/go.sum index 616ca36a561..b0e3c06c6d6 100644 --- a/feature/dynamodb/expression/go.sum +++ b/feature/dynamodb/expression/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= diff --git a/feature/dynamodbstreams/attributevalue/go.mod b/feature/dynamodbstreams/attributevalue/go.mod index 614ff6cc4d1..9c50e21b8d8 100644 --- a/feature/dynamodbstreams/attributevalue/go.mod +++ b/feature/dynamodbstreams/attributevalue/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/service/dynamodb v1.15.7 github.com/aws/aws-sdk-go-v2/service/dynamodbstreams v1.13.7 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/google/go-cmp v0.5.8 ) diff --git a/feature/dynamodbstreams/attributevalue/go.sum b/feature/dynamodbstreams/attributevalue/go.sum index 616ca36a561..b0e3c06c6d6 100644 --- a/feature/dynamodbstreams/attributevalue/go.sum +++ b/feature/dynamodbstreams/attributevalue/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= diff --git a/feature/ec2/imds/go.mod b/feature/ec2/imds/go.mod index 3f6417f97c8..07353c8ef77 100644 --- a/feature/ec2/imds/go.mod +++ b/feature/ec2/imds/go.mod @@ -4,7 +4,7 @@ go 1.15 require ( github.com/aws/aws-sdk-go-v2 v1.16.5 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/google/go-cmp v0.5.8 ) diff --git a/feature/ec2/imds/go.sum b/feature/ec2/imds/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/feature/ec2/imds/go.sum +++ b/feature/ec2/imds/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/feature/ec2/imds/internal/configtesting/go.sum b/feature/ec2/imds/internal/configtesting/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/feature/ec2/imds/internal/configtesting/go.sum +++ b/feature/ec2/imds/internal/configtesting/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/feature/rds/auth/go.sum b/feature/rds/auth/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/feature/rds/auth/go.sum +++ b/feature/rds/auth/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/feature/s3/manager/go.mod b/feature/s3/manager/go.mod index 10d5621fc98..19b37fb20cf 100644 --- a/feature/s3/manager/go.mod +++ b/feature/s3/manager/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/config v1.15.11 github.com/aws/aws-sdk-go-v2/service/s3 v1.26.11 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/google/go-cmp v0.5.8 ) diff --git a/feature/s3/manager/go.sum b/feature/s3/manager/go.sum index 616ca36a561..b0e3c06c6d6 100644 --- a/feature/s3/manager/go.sum +++ b/feature/s3/manager/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= diff --git a/go.mod b/go.mod index f84ce6f53dc..412259ad103 100644 --- a/go.mod +++ b/go.mod @@ -1,7 +1,7 @@ module github.com/aws/aws-sdk-go-v2 require ( - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/google/go-cmp v0.5.8 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/go.sum b/go.sum index 616ca36a561..b0e3c06c6d6 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= diff --git a/internal/configsources/configtesting/go.sum b/internal/configsources/configtesting/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/internal/configsources/configtesting/go.sum +++ b/internal/configsources/configtesting/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/internal/configsources/go.sum b/internal/configsources/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/internal/configsources/go.sum +++ b/internal/configsources/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/internal/endpoints/v2/go.mod b/internal/endpoints/v2/go.mod index 07e555fa417..ca0f13544cb 100644 --- a/internal/endpoints/v2/go.mod +++ b/internal/endpoints/v2/go.mod @@ -4,7 +4,7 @@ go 1.15 require ( github.com/aws/aws-sdk-go-v2 v1.16.5 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/google/go-cmp v0.5.8 ) diff --git a/internal/endpoints/v2/go.sum b/internal/endpoints/v2/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/internal/endpoints/v2/go.sum +++ b/internal/endpoints/v2/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/internal/ini/go.sum b/internal/ini/go.sum index 0ac410ba753..597148b56cb 100644 --- a/internal/ini/go.sum +++ b/internal/ini/go.sum @@ -1,4 +1,4 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= diff --git a/internal/protocoltest/awsrestjson/go.mod b/internal/protocoltest/awsrestjson/go.mod index 95d7e4e63c6..45c36df5dde 100644 --- a/internal/protocoltest/awsrestjson/go.mod +++ b/internal/protocoltest/awsrestjson/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/google/go-cmp v0.5.8 ) diff --git a/internal/protocoltest/awsrestjson/go.sum b/internal/protocoltest/awsrestjson/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/internal/protocoltest/awsrestjson/go.sum +++ b/internal/protocoltest/awsrestjson/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/internal/protocoltest/ec2query/go.mod b/internal/protocoltest/ec2query/go.mod index 3b1788baab4..3f6f674fcb3 100644 --- a/internal/protocoltest/ec2query/go.mod +++ b/internal/protocoltest/ec2query/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/google/go-cmp v0.5.8 ) diff --git a/internal/protocoltest/ec2query/go.sum b/internal/protocoltest/ec2query/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/internal/protocoltest/ec2query/go.sum +++ b/internal/protocoltest/ec2query/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/internal/protocoltest/jsonrpc/go.mod b/internal/protocoltest/jsonrpc/go.mod index 15d91ef35f3..05573d216d7 100644 --- a/internal/protocoltest/jsonrpc/go.mod +++ b/internal/protocoltest/jsonrpc/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/google/go-cmp v0.5.8 ) diff --git a/internal/protocoltest/jsonrpc/go.sum b/internal/protocoltest/jsonrpc/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/internal/protocoltest/jsonrpc/go.sum +++ b/internal/protocoltest/jsonrpc/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/internal/protocoltest/jsonrpc10/go.mod b/internal/protocoltest/jsonrpc10/go.mod index 8f61e4614db..220084b6688 100644 --- a/internal/protocoltest/jsonrpc10/go.mod +++ b/internal/protocoltest/jsonrpc10/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/google/go-cmp v0.5.8 ) diff --git a/internal/protocoltest/jsonrpc10/go.sum b/internal/protocoltest/jsonrpc10/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/internal/protocoltest/jsonrpc10/go.sum +++ b/internal/protocoltest/jsonrpc10/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/internal/protocoltest/query/go.mod b/internal/protocoltest/query/go.mod index e6aae2696ff..31dbfffe130 100644 --- a/internal/protocoltest/query/go.mod +++ b/internal/protocoltest/query/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/google/go-cmp v0.5.8 ) diff --git a/internal/protocoltest/query/go.sum b/internal/protocoltest/query/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/internal/protocoltest/query/go.sum +++ b/internal/protocoltest/query/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/internal/protocoltest/restxml/go.mod b/internal/protocoltest/restxml/go.mod index cd373dae0bb..07889cd5e89 100644 --- a/internal/protocoltest/restxml/go.mod +++ b/internal/protocoltest/restxml/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/google/go-cmp v0.5.8 ) diff --git a/internal/protocoltest/restxml/go.sum b/internal/protocoltest/restxml/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/internal/protocoltest/restxml/go.sum +++ b/internal/protocoltest/restxml/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/internal/protocoltest/restxmlwithnamespace/go.mod b/internal/protocoltest/restxmlwithnamespace/go.mod index 38c4fe89fbb..7fba1e6d369 100644 --- a/internal/protocoltest/restxmlwithnamespace/go.mod +++ b/internal/protocoltest/restxmlwithnamespace/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/google/go-cmp v0.5.8 ) diff --git a/internal/protocoltest/restxmlwithnamespace/go.sum b/internal/protocoltest/restxmlwithnamespace/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/internal/protocoltest/restxmlwithnamespace/go.sum +++ b/internal/protocoltest/restxmlwithnamespace/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/internal/v4a/go.mod b/internal/v4a/go.mod index 2312255901c..9b64b3eee01 100644 --- a/internal/v4a/go.mod +++ b/internal/v4a/go.mod @@ -4,7 +4,7 @@ go 1.15 require ( github.com/aws/aws-sdk-go-v2 v1.16.5 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/google/go-cmp v0.5.8 ) diff --git a/internal/v4a/go.sum b/internal/v4a/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/internal/v4a/go.sum +++ b/internal/v4a/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/accessanalyzer/go.mod b/service/accessanalyzer/go.mod index a5eb9f3af25..f6fe78a0df3 100644 --- a/service/accessanalyzer/go.mod +++ b/service/accessanalyzer/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/accessanalyzer/go.sum b/service/accessanalyzer/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/accessanalyzer/go.sum +++ b/service/accessanalyzer/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/account/go.mod b/service/account/go.mod index e1fcdcfe2f5..2018c41c5f2 100644 --- a/service/account/go.mod +++ b/service/account/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/account/go.sum b/service/account/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/account/go.sum +++ b/service/account/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/acm/go.mod b/service/acm/go.mod index 6e65fce3fba..116d53c7352 100644 --- a/service/acm/go.mod +++ b/service/acm/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/acm/go.sum b/service/acm/go.sum index 616ca36a561..b0e3c06c6d6 100644 --- a/service/acm/go.sum +++ b/service/acm/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= diff --git a/service/acmpca/go.mod b/service/acmpca/go.mod index 6df65de07d9..a64b97ce4ae 100644 --- a/service/acmpca/go.mod +++ b/service/acmpca/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/acmpca/go.sum b/service/acmpca/go.sum index 616ca36a561..b0e3c06c6d6 100644 --- a/service/acmpca/go.sum +++ b/service/acmpca/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= diff --git a/service/alexaforbusiness/go.mod b/service/alexaforbusiness/go.mod index 7ad33ac5db1..24a8d6d8757 100644 --- a/service/alexaforbusiness/go.mod +++ b/service/alexaforbusiness/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/alexaforbusiness/go.sum b/service/alexaforbusiness/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/alexaforbusiness/go.sum +++ b/service/alexaforbusiness/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/amp/go.mod b/service/amp/go.mod index 007318c0d95..03a1c10ff93 100644 --- a/service/amp/go.mod +++ b/service/amp/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/amp/go.sum b/service/amp/go.sum index 616ca36a561..b0e3c06c6d6 100644 --- a/service/amp/go.sum +++ b/service/amp/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= diff --git a/service/amplify/go.mod b/service/amplify/go.mod index f8fa777327d..fc2385cb98c 100644 --- a/service/amplify/go.mod +++ b/service/amplify/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/amplify/go.sum b/service/amplify/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/amplify/go.sum +++ b/service/amplify/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/amplifybackend/go.mod b/service/amplifybackend/go.mod index d58ae28fe0d..b205823dd1d 100644 --- a/service/amplifybackend/go.mod +++ b/service/amplifybackend/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/amplifybackend/go.sum b/service/amplifybackend/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/amplifybackend/go.sum +++ b/service/amplifybackend/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/amplifyuibuilder/go.mod b/service/amplifyuibuilder/go.mod index d8df7d44530..ddc23b2058a 100644 --- a/service/amplifyuibuilder/go.mod +++ b/service/amplifyuibuilder/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/amplifyuibuilder/go.sum b/service/amplifyuibuilder/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/amplifyuibuilder/go.sum +++ b/service/amplifyuibuilder/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/apigateway/go.mod b/service/apigateway/go.mod index 5e60c9d94ce..b9babc80698 100644 --- a/service/apigateway/go.mod +++ b/service/apigateway/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/apigateway/go.sum b/service/apigateway/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/apigateway/go.sum +++ b/service/apigateway/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/apigatewaymanagementapi/go.mod b/service/apigatewaymanagementapi/go.mod index 8e9294ecd86..2078b94830c 100644 --- a/service/apigatewaymanagementapi/go.mod +++ b/service/apigatewaymanagementapi/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/apigatewaymanagementapi/go.sum b/service/apigatewaymanagementapi/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/apigatewaymanagementapi/go.sum +++ b/service/apigatewaymanagementapi/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/apigatewayv2/go.mod b/service/apigatewayv2/go.mod index 0632d5f0208..427d2722e3e 100644 --- a/service/apigatewayv2/go.mod +++ b/service/apigatewayv2/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/apigatewayv2/go.sum b/service/apigatewayv2/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/apigatewayv2/go.sum +++ b/service/apigatewayv2/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/appconfig/go.mod b/service/appconfig/go.mod index 9ed7ce62ebe..0664451cbfb 100644 --- a/service/appconfig/go.mod +++ b/service/appconfig/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/appconfig/go.sum b/service/appconfig/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/appconfig/go.sum +++ b/service/appconfig/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/appconfigdata/go.mod b/service/appconfigdata/go.mod index 18305acdfb3..dab64aeb3e4 100644 --- a/service/appconfigdata/go.mod +++ b/service/appconfigdata/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/appconfigdata/go.sum b/service/appconfigdata/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/appconfigdata/go.sum +++ b/service/appconfigdata/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/appflow/go.mod b/service/appflow/go.mod index 8806eeb3a7c..b0a2edd4f68 100644 --- a/service/appflow/go.mod +++ b/service/appflow/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/appflow/go.sum b/service/appflow/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/appflow/go.sum +++ b/service/appflow/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/appintegrations/go.mod b/service/appintegrations/go.mod index 8d23c8abb25..dc7aa2d7a43 100644 --- a/service/appintegrations/go.mod +++ b/service/appintegrations/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/appintegrations/go.sum b/service/appintegrations/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/appintegrations/go.sum +++ b/service/appintegrations/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/applicationautoscaling/go.mod b/service/applicationautoscaling/go.mod index 8346b47b716..08ab34576fd 100644 --- a/service/applicationautoscaling/go.mod +++ b/service/applicationautoscaling/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/applicationautoscaling/go.sum b/service/applicationautoscaling/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/applicationautoscaling/go.sum +++ b/service/applicationautoscaling/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/applicationcostprofiler/go.mod b/service/applicationcostprofiler/go.mod index 0597d2c65ae..e5b9171d4ef 100644 --- a/service/applicationcostprofiler/go.mod +++ b/service/applicationcostprofiler/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/applicationcostprofiler/go.sum b/service/applicationcostprofiler/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/applicationcostprofiler/go.sum +++ b/service/applicationcostprofiler/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/applicationdiscoveryservice/go.mod b/service/applicationdiscoveryservice/go.mod index 11289238cd1..61bb762e3ad 100644 --- a/service/applicationdiscoveryservice/go.mod +++ b/service/applicationdiscoveryservice/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/applicationdiscoveryservice/go.sum b/service/applicationdiscoveryservice/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/applicationdiscoveryservice/go.sum +++ b/service/applicationdiscoveryservice/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/applicationinsights/go.mod b/service/applicationinsights/go.mod index cb7d6a869d2..7f8a09750b2 100644 --- a/service/applicationinsights/go.mod +++ b/service/applicationinsights/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/applicationinsights/go.sum b/service/applicationinsights/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/applicationinsights/go.sum +++ b/service/applicationinsights/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/appmesh/go.mod b/service/appmesh/go.mod index 90f1b513179..d112e57a7e0 100644 --- a/service/appmesh/go.mod +++ b/service/appmesh/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/appmesh/go.sum b/service/appmesh/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/appmesh/go.sum +++ b/service/appmesh/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/apprunner/go.mod b/service/apprunner/go.mod index 3abfe8fe0cb..937be558512 100644 --- a/service/apprunner/go.mod +++ b/service/apprunner/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/apprunner/go.sum b/service/apprunner/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/apprunner/go.sum +++ b/service/apprunner/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/appstream/api_op_CreateStack.go b/service/appstream/api_op_CreateStack.go index ccb464835af..66ee2c86697 100644 --- a/service/appstream/api_op_CreateStack.go +++ b/service/appstream/api_op_CreateStack.go @@ -65,6 +65,10 @@ type CreateStackInput struct { // The storage connectors to enable. StorageConnectors []types.StorageConnector + // The streaming protocol you want your stack to prefer. This can be UDP or TCP. + // Currently, UDP is only supported in the Windows native client. + StreamingExperienceSettings *types.StreamingExperienceSettings + // The tags to associate with the stack. A tag is a key-value pair, and the value // is optional. For example, Environment=Test. If you do not specify a value, // Environment=. If you do not specify a value, the value is set to an empty diff --git a/service/appstream/api_op_UpdateFleet.go b/service/appstream/api_op_UpdateFleet.go index 3df5320d1db..8428f3ce998 100644 --- a/service/appstream/api_op_UpdateFleet.go +++ b/service/appstream/api_op_UpdateFleet.go @@ -22,10 +22,11 @@ import ( // // * Elastic fleet type You can update the DisplayName, // IdleDisconnectTimeoutInSeconds, DisconnectTimeoutInSeconds, -// MaxConcurrentSessions, and UsbDeviceFilterStrings attributes. +// MaxConcurrentSessions, SessionScriptS3Location and UsbDeviceFilterStrings +// attributes. // -// If the fleet is -// in the STARTING or STOPPED state, you can't update it. +// If the fleet is in the STARTING or STOPPED state, you can't update +// it. func (c *Client) UpdateFleet(ctx context.Context, params *UpdateFleetInput, optFns ...func(*Options)) (*UpdateFleetOutput, error) { if params == nil { params = &UpdateFleetInput{} diff --git a/service/appstream/api_op_UpdateStack.go b/service/appstream/api_op_UpdateStack.go index 3370a94dea2..2ed834c1919 100644 --- a/service/appstream/api_op_UpdateStack.go +++ b/service/appstream/api_op_UpdateStack.go @@ -72,6 +72,10 @@ type UpdateStackInput struct { // The storage connectors to enable. StorageConnectors []types.StorageConnector + // The streaming protocol you want your stack to prefer. This can be UDP or TCP. + // Currently, UDP is only supported in the Windows native client. + StreamingExperienceSettings *types.StreamingExperienceSettings + // The actions that are enabled or disabled for users during their streaming // sessions. By default, these actions are enabled. UserSettings []types.UserSetting diff --git a/service/appstream/deserializers.go b/service/appstream/deserializers.go index b133196f170..bbc2404df4d 100644 --- a/service/appstream/deserializers.go +++ b/service/appstream/deserializers.go @@ -11739,6 +11739,11 @@ func awsAwsjson11_deserializeDocumentStack(v **types.Stack, value interface{}) e return err } + case "StreamingExperienceSettings": + if err := awsAwsjson11_deserializeDocumentStreamingExperienceSettings(&sv.StreamingExperienceSettings, value); err != nil { + return err + } + case "UserSettings": if err := awsAwsjson11_deserializeDocumentUserSettingList(&sv.UserSettings, value); err != nil { return err @@ -11958,6 +11963,46 @@ func awsAwsjson11_deserializeDocumentStorageConnectorList(v *[]types.StorageConn return nil } +func awsAwsjson11_deserializeDocumentStreamingExperienceSettings(v **types.StreamingExperienceSettings, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.StreamingExperienceSettings + if *v == nil { + sv = &types.StreamingExperienceSettings{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "PreferredProtocol": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected PreferredProtocol to be of type string, got %T instead", value) + } + sv.PreferredProtocol = types.PreferredProtocol(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + func awsAwsjson11_deserializeDocumentStringList(v *[]string, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) diff --git a/service/appstream/go.mod b/service/appstream/go.mod index 69cfec3c9f3..36d064a0d9e 100644 --- a/service/appstream/go.mod +++ b/service/appstream/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/appstream/go.sum b/service/appstream/go.sum index 616ca36a561..b0e3c06c6d6 100644 --- a/service/appstream/go.sum +++ b/service/appstream/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= diff --git a/service/appstream/serializers.go b/service/appstream/serializers.go index 8ed3185b1ed..1bb34c496b0 100644 --- a/service/appstream/serializers.go +++ b/service/appstream/serializers.go @@ -3933,6 +3933,18 @@ func awsAwsjson11_serializeDocumentStorageConnectorList(v []types.StorageConnect return nil } +func awsAwsjson11_serializeDocumentStreamingExperienceSettings(v *types.StreamingExperienceSettings, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if len(v.PreferredProtocol) > 0 { + ok := object.Key("PreferredProtocol") + ok.String(string(v.PreferredProtocol)) + } + + return nil +} + func awsAwsjson11_serializeDocumentStringList(v []string, value smithyjson.Value) error { array := value.Array() defer array.Close() @@ -4641,6 +4653,13 @@ func awsAwsjson11_serializeOpDocumentCreateStackInput(v *CreateStackInput, value } } + if v.StreamingExperienceSettings != nil { + ok := object.Key("StreamingExperienceSettings") + if err := awsAwsjson11_serializeDocumentStreamingExperienceSettings(v.StreamingExperienceSettings, ok); err != nil { + return err + } + } + if v.Tags != nil { ok := object.Key("Tags") if err := awsAwsjson11_serializeDocumentTags(v.Tags, ok); err != nil { @@ -5875,6 +5894,13 @@ func awsAwsjson11_serializeOpDocumentUpdateStackInput(v *UpdateStackInput, value } } + if v.StreamingExperienceSettings != nil { + ok := object.Key("StreamingExperienceSettings") + if err := awsAwsjson11_serializeDocumentStreamingExperienceSettings(v.StreamingExperienceSettings, ok); err != nil { + return err + } + } + if v.UserSettings != nil { ok := object.Key("UserSettings") if err := awsAwsjson11_serializeDocumentUserSettingList(v.UserSettings, ok); err != nil { diff --git a/service/appstream/types/enums.go b/service/appstream/types/enums.go index b7c34deb730..c0890712d55 100644 --- a/service/appstream/types/enums.go +++ b/service/appstream/types/enums.go @@ -405,6 +405,24 @@ func (PlatformType) Values() []PlatformType { } } +type PreferredProtocol string + +// Enum values for PreferredProtocol +const ( + PreferredProtocolTcp PreferredProtocol = "TCP" + PreferredProtocolUdp PreferredProtocol = "UDP" +) + +// Values returns all known values for PreferredProtocol. Note that this can be +// expanded in the future, and so it is only as up to date as the client. The +// ordering of this slice is not guaranteed to be stable across updates. +func (PreferredProtocol) Values() []PreferredProtocol { + return []PreferredProtocol{ + "TCP", + "UDP", + } +} + type SessionConnectionState string // Enum values for SessionConnectionState @@ -458,6 +476,7 @@ const ( StackAttributeEmbedHostDomains StackAttribute = "EMBED_HOST_DOMAINS" StackAttributeIamRoleArn StackAttribute = "IAM_ROLE_ARN" StackAttributeAccessEndpoints StackAttribute = "ACCESS_ENDPOINTS" + StackAttributeStreamingExperienceSettings StackAttribute = "STREAMING_EXPERIENCE_SETTINGS" ) // Values returns all known values for StackAttribute. Note that this can be @@ -476,6 +495,7 @@ func (StackAttribute) Values() []StackAttribute { "EMBED_HOST_DOMAINS", "IAM_ROLE_ARN", "ACCESS_ENDPOINTS", + "STREAMING_EXPERIENCE_SETTINGS", } } diff --git a/service/appstream/types/types.go b/service/appstream/types/types.go index 4e5fc74be0b..045aeea44aa 100644 --- a/service/appstream/types/types.go +++ b/service/appstream/types/types.go @@ -1020,6 +1020,10 @@ type Stack struct { // The storage connectors to enable. StorageConnectors []StorageConnector + // The streaming protocol you want your stack to prefer. This can be UDP or TCP. + // Currently, UDP is only supported in the Windows native client. + StreamingExperienceSettings *StreamingExperienceSettings + // The actions that are enabled or disabled for users during their streaming // sessions. By default these actions are enabled. UserSettings []UserSetting @@ -1056,6 +1060,16 @@ type StorageConnector struct { noSmithyDocumentSerde } +// The streaming protocol you want your stack to prefer. This can be UDP or TCP. +// Currently, UDP is only supported in the Windows native client. +type StreamingExperienceSettings struct { + + // The preferred protocol that you want to use while streaming your application. + PreferredProtocol PreferredProtocol + + noSmithyDocumentSerde +} + // Describes information about the usage report subscription. type UsageReportSubscription struct { diff --git a/service/appsync/go.mod b/service/appsync/go.mod index 294de5d5940..8fbd8fa2151 100644 --- a/service/appsync/go.mod +++ b/service/appsync/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/appsync/go.sum b/service/appsync/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/appsync/go.sum +++ b/service/appsync/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/athena/go.mod b/service/athena/go.mod index 34ad7e47ff0..975155779e1 100644 --- a/service/athena/go.mod +++ b/service/athena/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/athena/go.sum b/service/athena/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/athena/go.sum +++ b/service/athena/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/auditmanager/go.mod b/service/auditmanager/go.mod index e0a706c8255..df5cfc3d5f3 100644 --- a/service/auditmanager/go.mod +++ b/service/auditmanager/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/auditmanager/go.sum b/service/auditmanager/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/auditmanager/go.sum +++ b/service/auditmanager/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/autoscaling/go.mod b/service/autoscaling/go.mod index 73cc45a1323..f80967494a4 100644 --- a/service/autoscaling/go.mod +++ b/service/autoscaling/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/autoscaling/go.sum b/service/autoscaling/go.sum index 616ca36a561..b0e3c06c6d6 100644 --- a/service/autoscaling/go.sum +++ b/service/autoscaling/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= diff --git a/service/autoscalingplans/go.mod b/service/autoscalingplans/go.mod index e7621ece17a..b2cf160fff4 100644 --- a/service/autoscalingplans/go.mod +++ b/service/autoscalingplans/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/autoscalingplans/go.sum b/service/autoscalingplans/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/autoscalingplans/go.sum +++ b/service/autoscalingplans/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/backup/go.mod b/service/backup/go.mod index e47ceeff5a9..1fc6188fa74 100644 --- a/service/backup/go.mod +++ b/service/backup/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/backup/go.sum b/service/backup/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/backup/go.sum +++ b/service/backup/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/backupgateway/go.mod b/service/backupgateway/go.mod index 6fff06727be..7326145ab09 100644 --- a/service/backupgateway/go.mod +++ b/service/backupgateway/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/backupgateway/go.sum b/service/backupgateway/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/backupgateway/go.sum +++ b/service/backupgateway/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/batch/go.mod b/service/batch/go.mod index fefc2461b11..7a80eed9f11 100644 --- a/service/batch/go.mod +++ b/service/batch/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/batch/go.sum b/service/batch/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/batch/go.sum +++ b/service/batch/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/billingconductor/go.mod b/service/billingconductor/go.mod index 37275cd3e21..bcc4564ae07 100644 --- a/service/billingconductor/go.mod +++ b/service/billingconductor/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/billingconductor/go.sum b/service/billingconductor/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/billingconductor/go.sum +++ b/service/billingconductor/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/braket/go.mod b/service/braket/go.mod index 7787b820be4..3de0c7a40cf 100644 --- a/service/braket/go.mod +++ b/service/braket/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/braket/go.sum b/service/braket/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/braket/go.sum +++ b/service/braket/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/budgets/go.mod b/service/budgets/go.mod index 36822c02eb9..9b118c299f1 100644 --- a/service/budgets/go.mod +++ b/service/budgets/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/budgets/go.sum b/service/budgets/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/budgets/go.sum +++ b/service/budgets/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/chime/go.mod b/service/chime/go.mod index 54ba1a5aec5..90d501405df 100644 --- a/service/chime/go.mod +++ b/service/chime/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/chime/go.sum b/service/chime/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/chime/go.sum +++ b/service/chime/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/chimesdkidentity/go.mod b/service/chimesdkidentity/go.mod index e7bb9a84fc7..4abcdf6eccb 100644 --- a/service/chimesdkidentity/go.mod +++ b/service/chimesdkidentity/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/chimesdkidentity/go.sum b/service/chimesdkidentity/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/chimesdkidentity/go.sum +++ b/service/chimesdkidentity/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/chimesdkmediapipelines/go.mod b/service/chimesdkmediapipelines/go.mod index 156d429dfec..26e445e1471 100644 --- a/service/chimesdkmediapipelines/go.mod +++ b/service/chimesdkmediapipelines/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/chimesdkmediapipelines/go.sum b/service/chimesdkmediapipelines/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/chimesdkmediapipelines/go.sum +++ b/service/chimesdkmediapipelines/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/chimesdkmeetings/go.mod b/service/chimesdkmeetings/go.mod index 34080634316..59d73528328 100644 --- a/service/chimesdkmeetings/go.mod +++ b/service/chimesdkmeetings/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/chimesdkmeetings/go.sum b/service/chimesdkmeetings/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/chimesdkmeetings/go.sum +++ b/service/chimesdkmeetings/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/chimesdkmessaging/go.mod b/service/chimesdkmessaging/go.mod index 0ee3b5fc9a6..cb203fe7d19 100644 --- a/service/chimesdkmessaging/go.mod +++ b/service/chimesdkmessaging/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/chimesdkmessaging/go.sum b/service/chimesdkmessaging/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/chimesdkmessaging/go.sum +++ b/service/chimesdkmessaging/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/cloud9/go.mod b/service/cloud9/go.mod index d4d8b3c9a4c..a20a1f07dc8 100644 --- a/service/cloud9/go.mod +++ b/service/cloud9/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/cloud9/go.sum b/service/cloud9/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/cloud9/go.sum +++ b/service/cloud9/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/cloudcontrol/go.mod b/service/cloudcontrol/go.mod index ffd76490dfd..20483217aaa 100644 --- a/service/cloudcontrol/go.mod +++ b/service/cloudcontrol/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/cloudcontrol/go.sum b/service/cloudcontrol/go.sum index 616ca36a561..b0e3c06c6d6 100644 --- a/service/cloudcontrol/go.sum +++ b/service/cloudcontrol/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= diff --git a/service/clouddirectory/go.mod b/service/clouddirectory/go.mod index 9df1e1c434a..0188702c26d 100644 --- a/service/clouddirectory/go.mod +++ b/service/clouddirectory/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/clouddirectory/go.sum b/service/clouddirectory/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/clouddirectory/go.sum +++ b/service/clouddirectory/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/cloudformation/go.mod b/service/cloudformation/go.mod index b0ea3b5986e..ed6f2f3c6c6 100644 --- a/service/cloudformation/go.mod +++ b/service/cloudformation/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/cloudformation/go.sum b/service/cloudformation/go.sum index 616ca36a561..b0e3c06c6d6 100644 --- a/service/cloudformation/go.sum +++ b/service/cloudformation/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= diff --git a/service/cloudfront/go.mod b/service/cloudfront/go.mod index 33a4e0156dc..5882db89aac 100644 --- a/service/cloudfront/go.mod +++ b/service/cloudfront/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/cloudfront/go.sum b/service/cloudfront/go.sum index 616ca36a561..b0e3c06c6d6 100644 --- a/service/cloudfront/go.sum +++ b/service/cloudfront/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= diff --git a/service/cloudhsm/go.mod b/service/cloudhsm/go.mod index 07e3e38eef5..cb469062868 100644 --- a/service/cloudhsm/go.mod +++ b/service/cloudhsm/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/cloudhsm/go.sum b/service/cloudhsm/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/cloudhsm/go.sum +++ b/service/cloudhsm/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/cloudhsmv2/go.mod b/service/cloudhsmv2/go.mod index 2a95f30a2a2..147dae6acc5 100644 --- a/service/cloudhsmv2/go.mod +++ b/service/cloudhsmv2/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/cloudhsmv2/go.sum b/service/cloudhsmv2/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/cloudhsmv2/go.sum +++ b/service/cloudhsmv2/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/cloudsearch/go.mod b/service/cloudsearch/go.mod index 9cf1c151d7e..49e550c5c7e 100644 --- a/service/cloudsearch/go.mod +++ b/service/cloudsearch/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/cloudsearch/go.sum b/service/cloudsearch/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/cloudsearch/go.sum +++ b/service/cloudsearch/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/cloudsearchdomain/go.mod b/service/cloudsearchdomain/go.mod index c66051ed04b..285c0502c0c 100644 --- a/service/cloudsearchdomain/go.mod +++ b/service/cloudsearchdomain/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/cloudsearchdomain/go.sum b/service/cloudsearchdomain/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/cloudsearchdomain/go.sum +++ b/service/cloudsearchdomain/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/cloudtrail/go.mod b/service/cloudtrail/go.mod index ae35355b139..704143eaf0d 100644 --- a/service/cloudtrail/go.mod +++ b/service/cloudtrail/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/cloudtrail/go.sum b/service/cloudtrail/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/cloudtrail/go.sum +++ b/service/cloudtrail/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/cloudwatch/go.mod b/service/cloudwatch/go.mod index cb51db362bc..62197a93011 100644 --- a/service/cloudwatch/go.mod +++ b/service/cloudwatch/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/cloudwatch/go.sum b/service/cloudwatch/go.sum index 616ca36a561..b0e3c06c6d6 100644 --- a/service/cloudwatch/go.sum +++ b/service/cloudwatch/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= diff --git a/service/cloudwatchevents/go.mod b/service/cloudwatchevents/go.mod index e345e492fac..ca2fc560526 100644 --- a/service/cloudwatchevents/go.mod +++ b/service/cloudwatchevents/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/cloudwatchevents/go.sum b/service/cloudwatchevents/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/cloudwatchevents/go.sum +++ b/service/cloudwatchevents/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/cloudwatchlogs/go.mod b/service/cloudwatchlogs/go.mod index 9a4d128d63d..4793bb7f9cf 100644 --- a/service/cloudwatchlogs/go.mod +++ b/service/cloudwatchlogs/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/cloudwatchlogs/go.sum b/service/cloudwatchlogs/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/cloudwatchlogs/go.sum +++ b/service/cloudwatchlogs/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/codeartifact/go.mod b/service/codeartifact/go.mod index 93566ea8b02..15346612641 100644 --- a/service/codeartifact/go.mod +++ b/service/codeartifact/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/codeartifact/go.sum b/service/codeartifact/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/codeartifact/go.sum +++ b/service/codeartifact/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/codebuild/go.mod b/service/codebuild/go.mod index f517aaff6a1..e6a8ac2ba78 100644 --- a/service/codebuild/go.mod +++ b/service/codebuild/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/codebuild/go.sum b/service/codebuild/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/codebuild/go.sum +++ b/service/codebuild/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/codebuild/internal/endpoints/endpoints.go b/service/codebuild/internal/endpoints/endpoints.go index 98bf614c822..3efc60f6ba6 100644 --- a/service/codebuild/internal/endpoints/endpoints.go +++ b/service/codebuild/internal/endpoints/endpoints.go @@ -159,6 +159,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "ap-southeast-2", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "ap-southeast-3", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "ca-central-1", }: endpoints.Endpoint{}, diff --git a/service/codecommit/go.mod b/service/codecommit/go.mod index 0710b16df5a..7c323f0d056 100644 --- a/service/codecommit/go.mod +++ b/service/codecommit/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/codecommit/go.sum b/service/codecommit/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/codecommit/go.sum +++ b/service/codecommit/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/codedeploy/go.mod b/service/codedeploy/go.mod index 21bb6d3f7e0..bd0398373e2 100644 --- a/service/codedeploy/go.mod +++ b/service/codedeploy/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/codedeploy/go.sum b/service/codedeploy/go.sum index 616ca36a561..b0e3c06c6d6 100644 --- a/service/codedeploy/go.sum +++ b/service/codedeploy/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= diff --git a/service/codeguruprofiler/go.mod b/service/codeguruprofiler/go.mod index d5be1da01f2..8f5d223c184 100644 --- a/service/codeguruprofiler/go.mod +++ b/service/codeguruprofiler/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/codeguruprofiler/go.sum b/service/codeguruprofiler/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/codeguruprofiler/go.sum +++ b/service/codeguruprofiler/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/codegurureviewer/go.mod b/service/codegurureviewer/go.mod index 24f0e7051e3..ba2371ee1ae 100644 --- a/service/codegurureviewer/go.mod +++ b/service/codegurureviewer/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/codegurureviewer/go.sum b/service/codegurureviewer/go.sum index 616ca36a561..b0e3c06c6d6 100644 --- a/service/codegurureviewer/go.sum +++ b/service/codegurureviewer/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= diff --git a/service/codepipeline/go.mod b/service/codepipeline/go.mod index 361a725664d..7f3ceffefa7 100644 --- a/service/codepipeline/go.mod +++ b/service/codepipeline/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/codepipeline/go.sum b/service/codepipeline/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/codepipeline/go.sum +++ b/service/codepipeline/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/codestar/go.mod b/service/codestar/go.mod index 6910c1b3962..78f631ab5b3 100644 --- a/service/codestar/go.mod +++ b/service/codestar/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/codestar/go.sum b/service/codestar/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/codestar/go.sum +++ b/service/codestar/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/codestarconnections/go.mod b/service/codestarconnections/go.mod index 673c45f0fdd..479c71affed 100644 --- a/service/codestarconnections/go.mod +++ b/service/codestarconnections/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/codestarconnections/go.sum b/service/codestarconnections/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/codestarconnections/go.sum +++ b/service/codestarconnections/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/codestarnotifications/go.mod b/service/codestarnotifications/go.mod index c11cf040311..650bd4cb1bb 100644 --- a/service/codestarnotifications/go.mod +++ b/service/codestarnotifications/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/codestarnotifications/go.sum b/service/codestarnotifications/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/codestarnotifications/go.sum +++ b/service/codestarnotifications/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/cognitoidentity/go.mod b/service/cognitoidentity/go.mod index cd66b95425a..d6a7f3cf046 100644 --- a/service/cognitoidentity/go.mod +++ b/service/cognitoidentity/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/cognitoidentity/go.sum b/service/cognitoidentity/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/cognitoidentity/go.sum +++ b/service/cognitoidentity/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/cognitoidentityprovider/go.mod b/service/cognitoidentityprovider/go.mod index 9072e01ca80..bec80e24256 100644 --- a/service/cognitoidentityprovider/go.mod +++ b/service/cognitoidentityprovider/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/cognitoidentityprovider/go.sum b/service/cognitoidentityprovider/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/cognitoidentityprovider/go.sum +++ b/service/cognitoidentityprovider/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/cognitosync/go.mod b/service/cognitosync/go.mod index 58f3644cfd8..baa0672a384 100644 --- a/service/cognitosync/go.mod +++ b/service/cognitosync/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/cognitosync/go.sum b/service/cognitosync/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/cognitosync/go.sum +++ b/service/cognitosync/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/comprehend/go.mod b/service/comprehend/go.mod index 1b3d5f44e65..8472c583bd9 100644 --- a/service/comprehend/go.mod +++ b/service/comprehend/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/comprehend/go.sum b/service/comprehend/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/comprehend/go.sum +++ b/service/comprehend/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/comprehendmedical/go.mod b/service/comprehendmedical/go.mod index eaf273e0f20..bb81ad3f161 100644 --- a/service/comprehendmedical/go.mod +++ b/service/comprehendmedical/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/comprehendmedical/go.sum b/service/comprehendmedical/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/comprehendmedical/go.sum +++ b/service/comprehendmedical/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/computeoptimizer/go.mod b/service/computeoptimizer/go.mod index aa6d6d8687f..a9a965853b2 100644 --- a/service/computeoptimizer/go.mod +++ b/service/computeoptimizer/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/computeoptimizer/go.sum b/service/computeoptimizer/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/computeoptimizer/go.sum +++ b/service/computeoptimizer/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/configservice/go.mod b/service/configservice/go.mod index c89c704493e..e119d46fdbd 100644 --- a/service/configservice/go.mod +++ b/service/configservice/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/configservice/go.sum b/service/configservice/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/configservice/go.sum +++ b/service/configservice/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/connect/go.mod b/service/connect/go.mod index 7c00a99850e..1acdf3357d9 100644 --- a/service/connect/go.mod +++ b/service/connect/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/connect/go.sum b/service/connect/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/connect/go.sum +++ b/service/connect/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/connectcampaigns/go.mod b/service/connectcampaigns/go.mod index e0e58b263c3..1e1719a18a2 100644 --- a/service/connectcampaigns/go.mod +++ b/service/connectcampaigns/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/connectcampaigns/go.sum b/service/connectcampaigns/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/connectcampaigns/go.sum +++ b/service/connectcampaigns/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/connectcontactlens/go.mod b/service/connectcontactlens/go.mod index de78cfc54b7..be67016d97e 100644 --- a/service/connectcontactlens/go.mod +++ b/service/connectcontactlens/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/connectcontactlens/go.sum b/service/connectcontactlens/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/connectcontactlens/go.sum +++ b/service/connectcontactlens/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/connectparticipant/go.mod b/service/connectparticipant/go.mod index 502b9d4a3e8..6c8d33224b8 100644 --- a/service/connectparticipant/go.mod +++ b/service/connectparticipant/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/connectparticipant/go.sum b/service/connectparticipant/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/connectparticipant/go.sum +++ b/service/connectparticipant/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/costandusagereportservice/go.mod b/service/costandusagereportservice/go.mod index 0b85afb1bdb..4c4f3f5fca6 100644 --- a/service/costandusagereportservice/go.mod +++ b/service/costandusagereportservice/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/costandusagereportservice/go.sum b/service/costandusagereportservice/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/costandusagereportservice/go.sum +++ b/service/costandusagereportservice/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/costexplorer/go.mod b/service/costexplorer/go.mod index a1c0a8db8ec..e2633116211 100644 --- a/service/costexplorer/go.mod +++ b/service/costexplorer/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/costexplorer/go.sum b/service/costexplorer/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/costexplorer/go.sum +++ b/service/costexplorer/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/customerprofiles/go.mod b/service/customerprofiles/go.mod index 4bed17f0e25..f1e4125a219 100644 --- a/service/customerprofiles/go.mod +++ b/service/customerprofiles/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/customerprofiles/go.sum b/service/customerprofiles/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/customerprofiles/go.sum +++ b/service/customerprofiles/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/databasemigrationservice/go.mod b/service/databasemigrationservice/go.mod index 772a1dc72bc..3de6c220ac9 100644 --- a/service/databasemigrationservice/go.mod +++ b/service/databasemigrationservice/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/databasemigrationservice/go.sum b/service/databasemigrationservice/go.sum index 616ca36a561..b0e3c06c6d6 100644 --- a/service/databasemigrationservice/go.sum +++ b/service/databasemigrationservice/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= diff --git a/service/databrew/go.mod b/service/databrew/go.mod index 03e1f55a60f..e4d2ff067dc 100644 --- a/service/databrew/go.mod +++ b/service/databrew/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/databrew/go.sum b/service/databrew/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/databrew/go.sum +++ b/service/databrew/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/dataexchange/go.mod b/service/dataexchange/go.mod index 83b57d42014..dfe4983e872 100644 --- a/service/dataexchange/go.mod +++ b/service/dataexchange/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/dataexchange/go.sum b/service/dataexchange/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/dataexchange/go.sum +++ b/service/dataexchange/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/datapipeline/go.mod b/service/datapipeline/go.mod index 5d216f2c6ce..8b64016fbde 100644 --- a/service/datapipeline/go.mod +++ b/service/datapipeline/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/datapipeline/go.sum b/service/datapipeline/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/datapipeline/go.sum +++ b/service/datapipeline/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/datasync/go.mod b/service/datasync/go.mod index d24fe2bd9a8..0a1d76a6cf3 100644 --- a/service/datasync/go.mod +++ b/service/datasync/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/datasync/go.sum b/service/datasync/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/datasync/go.sum +++ b/service/datasync/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/dax/go.mod b/service/dax/go.mod index e06b98dab7b..75ff3d78460 100644 --- a/service/dax/go.mod +++ b/service/dax/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/dax/go.sum b/service/dax/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/dax/go.sum +++ b/service/dax/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/detective/go.mod b/service/detective/go.mod index d9e9359a22b..3ddb80218d4 100644 --- a/service/detective/go.mod +++ b/service/detective/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/detective/go.sum b/service/detective/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/detective/go.sum +++ b/service/detective/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/devicefarm/go.mod b/service/devicefarm/go.mod index dc73ad5395c..86eea9651c4 100644 --- a/service/devicefarm/go.mod +++ b/service/devicefarm/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/devicefarm/go.sum b/service/devicefarm/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/devicefarm/go.sum +++ b/service/devicefarm/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/devopsguru/go.mod b/service/devopsguru/go.mod index 5984396e81e..cdd692c8828 100644 --- a/service/devopsguru/go.mod +++ b/service/devopsguru/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/devopsguru/go.sum b/service/devopsguru/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/devopsguru/go.sum +++ b/service/devopsguru/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/directconnect/go.mod b/service/directconnect/go.mod index 3253fa92453..62853ccb1bd 100644 --- a/service/directconnect/go.mod +++ b/service/directconnect/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/directconnect/go.sum b/service/directconnect/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/directconnect/go.sum +++ b/service/directconnect/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/directoryservice/go.mod b/service/directoryservice/go.mod index 40d8529d1eb..23bb7190d7b 100644 --- a/service/directoryservice/go.mod +++ b/service/directoryservice/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/directoryservice/go.sum b/service/directoryservice/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/directoryservice/go.sum +++ b/service/directoryservice/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/dlm/go.mod b/service/dlm/go.mod index 761ddde1845..9d07a2f11b7 100644 --- a/service/dlm/go.mod +++ b/service/dlm/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/dlm/go.sum b/service/dlm/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/dlm/go.sum +++ b/service/dlm/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/docdb/go.mod b/service/docdb/go.mod index 09aeebe249a..a7e19762a8f 100644 --- a/service/docdb/go.mod +++ b/service/docdb/go.mod @@ -7,7 +7,7 @@ require ( github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/docdb/go.sum b/service/docdb/go.sum index 616ca36a561..b0e3c06c6d6 100644 --- a/service/docdb/go.sum +++ b/service/docdb/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= diff --git a/service/drs/go.mod b/service/drs/go.mod index 9615a109015..cbf1a17e86d 100644 --- a/service/drs/go.mod +++ b/service/drs/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/drs/go.sum b/service/drs/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/drs/go.sum +++ b/service/drs/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/dynamodb/go.mod b/service/dynamodb/go.mod index e600ac78364..f9a1ffcc2ed 100644 --- a/service/dynamodb/go.mod +++ b/service/dynamodb/go.mod @@ -8,7 +8,7 @@ require ( github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.9.2 github.com/aws/aws-sdk-go-v2/service/internal/endpoint-discovery v1.7.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/dynamodb/go.sum b/service/dynamodb/go.sum index 110501d9d83..28869a0ecd6 100644 --- a/service/dynamodb/go.sum +++ b/service/dynamodb/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= diff --git a/service/dynamodbstreams/go.mod b/service/dynamodbstreams/go.mod index 5257a64fbc1..bb47a72ba2b 100644 --- a/service/dynamodbstreams/go.mod +++ b/service/dynamodbstreams/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/dynamodbstreams/go.sum b/service/dynamodbstreams/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/dynamodbstreams/go.sum +++ b/service/dynamodbstreams/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/ebs/go.mod b/service/ebs/go.mod index 39f7db216f2..f18e8808189 100644 --- a/service/ebs/go.mod +++ b/service/ebs/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/ebs/go.sum b/service/ebs/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/ebs/go.sum +++ b/service/ebs/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/ec2/go.mod b/service/ec2/go.mod index 535ddeb6bf8..5068c11a308 100644 --- a/service/ec2/go.mod +++ b/service/ec2/go.mod @@ -7,7 +7,7 @@ require ( github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/ec2/go.sum b/service/ec2/go.sum index 616ca36a561..b0e3c06c6d6 100644 --- a/service/ec2/go.sum +++ b/service/ec2/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= diff --git a/service/ec2instanceconnect/go.mod b/service/ec2instanceconnect/go.mod index bc085f3d784..3678f153fbc 100644 --- a/service/ec2instanceconnect/go.mod +++ b/service/ec2instanceconnect/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/ec2instanceconnect/go.sum b/service/ec2instanceconnect/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/ec2instanceconnect/go.sum +++ b/service/ec2instanceconnect/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/ecr/go.mod b/service/ecr/go.mod index ddec25164ef..2241f894781 100644 --- a/service/ecr/go.mod +++ b/service/ecr/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/ecr/go.sum b/service/ecr/go.sum index 616ca36a561..b0e3c06c6d6 100644 --- a/service/ecr/go.sum +++ b/service/ecr/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= diff --git a/service/ecrpublic/go.mod b/service/ecrpublic/go.mod index c837a6f1958..6877dbefb90 100644 --- a/service/ecrpublic/go.mod +++ b/service/ecrpublic/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/ecrpublic/go.sum b/service/ecrpublic/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/ecrpublic/go.sum +++ b/service/ecrpublic/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/ecs/go.mod b/service/ecs/go.mod index bc206750e4e..3f46d1fd499 100644 --- a/service/ecs/go.mod +++ b/service/ecs/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/ecs/go.sum b/service/ecs/go.sum index 616ca36a561..b0e3c06c6d6 100644 --- a/service/ecs/go.sum +++ b/service/ecs/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= diff --git a/service/efs/go.mod b/service/efs/go.mod index 8c7c8293641..ef33947f6a2 100644 --- a/service/efs/go.mod +++ b/service/efs/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/efs/go.sum b/service/efs/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/efs/go.sum +++ b/service/efs/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/eks/go.mod b/service/eks/go.mod index 76845abcdcf..647377eda61 100644 --- a/service/eks/go.mod +++ b/service/eks/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/eks/go.sum b/service/eks/go.sum index 616ca36a561..b0e3c06c6d6 100644 --- a/service/eks/go.sum +++ b/service/eks/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= diff --git a/service/elasticache/go.mod b/service/elasticache/go.mod index a8869087d75..7ff1f03c03a 100644 --- a/service/elasticache/go.mod +++ b/service/elasticache/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/elasticache/go.sum b/service/elasticache/go.sum index 616ca36a561..b0e3c06c6d6 100644 --- a/service/elasticache/go.sum +++ b/service/elasticache/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= diff --git a/service/elasticbeanstalk/go.mod b/service/elasticbeanstalk/go.mod index d0ba76df2c9..7657178b0ba 100644 --- a/service/elasticbeanstalk/go.mod +++ b/service/elasticbeanstalk/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/elasticbeanstalk/go.sum b/service/elasticbeanstalk/go.sum index 616ca36a561..b0e3c06c6d6 100644 --- a/service/elasticbeanstalk/go.sum +++ b/service/elasticbeanstalk/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= diff --git a/service/elasticinference/go.mod b/service/elasticinference/go.mod index a9d0e8a11d7..79c0f091082 100644 --- a/service/elasticinference/go.mod +++ b/service/elasticinference/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/elasticinference/go.sum b/service/elasticinference/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/elasticinference/go.sum +++ b/service/elasticinference/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/elasticloadbalancing/go.mod b/service/elasticloadbalancing/go.mod index 08df1f65a69..4453775ce88 100644 --- a/service/elasticloadbalancing/go.mod +++ b/service/elasticloadbalancing/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/elasticloadbalancing/go.sum b/service/elasticloadbalancing/go.sum index 616ca36a561..b0e3c06c6d6 100644 --- a/service/elasticloadbalancing/go.sum +++ b/service/elasticloadbalancing/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= diff --git a/service/elasticloadbalancingv2/api_op_CreateLoadBalancer.go b/service/elasticloadbalancingv2/api_op_CreateLoadBalancer.go index 4a99f1be62f..830b12fe339 100644 --- a/service/elasticloadbalancingv2/api_op_CreateLoadBalancer.go +++ b/service/elasticloadbalancingv2/api_op_CreateLoadBalancer.go @@ -79,28 +79,30 @@ type CreateLoadBalancerInput struct { SecurityGroups []string // The IDs of the public subnets. You can specify only one subnet per Availability - // Zone. You must specify either subnets or subnet mappings. [Application Load - // Balancers] You must specify subnets from at least two Availability Zones. You - // cannot specify Elastic IP addresses for your subnets. [Application Load - // Balancers on Outposts] You must specify one Outpost subnet. [Application Load - // Balancers on Local Zones] You can specify subnets from one or more Local Zones. - // [Network Load Balancers] You can specify subnets from one or more Availability - // Zones. You can specify one Elastic IP address per subnet if you need static IP - // addresses for your internet-facing load balancer. For internal load balancers, - // you can specify one private IP address per subnet from the IPv4 range of the - // subnet. For internet-facing load balancer, you can specify one IPv6 address per - // subnet. [Gateway Load Balancers] You can specify subnets from one or more + // Zone. You must specify either subnets or subnet mappings, but not both. + // [Application Load Balancers] You must specify subnets from at least two // Availability Zones. You cannot specify Elastic IP addresses for your subnets. - SubnetMappings []types.SubnetMapping - - // The IDs of the public subnets. You can specify only one subnet per Availability - // Zone. You must specify either subnets or subnet mappings. [Application Load - // Balancers] You must specify subnets from at least two Availability Zones. // [Application Load Balancers on Outposts] You must specify one Outpost subnet. // [Application Load Balancers on Local Zones] You can specify subnets from one or // more Local Zones. [Network Load Balancers] You can specify subnets from one or - // more Availability Zones. [Gateway Load Balancers] You can specify subnets from - // one or more Availability Zones. + // more Availability Zones. You can specify one Elastic IP address per subnet if + // you need static IP addresses for your internet-facing load balancer. For + // internal load balancers, you can specify one private IP address per subnet from + // the IPv4 range of the subnet. For internet-facing load balancer, you can specify + // one IPv6 address per subnet. [Gateway Load Balancers] You can specify subnets + // from one or more Availability Zones. You cannot specify Elastic IP addresses for + // your subnets. + SubnetMappings []types.SubnetMapping + + // The IDs of the public subnets. You can specify only one subnet per Availability + // Zone. You must specify either subnets or subnet mappings, but not both. To + // specify an Elastic IP address, specify subnet mappings instead of subnets. + // [Application Load Balancers] You must specify subnets from at least two + // Availability Zones. [Application Load Balancers on Outposts] You must specify + // one Outpost subnet. [Application Load Balancers on Local Zones] You can specify + // subnets from one or more Local Zones. [Network Load Balancers] You can specify + // subnets from one or more Availability Zones. [Gateway Load Balancers] You can + // specify subnets from one or more Availability Zones. Subnets []string // The tags to assign to the load balancer. diff --git a/service/elasticloadbalancingv2/api_op_CreateTargetGroup.go b/service/elasticloadbalancingv2/api_op_CreateTargetGroup.go index 50127a333c1..5407058709a 100644 --- a/service/elasticloadbalancingv2/api_op_CreateTargetGroup.go +++ b/service/elasticloadbalancingv2/api_op_CreateTargetGroup.go @@ -59,10 +59,11 @@ type CreateTargetGroupInput struct { HealthCheckEnabled *bool // The approximate amount of time, in seconds, between health checks of an - // individual target. If the target group protocol is TCP, TLS, UDP, or TCP_UDP, - // the supported values are 10 and 30 seconds. If the target group protocol is HTTP - // or HTTPS, the default is 30 seconds. If the target group protocol is GENEVE, the - // default is 10 seconds. If the target type is lambda, the default is 35 seconds. + // individual target. If the target group protocol is HTTP or HTTPS, the default is + // 30 seconds. If the target group protocol is TCP, TLS, UDP, or TCP_UDP, the + // supported values are 10 and 30 seconds and the default is 30 seconds. If the + // target group protocol is GENEVE, the default is 10 seconds. If the target type + // is lambda, the default is 35 seconds. HealthCheckIntervalSeconds *int32 // [HTTP/HTTPS health checks] The destination for health checks on the targets. diff --git a/service/elasticloadbalancingv2/api_op_ModifyTargetGroup.go b/service/elasticloadbalancingv2/api_op_ModifyTargetGroup.go index 697a039f4a3..33ba987ba56 100644 --- a/service/elasticloadbalancingv2/api_op_ModifyTargetGroup.go +++ b/service/elasticloadbalancingv2/api_op_ModifyTargetGroup.go @@ -12,7 +12,9 @@ import ( ) // Modifies the health checks used when evaluating the health state of the targets -// in the specified target group. +// in the specified target group. If the protocol of the target group is TCP, TLS, +// UDP, or TCP_UDP, you can't modify the health check protocol, interval, timeout, +// or success codes. func (c *Client) ModifyTargetGroup(ctx context.Context, params *ModifyTargetGroupInput, optFns ...func(*Options)) (*ModifyTargetGroupOutput, error) { if params == nil { params = &ModifyTargetGroupInput{} @@ -40,7 +42,7 @@ type ModifyTargetGroupInput struct { // The approximate amount of time, in seconds, between health checks of an // individual target. For TCP health checks, the supported values are 10 or 30 - // seconds. With Network Load Balancers, you can't modify this setting. + // seconds. HealthCheckIntervalSeconds *int32 // [HTTP/HTTPS health checks] The destination for health checks on the targets. @@ -58,13 +60,11 @@ type ModifyTargetGroupInput struct { // supported for health checks if the protocol of the target group is HTTP or // HTTPS. It is supported for health checks only if the protocol of the target // group is TCP, TLS, UDP, or TCP_UDP. The GENEVE, TLS, UDP, and TCP_UDP protocols - // are not supported for health checks. With Network Load Balancers, you can't - // modify this setting. + // are not supported for health checks. HealthCheckProtocol types.ProtocolEnum // [HTTP/HTTPS health checks] The amount of time, in seconds, during which no - // response means a failed health check. With Network Load Balancers, you can't - // modify this setting. + // response means a failed health check. HealthCheckTimeoutSeconds *int32 // The number of consecutive health checks successes required before considering an @@ -72,8 +72,7 @@ type ModifyTargetGroupInput struct { HealthyThresholdCount *int32 // [HTTP/HTTPS health checks] The HTTP or gRPC codes to use when checking for a - // successful response from a target. With Network Load Balancers, you can't modify - // this setting. + // successful response from a target. Matcher *types.Matcher // The number of consecutive health check failures required before considering the diff --git a/service/elasticloadbalancingv2/go.mod b/service/elasticloadbalancingv2/go.mod index 806918040c2..d68885fd6fd 100644 --- a/service/elasticloadbalancingv2/go.mod +++ b/service/elasticloadbalancingv2/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/elasticloadbalancingv2/go.sum b/service/elasticloadbalancingv2/go.sum index 616ca36a561..b0e3c06c6d6 100644 --- a/service/elasticloadbalancingv2/go.sum +++ b/service/elasticloadbalancingv2/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= diff --git a/service/elasticloadbalancingv2/types/types.go b/service/elasticloadbalancingv2/types/types.go index 3236719b845..a9c906f9c5a 100644 --- a/service/elasticloadbalancingv2/types/types.go +++ b/service/elasticloadbalancingv2/types/types.go @@ -506,7 +506,7 @@ type LoadBalancerAttribute struct { // The prefix for the location in the S3 bucket for the access logs. // // * - // ipv6.deny-all-igw-traffic - Blocks internet gateway (IGW) access to the load + // ipv6.deny_all_igw_traffic - Blocks internet gateway (IGW) access to the load // balancer. It is set to false for internet-facing load balancers and true for // internal load balancers, preventing unintended access to your internal load // balancer through an internet gateway. @@ -528,37 +528,60 @@ type LoadBalancerAttribute struct { // (true) or routed to targets (false). The default is false. // // * - // routing.http.x_amzn_tls_version_and_cipher_suite.enabled - Indicates whether the - // two headers (x-amzn-tls-version and x-amzn-tls-cipher-suite), which contain - // information about the negotiated TLS version and cipher suite, are added to the - // client request before sending it to the target. The x-amzn-tls-version header - // has information about the TLS protocol version negotiated with the client, and - // the x-amzn-tls-cipher-suite header has information about the cipher suite - // negotiated with the client. Both headers are in OpenSSL format. The possible - // values for the attribute are true and false. The default is false. - // - // * - // routing.http.xff_client_port.enabled - Indicates whether the X-Forwarded-For - // header should preserve the source port that the client used to connect to the - // load balancer. The possible values are true and false. The default is false. - // - // * - // routing.http2.enabled - Indicates whether HTTP/2 is enabled. The possible values - // are true and false. The default is true. Elastic Load Balancing requires that - // message header names contain only alphanumeric characters and hyphens. - // - // * - // waf.fail_open.enabled - Indicates whether to allow a WAF-enabled load balancer - // to route requests to targets if it is unable to forward the request to Amazon - // Web Services WAF. The possible values are true and false. The default is - // false. - // - // The following attribute is supported by Network Load Balancers and - // Gateway Load Balancers: - // - // * load_balancing.cross_zone.enabled - Indicates whether - // cross-zone load balancing is enabled. The possible values are true and false. - // The default is false. + // routing.http.preserve_host_header.enabled - Indicates whether the Application + // Load Balancer should preserve the Host header in the HTTP request and send it to + // the target without any change. The possible values are true and false. The + // default is false. + // + // * routing.http.x_amzn_tls_version_and_cipher_suite.enabled - + // Indicates whether the two headers (x-amzn-tls-version and + // x-amzn-tls-cipher-suite), which contain information about the negotiated TLS + // version and cipher suite, are added to the client request before sending it to + // the target. The x-amzn-tls-version header has information about the TLS protocol + // version negotiated with the client, and the x-amzn-tls-cipher-suite header has + // information about the cipher suite negotiated with the client. Both headers are + // in OpenSSL format. The possible values for the attribute are true and false. The + // default is false. + // + // * routing.http.xff_client_port.enabled - Indicates whether + // the X-Forwarded-For header should preserve the source port that the client used + // to connect to the load balancer. The possible values are true and false. The + // default is false. + // + // * routing.http.xff_header_processing.mode - Enables you to + // modify, preserve, or remove the X-Forwarded-For header in the HTTP request + // before the Application Load Balancer sends the request to the target. The + // possible values are append, preserve, and remove. The default is append. + // + // * If + // the value is append, the Application Load Balancer adds the client IP address + // (of the last hop) to the X-Forwarded-For header in the HTTP request before it + // sends it to targets. + // + // * If the value is preserve the Application Load Balancer + // preserves the X-Forwarded-For header in the HTTP request, and sends it to + // targets without any change. + // + // * If the value is remove, the Application Load + // Balancer removes the X-Forwarded-For header in the HTTP request before it sends + // it to targets. + // + // * routing.http2.enabled - Indicates whether HTTP/2 is enabled. + // The possible values are true and false. The default is true. Elastic Load + // Balancing requires that message header names contain only alphanumeric + // characters and hyphens. + // + // * waf.fail_open.enabled - Indicates whether to allow a + // WAF-enabled load balancer to route requests to targets if it is unable to + // forward the request to Amazon Web Services WAF. The possible values are true and + // false. The default is false. + // + // The following attribute is supported by Network + // Load Balancers and Gateway Load Balancers: + // + // * load_balancing.cross_zone.enabled + // - Indicates whether cross-zone load balancing is enabled. The possible values + // are true and false. The default is false. Key *string // The value of the attribute. @@ -727,7 +750,8 @@ type Rule struct { // Information about a condition for a rule. Each rule can optionally include up to // one of each of the following conditions: http-request-method, host-header, // path-pattern, and source-ip. Each rule can also optionally include one or more -// of each of the following conditions: http-header and query-string. +// of each of the following conditions: http-header and query-string. Note that the +// value for a condition cannot be empty. type RuleCondition struct { // The field in the HTTP request. The following are the possible values: diff --git a/service/elasticsearchservice/go.mod b/service/elasticsearchservice/go.mod index c94ba2b0c51..fd3e95f80e5 100644 --- a/service/elasticsearchservice/go.mod +++ b/service/elasticsearchservice/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/elasticsearchservice/go.sum b/service/elasticsearchservice/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/elasticsearchservice/go.sum +++ b/service/elasticsearchservice/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/elastictranscoder/go.mod b/service/elastictranscoder/go.mod index 78aa505a5ca..779a808d06d 100644 --- a/service/elastictranscoder/go.mod +++ b/service/elastictranscoder/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/elastictranscoder/go.sum b/service/elastictranscoder/go.sum index 616ca36a561..b0e3c06c6d6 100644 --- a/service/elastictranscoder/go.sum +++ b/service/elastictranscoder/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= diff --git a/service/emr/deserializers.go b/service/emr/deserializers.go index 18c7ef3b994..79fde76cf0c 100644 --- a/service/emr/deserializers.go +++ b/service/emr/deserializers.go @@ -13091,6 +13091,19 @@ func awsAwsjson11_deserializeDocumentVolumeSpecification(v **types.VolumeSpecifi sv.SizeInGB = ptr.Int32(int32(i64)) } + case "Throughput": + if value != nil { + jtv, ok := value.(json.Number) + if !ok { + return fmt.Errorf("expected ThroughputVal to be json.Number, got %T instead", value) + } + i64, err := jtv.Int64() + if err != nil { + return err + } + sv.Throughput = ptr.Int32(int32(i64)) + } + case "VolumeType": if value != nil { jtv, ok := value.(string) diff --git a/service/emr/go.mod b/service/emr/go.mod index 8fa858231d7..9ca35fd217e 100644 --- a/service/emr/go.mod +++ b/service/emr/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/emr/go.sum b/service/emr/go.sum index 616ca36a561..b0e3c06c6d6 100644 --- a/service/emr/go.sum +++ b/service/emr/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= diff --git a/service/emr/serializers.go b/service/emr/serializers.go index 6247255aef0..82aea1103a0 100644 --- a/service/emr/serializers.go +++ b/service/emr/serializers.go @@ -4376,6 +4376,11 @@ func awsAwsjson11_serializeDocumentVolumeSpecification(v *types.VolumeSpecificat ok.Integer(*v.SizeInGB) } + if v.Throughput != nil { + ok := object.Key("Throughput") + ok.Integer(*v.Throughput) + } + if v.VolumeType != nil { ok := object.Key("VolumeType") ok.String(*v.VolumeType) diff --git a/service/emr/types/types.go b/service/emr/types/types.go index c43538ffed7..73701dbd003 100644 --- a/service/emr/types/types.go +++ b/service/emr/types/types.go @@ -583,25 +583,27 @@ type EbsBlockDevice struct { // The device name that is exposed to the instance, such as /dev/sdh. Device *string - // EBS volume specifications such as volume type, IOPS, and size (GiB) that will be - // requested for the EBS volume attached to an EC2 instance in the cluster. + // EBS volume specifications such as volume type, IOPS, size (GiB) and throughput + // (MiB/s) that are requested for the EBS volume attached to an EC2 instance in the + // cluster. VolumeSpecification *VolumeSpecification noSmithyDocumentSerde } // Configuration of requested EBS block device associated with the instance group -// with count of volumes that will be associated to every instance. +// with count of volumes that are associated to every instance. type EbsBlockDeviceConfig struct { - // EBS volume specifications such as volume type, IOPS, and size (GiB) that will be - // requested for the EBS volume attached to an EC2 instance in the cluster. + // EBS volume specifications such as volume type, IOPS, size (GiB) and throughput + // (MiB/s) that are requested for the EBS volume attached to an EC2 instance in the + // cluster. // // This member is required. VolumeSpecification *VolumeSpecification - // Number of EBS volumes with a specific volume configuration that will be - // associated with every instance in the instance group + // Number of EBS volumes with a specific volume configuration that are associated + // with every instance in the instance group VolumesPerInstance *int32 noSmithyDocumentSerde @@ -2709,8 +2711,9 @@ type Tag struct { noSmithyDocumentSerde } -// EBS volume specifications such as volume type, IOPS, and size (GiB) that will be -// requested for the EBS volume attached to an EC2 instance in the cluster. +// EBS volume specifications such as volume type, IOPS, size (GiB) and throughput +// (MiB/s) that are requested for the EBS volume attached to an EC2 instance in the +// cluster. type VolumeSpecification struct { // The volume size, in gibibytes (GiB). This can be a number from 1 - 1024. If the @@ -2727,6 +2730,10 @@ type VolumeSpecification struct { // The number of I/O operations per second (IOPS) that the volume supports. Iops *int32 + // The throughput, in mebibyte per second (MiB/s). This optional parameter can be a + // number from 125 - 1000 and is valid only for gp3 volumes. + Throughput *int32 + noSmithyDocumentSerde } diff --git a/service/emrcontainers/go.mod b/service/emrcontainers/go.mod index 1f6569218bb..f5285a98965 100644 --- a/service/emrcontainers/go.mod +++ b/service/emrcontainers/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/emrcontainers/go.sum b/service/emrcontainers/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/emrcontainers/go.sum +++ b/service/emrcontainers/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/emrserverless/go.mod b/service/emrserverless/go.mod index af584611ff4..11639620b28 100644 --- a/service/emrserverless/go.mod +++ b/service/emrserverless/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/emrserverless/go.sum b/service/emrserverless/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/emrserverless/go.sum +++ b/service/emrserverless/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/eventbridge/go.mod b/service/eventbridge/go.mod index c3ca0de62a3..0155eb38191 100644 --- a/service/eventbridge/go.mod +++ b/service/eventbridge/go.mod @@ -7,7 +7,7 @@ require ( github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 github.com/aws/aws-sdk-go-v2/internal/v4a v1.0.3 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/eventbridge/go.sum b/service/eventbridge/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/eventbridge/go.sum +++ b/service/eventbridge/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/evidently/go.mod b/service/evidently/go.mod index e217e7df5bd..26c0e64360a 100644 --- a/service/evidently/go.mod +++ b/service/evidently/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/evidently/go.sum b/service/evidently/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/evidently/go.sum +++ b/service/evidently/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/finspace/go.mod b/service/finspace/go.mod index 3a3dcef1d58..939d4099247 100644 --- a/service/finspace/go.mod +++ b/service/finspace/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/finspace/go.sum b/service/finspace/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/finspace/go.sum +++ b/service/finspace/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/finspacedata/go.mod b/service/finspacedata/go.mod index b3dbad9c8db..2251594f768 100644 --- a/service/finspacedata/go.mod +++ b/service/finspacedata/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/finspacedata/go.sum b/service/finspacedata/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/finspacedata/go.sum +++ b/service/finspacedata/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/firehose/go.mod b/service/firehose/go.mod index 8f148527f69..6c5d0a72ef1 100644 --- a/service/firehose/go.mod +++ b/service/firehose/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/firehose/go.sum b/service/firehose/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/firehose/go.sum +++ b/service/firehose/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/fis/go.mod b/service/fis/go.mod index 396587ee8c7..80927a9f88a 100644 --- a/service/fis/go.mod +++ b/service/fis/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/fis/go.sum b/service/fis/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/fis/go.sum +++ b/service/fis/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/fms/go.mod b/service/fms/go.mod index 372cf36fcf3..789aa36b062 100644 --- a/service/fms/go.mod +++ b/service/fms/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/fms/go.sum b/service/fms/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/fms/go.sum +++ b/service/fms/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/forecast/go.mod b/service/forecast/go.mod index e7010d6ef0e..98c1ec431ff 100644 --- a/service/forecast/go.mod +++ b/service/forecast/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/forecast/go.sum b/service/forecast/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/forecast/go.sum +++ b/service/forecast/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/forecastquery/go.mod b/service/forecastquery/go.mod index 508ae3eb606..d8e9df6ca97 100644 --- a/service/forecastquery/go.mod +++ b/service/forecastquery/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/forecastquery/go.sum b/service/forecastquery/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/forecastquery/go.sum +++ b/service/forecastquery/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/frauddetector/go.mod b/service/frauddetector/go.mod index df37d6b24b5..9c5e341c41c 100644 --- a/service/frauddetector/go.mod +++ b/service/frauddetector/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/frauddetector/go.sum b/service/frauddetector/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/frauddetector/go.sum +++ b/service/frauddetector/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/fsx/go.mod b/service/fsx/go.mod index 3471b5b146f..0746af2ac71 100644 --- a/service/fsx/go.mod +++ b/service/fsx/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/fsx/go.sum b/service/fsx/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/fsx/go.sum +++ b/service/fsx/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/gamelift/go.mod b/service/gamelift/go.mod index f0dad3176fe..02460b7d668 100644 --- a/service/gamelift/go.mod +++ b/service/gamelift/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/gamelift/go.sum b/service/gamelift/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/gamelift/go.sum +++ b/service/gamelift/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/gamesparks/go.mod b/service/gamesparks/go.mod index c46ff0ffbd4..1f76da7a72e 100644 --- a/service/gamesparks/go.mod +++ b/service/gamesparks/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/gamesparks/go.sum b/service/gamesparks/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/gamesparks/go.sum +++ b/service/gamesparks/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/glacier/go.mod b/service/glacier/go.mod index 062421b34a3..21b9ccbb7ba 100644 --- a/service/glacier/go.mod +++ b/service/glacier/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/glacier/go.sum b/service/glacier/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/glacier/go.sum +++ b/service/glacier/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/globalaccelerator/go.mod b/service/globalaccelerator/go.mod index eeba720cc51..9bad7ec989f 100644 --- a/service/globalaccelerator/go.mod +++ b/service/globalaccelerator/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/globalaccelerator/go.sum b/service/globalaccelerator/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/globalaccelerator/go.sum +++ b/service/globalaccelerator/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/glue/go.mod b/service/glue/go.mod index 03714a99388..7bd8c59eb6f 100644 --- a/service/glue/go.mod +++ b/service/glue/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/glue/go.sum b/service/glue/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/glue/go.sum +++ b/service/glue/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/grafana/go.mod b/service/grafana/go.mod index b2a431b4dc7..cd8dec16560 100644 --- a/service/grafana/go.mod +++ b/service/grafana/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/grafana/go.sum b/service/grafana/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/grafana/go.sum +++ b/service/grafana/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/greengrass/go.mod b/service/greengrass/go.mod index 95ffe451dc6..00d0243e191 100644 --- a/service/greengrass/go.mod +++ b/service/greengrass/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/greengrass/go.sum b/service/greengrass/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/greengrass/go.sum +++ b/service/greengrass/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/greengrassv2/go.mod b/service/greengrassv2/go.mod index 7edf0354e48..17b9358fcf2 100644 --- a/service/greengrassv2/go.mod +++ b/service/greengrassv2/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/greengrassv2/go.sum b/service/greengrassv2/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/greengrassv2/go.sum +++ b/service/greengrassv2/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/groundstation/go.mod b/service/groundstation/go.mod index 95854327bdc..e0eedf1e2c8 100644 --- a/service/groundstation/go.mod +++ b/service/groundstation/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/groundstation/go.sum b/service/groundstation/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/groundstation/go.sum +++ b/service/groundstation/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/guardduty/go.mod b/service/guardduty/go.mod index eab85ffad84..e46165e81da 100644 --- a/service/guardduty/go.mod +++ b/service/guardduty/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/guardduty/go.sum b/service/guardduty/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/guardduty/go.sum +++ b/service/guardduty/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/health/go.mod b/service/health/go.mod index 1c33d266f2b..f977f98d6e1 100644 --- a/service/health/go.mod +++ b/service/health/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/health/go.sum b/service/health/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/health/go.sum +++ b/service/health/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/healthlake/go.mod b/service/healthlake/go.mod index d85f5026648..175313055f1 100644 --- a/service/healthlake/go.mod +++ b/service/healthlake/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/healthlake/go.sum b/service/healthlake/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/healthlake/go.sum +++ b/service/healthlake/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/honeycode/go.mod b/service/honeycode/go.mod index 7d95739b3bc..4460d238371 100644 --- a/service/honeycode/go.mod +++ b/service/honeycode/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/honeycode/go.sum b/service/honeycode/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/honeycode/go.sum +++ b/service/honeycode/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/iam/go.mod b/service/iam/go.mod index 5b5fb9a28d7..85fda4ab646 100644 --- a/service/iam/go.mod +++ b/service/iam/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/iam/go.sum b/service/iam/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/iam/go.sum +++ b/service/iam/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/identitystore/go.mod b/service/identitystore/go.mod index 8f6cd3d07e9..4eef121c493 100644 --- a/service/identitystore/go.mod +++ b/service/identitystore/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/identitystore/go.sum b/service/identitystore/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/identitystore/go.sum +++ b/service/identitystore/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/imagebuilder/go.mod b/service/imagebuilder/go.mod index f068215c085..971f7dfb89a 100644 --- a/service/imagebuilder/go.mod +++ b/service/imagebuilder/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/imagebuilder/go.sum b/service/imagebuilder/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/imagebuilder/go.sum +++ b/service/imagebuilder/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/inspector/go.mod b/service/inspector/go.mod index 8bcd8858c48..4e4bf51c041 100644 --- a/service/inspector/go.mod +++ b/service/inspector/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/inspector/go.sum b/service/inspector/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/inspector/go.sum +++ b/service/inspector/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/inspector2/go.mod b/service/inspector2/go.mod index 5f61c247219..b108e510d03 100644 --- a/service/inspector2/go.mod +++ b/service/inspector2/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/inspector2/go.sum b/service/inspector2/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/inspector2/go.sum +++ b/service/inspector2/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/internal/accept-encoding/go.mod b/service/internal/accept-encoding/go.mod index f12b0239edd..a6cc646b3be 100644 --- a/service/internal/accept-encoding/go.mod +++ b/service/internal/accept-encoding/go.mod @@ -2,4 +2,4 @@ module github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding go 1.15 -require github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 +require github.com/aws/smithy-go v1.12.0 diff --git a/service/internal/accept-encoding/go.sum b/service/internal/accept-encoding/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/internal/accept-encoding/go.sum +++ b/service/internal/accept-encoding/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/internal/benchmark/go.mod b/service/internal/benchmark/go.mod index 37a597f1122..d42b9870b23 100644 --- a/service/internal/benchmark/go.mod +++ b/service/internal/benchmark/go.mod @@ -9,7 +9,7 @@ require ( github.com/aws/aws-sdk-go-v2/service/lexruntimeservice v1.12.6 github.com/aws/aws-sdk-go-v2/service/s3 v1.26.11 github.com/aws/aws-sdk-go-v2/service/schemas v1.14.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../../ diff --git a/service/internal/benchmark/go.sum b/service/internal/benchmark/go.sum index 054f3482c3d..6a61ea3a20e 100644 --- a/service/internal/benchmark/go.sum +++ b/service/internal/benchmark/go.sum @@ -1,7 +1,7 @@ github.com/aws/aws-sdk-go v1.44.28 h1:h/OAqEqY18wq//v6h4GNPMmCkxuzSDrWuGyrvSiRqf4= github.com/aws/aws-sdk-go v1.44.28/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= diff --git a/service/internal/checksum/go.mod b/service/internal/checksum/go.mod index 39307493906..cff7702ccfc 100644 --- a/service/internal/checksum/go.mod +++ b/service/internal/checksum/go.mod @@ -4,7 +4,7 @@ go 1.15 require ( github.com/aws/aws-sdk-go-v2 v1.16.5 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/google/go-cmp v0.5.8 ) diff --git a/service/internal/checksum/go.sum b/service/internal/checksum/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/internal/checksum/go.sum +++ b/service/internal/checksum/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/internal/endpoint-discovery/go.mod b/service/internal/endpoint-discovery/go.mod index debe27e148d..12569a3da11 100644 --- a/service/internal/endpoint-discovery/go.mod +++ b/service/internal/endpoint-discovery/go.mod @@ -4,7 +4,7 @@ go 1.15 require ( github.com/aws/aws-sdk-go-v2 v1.16.5 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../../ diff --git a/service/internal/endpoint-discovery/go.sum b/service/internal/endpoint-discovery/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/internal/endpoint-discovery/go.sum +++ b/service/internal/endpoint-discovery/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/internal/eventstreamtesting/go.sum b/service/internal/eventstreamtesting/go.sum index c3294efdb29..34b7a408262 100644 --- a/service/internal/eventstreamtesting/go.sum +++ b/service/internal/eventstreamtesting/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/internal/integrationtest/go.mod b/service/internal/integrationtest/go.mod index c978388aee0..3a82c9d2ebf 100644 --- a/service/internal/integrationtest/go.mod +++ b/service/internal/integrationtest/go.mod @@ -86,7 +86,7 @@ require ( github.com/aws/aws-sdk-go-v2/service/wafregional v1.12.7 github.com/aws/aws-sdk-go-v2/service/wafv2 v1.20.3 github.com/aws/aws-sdk-go-v2/service/workspaces v1.19.0 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/google/go-cmp v0.5.8 ) diff --git a/service/internal/integrationtest/go.sum b/service/internal/integrationtest/go.sum index 616ca36a561..b0e3c06c6d6 100644 --- a/service/internal/integrationtest/go.sum +++ b/service/internal/integrationtest/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= diff --git a/service/internal/presigned-url/go.mod b/service/internal/presigned-url/go.mod index f974e44b183..78f12610554 100644 --- a/service/internal/presigned-url/go.mod +++ b/service/internal/presigned-url/go.mod @@ -4,7 +4,7 @@ go 1.15 require ( github.com/aws/aws-sdk-go-v2 v1.16.5 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/google/go-cmp v0.5.8 ) diff --git a/service/internal/presigned-url/go.sum b/service/internal/presigned-url/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/internal/presigned-url/go.sum +++ b/service/internal/presigned-url/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/internal/s3shared/go.mod b/service/internal/s3shared/go.mod index bf9557ac53a..db4e07b0d9e 100644 --- a/service/internal/s3shared/go.mod +++ b/service/internal/s3shared/go.mod @@ -4,7 +4,7 @@ go 1.15 require ( github.com/aws/aws-sdk-go-v2 v1.16.5 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../../ diff --git a/service/internal/s3shared/go.sum b/service/internal/s3shared/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/internal/s3shared/go.sum +++ b/service/internal/s3shared/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/iot/go.mod b/service/iot/go.mod index bd9cab4828b..26bb2dd2d7c 100644 --- a/service/iot/go.mod +++ b/service/iot/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/iot/go.sum b/service/iot/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/iot/go.sum +++ b/service/iot/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/iot1clickdevicesservice/go.mod b/service/iot1clickdevicesservice/go.mod index a83ad601cf5..c5e78e99d45 100644 --- a/service/iot1clickdevicesservice/go.mod +++ b/service/iot1clickdevicesservice/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/iot1clickdevicesservice/go.sum b/service/iot1clickdevicesservice/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/iot1clickdevicesservice/go.sum +++ b/service/iot1clickdevicesservice/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/iot1clickprojects/go.mod b/service/iot1clickprojects/go.mod index c1af25c5175..de84a0b6ade 100644 --- a/service/iot1clickprojects/go.mod +++ b/service/iot1clickprojects/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/iot1clickprojects/go.sum b/service/iot1clickprojects/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/iot1clickprojects/go.sum +++ b/service/iot1clickprojects/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/iotanalytics/go.mod b/service/iotanalytics/go.mod index 10f03a6147b..e3298a9553c 100644 --- a/service/iotanalytics/go.mod +++ b/service/iotanalytics/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/iotanalytics/go.sum b/service/iotanalytics/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/iotanalytics/go.sum +++ b/service/iotanalytics/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/iotdataplane/go.mod b/service/iotdataplane/go.mod index afef4e5008a..da07be43fc8 100644 --- a/service/iotdataplane/go.mod +++ b/service/iotdataplane/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/iotdataplane/go.sum b/service/iotdataplane/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/iotdataplane/go.sum +++ b/service/iotdataplane/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/iotdeviceadvisor/go.mod b/service/iotdeviceadvisor/go.mod index d13d10098b9..799f123fb1c 100644 --- a/service/iotdeviceadvisor/go.mod +++ b/service/iotdeviceadvisor/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/iotdeviceadvisor/go.sum b/service/iotdeviceadvisor/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/iotdeviceadvisor/go.sum +++ b/service/iotdeviceadvisor/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/iotdeviceadvisor/internal/endpoints/endpoints.go b/service/iotdeviceadvisor/internal/endpoints/endpoints.go index 1ce5778b215..b6a8c14fffb 100644 --- a/service/iotdeviceadvisor/internal/endpoints/endpoints.go +++ b/service/iotdeviceadvisor/internal/endpoints/endpoints.go @@ -134,6 +134,40 @@ var defaultPartitions = endpoints.Partitions{ }, RegionRegex: partitionRegexp.Aws, IsRegionalized: true, + Endpoints: endpoints.Endpoints{ + endpoints.EndpointKey{ + Region: "ap-northeast-1", + }: endpoints.Endpoint{ + Hostname: "api.iotdeviceadvisor.ap-northeast-1.amazonaws.com", + CredentialScope: endpoints.CredentialScope{ + Region: "ap-northeast-1", + }, + }, + endpoints.EndpointKey{ + Region: "eu-west-1", + }: endpoints.Endpoint{ + Hostname: "api.iotdeviceadvisor.eu-west-1.amazonaws.com", + CredentialScope: endpoints.CredentialScope{ + Region: "eu-west-1", + }, + }, + endpoints.EndpointKey{ + Region: "us-east-1", + }: endpoints.Endpoint{ + Hostname: "api.iotdeviceadvisor.us-east-1.amazonaws.com", + CredentialScope: endpoints.CredentialScope{ + Region: "us-east-1", + }, + }, + endpoints.EndpointKey{ + Region: "us-west-2", + }: endpoints.Endpoint{ + Hostname: "api.iotdeviceadvisor.us-west-2.amazonaws.com", + CredentialScope: endpoints.CredentialScope{ + Region: "us-west-2", + }, + }, + }, }, { ID: "aws-cn", diff --git a/service/iotevents/go.mod b/service/iotevents/go.mod index c7c88041390..2ed55e5cebf 100644 --- a/service/iotevents/go.mod +++ b/service/iotevents/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/iotevents/go.sum b/service/iotevents/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/iotevents/go.sum +++ b/service/iotevents/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/ioteventsdata/go.mod b/service/ioteventsdata/go.mod index 9bc0a5a02a5..287bc356d17 100644 --- a/service/ioteventsdata/go.mod +++ b/service/ioteventsdata/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/ioteventsdata/go.sum b/service/ioteventsdata/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/ioteventsdata/go.sum +++ b/service/ioteventsdata/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/iotfleethub/go.mod b/service/iotfleethub/go.mod index a1681ec45c0..6805a7d07ec 100644 --- a/service/iotfleethub/go.mod +++ b/service/iotfleethub/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/iotfleethub/go.sum b/service/iotfleethub/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/iotfleethub/go.sum +++ b/service/iotfleethub/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/iotjobsdataplane/go.mod b/service/iotjobsdataplane/go.mod index f287aca5793..0699ee25e8f 100644 --- a/service/iotjobsdataplane/go.mod +++ b/service/iotjobsdataplane/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/iotjobsdataplane/go.sum b/service/iotjobsdataplane/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/iotjobsdataplane/go.sum +++ b/service/iotjobsdataplane/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/iotsecuretunneling/go.mod b/service/iotsecuretunneling/go.mod index 0417fbe9408..14589a0baef 100644 --- a/service/iotsecuretunneling/go.mod +++ b/service/iotsecuretunneling/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/iotsecuretunneling/go.sum b/service/iotsecuretunneling/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/iotsecuretunneling/go.sum +++ b/service/iotsecuretunneling/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/iotsitewise/go.mod b/service/iotsitewise/go.mod index 9fd2c67a9fc..64751a10844 100644 --- a/service/iotsitewise/go.mod +++ b/service/iotsitewise/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/iotsitewise/go.sum b/service/iotsitewise/go.sum index 616ca36a561..b0e3c06c6d6 100644 --- a/service/iotsitewise/go.sum +++ b/service/iotsitewise/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= diff --git a/service/iotthingsgraph/go.mod b/service/iotthingsgraph/go.mod index 592804a634b..5b91674ecba 100644 --- a/service/iotthingsgraph/go.mod +++ b/service/iotthingsgraph/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/iotthingsgraph/go.sum b/service/iotthingsgraph/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/iotthingsgraph/go.sum +++ b/service/iotthingsgraph/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/iottwinmaker/go.mod b/service/iottwinmaker/go.mod index 22334c9819e..0868713ca96 100644 --- a/service/iottwinmaker/go.mod +++ b/service/iottwinmaker/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/iottwinmaker/go.sum b/service/iottwinmaker/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/iottwinmaker/go.sum +++ b/service/iottwinmaker/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/iotwireless/go.mod b/service/iotwireless/go.mod index e3b56c8b093..a9eee677690 100644 --- a/service/iotwireless/go.mod +++ b/service/iotwireless/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/iotwireless/go.sum b/service/iotwireless/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/iotwireless/go.sum +++ b/service/iotwireless/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/ivs/go.mod b/service/ivs/go.mod index 4c1ca230339..a8c27fea219 100644 --- a/service/ivs/go.mod +++ b/service/ivs/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/ivs/go.sum b/service/ivs/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/ivs/go.sum +++ b/service/ivs/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/ivschat/go.mod b/service/ivschat/go.mod index 575a65987ea..34aea803008 100644 --- a/service/ivschat/go.mod +++ b/service/ivschat/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/ivschat/go.sum b/service/ivschat/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/ivschat/go.sum +++ b/service/ivschat/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/kafka/go.mod b/service/kafka/go.mod index bea7ff81559..48300f29460 100644 --- a/service/kafka/go.mod +++ b/service/kafka/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/kafka/go.sum b/service/kafka/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/kafka/go.sum +++ b/service/kafka/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/kafkaconnect/go.mod b/service/kafkaconnect/go.mod index d7528cade98..7c6b31747da 100644 --- a/service/kafkaconnect/go.mod +++ b/service/kafkaconnect/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/kafkaconnect/go.sum b/service/kafkaconnect/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/kafkaconnect/go.sum +++ b/service/kafkaconnect/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/kendra/go.mod b/service/kendra/go.mod index ab5798abf14..5c6a33872fb 100644 --- a/service/kendra/go.mod +++ b/service/kendra/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/kendra/go.sum b/service/kendra/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/kendra/go.sum +++ b/service/kendra/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/keyspaces/go.mod b/service/keyspaces/go.mod index af1fa984a42..7cdc9afce9c 100644 --- a/service/keyspaces/go.mod +++ b/service/keyspaces/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/keyspaces/go.sum b/service/keyspaces/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/keyspaces/go.sum +++ b/service/keyspaces/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/kinesis/go.mod b/service/kinesis/go.mod index 0d0c44d60e6..8c50e520a52 100644 --- a/service/kinesis/go.mod +++ b/service/kinesis/go.mod @@ -7,7 +7,7 @@ require ( github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.2 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/kinesis/go.sum b/service/kinesis/go.sum index 616ca36a561..b0e3c06c6d6 100644 --- a/service/kinesis/go.sum +++ b/service/kinesis/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= diff --git a/service/kinesis/internal/testing/go.mod b/service/kinesis/internal/testing/go.mod index fd2249d58bc..4a204f458a2 100644 --- a/service/kinesis/internal/testing/go.mod +++ b/service/kinesis/internal/testing/go.mod @@ -7,7 +7,7 @@ require ( github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.2 github.com/aws/aws-sdk-go-v2/service/internal/eventstreamtesting v1.0.19 github.com/aws/aws-sdk-go-v2/service/kinesis v1.15.7 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/google/go-cmp v0.5.8 ) diff --git a/service/kinesis/internal/testing/go.sum b/service/kinesis/internal/testing/go.sum index 172d1859c62..86eb5c7c0eb 100644 --- a/service/kinesis/internal/testing/go.sum +++ b/service/kinesis/internal/testing/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= diff --git a/service/kinesisanalytics/go.mod b/service/kinesisanalytics/go.mod index 3e021502897..ce1b8c48d61 100644 --- a/service/kinesisanalytics/go.mod +++ b/service/kinesisanalytics/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/kinesisanalytics/go.sum b/service/kinesisanalytics/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/kinesisanalytics/go.sum +++ b/service/kinesisanalytics/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/kinesisanalyticsv2/go.mod b/service/kinesisanalyticsv2/go.mod index 225440f724e..4255074055b 100644 --- a/service/kinesisanalyticsv2/go.mod +++ b/service/kinesisanalyticsv2/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/kinesisanalyticsv2/go.sum b/service/kinesisanalyticsv2/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/kinesisanalyticsv2/go.sum +++ b/service/kinesisanalyticsv2/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/kinesisvideo/go.mod b/service/kinesisvideo/go.mod index 7bae2600e3a..3e3f0df0da9 100644 --- a/service/kinesisvideo/go.mod +++ b/service/kinesisvideo/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/kinesisvideo/go.sum b/service/kinesisvideo/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/kinesisvideo/go.sum +++ b/service/kinesisvideo/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/kinesisvideoarchivedmedia/go.mod b/service/kinesisvideoarchivedmedia/go.mod index 7970b469ea2..8a5f08c5bf7 100644 --- a/service/kinesisvideoarchivedmedia/go.mod +++ b/service/kinesisvideoarchivedmedia/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/kinesisvideoarchivedmedia/go.sum b/service/kinesisvideoarchivedmedia/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/kinesisvideoarchivedmedia/go.sum +++ b/service/kinesisvideoarchivedmedia/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/kinesisvideomedia/go.mod b/service/kinesisvideomedia/go.mod index 77be9fd04f4..5e189db97f8 100644 --- a/service/kinesisvideomedia/go.mod +++ b/service/kinesisvideomedia/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/kinesisvideomedia/go.sum b/service/kinesisvideomedia/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/kinesisvideomedia/go.sum +++ b/service/kinesisvideomedia/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/kinesisvideosignaling/go.mod b/service/kinesisvideosignaling/go.mod index b2399468362..3330fbf1dc6 100644 --- a/service/kinesisvideosignaling/go.mod +++ b/service/kinesisvideosignaling/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/kinesisvideosignaling/go.sum b/service/kinesisvideosignaling/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/kinesisvideosignaling/go.sum +++ b/service/kinesisvideosignaling/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/kms/go.mod b/service/kms/go.mod index 130feab316d..dc105a54d51 100644 --- a/service/kms/go.mod +++ b/service/kms/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/kms/go.sum b/service/kms/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/kms/go.sum +++ b/service/kms/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/lakeformation/go.mod b/service/lakeformation/go.mod index 6beb20c9322..57a38755cd7 100644 --- a/service/lakeformation/go.mod +++ b/service/lakeformation/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/lakeformation/go.sum b/service/lakeformation/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/lakeformation/go.sum +++ b/service/lakeformation/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/lakeformation/internal/endpoints/endpoints.go b/service/lakeformation/internal/endpoints/endpoints.go index ef76ede46de..9a93029729e 100644 --- a/service/lakeformation/internal/endpoints/endpoints.go +++ b/service/lakeformation/internal/endpoints/endpoints.go @@ -380,6 +380,15 @@ var defaultPartitions = endpoints.Partitions{ RegionRegex: partitionRegexp.AwsUsGov, IsRegionalized: true, Endpoints: endpoints.Endpoints{ + endpoints.EndpointKey{ + Region: "fips-us-gov-east-1", + }: endpoints.Endpoint{ + Hostname: "lakeformation-fips.us-gov-east-1.amazonaws.com", + CredentialScope: endpoints.CredentialScope{ + Region: "us-gov-east-1", + }, + Deprecated: aws.TrueTernary, + }, endpoints.EndpointKey{ Region: "fips-us-gov-west-1", }: endpoints.Endpoint{ @@ -389,6 +398,15 @@ var defaultPartitions = endpoints.Partitions{ }, Deprecated: aws.TrueTernary, }, + endpoints.EndpointKey{ + Region: "us-gov-east-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "us-gov-east-1", + Variant: endpoints.FIPSVariant, + }: { + Hostname: "lakeformation-fips.us-gov-east-1.amazonaws.com", + }, endpoints.EndpointKey{ Region: "us-gov-west-1", }: endpoints.Endpoint{}, diff --git a/service/lambda/go.mod b/service/lambda/go.mod index 6b6d4059971..8e4cd05bb45 100644 --- a/service/lambda/go.mod +++ b/service/lambda/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/lambda/go.sum b/service/lambda/go.sum index 616ca36a561..b0e3c06c6d6 100644 --- a/service/lambda/go.sum +++ b/service/lambda/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= diff --git a/service/lexmodelbuildingservice/go.mod b/service/lexmodelbuildingservice/go.mod index 644a561dcf2..2918a42c904 100644 --- a/service/lexmodelbuildingservice/go.mod +++ b/service/lexmodelbuildingservice/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/lexmodelbuildingservice/go.sum b/service/lexmodelbuildingservice/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/lexmodelbuildingservice/go.sum +++ b/service/lexmodelbuildingservice/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/lexmodelsv2/go.mod b/service/lexmodelsv2/go.mod index bf4a15105e0..345c84b15d9 100644 --- a/service/lexmodelsv2/go.mod +++ b/service/lexmodelsv2/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/lexmodelsv2/go.sum b/service/lexmodelsv2/go.sum index 616ca36a561..b0e3c06c6d6 100644 --- a/service/lexmodelsv2/go.sum +++ b/service/lexmodelsv2/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= diff --git a/service/lexruntimeservice/go.mod b/service/lexruntimeservice/go.mod index 25bcc0aef14..46213708635 100644 --- a/service/lexruntimeservice/go.mod +++ b/service/lexruntimeservice/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/lexruntimeservice/go.sum b/service/lexruntimeservice/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/lexruntimeservice/go.sum +++ b/service/lexruntimeservice/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/lexruntimev2/go.mod b/service/lexruntimev2/go.mod index edd2cb13095..8299f82c43f 100644 --- a/service/lexruntimev2/go.mod +++ b/service/lexruntimev2/go.mod @@ -7,7 +7,7 @@ require ( github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.2 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/lexruntimev2/go.sum b/service/lexruntimev2/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/lexruntimev2/go.sum +++ b/service/lexruntimev2/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/licensemanager/go.mod b/service/licensemanager/go.mod index cea013bf4ff..10e14a7917d 100644 --- a/service/licensemanager/go.mod +++ b/service/licensemanager/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/licensemanager/go.sum b/service/licensemanager/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/licensemanager/go.sum +++ b/service/licensemanager/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/lightsail/go.mod b/service/lightsail/go.mod index f3fc3a34911..bbc4373ffcc 100644 --- a/service/lightsail/go.mod +++ b/service/lightsail/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/lightsail/go.sum b/service/lightsail/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/lightsail/go.sum +++ b/service/lightsail/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/location/go.mod b/service/location/go.mod index 6c361fe68ea..2be58641f97 100644 --- a/service/location/go.mod +++ b/service/location/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/location/go.sum b/service/location/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/location/go.sum +++ b/service/location/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/lookoutequipment/go.mod b/service/lookoutequipment/go.mod index d0671c1db02..a7f303aa707 100644 --- a/service/lookoutequipment/go.mod +++ b/service/lookoutequipment/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/lookoutequipment/go.sum b/service/lookoutequipment/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/lookoutequipment/go.sum +++ b/service/lookoutequipment/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/lookoutmetrics/go.mod b/service/lookoutmetrics/go.mod index 337fc39dbf1..bf4b49fa272 100644 --- a/service/lookoutmetrics/go.mod +++ b/service/lookoutmetrics/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/lookoutmetrics/go.sum b/service/lookoutmetrics/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/lookoutmetrics/go.sum +++ b/service/lookoutmetrics/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/lookoutvision/go.mod b/service/lookoutvision/go.mod index de4aae272cb..cb7da6479dc 100644 --- a/service/lookoutvision/go.mod +++ b/service/lookoutvision/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/lookoutvision/go.sum b/service/lookoutvision/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/lookoutvision/go.sum +++ b/service/lookoutvision/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/m2/go.mod b/service/m2/go.mod index 1029191618a..22c355b35c6 100644 --- a/service/m2/go.mod +++ b/service/m2/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/m2/go.sum b/service/m2/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/m2/go.sum +++ b/service/m2/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/machinelearning/go.mod b/service/machinelearning/go.mod index 3a010bdf04b..13e75769739 100644 --- a/service/machinelearning/go.mod +++ b/service/machinelearning/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/machinelearning/go.sum b/service/machinelearning/go.sum index 616ca36a561..b0e3c06c6d6 100644 --- a/service/machinelearning/go.sum +++ b/service/machinelearning/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= diff --git a/service/macie/go.mod b/service/macie/go.mod index c04a85ca514..ee57fd2b914 100644 --- a/service/macie/go.mod +++ b/service/macie/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/macie/go.sum b/service/macie/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/macie/go.sum +++ b/service/macie/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/macie2/go.mod b/service/macie2/go.mod index c55b051ef16..3811f5351cd 100644 --- a/service/macie2/go.mod +++ b/service/macie2/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/macie2/go.sum b/service/macie2/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/macie2/go.sum +++ b/service/macie2/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/managedblockchain/go.mod b/service/managedblockchain/go.mod index aec3099c952..7cc997f54e5 100644 --- a/service/managedblockchain/go.mod +++ b/service/managedblockchain/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/managedblockchain/go.sum b/service/managedblockchain/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/managedblockchain/go.sum +++ b/service/managedblockchain/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/marketplacecatalog/go.mod b/service/marketplacecatalog/go.mod index 054cc229a4f..90c3adfb740 100644 --- a/service/marketplacecatalog/go.mod +++ b/service/marketplacecatalog/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/marketplacecatalog/go.sum b/service/marketplacecatalog/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/marketplacecatalog/go.sum +++ b/service/marketplacecatalog/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/marketplacecommerceanalytics/go.mod b/service/marketplacecommerceanalytics/go.mod index 1cdc40c6dd9..6b0565ed115 100644 --- a/service/marketplacecommerceanalytics/go.mod +++ b/service/marketplacecommerceanalytics/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/marketplacecommerceanalytics/go.sum b/service/marketplacecommerceanalytics/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/marketplacecommerceanalytics/go.sum +++ b/service/marketplacecommerceanalytics/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/marketplaceentitlementservice/go.mod b/service/marketplaceentitlementservice/go.mod index 4287b964dd1..421c1984936 100644 --- a/service/marketplaceentitlementservice/go.mod +++ b/service/marketplaceentitlementservice/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/marketplaceentitlementservice/go.sum b/service/marketplaceentitlementservice/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/marketplaceentitlementservice/go.sum +++ b/service/marketplaceentitlementservice/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/marketplacemetering/go.mod b/service/marketplacemetering/go.mod index 87ce944c1b2..9e3c87ad72e 100644 --- a/service/marketplacemetering/go.mod +++ b/service/marketplacemetering/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/marketplacemetering/go.sum b/service/marketplacemetering/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/marketplacemetering/go.sum +++ b/service/marketplacemetering/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/mediaconnect/go.mod b/service/mediaconnect/go.mod index 5590ac57046..6aee0859ef5 100644 --- a/service/mediaconnect/go.mod +++ b/service/mediaconnect/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/mediaconnect/go.sum b/service/mediaconnect/go.sum index 616ca36a561..b0e3c06c6d6 100644 --- a/service/mediaconnect/go.sum +++ b/service/mediaconnect/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= diff --git a/service/mediaconvert/go.mod b/service/mediaconvert/go.mod index dbb63374640..ad1bfd4053c 100644 --- a/service/mediaconvert/go.mod +++ b/service/mediaconvert/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/mediaconvert/go.sum b/service/mediaconvert/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/mediaconvert/go.sum +++ b/service/mediaconvert/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/medialive/api_op_DeleteReservation.go b/service/medialive/api_op_DeleteReservation.go index b1abc7094a1..63cbfec47e6 100644 --- a/service/medialive/api_op_DeleteReservation.go +++ b/service/medialive/api_op_DeleteReservation.go @@ -79,6 +79,9 @@ type DeleteReservationOutput struct { // AWS region, e.g. 'us-west-2' Region *string + // Renewal settings for the reservation + RenewalSettings *types.RenewalSettings + // Unique reservation ID, e.g. '1234567' ReservationId *string diff --git a/service/medialive/api_op_DescribeReservation.go b/service/medialive/api_op_DescribeReservation.go index 95843119aa4..95acac76b1f 100644 --- a/service/medialive/api_op_DescribeReservation.go +++ b/service/medialive/api_op_DescribeReservation.go @@ -79,6 +79,9 @@ type DescribeReservationOutput struct { // AWS region, e.g. 'us-west-2' Region *string + // Renewal settings for the reservation + RenewalSettings *types.RenewalSettings + // Unique reservation ID, e.g. '1234567' ReservationId *string diff --git a/service/medialive/api_op_PurchaseOffering.go b/service/medialive/api_op_PurchaseOffering.go index dd2ebdbdb02..ebea2bbeae2 100644 --- a/service/medialive/api_op_PurchaseOffering.go +++ b/service/medialive/api_op_PurchaseOffering.go @@ -44,6 +44,9 @@ type PurchaseOfferingInput struct { // Name for the new reservation Name *string + // Renewal settings for the reservation + RenewalSettings *types.RenewalSettings + // Unique request ID to be specified. This is needed to prevent retries from // creating multiple resources. RequestId *string diff --git a/service/medialive/api_op_UpdateReservation.go b/service/medialive/api_op_UpdateReservation.go index 73e05e81acf..a4baecdeb2b 100644 --- a/service/medialive/api_op_UpdateReservation.go +++ b/service/medialive/api_op_UpdateReservation.go @@ -38,6 +38,9 @@ type UpdateReservationInput struct { // Name of the reservation Name *string + // Renewal settings for the reservation + RenewalSettings *types.RenewalSettings + noSmithyDocumentSerde } diff --git a/service/medialive/deserializers.go b/service/medialive/deserializers.go index cbb2f2626c2..eabc51df999 100644 --- a/service/medialive/deserializers.go +++ b/service/medialive/deserializers.go @@ -3350,6 +3350,11 @@ func awsRestjson1_deserializeOpDocumentDeleteReservationOutput(v **DeleteReserva sv.Region = ptr.String(jtv) } + case "renewalSettings": + if err := awsRestjson1_deserializeDocumentRenewalSettings(&sv.RenewalSettings, value); err != nil { + return err + } + case "reservationId": if value != nil { jtv, ok := value.(string) @@ -5836,6 +5841,11 @@ func awsRestjson1_deserializeOpDocumentDescribeReservationOutput(v **DescribeRes sv.Region = ptr.String(jtv) } + case "renewalSettings": + if err := awsRestjson1_deserializeDocumentRenewalSettings(&sv.RenewalSettings, value); err != nil { + return err + } + case "reservationId": if value != nil { jtv, ok := value.(string) @@ -13314,7 +13324,7 @@ func awsRestjson1_deserializeDocumentAudioDescription(v **types.AudioDescription if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected __string to be of type string, got %T instead", value) + return fmt.Errorf("expected __stringMax255 to be of type string, got %T instead", value) } sv.Name = ptr.String(jtv) } @@ -14667,6 +14677,15 @@ func awsRestjson1_deserializeDocumentCaptionDescription(v **types.CaptionDescrip for key, value := range shape { switch key { + case "accessibility": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected AccessibilityType to be of type string, got %T instead", value) + } + sv.Accessibility = types.AccessibilityType(jtv) + } + case "captionSelectorName": if value != nil { jtv, ok := value.(string) @@ -20725,7 +20744,7 @@ func awsRestjson1_deserializeDocumentInputLocation(v **types.InputLocation, valu if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected __string to be of type string, got %T instead", value) + return fmt.Errorf("expected __stringMax2048 to be of type string, got %T instead", value) } sv.Uri = ptr.String(jtv) } @@ -25533,6 +25552,59 @@ func awsRestjson1_deserializeDocumentRemixSettings(v **types.RemixSettings, valu return nil } +func awsRestjson1_deserializeDocumentRenewalSettings(v **types.RenewalSettings, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.RenewalSettings + if *v == nil { + sv = &types.RenewalSettings{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "automaticRenewal": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ReservationAutomaticRenewal to be of type string, got %T instead", value) + } + sv.AutomaticRenewal = types.ReservationAutomaticRenewal(jtv) + } + + case "renewalCount": + if value != nil { + jtv, ok := value.(json.Number) + if !ok { + return fmt.Errorf("expected __integerMin1 to be json.Number, got %T instead", value) + } + i64, err := jtv.Int64() + if err != nil { + return err + } + sv.RenewalCount = int32(i64) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + func awsRestjson1_deserializeDocumentReservation(v **types.Reservation, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -25696,6 +25768,11 @@ func awsRestjson1_deserializeDocumentReservation(v **types.Reservation, value in sv.Region = ptr.String(jtv) } + case "renewalSettings": + if err := awsRestjson1_deserializeDocumentRenewalSettings(&sv.RenewalSettings, value); err != nil { + return err + } + case "reservationId": if value != nil { jtv, ok := value.(string) diff --git a/service/medialive/go.mod b/service/medialive/go.mod index 2e1db627982..21a02fedb5d 100644 --- a/service/medialive/go.mod +++ b/service/medialive/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/medialive/go.sum b/service/medialive/go.sum index 616ca36a561..b0e3c06c6d6 100644 --- a/service/medialive/go.sum +++ b/service/medialive/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= diff --git a/service/medialive/serializers.go b/service/medialive/serializers.go index 943d544f79e..675a3d5e5a6 100644 --- a/service/medialive/serializers.go +++ b/service/medialive/serializers.go @@ -3070,6 +3070,13 @@ func awsRestjson1_serializeOpDocumentPurchaseOfferingInput(v *PurchaseOfferingIn ok.String(*v.Name) } + if v.RenewalSettings != nil { + ok := object.Key("renewalSettings") + if err := awsRestjson1_serializeDocumentRenewalSettings(v.RenewalSettings, ok); err != nil { + return err + } + } + if v.RequestId != nil { ok := object.Key("requestId") ok.String(*v.RequestId) @@ -4256,6 +4263,13 @@ func awsRestjson1_serializeOpDocumentUpdateReservationInput(v *UpdateReservation ok.String(*v.Name) } + if v.RenewalSettings != nil { + ok := object.Key("renewalSettings") + if err := awsRestjson1_serializeDocumentRenewalSettings(v.RenewalSettings, ok); err != nil { + return err + } + } + return nil } @@ -5477,6 +5491,11 @@ func awsRestjson1_serializeDocumentCaptionDescription(v *types.CaptionDescriptio object := value.Object() defer object.Close() + if len(v.Accessibility) > 0 { + ok := object.Key("accessibility") + ok.String(string(v.Accessibility)) + } + if v.CaptionSelectorName != nil { ok := object.Key("captionSelectorName") ok.String(*v.CaptionSelectorName) @@ -9447,6 +9466,23 @@ func awsRestjson1_serializeDocumentRemixSettings(v *types.RemixSettings, value s return nil } +func awsRestjson1_serializeDocumentRenewalSettings(v *types.RenewalSettings, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if len(v.AutomaticRenewal) > 0 { + ok := object.Key("automaticRenewal") + ok.String(string(v.AutomaticRenewal)) + } + + if v.RenewalCount != 0 { + ok := object.Key("renewalCount") + ok.Integer(v.RenewalCount) + } + + return nil +} + func awsRestjson1_serializeDocumentRtmpCaptionInfoDestinationSettings(v *types.RtmpCaptionInfoDestinationSettings, value smithyjson.Value) error { object := value.Object() defer object.Close() diff --git a/service/medialive/types/enums.go b/service/medialive/types/enums.go index a4d8ba681f6..2ea14236f75 100644 --- a/service/medialive/types/enums.go +++ b/service/medialive/types/enums.go @@ -262,6 +262,24 @@ func (AcceptHeader) Values() []AcceptHeader { } } +type AccessibilityType string + +// Enum values for AccessibilityType +const ( + AccessibilityTypeDoesNotImplementAccessibilityFeatures AccessibilityType = "DOES_NOT_IMPLEMENT_ACCESSIBILITY_FEATURES" + AccessibilityTypeImplementsAccessibilityFeatures AccessibilityType = "IMPLEMENTS_ACCESSIBILITY_FEATURES" +) + +// Values returns all known values for AccessibilityType. Note that this can be +// expanded in the future, and so it is only as up to date as the client. The +// ordering of this slice is not guaranteed to be stable across updates. +func (AccessibilityType) Values() []AccessibilityType { + return []AccessibilityType{ + "DOES_NOT_IMPLEMENT_ACCESSIBILITY_FEATURES", + "IMPLEMENTS_ACCESSIBILITY_FEATURES", + } +} + type AfdSignaling string // Enum values for AfdSignaling @@ -754,6 +772,7 @@ type DeviceUpdateStatus string const ( DeviceUpdateStatusUpToDate DeviceUpdateStatus = "UP_TO_DATE" DeviceUpdateStatusNotUpToDate DeviceUpdateStatus = "NOT_UP_TO_DATE" + DeviceUpdateStatusUpdating DeviceUpdateStatus = "UPDATING" ) // Values returns all known values for DeviceUpdateStatus. Note that this can be @@ -763,6 +782,7 @@ func (DeviceUpdateStatus) Values() []DeviceUpdateStatus { return []DeviceUpdateStatus{ "UP_TO_DATE", "NOT_UP_TO_DATE", + "UPDATING", } } @@ -4138,6 +4158,26 @@ func (PreferredChannelPipeline) Values() []PreferredChannelPipeline { } } +type ReservationAutomaticRenewal string + +// Enum values for ReservationAutomaticRenewal +const ( + ReservationAutomaticRenewalDisabled ReservationAutomaticRenewal = "DISABLED" + ReservationAutomaticRenewalEnabled ReservationAutomaticRenewal = "ENABLED" + ReservationAutomaticRenewalUnavailable ReservationAutomaticRenewal = "UNAVAILABLE" +) + +// Values returns all known values for ReservationAutomaticRenewal. Note that this +// can be expanded in the future, and so it is only as up to date as the client. +// The ordering of this slice is not guaranteed to be stable across updates. +func (ReservationAutomaticRenewal) Values() []ReservationAutomaticRenewal { + return []ReservationAutomaticRenewal{ + "DISABLED", + "ENABLED", + "UNAVAILABLE", + } +} + type ReservationCodec string // Enum values for ReservationCodec diff --git a/service/medialive/types/types.go b/service/medialive/types/types.go index 5a3998e33ef..266689184ae 100644 --- a/service/medialive/types/types.go +++ b/service/medialive/types/types.go @@ -737,6 +737,10 @@ type CaptionDescription struct { // This member is required. Name *string + // Indicates whether the caption track implements accessibility features such as + // written descriptions of spoken dialog, music, and sounds. + Accessibility AccessibilityType + // Additional settings for captions destination that depend on the destination // type. DestinationSettings *CaptionDestinationSettings @@ -4579,6 +4583,18 @@ type RemixSettings struct { noSmithyDocumentSerde } +// The Renewal settings for Reservations +type RenewalSettings struct { + + // Automatic renewal status for the reservation + AutomaticRenewal ReservationAutomaticRenewal + + // Count for the reservation renewal + RenewalCount int32 + + noSmithyDocumentSerde +} + // Reserved resources available to use type Reservation struct { @@ -4620,6 +4636,9 @@ type Reservation struct { // AWS region, e.g. 'us-west-2' Region *string + // Renewal settings for the reservation + RenewalSettings *RenewalSettings + // Unique reservation ID, e.g. '1234567' ReservationId *string diff --git a/service/mediapackage/go.mod b/service/mediapackage/go.mod index 47092c1f20b..cafa70fd061 100644 --- a/service/mediapackage/go.mod +++ b/service/mediapackage/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/mediapackage/go.sum b/service/mediapackage/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/mediapackage/go.sum +++ b/service/mediapackage/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/mediapackagevod/go.mod b/service/mediapackagevod/go.mod index 2a0caa81bf9..90563f73fcf 100644 --- a/service/mediapackagevod/go.mod +++ b/service/mediapackagevod/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/mediapackagevod/go.sum b/service/mediapackagevod/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/mediapackagevod/go.sum +++ b/service/mediapackagevod/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/mediastore/go.mod b/service/mediastore/go.mod index 928cf81a9b9..43d20d98435 100644 --- a/service/mediastore/go.mod +++ b/service/mediastore/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/mediastore/go.sum b/service/mediastore/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/mediastore/go.sum +++ b/service/mediastore/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/mediastoredata/go.mod b/service/mediastoredata/go.mod index f303a6afcb7..17ee96f17f1 100644 --- a/service/mediastoredata/go.mod +++ b/service/mediastoredata/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/mediastoredata/go.sum b/service/mediastoredata/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/mediastoredata/go.sum +++ b/service/mediastoredata/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/mediatailor/go.mod b/service/mediatailor/go.mod index fdf3d2c0cdc..dad8c73d3f5 100644 --- a/service/mediatailor/go.mod +++ b/service/mediatailor/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/mediatailor/go.sum b/service/mediatailor/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/mediatailor/go.sum +++ b/service/mediatailor/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/memorydb/go.mod b/service/memorydb/go.mod index 829a65750d9..97cf252202d 100644 --- a/service/memorydb/go.mod +++ b/service/memorydb/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/memorydb/go.sum b/service/memorydb/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/memorydb/go.sum +++ b/service/memorydb/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/mgn/go.mod b/service/mgn/go.mod index 572e80c7580..9bb4b7ad8cf 100644 --- a/service/mgn/go.mod +++ b/service/mgn/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/mgn/go.sum b/service/mgn/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/mgn/go.sum +++ b/service/mgn/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/migrationhub/go.mod b/service/migrationhub/go.mod index 775fe4a3de5..7d19bebd54c 100644 --- a/service/migrationhub/go.mod +++ b/service/migrationhub/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/migrationhub/go.sum b/service/migrationhub/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/migrationhub/go.sum +++ b/service/migrationhub/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/migrationhubconfig/go.mod b/service/migrationhubconfig/go.mod index 72cf09dd8f4..d4fb1ffb7b2 100644 --- a/service/migrationhubconfig/go.mod +++ b/service/migrationhubconfig/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/migrationhubconfig/go.sum b/service/migrationhubconfig/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/migrationhubconfig/go.sum +++ b/service/migrationhubconfig/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/migrationhubrefactorspaces/go.mod b/service/migrationhubrefactorspaces/go.mod index 1df3dff8db2..d7690f6c84a 100644 --- a/service/migrationhubrefactorspaces/go.mod +++ b/service/migrationhubrefactorspaces/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/migrationhubrefactorspaces/go.sum b/service/migrationhubrefactorspaces/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/migrationhubrefactorspaces/go.sum +++ b/service/migrationhubrefactorspaces/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/migrationhubstrategy/go.mod b/service/migrationhubstrategy/go.mod index bd10f892407..387831ace5a 100644 --- a/service/migrationhubstrategy/go.mod +++ b/service/migrationhubstrategy/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/migrationhubstrategy/go.sum b/service/migrationhubstrategy/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/migrationhubstrategy/go.sum +++ b/service/migrationhubstrategy/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/mobile/go.mod b/service/mobile/go.mod index cdc296d0df7..54c4e5211e8 100644 --- a/service/mobile/go.mod +++ b/service/mobile/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/mobile/go.sum b/service/mobile/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/mobile/go.sum +++ b/service/mobile/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/mq/go.mod b/service/mq/go.mod index f3ee3db5e1b..ec5c1b6305d 100644 --- a/service/mq/go.mod +++ b/service/mq/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/mq/go.sum b/service/mq/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/mq/go.sum +++ b/service/mq/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/mturk/go.mod b/service/mturk/go.mod index dfba2715314..e12eb897235 100644 --- a/service/mturk/go.mod +++ b/service/mturk/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/mturk/go.sum b/service/mturk/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/mturk/go.sum +++ b/service/mturk/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/mwaa/go.mod b/service/mwaa/go.mod index fd88b5da7a8..9fdd64e65a8 100644 --- a/service/mwaa/go.mod +++ b/service/mwaa/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/mwaa/go.sum b/service/mwaa/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/mwaa/go.sum +++ b/service/mwaa/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/neptune/go.mod b/service/neptune/go.mod index ba65eec1286..4fb8a9f5f23 100644 --- a/service/neptune/go.mod +++ b/service/neptune/go.mod @@ -7,7 +7,7 @@ require ( github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/neptune/go.sum b/service/neptune/go.sum index 616ca36a561..b0e3c06c6d6 100644 --- a/service/neptune/go.sum +++ b/service/neptune/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= diff --git a/service/networkfirewall/go.mod b/service/networkfirewall/go.mod index ea7ce6c75c3..3ad686b9b3c 100644 --- a/service/networkfirewall/go.mod +++ b/service/networkfirewall/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/networkfirewall/go.sum b/service/networkfirewall/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/networkfirewall/go.sum +++ b/service/networkfirewall/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/networkmanager/go.mod b/service/networkmanager/go.mod index 8298e6c996f..8f27c124d28 100644 --- a/service/networkmanager/go.mod +++ b/service/networkmanager/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/networkmanager/go.sum b/service/networkmanager/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/networkmanager/go.sum +++ b/service/networkmanager/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/nimble/go.mod b/service/nimble/go.mod index 4b5637e5fa2..d3020ba9158 100644 --- a/service/nimble/go.mod +++ b/service/nimble/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/nimble/go.sum b/service/nimble/go.sum index 616ca36a561..b0e3c06c6d6 100644 --- a/service/nimble/go.sum +++ b/service/nimble/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= diff --git a/service/opensearch/go.mod b/service/opensearch/go.mod index 0c1770750ff..0c5ba22ceae 100644 --- a/service/opensearch/go.mod +++ b/service/opensearch/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/opensearch/go.sum b/service/opensearch/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/opensearch/go.sum +++ b/service/opensearch/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/opsworks/go.mod b/service/opsworks/go.mod index bad13b32403..8fea1671552 100644 --- a/service/opsworks/go.mod +++ b/service/opsworks/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/opsworks/go.sum b/service/opsworks/go.sum index 616ca36a561..b0e3c06c6d6 100644 --- a/service/opsworks/go.sum +++ b/service/opsworks/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= diff --git a/service/opsworkscm/go.mod b/service/opsworkscm/go.mod index 6cf4d264508..8d94d15eb9d 100644 --- a/service/opsworkscm/go.mod +++ b/service/opsworkscm/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/opsworkscm/go.sum b/service/opsworkscm/go.sum index 616ca36a561..b0e3c06c6d6 100644 --- a/service/opsworkscm/go.sum +++ b/service/opsworkscm/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= diff --git a/service/organizations/go.mod b/service/organizations/go.mod index 1257d04c161..3886b7a1213 100644 --- a/service/organizations/go.mod +++ b/service/organizations/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/organizations/go.sum b/service/organizations/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/organizations/go.sum +++ b/service/organizations/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/outposts/go.mod b/service/outposts/go.mod index 829c4e325f7..1b7854286ac 100644 --- a/service/outposts/go.mod +++ b/service/outposts/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/outposts/go.sum b/service/outposts/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/outposts/go.sum +++ b/service/outposts/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/panorama/go.mod b/service/panorama/go.mod index ea89afd4e73..4671a11bb57 100644 --- a/service/panorama/go.mod +++ b/service/panorama/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/panorama/go.sum b/service/panorama/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/panorama/go.sum +++ b/service/panorama/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/personalize/go.mod b/service/personalize/go.mod index 0a059f07e37..e48c0a9a015 100644 --- a/service/personalize/go.mod +++ b/service/personalize/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/personalize/go.sum b/service/personalize/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/personalize/go.sum +++ b/service/personalize/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/personalizeevents/go.mod b/service/personalizeevents/go.mod index 0c106716046..abf3543d6b3 100644 --- a/service/personalizeevents/go.mod +++ b/service/personalizeevents/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/personalizeevents/go.sum b/service/personalizeevents/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/personalizeevents/go.sum +++ b/service/personalizeevents/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/personalizeruntime/go.mod b/service/personalizeruntime/go.mod index 12e36660d39..c3017e07da7 100644 --- a/service/personalizeruntime/go.mod +++ b/service/personalizeruntime/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/personalizeruntime/go.sum b/service/personalizeruntime/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/personalizeruntime/go.sum +++ b/service/personalizeruntime/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/pi/go.mod b/service/pi/go.mod index 0a49426ada4..638751205f4 100644 --- a/service/pi/go.mod +++ b/service/pi/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/pi/go.sum b/service/pi/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/pi/go.sum +++ b/service/pi/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/pinpoint/go.mod b/service/pinpoint/go.mod index 91fcc1c7856..430fa9aef11 100644 --- a/service/pinpoint/go.mod +++ b/service/pinpoint/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/pinpoint/go.sum b/service/pinpoint/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/pinpoint/go.sum +++ b/service/pinpoint/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/pinpointemail/go.mod b/service/pinpointemail/go.mod index 938e9abed02..6ebfbfa4e6c 100644 --- a/service/pinpointemail/go.mod +++ b/service/pinpointemail/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/pinpointemail/go.sum b/service/pinpointemail/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/pinpointemail/go.sum +++ b/service/pinpointemail/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/pinpointsmsvoice/go.mod b/service/pinpointsmsvoice/go.mod index 52d3e06fdb9..0ed5a68f081 100644 --- a/service/pinpointsmsvoice/go.mod +++ b/service/pinpointsmsvoice/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/pinpointsmsvoice/go.sum b/service/pinpointsmsvoice/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/pinpointsmsvoice/go.sum +++ b/service/pinpointsmsvoice/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/pinpointsmsvoicev2/go.mod b/service/pinpointsmsvoicev2/go.mod index 03ece016836..92120160fa1 100644 --- a/service/pinpointsmsvoicev2/go.mod +++ b/service/pinpointsmsvoicev2/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/pinpointsmsvoicev2/go.sum b/service/pinpointsmsvoicev2/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/pinpointsmsvoicev2/go.sum +++ b/service/pinpointsmsvoicev2/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/polly/go.mod b/service/polly/go.mod index ac15caec1d0..94bd7df1626 100644 --- a/service/polly/go.mod +++ b/service/polly/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/polly/go.sum b/service/polly/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/polly/go.sum +++ b/service/polly/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/pricing/go.mod b/service/pricing/go.mod index d21928c751f..cbfd0340596 100644 --- a/service/pricing/go.mod +++ b/service/pricing/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/pricing/go.sum b/service/pricing/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/pricing/go.sum +++ b/service/pricing/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/proton/go.mod b/service/proton/go.mod index 5ecfcf990a7..a5e167a4952 100644 --- a/service/proton/go.mod +++ b/service/proton/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/proton/go.sum b/service/proton/go.sum index 616ca36a561..b0e3c06c6d6 100644 --- a/service/proton/go.sum +++ b/service/proton/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= diff --git a/service/qldb/go.mod b/service/qldb/go.mod index 42cd3d40e6a..a53ed2ec7db 100644 --- a/service/qldb/go.mod +++ b/service/qldb/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/qldb/go.sum b/service/qldb/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/qldb/go.sum +++ b/service/qldb/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/qldbsession/go.mod b/service/qldbsession/go.mod index 317a16ca4b3..948aa3e2ab5 100644 --- a/service/qldbsession/go.mod +++ b/service/qldbsession/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/qldbsession/go.sum b/service/qldbsession/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/qldbsession/go.sum +++ b/service/qldbsession/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/quicksight/go.mod b/service/quicksight/go.mod index a5ccdef7884..324bb6a075c 100644 --- a/service/quicksight/go.mod +++ b/service/quicksight/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/quicksight/go.sum b/service/quicksight/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/quicksight/go.sum +++ b/service/quicksight/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/ram/go.mod b/service/ram/go.mod index 734ed97de22..123f9c02d47 100644 --- a/service/ram/go.mod +++ b/service/ram/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/ram/go.sum b/service/ram/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/ram/go.sum +++ b/service/ram/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/rbin/go.mod b/service/rbin/go.mod index e45bbcaf11c..7daa8c2f9ce 100644 --- a/service/rbin/go.mod +++ b/service/rbin/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/rbin/go.sum b/service/rbin/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/rbin/go.sum +++ b/service/rbin/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/rds/go.mod b/service/rds/go.mod index d9bad270288..1ee1a84b052 100644 --- a/service/rds/go.mod +++ b/service/rds/go.mod @@ -7,7 +7,7 @@ require ( github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/rds/go.sum b/service/rds/go.sum index 616ca36a561..b0e3c06c6d6 100644 --- a/service/rds/go.sum +++ b/service/rds/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= diff --git a/service/rdsdata/go.mod b/service/rdsdata/go.mod index 17a215a335d..438ba3bad71 100644 --- a/service/rdsdata/go.mod +++ b/service/rdsdata/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/rdsdata/go.sum b/service/rdsdata/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/rdsdata/go.sum +++ b/service/rdsdata/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/redshift/go.mod b/service/redshift/go.mod index a6901e8f9f8..7054ecbefda 100644 --- a/service/redshift/go.mod +++ b/service/redshift/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/redshift/go.sum b/service/redshift/go.sum index 616ca36a561..b0e3c06c6d6 100644 --- a/service/redshift/go.sum +++ b/service/redshift/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= diff --git a/service/redshiftdata/go.mod b/service/redshiftdata/go.mod index c6bb709b065..42b245235ae 100644 --- a/service/redshiftdata/go.mod +++ b/service/redshiftdata/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/redshiftdata/go.sum b/service/redshiftdata/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/redshiftdata/go.sum +++ b/service/redshiftdata/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/redshiftserverless/LICENSE.txt b/service/redshiftserverless/LICENSE.txt new file mode 100644 index 00000000000..d6456956733 --- /dev/null +++ b/service/redshiftserverless/LICENSE.txt @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/service/redshiftserverless/api_client.go b/service/redshiftserverless/api_client.go new file mode 100644 index 00000000000..c28d3297496 --- /dev/null +++ b/service/redshiftserverless/api_client.go @@ -0,0 +1,433 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package redshiftserverless + +import ( + "context" + "github.com/aws/aws-sdk-go-v2/aws" + "github.com/aws/aws-sdk-go-v2/aws/defaults" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/retry" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + awshttp "github.com/aws/aws-sdk-go-v2/aws/transport/http" + internalConfig "github.com/aws/aws-sdk-go-v2/internal/configsources" + smithy "github.com/aws/smithy-go" + smithydocument "github.com/aws/smithy-go/document" + "github.com/aws/smithy-go/logging" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" + "net" + "net/http" + "time" +) + +const ServiceID = "Redshift Serverless" +const ServiceAPIVersion = "2021-04-21" + +// Client provides the API client to make operations call for Redshift Serverless. +type Client struct { + options Options +} + +// New returns an initialized Client based on the functional options. Provide +// additional functional options to further configure the behavior of the client, +// such as changing the client's endpoint or adding custom middleware behavior. +func New(options Options, optFns ...func(*Options)) *Client { + options = options.Copy() + + resolveDefaultLogger(&options) + + setResolvedDefaultsMode(&options) + + resolveRetryer(&options) + + resolveHTTPClient(&options) + + resolveHTTPSignerV4(&options) + + resolveDefaultEndpointConfiguration(&options) + + for _, fn := range optFns { + fn(&options) + } + + client := &Client{ + options: options, + } + + return client +} + +type Options struct { + // Set of options to modify how an operation is invoked. These apply to all + // operations invoked for this client. Use functional options on operation call to + // modify this list for per operation behavior. + APIOptions []func(*middleware.Stack) error + + // Configures the events that will be sent to the configured logger. + ClientLogMode aws.ClientLogMode + + // The credentials object to use when signing requests. + Credentials aws.CredentialsProvider + + // The configuration DefaultsMode that the SDK should use when constructing the + // clients initial default settings. + DefaultsMode aws.DefaultsMode + + // The endpoint options to be used when attempting to resolve an endpoint. + EndpointOptions EndpointResolverOptions + + // The service endpoint resolver. + EndpointResolver EndpointResolver + + // Signature Version 4 (SigV4) Signer + HTTPSignerV4 HTTPSignerV4 + + // The logger writer interface to write logging messages to. + Logger logging.Logger + + // The region to send requests to. (Required) + Region string + + // RetryMaxAttempts specifies the maximum number attempts an API client will call + // an operation that fails with a retryable error. A value of 0 is ignored, and + // will not be used to configure the API client created default retryer, or modify + // per operation call's retry max attempts. When creating a new API Clients this + // member will only be used if the Retryer Options member is nil. This value will + // be ignored if Retryer is not nil. If specified in an operation call's functional + // options with a value that is different than the constructed client's Options, + // the Client's Retryer will be wrapped to use the operation's specific + // RetryMaxAttempts value. + RetryMaxAttempts int + + // RetryMode specifies the retry mode the API client will be created with, if + // Retryer option is not also specified. When creating a new API Clients this + // member will only be used if the Retryer Options member is nil. This value will + // be ignored if Retryer is not nil. Currently does not support per operation call + // overrides, may in the future. + RetryMode aws.RetryMode + + // Retryer guides how HTTP requests should be retried in case of recoverable + // failures. When nil the API client will use a default retryer. The kind of + // default retry created by the API client can be changed with the RetryMode + // option. + Retryer aws.Retryer + + // The RuntimeEnvironment configuration, only populated if the DefaultsMode is set + // to DefaultsModeAuto and is initialized using config.LoadDefaultConfig. You + // should not populate this structure programmatically, or rely on the values here + // within your applications. + RuntimeEnvironment aws.RuntimeEnvironment + + // The initial DefaultsMode used when the client options were constructed. If the + // DefaultsMode was set to aws.DefaultsModeAuto this will store what the resolved + // value was at that point in time. Currently does not support per operation call + // overrides, may in the future. + resolvedDefaultsMode aws.DefaultsMode + + // The HTTP client to invoke API calls with. Defaults to client's default HTTP + // implementation if nil. + 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...) + } +} + +// WithEndpointResolver returns a functional option for setting the Client's +// EndpointResolver option. +func WithEndpointResolver(v EndpointResolver) func(*Options) { + return func(o *Options) { + o.EndpointResolver = v + } +} + +type HTTPClient interface { + Do(*http.Request) (*http.Response, error) +} + +// Copy creates a clone where the APIOptions list is deep copied. +func (o Options) Copy() Options { + to := o + to.APIOptions = make([]func(*middleware.Stack) error, len(o.APIOptions)) + copy(to.APIOptions, o.APIOptions) + + return to +} +func (c *Client) invokeOperation(ctx context.Context, opID string, params interface{}, optFns []func(*Options), stackFns ...func(*middleware.Stack, Options) error) (result interface{}, metadata middleware.Metadata, err error) { + ctx = middleware.ClearStackValues(ctx) + stack := middleware.NewStack(opID, smithyhttp.NewStackRequest) + options := c.options.Copy() + for _, fn := range optFns { + fn(&options) + } + + finalizeRetryMaxAttemptOptions(&options, *c) + + finalizeClientEndpointResolverOptions(&options) + + for _, fn := range stackFns { + if err := fn(stack, options); err != nil { + return nil, metadata, err + } + } + + for _, fn := range options.APIOptions { + if err := fn(stack); err != nil { + return nil, metadata, err + } + } + + handler := middleware.DecorateHandler(smithyhttp.NewClientHandler(options.HTTPClient), stack) + result, metadata, err = handler.Handle(ctx, params) + if err != nil { + err = &smithy.OperationError{ + ServiceID: ServiceID, + OperationName: opID, + Err: err, + } + } + return result, metadata, err +} + +type noSmithyDocumentSerde = smithydocument.NoSerde + +func resolveDefaultLogger(o *Options) { + if o.Logger != nil { + return + } + o.Logger = logging.Nop{} +} + +func addSetLoggerMiddleware(stack *middleware.Stack, o Options) error { + return middleware.AddSetLoggerMiddleware(stack, o.Logger) +} + +func setResolvedDefaultsMode(o *Options) { + if len(o.resolvedDefaultsMode) > 0 { + return + } + + var mode aws.DefaultsMode + mode.SetFromString(string(o.DefaultsMode)) + + if mode == aws.DefaultsModeAuto { + mode = defaults.ResolveDefaultsModeAuto(o.Region, o.RuntimeEnvironment) + } + + o.resolvedDefaultsMode = mode +} + +// NewFromConfig returns a new client from the provided config. +func NewFromConfig(cfg aws.Config, optFns ...func(*Options)) *Client { + opts := Options{ + Region: cfg.Region, + DefaultsMode: cfg.DefaultsMode, + RuntimeEnvironment: cfg.RuntimeEnvironment, + HTTPClient: cfg.HTTPClient, + Credentials: cfg.Credentials, + APIOptions: cfg.APIOptions, + Logger: cfg.Logger, + ClientLogMode: cfg.ClientLogMode, + } + resolveAWSRetryerProvider(cfg, &opts) + resolveAWSRetryMaxAttempts(cfg, &opts) + resolveAWSRetryMode(cfg, &opts) + resolveAWSEndpointResolver(cfg, &opts) + resolveUseDualStackEndpoint(cfg, &opts) + resolveUseFIPSEndpoint(cfg, &opts) + return New(opts, optFns...) +} + +func resolveHTTPClient(o *Options) { + var buildable *awshttp.BuildableClient + + if o.HTTPClient != nil { + var ok bool + buildable, ok = o.HTTPClient.(*awshttp.BuildableClient) + if !ok { + return + } + } else { + buildable = awshttp.NewBuildableClient() + } + + modeConfig, err := defaults.GetModeConfiguration(o.resolvedDefaultsMode) + if err == nil { + buildable = buildable.WithDialerOptions(func(dialer *net.Dialer) { + if dialerTimeout, ok := modeConfig.GetConnectTimeout(); ok { + dialer.Timeout = dialerTimeout + } + }) + + buildable = buildable.WithTransportOptions(func(transport *http.Transport) { + if tlsHandshakeTimeout, ok := modeConfig.GetTLSNegotiationTimeout(); ok { + transport.TLSHandshakeTimeout = tlsHandshakeTimeout + } + }) + } + + o.HTTPClient = buildable +} + +func resolveRetryer(o *Options) { + if o.Retryer != nil { + return + } + + if len(o.RetryMode) == 0 { + modeConfig, err := defaults.GetModeConfiguration(o.resolvedDefaultsMode) + if err == nil { + o.RetryMode = modeConfig.RetryMode + } + } + if len(o.RetryMode) == 0 { + o.RetryMode = aws.RetryModeStandard + } + + var standardOptions []func(*retry.StandardOptions) + if v := o.RetryMaxAttempts; v != 0 { + standardOptions = append(standardOptions, func(so *retry.StandardOptions) { + so.MaxAttempts = v + }) + } + + switch o.RetryMode { + case aws.RetryModeAdaptive: + var adaptiveOptions []func(*retry.AdaptiveModeOptions) + if len(standardOptions) != 0 { + adaptiveOptions = append(adaptiveOptions, func(ao *retry.AdaptiveModeOptions) { + ao.StandardOptions = append(ao.StandardOptions, standardOptions...) + }) + } + o.Retryer = retry.NewAdaptiveMode(adaptiveOptions...) + + default: + o.Retryer = retry.NewStandard(standardOptions...) + } +} + +func resolveAWSRetryerProvider(cfg aws.Config, o *Options) { + if cfg.Retryer == nil { + return + } + o.Retryer = cfg.Retryer() +} + +func resolveAWSRetryMode(cfg aws.Config, o *Options) { + if len(cfg.RetryMode) == 0 { + return + } + o.RetryMode = cfg.RetryMode +} +func resolveAWSRetryMaxAttempts(cfg aws.Config, o *Options) { + if cfg.RetryMaxAttempts == 0 { + return + } + o.RetryMaxAttempts = cfg.RetryMaxAttempts +} + +func finalizeRetryMaxAttemptOptions(o *Options, client Client) { + if v := o.RetryMaxAttempts; v == 0 || v == client.options.RetryMaxAttempts { + return + } + + o.Retryer = retry.AddWithMaxAttempts(o.Retryer, o.RetryMaxAttempts) +} + +func resolveAWSEndpointResolver(cfg aws.Config, o *Options) { + if cfg.EndpointResolver == nil && cfg.EndpointResolverWithOptions == nil { + return + } + o.EndpointResolver = withEndpointResolver(cfg.EndpointResolver, cfg.EndpointResolverWithOptions, NewDefaultEndpointResolver()) +} + +func addClientUserAgent(stack *middleware.Stack) error { + return awsmiddleware.AddSDKAgentKeyValue(awsmiddleware.APIMetadata, "redshiftserverless", goModuleVersion)(stack) +} + +func addHTTPSignerV4Middleware(stack *middleware.Stack, o Options) error { + mw := v4.NewSignHTTPRequestMiddleware(v4.SignHTTPRequestMiddlewareOptions{ + CredentialsProvider: o.Credentials, + Signer: o.HTTPSignerV4, + LogSigning: o.ClientLogMode.IsSigning(), + }) + return stack.Finalize.Add(mw, middleware.After) +} + +type HTTPSignerV4 interface { + SignHTTP(ctx context.Context, credentials aws.Credentials, r *http.Request, payloadHash string, service string, region string, signingTime time.Time, optFns ...func(*v4.SignerOptions)) error +} + +func resolveHTTPSignerV4(o *Options) { + if o.HTTPSignerV4 != nil { + return + } + o.HTTPSignerV4 = newDefaultV4Signer(*o) +} + +func newDefaultV4Signer(o Options) *v4.Signer { + return v4.NewSigner(func(so *v4.SignerOptions) { + so.Logger = o.Logger + so.LogSigning = o.ClientLogMode.IsSigning() + }) +} + +func addRetryMiddlewares(stack *middleware.Stack, o Options) error { + mo := retry.AddRetryMiddlewaresOptions{ + Retryer: o.Retryer, + LogRetryAttempts: o.ClientLogMode.IsRetries(), + } + return retry.AddRetryMiddlewares(stack, mo) +} + +// resolves dual-stack endpoint configuration +func resolveUseDualStackEndpoint(cfg aws.Config, o *Options) error { + if len(cfg.ConfigSources) == 0 { + return nil + } + value, found, err := internalConfig.ResolveUseDualStackEndpoint(context.Background(), cfg.ConfigSources) + if err != nil { + return err + } + if found { + o.EndpointOptions.UseDualStackEndpoint = value + } + return nil +} + +// resolves FIPS endpoint configuration +func resolveUseFIPSEndpoint(cfg aws.Config, o *Options) error { + if len(cfg.ConfigSources) == 0 { + return nil + } + value, found, err := internalConfig.ResolveUseFIPSEndpoint(context.Background(), cfg.ConfigSources) + if err != nil { + return err + } + if found { + o.EndpointOptions.UseFIPSEndpoint = value + } + return nil +} + +func addRequestIDRetrieverMiddleware(stack *middleware.Stack) error { + return awsmiddleware.AddRequestIDRetrieverMiddleware(stack) +} + +func addResponseErrorMiddleware(stack *middleware.Stack) error { + return awshttp.AddResponseErrorMiddleware(stack) +} + +func addRequestResponseLogging(stack *middleware.Stack, o Options) error { + return stack.Deserialize.Add(&smithyhttp.RequestResponseLogger{ + LogRequest: o.ClientLogMode.IsRequest(), + LogRequestWithBody: o.ClientLogMode.IsRequestWithBody(), + LogResponse: o.ClientLogMode.IsResponse(), + LogResponseWithBody: o.ClientLogMode.IsResponseWithBody(), + }, middleware.After) +} diff --git a/service/redshiftserverless/api_client_test.go b/service/redshiftserverless/api_client_test.go new file mode 100644 index 00000000000..eefa23411b3 --- /dev/null +++ b/service/redshiftserverless/api_client_test.go @@ -0,0 +1,123 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package redshiftserverless + +import ( + "context" + "github.com/aws/aws-sdk-go-v2/aws" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" + "io/ioutil" + "net/http" + "strings" + "testing" +) + +func TestClient_resolveRetryOptions(t *testing.T) { + nopClient := smithyhttp.ClientDoFunc(func(_ *http.Request) (*http.Response, error) { + return &http.Response{ + StatusCode: 200, + Header: http.Header{}, + Body: ioutil.NopCloser(strings.NewReader("")), + }, nil + }) + + cases := map[string]struct { + defaultsMode aws.DefaultsMode + retryer aws.Retryer + retryMaxAttempts int + opRetryMaxAttempts *int + retryMode aws.RetryMode + expectClientRetryMode aws.RetryMode + expectClientMaxAttempts int + expectOpMaxAttempts int + }{ + "defaults": { + defaultsMode: aws.DefaultsModeStandard, + expectClientRetryMode: aws.RetryModeStandard, + expectClientMaxAttempts: 3, + expectOpMaxAttempts: 3, + }, + "custom default retry": { + retryMode: aws.RetryModeAdaptive, + retryMaxAttempts: 10, + expectClientRetryMode: aws.RetryModeAdaptive, + expectClientMaxAttempts: 10, + expectOpMaxAttempts: 10, + }, + "custom op max attempts": { + retryMode: aws.RetryModeAdaptive, + retryMaxAttempts: 10, + opRetryMaxAttempts: aws.Int(2), + expectClientRetryMode: aws.RetryModeAdaptive, + expectClientMaxAttempts: 10, + expectOpMaxAttempts: 2, + }, + "custom op no change max attempts": { + retryMode: aws.RetryModeAdaptive, + retryMaxAttempts: 10, + opRetryMaxAttempts: aws.Int(10), + expectClientRetryMode: aws.RetryModeAdaptive, + expectClientMaxAttempts: 10, + expectOpMaxAttempts: 10, + }, + "custom op 0 max attempts": { + retryMode: aws.RetryModeAdaptive, + retryMaxAttempts: 10, + opRetryMaxAttempts: aws.Int(0), + expectClientRetryMode: aws.RetryModeAdaptive, + expectClientMaxAttempts: 10, + expectOpMaxAttempts: 10, + }, + } + + for name, c := range cases { + t.Run(name, func(t *testing.T) { + client := NewFromConfig(aws.Config{ + DefaultsMode: c.defaultsMode, + Retryer: func() func() aws.Retryer { + if c.retryer == nil { + return nil + } + + return func() aws.Retryer { return c.retryer } + }(), + HTTPClient: nopClient, + RetryMaxAttempts: c.retryMaxAttempts, + RetryMode: c.retryMode, + }) + + if e, a := c.expectClientRetryMode, client.options.RetryMode; e != a { + t.Errorf("expect %v retry mode, got %v", e, a) + } + if e, a := c.expectClientMaxAttempts, client.options.Retryer.MaxAttempts(); e != a { + t.Errorf("expect %v max attempts, got %v", e, a) + } + + _, _, err := client.invokeOperation(context.Background(), "mockOperation", struct{}{}, + []func(*Options){ + func(o *Options) { + if c.opRetryMaxAttempts == nil { + return + } + o.RetryMaxAttempts = *c.opRetryMaxAttempts + }, + }, + func(s *middleware.Stack, o Options) error { + s.Initialize.Clear() + s.Serialize.Clear() + s.Build.Clear() + s.Finalize.Clear() + s.Deserialize.Clear() + + if e, a := c.expectOpMaxAttempts, o.Retryer.MaxAttempts(); e != a { + t.Errorf("expect %v op max attempts, got %v", e, a) + } + return nil + }) + if err != nil { + t.Fatalf("expect no operation error, got %v", err) + } + }) + } +} diff --git a/service/redshiftserverless/api_op_ConvertRecoveryPointToSnapshot.go b/service/redshiftserverless/api_op_ConvertRecoveryPointToSnapshot.go new file mode 100644 index 00000000000..0516da3e688 --- /dev/null +++ b/service/redshiftserverless/api_op_ConvertRecoveryPointToSnapshot.go @@ -0,0 +1,131 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package redshiftserverless + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/redshiftserverless/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Converts a recovery point to a snapshot. For more information about recovery +// points and snapshots, see Working with snapshots and recovery points +// (https://docs.aws.amazon.com/redshift/latest/mgmt/serverless-snapshots-recovery.html). +func (c *Client) ConvertRecoveryPointToSnapshot(ctx context.Context, params *ConvertRecoveryPointToSnapshotInput, optFns ...func(*Options)) (*ConvertRecoveryPointToSnapshotOutput, error) { + if params == nil { + params = &ConvertRecoveryPointToSnapshotInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "ConvertRecoveryPointToSnapshot", params, optFns, c.addOperationConvertRecoveryPointToSnapshotMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*ConvertRecoveryPointToSnapshotOutput) + out.ResultMetadata = metadata + return out, nil +} + +type ConvertRecoveryPointToSnapshotInput struct { + + // The unique identifier of the recovery point. + // + // This member is required. + RecoveryPointId *string + + // The name of the snapshot. + // + // This member is required. + SnapshotName *string + + // How long to retain the snapshot. + RetentionPeriod *int32 + + noSmithyDocumentSerde +} + +type ConvertRecoveryPointToSnapshotOutput struct { + + // The snapshot converted from the recovery point. + Snapshot *types.Snapshot + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationConvertRecoveryPointToSnapshotMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsAwsjson11_serializeOpConvertRecoveryPointToSnapshot{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsjson11_deserializeOpConvertRecoveryPointToSnapshot{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpConvertRecoveryPointToSnapshotValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opConvertRecoveryPointToSnapshot(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opConvertRecoveryPointToSnapshot(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "redshift-serverless", + OperationName: "ConvertRecoveryPointToSnapshot", + } +} diff --git a/service/redshiftserverless/api_op_CreateEndpointAccess.go b/service/redshiftserverless/api_op_CreateEndpointAccess.go new file mode 100644 index 00000000000..fa86a0ddf66 --- /dev/null +++ b/service/redshiftserverless/api_op_CreateEndpointAccess.go @@ -0,0 +1,138 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package redshiftserverless + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/redshiftserverless/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Creates an Amazon Redshift Serverless managed VPC endpoint. +func (c *Client) CreateEndpointAccess(ctx context.Context, params *CreateEndpointAccessInput, optFns ...func(*Options)) (*CreateEndpointAccessOutput, error) { + if params == nil { + params = &CreateEndpointAccessInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "CreateEndpointAccess", params, optFns, c.addOperationCreateEndpointAccessMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*CreateEndpointAccessOutput) + out.ResultMetadata = metadata + return out, nil +} + +type CreateEndpointAccessInput struct { + + // The name of the VPC endpoint. An endpoint name must contain 1-30 characters. + // Valid characters are A-Z, a-z, 0-9, and hyphen(-). The first character must be a + // letter. The name can't contain two consecutive hyphens or end with a hyphen. + // + // This member is required. + EndpointName *string + + // The unique identifers of subnets from which Amazon Redshift Serverless chooses + // one to deploy a VPC endpoint. + // + // This member is required. + SubnetIds []string + + // The name of the workgroup to associate with the VPC endpoint. + // + // This member is required. + WorkgroupName *string + + // The unique identifiers of the security group that defines the ports, protocols, + // and sources for inbound traffic that you are authorizing into your endpoint. + VpcSecurityGroupIds []string + + noSmithyDocumentSerde +} + +type CreateEndpointAccessOutput struct { + + // The created VPC endpoint. + Endpoint *types.EndpointAccess + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationCreateEndpointAccessMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsAwsjson11_serializeOpCreateEndpointAccess{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsjson11_deserializeOpCreateEndpointAccess{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpCreateEndpointAccessValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateEndpointAccess(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opCreateEndpointAccess(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "redshift-serverless", + OperationName: "CreateEndpointAccess", + } +} diff --git a/service/redshiftserverless/api_op_CreateNamespace.go b/service/redshiftserverless/api_op_CreateNamespace.go new file mode 100644 index 00000000000..d7bc3870452 --- /dev/null +++ b/service/redshiftserverless/api_op_CreateNamespace.go @@ -0,0 +1,150 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package redshiftserverless + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/redshiftserverless/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Creates a namespace in Amazon Redshift Serverless. +func (c *Client) CreateNamespace(ctx context.Context, params *CreateNamespaceInput, optFns ...func(*Options)) (*CreateNamespaceOutput, error) { + if params == nil { + params = &CreateNamespaceInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "CreateNamespace", params, optFns, c.addOperationCreateNamespaceMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*CreateNamespaceOutput) + out.ResultMetadata = metadata + return out, nil +} + +type CreateNamespaceInput struct { + + // The name of the namespace. + // + // This member is required. + NamespaceName *string + + // The password of the administrator for the first database created in the + // namespace. + AdminUserPassword *string + + // The username of the administrator for the first database created in the + // namespace. + AdminUsername *string + + // The name of the first database created in the namespace. + DbName *string + + // The Amazon Resource Name (ARN) of the IAM role to set as a default in the + // namespace. + DefaultIamRoleArn *string + + // A list of IAM roles to associate with the namespace. + IamRoles []string + + // The ID of the Amazon Web Services Key Management Service key used to encrypt + // your data. + KmsKeyId *string + + // The types of logs the namespace can export. Available export types are userlog, + // connectionlog, and useractivitylog. + LogExports []types.LogExport + + // A list of tag instances. + Tags []types.Tag + + noSmithyDocumentSerde +} + +type CreateNamespaceOutput struct { + + // The created namespace object. + Namespace *types.Namespace + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationCreateNamespaceMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsAwsjson11_serializeOpCreateNamespace{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsjson11_deserializeOpCreateNamespace{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpCreateNamespaceValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateNamespace(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opCreateNamespace(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "redshift-serverless", + OperationName: "CreateNamespace", + } +} diff --git a/service/redshiftserverless/api_op_CreateSnapshot.go b/service/redshiftserverless/api_op_CreateSnapshot.go new file mode 100644 index 00000000000..8d8d1f68817 --- /dev/null +++ b/service/redshiftserverless/api_op_CreateSnapshot.go @@ -0,0 +1,131 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package redshiftserverless + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/redshiftserverless/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Creates a snapshot of all databases in a namespace. For more information about +// snapshots, see Working with snapshots and recovery points +// (https://docs.aws.amazon.com/redshift/latest/mgmt/serverless-snapshots-recovery.html). +func (c *Client) CreateSnapshot(ctx context.Context, params *CreateSnapshotInput, optFns ...func(*Options)) (*CreateSnapshotOutput, error) { + if params == nil { + params = &CreateSnapshotInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "CreateSnapshot", params, optFns, c.addOperationCreateSnapshotMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*CreateSnapshotOutput) + out.ResultMetadata = metadata + return out, nil +} + +type CreateSnapshotInput struct { + + // The namespace to create a snapshot for. + // + // This member is required. + NamespaceName *string + + // The name of the snapshot. + // + // This member is required. + SnapshotName *string + + // How long to retain the created snapshot. + RetentionPeriod *int32 + + noSmithyDocumentSerde +} + +type CreateSnapshotOutput struct { + + // The created snapshot object. + Snapshot *types.Snapshot + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationCreateSnapshotMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsAwsjson11_serializeOpCreateSnapshot{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsjson11_deserializeOpCreateSnapshot{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpCreateSnapshotValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSnapshot(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opCreateSnapshot(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "redshift-serverless", + OperationName: "CreateSnapshot", + } +} diff --git a/service/redshiftserverless/api_op_CreateUsageLimit.go b/service/redshiftserverless/api_op_CreateUsageLimit.go new file mode 100644 index 00000000000..b1b8b9a5eed --- /dev/null +++ b/service/redshiftserverless/api_op_CreateUsageLimit.go @@ -0,0 +1,144 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package redshiftserverless + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/redshiftserverless/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Creates a usage limit for a specified Amazon Redshift Serverless usage type. The +// usage limit is identified by the returned usage limit identifier. +func (c *Client) CreateUsageLimit(ctx context.Context, params *CreateUsageLimitInput, optFns ...func(*Options)) (*CreateUsageLimitOutput, error) { + if params == nil { + params = &CreateUsageLimitInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "CreateUsageLimit", params, optFns, c.addOperationCreateUsageLimitMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*CreateUsageLimitOutput) + out.ResultMetadata = metadata + return out, nil +} + +type CreateUsageLimitInput struct { + + // The limit amount. If time-based, this amount is in Redshift Processing Units + // (RPU) consumed per hour. If data-based, this amount is in terabytes (TB) of data + // transferred between Regions in cross-account sharing. The value must be a + // positive number. + // + // This member is required. + Amount *int64 + + // The Amazon Resource Name (ARN) of the Amazon Redshift Serverless resource to + // create the usage limit for. + // + // This member is required. + ResourceArn *string + + // The type of Amazon Redshift Serverless usage to create a usage limit for. + // + // This member is required. + UsageType types.UsageLimitUsageType + + // The action that Amazon Redshift Serverless takes when the limit is reached. The + // default is log. + BreachAction types.UsageLimitBreachAction + + // The time period that the amount applies to. A weekly period begins on Sunday. + // The default is monthly. + Period types.UsageLimitPeriod + + noSmithyDocumentSerde +} + +type CreateUsageLimitOutput struct { + + // The returned usage limit object. + UsageLimit *types.UsageLimit + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationCreateUsageLimitMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsAwsjson11_serializeOpCreateUsageLimit{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsjson11_deserializeOpCreateUsageLimit{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpCreateUsageLimitValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateUsageLimit(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opCreateUsageLimit(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "redshift-serverless", + OperationName: "CreateUsageLimit", + } +} diff --git a/service/redshiftserverless/api_op_CreateWorkgroup.go b/service/redshiftserverless/api_op_CreateWorkgroup.go new file mode 100644 index 00000000000..8ef35992039 --- /dev/null +++ b/service/redshiftserverless/api_op_CreateWorkgroup.go @@ -0,0 +1,153 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package redshiftserverless + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/redshiftserverless/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Creates an workgroup in Amazon Redshift Serverless. +func (c *Client) CreateWorkgroup(ctx context.Context, params *CreateWorkgroupInput, optFns ...func(*Options)) (*CreateWorkgroupOutput, error) { + if params == nil { + params = &CreateWorkgroupInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "CreateWorkgroup", params, optFns, c.addOperationCreateWorkgroupMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*CreateWorkgroupOutput) + out.ResultMetadata = metadata + return out, nil +} + +type CreateWorkgroupInput struct { + + // The name of the namespace to associate with the workgroup. + // + // This member is required. + NamespaceName *string + + // The name of the created workgroup. + // + // This member is required. + WorkgroupName *string + + // The base data warehouse capacity of the workgroup in Redshift Processing Units + // (RPUs). + BaseCapacity *int32 + + // An array of parameters to set for more control over a serverless database. The + // options are datestyle, enable_user_activity_logging, query_group, search_path, + // and max_query_execution_time. + ConfigParameters []types.ConfigParameter + + // The value that specifies whether to turn on enhanced virtual private cloud (VPC) + // routing, which forces Amazon Redshift Serverless to route traffic through your + // VPC instead of over the internet. + EnhancedVpcRouting *bool + + // A value that specifies whether the workgroup can be accessed from a public + // network. + PubliclyAccessible *bool + + // An array of security group IDs to associate with the workgroup. + SecurityGroupIds []string + + // An array of VPC subnet IDs to associate with the workgroup. + SubnetIds []string + + // A array of tag instances. + Tags []types.Tag + + noSmithyDocumentSerde +} + +type CreateWorkgroupOutput struct { + + // The created workgroup object. + Workgroup *types.Workgroup + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationCreateWorkgroupMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsAwsjson11_serializeOpCreateWorkgroup{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsjson11_deserializeOpCreateWorkgroup{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpCreateWorkgroupValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateWorkgroup(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opCreateWorkgroup(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "redshift-serverless", + OperationName: "CreateWorkgroup", + } +} diff --git a/service/redshiftserverless/api_op_DeleteEndpointAccess.go b/service/redshiftserverless/api_op_DeleteEndpointAccess.go new file mode 100644 index 00000000000..cb0526f9e6a --- /dev/null +++ b/service/redshiftserverless/api_op_DeleteEndpointAccess.go @@ -0,0 +1,121 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package redshiftserverless + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/redshiftserverless/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Deletes an Amazon Redshift Serverless managed VPC endpoint. +func (c *Client) DeleteEndpointAccess(ctx context.Context, params *DeleteEndpointAccessInput, optFns ...func(*Options)) (*DeleteEndpointAccessOutput, error) { + if params == nil { + params = &DeleteEndpointAccessInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "DeleteEndpointAccess", params, optFns, c.addOperationDeleteEndpointAccessMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*DeleteEndpointAccessOutput) + out.ResultMetadata = metadata + return out, nil +} + +type DeleteEndpointAccessInput struct { + + // The name of the VPC endpoint to delete. + // + // This member is required. + EndpointName *string + + noSmithyDocumentSerde +} + +type DeleteEndpointAccessOutput struct { + + // The deleted VPC endpoint. + Endpoint *types.EndpointAccess + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationDeleteEndpointAccessMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsAwsjson11_serializeOpDeleteEndpointAccess{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsjson11_deserializeOpDeleteEndpointAccess{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpDeleteEndpointAccessValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteEndpointAccess(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opDeleteEndpointAccess(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "redshift-serverless", + OperationName: "DeleteEndpointAccess", + } +} diff --git a/service/redshiftserverless/api_op_DeleteNamespace.go b/service/redshiftserverless/api_op_DeleteNamespace.go new file mode 100644 index 00000000000..2e495410e42 --- /dev/null +++ b/service/redshiftserverless/api_op_DeleteNamespace.go @@ -0,0 +1,131 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package redshiftserverless + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/redshiftserverless/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Deletes a namespace from Amazon Redshift Serverless. Before you delete the +// namespace, you can create a final snapshot that has all of the data within the +// namespace. +func (c *Client) DeleteNamespace(ctx context.Context, params *DeleteNamespaceInput, optFns ...func(*Options)) (*DeleteNamespaceOutput, error) { + if params == nil { + params = &DeleteNamespaceInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "DeleteNamespace", params, optFns, c.addOperationDeleteNamespaceMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*DeleteNamespaceOutput) + out.ResultMetadata = metadata + return out, nil +} + +type DeleteNamespaceInput struct { + + // The name of the namespace to delete. + // + // This member is required. + NamespaceName *string + + // The name of the snapshot to be created before the namespace is deleted. + FinalSnapshotName *string + + // How long to retain the final snapshot. + FinalSnapshotRetentionPeriod *int32 + + noSmithyDocumentSerde +} + +type DeleteNamespaceOutput struct { + + // The deleted namespace object. + // + // This member is required. + Namespace *types.Namespace + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationDeleteNamespaceMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsAwsjson11_serializeOpDeleteNamespace{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsjson11_deserializeOpDeleteNamespace{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpDeleteNamespaceValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteNamespace(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opDeleteNamespace(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "redshift-serverless", + OperationName: "DeleteNamespace", + } +} diff --git a/service/redshiftserverless/api_op_DeleteResourcePolicy.go b/service/redshiftserverless/api_op_DeleteResourcePolicy.go new file mode 100644 index 00000000000..ed54c71f9c5 --- /dev/null +++ b/service/redshiftserverless/api_op_DeleteResourcePolicy.go @@ -0,0 +1,116 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package redshiftserverless + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Deletes the specified resource policy. +func (c *Client) DeleteResourcePolicy(ctx context.Context, params *DeleteResourcePolicyInput, optFns ...func(*Options)) (*DeleteResourcePolicyOutput, error) { + if params == nil { + params = &DeleteResourcePolicyInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "DeleteResourcePolicy", params, optFns, c.addOperationDeleteResourcePolicyMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*DeleteResourcePolicyOutput) + out.ResultMetadata = metadata + return out, nil +} + +type DeleteResourcePolicyInput struct { + + // The Amazon Resource Name (ARN) of the policy to delete. + // + // This member is required. + ResourceArn *string + + noSmithyDocumentSerde +} + +type DeleteResourcePolicyOutput struct { + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationDeleteResourcePolicyMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsAwsjson11_serializeOpDeleteResourcePolicy{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsjson11_deserializeOpDeleteResourcePolicy{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpDeleteResourcePolicyValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteResourcePolicy(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opDeleteResourcePolicy(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "redshift-serverless", + OperationName: "DeleteResourcePolicy", + } +} diff --git a/service/redshiftserverless/api_op_DeleteSnapshot.go b/service/redshiftserverless/api_op_DeleteSnapshot.go new file mode 100644 index 00000000000..d4a6344656a --- /dev/null +++ b/service/redshiftserverless/api_op_DeleteSnapshot.go @@ -0,0 +1,121 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package redshiftserverless + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/redshiftserverless/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Deletes a snapshot from Amazon Redshift Serverless. +func (c *Client) DeleteSnapshot(ctx context.Context, params *DeleteSnapshotInput, optFns ...func(*Options)) (*DeleteSnapshotOutput, error) { + if params == nil { + params = &DeleteSnapshotInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "DeleteSnapshot", params, optFns, c.addOperationDeleteSnapshotMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*DeleteSnapshotOutput) + out.ResultMetadata = metadata + return out, nil +} + +type DeleteSnapshotInput struct { + + // The name of the snapshot to be deleted. + // + // This member is required. + SnapshotName *string + + noSmithyDocumentSerde +} + +type DeleteSnapshotOutput struct { + + // The deleted snapshot object. + Snapshot *types.Snapshot + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationDeleteSnapshotMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsAwsjson11_serializeOpDeleteSnapshot{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsjson11_deserializeOpDeleteSnapshot{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpDeleteSnapshotValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSnapshot(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opDeleteSnapshot(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "redshift-serverless", + OperationName: "DeleteSnapshot", + } +} diff --git a/service/redshiftserverless/api_op_DeleteUsageLimit.go b/service/redshiftserverless/api_op_DeleteUsageLimit.go new file mode 100644 index 00000000000..bf4932900a4 --- /dev/null +++ b/service/redshiftserverless/api_op_DeleteUsageLimit.go @@ -0,0 +1,121 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package redshiftserverless + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/redshiftserverless/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Deletes a usage limit from Amazon Redshift Serverless. +func (c *Client) DeleteUsageLimit(ctx context.Context, params *DeleteUsageLimitInput, optFns ...func(*Options)) (*DeleteUsageLimitOutput, error) { + if params == nil { + params = &DeleteUsageLimitInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "DeleteUsageLimit", params, optFns, c.addOperationDeleteUsageLimitMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*DeleteUsageLimitOutput) + out.ResultMetadata = metadata + return out, nil +} + +type DeleteUsageLimitInput struct { + + // The unique identifier of the usage limit to delete. + // + // This member is required. + UsageLimitId *string + + noSmithyDocumentSerde +} + +type DeleteUsageLimitOutput struct { + + // The deleted usage limit object. + UsageLimit *types.UsageLimit + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationDeleteUsageLimitMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsAwsjson11_serializeOpDeleteUsageLimit{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsjson11_deserializeOpDeleteUsageLimit{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpDeleteUsageLimitValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteUsageLimit(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opDeleteUsageLimit(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "redshift-serverless", + OperationName: "DeleteUsageLimit", + } +} diff --git a/service/redshiftserverless/api_op_DeleteWorkgroup.go b/service/redshiftserverless/api_op_DeleteWorkgroup.go new file mode 100644 index 00000000000..fd7b68a9a3c --- /dev/null +++ b/service/redshiftserverless/api_op_DeleteWorkgroup.go @@ -0,0 +1,123 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package redshiftserverless + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/redshiftserverless/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Deletes a workgroup. +func (c *Client) DeleteWorkgroup(ctx context.Context, params *DeleteWorkgroupInput, optFns ...func(*Options)) (*DeleteWorkgroupOutput, error) { + if params == nil { + params = &DeleteWorkgroupInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "DeleteWorkgroup", params, optFns, c.addOperationDeleteWorkgroupMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*DeleteWorkgroupOutput) + out.ResultMetadata = metadata + return out, nil +} + +type DeleteWorkgroupInput struct { + + // The name of the workgroup to be deleted. + // + // This member is required. + WorkgroupName *string + + noSmithyDocumentSerde +} + +type DeleteWorkgroupOutput struct { + + // The deleted workgroup object. + // + // This member is required. + Workgroup *types.Workgroup + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationDeleteWorkgroupMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsAwsjson11_serializeOpDeleteWorkgroup{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsjson11_deserializeOpDeleteWorkgroup{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpDeleteWorkgroupValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteWorkgroup(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opDeleteWorkgroup(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "redshift-serverless", + OperationName: "DeleteWorkgroup", + } +} diff --git a/service/redshiftserverless/api_op_GetCredentials.go b/service/redshiftserverless/api_op_GetCredentials.go new file mode 100644 index 00000000000..52ee5366d48 --- /dev/null +++ b/service/redshiftserverless/api_op_GetCredentials.go @@ -0,0 +1,165 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package redshiftserverless + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" + "time" +) + +// Returns a database user name and temporary password with temporary authorization +// to log in to Amazon Redshift Serverless. By default, the temporary credentials +// expire in 900 seconds. You can optionally specify a duration between 900 seconds +// (15 minutes) and 3600 seconds (60 minutes). The Identity and Access Management +// (IAM) user or role that runs GetCredentials must have an IAM policy attached +// that allows access to all necessary actions and resources. If the DbName +// parameter is specified, the IAM policy must allow access to the resource dbname +// for the specified database name. +func (c *Client) GetCredentials(ctx context.Context, params *GetCredentialsInput, optFns ...func(*Options)) (*GetCredentialsOutput, error) { + if params == nil { + params = &GetCredentialsInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "GetCredentials", params, optFns, c.addOperationGetCredentialsMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*GetCredentialsOutput) + out.ResultMetadata = metadata + return out, nil +} + +type GetCredentialsInput struct { + + // The name of the workgroup associated with the database. + // + // This member is required. + WorkgroupName *string + + // The name of the database to get temporary authorization to log on to. + // Constraints: + // + // * Must be 1 to 64 alphanumeric characters or hyphens. + // + // * Must + // contain only lowercase letters, numbers, underscore, plus sign, period (dot), at + // symbol (@), or hyphen. + // + // * The first character must be a letter. + // + // * Must not + // contain a colon ( : ) or slash ( / ). + // + // * Cannot be a reserved word. A list of + // reserved words can be found in Reserved Words + // (https://docs.aws.amazon.com/redshift/latest/dg/r_pg_keywords.html) in the + // Amazon Redshift Database Developer Guide + DbName *string + + // The number of seconds until the returned temporary password expires. The minimum + // is 900 seconds, and the maximum is 3600 seconds. + DurationSeconds *int32 + + noSmithyDocumentSerde +} + +type GetCredentialsOutput struct { + + // A temporary password that authorizes the user name returned by DbUser to log on + // to the database DbName. + DbPassword *string + + // A database user name that is authorized to log on to the database DbName using + // the password DbPassword. If the specified DbUser exists in the database, the new + // user name has the same database privileges as the the user named in DbUser. By + // default, the user is added to PUBLIC. + DbUser *string + + // The date and time the password in DbPassword expires. + Expiration *time.Time + + // The date and time of when the DbUser and DbPassword authorization refreshes. + NextRefreshTime *time.Time + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationGetCredentialsMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsAwsjson11_serializeOpGetCredentials{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsjson11_deserializeOpGetCredentials{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpGetCredentialsValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCredentials(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opGetCredentials(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "redshift-serverless", + OperationName: "GetCredentials", + } +} diff --git a/service/redshiftserverless/api_op_GetEndpointAccess.go b/service/redshiftserverless/api_op_GetEndpointAccess.go new file mode 100644 index 00000000000..6814260326b --- /dev/null +++ b/service/redshiftserverless/api_op_GetEndpointAccess.go @@ -0,0 +1,121 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package redshiftserverless + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/redshiftserverless/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Returns information, such as the name, about a VPC endpoint. +func (c *Client) GetEndpointAccess(ctx context.Context, params *GetEndpointAccessInput, optFns ...func(*Options)) (*GetEndpointAccessOutput, error) { + if params == nil { + params = &GetEndpointAccessInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "GetEndpointAccess", params, optFns, c.addOperationGetEndpointAccessMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*GetEndpointAccessOutput) + out.ResultMetadata = metadata + return out, nil +} + +type GetEndpointAccessInput struct { + + // The name of the VPC endpoint to return information for. + // + // This member is required. + EndpointName *string + + noSmithyDocumentSerde +} + +type GetEndpointAccessOutput struct { + + // The returned VPC endpoint. + Endpoint *types.EndpointAccess + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationGetEndpointAccessMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsAwsjson11_serializeOpGetEndpointAccess{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsjson11_deserializeOpGetEndpointAccess{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpGetEndpointAccessValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEndpointAccess(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opGetEndpointAccess(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "redshift-serverless", + OperationName: "GetEndpointAccess", + } +} diff --git a/service/redshiftserverless/api_op_GetNamespace.go b/service/redshiftserverless/api_op_GetNamespace.go new file mode 100644 index 00000000000..b1a41e11abf --- /dev/null +++ b/service/redshiftserverless/api_op_GetNamespace.go @@ -0,0 +1,123 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package redshiftserverless + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/redshiftserverless/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Returns information about a namespace in Amazon Redshift Serverless. +func (c *Client) GetNamespace(ctx context.Context, params *GetNamespaceInput, optFns ...func(*Options)) (*GetNamespaceOutput, error) { + if params == nil { + params = &GetNamespaceInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "GetNamespace", params, optFns, c.addOperationGetNamespaceMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*GetNamespaceOutput) + out.ResultMetadata = metadata + return out, nil +} + +type GetNamespaceInput struct { + + // The name of the namespace to retrieve information for. + // + // This member is required. + NamespaceName *string + + noSmithyDocumentSerde +} + +type GetNamespaceOutput struct { + + // The returned namespace object. + // + // This member is required. + Namespace *types.Namespace + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationGetNamespaceMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsAwsjson11_serializeOpGetNamespace{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsjson11_deserializeOpGetNamespace{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpGetNamespaceValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetNamespace(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opGetNamespace(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "redshift-serverless", + OperationName: "GetNamespace", + } +} diff --git a/service/redshiftserverless/api_op_GetRecoveryPoint.go b/service/redshiftserverless/api_op_GetRecoveryPoint.go new file mode 100644 index 00000000000..1ac2952ab99 --- /dev/null +++ b/service/redshiftserverless/api_op_GetRecoveryPoint.go @@ -0,0 +1,121 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package redshiftserverless + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/redshiftserverless/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Returns information about a recovery point. +func (c *Client) GetRecoveryPoint(ctx context.Context, params *GetRecoveryPointInput, optFns ...func(*Options)) (*GetRecoveryPointOutput, error) { + if params == nil { + params = &GetRecoveryPointInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "GetRecoveryPoint", params, optFns, c.addOperationGetRecoveryPointMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*GetRecoveryPointOutput) + out.ResultMetadata = metadata + return out, nil +} + +type GetRecoveryPointInput struct { + + // The unique identifier of the recovery point to return information for. + // + // This member is required. + RecoveryPointId *string + + noSmithyDocumentSerde +} + +type GetRecoveryPointOutput struct { + + // The returned recovery point object. + RecoveryPoint *types.RecoveryPoint + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationGetRecoveryPointMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsAwsjson11_serializeOpGetRecoveryPoint{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsjson11_deserializeOpGetRecoveryPoint{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpGetRecoveryPointValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRecoveryPoint(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opGetRecoveryPoint(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "redshift-serverless", + OperationName: "GetRecoveryPoint", + } +} diff --git a/service/redshiftserverless/api_op_GetResourcePolicy.go b/service/redshiftserverless/api_op_GetResourcePolicy.go new file mode 100644 index 00000000000..fa51a029001 --- /dev/null +++ b/service/redshiftserverless/api_op_GetResourcePolicy.go @@ -0,0 +1,121 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package redshiftserverless + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/redshiftserverless/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Returns a resource policy. +func (c *Client) GetResourcePolicy(ctx context.Context, params *GetResourcePolicyInput, optFns ...func(*Options)) (*GetResourcePolicyOutput, error) { + if params == nil { + params = &GetResourcePolicyInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "GetResourcePolicy", params, optFns, c.addOperationGetResourcePolicyMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*GetResourcePolicyOutput) + out.ResultMetadata = metadata + return out, nil +} + +type GetResourcePolicyInput struct { + + // The Amazon Resource Name (ARN) of the resource to return. + // + // This member is required. + ResourceArn *string + + noSmithyDocumentSerde +} + +type GetResourcePolicyOutput struct { + + // The returned resource policy. + ResourcePolicy *types.ResourcePolicy + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationGetResourcePolicyMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsAwsjson11_serializeOpGetResourcePolicy{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsjson11_deserializeOpGetResourcePolicy{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpGetResourcePolicyValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetResourcePolicy(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opGetResourcePolicy(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "redshift-serverless", + OperationName: "GetResourcePolicy", + } +} diff --git a/service/redshiftserverless/api_op_GetSnapshot.go b/service/redshiftserverless/api_op_GetSnapshot.go new file mode 100644 index 00000000000..cbd45b4b0dd --- /dev/null +++ b/service/redshiftserverless/api_op_GetSnapshot.go @@ -0,0 +1,122 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package redshiftserverless + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/redshiftserverless/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Returns information about a specific snapshot. +func (c *Client) GetSnapshot(ctx context.Context, params *GetSnapshotInput, optFns ...func(*Options)) (*GetSnapshotOutput, error) { + if params == nil { + params = &GetSnapshotInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "GetSnapshot", params, optFns, c.addOperationGetSnapshotMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*GetSnapshotOutput) + out.ResultMetadata = metadata + return out, nil +} + +type GetSnapshotInput struct { + + // The owner Amazon Web Services account of a snapshot shared with another user. + OwnerAccount *string + + // The Amazon Resource Name (ARN) of the snapshot to return. + SnapshotArn *string + + // The name of the snapshot to return. + SnapshotName *string + + noSmithyDocumentSerde +} + +type GetSnapshotOutput struct { + + // The returned snapshot object. + Snapshot *types.Snapshot + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationGetSnapshotMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsAwsjson11_serializeOpGetSnapshot{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsjson11_deserializeOpGetSnapshot{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSnapshot(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opGetSnapshot(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "redshift-serverless", + OperationName: "GetSnapshot", + } +} diff --git a/service/redshiftserverless/api_op_GetUsageLimit.go b/service/redshiftserverless/api_op_GetUsageLimit.go new file mode 100644 index 00000000000..c51207d59e0 --- /dev/null +++ b/service/redshiftserverless/api_op_GetUsageLimit.go @@ -0,0 +1,121 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package redshiftserverless + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/redshiftserverless/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Returns information about a usage limit. +func (c *Client) GetUsageLimit(ctx context.Context, params *GetUsageLimitInput, optFns ...func(*Options)) (*GetUsageLimitOutput, error) { + if params == nil { + params = &GetUsageLimitInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "GetUsageLimit", params, optFns, c.addOperationGetUsageLimitMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*GetUsageLimitOutput) + out.ResultMetadata = metadata + return out, nil +} + +type GetUsageLimitInput struct { + + // The unique identifier of the usage limit to return information for. + // + // This member is required. + UsageLimitId *string + + noSmithyDocumentSerde +} + +type GetUsageLimitOutput struct { + + // The returned usage limit object. + UsageLimit *types.UsageLimit + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationGetUsageLimitMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsAwsjson11_serializeOpGetUsageLimit{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsjson11_deserializeOpGetUsageLimit{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpGetUsageLimitValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetUsageLimit(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opGetUsageLimit(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "redshift-serverless", + OperationName: "GetUsageLimit", + } +} diff --git a/service/redshiftserverless/api_op_GetWorkgroup.go b/service/redshiftserverless/api_op_GetWorkgroup.go new file mode 100644 index 00000000000..97a7850ce87 --- /dev/null +++ b/service/redshiftserverless/api_op_GetWorkgroup.go @@ -0,0 +1,123 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package redshiftserverless + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/redshiftserverless/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Returns information about a specific workgroup. +func (c *Client) GetWorkgroup(ctx context.Context, params *GetWorkgroupInput, optFns ...func(*Options)) (*GetWorkgroupOutput, error) { + if params == nil { + params = &GetWorkgroupInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "GetWorkgroup", params, optFns, c.addOperationGetWorkgroupMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*GetWorkgroupOutput) + out.ResultMetadata = metadata + return out, nil +} + +type GetWorkgroupInput struct { + + // The name of the workgroup to return information for. + // + // This member is required. + WorkgroupName *string + + noSmithyDocumentSerde +} + +type GetWorkgroupOutput struct { + + // The returned workgroup object. + // + // This member is required. + Workgroup *types.Workgroup + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationGetWorkgroupMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsAwsjson11_serializeOpGetWorkgroup{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsjson11_deserializeOpGetWorkgroup{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpGetWorkgroupValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetWorkgroup(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opGetWorkgroup(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "redshift-serverless", + OperationName: "GetWorkgroup", + } +} diff --git a/service/redshiftserverless/api_op_ListEndpointAccess.go b/service/redshiftserverless/api_op_ListEndpointAccess.go new file mode 100644 index 00000000000..b33ac7dd1dc --- /dev/null +++ b/service/redshiftserverless/api_op_ListEndpointAccess.go @@ -0,0 +1,229 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package redshiftserverless + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/redshiftserverless/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Returns an array of EndpointAccess objects and relevant information. +func (c *Client) ListEndpointAccess(ctx context.Context, params *ListEndpointAccessInput, optFns ...func(*Options)) (*ListEndpointAccessOutput, error) { + if params == nil { + params = &ListEndpointAccessInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "ListEndpointAccess", params, optFns, c.addOperationListEndpointAccessMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*ListEndpointAccessOutput) + out.ResultMetadata = metadata + return out, nil +} + +type ListEndpointAccessInput struct { + + // An optional parameter that specifies the maximum number of results to return. + // You can use nextToken to get the next page of results. + MaxResults *int32 + + // If your initial ListEndpointAccess operation returns a nextToken, you can + // include the returned nextToken in subsequent ListEndpointAccess operations, + // which returns results in the next page. + NextToken *string + + // The unique identifier of the virtual private cloud with access to Amazon + // Redshift Serverless. + VpcId *string + + // The name of the workgroup associated with the VPC endpoint to return. + WorkgroupName *string + + noSmithyDocumentSerde +} + +type ListEndpointAccessOutput struct { + + // The returned VPC endpoints. + // + // This member is required. + Endpoints []types.EndpointAccess + + // When nextToken is returned, there are more results available. The value of + // nextToken is a unique pagination token for each page. Make the call again using + // the returned token to retrieve the next page. + NextToken *string + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationListEndpointAccessMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsAwsjson11_serializeOpListEndpointAccess{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsjson11_deserializeOpListEndpointAccess{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEndpointAccess(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +// ListEndpointAccessAPIClient is a client that implements the ListEndpointAccess +// operation. +type ListEndpointAccessAPIClient interface { + ListEndpointAccess(context.Context, *ListEndpointAccessInput, ...func(*Options)) (*ListEndpointAccessOutput, error) +} + +var _ ListEndpointAccessAPIClient = (*Client)(nil) + +// ListEndpointAccessPaginatorOptions is the paginator options for +// ListEndpointAccess +type ListEndpointAccessPaginatorOptions struct { + // An optional parameter that specifies the maximum number of results to return. + // You can use nextToken to get the next page of results. + Limit int32 + + // Set to true if pagination should stop if the service returns a pagination token + // that matches the most recent token provided to the service. + StopOnDuplicateToken bool +} + +// ListEndpointAccessPaginator is a paginator for ListEndpointAccess +type ListEndpointAccessPaginator struct { + options ListEndpointAccessPaginatorOptions + client ListEndpointAccessAPIClient + params *ListEndpointAccessInput + nextToken *string + firstPage bool +} + +// NewListEndpointAccessPaginator returns a new ListEndpointAccessPaginator +func NewListEndpointAccessPaginator(client ListEndpointAccessAPIClient, params *ListEndpointAccessInput, optFns ...func(*ListEndpointAccessPaginatorOptions)) *ListEndpointAccessPaginator { + if params == nil { + params = &ListEndpointAccessInput{} + } + + options := ListEndpointAccessPaginatorOptions{} + if params.MaxResults != nil { + options.Limit = *params.MaxResults + } + + for _, fn := range optFns { + fn(&options) + } + + return &ListEndpointAccessPaginator{ + options: options, + client: client, + params: params, + firstPage: true, + nextToken: params.NextToken, + } +} + +// HasMorePages returns a boolean indicating whether more pages are available +func (p *ListEndpointAccessPaginator) HasMorePages() bool { + return p.firstPage || (p.nextToken != nil && len(*p.nextToken) != 0) +} + +// NextPage retrieves the next ListEndpointAccess page. +func (p *ListEndpointAccessPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListEndpointAccessOutput, error) { + if !p.HasMorePages() { + return nil, fmt.Errorf("no more pages available") + } + + params := *p.params + params.NextToken = p.nextToken + + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit + + result, err := p.client.ListEndpointAccess(ctx, ¶ms, optFns...) + if err != nil { + return nil, err + } + p.firstPage = false + + prevToken := p.nextToken + p.nextToken = result.NextToken + + if p.options.StopOnDuplicateToken && + prevToken != nil && + p.nextToken != nil && + *prevToken == *p.nextToken { + p.nextToken = nil + } + + return result, nil +} + +func newServiceMetadataMiddleware_opListEndpointAccess(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "redshift-serverless", + OperationName: "ListEndpointAccess", + } +} diff --git a/service/redshiftserverless/api_op_ListNamespaces.go b/service/redshiftserverless/api_op_ListNamespaces.go new file mode 100644 index 00000000000..07d455e2604 --- /dev/null +++ b/service/redshiftserverless/api_op_ListNamespaces.go @@ -0,0 +1,221 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package redshiftserverless + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/redshiftserverless/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Returns information about a list of specified namespaces. +func (c *Client) ListNamespaces(ctx context.Context, params *ListNamespacesInput, optFns ...func(*Options)) (*ListNamespacesOutput, error) { + if params == nil { + params = &ListNamespacesInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "ListNamespaces", params, optFns, c.addOperationListNamespacesMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*ListNamespacesOutput) + out.ResultMetadata = metadata + return out, nil +} + +type ListNamespacesInput struct { + + // An optional parameter that specifies the maximum number of results to return. + // You can use nextToken to get the next page of results. + MaxResults *int32 + + // If your initial ListNamespaces operation returns a nextToken, you can include + // the returned nextToken in subsequent ListNamespaces operations, which returns + // results in the next page. + NextToken *string + + noSmithyDocumentSerde +} + +type ListNamespacesOutput struct { + + // The list of returned namespaces. + // + // This member is required. + Namespaces []types.Namespace + + // When nextToken is returned, there are more results available. The value of + // nextToken is a unique pagination token for each page. Make the call again using + // the returned token to retrieve the next page. + NextToken *string + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationListNamespacesMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsAwsjson11_serializeOpListNamespaces{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsjson11_deserializeOpListNamespaces{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListNamespaces(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +// ListNamespacesAPIClient is a client that implements the ListNamespaces +// operation. +type ListNamespacesAPIClient interface { + ListNamespaces(context.Context, *ListNamespacesInput, ...func(*Options)) (*ListNamespacesOutput, error) +} + +var _ ListNamespacesAPIClient = (*Client)(nil) + +// ListNamespacesPaginatorOptions is the paginator options for ListNamespaces +type ListNamespacesPaginatorOptions struct { + // An optional parameter that specifies the maximum number of results to return. + // You can use nextToken to get the next page of results. + Limit int32 + + // Set to true if pagination should stop if the service returns a pagination token + // that matches the most recent token provided to the service. + StopOnDuplicateToken bool +} + +// ListNamespacesPaginator is a paginator for ListNamespaces +type ListNamespacesPaginator struct { + options ListNamespacesPaginatorOptions + client ListNamespacesAPIClient + params *ListNamespacesInput + nextToken *string + firstPage bool +} + +// NewListNamespacesPaginator returns a new ListNamespacesPaginator +func NewListNamespacesPaginator(client ListNamespacesAPIClient, params *ListNamespacesInput, optFns ...func(*ListNamespacesPaginatorOptions)) *ListNamespacesPaginator { + if params == nil { + params = &ListNamespacesInput{} + } + + options := ListNamespacesPaginatorOptions{} + if params.MaxResults != nil { + options.Limit = *params.MaxResults + } + + for _, fn := range optFns { + fn(&options) + } + + return &ListNamespacesPaginator{ + options: options, + client: client, + params: params, + firstPage: true, + nextToken: params.NextToken, + } +} + +// HasMorePages returns a boolean indicating whether more pages are available +func (p *ListNamespacesPaginator) HasMorePages() bool { + return p.firstPage || (p.nextToken != nil && len(*p.nextToken) != 0) +} + +// NextPage retrieves the next ListNamespaces page. +func (p *ListNamespacesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListNamespacesOutput, error) { + if !p.HasMorePages() { + return nil, fmt.Errorf("no more pages available") + } + + params := *p.params + params.NextToken = p.nextToken + + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit + + result, err := p.client.ListNamespaces(ctx, ¶ms, optFns...) + if err != nil { + return nil, err + } + p.firstPage = false + + prevToken := p.nextToken + p.nextToken = result.NextToken + + if p.options.StopOnDuplicateToken && + prevToken != nil && + p.nextToken != nil && + *prevToken == *p.nextToken { + p.nextToken = nil + } + + return result, nil +} + +func newServiceMetadataMiddleware_opListNamespaces(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "redshift-serverless", + OperationName: "ListNamespaces", + } +} diff --git a/service/redshiftserverless/api_op_ListRecoveryPoints.go b/service/redshiftserverless/api_op_ListRecoveryPoints.go new file mode 100644 index 00000000000..c45595e4c85 --- /dev/null +++ b/service/redshiftserverless/api_op_ListRecoveryPoints.go @@ -0,0 +1,230 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package redshiftserverless + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/redshiftserverless/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" + "time" +) + +// Returns an array of recovery points. +func (c *Client) ListRecoveryPoints(ctx context.Context, params *ListRecoveryPointsInput, optFns ...func(*Options)) (*ListRecoveryPointsOutput, error) { + if params == nil { + params = &ListRecoveryPointsInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "ListRecoveryPoints", params, optFns, c.addOperationListRecoveryPointsMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*ListRecoveryPointsOutput) + out.ResultMetadata = metadata + return out, nil +} + +type ListRecoveryPointsInput struct { + + // The time when creation of the recovery point finished. + EndTime *time.Time + + // An optional parameter that specifies the maximum number of results to return. + // You can use nextToken to get the next page of results. + MaxResults *int32 + + // The name of the namespace to list recovery points for. + NamespaceName *string + + // If your initial ListRecoveryPoints operation returns a nextToken, you can + // include the returned nextToken in subsequent ListRecoveryPoints operations, + // which returns results in the next page. + NextToken *string + + // The time when the recovery point's creation was initiated. + StartTime *time.Time + + noSmithyDocumentSerde +} + +type ListRecoveryPointsOutput struct { + + // If nextToken is returned, there are more results available. The value of + // nextToken is a unique pagination token for each page. Make the call again using + // the returned token to retrieve the next page. + NextToken *string + + // The returned recovery point objects. + RecoveryPoints []types.RecoveryPoint + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationListRecoveryPointsMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsAwsjson11_serializeOpListRecoveryPoints{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsjson11_deserializeOpListRecoveryPoints{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRecoveryPoints(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +// ListRecoveryPointsAPIClient is a client that implements the ListRecoveryPoints +// operation. +type ListRecoveryPointsAPIClient interface { + ListRecoveryPoints(context.Context, *ListRecoveryPointsInput, ...func(*Options)) (*ListRecoveryPointsOutput, error) +} + +var _ ListRecoveryPointsAPIClient = (*Client)(nil) + +// ListRecoveryPointsPaginatorOptions is the paginator options for +// ListRecoveryPoints +type ListRecoveryPointsPaginatorOptions struct { + // An optional parameter that specifies the maximum number of results to return. + // You can use nextToken to get the next page of results. + Limit int32 + + // Set to true if pagination should stop if the service returns a pagination token + // that matches the most recent token provided to the service. + StopOnDuplicateToken bool +} + +// ListRecoveryPointsPaginator is a paginator for ListRecoveryPoints +type ListRecoveryPointsPaginator struct { + options ListRecoveryPointsPaginatorOptions + client ListRecoveryPointsAPIClient + params *ListRecoveryPointsInput + nextToken *string + firstPage bool +} + +// NewListRecoveryPointsPaginator returns a new ListRecoveryPointsPaginator +func NewListRecoveryPointsPaginator(client ListRecoveryPointsAPIClient, params *ListRecoveryPointsInput, optFns ...func(*ListRecoveryPointsPaginatorOptions)) *ListRecoveryPointsPaginator { + if params == nil { + params = &ListRecoveryPointsInput{} + } + + options := ListRecoveryPointsPaginatorOptions{} + if params.MaxResults != nil { + options.Limit = *params.MaxResults + } + + for _, fn := range optFns { + fn(&options) + } + + return &ListRecoveryPointsPaginator{ + options: options, + client: client, + params: params, + firstPage: true, + nextToken: params.NextToken, + } +} + +// HasMorePages returns a boolean indicating whether more pages are available +func (p *ListRecoveryPointsPaginator) HasMorePages() bool { + return p.firstPage || (p.nextToken != nil && len(*p.nextToken) != 0) +} + +// NextPage retrieves the next ListRecoveryPoints page. +func (p *ListRecoveryPointsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListRecoveryPointsOutput, error) { + if !p.HasMorePages() { + return nil, fmt.Errorf("no more pages available") + } + + params := *p.params + params.NextToken = p.nextToken + + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit + + result, err := p.client.ListRecoveryPoints(ctx, ¶ms, optFns...) + if err != nil { + return nil, err + } + p.firstPage = false + + prevToken := p.nextToken + p.nextToken = result.NextToken + + if p.options.StopOnDuplicateToken && + prevToken != nil && + p.nextToken != nil && + *prevToken == *p.nextToken { + p.nextToken = nil + } + + return result, nil +} + +func newServiceMetadataMiddleware_opListRecoveryPoints(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "redshift-serverless", + OperationName: "ListRecoveryPoints", + } +} diff --git a/service/redshiftserverless/api_op_ListSnapshots.go b/service/redshiftserverless/api_op_ListSnapshots.go new file mode 100644 index 00000000000..a705a3fceb8 --- /dev/null +++ b/service/redshiftserverless/api_op_ListSnapshots.go @@ -0,0 +1,235 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package redshiftserverless + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/redshiftserverless/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" + "time" +) + +// Returns a list of snapshots. +func (c *Client) ListSnapshots(ctx context.Context, params *ListSnapshotsInput, optFns ...func(*Options)) (*ListSnapshotsOutput, error) { + if params == nil { + params = &ListSnapshotsInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "ListSnapshots", params, optFns, c.addOperationListSnapshotsMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*ListSnapshotsOutput) + out.ResultMetadata = metadata + return out, nil +} + +type ListSnapshotsInput struct { + + // The timestamp showing when the snapshot creation finished. + EndTime *time.Time + + // An optional parameter that specifies the maximum number of results to return. + // You can use nextToken to get the next page of results. + MaxResults *int32 + + // The Amazon Resource Name (ARN) of the namespace from which to list all + // snapshots. + NamespaceArn *string + + // The namespace from which to list all snapshots. + NamespaceName *string + + // If nextToken is returned, there are more results available. The value of + // nextToken is a unique pagination token for each page. Make the call again using + // the returned token to retrieve the next page. + NextToken *string + + // The owner Amazon Web Services account of the snapshot. + OwnerAccount *string + + // The time when the creation of the snapshot was initiated. + StartTime *time.Time + + noSmithyDocumentSerde +} + +type ListSnapshotsOutput struct { + + // If nextToken is returned, there are more results available. The value of + // nextToken is a unique pagination token for each page. Make the call again using + // the returned token to retrieve the next page. + NextToken *string + + // All of the returned snapshot objects. + Snapshots []types.Snapshot + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationListSnapshotsMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsAwsjson11_serializeOpListSnapshots{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsjson11_deserializeOpListSnapshots{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSnapshots(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +// ListSnapshotsAPIClient is a client that implements the ListSnapshots operation. +type ListSnapshotsAPIClient interface { + ListSnapshots(context.Context, *ListSnapshotsInput, ...func(*Options)) (*ListSnapshotsOutput, error) +} + +var _ ListSnapshotsAPIClient = (*Client)(nil) + +// ListSnapshotsPaginatorOptions is the paginator options for ListSnapshots +type ListSnapshotsPaginatorOptions struct { + // An optional parameter that specifies the maximum number of results to return. + // You can use nextToken to get the next page of results. + Limit int32 + + // Set to true if pagination should stop if the service returns a pagination token + // that matches the most recent token provided to the service. + StopOnDuplicateToken bool +} + +// ListSnapshotsPaginator is a paginator for ListSnapshots +type ListSnapshotsPaginator struct { + options ListSnapshotsPaginatorOptions + client ListSnapshotsAPIClient + params *ListSnapshotsInput + nextToken *string + firstPage bool +} + +// NewListSnapshotsPaginator returns a new ListSnapshotsPaginator +func NewListSnapshotsPaginator(client ListSnapshotsAPIClient, params *ListSnapshotsInput, optFns ...func(*ListSnapshotsPaginatorOptions)) *ListSnapshotsPaginator { + if params == nil { + params = &ListSnapshotsInput{} + } + + options := ListSnapshotsPaginatorOptions{} + if params.MaxResults != nil { + options.Limit = *params.MaxResults + } + + for _, fn := range optFns { + fn(&options) + } + + return &ListSnapshotsPaginator{ + options: options, + client: client, + params: params, + firstPage: true, + nextToken: params.NextToken, + } +} + +// HasMorePages returns a boolean indicating whether more pages are available +func (p *ListSnapshotsPaginator) HasMorePages() bool { + return p.firstPage || (p.nextToken != nil && len(*p.nextToken) != 0) +} + +// NextPage retrieves the next ListSnapshots page. +func (p *ListSnapshotsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListSnapshotsOutput, error) { + if !p.HasMorePages() { + return nil, fmt.Errorf("no more pages available") + } + + params := *p.params + params.NextToken = p.nextToken + + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit + + result, err := p.client.ListSnapshots(ctx, ¶ms, optFns...) + if err != nil { + return nil, err + } + p.firstPage = false + + prevToken := p.nextToken + p.nextToken = result.NextToken + + if p.options.StopOnDuplicateToken && + prevToken != nil && + p.nextToken != nil && + *prevToken == *p.nextToken { + p.nextToken = nil + } + + return result, nil +} + +func newServiceMetadataMiddleware_opListSnapshots(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "redshift-serverless", + OperationName: "ListSnapshots", + } +} diff --git a/service/redshiftserverless/api_op_ListTagsForResource.go b/service/redshiftserverless/api_op_ListTagsForResource.go new file mode 100644 index 00000000000..043c1c6f5cd --- /dev/null +++ b/service/redshiftserverless/api_op_ListTagsForResource.go @@ -0,0 +1,121 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package redshiftserverless + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/redshiftserverless/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Lists the tags assigned to a resource. +func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error) { + if params == nil { + params = &ListTagsForResourceInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "ListTagsForResource", params, optFns, c.addOperationListTagsForResourceMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*ListTagsForResourceOutput) + out.ResultMetadata = metadata + return out, nil +} + +type ListTagsForResourceInput struct { + + // The Amazon Resource Name (ARN) of the resource to list tags for. + // + // This member is required. + ResourceArn *string + + noSmithyDocumentSerde +} + +type ListTagsForResourceOutput struct { + + // A map of the key-value pairs assigned to the resource. + Tags []types.Tag + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsAwsjson11_serializeOpListTagsForResource{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsjson11_deserializeOpListTagsForResource{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opListTagsForResource(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "redshift-serverless", + OperationName: "ListTagsForResource", + } +} diff --git a/service/redshiftserverless/api_op_ListUsageLimits.go b/service/redshiftserverless/api_op_ListUsageLimits.go new file mode 100644 index 00000000000..4263f326feb --- /dev/null +++ b/service/redshiftserverless/api_op_ListUsageLimits.go @@ -0,0 +1,226 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package redshiftserverless + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/redshiftserverless/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Lists all usage limits within Amazon Redshift Serverless. +func (c *Client) ListUsageLimits(ctx context.Context, params *ListUsageLimitsInput, optFns ...func(*Options)) (*ListUsageLimitsOutput, error) { + if params == nil { + params = &ListUsageLimitsInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "ListUsageLimits", params, optFns, c.addOperationListUsageLimitsMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*ListUsageLimitsOutput) + out.ResultMetadata = metadata + return out, nil +} + +type ListUsageLimitsInput struct { + + // An optional parameter that specifies the maximum number of results to return. + // You can use nextToken to get the next page of results. The default is 100. + MaxResults *int32 + + // If your initial ListUsageLimits operation returns a nextToken, you can include + // the returned nextToken in subsequent ListUsageLimits operations, which returns + // results in the next page. + NextToken *string + + // The Amazon Resource Name (ARN) associated with the resource whose usage limits + // you want to list. + ResourceArn *string + + // The Amazon Redshift Serverless feature whose limits you want to see. + UsageType types.UsageLimitUsageType + + noSmithyDocumentSerde +} + +type ListUsageLimitsOutput struct { + + // When nextToken is returned, there are more results available. The value of + // nextToken is a unique pagination token for each page. Make the call again using + // the returned token to retrieve the next page. + NextToken *string + + // An array of returned usage limit objects. + UsageLimits []types.UsageLimit + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationListUsageLimitsMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsAwsjson11_serializeOpListUsageLimits{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsjson11_deserializeOpListUsageLimits{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListUsageLimits(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +// ListUsageLimitsAPIClient is a client that implements the ListUsageLimits +// operation. +type ListUsageLimitsAPIClient interface { + ListUsageLimits(context.Context, *ListUsageLimitsInput, ...func(*Options)) (*ListUsageLimitsOutput, error) +} + +var _ ListUsageLimitsAPIClient = (*Client)(nil) + +// ListUsageLimitsPaginatorOptions is the paginator options for ListUsageLimits +type ListUsageLimitsPaginatorOptions struct { + // An optional parameter that specifies the maximum number of results to return. + // You can use nextToken to get the next page of results. The default is 100. + Limit int32 + + // Set to true if pagination should stop if the service returns a pagination token + // that matches the most recent token provided to the service. + StopOnDuplicateToken bool +} + +// ListUsageLimitsPaginator is a paginator for ListUsageLimits +type ListUsageLimitsPaginator struct { + options ListUsageLimitsPaginatorOptions + client ListUsageLimitsAPIClient + params *ListUsageLimitsInput + nextToken *string + firstPage bool +} + +// NewListUsageLimitsPaginator returns a new ListUsageLimitsPaginator +func NewListUsageLimitsPaginator(client ListUsageLimitsAPIClient, params *ListUsageLimitsInput, optFns ...func(*ListUsageLimitsPaginatorOptions)) *ListUsageLimitsPaginator { + if params == nil { + params = &ListUsageLimitsInput{} + } + + options := ListUsageLimitsPaginatorOptions{} + if params.MaxResults != nil { + options.Limit = *params.MaxResults + } + + for _, fn := range optFns { + fn(&options) + } + + return &ListUsageLimitsPaginator{ + options: options, + client: client, + params: params, + firstPage: true, + nextToken: params.NextToken, + } +} + +// HasMorePages returns a boolean indicating whether more pages are available +func (p *ListUsageLimitsPaginator) HasMorePages() bool { + return p.firstPage || (p.nextToken != nil && len(*p.nextToken) != 0) +} + +// NextPage retrieves the next ListUsageLimits page. +func (p *ListUsageLimitsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListUsageLimitsOutput, error) { + if !p.HasMorePages() { + return nil, fmt.Errorf("no more pages available") + } + + params := *p.params + params.NextToken = p.nextToken + + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit + + result, err := p.client.ListUsageLimits(ctx, ¶ms, optFns...) + if err != nil { + return nil, err + } + p.firstPage = false + + prevToken := p.nextToken + p.nextToken = result.NextToken + + if p.options.StopOnDuplicateToken && + prevToken != nil && + p.nextToken != nil && + *prevToken == *p.nextToken { + p.nextToken = nil + } + + return result, nil +} + +func newServiceMetadataMiddleware_opListUsageLimits(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "redshift-serverless", + OperationName: "ListUsageLimits", + } +} diff --git a/service/redshiftserverless/api_op_ListWorkgroups.go b/service/redshiftserverless/api_op_ListWorkgroups.go new file mode 100644 index 00000000000..dbb6f12cce2 --- /dev/null +++ b/service/redshiftserverless/api_op_ListWorkgroups.go @@ -0,0 +1,221 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package redshiftserverless + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/redshiftserverless/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Returns information about a list of specified workgroups. +func (c *Client) ListWorkgroups(ctx context.Context, params *ListWorkgroupsInput, optFns ...func(*Options)) (*ListWorkgroupsOutput, error) { + if params == nil { + params = &ListWorkgroupsInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "ListWorkgroups", params, optFns, c.addOperationListWorkgroupsMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*ListWorkgroupsOutput) + out.ResultMetadata = metadata + return out, nil +} + +type ListWorkgroupsInput struct { + + // An optional parameter that specifies the maximum number of results to return. + // You can use nextToken to get the next page of results. + MaxResults *int32 + + // If your initial ListWorkgroups operation returns a nextToken, you can include + // the returned nextToken in subsequent ListNamespaces operations, which returns + // results in the next page. + NextToken *string + + noSmithyDocumentSerde +} + +type ListWorkgroupsOutput struct { + + // The returned array of workgroups. + // + // This member is required. + Workgroups []types.Workgroup + + // If nextToken is returned, there are more results available. The value of + // nextToken is a unique pagination token for each page. To retrieve the next page, + // make the call again using the returned token. + NextToken *string + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationListWorkgroupsMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsAwsjson11_serializeOpListWorkgroups{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsjson11_deserializeOpListWorkgroups{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWorkgroups(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +// ListWorkgroupsAPIClient is a client that implements the ListWorkgroups +// operation. +type ListWorkgroupsAPIClient interface { + ListWorkgroups(context.Context, *ListWorkgroupsInput, ...func(*Options)) (*ListWorkgroupsOutput, error) +} + +var _ ListWorkgroupsAPIClient = (*Client)(nil) + +// ListWorkgroupsPaginatorOptions is the paginator options for ListWorkgroups +type ListWorkgroupsPaginatorOptions struct { + // An optional parameter that specifies the maximum number of results to return. + // You can use nextToken to get the next page of results. + Limit int32 + + // Set to true if pagination should stop if the service returns a pagination token + // that matches the most recent token provided to the service. + StopOnDuplicateToken bool +} + +// ListWorkgroupsPaginator is a paginator for ListWorkgroups +type ListWorkgroupsPaginator struct { + options ListWorkgroupsPaginatorOptions + client ListWorkgroupsAPIClient + params *ListWorkgroupsInput + nextToken *string + firstPage bool +} + +// NewListWorkgroupsPaginator returns a new ListWorkgroupsPaginator +func NewListWorkgroupsPaginator(client ListWorkgroupsAPIClient, params *ListWorkgroupsInput, optFns ...func(*ListWorkgroupsPaginatorOptions)) *ListWorkgroupsPaginator { + if params == nil { + params = &ListWorkgroupsInput{} + } + + options := ListWorkgroupsPaginatorOptions{} + if params.MaxResults != nil { + options.Limit = *params.MaxResults + } + + for _, fn := range optFns { + fn(&options) + } + + return &ListWorkgroupsPaginator{ + options: options, + client: client, + params: params, + firstPage: true, + nextToken: params.NextToken, + } +} + +// HasMorePages returns a boolean indicating whether more pages are available +func (p *ListWorkgroupsPaginator) HasMorePages() bool { + return p.firstPage || (p.nextToken != nil && len(*p.nextToken) != 0) +} + +// NextPage retrieves the next ListWorkgroups page. +func (p *ListWorkgroupsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListWorkgroupsOutput, error) { + if !p.HasMorePages() { + return nil, fmt.Errorf("no more pages available") + } + + params := *p.params + params.NextToken = p.nextToken + + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit + + result, err := p.client.ListWorkgroups(ctx, ¶ms, optFns...) + if err != nil { + return nil, err + } + p.firstPage = false + + prevToken := p.nextToken + p.nextToken = result.NextToken + + if p.options.StopOnDuplicateToken && + prevToken != nil && + p.nextToken != nil && + *prevToken == *p.nextToken { + p.nextToken = nil + } + + return result, nil +} + +func newServiceMetadataMiddleware_opListWorkgroups(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "redshift-serverless", + OperationName: "ListWorkgroups", + } +} diff --git a/service/redshiftserverless/api_op_PutResourcePolicy.go b/service/redshiftserverless/api_op_PutResourcePolicy.go new file mode 100644 index 00000000000..19fee354ecf --- /dev/null +++ b/service/redshiftserverless/api_op_PutResourcePolicy.go @@ -0,0 +1,132 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package redshiftserverless + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/redshiftserverless/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Creates or updates a resource policy. Currently, you can use policies to share +// snapshots across Amazon Web Services accounts. +func (c *Client) PutResourcePolicy(ctx context.Context, params *PutResourcePolicyInput, optFns ...func(*Options)) (*PutResourcePolicyOutput, error) { + if params == nil { + params = &PutResourcePolicyInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "PutResourcePolicy", params, optFns, c.addOperationPutResourcePolicyMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*PutResourcePolicyOutput) + out.ResultMetadata = metadata + return out, nil +} + +type PutResourcePolicyInput struct { + + // The policy to create or update. For example, the following policy grants a user + // authorization to restore a snapshot. "{\"Version\": \"2012-10-17\", + // \"Statement\" : [{ \"Sid\": \"AllowUserRestoreFromSnapshot\", + // \"Principal\":{\"AWS\": [\"739247239426\"]}, \"Action\": + // [\"redshift-serverless:RestoreFromSnapshot\"] , \"Effect\": \"Allow\" }]}" + // + // This member is required. + Policy *string + + // The Amazon Resource Name (ARN) of the account to create or update a resource + // policy for. + // + // This member is required. + ResourceArn *string + + noSmithyDocumentSerde +} + +type PutResourcePolicyOutput struct { + + // The policy that was created or updated. + ResourcePolicy *types.ResourcePolicy + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationPutResourcePolicyMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsAwsjson11_serializeOpPutResourcePolicy{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsjson11_deserializeOpPutResourcePolicy{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpPutResourcePolicyValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutResourcePolicy(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opPutResourcePolicy(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "redshift-serverless", + OperationName: "PutResourcePolicy", + } +} diff --git a/service/redshiftserverless/api_op_RestoreFromRecoveryPoint.go b/service/redshiftserverless/api_op_RestoreFromRecoveryPoint.go new file mode 100644 index 00000000000..27b5154514c --- /dev/null +++ b/service/redshiftserverless/api_op_RestoreFromRecoveryPoint.go @@ -0,0 +1,134 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package redshiftserverless + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/redshiftserverless/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Restore the data from a recovery point. +func (c *Client) RestoreFromRecoveryPoint(ctx context.Context, params *RestoreFromRecoveryPointInput, optFns ...func(*Options)) (*RestoreFromRecoveryPointOutput, error) { + if params == nil { + params = &RestoreFromRecoveryPointInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "RestoreFromRecoveryPoint", params, optFns, c.addOperationRestoreFromRecoveryPointMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*RestoreFromRecoveryPointOutput) + out.ResultMetadata = metadata + return out, nil +} + +type RestoreFromRecoveryPointInput struct { + + // The name of the namespace to restore data into. + // + // This member is required. + NamespaceName *string + + // The unique identifier of the recovery point to restore from. + // + // This member is required. + RecoveryPointId *string + + // The name of the workgroup used to restore data. + // + // This member is required. + WorkgroupName *string + + noSmithyDocumentSerde +} + +type RestoreFromRecoveryPointOutput struct { + + // The namespace that data was restored into. + Namespace *types.Namespace + + // The unique identifier of the recovery point used for the restore. + RecoveryPointId *string + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationRestoreFromRecoveryPointMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsAwsjson11_serializeOpRestoreFromRecoveryPoint{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsjson11_deserializeOpRestoreFromRecoveryPoint{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpRestoreFromRecoveryPointValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRestoreFromRecoveryPoint(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opRestoreFromRecoveryPoint(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "redshift-serverless", + OperationName: "RestoreFromRecoveryPoint", + } +} diff --git a/service/redshiftserverless/api_op_RestoreFromSnapshot.go b/service/redshiftserverless/api_op_RestoreFromSnapshot.go new file mode 100644 index 00000000000..12d2c93e62e --- /dev/null +++ b/service/redshiftserverless/api_op_RestoreFromSnapshot.go @@ -0,0 +1,141 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package redshiftserverless + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/redshiftserverless/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Restores a namespace from a snapshot. +func (c *Client) RestoreFromSnapshot(ctx context.Context, params *RestoreFromSnapshotInput, optFns ...func(*Options)) (*RestoreFromSnapshotOutput, error) { + if params == nil { + params = &RestoreFromSnapshotInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "RestoreFromSnapshot", params, optFns, c.addOperationRestoreFromSnapshotMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*RestoreFromSnapshotOutput) + out.ResultMetadata = metadata + return out, nil +} + +type RestoreFromSnapshotInput struct { + + // The name of the namespace to restore the snapshot to. + // + // This member is required. + NamespaceName *string + + // The name of the workgroup used to restore the snapshot. + // + // This member is required. + WorkgroupName *string + + // The Amazon Web Services account that owns the snapshot. + OwnerAccount *string + + // The Amazon Resource Name (ARN) of the snapshot to restore from. + SnapshotArn *string + + // The name of the snapshot to restore from. + SnapshotName *string + + noSmithyDocumentSerde +} + +type RestoreFromSnapshotOutput struct { + + // A collection of database objects and users. + Namespace *types.Namespace + + // The owner Amazon Web Services; account of the snapshot that was restored. + OwnerAccount *string + + // The name of the snapshot used to restore the namespace. + SnapshotName *string + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationRestoreFromSnapshotMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsAwsjson11_serializeOpRestoreFromSnapshot{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsjson11_deserializeOpRestoreFromSnapshot{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpRestoreFromSnapshotValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRestoreFromSnapshot(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opRestoreFromSnapshot(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "redshift-serverless", + OperationName: "RestoreFromSnapshot", + } +} diff --git a/service/redshiftserverless/api_op_TagResource.go b/service/redshiftserverless/api_op_TagResource.go new file mode 100644 index 00000000000..1c789243fc5 --- /dev/null +++ b/service/redshiftserverless/api_op_TagResource.go @@ -0,0 +1,122 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package redshiftserverless + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/redshiftserverless/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Assigns one or more tags to a resource. +func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error) { + if params == nil { + params = &TagResourceInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "TagResource", params, optFns, c.addOperationTagResourceMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*TagResourceOutput) + out.ResultMetadata = metadata + return out, nil +} + +type TagResourceInput struct { + + // The Amazon Resource Name (ARN) of the resource to tag. + // + // This member is required. + ResourceArn *string + + // The map of the key-value pairs used to tag the resource. + // + // This member is required. + Tags []types.Tag + + noSmithyDocumentSerde +} + +type TagResourceOutput struct { + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsAwsjson11_serializeOpTagResource{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsjson11_deserializeOpTagResource{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpTagResourceValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opTagResource(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "redshift-serverless", + OperationName: "TagResource", + } +} diff --git a/service/redshiftserverless/api_op_UntagResource.go b/service/redshiftserverless/api_op_UntagResource.go new file mode 100644 index 00000000000..2d1d3836d75 --- /dev/null +++ b/service/redshiftserverless/api_op_UntagResource.go @@ -0,0 +1,121 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package redshiftserverless + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Removes a tag or set of tags from a resource. +func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error) { + if params == nil { + params = &UntagResourceInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "UntagResource", params, optFns, c.addOperationUntagResourceMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*UntagResourceOutput) + out.ResultMetadata = metadata + return out, nil +} + +type UntagResourceInput struct { + + // The Amazon Resource Name (ARN) of the resource to remove tags from. + // + // This member is required. + ResourceArn *string + + // The tag or set of tags to remove from the resource. + // + // This member is required. + TagKeys []string + + noSmithyDocumentSerde +} + +type UntagResourceOutput struct { + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsAwsjson11_serializeOpUntagResource{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsjson11_deserializeOpUntagResource{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpUntagResourceValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opUntagResource(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "redshift-serverless", + OperationName: "UntagResource", + } +} diff --git a/service/redshiftserverless/api_op_UpdateEndpointAccess.go b/service/redshiftserverless/api_op_UpdateEndpointAccess.go new file mode 100644 index 00000000000..d467798137a --- /dev/null +++ b/service/redshiftserverless/api_op_UpdateEndpointAccess.go @@ -0,0 +1,125 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package redshiftserverless + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/redshiftserverless/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Updates an Amazon Redshift Serverless managed endpoint. +func (c *Client) UpdateEndpointAccess(ctx context.Context, params *UpdateEndpointAccessInput, optFns ...func(*Options)) (*UpdateEndpointAccessOutput, error) { + if params == nil { + params = &UpdateEndpointAccessInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "UpdateEndpointAccess", params, optFns, c.addOperationUpdateEndpointAccessMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*UpdateEndpointAccessOutput) + out.ResultMetadata = metadata + return out, nil +} + +type UpdateEndpointAccessInput struct { + + // The name of the VPC endpoint to update. + // + // This member is required. + EndpointName *string + + // The list of VPC security groups associated with the endpoint after the endpoint + // is modified. + VpcSecurityGroupIds []string + + noSmithyDocumentSerde +} + +type UpdateEndpointAccessOutput struct { + + // The updated VPC endpoint. + Endpoint *types.EndpointAccess + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationUpdateEndpointAccessMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsAwsjson11_serializeOpUpdateEndpointAccess{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsjson11_deserializeOpUpdateEndpointAccess{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpUpdateEndpointAccessValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateEndpointAccess(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opUpdateEndpointAccess(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "redshift-serverless", + OperationName: "UpdateEndpointAccess", + } +} diff --git a/service/redshiftserverless/api_op_UpdateNamespace.go b/service/redshiftserverless/api_op_UpdateNamespace.go new file mode 100644 index 00000000000..ffc7605dad1 --- /dev/null +++ b/service/redshiftserverless/api_op_UpdateNamespace.go @@ -0,0 +1,146 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package redshiftserverless + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/redshiftserverless/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Updates a namespace with the specified settings. +func (c *Client) UpdateNamespace(ctx context.Context, params *UpdateNamespaceInput, optFns ...func(*Options)) (*UpdateNamespaceOutput, error) { + if params == nil { + params = &UpdateNamespaceInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "UpdateNamespace", params, optFns, c.addOperationUpdateNamespaceMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*UpdateNamespaceOutput) + out.ResultMetadata = metadata + return out, nil +} + +type UpdateNamespaceInput struct { + + // The name of the namespace. + // + // This member is required. + NamespaceName *string + + // The password of the administrator for the first database created in the + // namespace. + AdminUserPassword *string + + // The username of the administrator for the first database created in the + // namespace. + AdminUsername *string + + // The Amazon Resource Name (ARN) of the IAM role to set as a default in the + // namespace. + DefaultIamRoleArn *string + + // A list of IAM roles to associate with the namespace. + IamRoles []string + + // The ID of the Amazon Web Services Key Management Service key used to encrypt + // your data. + KmsKeyId *string + + // The types of logs the namespace can export. The export types are userlog, + // connectionlog, and useractivitylog. + LogExports []types.LogExport + + noSmithyDocumentSerde +} + +type UpdateNamespaceOutput struct { + + // A list of tag instances. + // + // This member is required. + Namespace *types.Namespace + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationUpdateNamespaceMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsAwsjson11_serializeOpUpdateNamespace{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsjson11_deserializeOpUpdateNamespace{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpUpdateNamespaceValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateNamespace(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opUpdateNamespace(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "redshift-serverless", + OperationName: "UpdateNamespace", + } +} diff --git a/service/redshiftserverless/api_op_UpdateSnapshot.go b/service/redshiftserverless/api_op_UpdateSnapshot.go new file mode 100644 index 00000000000..a97b4c3682a --- /dev/null +++ b/service/redshiftserverless/api_op_UpdateSnapshot.go @@ -0,0 +1,124 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package redshiftserverless + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/redshiftserverless/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Updates a snapshot. +func (c *Client) UpdateSnapshot(ctx context.Context, params *UpdateSnapshotInput, optFns ...func(*Options)) (*UpdateSnapshotOutput, error) { + if params == nil { + params = &UpdateSnapshotInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "UpdateSnapshot", params, optFns, c.addOperationUpdateSnapshotMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*UpdateSnapshotOutput) + out.ResultMetadata = metadata + return out, nil +} + +type UpdateSnapshotInput struct { + + // The name of the snapshot. + // + // This member is required. + SnapshotName *string + + // The new retention period of the snapshot. + RetentionPeriod *int32 + + noSmithyDocumentSerde +} + +type UpdateSnapshotOutput struct { + + // The updated snapshot object. + Snapshot *types.Snapshot + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationUpdateSnapshotMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsAwsjson11_serializeOpUpdateSnapshot{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsjson11_deserializeOpUpdateSnapshot{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpUpdateSnapshotValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSnapshot(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opUpdateSnapshot(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "redshift-serverless", + OperationName: "UpdateSnapshot", + } +} diff --git a/service/redshiftserverless/api_op_UpdateUsageLimit.go b/service/redshiftserverless/api_op_UpdateUsageLimit.go new file mode 100644 index 00000000000..482f96deac6 --- /dev/null +++ b/service/redshiftserverless/api_op_UpdateUsageLimit.go @@ -0,0 +1,128 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package redshiftserverless + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/redshiftserverless/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Update a usage limit in Amazon Redshift Serverless. You can't update the usage +// type or period of a usage limit. +func (c *Client) UpdateUsageLimit(ctx context.Context, params *UpdateUsageLimitInput, optFns ...func(*Options)) (*UpdateUsageLimitOutput, error) { + if params == nil { + params = &UpdateUsageLimitInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "UpdateUsageLimit", params, optFns, c.addOperationUpdateUsageLimitMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*UpdateUsageLimitOutput) + out.ResultMetadata = metadata + return out, nil +} + +type UpdateUsageLimitInput struct { + + // The identifier of the usage limit to update. + // + // This member is required. + UsageLimitId *string + + // The new limit amount. For more information about this parameter. + Amount *int64 + + // The new action that Amazon Redshift Serverless takes when the limit is reached. + BreachAction types.UsageLimitBreachAction + + noSmithyDocumentSerde +} + +type UpdateUsageLimitOutput struct { + + // The updated usage limit object. + UsageLimit *types.UsageLimit + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationUpdateUsageLimitMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsAwsjson11_serializeOpUpdateUsageLimit{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsjson11_deserializeOpUpdateUsageLimit{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpUpdateUsageLimitValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateUsageLimit(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opUpdateUsageLimit(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "redshift-serverless", + OperationName: "UpdateUsageLimit", + } +} diff --git a/service/redshiftserverless/api_op_UpdateWorkgroup.go b/service/redshiftserverless/api_op_UpdateWorkgroup.go new file mode 100644 index 00000000000..bb265e2b0c0 --- /dev/null +++ b/service/redshiftserverless/api_op_UpdateWorkgroup.go @@ -0,0 +1,146 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package redshiftserverless + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/redshiftserverless/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Updates a workgroup with the specified configuration settings. +func (c *Client) UpdateWorkgroup(ctx context.Context, params *UpdateWorkgroupInput, optFns ...func(*Options)) (*UpdateWorkgroupOutput, error) { + if params == nil { + params = &UpdateWorkgroupInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "UpdateWorkgroup", params, optFns, c.addOperationUpdateWorkgroupMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*UpdateWorkgroupOutput) + out.ResultMetadata = metadata + return out, nil +} + +type UpdateWorkgroupInput struct { + + // The name of the workgroup to update. + // + // This member is required. + WorkgroupName *string + + // The new base data warehouse capacity in Redshift Processing Units (RPUs). + BaseCapacity *int32 + + // An array of parameters to set for advanced control over a database. The options + // are datestyle, enable_user_activity_logging, query_group, search_path, and + // max_query_execution_time. + ConfigParameters []types.ConfigParameter + + // The value that specifies whether to turn on enhanced virtual private cloud (VPC) + // routing, which forces Amazon Redshift Serverless to route traffic through your + // VPC. + EnhancedVpcRouting *bool + + // A value that specifies whether the workgroup can be accessible from a public + // network. + PubliclyAccessible *bool + + // An array of security group IDs to associate with the workgroup. + SecurityGroupIds []string + + // An array of VPC subnet IDs to associate with the workgroup. + SubnetIds []string + + noSmithyDocumentSerde +} + +type UpdateWorkgroupOutput struct { + + // The updated workgroup object. + // + // This member is required. + Workgroup *types.Workgroup + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationUpdateWorkgroupMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsAwsjson11_serializeOpUpdateWorkgroup{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsjson11_deserializeOpUpdateWorkgroup{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpUpdateWorkgroupValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateWorkgroup(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opUpdateWorkgroup(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "redshift-serverless", + OperationName: "UpdateWorkgroup", + } +} diff --git a/service/redshiftserverless/deserializers.go b/service/redshiftserverless/deserializers.go new file mode 100644 index 00000000000..e96cfec8e5b --- /dev/null +++ b/service/redshiftserverless/deserializers.go @@ -0,0 +1,8532 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package redshiftserverless + +import ( + "bytes" + "context" + "encoding/json" + "fmt" + "github.com/aws/aws-sdk-go-v2/aws/protocol/restjson" + "github.com/aws/aws-sdk-go-v2/service/redshiftserverless/types" + smithy "github.com/aws/smithy-go" + smithyio "github.com/aws/smithy-go/io" + "github.com/aws/smithy-go/middleware" + "github.com/aws/smithy-go/ptr" + smithytime "github.com/aws/smithy-go/time" + smithyhttp "github.com/aws/smithy-go/transport/http" + "io" + "math" + "strings" +) + +type awsAwsjson11_deserializeOpConvertRecoveryPointToSnapshot struct { +} + +func (*awsAwsjson11_deserializeOpConvertRecoveryPointToSnapshot) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsjson11_deserializeOpConvertRecoveryPointToSnapshot) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsjson11_deserializeOpErrorConvertRecoveryPointToSnapshot(response, &metadata) + } + output := &ConvertRecoveryPointToSnapshotOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsAwsjson11_deserializeOpDocumentConvertRecoveryPointToSnapshotOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err +} + +func awsAwsjson11_deserializeOpErrorConvertRecoveryPointToSnapshot(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("ConflictException", errorCode): + return awsAwsjson11_deserializeErrorConflictException(response, errorBody) + + case strings.EqualFold("InternalServerException", errorCode): + return awsAwsjson11_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsAwsjson11_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ServiceQuotaExceededException", errorCode): + return awsAwsjson11_deserializeErrorServiceQuotaExceededException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsAwsjson11_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsAwsjson11_deserializeOpCreateEndpointAccess struct { +} + +func (*awsAwsjson11_deserializeOpCreateEndpointAccess) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsjson11_deserializeOpCreateEndpointAccess) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsjson11_deserializeOpErrorCreateEndpointAccess(response, &metadata) + } + output := &CreateEndpointAccessOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsAwsjson11_deserializeOpDocumentCreateEndpointAccessOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err +} + +func awsAwsjson11_deserializeOpErrorCreateEndpointAccess(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("AccessDeniedException", errorCode): + return awsAwsjson11_deserializeErrorAccessDeniedException(response, errorBody) + + case strings.EqualFold("ConflictException", errorCode): + return awsAwsjson11_deserializeErrorConflictException(response, errorBody) + + case strings.EqualFold("InternalServerException", errorCode): + return awsAwsjson11_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsAwsjson11_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ServiceQuotaExceededException", errorCode): + return awsAwsjson11_deserializeErrorServiceQuotaExceededException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsAwsjson11_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsAwsjson11_deserializeOpCreateNamespace struct { +} + +func (*awsAwsjson11_deserializeOpCreateNamespace) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsjson11_deserializeOpCreateNamespace) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsjson11_deserializeOpErrorCreateNamespace(response, &metadata) + } + output := &CreateNamespaceOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsAwsjson11_deserializeOpDocumentCreateNamespaceOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err +} + +func awsAwsjson11_deserializeOpErrorCreateNamespace(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("ConflictException", errorCode): + return awsAwsjson11_deserializeErrorConflictException(response, errorBody) + + case strings.EqualFold("InternalServerException", errorCode): + return awsAwsjson11_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("TooManyTagsException", errorCode): + return awsAwsjson11_deserializeErrorTooManyTagsException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsAwsjson11_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsAwsjson11_deserializeOpCreateSnapshot struct { +} + +func (*awsAwsjson11_deserializeOpCreateSnapshot) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsjson11_deserializeOpCreateSnapshot) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsjson11_deserializeOpErrorCreateSnapshot(response, &metadata) + } + output := &CreateSnapshotOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsAwsjson11_deserializeOpDocumentCreateSnapshotOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err +} + +func awsAwsjson11_deserializeOpErrorCreateSnapshot(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("ConflictException", errorCode): + return awsAwsjson11_deserializeErrorConflictException(response, errorBody) + + case strings.EqualFold("InternalServerException", errorCode): + return awsAwsjson11_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsAwsjson11_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ServiceQuotaExceededException", errorCode): + return awsAwsjson11_deserializeErrorServiceQuotaExceededException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsAwsjson11_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsAwsjson11_deserializeOpCreateUsageLimit struct { +} + +func (*awsAwsjson11_deserializeOpCreateUsageLimit) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsjson11_deserializeOpCreateUsageLimit) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsjson11_deserializeOpErrorCreateUsageLimit(response, &metadata) + } + output := &CreateUsageLimitOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsAwsjson11_deserializeOpDocumentCreateUsageLimitOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err +} + +func awsAwsjson11_deserializeOpErrorCreateUsageLimit(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("ConflictException", errorCode): + return awsAwsjson11_deserializeErrorConflictException(response, errorBody) + + case strings.EqualFold("InternalServerException", errorCode): + return awsAwsjson11_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsAwsjson11_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ServiceQuotaExceededException", errorCode): + return awsAwsjson11_deserializeErrorServiceQuotaExceededException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsAwsjson11_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsAwsjson11_deserializeOpCreateWorkgroup struct { +} + +func (*awsAwsjson11_deserializeOpCreateWorkgroup) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsjson11_deserializeOpCreateWorkgroup) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsjson11_deserializeOpErrorCreateWorkgroup(response, &metadata) + } + output := &CreateWorkgroupOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsAwsjson11_deserializeOpDocumentCreateWorkgroupOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err +} + +func awsAwsjson11_deserializeOpErrorCreateWorkgroup(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("ConflictException", errorCode): + return awsAwsjson11_deserializeErrorConflictException(response, errorBody) + + case strings.EqualFold("InsufficientCapacityException", errorCode): + return awsAwsjson11_deserializeErrorInsufficientCapacityException(response, errorBody) + + case strings.EqualFold("InternalServerException", errorCode): + return awsAwsjson11_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsAwsjson11_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("TooManyTagsException", errorCode): + return awsAwsjson11_deserializeErrorTooManyTagsException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsAwsjson11_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsAwsjson11_deserializeOpDeleteEndpointAccess struct { +} + +func (*awsAwsjson11_deserializeOpDeleteEndpointAccess) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsjson11_deserializeOpDeleteEndpointAccess) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsjson11_deserializeOpErrorDeleteEndpointAccess(response, &metadata) + } + output := &DeleteEndpointAccessOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsAwsjson11_deserializeOpDocumentDeleteEndpointAccessOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err +} + +func awsAwsjson11_deserializeOpErrorDeleteEndpointAccess(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("ConflictException", errorCode): + return awsAwsjson11_deserializeErrorConflictException(response, errorBody) + + case strings.EqualFold("InternalServerException", errorCode): + return awsAwsjson11_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsAwsjson11_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsAwsjson11_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsAwsjson11_deserializeOpDeleteNamespace struct { +} + +func (*awsAwsjson11_deserializeOpDeleteNamespace) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsjson11_deserializeOpDeleteNamespace) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsjson11_deserializeOpErrorDeleteNamespace(response, &metadata) + } + output := &DeleteNamespaceOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsAwsjson11_deserializeOpDocumentDeleteNamespaceOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err +} + +func awsAwsjson11_deserializeOpErrorDeleteNamespace(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("ConflictException", errorCode): + return awsAwsjson11_deserializeErrorConflictException(response, errorBody) + + case strings.EqualFold("InternalServerException", errorCode): + return awsAwsjson11_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsAwsjson11_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsAwsjson11_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsAwsjson11_deserializeOpDeleteResourcePolicy struct { +} + +func (*awsAwsjson11_deserializeOpDeleteResourcePolicy) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsjson11_deserializeOpDeleteResourcePolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsjson11_deserializeOpErrorDeleteResourcePolicy(response, &metadata) + } + output := &DeleteResourcePolicyOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsAwsjson11_deserializeOpDocumentDeleteResourcePolicyOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err +} + +func awsAwsjson11_deserializeOpErrorDeleteResourcePolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("InternalServerException", errorCode): + return awsAwsjson11_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsAwsjson11_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsAwsjson11_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsAwsjson11_deserializeOpDeleteSnapshot struct { +} + +func (*awsAwsjson11_deserializeOpDeleteSnapshot) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsjson11_deserializeOpDeleteSnapshot) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsjson11_deserializeOpErrorDeleteSnapshot(response, &metadata) + } + output := &DeleteSnapshotOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsAwsjson11_deserializeOpDocumentDeleteSnapshotOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err +} + +func awsAwsjson11_deserializeOpErrorDeleteSnapshot(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("ConflictException", errorCode): + return awsAwsjson11_deserializeErrorConflictException(response, errorBody) + + case strings.EqualFold("InternalServerException", errorCode): + return awsAwsjson11_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsAwsjson11_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsAwsjson11_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsAwsjson11_deserializeOpDeleteUsageLimit struct { +} + +func (*awsAwsjson11_deserializeOpDeleteUsageLimit) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsjson11_deserializeOpDeleteUsageLimit) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsjson11_deserializeOpErrorDeleteUsageLimit(response, &metadata) + } + output := &DeleteUsageLimitOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsAwsjson11_deserializeOpDocumentDeleteUsageLimitOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err +} + +func awsAwsjson11_deserializeOpErrorDeleteUsageLimit(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("ConflictException", errorCode): + return awsAwsjson11_deserializeErrorConflictException(response, errorBody) + + case strings.EqualFold("InternalServerException", errorCode): + return awsAwsjson11_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsAwsjson11_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsAwsjson11_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsAwsjson11_deserializeOpDeleteWorkgroup struct { +} + +func (*awsAwsjson11_deserializeOpDeleteWorkgroup) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsjson11_deserializeOpDeleteWorkgroup) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsjson11_deserializeOpErrorDeleteWorkgroup(response, &metadata) + } + output := &DeleteWorkgroupOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsAwsjson11_deserializeOpDocumentDeleteWorkgroupOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err +} + +func awsAwsjson11_deserializeOpErrorDeleteWorkgroup(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("ConflictException", errorCode): + return awsAwsjson11_deserializeErrorConflictException(response, errorBody) + + case strings.EqualFold("InternalServerException", errorCode): + return awsAwsjson11_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsAwsjson11_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsAwsjson11_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsAwsjson11_deserializeOpGetCredentials struct { +} + +func (*awsAwsjson11_deserializeOpGetCredentials) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsjson11_deserializeOpGetCredentials) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsjson11_deserializeOpErrorGetCredentials(response, &metadata) + } + output := &GetCredentialsOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsAwsjson11_deserializeOpDocumentGetCredentialsOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err +} + +func awsAwsjson11_deserializeOpErrorGetCredentials(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("InternalServerException", errorCode): + return awsAwsjson11_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsAwsjson11_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsAwsjson11_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsAwsjson11_deserializeOpGetEndpointAccess struct { +} + +func (*awsAwsjson11_deserializeOpGetEndpointAccess) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsjson11_deserializeOpGetEndpointAccess) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsjson11_deserializeOpErrorGetEndpointAccess(response, &metadata) + } + output := &GetEndpointAccessOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsAwsjson11_deserializeOpDocumentGetEndpointAccessOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err +} + +func awsAwsjson11_deserializeOpErrorGetEndpointAccess(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("ConflictException", errorCode): + return awsAwsjson11_deserializeErrorConflictException(response, errorBody) + + case strings.EqualFold("InternalServerException", errorCode): + return awsAwsjson11_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsAwsjson11_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsAwsjson11_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsAwsjson11_deserializeOpGetNamespace struct { +} + +func (*awsAwsjson11_deserializeOpGetNamespace) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsjson11_deserializeOpGetNamespace) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsjson11_deserializeOpErrorGetNamespace(response, &metadata) + } + output := &GetNamespaceOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsAwsjson11_deserializeOpDocumentGetNamespaceOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err +} + +func awsAwsjson11_deserializeOpErrorGetNamespace(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("InternalServerException", errorCode): + return awsAwsjson11_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsAwsjson11_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsAwsjson11_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsAwsjson11_deserializeOpGetRecoveryPoint struct { +} + +func (*awsAwsjson11_deserializeOpGetRecoveryPoint) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsjson11_deserializeOpGetRecoveryPoint) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsjson11_deserializeOpErrorGetRecoveryPoint(response, &metadata) + } + output := &GetRecoveryPointOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsAwsjson11_deserializeOpDocumentGetRecoveryPointOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err +} + +func awsAwsjson11_deserializeOpErrorGetRecoveryPoint(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("ConflictException", errorCode): + return awsAwsjson11_deserializeErrorConflictException(response, errorBody) + + case strings.EqualFold("InternalServerException", errorCode): + return awsAwsjson11_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsAwsjson11_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsAwsjson11_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsAwsjson11_deserializeOpGetResourcePolicy struct { +} + +func (*awsAwsjson11_deserializeOpGetResourcePolicy) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsjson11_deserializeOpGetResourcePolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsjson11_deserializeOpErrorGetResourcePolicy(response, &metadata) + } + output := &GetResourcePolicyOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsAwsjson11_deserializeOpDocumentGetResourcePolicyOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err +} + +func awsAwsjson11_deserializeOpErrorGetResourcePolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("InternalServerException", errorCode): + return awsAwsjson11_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsAwsjson11_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsAwsjson11_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsAwsjson11_deserializeOpGetSnapshot struct { +} + +func (*awsAwsjson11_deserializeOpGetSnapshot) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsjson11_deserializeOpGetSnapshot) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsjson11_deserializeOpErrorGetSnapshot(response, &metadata) + } + output := &GetSnapshotOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsAwsjson11_deserializeOpDocumentGetSnapshotOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err +} + +func awsAwsjson11_deserializeOpErrorGetSnapshot(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("InternalServerException", errorCode): + return awsAwsjson11_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsAwsjson11_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsAwsjson11_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsAwsjson11_deserializeOpGetUsageLimit struct { +} + +func (*awsAwsjson11_deserializeOpGetUsageLimit) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsjson11_deserializeOpGetUsageLimit) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsjson11_deserializeOpErrorGetUsageLimit(response, &metadata) + } + output := &GetUsageLimitOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsAwsjson11_deserializeOpDocumentGetUsageLimitOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err +} + +func awsAwsjson11_deserializeOpErrorGetUsageLimit(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("ConflictException", errorCode): + return awsAwsjson11_deserializeErrorConflictException(response, errorBody) + + case strings.EqualFold("InternalServerException", errorCode): + return awsAwsjson11_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsAwsjson11_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsAwsjson11_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsAwsjson11_deserializeOpGetWorkgroup struct { +} + +func (*awsAwsjson11_deserializeOpGetWorkgroup) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsjson11_deserializeOpGetWorkgroup) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsjson11_deserializeOpErrorGetWorkgroup(response, &metadata) + } + output := &GetWorkgroupOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsAwsjson11_deserializeOpDocumentGetWorkgroupOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err +} + +func awsAwsjson11_deserializeOpErrorGetWorkgroup(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("InternalServerException", errorCode): + return awsAwsjson11_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsAwsjson11_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsAwsjson11_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsAwsjson11_deserializeOpListEndpointAccess struct { +} + +func (*awsAwsjson11_deserializeOpListEndpointAccess) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsjson11_deserializeOpListEndpointAccess) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsjson11_deserializeOpErrorListEndpointAccess(response, &metadata) + } + output := &ListEndpointAccessOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsAwsjson11_deserializeOpDocumentListEndpointAccessOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err +} + +func awsAwsjson11_deserializeOpErrorListEndpointAccess(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("ConflictException", errorCode): + return awsAwsjson11_deserializeErrorConflictException(response, errorBody) + + case strings.EqualFold("InternalServerException", errorCode): + return awsAwsjson11_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsAwsjson11_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsAwsjson11_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsAwsjson11_deserializeOpListNamespaces struct { +} + +func (*awsAwsjson11_deserializeOpListNamespaces) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsjson11_deserializeOpListNamespaces) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsjson11_deserializeOpErrorListNamespaces(response, &metadata) + } + output := &ListNamespacesOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsAwsjson11_deserializeOpDocumentListNamespacesOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err +} + +func awsAwsjson11_deserializeOpErrorListNamespaces(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("InternalServerException", errorCode): + return awsAwsjson11_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsAwsjson11_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsAwsjson11_deserializeOpListRecoveryPoints struct { +} + +func (*awsAwsjson11_deserializeOpListRecoveryPoints) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsjson11_deserializeOpListRecoveryPoints) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsjson11_deserializeOpErrorListRecoveryPoints(response, &metadata) + } + output := &ListRecoveryPointsOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsAwsjson11_deserializeOpDocumentListRecoveryPointsOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err +} + +func awsAwsjson11_deserializeOpErrorListRecoveryPoints(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("InternalServerException", errorCode): + return awsAwsjson11_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsAwsjson11_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsAwsjson11_deserializeOpListSnapshots struct { +} + +func (*awsAwsjson11_deserializeOpListSnapshots) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsjson11_deserializeOpListSnapshots) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsjson11_deserializeOpErrorListSnapshots(response, &metadata) + } + output := &ListSnapshotsOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsAwsjson11_deserializeOpDocumentListSnapshotsOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err +} + +func awsAwsjson11_deserializeOpErrorListSnapshots(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("InternalServerException", errorCode): + return awsAwsjson11_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsAwsjson11_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsAwsjson11_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsAwsjson11_deserializeOpListTagsForResource struct { +} + +func (*awsAwsjson11_deserializeOpListTagsForResource) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsjson11_deserializeOpListTagsForResource) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsjson11_deserializeOpErrorListTagsForResource(response, &metadata) + } + output := &ListTagsForResourceOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err +} + +func awsAwsjson11_deserializeOpErrorListTagsForResource(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("InternalServerException", errorCode): + return awsAwsjson11_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsAwsjson11_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ThrottlingException", errorCode): + return awsAwsjson11_deserializeErrorThrottlingException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsAwsjson11_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsAwsjson11_deserializeOpListUsageLimits struct { +} + +func (*awsAwsjson11_deserializeOpListUsageLimits) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsjson11_deserializeOpListUsageLimits) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsjson11_deserializeOpErrorListUsageLimits(response, &metadata) + } + output := &ListUsageLimitsOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsAwsjson11_deserializeOpDocumentListUsageLimitsOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err +} + +func awsAwsjson11_deserializeOpErrorListUsageLimits(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("ConflictException", errorCode): + return awsAwsjson11_deserializeErrorConflictException(response, errorBody) + + case strings.EqualFold("InternalServerException", errorCode): + return awsAwsjson11_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("InvalidPaginationException", errorCode): + return awsAwsjson11_deserializeErrorInvalidPaginationException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsAwsjson11_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsAwsjson11_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsAwsjson11_deserializeOpListWorkgroups struct { +} + +func (*awsAwsjson11_deserializeOpListWorkgroups) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsjson11_deserializeOpListWorkgroups) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsjson11_deserializeOpErrorListWorkgroups(response, &metadata) + } + output := &ListWorkgroupsOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsAwsjson11_deserializeOpDocumentListWorkgroupsOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err +} + +func awsAwsjson11_deserializeOpErrorListWorkgroups(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("InternalServerException", errorCode): + return awsAwsjson11_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsAwsjson11_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsAwsjson11_deserializeOpPutResourcePolicy struct { +} + +func (*awsAwsjson11_deserializeOpPutResourcePolicy) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsjson11_deserializeOpPutResourcePolicy) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsjson11_deserializeOpErrorPutResourcePolicy(response, &metadata) + } + output := &PutResourcePolicyOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsAwsjson11_deserializeOpDocumentPutResourcePolicyOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err +} + +func awsAwsjson11_deserializeOpErrorPutResourcePolicy(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("ConflictException", errorCode): + return awsAwsjson11_deserializeErrorConflictException(response, errorBody) + + case strings.EqualFold("InternalServerException", errorCode): + return awsAwsjson11_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsAwsjson11_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ServiceQuotaExceededException", errorCode): + return awsAwsjson11_deserializeErrorServiceQuotaExceededException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsAwsjson11_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsAwsjson11_deserializeOpRestoreFromRecoveryPoint struct { +} + +func (*awsAwsjson11_deserializeOpRestoreFromRecoveryPoint) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsjson11_deserializeOpRestoreFromRecoveryPoint) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsjson11_deserializeOpErrorRestoreFromRecoveryPoint(response, &metadata) + } + output := &RestoreFromRecoveryPointOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsAwsjson11_deserializeOpDocumentRestoreFromRecoveryPointOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err +} + +func awsAwsjson11_deserializeOpErrorRestoreFromRecoveryPoint(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("ConflictException", errorCode): + return awsAwsjson11_deserializeErrorConflictException(response, errorBody) + + case strings.EqualFold("InternalServerException", errorCode): + return awsAwsjson11_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsAwsjson11_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsAwsjson11_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsAwsjson11_deserializeOpRestoreFromSnapshot struct { +} + +func (*awsAwsjson11_deserializeOpRestoreFromSnapshot) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsjson11_deserializeOpRestoreFromSnapshot) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsjson11_deserializeOpErrorRestoreFromSnapshot(response, &metadata) + } + output := &RestoreFromSnapshotOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsAwsjson11_deserializeOpDocumentRestoreFromSnapshotOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err +} + +func awsAwsjson11_deserializeOpErrorRestoreFromSnapshot(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("ConflictException", errorCode): + return awsAwsjson11_deserializeErrorConflictException(response, errorBody) + + case strings.EqualFold("InternalServerException", errorCode): + return awsAwsjson11_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsAwsjson11_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ServiceQuotaExceededException", errorCode): + return awsAwsjson11_deserializeErrorServiceQuotaExceededException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsAwsjson11_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsAwsjson11_deserializeOpTagResource struct { +} + +func (*awsAwsjson11_deserializeOpTagResource) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsjson11_deserializeOpTagResource) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsjson11_deserializeOpErrorTagResource(response, &metadata) + } + output := &TagResourceOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsAwsjson11_deserializeOpDocumentTagResourceOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err +} + +func awsAwsjson11_deserializeOpErrorTagResource(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("InternalServerException", errorCode): + return awsAwsjson11_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsAwsjson11_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ThrottlingException", errorCode): + return awsAwsjson11_deserializeErrorThrottlingException(response, errorBody) + + case strings.EqualFold("TooManyTagsException", errorCode): + return awsAwsjson11_deserializeErrorTooManyTagsException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsAwsjson11_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsAwsjson11_deserializeOpUntagResource struct { +} + +func (*awsAwsjson11_deserializeOpUntagResource) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsjson11_deserializeOpUntagResource) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsjson11_deserializeOpErrorUntagResource(response, &metadata) + } + output := &UntagResourceOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsAwsjson11_deserializeOpDocumentUntagResourceOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err +} + +func awsAwsjson11_deserializeOpErrorUntagResource(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("InternalServerException", errorCode): + return awsAwsjson11_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsAwsjson11_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ThrottlingException", errorCode): + return awsAwsjson11_deserializeErrorThrottlingException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsAwsjson11_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsAwsjson11_deserializeOpUpdateEndpointAccess struct { +} + +func (*awsAwsjson11_deserializeOpUpdateEndpointAccess) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsjson11_deserializeOpUpdateEndpointAccess) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsjson11_deserializeOpErrorUpdateEndpointAccess(response, &metadata) + } + output := &UpdateEndpointAccessOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsAwsjson11_deserializeOpDocumentUpdateEndpointAccessOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err +} + +func awsAwsjson11_deserializeOpErrorUpdateEndpointAccess(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("AccessDeniedException", errorCode): + return awsAwsjson11_deserializeErrorAccessDeniedException(response, errorBody) + + case strings.EqualFold("ConflictException", errorCode): + return awsAwsjson11_deserializeErrorConflictException(response, errorBody) + + case strings.EqualFold("InternalServerException", errorCode): + return awsAwsjson11_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsAwsjson11_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsAwsjson11_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsAwsjson11_deserializeOpUpdateNamespace struct { +} + +func (*awsAwsjson11_deserializeOpUpdateNamespace) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsjson11_deserializeOpUpdateNamespace) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsjson11_deserializeOpErrorUpdateNamespace(response, &metadata) + } + output := &UpdateNamespaceOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsAwsjson11_deserializeOpDocumentUpdateNamespaceOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err +} + +func awsAwsjson11_deserializeOpErrorUpdateNamespace(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("ConflictException", errorCode): + return awsAwsjson11_deserializeErrorConflictException(response, errorBody) + + case strings.EqualFold("InternalServerException", errorCode): + return awsAwsjson11_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsAwsjson11_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsAwsjson11_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsAwsjson11_deserializeOpUpdateSnapshot struct { +} + +func (*awsAwsjson11_deserializeOpUpdateSnapshot) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsjson11_deserializeOpUpdateSnapshot) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsjson11_deserializeOpErrorUpdateSnapshot(response, &metadata) + } + output := &UpdateSnapshotOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsAwsjson11_deserializeOpDocumentUpdateSnapshotOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err +} + +func awsAwsjson11_deserializeOpErrorUpdateSnapshot(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("ConflictException", errorCode): + return awsAwsjson11_deserializeErrorConflictException(response, errorBody) + + case strings.EqualFold("InternalServerException", errorCode): + return awsAwsjson11_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsAwsjson11_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsAwsjson11_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsAwsjson11_deserializeOpUpdateUsageLimit struct { +} + +func (*awsAwsjson11_deserializeOpUpdateUsageLimit) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsjson11_deserializeOpUpdateUsageLimit) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsjson11_deserializeOpErrorUpdateUsageLimit(response, &metadata) + } + output := &UpdateUsageLimitOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsAwsjson11_deserializeOpDocumentUpdateUsageLimitOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err +} + +func awsAwsjson11_deserializeOpErrorUpdateUsageLimit(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("ConflictException", errorCode): + return awsAwsjson11_deserializeErrorConflictException(response, errorBody) + + case strings.EqualFold("InternalServerException", errorCode): + return awsAwsjson11_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsAwsjson11_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsAwsjson11_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsAwsjson11_deserializeOpUpdateWorkgroup struct { +} + +func (*awsAwsjson11_deserializeOpUpdateWorkgroup) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsjson11_deserializeOpUpdateWorkgroup) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsjson11_deserializeOpErrorUpdateWorkgroup(response, &metadata) + } + output := &UpdateWorkgroupOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsAwsjson11_deserializeOpDocumentUpdateWorkgroupOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err +} + +func awsAwsjson11_deserializeOpErrorUpdateWorkgroup(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("ConflictException", errorCode): + return awsAwsjson11_deserializeErrorConflictException(response, errorBody) + + case strings.EqualFold("InsufficientCapacityException", errorCode): + return awsAwsjson11_deserializeErrorInsufficientCapacityException(response, errorBody) + + case strings.EqualFold("InternalServerException", errorCode): + return awsAwsjson11_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("ResourceNotFoundException", errorCode): + return awsAwsjson11_deserializeErrorResourceNotFoundException(response, errorBody) + + case strings.EqualFold("ValidationException", errorCode): + return awsAwsjson11_deserializeErrorValidationException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +func awsAwsjson11_deserializeErrorAccessDeniedException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + output := &types.AccessDeniedException{} + err := awsAwsjson11_deserializeDocumentAccessDeniedException(&output, shape) + + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + return output +} + +func awsAwsjson11_deserializeErrorConflictException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + output := &types.ConflictException{} + err := awsAwsjson11_deserializeDocumentConflictException(&output, shape) + + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + return output +} + +func awsAwsjson11_deserializeErrorInsufficientCapacityException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + output := &types.InsufficientCapacityException{} + err := awsAwsjson11_deserializeDocumentInsufficientCapacityException(&output, shape) + + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + return output +} + +func awsAwsjson11_deserializeErrorInternalServerException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + output := &types.InternalServerException{} + err := awsAwsjson11_deserializeDocumentInternalServerException(&output, shape) + + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + return output +} + +func awsAwsjson11_deserializeErrorInvalidPaginationException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + output := &types.InvalidPaginationException{} + err := awsAwsjson11_deserializeDocumentInvalidPaginationException(&output, shape) + + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + return output +} + +func awsAwsjson11_deserializeErrorResourceNotFoundException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + output := &types.ResourceNotFoundException{} + err := awsAwsjson11_deserializeDocumentResourceNotFoundException(&output, shape) + + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + return output +} + +func awsAwsjson11_deserializeErrorServiceQuotaExceededException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + output := &types.ServiceQuotaExceededException{} + err := awsAwsjson11_deserializeDocumentServiceQuotaExceededException(&output, shape) + + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + return output +} + +func awsAwsjson11_deserializeErrorThrottlingException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + output := &types.ThrottlingException{} + err := awsAwsjson11_deserializeDocumentThrottlingException(&output, shape) + + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + return output +} + +func awsAwsjson11_deserializeErrorTooManyTagsException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + output := &types.TooManyTagsException{} + err := awsAwsjson11_deserializeDocumentTooManyTagsException(&output, shape) + + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + return output +} + +func awsAwsjson11_deserializeErrorValidationException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + output := &types.ValidationException{} + err := awsAwsjson11_deserializeDocumentValidationException(&output, shape) + + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + return output +} + +func awsAwsjson11_deserializeDocumentAccessDeniedException(v **types.AccessDeniedException, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.AccessDeniedException + if *v == nil { + sv = &types.AccessDeniedException{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "code": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.Code = ptr.String(jtv) + } + + case "message": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.Message = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeDocumentAccountIdList(v *[]string, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []string + if *v == nil { + cv = []string{} + } else { + cv = *v + } + + for _, value := range shape { + var col string + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + col = jtv + } + cv = append(cv, col) + + } + *v = cv + return nil +} + +func awsAwsjson11_deserializeDocumentConfigParameter(v **types.ConfigParameter, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.ConfigParameter + if *v == nil { + sv = &types.ConfigParameter{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "parameterKey": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ParameterKey to be of type string, got %T instead", value) + } + sv.ParameterKey = ptr.String(jtv) + } + + case "parameterValue": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ParameterValue to be of type string, got %T instead", value) + } + sv.ParameterValue = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeDocumentConfigParameterList(v *[]types.ConfigParameter, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []types.ConfigParameter + if *v == nil { + cv = []types.ConfigParameter{} + } else { + cv = *v + } + + for _, value := range shape { + var col types.ConfigParameter + destAddr := &col + if err := awsAwsjson11_deserializeDocumentConfigParameter(&destAddr, value); err != nil { + return err + } + col = *destAddr + cv = append(cv, col) + + } + *v = cv + return nil +} + +func awsAwsjson11_deserializeDocumentConflictException(v **types.ConflictException, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.ConflictException + if *v == nil { + sv = &types.ConflictException{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "message": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.Message = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeDocumentEndpoint(v **types.Endpoint, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.Endpoint + if *v == nil { + sv = &types.Endpoint{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "address": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.Address = ptr.String(jtv) + } + + case "port": + if value != nil { + jtv, ok := value.(json.Number) + if !ok { + return fmt.Errorf("expected Integer to be json.Number, got %T instead", value) + } + i64, err := jtv.Int64() + if err != nil { + return err + } + sv.Port = ptr.Int32(int32(i64)) + } + + case "vpcEndpoints": + if err := awsAwsjson11_deserializeDocumentVpcEndpointList(&sv.VpcEndpoints, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeDocumentEndpointAccess(v **types.EndpointAccess, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.EndpointAccess + if *v == nil { + sv = &types.EndpointAccess{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "address": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.Address = ptr.String(jtv) + } + + case "endpointArn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.EndpointArn = ptr.String(jtv) + } + + case "endpointCreateTime": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Timestamp to be of type string, got %T instead", value) + } + t, err := smithytime.ParseDateTime(jtv) + if err != nil { + return err + } + sv.EndpointCreateTime = ptr.Time(t) + } + + case "endpointName": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.EndpointName = ptr.String(jtv) + } + + case "endpointStatus": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.EndpointStatus = ptr.String(jtv) + } + + case "port": + if value != nil { + jtv, ok := value.(json.Number) + if !ok { + return fmt.Errorf("expected Integer to be json.Number, got %T instead", value) + } + i64, err := jtv.Int64() + if err != nil { + return err + } + sv.Port = ptr.Int32(int32(i64)) + } + + case "subnetIds": + if err := awsAwsjson11_deserializeDocumentSubnetIdList(&sv.SubnetIds, value); err != nil { + return err + } + + case "vpcEndpoint": + if err := awsAwsjson11_deserializeDocumentVpcEndpoint(&sv.VpcEndpoint, value); err != nil { + return err + } + + case "vpcSecurityGroups": + if err := awsAwsjson11_deserializeDocumentVpcSecurityGroupMembershipList(&sv.VpcSecurityGroups, value); err != nil { + return err + } + + case "workgroupName": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.WorkgroupName = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeDocumentEndpointAccessList(v *[]types.EndpointAccess, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []types.EndpointAccess + if *v == nil { + cv = []types.EndpointAccess{} + } else { + cv = *v + } + + for _, value := range shape { + var col types.EndpointAccess + destAddr := &col + if err := awsAwsjson11_deserializeDocumentEndpointAccess(&destAddr, value); err != nil { + return err + } + col = *destAddr + cv = append(cv, col) + + } + *v = cv + return nil +} + +func awsAwsjson11_deserializeDocumentIamRoleArnList(v *[]string, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []string + if *v == nil { + cv = []string{} + } else { + cv = *v + } + + for _, value := range shape { + var col string + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected IamRoleArn to be of type string, got %T instead", value) + } + col = jtv + } + cv = append(cv, col) + + } + *v = cv + return nil +} + +func awsAwsjson11_deserializeDocumentInsufficientCapacityException(v **types.InsufficientCapacityException, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.InsufficientCapacityException + if *v == nil { + sv = &types.InsufficientCapacityException{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "message": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.Message = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeDocumentInternalServerException(v **types.InternalServerException, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.InternalServerException + if *v == nil { + sv = &types.InternalServerException{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "message": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.Message = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeDocumentInvalidPaginationException(v **types.InvalidPaginationException, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.InvalidPaginationException + if *v == nil { + sv = &types.InvalidPaginationException{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "message": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.Message = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeDocumentLogExportList(v *[]types.LogExport, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []types.LogExport + if *v == nil { + cv = []types.LogExport{} + } else { + cv = *v + } + + for _, value := range shape { + var col types.LogExport + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected LogExport to be of type string, got %T instead", value) + } + col = types.LogExport(jtv) + } + cv = append(cv, col) + + } + *v = cv + return nil +} + +func awsAwsjson11_deserializeDocumentNamespace(v **types.Namespace, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.Namespace + if *v == nil { + sv = &types.Namespace{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "adminUsername": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected DbUser to be of type string, got %T instead", value) + } + sv.AdminUsername = ptr.String(jtv) + } + + case "creationDate": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Timestamp to be of type string, got %T instead", value) + } + t, err := smithytime.ParseDateTime(jtv) + if err != nil { + return err + } + sv.CreationDate = ptr.Time(t) + } + + case "dbName": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.DbName = ptr.String(jtv) + } + + case "defaultIamRoleArn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.DefaultIamRoleArn = ptr.String(jtv) + } + + case "iamRoles": + if err := awsAwsjson11_deserializeDocumentIamRoleArnList(&sv.IamRoles, value); err != nil { + return err + } + + case "kmsKeyId": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.KmsKeyId = ptr.String(jtv) + } + + case "logExports": + if err := awsAwsjson11_deserializeDocumentLogExportList(&sv.LogExports, value); err != nil { + return err + } + + case "namespaceArn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.NamespaceArn = ptr.String(jtv) + } + + case "namespaceId": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.NamespaceId = ptr.String(jtv) + } + + case "namespaceName": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected NamespaceName to be of type string, got %T instead", value) + } + sv.NamespaceName = ptr.String(jtv) + } + + case "status": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected NamespaceStatus to be of type string, got %T instead", value) + } + sv.Status = types.NamespaceStatus(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeDocumentNamespaceList(v *[]types.Namespace, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []types.Namespace + if *v == nil { + cv = []types.Namespace{} + } else { + cv = *v + } + + for _, value := range shape { + var col types.Namespace + destAddr := &col + if err := awsAwsjson11_deserializeDocumentNamespace(&destAddr, value); err != nil { + return err + } + col = *destAddr + cv = append(cv, col) + + } + *v = cv + return nil +} + +func awsAwsjson11_deserializeDocumentNetworkInterface(v **types.NetworkInterface, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.NetworkInterface + if *v == nil { + sv = &types.NetworkInterface{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "availabilityZone": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.AvailabilityZone = ptr.String(jtv) + } + + case "networkInterfaceId": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.NetworkInterfaceId = ptr.String(jtv) + } + + case "privateIpAddress": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.PrivateIpAddress = ptr.String(jtv) + } + + case "subnetId": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.SubnetId = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeDocumentNetworkInterfaceList(v *[]types.NetworkInterface, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []types.NetworkInterface + if *v == nil { + cv = []types.NetworkInterface{} + } else { + cv = *v + } + + for _, value := range shape { + var col types.NetworkInterface + destAddr := &col + if err := awsAwsjson11_deserializeDocumentNetworkInterface(&destAddr, value); err != nil { + return err + } + col = *destAddr + cv = append(cv, col) + + } + *v = cv + return nil +} + +func awsAwsjson11_deserializeDocumentRecoveryPoint(v **types.RecoveryPoint, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.RecoveryPoint + if *v == nil { + sv = &types.RecoveryPoint{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "namespaceName": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected NamespaceName to be of type string, got %T instead", value) + } + sv.NamespaceName = ptr.String(jtv) + } + + case "recoveryPointCreateTime": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Timestamp to be of type string, got %T instead", value) + } + t, err := smithytime.ParseDateTime(jtv) + if err != nil { + return err + } + sv.RecoveryPointCreateTime = ptr.Time(t) + } + + case "recoveryPointId": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.RecoveryPointId = ptr.String(jtv) + } + + case "totalSizeInMegaBytes": + if value != nil { + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.TotalSizeInMegaBytes = ptr.Float64(f64) + + case string: + var f64 float64 + switch { + case strings.EqualFold(jtv, "NaN"): + f64 = math.NaN() + + case strings.EqualFold(jtv, "Infinity"): + f64 = math.Inf(1) + + case strings.EqualFold(jtv, "-Infinity"): + f64 = math.Inf(-1) + + default: + return fmt.Errorf("unknown JSON number value: %s", jtv) + + } + sv.TotalSizeInMegaBytes = ptr.Float64(f64) + + default: + return fmt.Errorf("expected Double to be a JSON Number, got %T instead", value) + + } + } + + case "workgroupName": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected WorkgroupName to be of type string, got %T instead", value) + } + sv.WorkgroupName = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeDocumentRecoveryPointList(v *[]types.RecoveryPoint, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []types.RecoveryPoint + if *v == nil { + cv = []types.RecoveryPoint{} + } else { + cv = *v + } + + for _, value := range shape { + var col types.RecoveryPoint + destAddr := &col + if err := awsAwsjson11_deserializeDocumentRecoveryPoint(&destAddr, value); err != nil { + return err + } + col = *destAddr + cv = append(cv, col) + + } + *v = cv + return nil +} + +func awsAwsjson11_deserializeDocumentResourceNotFoundException(v **types.ResourceNotFoundException, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.ResourceNotFoundException + if *v == nil { + sv = &types.ResourceNotFoundException{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "message": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.Message = ptr.String(jtv) + } + + case "resourceName": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected AmazonResourceName to be of type string, got %T instead", value) + } + sv.ResourceName = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeDocumentResourcePolicy(v **types.ResourcePolicy, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.ResourcePolicy + if *v == nil { + sv = &types.ResourcePolicy{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "policy": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.Policy = ptr.String(jtv) + } + + case "resourceArn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.ResourceArn = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeDocumentSecurityGroupIdList(v *[]string, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []string + if *v == nil { + cv = []string{} + } else { + cv = *v + } + + for _, value := range shape { + var col string + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected SecurityGroupId to be of type string, got %T instead", value) + } + col = jtv + } + cv = append(cv, col) + + } + *v = cv + return nil +} + +func awsAwsjson11_deserializeDocumentServiceQuotaExceededException(v **types.ServiceQuotaExceededException, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.ServiceQuotaExceededException + if *v == nil { + sv = &types.ServiceQuotaExceededException{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "message": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.Message = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeDocumentSnapshot(v **types.Snapshot, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.Snapshot + if *v == nil { + sv = &types.Snapshot{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "accountsWithProvisionedRestoreAccess": + if err := awsAwsjson11_deserializeDocumentAccountIdList(&sv.AccountsWithProvisionedRestoreAccess, value); err != nil { + return err + } + + case "accountsWithRestoreAccess": + if err := awsAwsjson11_deserializeDocumentAccountIdList(&sv.AccountsWithRestoreAccess, value); err != nil { + return err + } + + case "actualIncrementalBackupSizeInMegaBytes": + if value != nil { + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.ActualIncrementalBackupSizeInMegaBytes = ptr.Float64(f64) + + case string: + var f64 float64 + switch { + case strings.EqualFold(jtv, "NaN"): + f64 = math.NaN() + + case strings.EqualFold(jtv, "Infinity"): + f64 = math.Inf(1) + + case strings.EqualFold(jtv, "-Infinity"): + f64 = math.Inf(-1) + + default: + return fmt.Errorf("unknown JSON number value: %s", jtv) + + } + sv.ActualIncrementalBackupSizeInMegaBytes = ptr.Float64(f64) + + default: + return fmt.Errorf("expected Double to be a JSON Number, got %T instead", value) + + } + } + + case "adminUsername": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.AdminUsername = ptr.String(jtv) + } + + case "backupProgressInMegaBytes": + if value != nil { + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.BackupProgressInMegaBytes = ptr.Float64(f64) + + case string: + var f64 float64 + switch { + case strings.EqualFold(jtv, "NaN"): + f64 = math.NaN() + + case strings.EqualFold(jtv, "Infinity"): + f64 = math.Inf(1) + + case strings.EqualFold(jtv, "-Infinity"): + f64 = math.Inf(-1) + + default: + return fmt.Errorf("unknown JSON number value: %s", jtv) + + } + sv.BackupProgressInMegaBytes = ptr.Float64(f64) + + default: + return fmt.Errorf("expected Double to be a JSON Number, got %T instead", value) + + } + } + + case "currentBackupRateInMegaBytesPerSecond": + if value != nil { + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.CurrentBackupRateInMegaBytesPerSecond = ptr.Float64(f64) + + case string: + var f64 float64 + switch { + case strings.EqualFold(jtv, "NaN"): + f64 = math.NaN() + + case strings.EqualFold(jtv, "Infinity"): + f64 = math.Inf(1) + + case strings.EqualFold(jtv, "-Infinity"): + f64 = math.Inf(-1) + + default: + return fmt.Errorf("unknown JSON number value: %s", jtv) + + } + sv.CurrentBackupRateInMegaBytesPerSecond = ptr.Float64(f64) + + default: + return fmt.Errorf("expected Double to be a JSON Number, got %T instead", value) + + } + } + + case "elapsedTimeInSeconds": + if value != nil { + jtv, ok := value.(json.Number) + if !ok { + return fmt.Errorf("expected Long to be json.Number, got %T instead", value) + } + i64, err := jtv.Int64() + if err != nil { + return err + } + sv.ElapsedTimeInSeconds = ptr.Int64(i64) + } + + case "estimatedSecondsToCompletion": + if value != nil { + jtv, ok := value.(json.Number) + if !ok { + return fmt.Errorf("expected Long to be json.Number, got %T instead", value) + } + i64, err := jtv.Int64() + if err != nil { + return err + } + sv.EstimatedSecondsToCompletion = ptr.Int64(i64) + } + + case "kmsKeyId": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected KmsKeyId to be of type string, got %T instead", value) + } + sv.KmsKeyId = ptr.String(jtv) + } + + case "namespaceArn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.NamespaceArn = ptr.String(jtv) + } + + case "namespaceName": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.NamespaceName = ptr.String(jtv) + } + + case "ownerAccount": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.OwnerAccount = ptr.String(jtv) + } + + case "snapshotArn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.SnapshotArn = ptr.String(jtv) + } + + case "snapshotCreateTime": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Timestamp to be of type string, got %T instead", value) + } + t, err := smithytime.ParseDateTime(jtv) + if err != nil { + return err + } + sv.SnapshotCreateTime = ptr.Time(t) + } + + case "snapshotName": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.SnapshotName = ptr.String(jtv) + } + + case "snapshotRemainingDays": + if value != nil { + jtv, ok := value.(json.Number) + if !ok { + return fmt.Errorf("expected Integer to be json.Number, got %T instead", value) + } + i64, err := jtv.Int64() + if err != nil { + return err + } + sv.SnapshotRemainingDays = ptr.Int32(int32(i64)) + } + + case "snapshotRetentionPeriod": + if value != nil { + jtv, ok := value.(json.Number) + if !ok { + return fmt.Errorf("expected Integer to be json.Number, got %T instead", value) + } + i64, err := jtv.Int64() + if err != nil { + return err + } + sv.SnapshotRetentionPeriod = ptr.Int32(int32(i64)) + } + + case "snapshotRetentionStartTime": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Timestamp to be of type string, got %T instead", value) + } + t, err := smithytime.ParseDateTime(jtv) + if err != nil { + return err + } + sv.SnapshotRetentionStartTime = ptr.Time(t) + } + + case "status": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected SnapshotStatus to be of type string, got %T instead", value) + } + sv.Status = types.SnapshotStatus(jtv) + } + + case "totalBackupSizeInMegaBytes": + if value != nil { + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.TotalBackupSizeInMegaBytes = ptr.Float64(f64) + + case string: + var f64 float64 + switch { + case strings.EqualFold(jtv, "NaN"): + f64 = math.NaN() + + case strings.EqualFold(jtv, "Infinity"): + f64 = math.Inf(1) + + case strings.EqualFold(jtv, "-Infinity"): + f64 = math.Inf(-1) + + default: + return fmt.Errorf("unknown JSON number value: %s", jtv) + + } + sv.TotalBackupSizeInMegaBytes = ptr.Float64(f64) + + default: + return fmt.Errorf("expected Double to be a JSON Number, got %T instead", value) + + } + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeDocumentSnapshotList(v *[]types.Snapshot, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []types.Snapshot + if *v == nil { + cv = []types.Snapshot{} + } else { + cv = *v + } + + for _, value := range shape { + var col types.Snapshot + destAddr := &col + if err := awsAwsjson11_deserializeDocumentSnapshot(&destAddr, value); err != nil { + return err + } + col = *destAddr + cv = append(cv, col) + + } + *v = cv + return nil +} + +func awsAwsjson11_deserializeDocumentSubnetIdList(v *[]string, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []string + if *v == nil { + cv = []string{} + } else { + cv = *v + } + + for _, value := range shape { + var col string + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected SubnetId to be of type string, got %T instead", value) + } + col = jtv + } + cv = append(cv, col) + + } + *v = cv + return nil +} + +func awsAwsjson11_deserializeDocumentTag(v **types.Tag, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.Tag + if *v == nil { + sv = &types.Tag{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "key": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected TagKey to be of type string, got %T instead", value) + } + sv.Key = ptr.String(jtv) + } + + case "value": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected TagValue to be of type string, got %T instead", value) + } + sv.Value = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeDocumentTagList(v *[]types.Tag, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []types.Tag + if *v == nil { + cv = []types.Tag{} + } else { + cv = *v + } + + for _, value := range shape { + var col types.Tag + destAddr := &col + if err := awsAwsjson11_deserializeDocumentTag(&destAddr, value); err != nil { + return err + } + col = *destAddr + cv = append(cv, col) + + } + *v = cv + return nil +} + +func awsAwsjson11_deserializeDocumentThrottlingException(v **types.ThrottlingException, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.ThrottlingException + if *v == nil { + sv = &types.ThrottlingException{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "code": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.Code = ptr.String(jtv) + } + + case "message": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.Message = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeDocumentTooManyTagsException(v **types.TooManyTagsException, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.TooManyTagsException + if *v == nil { + sv = &types.TooManyTagsException{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "message": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.Message = ptr.String(jtv) + } + + case "resourceName": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected AmazonResourceName to be of type string, got %T instead", value) + } + sv.ResourceName = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeDocumentUsageLimit(v **types.UsageLimit, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.UsageLimit + if *v == nil { + sv = &types.UsageLimit{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "amount": + if value != nil { + jtv, ok := value.(json.Number) + if !ok { + return fmt.Errorf("expected Long to be json.Number, got %T instead", value) + } + i64, err := jtv.Int64() + if err != nil { + return err + } + sv.Amount = ptr.Int64(i64) + } + + case "breachAction": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected UsageLimitBreachAction to be of type string, got %T instead", value) + } + sv.BreachAction = types.UsageLimitBreachAction(jtv) + } + + case "period": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected UsageLimitPeriod to be of type string, got %T instead", value) + } + sv.Period = types.UsageLimitPeriod(jtv) + } + + case "resourceArn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.ResourceArn = ptr.String(jtv) + } + + case "usageLimitArn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.UsageLimitArn = ptr.String(jtv) + } + + case "usageLimitId": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.UsageLimitId = ptr.String(jtv) + } + + case "usageType": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected UsageLimitUsageType to be of type string, got %T instead", value) + } + sv.UsageType = types.UsageLimitUsageType(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeDocumentUsageLimits(v *[]types.UsageLimit, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []types.UsageLimit + if *v == nil { + cv = []types.UsageLimit{} + } else { + cv = *v + } + + for _, value := range shape { + var col types.UsageLimit + destAddr := &col + if err := awsAwsjson11_deserializeDocumentUsageLimit(&destAddr, value); err != nil { + return err + } + col = *destAddr + cv = append(cv, col) + + } + *v = cv + return nil +} + +func awsAwsjson11_deserializeDocumentValidationException(v **types.ValidationException, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.ValidationException + if *v == nil { + sv = &types.ValidationException{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "message": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.Message = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeDocumentVpcEndpoint(v **types.VpcEndpoint, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.VpcEndpoint + if *v == nil { + sv = &types.VpcEndpoint{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "networkInterfaces": + if err := awsAwsjson11_deserializeDocumentNetworkInterfaceList(&sv.NetworkInterfaces, value); err != nil { + return err + } + + case "vpcEndpointId": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.VpcEndpointId = ptr.String(jtv) + } + + case "vpcId": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.VpcId = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeDocumentVpcEndpointList(v *[]types.VpcEndpoint, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []types.VpcEndpoint + if *v == nil { + cv = []types.VpcEndpoint{} + } else { + cv = *v + } + + for _, value := range shape { + var col types.VpcEndpoint + destAddr := &col + if err := awsAwsjson11_deserializeDocumentVpcEndpoint(&destAddr, value); err != nil { + return err + } + col = *destAddr + cv = append(cv, col) + + } + *v = cv + return nil +} + +func awsAwsjson11_deserializeDocumentVpcSecurityGroupMembership(v **types.VpcSecurityGroupMembership, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.VpcSecurityGroupMembership + if *v == nil { + sv = &types.VpcSecurityGroupMembership{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "status": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.Status = ptr.String(jtv) + } + + case "vpcSecurityGroupId": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected VpcSecurityGroupId to be of type string, got %T instead", value) + } + sv.VpcSecurityGroupId = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeDocumentVpcSecurityGroupMembershipList(v *[]types.VpcSecurityGroupMembership, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []types.VpcSecurityGroupMembership + if *v == nil { + cv = []types.VpcSecurityGroupMembership{} + } else { + cv = *v + } + + for _, value := range shape { + var col types.VpcSecurityGroupMembership + destAddr := &col + if err := awsAwsjson11_deserializeDocumentVpcSecurityGroupMembership(&destAddr, value); err != nil { + return err + } + col = *destAddr + cv = append(cv, col) + + } + *v = cv + return nil +} + +func awsAwsjson11_deserializeDocumentWorkgroup(v **types.Workgroup, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.Workgroup + if *v == nil { + sv = &types.Workgroup{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "baseCapacity": + if value != nil { + jtv, ok := value.(json.Number) + if !ok { + return fmt.Errorf("expected Integer to be json.Number, got %T instead", value) + } + i64, err := jtv.Int64() + if err != nil { + return err + } + sv.BaseCapacity = ptr.Int32(int32(i64)) + } + + case "configParameters": + if err := awsAwsjson11_deserializeDocumentConfigParameterList(&sv.ConfigParameters, value); err != nil { + return err + } + + case "creationDate": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Timestamp to be of type string, got %T instead", value) + } + t, err := smithytime.ParseDateTime(jtv) + if err != nil { + return err + } + sv.CreationDate = ptr.Time(t) + } + + case "endpoint": + if err := awsAwsjson11_deserializeDocumentEndpoint(&sv.Endpoint, value); err != nil { + return err + } + + case "enhancedVpcRouting": + if value != nil { + jtv, ok := value.(bool) + if !ok { + return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) + } + sv.EnhancedVpcRouting = ptr.Bool(jtv) + } + + case "namespaceName": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.NamespaceName = ptr.String(jtv) + } + + case "publiclyAccessible": + if value != nil { + jtv, ok := value.(bool) + if !ok { + return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) + } + sv.PubliclyAccessible = ptr.Bool(jtv) + } + + case "securityGroupIds": + if err := awsAwsjson11_deserializeDocumentSecurityGroupIdList(&sv.SecurityGroupIds, value); err != nil { + return err + } + + case "status": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected WorkgroupStatus to be of type string, got %T instead", value) + } + sv.Status = types.WorkgroupStatus(jtv) + } + + case "subnetIds": + if err := awsAwsjson11_deserializeDocumentSubnetIdList(&sv.SubnetIds, value); err != nil { + return err + } + + case "workgroupArn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.WorkgroupArn = ptr.String(jtv) + } + + case "workgroupId": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.WorkgroupId = ptr.String(jtv) + } + + case "workgroupName": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected WorkgroupName to be of type string, got %T instead", value) + } + sv.WorkgroupName = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeDocumentWorkgroupList(v *[]types.Workgroup, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []types.Workgroup + if *v == nil { + cv = []types.Workgroup{} + } else { + cv = *v + } + + for _, value := range shape { + var col types.Workgroup + destAddr := &col + if err := awsAwsjson11_deserializeDocumentWorkgroup(&destAddr, value); err != nil { + return err + } + col = *destAddr + cv = append(cv, col) + + } + *v = cv + return nil +} + +func awsAwsjson11_deserializeOpDocumentConvertRecoveryPointToSnapshotOutput(v **ConvertRecoveryPointToSnapshotOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *ConvertRecoveryPointToSnapshotOutput + if *v == nil { + sv = &ConvertRecoveryPointToSnapshotOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "snapshot": + if err := awsAwsjson11_deserializeDocumentSnapshot(&sv.Snapshot, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeOpDocumentCreateEndpointAccessOutput(v **CreateEndpointAccessOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *CreateEndpointAccessOutput + if *v == nil { + sv = &CreateEndpointAccessOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "endpoint": + if err := awsAwsjson11_deserializeDocumentEndpointAccess(&sv.Endpoint, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeOpDocumentCreateNamespaceOutput(v **CreateNamespaceOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *CreateNamespaceOutput + if *v == nil { + sv = &CreateNamespaceOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "namespace": + if err := awsAwsjson11_deserializeDocumentNamespace(&sv.Namespace, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeOpDocumentCreateSnapshotOutput(v **CreateSnapshotOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *CreateSnapshotOutput + if *v == nil { + sv = &CreateSnapshotOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "snapshot": + if err := awsAwsjson11_deserializeDocumentSnapshot(&sv.Snapshot, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeOpDocumentCreateUsageLimitOutput(v **CreateUsageLimitOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *CreateUsageLimitOutput + if *v == nil { + sv = &CreateUsageLimitOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "usageLimit": + if err := awsAwsjson11_deserializeDocumentUsageLimit(&sv.UsageLimit, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeOpDocumentCreateWorkgroupOutput(v **CreateWorkgroupOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *CreateWorkgroupOutput + if *v == nil { + sv = &CreateWorkgroupOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "workgroup": + if err := awsAwsjson11_deserializeDocumentWorkgroup(&sv.Workgroup, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeOpDocumentDeleteEndpointAccessOutput(v **DeleteEndpointAccessOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *DeleteEndpointAccessOutput + if *v == nil { + sv = &DeleteEndpointAccessOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "endpoint": + if err := awsAwsjson11_deserializeDocumentEndpointAccess(&sv.Endpoint, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeOpDocumentDeleteNamespaceOutput(v **DeleteNamespaceOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *DeleteNamespaceOutput + if *v == nil { + sv = &DeleteNamespaceOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "namespace": + if err := awsAwsjson11_deserializeDocumentNamespace(&sv.Namespace, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeOpDocumentDeleteResourcePolicyOutput(v **DeleteResourcePolicyOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *DeleteResourcePolicyOutput + if *v == nil { + sv = &DeleteResourcePolicyOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeOpDocumentDeleteSnapshotOutput(v **DeleteSnapshotOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *DeleteSnapshotOutput + if *v == nil { + sv = &DeleteSnapshotOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "snapshot": + if err := awsAwsjson11_deserializeDocumentSnapshot(&sv.Snapshot, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeOpDocumentDeleteUsageLimitOutput(v **DeleteUsageLimitOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *DeleteUsageLimitOutput + if *v == nil { + sv = &DeleteUsageLimitOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "usageLimit": + if err := awsAwsjson11_deserializeDocumentUsageLimit(&sv.UsageLimit, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeOpDocumentDeleteWorkgroupOutput(v **DeleteWorkgroupOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *DeleteWorkgroupOutput + if *v == nil { + sv = &DeleteWorkgroupOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "workgroup": + if err := awsAwsjson11_deserializeDocumentWorkgroup(&sv.Workgroup, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeOpDocumentGetCredentialsOutput(v **GetCredentialsOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *GetCredentialsOutput + if *v == nil { + sv = &GetCredentialsOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "dbPassword": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected DbPassword to be of type string, got %T instead", value) + } + sv.DbPassword = ptr.String(jtv) + } + + case "dbUser": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected DbUser to be of type string, got %T instead", value) + } + sv.DbUser = ptr.String(jtv) + } + + case "expiration": + if value != nil { + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.Expiration = ptr.Time(smithytime.ParseEpochSeconds(f64)) + + default: + return fmt.Errorf("expected Timestamp to be a JSON Number, got %T instead", value) + + } + } + + case "nextRefreshTime": + if value != nil { + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.NextRefreshTime = ptr.Time(smithytime.ParseEpochSeconds(f64)) + + default: + return fmt.Errorf("expected Timestamp to be a JSON Number, got %T instead", value) + + } + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeOpDocumentGetEndpointAccessOutput(v **GetEndpointAccessOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *GetEndpointAccessOutput + if *v == nil { + sv = &GetEndpointAccessOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "endpoint": + if err := awsAwsjson11_deserializeDocumentEndpointAccess(&sv.Endpoint, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeOpDocumentGetNamespaceOutput(v **GetNamespaceOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *GetNamespaceOutput + if *v == nil { + sv = &GetNamespaceOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "namespace": + if err := awsAwsjson11_deserializeDocumentNamespace(&sv.Namespace, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeOpDocumentGetRecoveryPointOutput(v **GetRecoveryPointOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *GetRecoveryPointOutput + if *v == nil { + sv = &GetRecoveryPointOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "recoveryPoint": + if err := awsAwsjson11_deserializeDocumentRecoveryPoint(&sv.RecoveryPoint, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeOpDocumentGetResourcePolicyOutput(v **GetResourcePolicyOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *GetResourcePolicyOutput + if *v == nil { + sv = &GetResourcePolicyOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "resourcePolicy": + if err := awsAwsjson11_deserializeDocumentResourcePolicy(&sv.ResourcePolicy, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeOpDocumentGetSnapshotOutput(v **GetSnapshotOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *GetSnapshotOutput + if *v == nil { + sv = &GetSnapshotOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "snapshot": + if err := awsAwsjson11_deserializeDocumentSnapshot(&sv.Snapshot, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeOpDocumentGetUsageLimitOutput(v **GetUsageLimitOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *GetUsageLimitOutput + if *v == nil { + sv = &GetUsageLimitOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "usageLimit": + if err := awsAwsjson11_deserializeDocumentUsageLimit(&sv.UsageLimit, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeOpDocumentGetWorkgroupOutput(v **GetWorkgroupOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *GetWorkgroupOutput + if *v == nil { + sv = &GetWorkgroupOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "workgroup": + if err := awsAwsjson11_deserializeDocumentWorkgroup(&sv.Workgroup, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeOpDocumentListEndpointAccessOutput(v **ListEndpointAccessOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *ListEndpointAccessOutput + if *v == nil { + sv = &ListEndpointAccessOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "endpoints": + if err := awsAwsjson11_deserializeDocumentEndpointAccessList(&sv.Endpoints, value); err != nil { + return err + } + + case "nextToken": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.NextToken = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeOpDocumentListNamespacesOutput(v **ListNamespacesOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *ListNamespacesOutput + if *v == nil { + sv = &ListNamespacesOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "namespaces": + if err := awsAwsjson11_deserializeDocumentNamespaceList(&sv.Namespaces, value); err != nil { + return err + } + + case "nextToken": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.NextToken = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeOpDocumentListRecoveryPointsOutput(v **ListRecoveryPointsOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *ListRecoveryPointsOutput + if *v == nil { + sv = &ListRecoveryPointsOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "nextToken": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.NextToken = ptr.String(jtv) + } + + case "recoveryPoints": + if err := awsAwsjson11_deserializeDocumentRecoveryPointList(&sv.RecoveryPoints, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeOpDocumentListSnapshotsOutput(v **ListSnapshotsOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *ListSnapshotsOutput + if *v == nil { + sv = &ListSnapshotsOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "nextToken": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.NextToken = ptr.String(jtv) + } + + case "snapshots": + if err := awsAwsjson11_deserializeDocumentSnapshotList(&sv.Snapshots, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeOpDocumentListTagsForResourceOutput(v **ListTagsForResourceOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *ListTagsForResourceOutput + if *v == nil { + sv = &ListTagsForResourceOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "tags": + if err := awsAwsjson11_deserializeDocumentTagList(&sv.Tags, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeOpDocumentListUsageLimitsOutput(v **ListUsageLimitsOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *ListUsageLimitsOutput + if *v == nil { + sv = &ListUsageLimitsOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "nextToken": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected PaginationToken to be of type string, got %T instead", value) + } + sv.NextToken = ptr.String(jtv) + } + + case "usageLimits": + if err := awsAwsjson11_deserializeDocumentUsageLimits(&sv.UsageLimits, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeOpDocumentListWorkgroupsOutput(v **ListWorkgroupsOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *ListWorkgroupsOutput + if *v == nil { + sv = &ListWorkgroupsOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "nextToken": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.NextToken = ptr.String(jtv) + } + + case "workgroups": + if err := awsAwsjson11_deserializeDocumentWorkgroupList(&sv.Workgroups, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeOpDocumentPutResourcePolicyOutput(v **PutResourcePolicyOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *PutResourcePolicyOutput + if *v == nil { + sv = &PutResourcePolicyOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "resourcePolicy": + if err := awsAwsjson11_deserializeDocumentResourcePolicy(&sv.ResourcePolicy, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeOpDocumentRestoreFromRecoveryPointOutput(v **RestoreFromRecoveryPointOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *RestoreFromRecoveryPointOutput + if *v == nil { + sv = &RestoreFromRecoveryPointOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "namespace": + if err := awsAwsjson11_deserializeDocumentNamespace(&sv.Namespace, value); err != nil { + return err + } + + case "recoveryPointId": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.RecoveryPointId = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeOpDocumentRestoreFromSnapshotOutput(v **RestoreFromSnapshotOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *RestoreFromSnapshotOutput + if *v == nil { + sv = &RestoreFromSnapshotOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "namespace": + if err := awsAwsjson11_deserializeDocumentNamespace(&sv.Namespace, value); err != nil { + return err + } + + case "ownerAccount": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.OwnerAccount = ptr.String(jtv) + } + + case "snapshotName": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.SnapshotName = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeOpDocumentTagResourceOutput(v **TagResourceOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *TagResourceOutput + if *v == nil { + sv = &TagResourceOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeOpDocumentUntagResourceOutput(v **UntagResourceOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *UntagResourceOutput + if *v == nil { + sv = &UntagResourceOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeOpDocumentUpdateEndpointAccessOutput(v **UpdateEndpointAccessOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *UpdateEndpointAccessOutput + if *v == nil { + sv = &UpdateEndpointAccessOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "endpoint": + if err := awsAwsjson11_deserializeDocumentEndpointAccess(&sv.Endpoint, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeOpDocumentUpdateNamespaceOutput(v **UpdateNamespaceOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *UpdateNamespaceOutput + if *v == nil { + sv = &UpdateNamespaceOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "namespace": + if err := awsAwsjson11_deserializeDocumentNamespace(&sv.Namespace, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeOpDocumentUpdateSnapshotOutput(v **UpdateSnapshotOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *UpdateSnapshotOutput + if *v == nil { + sv = &UpdateSnapshotOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "snapshot": + if err := awsAwsjson11_deserializeDocumentSnapshot(&sv.Snapshot, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeOpDocumentUpdateUsageLimitOutput(v **UpdateUsageLimitOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *UpdateUsageLimitOutput + if *v == nil { + sv = &UpdateUsageLimitOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "usageLimit": + if err := awsAwsjson11_deserializeDocumentUsageLimit(&sv.UsageLimit, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeOpDocumentUpdateWorkgroupOutput(v **UpdateWorkgroupOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *UpdateWorkgroupOutput + if *v == nil { + sv = &UpdateWorkgroupOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "workgroup": + if err := awsAwsjson11_deserializeDocumentWorkgroup(&sv.Workgroup, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} diff --git a/service/redshiftserverless/doc.go b/service/redshiftserverless/doc.go new file mode 100644 index 00000000000..1e424100526 --- /dev/null +++ b/service/redshiftserverless/doc.go @@ -0,0 +1,23 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +// Package redshiftserverless provides the API client, operations, and parameter +// types for Redshift Serverless. +// +// This is prerelease documentation for Amazon Redshift Serverless, which is in +// preview release. The documentation and the feature are both subject to change. +// We recommend that you use this feature only in test environments, and not in +// production environments. For preview terms and conditions, see Beta Service +// Participation in Amazon Web Services Service Terms +// (https://docs.aws.amazon.com/https:/aws.amazon.com/service-terms). This is an +// interface reference for Amazon Redshift Serverless. It contains documentation +// for one of the programming or command line interfaces you can use to manage +// Amazon Redshift Serverless. Amazon Redshift Serverless automatically provisions +// data warehouse capacity and intelligently scales the underlying resources based +// on workload demands. Amazon Redshift Serverless adjusts capacity in seconds to +// deliver consistently high performance and simplified operations for even the +// most demanding and volatile workloads. Amazon Redshift Serverless lets you focus +// on using your data to acquire new insights for your business and customers. To +// learn more about Amazon Redshift Serverless, see What is Amazon Redshift +// Serverless +// (https://docs.aws.amazon.com/redshift/latest/mgmt/serverless-whatis.html). +package redshiftserverless diff --git a/service/redshiftserverless/endpoints.go b/service/redshiftserverless/endpoints.go new file mode 100644 index 00000000000..e88561915e0 --- /dev/null +++ b/service/redshiftserverless/endpoints.go @@ -0,0 +1,200 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package redshiftserverless + +import ( + "context" + "errors" + "fmt" + "github.com/aws/aws-sdk-go-v2/aws" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + internalendpoints "github.com/aws/aws-sdk-go-v2/service/redshiftserverless/internal/endpoints" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" + "net/url" + "strings" +) + +// EndpointResolverOptions is the service endpoint resolver options +type EndpointResolverOptions = internalendpoints.Options + +// EndpointResolver interface for resolving service endpoints. +type EndpointResolver interface { + ResolveEndpoint(region string, options EndpointResolverOptions) (aws.Endpoint, error) +} + +var _ EndpointResolver = &internalendpoints.Resolver{} + +// NewDefaultEndpointResolver constructs a new service endpoint resolver +func NewDefaultEndpointResolver() *internalendpoints.Resolver { + return internalendpoints.New() +} + +// EndpointResolverFunc is a helper utility that wraps a function so it satisfies +// the EndpointResolver interface. This is useful when you want to add additional +// endpoint resolving logic, or stub out specific endpoints with custom values. +type EndpointResolverFunc func(region string, options EndpointResolverOptions) (aws.Endpoint, error) + +func (fn EndpointResolverFunc) ResolveEndpoint(region string, options EndpointResolverOptions) (endpoint aws.Endpoint, err error) { + return fn(region, options) +} + +func resolveDefaultEndpointConfiguration(o *Options) { + if o.EndpointResolver != nil { + return + } + o.EndpointResolver = NewDefaultEndpointResolver() +} + +// EndpointResolverFromURL returns an EndpointResolver configured using the +// provided endpoint url. By default, the resolved endpoint resolver uses the +// client region as signing region, and the endpoint source is set to +// EndpointSourceCustom.You can provide functional options to configure endpoint +// values for the resolved endpoint. +func EndpointResolverFromURL(url string, optFns ...func(*aws.Endpoint)) EndpointResolver { + e := aws.Endpoint{URL: url, Source: aws.EndpointSourceCustom} + for _, fn := range optFns { + fn(&e) + } + + return EndpointResolverFunc( + func(region string, options EndpointResolverOptions) (aws.Endpoint, error) { + if len(e.SigningRegion) == 0 { + e.SigningRegion = region + } + return e, nil + }, + ) +} + +type ResolveEndpoint struct { + Resolver EndpointResolver + Options EndpointResolverOptions +} + +func (*ResolveEndpoint) ID() string { + return "ResolveEndpoint" +} + +func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + req, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, fmt.Errorf("unknown transport type %T", in.Request) + } + + if m.Resolver == nil { + return out, metadata, fmt.Errorf("expected endpoint resolver to not be nil") + } + + eo := m.Options + eo.Logger = middleware.GetLogger(ctx) + + var endpoint aws.Endpoint + endpoint, err = m.Resolver.ResolveEndpoint(awsmiddleware.GetRegion(ctx), eo) + if err != nil { + return out, metadata, fmt.Errorf("failed to resolve service endpoint, %w", err) + } + + req.URL, err = url.Parse(endpoint.URL) + if err != nil { + return out, metadata, fmt.Errorf("failed to parse endpoint URL: %w", err) + } + + if len(awsmiddleware.GetSigningName(ctx)) == 0 { + signingName := endpoint.SigningName + if len(signingName) == 0 { + signingName = "redshift-serverless" + } + ctx = awsmiddleware.SetSigningName(ctx, signingName) + } + ctx = awsmiddleware.SetEndpointSource(ctx, endpoint.Source) + ctx = smithyhttp.SetHostnameImmutable(ctx, endpoint.HostnameImmutable) + ctx = awsmiddleware.SetSigningRegion(ctx, endpoint.SigningRegion) + ctx = awsmiddleware.SetPartitionID(ctx, endpoint.PartitionID) + return next.HandleSerialize(ctx, in) +} +func addResolveEndpointMiddleware(stack *middleware.Stack, o Options) error { + return stack.Serialize.Insert(&ResolveEndpoint{ + Resolver: o.EndpointResolver, + Options: o.EndpointOptions, + }, "OperationSerializer", middleware.Before) +} + +func removeResolveEndpointMiddleware(stack *middleware.Stack) error { + _, err := stack.Serialize.Remove((&ResolveEndpoint{}).ID()) + return err +} + +type wrappedEndpointResolver struct { + awsResolver aws.EndpointResolverWithOptions + resolver EndpointResolver +} + +func (w *wrappedEndpointResolver) ResolveEndpoint(region string, options EndpointResolverOptions) (endpoint aws.Endpoint, err error) { + if w.awsResolver == nil { + goto fallback + } + endpoint, err = w.awsResolver.ResolveEndpoint(ServiceID, region, options) + if err == nil { + return endpoint, nil + } + + if nf := (&aws.EndpointNotFoundError{}); !errors.As(err, &nf) { + return endpoint, err + } + +fallback: + if w.resolver == nil { + return endpoint, fmt.Errorf("default endpoint resolver provided was nil") + } + return w.resolver.ResolveEndpoint(region, options) +} + +type awsEndpointResolverAdaptor func(service, region string) (aws.Endpoint, error) + +func (a awsEndpointResolverAdaptor) ResolveEndpoint(service, region string, options ...interface{}) (aws.Endpoint, error) { + return a(service, region) +} + +var _ aws.EndpointResolverWithOptions = awsEndpointResolverAdaptor(nil) + +// withEndpointResolver returns an EndpointResolver that first delegates endpoint resolution to the awsResolver. +// If awsResolver returns aws.EndpointNotFoundError error, the resolver will use the the provided +// fallbackResolver for resolution. +// +// fallbackResolver must not be nil +func withEndpointResolver(awsResolver aws.EndpointResolver, awsResolverWithOptions aws.EndpointResolverWithOptions, fallbackResolver EndpointResolver) EndpointResolver { + var resolver aws.EndpointResolverWithOptions + + if awsResolverWithOptions != nil { + resolver = awsResolverWithOptions + } else if awsResolver != nil { + resolver = awsEndpointResolverAdaptor(awsResolver.ResolveEndpoint) + } + + return &wrappedEndpointResolver{ + awsResolver: resolver, + resolver: fallbackResolver, + } +} + +func finalizeClientEndpointResolverOptions(options *Options) { + options.EndpointOptions.LogDeprecated = options.ClientLogMode.IsDeprecatedUsage() + + if len(options.EndpointOptions.ResolvedRegion) == 0 { + const fipsInfix = "-fips-" + const fipsPrefix = "fips-" + const fipsSuffix = "-fips" + + if strings.Contains(options.Region, fipsInfix) || + strings.Contains(options.Region, fipsPrefix) || + strings.Contains(options.Region, fipsSuffix) { + options.EndpointOptions.ResolvedRegion = strings.ReplaceAll(strings.ReplaceAll(strings.ReplaceAll( + options.Region, fipsInfix, "-"), fipsPrefix, ""), fipsSuffix, "") + options.EndpointOptions.UseFIPSEndpoint = aws.FIPSEndpointStateEnabled + } + } + +} diff --git a/service/redshiftserverless/generated.json b/service/redshiftserverless/generated.json new file mode 100644 index 00000000000..baf329ef9e4 --- /dev/null +++ b/service/redshiftserverless/generated.json @@ -0,0 +1,64 @@ +{ + "dependencies": { + "github.com/aws/aws-sdk-go-v2": "v1.4.0", + "github.com/aws/aws-sdk-go-v2/internal/configsources": "v0.0.0-00010101000000-000000000000", + "github.com/aws/aws-sdk-go-v2/internal/endpoints/v2": "v2.0.0-00010101000000-000000000000", + "github.com/aws/smithy-go": "v1.4.0" + }, + "files": [ + "api_client.go", + "api_client_test.go", + "api_op_ConvertRecoveryPointToSnapshot.go", + "api_op_CreateEndpointAccess.go", + "api_op_CreateNamespace.go", + "api_op_CreateSnapshot.go", + "api_op_CreateUsageLimit.go", + "api_op_CreateWorkgroup.go", + "api_op_DeleteEndpointAccess.go", + "api_op_DeleteNamespace.go", + "api_op_DeleteResourcePolicy.go", + "api_op_DeleteSnapshot.go", + "api_op_DeleteUsageLimit.go", + "api_op_DeleteWorkgroup.go", + "api_op_GetCredentials.go", + "api_op_GetEndpointAccess.go", + "api_op_GetNamespace.go", + "api_op_GetRecoveryPoint.go", + "api_op_GetResourcePolicy.go", + "api_op_GetSnapshot.go", + "api_op_GetUsageLimit.go", + "api_op_GetWorkgroup.go", + "api_op_ListEndpointAccess.go", + "api_op_ListNamespaces.go", + "api_op_ListRecoveryPoints.go", + "api_op_ListSnapshots.go", + "api_op_ListTagsForResource.go", + "api_op_ListUsageLimits.go", + "api_op_ListWorkgroups.go", + "api_op_PutResourcePolicy.go", + "api_op_RestoreFromRecoveryPoint.go", + "api_op_RestoreFromSnapshot.go", + "api_op_TagResource.go", + "api_op_UntagResource.go", + "api_op_UpdateEndpointAccess.go", + "api_op_UpdateNamespace.go", + "api_op_UpdateSnapshot.go", + "api_op_UpdateUsageLimit.go", + "api_op_UpdateWorkgroup.go", + "deserializers.go", + "doc.go", + "endpoints.go", + "generated.json", + "internal/endpoints/endpoints.go", + "internal/endpoints/endpoints_test.go", + "protocol_test.go", + "serializers.go", + "types/enums.go", + "types/errors.go", + "types/types.go", + "validators.go" + ], + "go": "1.15", + "module": "github.com/aws/aws-sdk-go-v2/service/redshiftserverless", + "unstable": false +} diff --git a/service/redshiftserverless/go.mod b/service/redshiftserverless/go.mod new file mode 100644 index 00000000000..9e7691b6b4f --- /dev/null +++ b/service/redshiftserverless/go.mod @@ -0,0 +1,16 @@ +module github.com/aws/aws-sdk-go-v2/service/redshiftserverless + +go 1.15 + +require ( + github.com/aws/aws-sdk-go-v2 v1.16.5 + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 + github.com/aws/smithy-go v1.12.0 +) + +replace github.com/aws/aws-sdk-go-v2 => ../../ + +replace github.com/aws/aws-sdk-go-v2/internal/configsources => ../../internal/configsources/ + +replace github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 => ../../internal/endpoints/v2/ diff --git a/service/redshiftserverless/go.sum b/service/redshiftserverless/go.sum new file mode 100644 index 00000000000..6e074bd88ad --- /dev/null +++ b/service/redshiftserverless/go.sum @@ -0,0 +1,11 @@ +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= +github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= +github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/service/redshiftserverless/go_module_metadata.go b/service/redshiftserverless/go_module_metadata.go new file mode 100644 index 00000000000..102b65f0338 --- /dev/null +++ b/service/redshiftserverless/go_module_metadata.go @@ -0,0 +1,6 @@ +// Code generated by internal/repotools/cmd/updatemodulemeta DO NOT EDIT. + +package redshiftserverless + +// goModuleVersion is the tagged release for this module +const goModuleVersion = "1.1.1" diff --git a/service/redshiftserverless/internal/endpoints/endpoints.go b/service/redshiftserverless/internal/endpoints/endpoints.go new file mode 100644 index 00000000000..c250e8b6c11 --- /dev/null +++ b/service/redshiftserverless/internal/endpoints/endpoints.go @@ -0,0 +1,285 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package endpoints + +import ( + "github.com/aws/aws-sdk-go-v2/aws" + endpoints "github.com/aws/aws-sdk-go-v2/internal/endpoints/v2" + "github.com/aws/smithy-go/logging" + "regexp" +) + +// Options is the endpoint resolver configuration options +type Options struct { + // Logger is a logging implementation that log events should be sent to. + Logger logging.Logger + + // LogDeprecated indicates that deprecated endpoints should be logged to the + // provided logger. + LogDeprecated bool + + // ResolvedRegion is used to override the region to be resolved, rather then the + // using the value passed to the ResolveEndpoint method. This value is used by the + // SDK to translate regions like fips-us-east-1 or us-east-1-fips to an alternative + // name. You must not set this value directly in your application. + ResolvedRegion string + + // DisableHTTPS informs the resolver to return an endpoint that does not use the + // HTTPS scheme. + DisableHTTPS bool + + // UseDualStackEndpoint specifies the resolver must resolve a dual-stack endpoint. + UseDualStackEndpoint aws.DualStackEndpointState + + // UseFIPSEndpoint specifies the resolver must resolve a FIPS endpoint. + UseFIPSEndpoint aws.FIPSEndpointState +} + +func (o Options) GetResolvedRegion() string { + return o.ResolvedRegion +} + +func (o Options) GetDisableHTTPS() bool { + return o.DisableHTTPS +} + +func (o Options) GetUseDualStackEndpoint() aws.DualStackEndpointState { + return o.UseDualStackEndpoint +} + +func (o Options) GetUseFIPSEndpoint() aws.FIPSEndpointState { + return o.UseFIPSEndpoint +} + +func transformToSharedOptions(options Options) endpoints.Options { + return endpoints.Options{ + Logger: options.Logger, + LogDeprecated: options.LogDeprecated, + ResolvedRegion: options.ResolvedRegion, + DisableHTTPS: options.DisableHTTPS, + UseDualStackEndpoint: options.UseDualStackEndpoint, + UseFIPSEndpoint: options.UseFIPSEndpoint, + } +} + +// Resolver Redshift Serverless endpoint resolver +type Resolver struct { + partitions endpoints.Partitions +} + +// ResolveEndpoint resolves the service endpoint for the given region and options +func (r *Resolver) ResolveEndpoint(region string, options Options) (endpoint aws.Endpoint, err error) { + if len(region) == 0 { + return endpoint, &aws.MissingRegionError{} + } + + opt := transformToSharedOptions(options) + return r.partitions.ResolveEndpoint(region, opt) +} + +// New returns a new Resolver +func New() *Resolver { + return &Resolver{ + partitions: defaultPartitions, + } +} + +var partitionRegexp = struct { + Aws *regexp.Regexp + AwsCn *regexp.Regexp + AwsIso *regexp.Regexp + AwsIsoB *regexp.Regexp + AwsUsGov *regexp.Regexp +}{ + + Aws: regexp.MustCompile("^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$"), + AwsCn: regexp.MustCompile("^cn\\-\\w+\\-\\d+$"), + AwsIso: regexp.MustCompile("^us\\-iso\\-\\w+\\-\\d+$"), + AwsIsoB: regexp.MustCompile("^us\\-isob\\-\\w+\\-\\d+$"), + AwsUsGov: regexp.MustCompile("^us\\-gov\\-\\w+\\-\\d+$"), +} + +var defaultPartitions = endpoints.Partitions{ + { + ID: "aws", + Defaults: map[endpoints.DefaultKey]endpoints.Endpoint{ + { + Variant: endpoints.DualStackVariant, + }: { + Hostname: "redshift-serverless.{region}.api.aws", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, + { + Variant: endpoints.FIPSVariant, + }: { + Hostname: "redshift-serverless-fips.{region}.amazonaws.com", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, + { + Variant: endpoints.FIPSVariant | endpoints.DualStackVariant, + }: { + Hostname: "redshift-serverless-fips.{region}.api.aws", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, + { + Variant: 0, + }: { + Hostname: "redshift-serverless.{region}.amazonaws.com", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, + }, + RegionRegex: partitionRegexp.Aws, + IsRegionalized: true, + Endpoints: endpoints.Endpoints{ + endpoints.EndpointKey{ + Region: "ap-northeast-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "ap-northeast-2", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "ap-southeast-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "ap-southeast-2", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "eu-central-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "eu-north-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "eu-west-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "eu-west-2", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "us-east-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "us-east-2", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "us-west-2", + }: endpoints.Endpoint{}, + }, + }, + { + ID: "aws-cn", + Defaults: map[endpoints.DefaultKey]endpoints.Endpoint{ + { + Variant: endpoints.DualStackVariant, + }: { + Hostname: "redshift-serverless.{region}.api.amazonwebservices.com.cn", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, + { + Variant: endpoints.FIPSVariant, + }: { + Hostname: "redshift-serverless-fips.{region}.amazonaws.com.cn", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, + { + Variant: endpoints.FIPSVariant | endpoints.DualStackVariant, + }: { + Hostname: "redshift-serverless-fips.{region}.api.amazonwebservices.com.cn", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, + { + Variant: 0, + }: { + Hostname: "redshift-serverless.{region}.amazonaws.com.cn", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, + }, + RegionRegex: partitionRegexp.AwsCn, + IsRegionalized: true, + }, + { + ID: "aws-iso", + Defaults: map[endpoints.DefaultKey]endpoints.Endpoint{ + { + Variant: endpoints.FIPSVariant, + }: { + Hostname: "redshift-serverless-fips.{region}.c2s.ic.gov", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, + { + Variant: 0, + }: { + Hostname: "redshift-serverless.{region}.c2s.ic.gov", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, + }, + RegionRegex: partitionRegexp.AwsIso, + IsRegionalized: true, + }, + { + ID: "aws-iso-b", + Defaults: map[endpoints.DefaultKey]endpoints.Endpoint{ + { + Variant: endpoints.FIPSVariant, + }: { + Hostname: "redshift-serverless-fips.{region}.sc2s.sgov.gov", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, + { + Variant: 0, + }: { + Hostname: "redshift-serverless.{region}.sc2s.sgov.gov", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, + }, + RegionRegex: partitionRegexp.AwsIsoB, + IsRegionalized: true, + }, + { + ID: "aws-us-gov", + Defaults: map[endpoints.DefaultKey]endpoints.Endpoint{ + { + Variant: endpoints.DualStackVariant, + }: { + Hostname: "redshift-serverless.{region}.api.aws", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, + { + Variant: endpoints.FIPSVariant, + }: { + Hostname: "redshift-serverless-fips.{region}.amazonaws.com", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, + { + Variant: endpoints.FIPSVariant | endpoints.DualStackVariant, + }: { + Hostname: "redshift-serverless-fips.{region}.api.aws", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, + { + Variant: 0, + }: { + Hostname: "redshift-serverless.{region}.amazonaws.com", + Protocols: []string{"https"}, + SignatureVersions: []string{"v4"}, + }, + }, + RegionRegex: partitionRegexp.AwsUsGov, + IsRegionalized: true, + }, +} diff --git a/service/redshiftserverless/internal/endpoints/endpoints_test.go b/service/redshiftserverless/internal/endpoints/endpoints_test.go new file mode 100644 index 00000000000..08e5da2d833 --- /dev/null +++ b/service/redshiftserverless/internal/endpoints/endpoints_test.go @@ -0,0 +1,11 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package endpoints + +import ( + "testing" +) + +func TestRegexCompile(t *testing.T) { + _ = defaultPartitions +} diff --git a/service/redshiftserverless/protocol_test.go b/service/redshiftserverless/protocol_test.go new file mode 100644 index 00000000000..c44376d79d0 --- /dev/null +++ b/service/redshiftserverless/protocol_test.go @@ -0,0 +1,3 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package redshiftserverless diff --git a/service/redshiftserverless/serializers.go b/service/redshiftserverless/serializers.go new file mode 100644 index 00000000000..f782eb53bfa --- /dev/null +++ b/service/redshiftserverless/serializers.go @@ -0,0 +1,3035 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package redshiftserverless + +import ( + "bytes" + "context" + "fmt" + "github.com/aws/aws-sdk-go-v2/service/redshiftserverless/types" + smithy "github.com/aws/smithy-go" + "github.com/aws/smithy-go/encoding/httpbinding" + smithyjson "github.com/aws/smithy-go/encoding/json" + "github.com/aws/smithy-go/middleware" + smithytime "github.com/aws/smithy-go/time" + smithyhttp "github.com/aws/smithy-go/transport/http" + "path" +) + +type awsAwsjson11_serializeOpConvertRecoveryPointToSnapshot struct { +} + +func (*awsAwsjson11_serializeOpConvertRecoveryPointToSnapshot) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsjson11_serializeOpConvertRecoveryPointToSnapshot) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*ConvertRecoveryPointToSnapshotInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1") + httpBindingEncoder.SetHeader("X-Amz-Target").String("RedshiftServerless.ConvertRecoveryPointToSnapshot") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsAwsjson11_serializeOpDocumentConvertRecoveryPointToSnapshotInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} + +type awsAwsjson11_serializeOpCreateEndpointAccess struct { +} + +func (*awsAwsjson11_serializeOpCreateEndpointAccess) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsjson11_serializeOpCreateEndpointAccess) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*CreateEndpointAccessInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1") + httpBindingEncoder.SetHeader("X-Amz-Target").String("RedshiftServerless.CreateEndpointAccess") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsAwsjson11_serializeOpDocumentCreateEndpointAccessInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} + +type awsAwsjson11_serializeOpCreateNamespace struct { +} + +func (*awsAwsjson11_serializeOpCreateNamespace) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsjson11_serializeOpCreateNamespace) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*CreateNamespaceInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1") + httpBindingEncoder.SetHeader("X-Amz-Target").String("RedshiftServerless.CreateNamespace") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsAwsjson11_serializeOpDocumentCreateNamespaceInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} + +type awsAwsjson11_serializeOpCreateSnapshot struct { +} + +func (*awsAwsjson11_serializeOpCreateSnapshot) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsjson11_serializeOpCreateSnapshot) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*CreateSnapshotInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1") + httpBindingEncoder.SetHeader("X-Amz-Target").String("RedshiftServerless.CreateSnapshot") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsAwsjson11_serializeOpDocumentCreateSnapshotInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} + +type awsAwsjson11_serializeOpCreateUsageLimit struct { +} + +func (*awsAwsjson11_serializeOpCreateUsageLimit) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsjson11_serializeOpCreateUsageLimit) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*CreateUsageLimitInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1") + httpBindingEncoder.SetHeader("X-Amz-Target").String("RedshiftServerless.CreateUsageLimit") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsAwsjson11_serializeOpDocumentCreateUsageLimitInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} + +type awsAwsjson11_serializeOpCreateWorkgroup struct { +} + +func (*awsAwsjson11_serializeOpCreateWorkgroup) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsjson11_serializeOpCreateWorkgroup) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*CreateWorkgroupInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1") + httpBindingEncoder.SetHeader("X-Amz-Target").String("RedshiftServerless.CreateWorkgroup") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsAwsjson11_serializeOpDocumentCreateWorkgroupInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} + +type awsAwsjson11_serializeOpDeleteEndpointAccess struct { +} + +func (*awsAwsjson11_serializeOpDeleteEndpointAccess) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsjson11_serializeOpDeleteEndpointAccess) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*DeleteEndpointAccessInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1") + httpBindingEncoder.SetHeader("X-Amz-Target").String("RedshiftServerless.DeleteEndpointAccess") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsAwsjson11_serializeOpDocumentDeleteEndpointAccessInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} + +type awsAwsjson11_serializeOpDeleteNamespace struct { +} + +func (*awsAwsjson11_serializeOpDeleteNamespace) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsjson11_serializeOpDeleteNamespace) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*DeleteNamespaceInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1") + httpBindingEncoder.SetHeader("X-Amz-Target").String("RedshiftServerless.DeleteNamespace") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsAwsjson11_serializeOpDocumentDeleteNamespaceInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} + +type awsAwsjson11_serializeOpDeleteResourcePolicy struct { +} + +func (*awsAwsjson11_serializeOpDeleteResourcePolicy) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsjson11_serializeOpDeleteResourcePolicy) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*DeleteResourcePolicyInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1") + httpBindingEncoder.SetHeader("X-Amz-Target").String("RedshiftServerless.DeleteResourcePolicy") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsAwsjson11_serializeOpDocumentDeleteResourcePolicyInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} + +type awsAwsjson11_serializeOpDeleteSnapshot struct { +} + +func (*awsAwsjson11_serializeOpDeleteSnapshot) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsjson11_serializeOpDeleteSnapshot) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*DeleteSnapshotInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1") + httpBindingEncoder.SetHeader("X-Amz-Target").String("RedshiftServerless.DeleteSnapshot") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsAwsjson11_serializeOpDocumentDeleteSnapshotInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} + +type awsAwsjson11_serializeOpDeleteUsageLimit struct { +} + +func (*awsAwsjson11_serializeOpDeleteUsageLimit) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsjson11_serializeOpDeleteUsageLimit) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*DeleteUsageLimitInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1") + httpBindingEncoder.SetHeader("X-Amz-Target").String("RedshiftServerless.DeleteUsageLimit") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsAwsjson11_serializeOpDocumentDeleteUsageLimitInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} + +type awsAwsjson11_serializeOpDeleteWorkgroup struct { +} + +func (*awsAwsjson11_serializeOpDeleteWorkgroup) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsjson11_serializeOpDeleteWorkgroup) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*DeleteWorkgroupInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1") + httpBindingEncoder.SetHeader("X-Amz-Target").String("RedshiftServerless.DeleteWorkgroup") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsAwsjson11_serializeOpDocumentDeleteWorkgroupInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} + +type awsAwsjson11_serializeOpGetCredentials struct { +} + +func (*awsAwsjson11_serializeOpGetCredentials) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsjson11_serializeOpGetCredentials) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*GetCredentialsInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1") + httpBindingEncoder.SetHeader("X-Amz-Target").String("RedshiftServerless.GetCredentials") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsAwsjson11_serializeOpDocumentGetCredentialsInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} + +type awsAwsjson11_serializeOpGetEndpointAccess struct { +} + +func (*awsAwsjson11_serializeOpGetEndpointAccess) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsjson11_serializeOpGetEndpointAccess) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*GetEndpointAccessInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1") + httpBindingEncoder.SetHeader("X-Amz-Target").String("RedshiftServerless.GetEndpointAccess") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsAwsjson11_serializeOpDocumentGetEndpointAccessInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} + +type awsAwsjson11_serializeOpGetNamespace struct { +} + +func (*awsAwsjson11_serializeOpGetNamespace) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsjson11_serializeOpGetNamespace) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*GetNamespaceInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1") + httpBindingEncoder.SetHeader("X-Amz-Target").String("RedshiftServerless.GetNamespace") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsAwsjson11_serializeOpDocumentGetNamespaceInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} + +type awsAwsjson11_serializeOpGetRecoveryPoint struct { +} + +func (*awsAwsjson11_serializeOpGetRecoveryPoint) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsjson11_serializeOpGetRecoveryPoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*GetRecoveryPointInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1") + httpBindingEncoder.SetHeader("X-Amz-Target").String("RedshiftServerless.GetRecoveryPoint") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsAwsjson11_serializeOpDocumentGetRecoveryPointInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} + +type awsAwsjson11_serializeOpGetResourcePolicy struct { +} + +func (*awsAwsjson11_serializeOpGetResourcePolicy) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsjson11_serializeOpGetResourcePolicy) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*GetResourcePolicyInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1") + httpBindingEncoder.SetHeader("X-Amz-Target").String("RedshiftServerless.GetResourcePolicy") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsAwsjson11_serializeOpDocumentGetResourcePolicyInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} + +type awsAwsjson11_serializeOpGetSnapshot struct { +} + +func (*awsAwsjson11_serializeOpGetSnapshot) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsjson11_serializeOpGetSnapshot) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*GetSnapshotInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1") + httpBindingEncoder.SetHeader("X-Amz-Target").String("RedshiftServerless.GetSnapshot") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsAwsjson11_serializeOpDocumentGetSnapshotInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} + +type awsAwsjson11_serializeOpGetUsageLimit struct { +} + +func (*awsAwsjson11_serializeOpGetUsageLimit) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsjson11_serializeOpGetUsageLimit) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*GetUsageLimitInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1") + httpBindingEncoder.SetHeader("X-Amz-Target").String("RedshiftServerless.GetUsageLimit") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsAwsjson11_serializeOpDocumentGetUsageLimitInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} + +type awsAwsjson11_serializeOpGetWorkgroup struct { +} + +func (*awsAwsjson11_serializeOpGetWorkgroup) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsjson11_serializeOpGetWorkgroup) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*GetWorkgroupInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1") + httpBindingEncoder.SetHeader("X-Amz-Target").String("RedshiftServerless.GetWorkgroup") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsAwsjson11_serializeOpDocumentGetWorkgroupInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} + +type awsAwsjson11_serializeOpListEndpointAccess struct { +} + +func (*awsAwsjson11_serializeOpListEndpointAccess) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsjson11_serializeOpListEndpointAccess) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*ListEndpointAccessInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1") + httpBindingEncoder.SetHeader("X-Amz-Target").String("RedshiftServerless.ListEndpointAccess") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsAwsjson11_serializeOpDocumentListEndpointAccessInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} + +type awsAwsjson11_serializeOpListNamespaces struct { +} + +func (*awsAwsjson11_serializeOpListNamespaces) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsjson11_serializeOpListNamespaces) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*ListNamespacesInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1") + httpBindingEncoder.SetHeader("X-Amz-Target").String("RedshiftServerless.ListNamespaces") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsAwsjson11_serializeOpDocumentListNamespacesInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} + +type awsAwsjson11_serializeOpListRecoveryPoints struct { +} + +func (*awsAwsjson11_serializeOpListRecoveryPoints) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsjson11_serializeOpListRecoveryPoints) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*ListRecoveryPointsInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1") + httpBindingEncoder.SetHeader("X-Amz-Target").String("RedshiftServerless.ListRecoveryPoints") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsAwsjson11_serializeOpDocumentListRecoveryPointsInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} + +type awsAwsjson11_serializeOpListSnapshots struct { +} + +func (*awsAwsjson11_serializeOpListSnapshots) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsjson11_serializeOpListSnapshots) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*ListSnapshotsInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1") + httpBindingEncoder.SetHeader("X-Amz-Target").String("RedshiftServerless.ListSnapshots") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsAwsjson11_serializeOpDocumentListSnapshotsInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} + +type awsAwsjson11_serializeOpListTagsForResource struct { +} + +func (*awsAwsjson11_serializeOpListTagsForResource) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsjson11_serializeOpListTagsForResource) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*ListTagsForResourceInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1") + httpBindingEncoder.SetHeader("X-Amz-Target").String("RedshiftServerless.ListTagsForResource") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsAwsjson11_serializeOpDocumentListTagsForResourceInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} + +type awsAwsjson11_serializeOpListUsageLimits struct { +} + +func (*awsAwsjson11_serializeOpListUsageLimits) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsjson11_serializeOpListUsageLimits) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*ListUsageLimitsInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1") + httpBindingEncoder.SetHeader("X-Amz-Target").String("RedshiftServerless.ListUsageLimits") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsAwsjson11_serializeOpDocumentListUsageLimitsInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} + +type awsAwsjson11_serializeOpListWorkgroups struct { +} + +func (*awsAwsjson11_serializeOpListWorkgroups) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsjson11_serializeOpListWorkgroups) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*ListWorkgroupsInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1") + httpBindingEncoder.SetHeader("X-Amz-Target").String("RedshiftServerless.ListWorkgroups") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsAwsjson11_serializeOpDocumentListWorkgroupsInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} + +type awsAwsjson11_serializeOpPutResourcePolicy struct { +} + +func (*awsAwsjson11_serializeOpPutResourcePolicy) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsjson11_serializeOpPutResourcePolicy) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*PutResourcePolicyInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1") + httpBindingEncoder.SetHeader("X-Amz-Target").String("RedshiftServerless.PutResourcePolicy") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsAwsjson11_serializeOpDocumentPutResourcePolicyInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} + +type awsAwsjson11_serializeOpRestoreFromRecoveryPoint struct { +} + +func (*awsAwsjson11_serializeOpRestoreFromRecoveryPoint) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsjson11_serializeOpRestoreFromRecoveryPoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*RestoreFromRecoveryPointInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1") + httpBindingEncoder.SetHeader("X-Amz-Target").String("RedshiftServerless.RestoreFromRecoveryPoint") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsAwsjson11_serializeOpDocumentRestoreFromRecoveryPointInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} + +type awsAwsjson11_serializeOpRestoreFromSnapshot struct { +} + +func (*awsAwsjson11_serializeOpRestoreFromSnapshot) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsjson11_serializeOpRestoreFromSnapshot) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*RestoreFromSnapshotInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1") + httpBindingEncoder.SetHeader("X-Amz-Target").String("RedshiftServerless.RestoreFromSnapshot") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsAwsjson11_serializeOpDocumentRestoreFromSnapshotInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} + +type awsAwsjson11_serializeOpTagResource struct { +} + +func (*awsAwsjson11_serializeOpTagResource) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsjson11_serializeOpTagResource) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*TagResourceInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1") + httpBindingEncoder.SetHeader("X-Amz-Target").String("RedshiftServerless.TagResource") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsAwsjson11_serializeOpDocumentTagResourceInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} + +type awsAwsjson11_serializeOpUntagResource struct { +} + +func (*awsAwsjson11_serializeOpUntagResource) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsjson11_serializeOpUntagResource) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*UntagResourceInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1") + httpBindingEncoder.SetHeader("X-Amz-Target").String("RedshiftServerless.UntagResource") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsAwsjson11_serializeOpDocumentUntagResourceInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} + +type awsAwsjson11_serializeOpUpdateEndpointAccess struct { +} + +func (*awsAwsjson11_serializeOpUpdateEndpointAccess) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsjson11_serializeOpUpdateEndpointAccess) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*UpdateEndpointAccessInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1") + httpBindingEncoder.SetHeader("X-Amz-Target").String("RedshiftServerless.UpdateEndpointAccess") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsAwsjson11_serializeOpDocumentUpdateEndpointAccessInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} + +type awsAwsjson11_serializeOpUpdateNamespace struct { +} + +func (*awsAwsjson11_serializeOpUpdateNamespace) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsjson11_serializeOpUpdateNamespace) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*UpdateNamespaceInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1") + httpBindingEncoder.SetHeader("X-Amz-Target").String("RedshiftServerless.UpdateNamespace") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsAwsjson11_serializeOpDocumentUpdateNamespaceInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} + +type awsAwsjson11_serializeOpUpdateSnapshot struct { +} + +func (*awsAwsjson11_serializeOpUpdateSnapshot) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsjson11_serializeOpUpdateSnapshot) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*UpdateSnapshotInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1") + httpBindingEncoder.SetHeader("X-Amz-Target").String("RedshiftServerless.UpdateSnapshot") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsAwsjson11_serializeOpDocumentUpdateSnapshotInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} + +type awsAwsjson11_serializeOpUpdateUsageLimit struct { +} + +func (*awsAwsjson11_serializeOpUpdateUsageLimit) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsjson11_serializeOpUpdateUsageLimit) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*UpdateUsageLimitInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1") + httpBindingEncoder.SetHeader("X-Amz-Target").String("RedshiftServerless.UpdateUsageLimit") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsAwsjson11_serializeOpDocumentUpdateUsageLimitInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} + +type awsAwsjson11_serializeOpUpdateWorkgroup struct { +} + +func (*awsAwsjson11_serializeOpUpdateWorkgroup) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsjson11_serializeOpUpdateWorkgroup) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*UpdateWorkgroupInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1") + httpBindingEncoder.SetHeader("X-Amz-Target").String("RedshiftServerless.UpdateWorkgroup") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsAwsjson11_serializeOpDocumentUpdateWorkgroupInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} +func awsAwsjson11_serializeDocumentConfigParameter(v *types.ConfigParameter, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.ParameterKey != nil { + ok := object.Key("parameterKey") + ok.String(*v.ParameterKey) + } + + if v.ParameterValue != nil { + ok := object.Key("parameterValue") + ok.String(*v.ParameterValue) + } + + return nil +} + +func awsAwsjson11_serializeDocumentConfigParameterList(v []types.ConfigParameter, value smithyjson.Value) error { + array := value.Array() + defer array.Close() + + for i := range v { + av := array.Value() + if err := awsAwsjson11_serializeDocumentConfigParameter(&v[i], av); err != nil { + return err + } + } + return nil +} + +func awsAwsjson11_serializeDocumentIamRoleArnList(v []string, value smithyjson.Value) error { + array := value.Array() + defer array.Close() + + for i := range v { + av := array.Value() + av.String(v[i]) + } + return nil +} + +func awsAwsjson11_serializeDocumentLogExportList(v []types.LogExport, value smithyjson.Value) error { + array := value.Array() + defer array.Close() + + for i := range v { + av := array.Value() + av.String(string(v[i])) + } + return nil +} + +func awsAwsjson11_serializeDocumentSecurityGroupIdList(v []string, value smithyjson.Value) error { + array := value.Array() + defer array.Close() + + for i := range v { + av := array.Value() + av.String(v[i]) + } + return nil +} + +func awsAwsjson11_serializeDocumentSubnetIdList(v []string, value smithyjson.Value) error { + array := value.Array() + defer array.Close() + + for i := range v { + av := array.Value() + av.String(v[i]) + } + return nil +} + +func awsAwsjson11_serializeDocumentTag(v *types.Tag, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.Key != nil { + ok := object.Key("key") + ok.String(*v.Key) + } + + if v.Value != nil { + ok := object.Key("value") + ok.String(*v.Value) + } + + return nil +} + +func awsAwsjson11_serializeDocumentTagKeyList(v []string, value smithyjson.Value) error { + array := value.Array() + defer array.Close() + + for i := range v { + av := array.Value() + av.String(v[i]) + } + return nil +} + +func awsAwsjson11_serializeDocumentTagList(v []types.Tag, value smithyjson.Value) error { + array := value.Array() + defer array.Close() + + for i := range v { + av := array.Value() + if err := awsAwsjson11_serializeDocumentTag(&v[i], av); err != nil { + return err + } + } + return nil +} + +func awsAwsjson11_serializeDocumentVpcSecurityGroupIdList(v []string, value smithyjson.Value) error { + array := value.Array() + defer array.Close() + + for i := range v { + av := array.Value() + av.String(v[i]) + } + return nil +} + +func awsAwsjson11_serializeOpDocumentConvertRecoveryPointToSnapshotInput(v *ConvertRecoveryPointToSnapshotInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.RecoveryPointId != nil { + ok := object.Key("recoveryPointId") + ok.String(*v.RecoveryPointId) + } + + if v.RetentionPeriod != nil { + ok := object.Key("retentionPeriod") + ok.Integer(*v.RetentionPeriod) + } + + if v.SnapshotName != nil { + ok := object.Key("snapshotName") + ok.String(*v.SnapshotName) + } + + return nil +} + +func awsAwsjson11_serializeOpDocumentCreateEndpointAccessInput(v *CreateEndpointAccessInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.EndpointName != nil { + ok := object.Key("endpointName") + ok.String(*v.EndpointName) + } + + if v.SubnetIds != nil { + ok := object.Key("subnetIds") + if err := awsAwsjson11_serializeDocumentSubnetIdList(v.SubnetIds, ok); err != nil { + return err + } + } + + if v.VpcSecurityGroupIds != nil { + ok := object.Key("vpcSecurityGroupIds") + if err := awsAwsjson11_serializeDocumentVpcSecurityGroupIdList(v.VpcSecurityGroupIds, ok); err != nil { + return err + } + } + + if v.WorkgroupName != nil { + ok := object.Key("workgroupName") + ok.String(*v.WorkgroupName) + } + + return nil +} + +func awsAwsjson11_serializeOpDocumentCreateNamespaceInput(v *CreateNamespaceInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.AdminUsername != nil { + ok := object.Key("adminUsername") + ok.String(*v.AdminUsername) + } + + if v.AdminUserPassword != nil { + ok := object.Key("adminUserPassword") + ok.String(*v.AdminUserPassword) + } + + if v.DbName != nil { + ok := object.Key("dbName") + ok.String(*v.DbName) + } + + if v.DefaultIamRoleArn != nil { + ok := object.Key("defaultIamRoleArn") + ok.String(*v.DefaultIamRoleArn) + } + + if v.IamRoles != nil { + ok := object.Key("iamRoles") + if err := awsAwsjson11_serializeDocumentIamRoleArnList(v.IamRoles, ok); err != nil { + return err + } + } + + if v.KmsKeyId != nil { + ok := object.Key("kmsKeyId") + ok.String(*v.KmsKeyId) + } + + if v.LogExports != nil { + ok := object.Key("logExports") + if err := awsAwsjson11_serializeDocumentLogExportList(v.LogExports, ok); err != nil { + return err + } + } + + if v.NamespaceName != nil { + ok := object.Key("namespaceName") + ok.String(*v.NamespaceName) + } + + if v.Tags != nil { + ok := object.Key("tags") + if err := awsAwsjson11_serializeDocumentTagList(v.Tags, ok); err != nil { + return err + } + } + + return nil +} + +func awsAwsjson11_serializeOpDocumentCreateSnapshotInput(v *CreateSnapshotInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.NamespaceName != nil { + ok := object.Key("namespaceName") + ok.String(*v.NamespaceName) + } + + if v.RetentionPeriod != nil { + ok := object.Key("retentionPeriod") + ok.Integer(*v.RetentionPeriod) + } + + if v.SnapshotName != nil { + ok := object.Key("snapshotName") + ok.String(*v.SnapshotName) + } + + return nil +} + +func awsAwsjson11_serializeOpDocumentCreateUsageLimitInput(v *CreateUsageLimitInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.Amount != nil { + ok := object.Key("amount") + ok.Long(*v.Amount) + } + + if len(v.BreachAction) > 0 { + ok := object.Key("breachAction") + ok.String(string(v.BreachAction)) + } + + if len(v.Period) > 0 { + ok := object.Key("period") + ok.String(string(v.Period)) + } + + if v.ResourceArn != nil { + ok := object.Key("resourceArn") + ok.String(*v.ResourceArn) + } + + if len(v.UsageType) > 0 { + ok := object.Key("usageType") + ok.String(string(v.UsageType)) + } + + return nil +} + +func awsAwsjson11_serializeOpDocumentCreateWorkgroupInput(v *CreateWorkgroupInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.BaseCapacity != nil { + ok := object.Key("baseCapacity") + ok.Integer(*v.BaseCapacity) + } + + if v.ConfigParameters != nil { + ok := object.Key("configParameters") + if err := awsAwsjson11_serializeDocumentConfigParameterList(v.ConfigParameters, ok); err != nil { + return err + } + } + + if v.EnhancedVpcRouting != nil { + ok := object.Key("enhancedVpcRouting") + ok.Boolean(*v.EnhancedVpcRouting) + } + + if v.NamespaceName != nil { + ok := object.Key("namespaceName") + ok.String(*v.NamespaceName) + } + + if v.PubliclyAccessible != nil { + ok := object.Key("publiclyAccessible") + ok.Boolean(*v.PubliclyAccessible) + } + + if v.SecurityGroupIds != nil { + ok := object.Key("securityGroupIds") + if err := awsAwsjson11_serializeDocumentSecurityGroupIdList(v.SecurityGroupIds, ok); err != nil { + return err + } + } + + if v.SubnetIds != nil { + ok := object.Key("subnetIds") + if err := awsAwsjson11_serializeDocumentSubnetIdList(v.SubnetIds, ok); err != nil { + return err + } + } + + if v.Tags != nil { + ok := object.Key("tags") + if err := awsAwsjson11_serializeDocumentTagList(v.Tags, ok); err != nil { + return err + } + } + + if v.WorkgroupName != nil { + ok := object.Key("workgroupName") + ok.String(*v.WorkgroupName) + } + + return nil +} + +func awsAwsjson11_serializeOpDocumentDeleteEndpointAccessInput(v *DeleteEndpointAccessInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.EndpointName != nil { + ok := object.Key("endpointName") + ok.String(*v.EndpointName) + } + + return nil +} + +func awsAwsjson11_serializeOpDocumentDeleteNamespaceInput(v *DeleteNamespaceInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.FinalSnapshotName != nil { + ok := object.Key("finalSnapshotName") + ok.String(*v.FinalSnapshotName) + } + + if v.FinalSnapshotRetentionPeriod != nil { + ok := object.Key("finalSnapshotRetentionPeriod") + ok.Integer(*v.FinalSnapshotRetentionPeriod) + } + + if v.NamespaceName != nil { + ok := object.Key("namespaceName") + ok.String(*v.NamespaceName) + } + + return nil +} + +func awsAwsjson11_serializeOpDocumentDeleteResourcePolicyInput(v *DeleteResourcePolicyInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.ResourceArn != nil { + ok := object.Key("resourceArn") + ok.String(*v.ResourceArn) + } + + return nil +} + +func awsAwsjson11_serializeOpDocumentDeleteSnapshotInput(v *DeleteSnapshotInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.SnapshotName != nil { + ok := object.Key("snapshotName") + ok.String(*v.SnapshotName) + } + + return nil +} + +func awsAwsjson11_serializeOpDocumentDeleteUsageLimitInput(v *DeleteUsageLimitInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.UsageLimitId != nil { + ok := object.Key("usageLimitId") + ok.String(*v.UsageLimitId) + } + + return nil +} + +func awsAwsjson11_serializeOpDocumentDeleteWorkgroupInput(v *DeleteWorkgroupInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.WorkgroupName != nil { + ok := object.Key("workgroupName") + ok.String(*v.WorkgroupName) + } + + return nil +} + +func awsAwsjson11_serializeOpDocumentGetCredentialsInput(v *GetCredentialsInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.DbName != nil { + ok := object.Key("dbName") + ok.String(*v.DbName) + } + + if v.DurationSeconds != nil { + ok := object.Key("durationSeconds") + ok.Integer(*v.DurationSeconds) + } + + if v.WorkgroupName != nil { + ok := object.Key("workgroupName") + ok.String(*v.WorkgroupName) + } + + return nil +} + +func awsAwsjson11_serializeOpDocumentGetEndpointAccessInput(v *GetEndpointAccessInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.EndpointName != nil { + ok := object.Key("endpointName") + ok.String(*v.EndpointName) + } + + return nil +} + +func awsAwsjson11_serializeOpDocumentGetNamespaceInput(v *GetNamespaceInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.NamespaceName != nil { + ok := object.Key("namespaceName") + ok.String(*v.NamespaceName) + } + + return nil +} + +func awsAwsjson11_serializeOpDocumentGetRecoveryPointInput(v *GetRecoveryPointInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.RecoveryPointId != nil { + ok := object.Key("recoveryPointId") + ok.String(*v.RecoveryPointId) + } + + return nil +} + +func awsAwsjson11_serializeOpDocumentGetResourcePolicyInput(v *GetResourcePolicyInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.ResourceArn != nil { + ok := object.Key("resourceArn") + ok.String(*v.ResourceArn) + } + + return nil +} + +func awsAwsjson11_serializeOpDocumentGetSnapshotInput(v *GetSnapshotInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.OwnerAccount != nil { + ok := object.Key("ownerAccount") + ok.String(*v.OwnerAccount) + } + + if v.SnapshotArn != nil { + ok := object.Key("snapshotArn") + ok.String(*v.SnapshotArn) + } + + if v.SnapshotName != nil { + ok := object.Key("snapshotName") + ok.String(*v.SnapshotName) + } + + return nil +} + +func awsAwsjson11_serializeOpDocumentGetUsageLimitInput(v *GetUsageLimitInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.UsageLimitId != nil { + ok := object.Key("usageLimitId") + ok.String(*v.UsageLimitId) + } + + return nil +} + +func awsAwsjson11_serializeOpDocumentGetWorkgroupInput(v *GetWorkgroupInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.WorkgroupName != nil { + ok := object.Key("workgroupName") + ok.String(*v.WorkgroupName) + } + + return nil +} + +func awsAwsjson11_serializeOpDocumentListEndpointAccessInput(v *ListEndpointAccessInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.MaxResults != nil { + ok := object.Key("maxResults") + ok.Integer(*v.MaxResults) + } + + if v.NextToken != nil { + ok := object.Key("nextToken") + ok.String(*v.NextToken) + } + + if v.VpcId != nil { + ok := object.Key("vpcId") + ok.String(*v.VpcId) + } + + if v.WorkgroupName != nil { + ok := object.Key("workgroupName") + ok.String(*v.WorkgroupName) + } + + return nil +} + +func awsAwsjson11_serializeOpDocumentListNamespacesInput(v *ListNamespacesInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.MaxResults != nil { + ok := object.Key("maxResults") + ok.Integer(*v.MaxResults) + } + + if v.NextToken != nil { + ok := object.Key("nextToken") + ok.String(*v.NextToken) + } + + return nil +} + +func awsAwsjson11_serializeOpDocumentListRecoveryPointsInput(v *ListRecoveryPointsInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.EndTime != nil { + ok := object.Key("endTime") + ok.Double(smithytime.FormatEpochSeconds(*v.EndTime)) + } + + if v.MaxResults != nil { + ok := object.Key("maxResults") + ok.Integer(*v.MaxResults) + } + + if v.NamespaceName != nil { + ok := object.Key("namespaceName") + ok.String(*v.NamespaceName) + } + + if v.NextToken != nil { + ok := object.Key("nextToken") + ok.String(*v.NextToken) + } + + if v.StartTime != nil { + ok := object.Key("startTime") + ok.Double(smithytime.FormatEpochSeconds(*v.StartTime)) + } + + return nil +} + +func awsAwsjson11_serializeOpDocumentListSnapshotsInput(v *ListSnapshotsInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.EndTime != nil { + ok := object.Key("endTime") + ok.Double(smithytime.FormatEpochSeconds(*v.EndTime)) + } + + if v.MaxResults != nil { + ok := object.Key("maxResults") + ok.Integer(*v.MaxResults) + } + + if v.NamespaceArn != nil { + ok := object.Key("namespaceArn") + ok.String(*v.NamespaceArn) + } + + if v.NamespaceName != nil { + ok := object.Key("namespaceName") + ok.String(*v.NamespaceName) + } + + if v.NextToken != nil { + ok := object.Key("nextToken") + ok.String(*v.NextToken) + } + + if v.OwnerAccount != nil { + ok := object.Key("ownerAccount") + ok.String(*v.OwnerAccount) + } + + if v.StartTime != nil { + ok := object.Key("startTime") + ok.Double(smithytime.FormatEpochSeconds(*v.StartTime)) + } + + return nil +} + +func awsAwsjson11_serializeOpDocumentListTagsForResourceInput(v *ListTagsForResourceInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.ResourceArn != nil { + ok := object.Key("resourceArn") + ok.String(*v.ResourceArn) + } + + return nil +} + +func awsAwsjson11_serializeOpDocumentListUsageLimitsInput(v *ListUsageLimitsInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.MaxResults != nil { + ok := object.Key("maxResults") + ok.Integer(*v.MaxResults) + } + + if v.NextToken != nil { + ok := object.Key("nextToken") + ok.String(*v.NextToken) + } + + if v.ResourceArn != nil { + ok := object.Key("resourceArn") + ok.String(*v.ResourceArn) + } + + if len(v.UsageType) > 0 { + ok := object.Key("usageType") + ok.String(string(v.UsageType)) + } + + return nil +} + +func awsAwsjson11_serializeOpDocumentListWorkgroupsInput(v *ListWorkgroupsInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.MaxResults != nil { + ok := object.Key("maxResults") + ok.Integer(*v.MaxResults) + } + + if v.NextToken != nil { + ok := object.Key("nextToken") + ok.String(*v.NextToken) + } + + return nil +} + +func awsAwsjson11_serializeOpDocumentPutResourcePolicyInput(v *PutResourcePolicyInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.Policy != nil { + ok := object.Key("policy") + ok.String(*v.Policy) + } + + if v.ResourceArn != nil { + ok := object.Key("resourceArn") + ok.String(*v.ResourceArn) + } + + return nil +} + +func awsAwsjson11_serializeOpDocumentRestoreFromRecoveryPointInput(v *RestoreFromRecoveryPointInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.NamespaceName != nil { + ok := object.Key("namespaceName") + ok.String(*v.NamespaceName) + } + + if v.RecoveryPointId != nil { + ok := object.Key("recoveryPointId") + ok.String(*v.RecoveryPointId) + } + + if v.WorkgroupName != nil { + ok := object.Key("workgroupName") + ok.String(*v.WorkgroupName) + } + + return nil +} + +func awsAwsjson11_serializeOpDocumentRestoreFromSnapshotInput(v *RestoreFromSnapshotInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.NamespaceName != nil { + ok := object.Key("namespaceName") + ok.String(*v.NamespaceName) + } + + if v.OwnerAccount != nil { + ok := object.Key("ownerAccount") + ok.String(*v.OwnerAccount) + } + + if v.SnapshotArn != nil { + ok := object.Key("snapshotArn") + ok.String(*v.SnapshotArn) + } + + if v.SnapshotName != nil { + ok := object.Key("snapshotName") + ok.String(*v.SnapshotName) + } + + if v.WorkgroupName != nil { + ok := object.Key("workgroupName") + ok.String(*v.WorkgroupName) + } + + return nil +} + +func awsAwsjson11_serializeOpDocumentTagResourceInput(v *TagResourceInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.ResourceArn != nil { + ok := object.Key("resourceArn") + ok.String(*v.ResourceArn) + } + + if v.Tags != nil { + ok := object.Key("tags") + if err := awsAwsjson11_serializeDocumentTagList(v.Tags, ok); err != nil { + return err + } + } + + return nil +} + +func awsAwsjson11_serializeOpDocumentUntagResourceInput(v *UntagResourceInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.ResourceArn != nil { + ok := object.Key("resourceArn") + ok.String(*v.ResourceArn) + } + + if v.TagKeys != nil { + ok := object.Key("tagKeys") + if err := awsAwsjson11_serializeDocumentTagKeyList(v.TagKeys, ok); err != nil { + return err + } + } + + return nil +} + +func awsAwsjson11_serializeOpDocumentUpdateEndpointAccessInput(v *UpdateEndpointAccessInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.EndpointName != nil { + ok := object.Key("endpointName") + ok.String(*v.EndpointName) + } + + if v.VpcSecurityGroupIds != nil { + ok := object.Key("vpcSecurityGroupIds") + if err := awsAwsjson11_serializeDocumentVpcSecurityGroupIdList(v.VpcSecurityGroupIds, ok); err != nil { + return err + } + } + + return nil +} + +func awsAwsjson11_serializeOpDocumentUpdateNamespaceInput(v *UpdateNamespaceInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.AdminUsername != nil { + ok := object.Key("adminUsername") + ok.String(*v.AdminUsername) + } + + if v.AdminUserPassword != nil { + ok := object.Key("adminUserPassword") + ok.String(*v.AdminUserPassword) + } + + if v.DefaultIamRoleArn != nil { + ok := object.Key("defaultIamRoleArn") + ok.String(*v.DefaultIamRoleArn) + } + + if v.IamRoles != nil { + ok := object.Key("iamRoles") + if err := awsAwsjson11_serializeDocumentIamRoleArnList(v.IamRoles, ok); err != nil { + return err + } + } + + if v.KmsKeyId != nil { + ok := object.Key("kmsKeyId") + ok.String(*v.KmsKeyId) + } + + if v.LogExports != nil { + ok := object.Key("logExports") + if err := awsAwsjson11_serializeDocumentLogExportList(v.LogExports, ok); err != nil { + return err + } + } + + if v.NamespaceName != nil { + ok := object.Key("namespaceName") + ok.String(*v.NamespaceName) + } + + return nil +} + +func awsAwsjson11_serializeOpDocumentUpdateSnapshotInput(v *UpdateSnapshotInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.RetentionPeriod != nil { + ok := object.Key("retentionPeriod") + ok.Integer(*v.RetentionPeriod) + } + + if v.SnapshotName != nil { + ok := object.Key("snapshotName") + ok.String(*v.SnapshotName) + } + + return nil +} + +func awsAwsjson11_serializeOpDocumentUpdateUsageLimitInput(v *UpdateUsageLimitInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.Amount != nil { + ok := object.Key("amount") + ok.Long(*v.Amount) + } + + if len(v.BreachAction) > 0 { + ok := object.Key("breachAction") + ok.String(string(v.BreachAction)) + } + + if v.UsageLimitId != nil { + ok := object.Key("usageLimitId") + ok.String(*v.UsageLimitId) + } + + return nil +} + +func awsAwsjson11_serializeOpDocumentUpdateWorkgroupInput(v *UpdateWorkgroupInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.BaseCapacity != nil { + ok := object.Key("baseCapacity") + ok.Integer(*v.BaseCapacity) + } + + if v.ConfigParameters != nil { + ok := object.Key("configParameters") + if err := awsAwsjson11_serializeDocumentConfigParameterList(v.ConfigParameters, ok); err != nil { + return err + } + } + + if v.EnhancedVpcRouting != nil { + ok := object.Key("enhancedVpcRouting") + ok.Boolean(*v.EnhancedVpcRouting) + } + + if v.PubliclyAccessible != nil { + ok := object.Key("publiclyAccessible") + ok.Boolean(*v.PubliclyAccessible) + } + + if v.SecurityGroupIds != nil { + ok := object.Key("securityGroupIds") + if err := awsAwsjson11_serializeDocumentSecurityGroupIdList(v.SecurityGroupIds, ok); err != nil { + return err + } + } + + if v.SubnetIds != nil { + ok := object.Key("subnetIds") + if err := awsAwsjson11_serializeDocumentSubnetIdList(v.SubnetIds, ok); err != nil { + return err + } + } + + if v.WorkgroupName != nil { + ok := object.Key("workgroupName") + ok.String(*v.WorkgroupName) + } + + return nil +} diff --git a/service/redshiftserverless/types/enums.go b/service/redshiftserverless/types/enums.go new file mode 100644 index 00000000000..472c4aacc85 --- /dev/null +++ b/service/redshiftserverless/types/enums.go @@ -0,0 +1,149 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package types + +type LogExport string + +// Enum values for LogExport +const ( + LogExportUserActivityLog LogExport = "useractivitylog" + LogExportUserLog LogExport = "userlog" + LogExportConnectionLog LogExport = "connectionlog" +) + +// Values returns all known values for LogExport. Note that this can be expanded in +// the future, and so it is only as up to date as the client. The ordering of this +// slice is not guaranteed to be stable across updates. +func (LogExport) Values() []LogExport { + return []LogExport{ + "useractivitylog", + "userlog", + "connectionlog", + } +} + +type NamespaceStatus string + +// Enum values for NamespaceStatus +const ( + NamespaceStatusAvailable NamespaceStatus = "AVAILABLE" + NamespaceStatusModifying NamespaceStatus = "MODIFYING" + NamespaceStatusDeleting NamespaceStatus = "DELETING" +) + +// Values returns all known values for NamespaceStatus. Note that this can be +// expanded in the future, and so it is only as up to date as the client. The +// ordering of this slice is not guaranteed to be stable across updates. +func (NamespaceStatus) Values() []NamespaceStatus { + return []NamespaceStatus{ + "AVAILABLE", + "MODIFYING", + "DELETING", + } +} + +type SnapshotStatus string + +// Enum values for SnapshotStatus +const ( + SnapshotStatusAvailable SnapshotStatus = "AVAILABLE" + SnapshotStatusCreating SnapshotStatus = "CREATING" + SnapshotStatusDeleted SnapshotStatus = "DELETED" + SnapshotStatusCancelled SnapshotStatus = "CANCELLED" + SnapshotStatusFailed SnapshotStatus = "FAILED" + SnapshotStatusCopying SnapshotStatus = "COPYING" +) + +// Values returns all known values for SnapshotStatus. Note that this can be +// expanded in the future, and so it is only as up to date as the client. The +// ordering of this slice is not guaranteed to be stable across updates. +func (SnapshotStatus) Values() []SnapshotStatus { + return []SnapshotStatus{ + "AVAILABLE", + "CREATING", + "DELETED", + "CANCELLED", + "FAILED", + "COPYING", + } +} + +type UsageLimitBreachAction string + +// Enum values for UsageLimitBreachAction +const ( + UsageLimitBreachActionLog UsageLimitBreachAction = "log" + UsageLimitBreachActionEmitMetric UsageLimitBreachAction = "emit-metric" + UsageLimitBreachActionDeactivate UsageLimitBreachAction = "deactivate" +) + +// Values returns all known values for UsageLimitBreachAction. Note that this can +// be expanded in the future, and so it is only as up to date as the client. The +// ordering of this slice is not guaranteed to be stable across updates. +func (UsageLimitBreachAction) Values() []UsageLimitBreachAction { + return []UsageLimitBreachAction{ + "log", + "emit-metric", + "deactivate", + } +} + +type UsageLimitPeriod string + +// Enum values for UsageLimitPeriod +const ( + UsageLimitPeriodDaily UsageLimitPeriod = "daily" + UsageLimitPeriodWeekly UsageLimitPeriod = "weekly" + UsageLimitPeriodMonthly UsageLimitPeriod = "monthly" +) + +// Values returns all known values for UsageLimitPeriod. Note that this can be +// expanded in the future, and so it is only as up to date as the client. The +// ordering of this slice is not guaranteed to be stable across updates. +func (UsageLimitPeriod) Values() []UsageLimitPeriod { + return []UsageLimitPeriod{ + "daily", + "weekly", + "monthly", + } +} + +type UsageLimitUsageType string + +// Enum values for UsageLimitUsageType +const ( + UsageLimitUsageTypeServerlessCompute UsageLimitUsageType = "serverless-compute" + UsageLimitUsageTypeCrossRegionDatasharing UsageLimitUsageType = "cross-region-datasharing" +) + +// Values returns all known values for UsageLimitUsageType. Note that this can be +// expanded in the future, and so it is only as up to date as the client. The +// ordering of this slice is not guaranteed to be stable across updates. +func (UsageLimitUsageType) Values() []UsageLimitUsageType { + return []UsageLimitUsageType{ + "serverless-compute", + "cross-region-datasharing", + } +} + +type WorkgroupStatus string + +// Enum values for WorkgroupStatus +const ( + WorkgroupStatusCreating WorkgroupStatus = "CREATING" + WorkgroupStatusAvailable WorkgroupStatus = "AVAILABLE" + WorkgroupStatusModifying WorkgroupStatus = "MODIFYING" + WorkgroupStatusDeleting WorkgroupStatus = "DELETING" +) + +// Values returns all known values for WorkgroupStatus. Note that this can be +// expanded in the future, and so it is only as up to date as the client. The +// ordering of this slice is not guaranteed to be stable across updates. +func (WorkgroupStatus) Values() []WorkgroupStatus { + return []WorkgroupStatus{ + "CREATING", + "AVAILABLE", + "MODIFYING", + "DELETING", + } +} diff --git a/service/redshiftserverless/types/errors.go b/service/redshiftserverless/types/errors.go new file mode 100644 index 00000000000..0fda932e7e0 --- /dev/null +++ b/service/redshiftserverless/types/errors.go @@ -0,0 +1,207 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package types + +import ( + "fmt" + smithy "github.com/aws/smithy-go" +) + +// You do not have sufficient access to perform this action. +type AccessDeniedException struct { + Message *string + + Code *string + + noSmithyDocumentSerde +} + +func (e *AccessDeniedException) Error() string { + return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) +} +func (e *AccessDeniedException) ErrorMessage() string { + if e.Message == nil { + return "" + } + return *e.Message +} +func (e *AccessDeniedException) ErrorCode() string { return "AccessDeniedException" } +func (e *AccessDeniedException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } + +// The submitted action has conflicts. +type ConflictException struct { + Message *string + + noSmithyDocumentSerde +} + +func (e *ConflictException) Error() string { + return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) +} +func (e *ConflictException) ErrorMessage() string { + if e.Message == nil { + return "" + } + return *e.Message +} +func (e *ConflictException) ErrorCode() string { return "ConflictException" } +func (e *ConflictException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } + +// There is an insufficient capacity to perform the action. +type InsufficientCapacityException struct { + Message *string + + noSmithyDocumentSerde +} + +func (e *InsufficientCapacityException) Error() string { + return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) +} +func (e *InsufficientCapacityException) ErrorMessage() string { + if e.Message == nil { + return "" + } + return *e.Message +} +func (e *InsufficientCapacityException) ErrorCode() string { return "InsufficientCapacityException" } +func (e *InsufficientCapacityException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } + +// The request processing has failed because of an unknown error, exception or +// failure. +type InternalServerException struct { + Message *string + + noSmithyDocumentSerde +} + +func (e *InternalServerException) Error() string { + return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) +} +func (e *InternalServerException) ErrorMessage() string { + if e.Message == nil { + return "" + } + return *e.Message +} +func (e *InternalServerException) ErrorCode() string { return "InternalServerException" } +func (e *InternalServerException) ErrorFault() smithy.ErrorFault { return smithy.FaultServer } + +// The provided pagination token is invalid. +type InvalidPaginationException struct { + Message *string + + noSmithyDocumentSerde +} + +func (e *InvalidPaginationException) Error() string { + return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) +} +func (e *InvalidPaginationException) ErrorMessage() string { + if e.Message == nil { + return "" + } + return *e.Message +} +func (e *InvalidPaginationException) ErrorCode() string { return "InvalidPaginationException" } +func (e *InvalidPaginationException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } + +// The resource could not be found. +type ResourceNotFoundException struct { + Message *string + + ResourceName *string + + noSmithyDocumentSerde +} + +func (e *ResourceNotFoundException) Error() string { + return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) +} +func (e *ResourceNotFoundException) ErrorMessage() string { + if e.Message == nil { + return "" + } + return *e.Message +} +func (e *ResourceNotFoundException) ErrorCode() string { return "ResourceNotFoundException" } +func (e *ResourceNotFoundException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } + +// The service limit was exceeded. +type ServiceQuotaExceededException struct { + Message *string + + noSmithyDocumentSerde +} + +func (e *ServiceQuotaExceededException) Error() string { + return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) +} +func (e *ServiceQuotaExceededException) ErrorMessage() string { + if e.Message == nil { + return "" + } + return *e.Message +} +func (e *ServiceQuotaExceededException) ErrorCode() string { return "ServiceQuotaExceededException" } +func (e *ServiceQuotaExceededException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } + +// The request was denied due to request throttling. +type ThrottlingException struct { + Message *string + + Code *string + + noSmithyDocumentSerde +} + +func (e *ThrottlingException) Error() string { + return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) +} +func (e *ThrottlingException) ErrorMessage() string { + if e.Message == nil { + return "" + } + return *e.Message +} +func (e *ThrottlingException) ErrorCode() string { return "ThrottlingException" } +func (e *ThrottlingException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } + +// The request exceeded the number of tags allowed for a resource. +type TooManyTagsException struct { + Message *string + + ResourceName *string + + noSmithyDocumentSerde +} + +func (e *TooManyTagsException) Error() string { + return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) +} +func (e *TooManyTagsException) ErrorMessage() string { + if e.Message == nil { + return "" + } + return *e.Message +} +func (e *TooManyTagsException) ErrorCode() string { return "TooManyTagsException" } +func (e *TooManyTagsException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } + +// The input failed to satisfy the constraints specified by an AWS service. +type ValidationException struct { + Message *string + + noSmithyDocumentSerde +} + +func (e *ValidationException) Error() string { + return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) +} +func (e *ValidationException) ErrorMessage() string { + if e.Message == nil { + return "" + } + return *e.Message +} +func (e *ValidationException) ErrorCode() string { return "ValidationException" } +func (e *ValidationException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } diff --git a/service/redshiftserverless/types/types.go b/service/redshiftserverless/types/types.go new file mode 100644 index 00000000000..c7043a377f5 --- /dev/null +++ b/service/redshiftserverless/types/types.go @@ -0,0 +1,374 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package types + +import ( + smithydocument "github.com/aws/smithy-go/document" + "time" +) + +// An array of key-value pairs to set for advanced control over Amazon Redshift +// Serverless. +type ConfigParameter struct { + + // The key of the parameter. The options are datestyle, + // enable_user_activity_logging, query_group, search_path, and + // max_query_execution_time. + ParameterKey *string + + // The value of the parameter to set. + ParameterValue *string + + noSmithyDocumentSerde +} + +// The VPC endpoint object. +type Endpoint struct { + + // The DNS address of the VPC endpoint. + Address *string + + // The port that Amazon Redshift Serverless listens on. + Port *int32 + + // An array of VpcEndpoint objects. + VpcEndpoints []VpcEndpoint + + noSmithyDocumentSerde +} + +// Information about an Amazon Redshift Serverless VPC endpoint. +type EndpointAccess struct { + + // The DNS address of the endpoint. + Address *string + + // The Amazon Resource Name (ARN) of the VPC endpoint. + EndpointArn *string + + // The time that the endpoint was created. + EndpointCreateTime *time.Time + + // The name of the VPC endpoint. + EndpointName *string + + // The status of the VPC endpoint. + EndpointStatus *string + + // The port number on which Amazon Redshift Serverless accepts incoming + // connections. + Port *int32 + + // The unique identifier of subnets where Amazon Redshift Serverless choose to + // deploy the VPC endpoint. + SubnetIds []string + + // The connection endpoint for connecting to Amazon Redshift Serverless. + VpcEndpoint *VpcEndpoint + + // The security groups associated with the endpoint. + VpcSecurityGroups []VpcSecurityGroupMembership + + // The name of the workgroup associated with the endpoint. + WorkgroupName *string + + noSmithyDocumentSerde +} + +// A collection of database objects and users. +type Namespace struct { + + // The username of the administrator for the first database created in the + // namespace. + AdminUsername *string + + // The date of when the namespace was created. + CreationDate *time.Time + + // The name of the first database created in the namespace. + DbName *string + + // The Amazon Resource Name (ARN) of the IAM role to set as a default in the + // namespace. + DefaultIamRoleArn *string + + // A list of IAM roles to associate with the namespace. + IamRoles []string + + // The ID of the Amazon Web Services Key Management Service key used to encrypt + // your data. + KmsKeyId *string + + // The types of logs the namespace can export. Available export types are User log, + // Connection log, and User activity log. + LogExports []LogExport + + // The Amazon Resource Name (ARN) associated with a namespace. + NamespaceArn *string + + // The unique identifier of a namespace. + NamespaceId *string + + // The name of the namespace. Must be between 3-64 alphanumeric characters in + // lowercase, and it cannot be a reserved word. A list of reserved words can be + // found in Reserved Words + // (https://docs.aws.amazon.com/redshift/latest/dg/r_pg_keywords.html) in the + // Amazon Redshift Database Developer Guide. + NamespaceName *string + + // The status of the namespace. + Status NamespaceStatus + + noSmithyDocumentSerde +} + +// Contains information about a network interface in an Amazon Redshift Serverless +// managed VPC endpoint. +type NetworkInterface struct { + + // The availability Zone. + AvailabilityZone *string + + // The unique identifier of the network interface. + NetworkInterfaceId *string + + // The IPv4 address of the network interface within the subnet. + PrivateIpAddress *string + + // The unique identifier of the subnet. + SubnetId *string + + noSmithyDocumentSerde +} + +// The automatically created recovery point of a namespace. Recovery points are +// created every 30 minutes and kept for 24 hours. +type RecoveryPoint struct { + + // The name of the namespace the recovery point is associated with. + NamespaceName *string + + // The time the recovery point is created. + RecoveryPointCreateTime *time.Time + + // The unique identifier of the recovery point. + RecoveryPointId *string + + // The total size of the data in the recovery point in megabytes. + TotalSizeInMegaBytes *float64 + + // The name of the workgroup the recovery point is associated with. + WorkgroupName *string + + noSmithyDocumentSerde +} + +// The resource policy object. Currently, you can use policies to share snapshots +// across Amazon Web Services accounts. +type ResourcePolicy struct { + + // The resource policy. + Policy *string + + // The Amazon Resource Name (ARN) of the policy. + ResourceArn *string + + noSmithyDocumentSerde +} + +// A snapshot object that contains databases. +type Snapshot struct { + + // All of the Amazon Web Services accounts that have access to restore a snapshot + // to a provisioned cluster. + AccountsWithProvisionedRestoreAccess []string + + // All of the Amazon Web Services accounts that have access to restore a snapshot + // to a namespace. + AccountsWithRestoreAccess []string + + // The size of the incremental backup in megabytes. + ActualIncrementalBackupSizeInMegaBytes *float64 + + // The username of the database within a snapshot. + AdminUsername *string + + // The size in megabytes of the data that has been backed up to a snapshot. + BackupProgressInMegaBytes *float64 + + // The rate at which data is backed up into a snapshot in megabytes per second. + CurrentBackupRateInMegaBytesPerSecond *float64 + + // The amount of time it took to back up data into a snapshot. + ElapsedTimeInSeconds *int64 + + // The estimated amount of seconds until the snapshot completes backup. + EstimatedSecondsToCompletion *int64 + + // The unique identifier of the KMS key used to encrypt the snapshot. + KmsKeyId *string + + // The Amazon Resource Name (ARN) of the namespace the snapshot was created from. + NamespaceArn *string + + // The name of the namepsace. + NamespaceName *string + + // The owner Amazon Web Services; account of the snapshot. + OwnerAccount *string + + // The Amazon Resource Name (ARN) of the snapshot. + SnapshotArn *string + + // The timestamp of when the snapshot was created. + SnapshotCreateTime *time.Time + + // The name of the snapshot. + SnapshotName *string + + // The amount of days until the snapshot is deleted. + SnapshotRemainingDays *int32 + + // The period of time, in days, of how long the snapshot is retained. + SnapshotRetentionPeriod *int32 + + // The timestamp of when data within the snapshot started getting retained. + SnapshotRetentionStartTime *time.Time + + // The status of the snapshot. + Status SnapshotStatus + + // The total size, in megabytes, of how big the snapshot is. + TotalBackupSizeInMegaBytes *float64 + + noSmithyDocumentSerde +} + +// A map of key-value pairs. +type Tag struct { + + // The key to use in the tag. + // + // This member is required. + Key *string + + // The value of the tag. + // + // This member is required. + Value *string + + noSmithyDocumentSerde +} + +// The usage limit object. +type UsageLimit struct { + + // The limit amount. If time-based, this amount is in RPUs consumed per hour. If + // data-based, this amount is in terabytes (TB). The value must be a positive + // number. + Amount *int64 + + // The action that Amazon Redshift Serverless takes when the limit is reached. + BreachAction UsageLimitBreachAction + + // The time period that the amount applies to. A weekly period begins on Sunday. + // The default is monthly. + Period UsageLimitPeriod + + // The Amazon Resource Name (ARN) that identifies the Amazon Redshift Serverless + // resource. + ResourceArn *string + + // The Amazon Resource Name (ARN) of the resource associated with the usage limit. + UsageLimitArn *string + + // The identifier of the usage limit. + UsageLimitId *string + + // The Amazon Redshift Serverless feature to limit. + UsageType UsageLimitUsageType + + noSmithyDocumentSerde +} + +// The connection endpoint for connecting to Amazon Redshift Serverless through the +// proxy. +type VpcEndpoint struct { + + // One or more network interfaces of the endpoint. Also known as an interface + // endpoint. + NetworkInterfaces []NetworkInterface + + // The connection endpoint ID for connecting to Amazon Redshift Serverless. + VpcEndpointId *string + + // The VPC identifier that the endpoint is associated with. + VpcId *string + + noSmithyDocumentSerde +} + +// Describes the members of a VPC security group. +type VpcSecurityGroupMembership struct { + + // The status of the VPC security group. + Status *string + + // The unique identifier of the VPC security group. + VpcSecurityGroupId *string + + noSmithyDocumentSerde +} + +// The collection of computing resources from which an endpoint is created. +type Workgroup struct { + + // The base data warehouse capacity of the workgroup in Redshift Processing Units + // (RPUs). + BaseCapacity *int32 + + // An array of parameters to set for finer control over a database. The options are + // datestyle, enable_user_activity_logging, query_group, search_path, and + // max_query_execution_time. + ConfigParameters []ConfigParameter + + // The creation date of the workgroup. + CreationDate *time.Time + + // The endpoint that is created from the workgroup. + Endpoint *Endpoint + + // The value that specifies whether to enable enhanced virtual private cloud (VPC) + // routing, which forces Amazon Redshift Serverless to route traffic through your + // VPC. + EnhancedVpcRouting *bool + + // The namespace the workgroup is associated with. + NamespaceName *string + + // A value that specifies whether the workgroup can be accessible from a public + // network + PubliclyAccessible *bool + + // An array of security group IDs to associate with the workgroup. + SecurityGroupIds []string + + // The status of the workgroup. + Status WorkgroupStatus + + // An array of subnet IDs the workgroup is associated with. + SubnetIds []string + + // The Amazon Resource Name (ARN) that links to the workgroup. + WorkgroupArn *string + + // The unique identifier of the workgroup. + WorkgroupId *string + + // The name of the workgroup. + WorkgroupName *string + + noSmithyDocumentSerde +} + +type noSmithyDocumentSerde = smithydocument.NoSerde diff --git a/service/redshiftserverless/validators.go b/service/redshiftserverless/validators.go new file mode 100644 index 00000000000..6dc541729cf --- /dev/null +++ b/service/redshiftserverless/validators.go @@ -0,0 +1,1269 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package redshiftserverless + +import ( + "context" + "fmt" + "github.com/aws/aws-sdk-go-v2/service/redshiftserverless/types" + smithy "github.com/aws/smithy-go" + "github.com/aws/smithy-go/middleware" +) + +type validateOpConvertRecoveryPointToSnapshot struct { +} + +func (*validateOpConvertRecoveryPointToSnapshot) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpConvertRecoveryPointToSnapshot) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*ConvertRecoveryPointToSnapshotInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpConvertRecoveryPointToSnapshotInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + +type validateOpCreateEndpointAccess struct { +} + +func (*validateOpCreateEndpointAccess) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpCreateEndpointAccess) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*CreateEndpointAccessInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpCreateEndpointAccessInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + +type validateOpCreateNamespace struct { +} + +func (*validateOpCreateNamespace) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpCreateNamespace) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*CreateNamespaceInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpCreateNamespaceInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + +type validateOpCreateSnapshot struct { +} + +func (*validateOpCreateSnapshot) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpCreateSnapshot) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*CreateSnapshotInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpCreateSnapshotInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + +type validateOpCreateUsageLimit struct { +} + +func (*validateOpCreateUsageLimit) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpCreateUsageLimit) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*CreateUsageLimitInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpCreateUsageLimitInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + +type validateOpCreateWorkgroup struct { +} + +func (*validateOpCreateWorkgroup) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpCreateWorkgroup) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*CreateWorkgroupInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpCreateWorkgroupInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + +type validateOpDeleteEndpointAccess struct { +} + +func (*validateOpDeleteEndpointAccess) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpDeleteEndpointAccess) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*DeleteEndpointAccessInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpDeleteEndpointAccessInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + +type validateOpDeleteNamespace struct { +} + +func (*validateOpDeleteNamespace) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpDeleteNamespace) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*DeleteNamespaceInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpDeleteNamespaceInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + +type validateOpDeleteResourcePolicy struct { +} + +func (*validateOpDeleteResourcePolicy) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpDeleteResourcePolicy) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*DeleteResourcePolicyInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpDeleteResourcePolicyInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + +type validateOpDeleteSnapshot struct { +} + +func (*validateOpDeleteSnapshot) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpDeleteSnapshot) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*DeleteSnapshotInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpDeleteSnapshotInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + +type validateOpDeleteUsageLimit struct { +} + +func (*validateOpDeleteUsageLimit) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpDeleteUsageLimit) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*DeleteUsageLimitInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpDeleteUsageLimitInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + +type validateOpDeleteWorkgroup struct { +} + +func (*validateOpDeleteWorkgroup) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpDeleteWorkgroup) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*DeleteWorkgroupInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpDeleteWorkgroupInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + +type validateOpGetCredentials struct { +} + +func (*validateOpGetCredentials) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpGetCredentials) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*GetCredentialsInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpGetCredentialsInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + +type validateOpGetEndpointAccess struct { +} + +func (*validateOpGetEndpointAccess) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpGetEndpointAccess) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*GetEndpointAccessInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpGetEndpointAccessInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + +type validateOpGetNamespace struct { +} + +func (*validateOpGetNamespace) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpGetNamespace) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*GetNamespaceInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpGetNamespaceInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + +type validateOpGetRecoveryPoint struct { +} + +func (*validateOpGetRecoveryPoint) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpGetRecoveryPoint) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*GetRecoveryPointInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpGetRecoveryPointInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + +type validateOpGetResourcePolicy struct { +} + +func (*validateOpGetResourcePolicy) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpGetResourcePolicy) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*GetResourcePolicyInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpGetResourcePolicyInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + +type validateOpGetUsageLimit struct { +} + +func (*validateOpGetUsageLimit) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpGetUsageLimit) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*GetUsageLimitInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpGetUsageLimitInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + +type validateOpGetWorkgroup struct { +} + +func (*validateOpGetWorkgroup) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpGetWorkgroup) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*GetWorkgroupInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpGetWorkgroupInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + +type validateOpListTagsForResource struct { +} + +func (*validateOpListTagsForResource) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpListTagsForResource) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*ListTagsForResourceInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpListTagsForResourceInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + +type validateOpPutResourcePolicy struct { +} + +func (*validateOpPutResourcePolicy) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpPutResourcePolicy) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*PutResourcePolicyInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpPutResourcePolicyInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + +type validateOpRestoreFromRecoveryPoint struct { +} + +func (*validateOpRestoreFromRecoveryPoint) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpRestoreFromRecoveryPoint) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*RestoreFromRecoveryPointInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpRestoreFromRecoveryPointInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + +type validateOpRestoreFromSnapshot struct { +} + +func (*validateOpRestoreFromSnapshot) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpRestoreFromSnapshot) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*RestoreFromSnapshotInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpRestoreFromSnapshotInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + +type validateOpTagResource struct { +} + +func (*validateOpTagResource) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpTagResource) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*TagResourceInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpTagResourceInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + +type validateOpUntagResource struct { +} + +func (*validateOpUntagResource) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpUntagResource) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*UntagResourceInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpUntagResourceInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + +type validateOpUpdateEndpointAccess struct { +} + +func (*validateOpUpdateEndpointAccess) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpUpdateEndpointAccess) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*UpdateEndpointAccessInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpUpdateEndpointAccessInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + +type validateOpUpdateNamespace struct { +} + +func (*validateOpUpdateNamespace) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpUpdateNamespace) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*UpdateNamespaceInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpUpdateNamespaceInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + +type validateOpUpdateSnapshot struct { +} + +func (*validateOpUpdateSnapshot) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpUpdateSnapshot) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*UpdateSnapshotInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpUpdateSnapshotInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + +type validateOpUpdateUsageLimit struct { +} + +func (*validateOpUpdateUsageLimit) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpUpdateUsageLimit) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*UpdateUsageLimitInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpUpdateUsageLimitInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + +type validateOpUpdateWorkgroup struct { +} + +func (*validateOpUpdateWorkgroup) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpUpdateWorkgroup) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*UpdateWorkgroupInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpUpdateWorkgroupInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + +func addOpConvertRecoveryPointToSnapshotValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpConvertRecoveryPointToSnapshot{}, middleware.After) +} + +func addOpCreateEndpointAccessValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpCreateEndpointAccess{}, middleware.After) +} + +func addOpCreateNamespaceValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpCreateNamespace{}, middleware.After) +} + +func addOpCreateSnapshotValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpCreateSnapshot{}, middleware.After) +} + +func addOpCreateUsageLimitValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpCreateUsageLimit{}, middleware.After) +} + +func addOpCreateWorkgroupValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpCreateWorkgroup{}, middleware.After) +} + +func addOpDeleteEndpointAccessValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpDeleteEndpointAccess{}, middleware.After) +} + +func addOpDeleteNamespaceValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpDeleteNamespace{}, middleware.After) +} + +func addOpDeleteResourcePolicyValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpDeleteResourcePolicy{}, middleware.After) +} + +func addOpDeleteSnapshotValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpDeleteSnapshot{}, middleware.After) +} + +func addOpDeleteUsageLimitValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpDeleteUsageLimit{}, middleware.After) +} + +func addOpDeleteWorkgroupValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpDeleteWorkgroup{}, middleware.After) +} + +func addOpGetCredentialsValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpGetCredentials{}, middleware.After) +} + +func addOpGetEndpointAccessValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpGetEndpointAccess{}, middleware.After) +} + +func addOpGetNamespaceValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpGetNamespace{}, middleware.After) +} + +func addOpGetRecoveryPointValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpGetRecoveryPoint{}, middleware.After) +} + +func addOpGetResourcePolicyValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpGetResourcePolicy{}, middleware.After) +} + +func addOpGetUsageLimitValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpGetUsageLimit{}, middleware.After) +} + +func addOpGetWorkgroupValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpGetWorkgroup{}, middleware.After) +} + +func addOpListTagsForResourceValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpListTagsForResource{}, middleware.After) +} + +func addOpPutResourcePolicyValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpPutResourcePolicy{}, middleware.After) +} + +func addOpRestoreFromRecoveryPointValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpRestoreFromRecoveryPoint{}, middleware.After) +} + +func addOpRestoreFromSnapshotValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpRestoreFromSnapshot{}, middleware.After) +} + +func addOpTagResourceValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpTagResource{}, middleware.After) +} + +func addOpUntagResourceValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpUntagResource{}, middleware.After) +} + +func addOpUpdateEndpointAccessValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpUpdateEndpointAccess{}, middleware.After) +} + +func addOpUpdateNamespaceValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpUpdateNamespace{}, middleware.After) +} + +func addOpUpdateSnapshotValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpUpdateSnapshot{}, middleware.After) +} + +func addOpUpdateUsageLimitValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpUpdateUsageLimit{}, middleware.After) +} + +func addOpUpdateWorkgroupValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpUpdateWorkgroup{}, middleware.After) +} + +func validateTag(v *types.Tag) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "Tag"} + if v.Key == nil { + invalidParams.Add(smithy.NewErrParamRequired("Key")) + } + if v.Value == nil { + invalidParams.Add(smithy.NewErrParamRequired("Value")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateTagList(v []types.Tag) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "TagList"} + for i := range v { + if err := validateTag(&v[i]); err != nil { + invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError)) + } + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateOpConvertRecoveryPointToSnapshotInput(v *ConvertRecoveryPointToSnapshotInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "ConvertRecoveryPointToSnapshotInput"} + if v.RecoveryPointId == nil { + invalidParams.Add(smithy.NewErrParamRequired("RecoveryPointId")) + } + if v.SnapshotName == nil { + invalidParams.Add(smithy.NewErrParamRequired("SnapshotName")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateOpCreateEndpointAccessInput(v *CreateEndpointAccessInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "CreateEndpointAccessInput"} + if v.EndpointName == nil { + invalidParams.Add(smithy.NewErrParamRequired("EndpointName")) + } + if v.SubnetIds == nil { + invalidParams.Add(smithy.NewErrParamRequired("SubnetIds")) + } + if v.WorkgroupName == nil { + invalidParams.Add(smithy.NewErrParamRequired("WorkgroupName")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateOpCreateNamespaceInput(v *CreateNamespaceInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "CreateNamespaceInput"} + if v.NamespaceName == nil { + invalidParams.Add(smithy.NewErrParamRequired("NamespaceName")) + } + if v.Tags != nil { + if err := validateTagList(v.Tags); err != nil { + invalidParams.AddNested("Tags", err.(smithy.InvalidParamsError)) + } + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateOpCreateSnapshotInput(v *CreateSnapshotInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "CreateSnapshotInput"} + if v.NamespaceName == nil { + invalidParams.Add(smithy.NewErrParamRequired("NamespaceName")) + } + if v.SnapshotName == nil { + invalidParams.Add(smithy.NewErrParamRequired("SnapshotName")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateOpCreateUsageLimitInput(v *CreateUsageLimitInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "CreateUsageLimitInput"} + if v.ResourceArn == nil { + invalidParams.Add(smithy.NewErrParamRequired("ResourceArn")) + } + if len(v.UsageType) == 0 { + invalidParams.Add(smithy.NewErrParamRequired("UsageType")) + } + if v.Amount == nil { + invalidParams.Add(smithy.NewErrParamRequired("Amount")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateOpCreateWorkgroupInput(v *CreateWorkgroupInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "CreateWorkgroupInput"} + if v.WorkgroupName == nil { + invalidParams.Add(smithy.NewErrParamRequired("WorkgroupName")) + } + if v.NamespaceName == nil { + invalidParams.Add(smithy.NewErrParamRequired("NamespaceName")) + } + if v.Tags != nil { + if err := validateTagList(v.Tags); err != nil { + invalidParams.AddNested("Tags", err.(smithy.InvalidParamsError)) + } + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateOpDeleteEndpointAccessInput(v *DeleteEndpointAccessInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "DeleteEndpointAccessInput"} + if v.EndpointName == nil { + invalidParams.Add(smithy.NewErrParamRequired("EndpointName")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateOpDeleteNamespaceInput(v *DeleteNamespaceInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "DeleteNamespaceInput"} + if v.NamespaceName == nil { + invalidParams.Add(smithy.NewErrParamRequired("NamespaceName")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateOpDeleteResourcePolicyInput(v *DeleteResourcePolicyInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "DeleteResourcePolicyInput"} + if v.ResourceArn == nil { + invalidParams.Add(smithy.NewErrParamRequired("ResourceArn")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateOpDeleteSnapshotInput(v *DeleteSnapshotInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "DeleteSnapshotInput"} + if v.SnapshotName == nil { + invalidParams.Add(smithy.NewErrParamRequired("SnapshotName")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateOpDeleteUsageLimitInput(v *DeleteUsageLimitInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "DeleteUsageLimitInput"} + if v.UsageLimitId == nil { + invalidParams.Add(smithy.NewErrParamRequired("UsageLimitId")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateOpDeleteWorkgroupInput(v *DeleteWorkgroupInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "DeleteWorkgroupInput"} + if v.WorkgroupName == nil { + invalidParams.Add(smithy.NewErrParamRequired("WorkgroupName")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateOpGetCredentialsInput(v *GetCredentialsInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "GetCredentialsInput"} + if v.WorkgroupName == nil { + invalidParams.Add(smithy.NewErrParamRequired("WorkgroupName")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateOpGetEndpointAccessInput(v *GetEndpointAccessInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "GetEndpointAccessInput"} + if v.EndpointName == nil { + invalidParams.Add(smithy.NewErrParamRequired("EndpointName")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateOpGetNamespaceInput(v *GetNamespaceInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "GetNamespaceInput"} + if v.NamespaceName == nil { + invalidParams.Add(smithy.NewErrParamRequired("NamespaceName")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateOpGetRecoveryPointInput(v *GetRecoveryPointInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "GetRecoveryPointInput"} + if v.RecoveryPointId == nil { + invalidParams.Add(smithy.NewErrParamRequired("RecoveryPointId")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateOpGetResourcePolicyInput(v *GetResourcePolicyInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "GetResourcePolicyInput"} + if v.ResourceArn == nil { + invalidParams.Add(smithy.NewErrParamRequired("ResourceArn")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateOpGetUsageLimitInput(v *GetUsageLimitInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "GetUsageLimitInput"} + if v.UsageLimitId == nil { + invalidParams.Add(smithy.NewErrParamRequired("UsageLimitId")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateOpGetWorkgroupInput(v *GetWorkgroupInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "GetWorkgroupInput"} + if v.WorkgroupName == nil { + invalidParams.Add(smithy.NewErrParamRequired("WorkgroupName")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateOpListTagsForResourceInput(v *ListTagsForResourceInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "ListTagsForResourceInput"} + if v.ResourceArn == nil { + invalidParams.Add(smithy.NewErrParamRequired("ResourceArn")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateOpPutResourcePolicyInput(v *PutResourcePolicyInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "PutResourcePolicyInput"} + if v.ResourceArn == nil { + invalidParams.Add(smithy.NewErrParamRequired("ResourceArn")) + } + if v.Policy == nil { + invalidParams.Add(smithy.NewErrParamRequired("Policy")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateOpRestoreFromRecoveryPointInput(v *RestoreFromRecoveryPointInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "RestoreFromRecoveryPointInput"} + if v.RecoveryPointId == nil { + invalidParams.Add(smithy.NewErrParamRequired("RecoveryPointId")) + } + if v.NamespaceName == nil { + invalidParams.Add(smithy.NewErrParamRequired("NamespaceName")) + } + if v.WorkgroupName == nil { + invalidParams.Add(smithy.NewErrParamRequired("WorkgroupName")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateOpRestoreFromSnapshotInput(v *RestoreFromSnapshotInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "RestoreFromSnapshotInput"} + if v.NamespaceName == nil { + invalidParams.Add(smithy.NewErrParamRequired("NamespaceName")) + } + if v.WorkgroupName == nil { + invalidParams.Add(smithy.NewErrParamRequired("WorkgroupName")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateOpTagResourceInput(v *TagResourceInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "TagResourceInput"} + if v.ResourceArn == nil { + invalidParams.Add(smithy.NewErrParamRequired("ResourceArn")) + } + if v.Tags == nil { + invalidParams.Add(smithy.NewErrParamRequired("Tags")) + } else if v.Tags != nil { + if err := validateTagList(v.Tags); err != nil { + invalidParams.AddNested("Tags", err.(smithy.InvalidParamsError)) + } + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateOpUntagResourceInput(v *UntagResourceInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "UntagResourceInput"} + if v.ResourceArn == nil { + invalidParams.Add(smithy.NewErrParamRequired("ResourceArn")) + } + if v.TagKeys == nil { + invalidParams.Add(smithy.NewErrParamRequired("TagKeys")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateOpUpdateEndpointAccessInput(v *UpdateEndpointAccessInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "UpdateEndpointAccessInput"} + if v.EndpointName == nil { + invalidParams.Add(smithy.NewErrParamRequired("EndpointName")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateOpUpdateNamespaceInput(v *UpdateNamespaceInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "UpdateNamespaceInput"} + if v.NamespaceName == nil { + invalidParams.Add(smithy.NewErrParamRequired("NamespaceName")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateOpUpdateSnapshotInput(v *UpdateSnapshotInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "UpdateSnapshotInput"} + if v.SnapshotName == nil { + invalidParams.Add(smithy.NewErrParamRequired("SnapshotName")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateOpUpdateUsageLimitInput(v *UpdateUsageLimitInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "UpdateUsageLimitInput"} + if v.UsageLimitId == nil { + invalidParams.Add(smithy.NewErrParamRequired("UsageLimitId")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateOpUpdateWorkgroupInput(v *UpdateWorkgroupInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "UpdateWorkgroupInput"} + if v.WorkgroupName == nil { + invalidParams.Add(smithy.NewErrParamRequired("WorkgroupName")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} diff --git a/service/rekognition/go.mod b/service/rekognition/go.mod index f456b500751..0252c9d66ed 100644 --- a/service/rekognition/go.mod +++ b/service/rekognition/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/rekognition/go.sum b/service/rekognition/go.sum index 616ca36a561..b0e3c06c6d6 100644 --- a/service/rekognition/go.sum +++ b/service/rekognition/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= diff --git a/service/resiliencehub/go.mod b/service/resiliencehub/go.mod index 6bd58e65d12..69d80959958 100644 --- a/service/resiliencehub/go.mod +++ b/service/resiliencehub/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/resiliencehub/go.sum b/service/resiliencehub/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/resiliencehub/go.sum +++ b/service/resiliencehub/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/resourcegroups/go.mod b/service/resourcegroups/go.mod index f111397174a..9104b5ea528 100644 --- a/service/resourcegroups/go.mod +++ b/service/resourcegroups/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/resourcegroups/go.sum b/service/resourcegroups/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/resourcegroups/go.sum +++ b/service/resourcegroups/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/resourcegroupstaggingapi/go.mod b/service/resourcegroupstaggingapi/go.mod index 4bbf9309ec2..0f6332bd787 100644 --- a/service/resourcegroupstaggingapi/go.mod +++ b/service/resourcegroupstaggingapi/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/resourcegroupstaggingapi/go.sum b/service/resourcegroupstaggingapi/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/resourcegroupstaggingapi/go.sum +++ b/service/resourcegroupstaggingapi/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/robomaker/go.mod b/service/robomaker/go.mod index 889ad45f2c8..d2e167148ba 100644 --- a/service/robomaker/go.mod +++ b/service/robomaker/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/robomaker/go.sum b/service/robomaker/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/robomaker/go.sum +++ b/service/robomaker/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/route53/go.mod b/service/route53/go.mod index e5b921ce1dd..0e21c2a811c 100644 --- a/service/route53/go.mod +++ b/service/route53/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/route53/go.sum b/service/route53/go.sum index 616ca36a561..b0e3c06c6d6 100644 --- a/service/route53/go.sum +++ b/service/route53/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= diff --git a/service/route53domains/go.mod b/service/route53domains/go.mod index c5f3736e09b..2cc06fdb1a8 100644 --- a/service/route53domains/go.mod +++ b/service/route53domains/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/route53domains/go.sum b/service/route53domains/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/route53domains/go.sum +++ b/service/route53domains/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/route53recoverycluster/go.mod b/service/route53recoverycluster/go.mod index 9b3cf9633d8..2b7cf2f639e 100644 --- a/service/route53recoverycluster/go.mod +++ b/service/route53recoverycluster/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/route53recoverycluster/go.sum b/service/route53recoverycluster/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/route53recoverycluster/go.sum +++ b/service/route53recoverycluster/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/route53recoverycontrolconfig/go.mod b/service/route53recoverycontrolconfig/go.mod index 65ecdaa9029..76a0a5b9639 100644 --- a/service/route53recoverycontrolconfig/go.mod +++ b/service/route53recoverycontrolconfig/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/route53recoverycontrolconfig/go.sum b/service/route53recoverycontrolconfig/go.sum index 616ca36a561..b0e3c06c6d6 100644 --- a/service/route53recoverycontrolconfig/go.sum +++ b/service/route53recoverycontrolconfig/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= diff --git a/service/route53recoveryreadiness/go.mod b/service/route53recoveryreadiness/go.mod index 228303c60f4..4937833506d 100644 --- a/service/route53recoveryreadiness/go.mod +++ b/service/route53recoveryreadiness/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/route53recoveryreadiness/go.sum b/service/route53recoveryreadiness/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/route53recoveryreadiness/go.sum +++ b/service/route53recoveryreadiness/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/route53resolver/go.mod b/service/route53resolver/go.mod index da19122b6bf..6cd4f613dbf 100644 --- a/service/route53resolver/go.mod +++ b/service/route53resolver/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/route53resolver/go.sum b/service/route53resolver/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/route53resolver/go.sum +++ b/service/route53resolver/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/rum/go.mod b/service/rum/go.mod index 379fac170d3..38a1d9dffeb 100644 --- a/service/rum/go.mod +++ b/service/rum/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/rum/go.sum b/service/rum/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/rum/go.sum +++ b/service/rum/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/s3/go.mod b/service/s3/go.mod index 5a0932ee807..528703a049c 100644 --- a/service/s3/go.mod +++ b/service/s3/go.mod @@ -12,7 +12,7 @@ require ( github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.1.7 github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.6 github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.13.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/google/go-cmp v0.5.8 ) diff --git a/service/s3/go.sum b/service/s3/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/s3/go.sum +++ b/service/s3/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/s3/internal/configtesting/go.sum b/service/s3/internal/configtesting/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/s3/internal/configtesting/go.sum +++ b/service/s3/internal/configtesting/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/s3control/go.mod b/service/s3control/go.mod index 8c1f7300743..74fd926c089 100644 --- a/service/s3control/go.mod +++ b/service/s3control/go.mod @@ -7,7 +7,7 @@ require ( github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.13.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/s3control/go.sum b/service/s3control/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/s3control/go.sum +++ b/service/s3control/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/s3outposts/go.mod b/service/s3outposts/go.mod index c2a012ddab6..4c8c32ce482 100644 --- a/service/s3outposts/go.mod +++ b/service/s3outposts/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/s3outposts/go.sum b/service/s3outposts/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/s3outposts/go.sum +++ b/service/s3outposts/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/sagemaker/api_op_DescribeFeatureGroup.go b/service/sagemaker/api_op_DescribeFeatureGroup.go index 5a9ccc8b0b7..9224186931d 100644 --- a/service/sagemaker/api_op_DescribeFeatureGroup.go +++ b/service/sagemaker/api_op_DescribeFeatureGroup.go @@ -102,6 +102,12 @@ type DescribeFeatureGroupOutput struct { // The status of the feature group. FeatureGroupStatus types.FeatureGroupStatus + // A timestamp indicating when the feature group was last updated. + LastModifiedTime *time.Time + + // A value indicating whether the update made to the feature group was successful. + LastUpdateStatus *types.LastUpdateStatus + // The configuration of the OfflineStore, inducing the S3 location of the // OfflineStore, Amazon Web Services Glue or Amazon Web Services Hive data // catalogue configurations, and the security configuration. @@ -114,6 +120,9 @@ type DescribeFeatureGroupOutput struct { // The configuration for the OnlineStore. OnlineStoreConfig *types.OnlineStoreConfig + // The size of the OnlineStore in bytes. + OnlineStoreTotalSizeBytes *int64 + // The Amazon Resource Name (ARN) of the IAM execution role used to persist data // into the OfflineStore if an OfflineStoreConfig is provided. RoleArn *string diff --git a/service/sagemaker/api_op_DescribeFeatureMetadata.go b/service/sagemaker/api_op_DescribeFeatureMetadata.go new file mode 100644 index 00000000000..9ea96f66c2e --- /dev/null +++ b/service/sagemaker/api_op_DescribeFeatureMetadata.go @@ -0,0 +1,162 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package sagemaker + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/sagemaker/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" + "time" +) + +// Shows the metadata for a feature within a feature group. +func (c *Client) DescribeFeatureMetadata(ctx context.Context, params *DescribeFeatureMetadataInput, optFns ...func(*Options)) (*DescribeFeatureMetadataOutput, error) { + if params == nil { + params = &DescribeFeatureMetadataInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "DescribeFeatureMetadata", params, optFns, c.addOperationDescribeFeatureMetadataMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*DescribeFeatureMetadataOutput) + out.ResultMetadata = metadata + return out, nil +} + +type DescribeFeatureMetadataInput struct { + + // The name of the feature group containing the feature. + // + // This member is required. + FeatureGroupName *string + + // The name of the feature. + // + // This member is required. + FeatureName *string + + noSmithyDocumentSerde +} + +type DescribeFeatureMetadataOutput struct { + + // A timestamp indicating when the feature was created. + // + // This member is required. + CreationTime *time.Time + + // The Amazon Resource Number (ARN) of the feature group that contains the feature. + // + // This member is required. + FeatureGroupArn *string + + // The name of the feature group that you've specified. + // + // This member is required. + FeatureGroupName *string + + // The name of the feature that you've specified. + // + // This member is required. + FeatureName *string + + // The data type of the feature. + // + // This member is required. + FeatureType types.FeatureType + + // A timestamp indicating when the metadata for the feature group was modified. For + // example, if you add a parameter describing the feature, the timestamp changes to + // reflect the last time you + // + // This member is required. + LastModifiedTime *time.Time + + // The description you added to describe the feature. + Description *string + + // The key-value pairs that you added to describe the feature. + Parameters []types.FeatureParameter + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationDescribeFeatureMetadataMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsAwsjson11_serializeOpDescribeFeatureMetadata{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsjson11_deserializeOpDescribeFeatureMetadata{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpDescribeFeatureMetadataValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFeatureMetadata(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opDescribeFeatureMetadata(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "sagemaker", + OperationName: "DescribeFeatureMetadata", + } +} diff --git a/service/sagemaker/api_op_UpdateFeatureGroup.go b/service/sagemaker/api_op_UpdateFeatureGroup.go new file mode 100644 index 00000000000..76484ec1066 --- /dev/null +++ b/service/sagemaker/api_op_UpdateFeatureGroup.go @@ -0,0 +1,126 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package sagemaker + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/sagemaker/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Updates the feature group. +func (c *Client) UpdateFeatureGroup(ctx context.Context, params *UpdateFeatureGroupInput, optFns ...func(*Options)) (*UpdateFeatureGroupOutput, error) { + if params == nil { + params = &UpdateFeatureGroupInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "UpdateFeatureGroup", params, optFns, c.addOperationUpdateFeatureGroupMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*UpdateFeatureGroupOutput) + out.ResultMetadata = metadata + return out, nil +} + +type UpdateFeatureGroupInput struct { + + // The name of the feature group that you're updating. + // + // This member is required. + FeatureGroupName *string + + // A list of the features that you're adding to the feature group. + FeatureAdditions []types.FeatureDefinition + + noSmithyDocumentSerde +} + +type UpdateFeatureGroupOutput struct { + + // The Amazon Resource Number (ARN) of the feature group that you're updating. + // + // This member is required. + FeatureGroupArn *string + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationUpdateFeatureGroupMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsAwsjson11_serializeOpUpdateFeatureGroup{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsjson11_deserializeOpUpdateFeatureGroup{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpUpdateFeatureGroupValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateFeatureGroup(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opUpdateFeatureGroup(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "sagemaker", + OperationName: "UpdateFeatureGroup", + } +} diff --git a/service/sagemaker/api_op_UpdateFeatureMetadata.go b/service/sagemaker/api_op_UpdateFeatureMetadata.go new file mode 100644 index 00000000000..cf8a7662455 --- /dev/null +++ b/service/sagemaker/api_op_UpdateFeatureMetadata.go @@ -0,0 +1,132 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package sagemaker + +import ( + "context" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/sagemaker/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Updates the description and parameters of the feature group. +func (c *Client) UpdateFeatureMetadata(ctx context.Context, params *UpdateFeatureMetadataInput, optFns ...func(*Options)) (*UpdateFeatureMetadataOutput, error) { + if params == nil { + params = &UpdateFeatureMetadataInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "UpdateFeatureMetadata", params, optFns, c.addOperationUpdateFeatureMetadataMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*UpdateFeatureMetadataOutput) + out.ResultMetadata = metadata + return out, nil +} + +type UpdateFeatureMetadataInput struct { + + // The name of the feature group containing the feature that you're updating. + // + // This member is required. + FeatureGroupName *string + + // The name of the feature that you're updating. + // + // This member is required. + FeatureName *string + + // A description that you can write to better describe the feature. + Description *string + + // A list of key-value pairs that you can add to better describe the feature. + ParameterAdditions []types.FeatureParameter + + // A list of parameter keys that you can specify to remove parameters that describe + // your feature. + ParameterRemovals []string + + noSmithyDocumentSerde +} + +type UpdateFeatureMetadataOutput struct { + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationUpdateFeatureMetadataMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsAwsjson11_serializeOpUpdateFeatureMetadata{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsjson11_deserializeOpUpdateFeatureMetadata{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addOpUpdateFeatureMetadataValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateFeatureMetadata(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opUpdateFeatureMetadata(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "sagemaker", + OperationName: "UpdateFeatureMetadata", + } +} diff --git a/service/sagemaker/deserializers.go b/service/sagemaker/deserializers.go index 6de44c09719..aaa9224574e 100644 --- a/service/sagemaker/deserializers.go +++ b/service/sagemaker/deserializers.go @@ -11380,14 +11380,14 @@ func awsAwsjson11_deserializeOpErrorDescribeFeatureGroup(response *smithyhttp.Re } } -type awsAwsjson11_deserializeOpDescribeFlowDefinition struct { +type awsAwsjson11_deserializeOpDescribeFeatureMetadata struct { } -func (*awsAwsjson11_deserializeOpDescribeFlowDefinition) ID() string { +func (*awsAwsjson11_deserializeOpDescribeFeatureMetadata) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson11_deserializeOpDescribeFlowDefinition) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson11_deserializeOpDescribeFeatureMetadata) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -11401,9 +11401,9 @@ func (m *awsAwsjson11_deserializeOpDescribeFlowDefinition) HandleDeserialize(ctx } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson11_deserializeOpErrorDescribeFlowDefinition(response, &metadata) + return out, metadata, awsAwsjson11_deserializeOpErrorDescribeFeatureMetadata(response, &metadata) } - output := &DescribeFlowDefinitionOutput{} + output := &DescribeFeatureMetadataOutput{} out.Result = output var buff [1024]byte @@ -11423,7 +11423,7 @@ func (m *awsAwsjson11_deserializeOpDescribeFlowDefinition) HandleDeserialize(ctx return out, metadata, err } - err = awsAwsjson11_deserializeOpDocumentDescribeFlowDefinitionOutput(&output, shape) + err = awsAwsjson11_deserializeOpDocumentDescribeFeatureMetadataOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -11437,7 +11437,7 @@ func (m *awsAwsjson11_deserializeOpDescribeFlowDefinition) HandleDeserialize(ctx return out, metadata, err } -func awsAwsjson11_deserializeOpErrorDescribeFlowDefinition(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson11_deserializeOpErrorDescribeFeatureMetadata(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -11491,14 +11491,14 @@ func awsAwsjson11_deserializeOpErrorDescribeFlowDefinition(response *smithyhttp. } } -type awsAwsjson11_deserializeOpDescribeHumanTaskUi struct { +type awsAwsjson11_deserializeOpDescribeFlowDefinition struct { } -func (*awsAwsjson11_deserializeOpDescribeHumanTaskUi) ID() string { +func (*awsAwsjson11_deserializeOpDescribeFlowDefinition) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson11_deserializeOpDescribeHumanTaskUi) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson11_deserializeOpDescribeFlowDefinition) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -11512,9 +11512,9 @@ func (m *awsAwsjson11_deserializeOpDescribeHumanTaskUi) HandleDeserialize(ctx co } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson11_deserializeOpErrorDescribeHumanTaskUi(response, &metadata) + return out, metadata, awsAwsjson11_deserializeOpErrorDescribeFlowDefinition(response, &metadata) } - output := &DescribeHumanTaskUiOutput{} + output := &DescribeFlowDefinitionOutput{} out.Result = output var buff [1024]byte @@ -11534,7 +11534,7 @@ func (m *awsAwsjson11_deserializeOpDescribeHumanTaskUi) HandleDeserialize(ctx co return out, metadata, err } - err = awsAwsjson11_deserializeOpDocumentDescribeHumanTaskUiOutput(&output, shape) + err = awsAwsjson11_deserializeOpDocumentDescribeFlowDefinitionOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -11548,7 +11548,7 @@ func (m *awsAwsjson11_deserializeOpDescribeHumanTaskUi) HandleDeserialize(ctx co return out, metadata, err } -func awsAwsjson11_deserializeOpErrorDescribeHumanTaskUi(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson11_deserializeOpErrorDescribeFlowDefinition(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -11602,14 +11602,14 @@ func awsAwsjson11_deserializeOpErrorDescribeHumanTaskUi(response *smithyhttp.Res } } -type awsAwsjson11_deserializeOpDescribeHyperParameterTuningJob struct { +type awsAwsjson11_deserializeOpDescribeHumanTaskUi struct { } -func (*awsAwsjson11_deserializeOpDescribeHyperParameterTuningJob) ID() string { +func (*awsAwsjson11_deserializeOpDescribeHumanTaskUi) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson11_deserializeOpDescribeHyperParameterTuningJob) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson11_deserializeOpDescribeHumanTaskUi) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -11623,9 +11623,9 @@ func (m *awsAwsjson11_deserializeOpDescribeHyperParameterTuningJob) HandleDeseri } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson11_deserializeOpErrorDescribeHyperParameterTuningJob(response, &metadata) + return out, metadata, awsAwsjson11_deserializeOpErrorDescribeHumanTaskUi(response, &metadata) } - output := &DescribeHyperParameterTuningJobOutput{} + output := &DescribeHumanTaskUiOutput{} out.Result = output var buff [1024]byte @@ -11645,7 +11645,7 @@ func (m *awsAwsjson11_deserializeOpDescribeHyperParameterTuningJob) HandleDeseri return out, metadata, err } - err = awsAwsjson11_deserializeOpDocumentDescribeHyperParameterTuningJobOutput(&output, shape) + err = awsAwsjson11_deserializeOpDocumentDescribeHumanTaskUiOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -11659,7 +11659,7 @@ func (m *awsAwsjson11_deserializeOpDescribeHyperParameterTuningJob) HandleDeseri return out, metadata, err } -func awsAwsjson11_deserializeOpErrorDescribeHyperParameterTuningJob(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson11_deserializeOpErrorDescribeHumanTaskUi(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -11713,14 +11713,14 @@ func awsAwsjson11_deserializeOpErrorDescribeHyperParameterTuningJob(response *sm } } -type awsAwsjson11_deserializeOpDescribeImage struct { +type awsAwsjson11_deserializeOpDescribeHyperParameterTuningJob struct { } -func (*awsAwsjson11_deserializeOpDescribeImage) ID() string { +func (*awsAwsjson11_deserializeOpDescribeHyperParameterTuningJob) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson11_deserializeOpDescribeImage) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson11_deserializeOpDescribeHyperParameterTuningJob) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -11734,9 +11734,9 @@ func (m *awsAwsjson11_deserializeOpDescribeImage) HandleDeserialize(ctx context. } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson11_deserializeOpErrorDescribeImage(response, &metadata) + return out, metadata, awsAwsjson11_deserializeOpErrorDescribeHyperParameterTuningJob(response, &metadata) } - output := &DescribeImageOutput{} + output := &DescribeHyperParameterTuningJobOutput{} out.Result = output var buff [1024]byte @@ -11756,7 +11756,7 @@ func (m *awsAwsjson11_deserializeOpDescribeImage) HandleDeserialize(ctx context. return out, metadata, err } - err = awsAwsjson11_deserializeOpDocumentDescribeImageOutput(&output, shape) + err = awsAwsjson11_deserializeOpDocumentDescribeHyperParameterTuningJobOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -11770,7 +11770,7 @@ func (m *awsAwsjson11_deserializeOpDescribeImage) HandleDeserialize(ctx context. return out, metadata, err } -func awsAwsjson11_deserializeOpErrorDescribeImage(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson11_deserializeOpErrorDescribeHyperParameterTuningJob(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -11824,14 +11824,14 @@ func awsAwsjson11_deserializeOpErrorDescribeImage(response *smithyhttp.Response, } } -type awsAwsjson11_deserializeOpDescribeImageVersion struct { +type awsAwsjson11_deserializeOpDescribeImage struct { } -func (*awsAwsjson11_deserializeOpDescribeImageVersion) ID() string { +func (*awsAwsjson11_deserializeOpDescribeImage) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson11_deserializeOpDescribeImageVersion) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson11_deserializeOpDescribeImage) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -11845,9 +11845,9 @@ func (m *awsAwsjson11_deserializeOpDescribeImageVersion) HandleDeserialize(ctx c } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson11_deserializeOpErrorDescribeImageVersion(response, &metadata) + return out, metadata, awsAwsjson11_deserializeOpErrorDescribeImage(response, &metadata) } - output := &DescribeImageVersionOutput{} + output := &DescribeImageOutput{} out.Result = output var buff [1024]byte @@ -11867,7 +11867,7 @@ func (m *awsAwsjson11_deserializeOpDescribeImageVersion) HandleDeserialize(ctx c return out, metadata, err } - err = awsAwsjson11_deserializeOpDocumentDescribeImageVersionOutput(&output, shape) + err = awsAwsjson11_deserializeOpDocumentDescribeImageOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -11881,7 +11881,7 @@ func (m *awsAwsjson11_deserializeOpDescribeImageVersion) HandleDeserialize(ctx c return out, metadata, err } -func awsAwsjson11_deserializeOpErrorDescribeImageVersion(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson11_deserializeOpErrorDescribeImage(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -11935,14 +11935,14 @@ func awsAwsjson11_deserializeOpErrorDescribeImageVersion(response *smithyhttp.Re } } -type awsAwsjson11_deserializeOpDescribeInferenceRecommendationsJob struct { +type awsAwsjson11_deserializeOpDescribeImageVersion struct { } -func (*awsAwsjson11_deserializeOpDescribeInferenceRecommendationsJob) ID() string { +func (*awsAwsjson11_deserializeOpDescribeImageVersion) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson11_deserializeOpDescribeInferenceRecommendationsJob) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson11_deserializeOpDescribeImageVersion) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -11956,9 +11956,9 @@ func (m *awsAwsjson11_deserializeOpDescribeInferenceRecommendationsJob) HandleDe } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson11_deserializeOpErrorDescribeInferenceRecommendationsJob(response, &metadata) + return out, metadata, awsAwsjson11_deserializeOpErrorDescribeImageVersion(response, &metadata) } - output := &DescribeInferenceRecommendationsJobOutput{} + output := &DescribeImageVersionOutput{} out.Result = output var buff [1024]byte @@ -11978,7 +11978,7 @@ func (m *awsAwsjson11_deserializeOpDescribeInferenceRecommendationsJob) HandleDe return out, metadata, err } - err = awsAwsjson11_deserializeOpDocumentDescribeInferenceRecommendationsJobOutput(&output, shape) + err = awsAwsjson11_deserializeOpDocumentDescribeImageVersionOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -11992,7 +11992,7 @@ func (m *awsAwsjson11_deserializeOpDescribeInferenceRecommendationsJob) HandleDe return out, metadata, err } -func awsAwsjson11_deserializeOpErrorDescribeInferenceRecommendationsJob(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson11_deserializeOpErrorDescribeImageVersion(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -12046,14 +12046,14 @@ func awsAwsjson11_deserializeOpErrorDescribeInferenceRecommendationsJob(response } } -type awsAwsjson11_deserializeOpDescribeLabelingJob struct { +type awsAwsjson11_deserializeOpDescribeInferenceRecommendationsJob struct { } -func (*awsAwsjson11_deserializeOpDescribeLabelingJob) ID() string { +func (*awsAwsjson11_deserializeOpDescribeInferenceRecommendationsJob) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson11_deserializeOpDescribeLabelingJob) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson11_deserializeOpDescribeInferenceRecommendationsJob) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -12067,9 +12067,9 @@ func (m *awsAwsjson11_deserializeOpDescribeLabelingJob) HandleDeserialize(ctx co } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson11_deserializeOpErrorDescribeLabelingJob(response, &metadata) + return out, metadata, awsAwsjson11_deserializeOpErrorDescribeInferenceRecommendationsJob(response, &metadata) } - output := &DescribeLabelingJobOutput{} + output := &DescribeInferenceRecommendationsJobOutput{} out.Result = output var buff [1024]byte @@ -12089,7 +12089,7 @@ func (m *awsAwsjson11_deserializeOpDescribeLabelingJob) HandleDeserialize(ctx co return out, metadata, err } - err = awsAwsjson11_deserializeOpDocumentDescribeLabelingJobOutput(&output, shape) + err = awsAwsjson11_deserializeOpDocumentDescribeInferenceRecommendationsJobOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -12103,7 +12103,7 @@ func (m *awsAwsjson11_deserializeOpDescribeLabelingJob) HandleDeserialize(ctx co return out, metadata, err } -func awsAwsjson11_deserializeOpErrorDescribeLabelingJob(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson11_deserializeOpErrorDescribeInferenceRecommendationsJob(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -12157,14 +12157,14 @@ func awsAwsjson11_deserializeOpErrorDescribeLabelingJob(response *smithyhttp.Res } } -type awsAwsjson11_deserializeOpDescribeLineageGroup struct { +type awsAwsjson11_deserializeOpDescribeLabelingJob struct { } -func (*awsAwsjson11_deserializeOpDescribeLineageGroup) ID() string { +func (*awsAwsjson11_deserializeOpDescribeLabelingJob) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson11_deserializeOpDescribeLineageGroup) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson11_deserializeOpDescribeLabelingJob) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -12178,9 +12178,9 @@ func (m *awsAwsjson11_deserializeOpDescribeLineageGroup) HandleDeserialize(ctx c } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson11_deserializeOpErrorDescribeLineageGroup(response, &metadata) + return out, metadata, awsAwsjson11_deserializeOpErrorDescribeLabelingJob(response, &metadata) } - output := &DescribeLineageGroupOutput{} + output := &DescribeLabelingJobOutput{} out.Result = output var buff [1024]byte @@ -12200,7 +12200,7 @@ func (m *awsAwsjson11_deserializeOpDescribeLineageGroup) HandleDeserialize(ctx c return out, metadata, err } - err = awsAwsjson11_deserializeOpDocumentDescribeLineageGroupOutput(&output, shape) + err = awsAwsjson11_deserializeOpDocumentDescribeLabelingJobOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -12214,7 +12214,7 @@ func (m *awsAwsjson11_deserializeOpDescribeLineageGroup) HandleDeserialize(ctx c return out, metadata, err } -func awsAwsjson11_deserializeOpErrorDescribeLineageGroup(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson11_deserializeOpErrorDescribeLabelingJob(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -12268,122 +12268,14 @@ func awsAwsjson11_deserializeOpErrorDescribeLineageGroup(response *smithyhttp.Re } } -type awsAwsjson11_deserializeOpDescribeModel struct { -} - -func (*awsAwsjson11_deserializeOpDescribeModel) ID() string { - return "OperationDeserializer" -} - -func (m *awsAwsjson11_deserializeOpDescribeModel) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( - out middleware.DeserializeOutput, metadata middleware.Metadata, err error, -) { - out, metadata, err = next.HandleDeserialize(ctx, in) - if err != nil { - return out, metadata, err - } - - response, ok := out.RawResponse.(*smithyhttp.Response) - if !ok { - return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} - } - - if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson11_deserializeOpErrorDescribeModel(response, &metadata) - } - output := &DescribeModelOutput{} - out.Result = output - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(response.Body, ringBuffer) - decoder := json.NewDecoder(body) - decoder.UseNumber() - var shape interface{} - if err := decoder.Decode(&shape); err != nil && err != io.EOF { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return out, metadata, err - } - - err = awsAwsjson11_deserializeOpDocumentDescribeModelOutput(&output, shape) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return out, metadata, err - } - - return out, metadata, err -} - -func awsAwsjson11_deserializeOpErrorDescribeModel(response *smithyhttp.Response, metadata *middleware.Metadata) error { - var errorBuffer bytes.Buffer - if _, err := io.Copy(&errorBuffer, response.Body); err != nil { - return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} - } - errorBody := bytes.NewReader(errorBuffer.Bytes()) - - errorCode := "UnknownError" - errorMessage := errorCode - - code := response.Header.Get("X-Amzn-ErrorType") - if len(code) != 0 { - errorCode = restjson.SanitizeErrorCode(code) - } - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(errorBody, ringBuffer) - decoder := json.NewDecoder(body) - decoder.UseNumber() - code, message, err := restjson.GetErrorInfo(decoder) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err - } - - errorBody.Seek(0, io.SeekStart) - if len(code) != 0 { - errorCode = restjson.SanitizeErrorCode(code) - } - if len(message) != 0 { - errorMessage = message - } - - switch { - default: - genericError := &smithy.GenericAPIError{ - Code: errorCode, - Message: errorMessage, - } - return genericError - - } -} - -type awsAwsjson11_deserializeOpDescribeModelBiasJobDefinition struct { +type awsAwsjson11_deserializeOpDescribeLineageGroup struct { } -func (*awsAwsjson11_deserializeOpDescribeModelBiasJobDefinition) ID() string { +func (*awsAwsjson11_deserializeOpDescribeLineageGroup) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson11_deserializeOpDescribeModelBiasJobDefinition) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson11_deserializeOpDescribeLineageGroup) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -12397,9 +12289,9 @@ func (m *awsAwsjson11_deserializeOpDescribeModelBiasJobDefinition) HandleDeseria } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson11_deserializeOpErrorDescribeModelBiasJobDefinition(response, &metadata) + return out, metadata, awsAwsjson11_deserializeOpErrorDescribeLineageGroup(response, &metadata) } - output := &DescribeModelBiasJobDefinitionOutput{} + output := &DescribeLineageGroupOutput{} out.Result = output var buff [1024]byte @@ -12419,7 +12311,7 @@ func (m *awsAwsjson11_deserializeOpDescribeModelBiasJobDefinition) HandleDeseria return out, metadata, err } - err = awsAwsjson11_deserializeOpDocumentDescribeModelBiasJobDefinitionOutput(&output, shape) + err = awsAwsjson11_deserializeOpDocumentDescribeLineageGroupOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -12433,7 +12325,7 @@ func (m *awsAwsjson11_deserializeOpDescribeModelBiasJobDefinition) HandleDeseria return out, metadata, err } -func awsAwsjson11_deserializeOpErrorDescribeModelBiasJobDefinition(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson11_deserializeOpErrorDescribeLineageGroup(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -12487,14 +12379,14 @@ func awsAwsjson11_deserializeOpErrorDescribeModelBiasJobDefinition(response *smi } } -type awsAwsjson11_deserializeOpDescribeModelExplainabilityJobDefinition struct { +type awsAwsjson11_deserializeOpDescribeModel struct { } -func (*awsAwsjson11_deserializeOpDescribeModelExplainabilityJobDefinition) ID() string { +func (*awsAwsjson11_deserializeOpDescribeModel) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson11_deserializeOpDescribeModelExplainabilityJobDefinition) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson11_deserializeOpDescribeModel) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -12508,9 +12400,9 @@ func (m *awsAwsjson11_deserializeOpDescribeModelExplainabilityJobDefinition) Han } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson11_deserializeOpErrorDescribeModelExplainabilityJobDefinition(response, &metadata) + return out, metadata, awsAwsjson11_deserializeOpErrorDescribeModel(response, &metadata) } - output := &DescribeModelExplainabilityJobDefinitionOutput{} + output := &DescribeModelOutput{} out.Result = output var buff [1024]byte @@ -12530,7 +12422,7 @@ func (m *awsAwsjson11_deserializeOpDescribeModelExplainabilityJobDefinition) Han return out, metadata, err } - err = awsAwsjson11_deserializeOpDocumentDescribeModelExplainabilityJobDefinitionOutput(&output, shape) + err = awsAwsjson11_deserializeOpDocumentDescribeModelOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -12544,7 +12436,7 @@ func (m *awsAwsjson11_deserializeOpDescribeModelExplainabilityJobDefinition) Han return out, metadata, err } -func awsAwsjson11_deserializeOpErrorDescribeModelExplainabilityJobDefinition(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson11_deserializeOpErrorDescribeModel(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -12585,9 +12477,6 @@ func awsAwsjson11_deserializeOpErrorDescribeModelExplainabilityJobDefinition(res } switch { - case strings.EqualFold("ResourceNotFound", errorCode): - return awsAwsjson11_deserializeErrorResourceNotFound(response, errorBody) - default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -12598,14 +12487,14 @@ func awsAwsjson11_deserializeOpErrorDescribeModelExplainabilityJobDefinition(res } } -type awsAwsjson11_deserializeOpDescribeModelPackage struct { +type awsAwsjson11_deserializeOpDescribeModelBiasJobDefinition struct { } -func (*awsAwsjson11_deserializeOpDescribeModelPackage) ID() string { +func (*awsAwsjson11_deserializeOpDescribeModelBiasJobDefinition) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson11_deserializeOpDescribeModelPackage) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson11_deserializeOpDescribeModelBiasJobDefinition) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -12619,9 +12508,9 @@ func (m *awsAwsjson11_deserializeOpDescribeModelPackage) HandleDeserialize(ctx c } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson11_deserializeOpErrorDescribeModelPackage(response, &metadata) + return out, metadata, awsAwsjson11_deserializeOpErrorDescribeModelBiasJobDefinition(response, &metadata) } - output := &DescribeModelPackageOutput{} + output := &DescribeModelBiasJobDefinitionOutput{} out.Result = output var buff [1024]byte @@ -12641,7 +12530,7 @@ func (m *awsAwsjson11_deserializeOpDescribeModelPackage) HandleDeserialize(ctx c return out, metadata, err } - err = awsAwsjson11_deserializeOpDocumentDescribeModelPackageOutput(&output, shape) + err = awsAwsjson11_deserializeOpDocumentDescribeModelBiasJobDefinitionOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -12655,7 +12544,7 @@ func (m *awsAwsjson11_deserializeOpDescribeModelPackage) HandleDeserialize(ctx c return out, metadata, err } -func awsAwsjson11_deserializeOpErrorDescribeModelPackage(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson11_deserializeOpErrorDescribeModelBiasJobDefinition(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -12696,6 +12585,9 @@ func awsAwsjson11_deserializeOpErrorDescribeModelPackage(response *smithyhttp.Re } switch { + case strings.EqualFold("ResourceNotFound", errorCode): + return awsAwsjson11_deserializeErrorResourceNotFound(response, errorBody) + default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -12706,14 +12598,14 @@ func awsAwsjson11_deserializeOpErrorDescribeModelPackage(response *smithyhttp.Re } } -type awsAwsjson11_deserializeOpDescribeModelPackageGroup struct { +type awsAwsjson11_deserializeOpDescribeModelExplainabilityJobDefinition struct { } -func (*awsAwsjson11_deserializeOpDescribeModelPackageGroup) ID() string { +func (*awsAwsjson11_deserializeOpDescribeModelExplainabilityJobDefinition) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson11_deserializeOpDescribeModelPackageGroup) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson11_deserializeOpDescribeModelExplainabilityJobDefinition) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -12727,9 +12619,9 @@ func (m *awsAwsjson11_deserializeOpDescribeModelPackageGroup) HandleDeserialize( } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson11_deserializeOpErrorDescribeModelPackageGroup(response, &metadata) + return out, metadata, awsAwsjson11_deserializeOpErrorDescribeModelExplainabilityJobDefinition(response, &metadata) } - output := &DescribeModelPackageGroupOutput{} + output := &DescribeModelExplainabilityJobDefinitionOutput{} out.Result = output var buff [1024]byte @@ -12749,7 +12641,7 @@ func (m *awsAwsjson11_deserializeOpDescribeModelPackageGroup) HandleDeserialize( return out, metadata, err } - err = awsAwsjson11_deserializeOpDocumentDescribeModelPackageGroupOutput(&output, shape) + err = awsAwsjson11_deserializeOpDocumentDescribeModelExplainabilityJobDefinitionOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -12763,7 +12655,7 @@ func (m *awsAwsjson11_deserializeOpDescribeModelPackageGroup) HandleDeserialize( return out, metadata, err } -func awsAwsjson11_deserializeOpErrorDescribeModelPackageGroup(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson11_deserializeOpErrorDescribeModelExplainabilityJobDefinition(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -12804,6 +12696,9 @@ func awsAwsjson11_deserializeOpErrorDescribeModelPackageGroup(response *smithyht } switch { + case strings.EqualFold("ResourceNotFound", errorCode): + return awsAwsjson11_deserializeErrorResourceNotFound(response, errorBody) + default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -12814,14 +12709,14 @@ func awsAwsjson11_deserializeOpErrorDescribeModelPackageGroup(response *smithyht } } -type awsAwsjson11_deserializeOpDescribeModelQualityJobDefinition struct { +type awsAwsjson11_deserializeOpDescribeModelPackage struct { } -func (*awsAwsjson11_deserializeOpDescribeModelQualityJobDefinition) ID() string { +func (*awsAwsjson11_deserializeOpDescribeModelPackage) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson11_deserializeOpDescribeModelQualityJobDefinition) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson11_deserializeOpDescribeModelPackage) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -12835,9 +12730,9 @@ func (m *awsAwsjson11_deserializeOpDescribeModelQualityJobDefinition) HandleDese } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson11_deserializeOpErrorDescribeModelQualityJobDefinition(response, &metadata) + return out, metadata, awsAwsjson11_deserializeOpErrorDescribeModelPackage(response, &metadata) } - output := &DescribeModelQualityJobDefinitionOutput{} + output := &DescribeModelPackageOutput{} out.Result = output var buff [1024]byte @@ -12857,7 +12752,7 @@ func (m *awsAwsjson11_deserializeOpDescribeModelQualityJobDefinition) HandleDese return out, metadata, err } - err = awsAwsjson11_deserializeOpDocumentDescribeModelQualityJobDefinitionOutput(&output, shape) + err = awsAwsjson11_deserializeOpDocumentDescribeModelPackageOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -12871,7 +12766,7 @@ func (m *awsAwsjson11_deserializeOpDescribeModelQualityJobDefinition) HandleDese return out, metadata, err } -func awsAwsjson11_deserializeOpErrorDescribeModelQualityJobDefinition(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson11_deserializeOpErrorDescribeModelPackage(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -12912,9 +12807,114 @@ func awsAwsjson11_deserializeOpErrorDescribeModelQualityJobDefinition(response * } switch { - case strings.EqualFold("ResourceNotFound", errorCode): - return awsAwsjson11_deserializeErrorResourceNotFound(response, errorBody) + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + } +} + +type awsAwsjson11_deserializeOpDescribeModelPackageGroup struct { +} + +func (*awsAwsjson11_deserializeOpDescribeModelPackageGroup) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsjson11_deserializeOpDescribeModelPackageGroup) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsjson11_deserializeOpErrorDescribeModelPackageGroup(response, &metadata) + } + output := &DescribeModelPackageGroupOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsAwsjson11_deserializeOpDocumentDescribeModelPackageGroupOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err +} + +func awsAwsjson11_deserializeOpErrorDescribeModelPackageGroup(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -12925,14 +12925,14 @@ func awsAwsjson11_deserializeOpErrorDescribeModelQualityJobDefinition(response * } } -type awsAwsjson11_deserializeOpDescribeMonitoringSchedule struct { +type awsAwsjson11_deserializeOpDescribeModelQualityJobDefinition struct { } -func (*awsAwsjson11_deserializeOpDescribeMonitoringSchedule) ID() string { +func (*awsAwsjson11_deserializeOpDescribeModelQualityJobDefinition) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson11_deserializeOpDescribeMonitoringSchedule) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson11_deserializeOpDescribeModelQualityJobDefinition) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -12946,9 +12946,9 @@ func (m *awsAwsjson11_deserializeOpDescribeMonitoringSchedule) HandleDeserialize } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson11_deserializeOpErrorDescribeMonitoringSchedule(response, &metadata) + return out, metadata, awsAwsjson11_deserializeOpErrorDescribeModelQualityJobDefinition(response, &metadata) } - output := &DescribeMonitoringScheduleOutput{} + output := &DescribeModelQualityJobDefinitionOutput{} out.Result = output var buff [1024]byte @@ -12968,7 +12968,7 @@ func (m *awsAwsjson11_deserializeOpDescribeMonitoringSchedule) HandleDeserialize return out, metadata, err } - err = awsAwsjson11_deserializeOpDocumentDescribeMonitoringScheduleOutput(&output, shape) + err = awsAwsjson11_deserializeOpDocumentDescribeModelQualityJobDefinitionOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -12982,7 +12982,7 @@ func (m *awsAwsjson11_deserializeOpDescribeMonitoringSchedule) HandleDeserialize return out, metadata, err } -func awsAwsjson11_deserializeOpErrorDescribeMonitoringSchedule(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson11_deserializeOpErrorDescribeModelQualityJobDefinition(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -13036,14 +13036,14 @@ func awsAwsjson11_deserializeOpErrorDescribeMonitoringSchedule(response *smithyh } } -type awsAwsjson11_deserializeOpDescribeNotebookInstance struct { +type awsAwsjson11_deserializeOpDescribeMonitoringSchedule struct { } -func (*awsAwsjson11_deserializeOpDescribeNotebookInstance) ID() string { +func (*awsAwsjson11_deserializeOpDescribeMonitoringSchedule) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson11_deserializeOpDescribeNotebookInstance) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson11_deserializeOpDescribeMonitoringSchedule) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -13057,9 +13057,9 @@ func (m *awsAwsjson11_deserializeOpDescribeNotebookInstance) HandleDeserialize(c } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson11_deserializeOpErrorDescribeNotebookInstance(response, &metadata) + return out, metadata, awsAwsjson11_deserializeOpErrorDescribeMonitoringSchedule(response, &metadata) } - output := &DescribeNotebookInstanceOutput{} + output := &DescribeMonitoringScheduleOutput{} out.Result = output var buff [1024]byte @@ -13079,7 +13079,7 @@ func (m *awsAwsjson11_deserializeOpDescribeNotebookInstance) HandleDeserialize(c return out, metadata, err } - err = awsAwsjson11_deserializeOpDocumentDescribeNotebookInstanceOutput(&output, shape) + err = awsAwsjson11_deserializeOpDocumentDescribeMonitoringScheduleOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -13093,7 +13093,7 @@ func (m *awsAwsjson11_deserializeOpDescribeNotebookInstance) HandleDeserialize(c return out, metadata, err } -func awsAwsjson11_deserializeOpErrorDescribeNotebookInstance(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson11_deserializeOpErrorDescribeMonitoringSchedule(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -13134,6 +13134,9 @@ func awsAwsjson11_deserializeOpErrorDescribeNotebookInstance(response *smithyhtt } switch { + case strings.EqualFold("ResourceNotFound", errorCode): + return awsAwsjson11_deserializeErrorResourceNotFound(response, errorBody) + default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -13144,14 +13147,14 @@ func awsAwsjson11_deserializeOpErrorDescribeNotebookInstance(response *smithyhtt } } -type awsAwsjson11_deserializeOpDescribeNotebookInstanceLifecycleConfig struct { +type awsAwsjson11_deserializeOpDescribeNotebookInstance struct { } -func (*awsAwsjson11_deserializeOpDescribeNotebookInstanceLifecycleConfig) ID() string { +func (*awsAwsjson11_deserializeOpDescribeNotebookInstance) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson11_deserializeOpDescribeNotebookInstanceLifecycleConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson11_deserializeOpDescribeNotebookInstance) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -13165,9 +13168,9 @@ func (m *awsAwsjson11_deserializeOpDescribeNotebookInstanceLifecycleConfig) Hand } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson11_deserializeOpErrorDescribeNotebookInstanceLifecycleConfig(response, &metadata) + return out, metadata, awsAwsjson11_deserializeOpErrorDescribeNotebookInstance(response, &metadata) } - output := &DescribeNotebookInstanceLifecycleConfigOutput{} + output := &DescribeNotebookInstanceOutput{} out.Result = output var buff [1024]byte @@ -13187,7 +13190,7 @@ func (m *awsAwsjson11_deserializeOpDescribeNotebookInstanceLifecycleConfig) Hand return out, metadata, err } - err = awsAwsjson11_deserializeOpDocumentDescribeNotebookInstanceLifecycleConfigOutput(&output, shape) + err = awsAwsjson11_deserializeOpDocumentDescribeNotebookInstanceOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -13201,7 +13204,7 @@ func (m *awsAwsjson11_deserializeOpDescribeNotebookInstanceLifecycleConfig) Hand return out, metadata, err } -func awsAwsjson11_deserializeOpErrorDescribeNotebookInstanceLifecycleConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson11_deserializeOpErrorDescribeNotebookInstance(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -13252,14 +13255,14 @@ func awsAwsjson11_deserializeOpErrorDescribeNotebookInstanceLifecycleConfig(resp } } -type awsAwsjson11_deserializeOpDescribePipeline struct { +type awsAwsjson11_deserializeOpDescribeNotebookInstanceLifecycleConfig struct { } -func (*awsAwsjson11_deserializeOpDescribePipeline) ID() string { +func (*awsAwsjson11_deserializeOpDescribeNotebookInstanceLifecycleConfig) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson11_deserializeOpDescribePipeline) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson11_deserializeOpDescribeNotebookInstanceLifecycleConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -13273,9 +13276,9 @@ func (m *awsAwsjson11_deserializeOpDescribePipeline) HandleDeserialize(ctx conte } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson11_deserializeOpErrorDescribePipeline(response, &metadata) + return out, metadata, awsAwsjson11_deserializeOpErrorDescribeNotebookInstanceLifecycleConfig(response, &metadata) } - output := &DescribePipelineOutput{} + output := &DescribeNotebookInstanceLifecycleConfigOutput{} out.Result = output var buff [1024]byte @@ -13295,7 +13298,7 @@ func (m *awsAwsjson11_deserializeOpDescribePipeline) HandleDeserialize(ctx conte return out, metadata, err } - err = awsAwsjson11_deserializeOpDocumentDescribePipelineOutput(&output, shape) + err = awsAwsjson11_deserializeOpDocumentDescribeNotebookInstanceLifecycleConfigOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -13309,7 +13312,7 @@ func (m *awsAwsjson11_deserializeOpDescribePipeline) HandleDeserialize(ctx conte return out, metadata, err } -func awsAwsjson11_deserializeOpErrorDescribePipeline(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson11_deserializeOpErrorDescribeNotebookInstanceLifecycleConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -13350,9 +13353,6 @@ func awsAwsjson11_deserializeOpErrorDescribePipeline(response *smithyhttp.Respon } switch { - case strings.EqualFold("ResourceNotFound", errorCode): - return awsAwsjson11_deserializeErrorResourceNotFound(response, errorBody) - default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -13363,14 +13363,14 @@ func awsAwsjson11_deserializeOpErrorDescribePipeline(response *smithyhttp.Respon } } -type awsAwsjson11_deserializeOpDescribePipelineDefinitionForExecution struct { +type awsAwsjson11_deserializeOpDescribePipeline struct { } -func (*awsAwsjson11_deserializeOpDescribePipelineDefinitionForExecution) ID() string { +func (*awsAwsjson11_deserializeOpDescribePipeline) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson11_deserializeOpDescribePipelineDefinitionForExecution) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson11_deserializeOpDescribePipeline) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -13384,9 +13384,9 @@ func (m *awsAwsjson11_deserializeOpDescribePipelineDefinitionForExecution) Handl } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson11_deserializeOpErrorDescribePipelineDefinitionForExecution(response, &metadata) + return out, metadata, awsAwsjson11_deserializeOpErrorDescribePipeline(response, &metadata) } - output := &DescribePipelineDefinitionForExecutionOutput{} + output := &DescribePipelineOutput{} out.Result = output var buff [1024]byte @@ -13406,7 +13406,7 @@ func (m *awsAwsjson11_deserializeOpDescribePipelineDefinitionForExecution) Handl return out, metadata, err } - err = awsAwsjson11_deserializeOpDocumentDescribePipelineDefinitionForExecutionOutput(&output, shape) + err = awsAwsjson11_deserializeOpDocumentDescribePipelineOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -13420,7 +13420,7 @@ func (m *awsAwsjson11_deserializeOpDescribePipelineDefinitionForExecution) Handl return out, metadata, err } -func awsAwsjson11_deserializeOpErrorDescribePipelineDefinitionForExecution(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson11_deserializeOpErrorDescribePipeline(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -13474,14 +13474,14 @@ func awsAwsjson11_deserializeOpErrorDescribePipelineDefinitionForExecution(respo } } -type awsAwsjson11_deserializeOpDescribePipelineExecution struct { +type awsAwsjson11_deserializeOpDescribePipelineDefinitionForExecution struct { } -func (*awsAwsjson11_deserializeOpDescribePipelineExecution) ID() string { +func (*awsAwsjson11_deserializeOpDescribePipelineDefinitionForExecution) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson11_deserializeOpDescribePipelineExecution) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson11_deserializeOpDescribePipelineDefinitionForExecution) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -13495,9 +13495,9 @@ func (m *awsAwsjson11_deserializeOpDescribePipelineExecution) HandleDeserialize( } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson11_deserializeOpErrorDescribePipelineExecution(response, &metadata) + return out, metadata, awsAwsjson11_deserializeOpErrorDescribePipelineDefinitionForExecution(response, &metadata) } - output := &DescribePipelineExecutionOutput{} + output := &DescribePipelineDefinitionForExecutionOutput{} out.Result = output var buff [1024]byte @@ -13517,7 +13517,7 @@ func (m *awsAwsjson11_deserializeOpDescribePipelineExecution) HandleDeserialize( return out, metadata, err } - err = awsAwsjson11_deserializeOpDocumentDescribePipelineExecutionOutput(&output, shape) + err = awsAwsjson11_deserializeOpDocumentDescribePipelineDefinitionForExecutionOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -13531,7 +13531,7 @@ func (m *awsAwsjson11_deserializeOpDescribePipelineExecution) HandleDeserialize( return out, metadata, err } -func awsAwsjson11_deserializeOpErrorDescribePipelineExecution(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson11_deserializeOpErrorDescribePipelineDefinitionForExecution(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -13585,14 +13585,14 @@ func awsAwsjson11_deserializeOpErrorDescribePipelineExecution(response *smithyht } } -type awsAwsjson11_deserializeOpDescribeProcessingJob struct { +type awsAwsjson11_deserializeOpDescribePipelineExecution struct { } -func (*awsAwsjson11_deserializeOpDescribeProcessingJob) ID() string { +func (*awsAwsjson11_deserializeOpDescribePipelineExecution) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson11_deserializeOpDescribeProcessingJob) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson11_deserializeOpDescribePipelineExecution) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -13606,9 +13606,9 @@ func (m *awsAwsjson11_deserializeOpDescribeProcessingJob) HandleDeserialize(ctx } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson11_deserializeOpErrorDescribeProcessingJob(response, &metadata) + return out, metadata, awsAwsjson11_deserializeOpErrorDescribePipelineExecution(response, &metadata) } - output := &DescribeProcessingJobOutput{} + output := &DescribePipelineExecutionOutput{} out.Result = output var buff [1024]byte @@ -13628,7 +13628,7 @@ func (m *awsAwsjson11_deserializeOpDescribeProcessingJob) HandleDeserialize(ctx return out, metadata, err } - err = awsAwsjson11_deserializeOpDocumentDescribeProcessingJobOutput(&output, shape) + err = awsAwsjson11_deserializeOpDocumentDescribePipelineExecutionOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -13642,7 +13642,7 @@ func (m *awsAwsjson11_deserializeOpDescribeProcessingJob) HandleDeserialize(ctx return out, metadata, err } -func awsAwsjson11_deserializeOpErrorDescribeProcessingJob(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson11_deserializeOpErrorDescribePipelineExecution(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -13696,14 +13696,14 @@ func awsAwsjson11_deserializeOpErrorDescribeProcessingJob(response *smithyhttp.R } } -type awsAwsjson11_deserializeOpDescribeProject struct { +type awsAwsjson11_deserializeOpDescribeProcessingJob struct { } -func (*awsAwsjson11_deserializeOpDescribeProject) ID() string { +func (*awsAwsjson11_deserializeOpDescribeProcessingJob) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson11_deserializeOpDescribeProject) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson11_deserializeOpDescribeProcessingJob) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -13717,9 +13717,9 @@ func (m *awsAwsjson11_deserializeOpDescribeProject) HandleDeserialize(ctx contex } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson11_deserializeOpErrorDescribeProject(response, &metadata) + return out, metadata, awsAwsjson11_deserializeOpErrorDescribeProcessingJob(response, &metadata) } - output := &DescribeProjectOutput{} + output := &DescribeProcessingJobOutput{} out.Result = output var buff [1024]byte @@ -13739,7 +13739,7 @@ func (m *awsAwsjson11_deserializeOpDescribeProject) HandleDeserialize(ctx contex return out, metadata, err } - err = awsAwsjson11_deserializeOpDocumentDescribeProjectOutput(&output, shape) + err = awsAwsjson11_deserializeOpDocumentDescribeProcessingJobOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -13753,115 +13753,7 @@ func (m *awsAwsjson11_deserializeOpDescribeProject) HandleDeserialize(ctx contex return out, metadata, err } -func awsAwsjson11_deserializeOpErrorDescribeProject(response *smithyhttp.Response, metadata *middleware.Metadata) error { - var errorBuffer bytes.Buffer - if _, err := io.Copy(&errorBuffer, response.Body); err != nil { - return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} - } - errorBody := bytes.NewReader(errorBuffer.Bytes()) - - errorCode := "UnknownError" - errorMessage := errorCode - - code := response.Header.Get("X-Amzn-ErrorType") - if len(code) != 0 { - errorCode = restjson.SanitizeErrorCode(code) - } - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(errorBody, ringBuffer) - decoder := json.NewDecoder(body) - decoder.UseNumber() - code, message, err := restjson.GetErrorInfo(decoder) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return err - } - - errorBody.Seek(0, io.SeekStart) - if len(code) != 0 { - errorCode = restjson.SanitizeErrorCode(code) - } - if len(message) != 0 { - errorMessage = message - } - - switch { - default: - genericError := &smithy.GenericAPIError{ - Code: errorCode, - Message: errorMessage, - } - return genericError - - } -} - -type awsAwsjson11_deserializeOpDescribeStudioLifecycleConfig struct { -} - -func (*awsAwsjson11_deserializeOpDescribeStudioLifecycleConfig) ID() string { - return "OperationDeserializer" -} - -func (m *awsAwsjson11_deserializeOpDescribeStudioLifecycleConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( - out middleware.DeserializeOutput, metadata middleware.Metadata, err error, -) { - out, metadata, err = next.HandleDeserialize(ctx, in) - if err != nil { - return out, metadata, err - } - - response, ok := out.RawResponse.(*smithyhttp.Response) - if !ok { - return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} - } - - if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson11_deserializeOpErrorDescribeStudioLifecycleConfig(response, &metadata) - } - output := &DescribeStudioLifecycleConfigOutput{} - out.Result = output - - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(response.Body, ringBuffer) - decoder := json.NewDecoder(body) - decoder.UseNumber() - var shape interface{} - if err := decoder.Decode(&shape); err != nil && err != io.EOF { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return out, metadata, err - } - - err = awsAwsjson11_deserializeOpDocumentDescribeStudioLifecycleConfigOutput(&output, shape) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return out, metadata, err - } - - return out, metadata, err -} - -func awsAwsjson11_deserializeOpErrorDescribeStudioLifecycleConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson11_deserializeOpErrorDescribeProcessingJob(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -13915,14 +13807,14 @@ func awsAwsjson11_deserializeOpErrorDescribeStudioLifecycleConfig(response *smit } } -type awsAwsjson11_deserializeOpDescribeSubscribedWorkteam struct { +type awsAwsjson11_deserializeOpDescribeProject struct { } -func (*awsAwsjson11_deserializeOpDescribeSubscribedWorkteam) ID() string { +func (*awsAwsjson11_deserializeOpDescribeProject) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson11_deserializeOpDescribeSubscribedWorkteam) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson11_deserializeOpDescribeProject) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -13936,9 +13828,9 @@ func (m *awsAwsjson11_deserializeOpDescribeSubscribedWorkteam) HandleDeserialize } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson11_deserializeOpErrorDescribeSubscribedWorkteam(response, &metadata) + return out, metadata, awsAwsjson11_deserializeOpErrorDescribeProject(response, &metadata) } - output := &DescribeSubscribedWorkteamOutput{} + output := &DescribeProjectOutput{} out.Result = output var buff [1024]byte @@ -13958,7 +13850,7 @@ func (m *awsAwsjson11_deserializeOpDescribeSubscribedWorkteam) HandleDeserialize return out, metadata, err } - err = awsAwsjson11_deserializeOpDocumentDescribeSubscribedWorkteamOutput(&output, shape) + err = awsAwsjson11_deserializeOpDocumentDescribeProjectOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -13972,7 +13864,7 @@ func (m *awsAwsjson11_deserializeOpDescribeSubscribedWorkteam) HandleDeserialize return out, metadata, err } -func awsAwsjson11_deserializeOpErrorDescribeSubscribedWorkteam(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson11_deserializeOpErrorDescribeProject(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -14023,14 +13915,14 @@ func awsAwsjson11_deserializeOpErrorDescribeSubscribedWorkteam(response *smithyh } } -type awsAwsjson11_deserializeOpDescribeTrainingJob struct { +type awsAwsjson11_deserializeOpDescribeStudioLifecycleConfig struct { } -func (*awsAwsjson11_deserializeOpDescribeTrainingJob) ID() string { +func (*awsAwsjson11_deserializeOpDescribeStudioLifecycleConfig) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson11_deserializeOpDescribeTrainingJob) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson11_deserializeOpDescribeStudioLifecycleConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -14044,9 +13936,9 @@ func (m *awsAwsjson11_deserializeOpDescribeTrainingJob) HandleDeserialize(ctx co } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson11_deserializeOpErrorDescribeTrainingJob(response, &metadata) + return out, metadata, awsAwsjson11_deserializeOpErrorDescribeStudioLifecycleConfig(response, &metadata) } - output := &DescribeTrainingJobOutput{} + output := &DescribeStudioLifecycleConfigOutput{} out.Result = output var buff [1024]byte @@ -14066,7 +13958,7 @@ func (m *awsAwsjson11_deserializeOpDescribeTrainingJob) HandleDeserialize(ctx co return out, metadata, err } - err = awsAwsjson11_deserializeOpDocumentDescribeTrainingJobOutput(&output, shape) + err = awsAwsjson11_deserializeOpDocumentDescribeStudioLifecycleConfigOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -14080,7 +13972,7 @@ func (m *awsAwsjson11_deserializeOpDescribeTrainingJob) HandleDeserialize(ctx co return out, metadata, err } -func awsAwsjson11_deserializeOpErrorDescribeTrainingJob(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson11_deserializeOpErrorDescribeStudioLifecycleConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -14134,14 +14026,14 @@ func awsAwsjson11_deserializeOpErrorDescribeTrainingJob(response *smithyhttp.Res } } -type awsAwsjson11_deserializeOpDescribeTransformJob struct { +type awsAwsjson11_deserializeOpDescribeSubscribedWorkteam struct { } -func (*awsAwsjson11_deserializeOpDescribeTransformJob) ID() string { +func (*awsAwsjson11_deserializeOpDescribeSubscribedWorkteam) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson11_deserializeOpDescribeTransformJob) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson11_deserializeOpDescribeSubscribedWorkteam) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -14155,9 +14047,9 @@ func (m *awsAwsjson11_deserializeOpDescribeTransformJob) HandleDeserialize(ctx c } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson11_deserializeOpErrorDescribeTransformJob(response, &metadata) + return out, metadata, awsAwsjson11_deserializeOpErrorDescribeSubscribedWorkteam(response, &metadata) } - output := &DescribeTransformJobOutput{} + output := &DescribeSubscribedWorkteamOutput{} out.Result = output var buff [1024]byte @@ -14177,7 +14069,7 @@ func (m *awsAwsjson11_deserializeOpDescribeTransformJob) HandleDeserialize(ctx c return out, metadata, err } - err = awsAwsjson11_deserializeOpDocumentDescribeTransformJobOutput(&output, shape) + err = awsAwsjson11_deserializeOpDocumentDescribeSubscribedWorkteamOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -14191,7 +14083,7 @@ func (m *awsAwsjson11_deserializeOpDescribeTransformJob) HandleDeserialize(ctx c return out, metadata, err } -func awsAwsjson11_deserializeOpErrorDescribeTransformJob(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson11_deserializeOpErrorDescribeSubscribedWorkteam(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -14232,9 +14124,6 @@ func awsAwsjson11_deserializeOpErrorDescribeTransformJob(response *smithyhttp.Re } switch { - case strings.EqualFold("ResourceNotFound", errorCode): - return awsAwsjson11_deserializeErrorResourceNotFound(response, errorBody) - default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -14245,14 +14134,14 @@ func awsAwsjson11_deserializeOpErrorDescribeTransformJob(response *smithyhttp.Re } } -type awsAwsjson11_deserializeOpDescribeTrial struct { +type awsAwsjson11_deserializeOpDescribeTrainingJob struct { } -func (*awsAwsjson11_deserializeOpDescribeTrial) ID() string { +func (*awsAwsjson11_deserializeOpDescribeTrainingJob) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson11_deserializeOpDescribeTrial) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson11_deserializeOpDescribeTrainingJob) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -14266,9 +14155,9 @@ func (m *awsAwsjson11_deserializeOpDescribeTrial) HandleDeserialize(ctx context. } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson11_deserializeOpErrorDescribeTrial(response, &metadata) + return out, metadata, awsAwsjson11_deserializeOpErrorDescribeTrainingJob(response, &metadata) } - output := &DescribeTrialOutput{} + output := &DescribeTrainingJobOutput{} out.Result = output var buff [1024]byte @@ -14288,7 +14177,7 @@ func (m *awsAwsjson11_deserializeOpDescribeTrial) HandleDeserialize(ctx context. return out, metadata, err } - err = awsAwsjson11_deserializeOpDocumentDescribeTrialOutput(&output, shape) + err = awsAwsjson11_deserializeOpDocumentDescribeTrainingJobOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -14302,7 +14191,7 @@ func (m *awsAwsjson11_deserializeOpDescribeTrial) HandleDeserialize(ctx context. return out, metadata, err } -func awsAwsjson11_deserializeOpErrorDescribeTrial(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson11_deserializeOpErrorDescribeTrainingJob(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -14356,14 +14245,14 @@ func awsAwsjson11_deserializeOpErrorDescribeTrial(response *smithyhttp.Response, } } -type awsAwsjson11_deserializeOpDescribeTrialComponent struct { +type awsAwsjson11_deserializeOpDescribeTransformJob struct { } -func (*awsAwsjson11_deserializeOpDescribeTrialComponent) ID() string { +func (*awsAwsjson11_deserializeOpDescribeTransformJob) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson11_deserializeOpDescribeTrialComponent) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson11_deserializeOpDescribeTransformJob) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -14377,9 +14266,9 @@ func (m *awsAwsjson11_deserializeOpDescribeTrialComponent) HandleDeserialize(ctx } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson11_deserializeOpErrorDescribeTrialComponent(response, &metadata) + return out, metadata, awsAwsjson11_deserializeOpErrorDescribeTransformJob(response, &metadata) } - output := &DescribeTrialComponentOutput{} + output := &DescribeTransformJobOutput{} out.Result = output var buff [1024]byte @@ -14399,7 +14288,7 @@ func (m *awsAwsjson11_deserializeOpDescribeTrialComponent) HandleDeserialize(ctx return out, metadata, err } - err = awsAwsjson11_deserializeOpDocumentDescribeTrialComponentOutput(&output, shape) + err = awsAwsjson11_deserializeOpDocumentDescribeTransformJobOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -14413,7 +14302,7 @@ func (m *awsAwsjson11_deserializeOpDescribeTrialComponent) HandleDeserialize(ctx return out, metadata, err } -func awsAwsjson11_deserializeOpErrorDescribeTrialComponent(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson11_deserializeOpErrorDescribeTransformJob(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -14467,14 +14356,14 @@ func awsAwsjson11_deserializeOpErrorDescribeTrialComponent(response *smithyhttp. } } -type awsAwsjson11_deserializeOpDescribeUserProfile struct { +type awsAwsjson11_deserializeOpDescribeTrial struct { } -func (*awsAwsjson11_deserializeOpDescribeUserProfile) ID() string { +func (*awsAwsjson11_deserializeOpDescribeTrial) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson11_deserializeOpDescribeUserProfile) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson11_deserializeOpDescribeTrial) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -14488,9 +14377,9 @@ func (m *awsAwsjson11_deserializeOpDescribeUserProfile) HandleDeserialize(ctx co } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson11_deserializeOpErrorDescribeUserProfile(response, &metadata) + return out, metadata, awsAwsjson11_deserializeOpErrorDescribeTrial(response, &metadata) } - output := &DescribeUserProfileOutput{} + output := &DescribeTrialOutput{} out.Result = output var buff [1024]byte @@ -14510,7 +14399,7 @@ func (m *awsAwsjson11_deserializeOpDescribeUserProfile) HandleDeserialize(ctx co return out, metadata, err } - err = awsAwsjson11_deserializeOpDocumentDescribeUserProfileOutput(&output, shape) + err = awsAwsjson11_deserializeOpDocumentDescribeTrialOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -14524,7 +14413,7 @@ func (m *awsAwsjson11_deserializeOpDescribeUserProfile) HandleDeserialize(ctx co return out, metadata, err } -func awsAwsjson11_deserializeOpErrorDescribeUserProfile(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson11_deserializeOpErrorDescribeTrial(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -14578,14 +14467,14 @@ func awsAwsjson11_deserializeOpErrorDescribeUserProfile(response *smithyhttp.Res } } -type awsAwsjson11_deserializeOpDescribeWorkforce struct { +type awsAwsjson11_deserializeOpDescribeTrialComponent struct { } -func (*awsAwsjson11_deserializeOpDescribeWorkforce) ID() string { +func (*awsAwsjson11_deserializeOpDescribeTrialComponent) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson11_deserializeOpDescribeWorkforce) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson11_deserializeOpDescribeTrialComponent) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -14599,9 +14488,9 @@ func (m *awsAwsjson11_deserializeOpDescribeWorkforce) HandleDeserialize(ctx cont } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson11_deserializeOpErrorDescribeWorkforce(response, &metadata) + return out, metadata, awsAwsjson11_deserializeOpErrorDescribeTrialComponent(response, &metadata) } - output := &DescribeWorkforceOutput{} + output := &DescribeTrialComponentOutput{} out.Result = output var buff [1024]byte @@ -14621,7 +14510,7 @@ func (m *awsAwsjson11_deserializeOpDescribeWorkforce) HandleDeserialize(ctx cont return out, metadata, err } - err = awsAwsjson11_deserializeOpDocumentDescribeWorkforceOutput(&output, shape) + err = awsAwsjson11_deserializeOpDocumentDescribeTrialComponentOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -14635,7 +14524,7 @@ func (m *awsAwsjson11_deserializeOpDescribeWorkforce) HandleDeserialize(ctx cont return out, metadata, err } -func awsAwsjson11_deserializeOpErrorDescribeWorkforce(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson11_deserializeOpErrorDescribeTrialComponent(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -14676,6 +14565,9 @@ func awsAwsjson11_deserializeOpErrorDescribeWorkforce(response *smithyhttp.Respo } switch { + case strings.EqualFold("ResourceNotFound", errorCode): + return awsAwsjson11_deserializeErrorResourceNotFound(response, errorBody) + default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -14686,14 +14578,14 @@ func awsAwsjson11_deserializeOpErrorDescribeWorkforce(response *smithyhttp.Respo } } -type awsAwsjson11_deserializeOpDescribeWorkteam struct { +type awsAwsjson11_deserializeOpDescribeUserProfile struct { } -func (*awsAwsjson11_deserializeOpDescribeWorkteam) ID() string { +func (*awsAwsjson11_deserializeOpDescribeUserProfile) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson11_deserializeOpDescribeWorkteam) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson11_deserializeOpDescribeUserProfile) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -14707,9 +14599,9 @@ func (m *awsAwsjson11_deserializeOpDescribeWorkteam) HandleDeserialize(ctx conte } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson11_deserializeOpErrorDescribeWorkteam(response, &metadata) + return out, metadata, awsAwsjson11_deserializeOpErrorDescribeUserProfile(response, &metadata) } - output := &DescribeWorkteamOutput{} + output := &DescribeUserProfileOutput{} out.Result = output var buff [1024]byte @@ -14729,7 +14621,7 @@ func (m *awsAwsjson11_deserializeOpDescribeWorkteam) HandleDeserialize(ctx conte return out, metadata, err } - err = awsAwsjson11_deserializeOpDocumentDescribeWorkteamOutput(&output, shape) + err = awsAwsjson11_deserializeOpDocumentDescribeUserProfileOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -14743,7 +14635,7 @@ func (m *awsAwsjson11_deserializeOpDescribeWorkteam) HandleDeserialize(ctx conte return out, metadata, err } -func awsAwsjson11_deserializeOpErrorDescribeWorkteam(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson11_deserializeOpErrorDescribeUserProfile(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -14784,6 +14676,9 @@ func awsAwsjson11_deserializeOpErrorDescribeWorkteam(response *smithyhttp.Respon } switch { + case strings.EqualFold("ResourceNotFound", errorCode): + return awsAwsjson11_deserializeErrorResourceNotFound(response, errorBody) + default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -14794,14 +14689,14 @@ func awsAwsjson11_deserializeOpErrorDescribeWorkteam(response *smithyhttp.Respon } } -type awsAwsjson11_deserializeOpDisableSagemakerServicecatalogPortfolio struct { +type awsAwsjson11_deserializeOpDescribeWorkforce struct { } -func (*awsAwsjson11_deserializeOpDisableSagemakerServicecatalogPortfolio) ID() string { +func (*awsAwsjson11_deserializeOpDescribeWorkforce) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson11_deserializeOpDisableSagemakerServicecatalogPortfolio) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson11_deserializeOpDescribeWorkforce) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -14815,9 +14710,9 @@ func (m *awsAwsjson11_deserializeOpDisableSagemakerServicecatalogPortfolio) Hand } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson11_deserializeOpErrorDisableSagemakerServicecatalogPortfolio(response, &metadata) + return out, metadata, awsAwsjson11_deserializeOpErrorDescribeWorkforce(response, &metadata) } - output := &DisableSagemakerServicecatalogPortfolioOutput{} + output := &DescribeWorkforceOutput{} out.Result = output var buff [1024]byte @@ -14837,7 +14732,7 @@ func (m *awsAwsjson11_deserializeOpDisableSagemakerServicecatalogPortfolio) Hand return out, metadata, err } - err = awsAwsjson11_deserializeOpDocumentDisableSagemakerServicecatalogPortfolioOutput(&output, shape) + err = awsAwsjson11_deserializeOpDocumentDescribeWorkforceOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -14851,7 +14746,7 @@ func (m *awsAwsjson11_deserializeOpDisableSagemakerServicecatalogPortfolio) Hand return out, metadata, err } -func awsAwsjson11_deserializeOpErrorDisableSagemakerServicecatalogPortfolio(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson11_deserializeOpErrorDescribeWorkforce(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -14902,14 +14797,14 @@ func awsAwsjson11_deserializeOpErrorDisableSagemakerServicecatalogPortfolio(resp } } -type awsAwsjson11_deserializeOpDisassociateTrialComponent struct { +type awsAwsjson11_deserializeOpDescribeWorkteam struct { } -func (*awsAwsjson11_deserializeOpDisassociateTrialComponent) ID() string { +func (*awsAwsjson11_deserializeOpDescribeWorkteam) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson11_deserializeOpDisassociateTrialComponent) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson11_deserializeOpDescribeWorkteam) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -14923,9 +14818,9 @@ func (m *awsAwsjson11_deserializeOpDisassociateTrialComponent) HandleDeserialize } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson11_deserializeOpErrorDisassociateTrialComponent(response, &metadata) + return out, metadata, awsAwsjson11_deserializeOpErrorDescribeWorkteam(response, &metadata) } - output := &DisassociateTrialComponentOutput{} + output := &DescribeWorkteamOutput{} out.Result = output var buff [1024]byte @@ -14945,7 +14840,7 @@ func (m *awsAwsjson11_deserializeOpDisassociateTrialComponent) HandleDeserialize return out, metadata, err } - err = awsAwsjson11_deserializeOpDocumentDisassociateTrialComponentOutput(&output, shape) + err = awsAwsjson11_deserializeOpDocumentDescribeWorkteamOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -14959,7 +14854,223 @@ func (m *awsAwsjson11_deserializeOpDisassociateTrialComponent) HandleDeserialize return out, metadata, err } -func awsAwsjson11_deserializeOpErrorDisassociateTrialComponent(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson11_deserializeOpErrorDescribeWorkteam(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsAwsjson11_deserializeOpDisableSagemakerServicecatalogPortfolio struct { +} + +func (*awsAwsjson11_deserializeOpDisableSagemakerServicecatalogPortfolio) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsjson11_deserializeOpDisableSagemakerServicecatalogPortfolio) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsjson11_deserializeOpErrorDisableSagemakerServicecatalogPortfolio(response, &metadata) + } + output := &DisableSagemakerServicecatalogPortfolioOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsAwsjson11_deserializeOpDocumentDisableSagemakerServicecatalogPortfolioOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err +} + +func awsAwsjson11_deserializeOpErrorDisableSagemakerServicecatalogPortfolio(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsAwsjson11_deserializeOpDisassociateTrialComponent struct { +} + +func (*awsAwsjson11_deserializeOpDisassociateTrialComponent) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsjson11_deserializeOpDisassociateTrialComponent) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsjson11_deserializeOpErrorDisassociateTrialComponent(response, &metadata) + } + output := &DisassociateTrialComponentOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsAwsjson11_deserializeOpDocumentDisassociateTrialComponentOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err +} + +func awsAwsjson11_deserializeOpErrorDisassociateTrialComponent(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -25299,14 +25410,14 @@ func awsAwsjson11_deserializeOpErrorUpdateExperiment(response *smithyhttp.Respon } } -type awsAwsjson11_deserializeOpUpdateImage struct { +type awsAwsjson11_deserializeOpUpdateFeatureGroup struct { } -func (*awsAwsjson11_deserializeOpUpdateImage) ID() string { +func (*awsAwsjson11_deserializeOpUpdateFeatureGroup) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson11_deserializeOpUpdateImage) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson11_deserializeOpUpdateFeatureGroup) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -25320,9 +25431,9 @@ func (m *awsAwsjson11_deserializeOpUpdateImage) HandleDeserialize(ctx context.Co } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson11_deserializeOpErrorUpdateImage(response, &metadata) + return out, metadata, awsAwsjson11_deserializeOpErrorUpdateFeatureGroup(response, &metadata) } - output := &UpdateImageOutput{} + output := &UpdateFeatureGroupOutput{} out.Result = output var buff [1024]byte @@ -25342,7 +25453,7 @@ func (m *awsAwsjson11_deserializeOpUpdateImage) HandleDeserialize(ctx context.Co return out, metadata, err } - err = awsAwsjson11_deserializeOpDocumentUpdateImageOutput(&output, shape) + err = awsAwsjson11_deserializeOpDocumentUpdateFeatureGroupOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -25356,7 +25467,7 @@ func (m *awsAwsjson11_deserializeOpUpdateImage) HandleDeserialize(ctx context.Co return out, metadata, err } -func awsAwsjson11_deserializeOpErrorUpdateImage(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson11_deserializeOpErrorUpdateFeatureGroup(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -25397,9 +25508,6 @@ func awsAwsjson11_deserializeOpErrorUpdateImage(response *smithyhttp.Response, m } switch { - case strings.EqualFold("ResourceInUse", errorCode): - return awsAwsjson11_deserializeErrorResourceInUse(response, errorBody) - case strings.EqualFold("ResourceNotFound", errorCode): return awsAwsjson11_deserializeErrorResourceNotFound(response, errorBody) @@ -25413,14 +25521,14 @@ func awsAwsjson11_deserializeOpErrorUpdateImage(response *smithyhttp.Response, m } } -type awsAwsjson11_deserializeOpUpdateModelPackage struct { +type awsAwsjson11_deserializeOpUpdateFeatureMetadata struct { } -func (*awsAwsjson11_deserializeOpUpdateModelPackage) ID() string { +func (*awsAwsjson11_deserializeOpUpdateFeatureMetadata) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson11_deserializeOpUpdateModelPackage) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson11_deserializeOpUpdateFeatureMetadata) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -25434,43 +25542,21 @@ func (m *awsAwsjson11_deserializeOpUpdateModelPackage) HandleDeserialize(ctx con } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson11_deserializeOpErrorUpdateModelPackage(response, &metadata) + return out, metadata, awsAwsjson11_deserializeOpErrorUpdateFeatureMetadata(response, &metadata) } - output := &UpdateModelPackageOutput{} + output := &UpdateFeatureMetadataOutput{} out.Result = output - var buff [1024]byte - ringBuffer := smithyio.NewRingBuffer(buff[:]) - - body := io.TeeReader(response.Body, ringBuffer) - decoder := json.NewDecoder(body) - decoder.UseNumber() - var shape interface{} - if err := decoder.Decode(&shape); err != nil && err != io.EOF { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), - } - return out, metadata, err - } - - err = awsAwsjson11_deserializeOpDocumentUpdateModelPackageOutput(&output, shape) - if err != nil { - var snapshot bytes.Buffer - io.Copy(&snapshot, ringBuffer) - err = &smithy.DeserializationError{ - Err: fmt.Errorf("failed to decode response body, %w", err), - Snapshot: snapshot.Bytes(), + if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to discard response body, %w", err), } - return out, metadata, err } return out, metadata, err } -func awsAwsjson11_deserializeOpErrorUpdateModelPackage(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson11_deserializeOpErrorUpdateFeatureMetadata(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -25511,6 +25597,9 @@ func awsAwsjson11_deserializeOpErrorUpdateModelPackage(response *smithyhttp.Resp } switch { + case strings.EqualFold("ResourceNotFound", errorCode): + return awsAwsjson11_deserializeErrorResourceNotFound(response, errorBody) + default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -25521,14 +25610,14 @@ func awsAwsjson11_deserializeOpErrorUpdateModelPackage(response *smithyhttp.Resp } } -type awsAwsjson11_deserializeOpUpdateMonitoringSchedule struct { +type awsAwsjson11_deserializeOpUpdateImage struct { } -func (*awsAwsjson11_deserializeOpUpdateMonitoringSchedule) ID() string { +func (*awsAwsjson11_deserializeOpUpdateImage) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson11_deserializeOpUpdateMonitoringSchedule) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson11_deserializeOpUpdateImage) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -25542,9 +25631,9 @@ func (m *awsAwsjson11_deserializeOpUpdateMonitoringSchedule) HandleDeserialize(c } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson11_deserializeOpErrorUpdateMonitoringSchedule(response, &metadata) + return out, metadata, awsAwsjson11_deserializeOpErrorUpdateImage(response, &metadata) } - output := &UpdateMonitoringScheduleOutput{} + output := &UpdateImageOutput{} out.Result = output var buff [1024]byte @@ -25564,7 +25653,7 @@ func (m *awsAwsjson11_deserializeOpUpdateMonitoringSchedule) HandleDeserialize(c return out, metadata, err } - err = awsAwsjson11_deserializeOpDocumentUpdateMonitoringScheduleOutput(&output, shape) + err = awsAwsjson11_deserializeOpDocumentUpdateImageOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -25578,7 +25667,7 @@ func (m *awsAwsjson11_deserializeOpUpdateMonitoringSchedule) HandleDeserialize(c return out, metadata, err } -func awsAwsjson11_deserializeOpErrorUpdateMonitoringSchedule(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson11_deserializeOpErrorUpdateImage(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -25619,8 +25708,8 @@ func awsAwsjson11_deserializeOpErrorUpdateMonitoringSchedule(response *smithyhtt } switch { - case strings.EqualFold("ResourceLimitExceeded", errorCode): - return awsAwsjson11_deserializeErrorResourceLimitExceeded(response, errorBody) + case strings.EqualFold("ResourceInUse", errorCode): + return awsAwsjson11_deserializeErrorResourceInUse(response, errorBody) case strings.EqualFold("ResourceNotFound", errorCode): return awsAwsjson11_deserializeErrorResourceNotFound(response, errorBody) @@ -25635,14 +25724,14 @@ func awsAwsjson11_deserializeOpErrorUpdateMonitoringSchedule(response *smithyhtt } } -type awsAwsjson11_deserializeOpUpdateNotebookInstance struct { +type awsAwsjson11_deserializeOpUpdateModelPackage struct { } -func (*awsAwsjson11_deserializeOpUpdateNotebookInstance) ID() string { +func (*awsAwsjson11_deserializeOpUpdateModelPackage) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson11_deserializeOpUpdateNotebookInstance) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson11_deserializeOpUpdateModelPackage) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -25656,9 +25745,9 @@ func (m *awsAwsjson11_deserializeOpUpdateNotebookInstance) HandleDeserialize(ctx } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson11_deserializeOpErrorUpdateNotebookInstance(response, &metadata) + return out, metadata, awsAwsjson11_deserializeOpErrorUpdateModelPackage(response, &metadata) } - output := &UpdateNotebookInstanceOutput{} + output := &UpdateModelPackageOutput{} out.Result = output var buff [1024]byte @@ -25678,7 +25767,7 @@ func (m *awsAwsjson11_deserializeOpUpdateNotebookInstance) HandleDeserialize(ctx return out, metadata, err } - err = awsAwsjson11_deserializeOpDocumentUpdateNotebookInstanceOutput(&output, shape) + err = awsAwsjson11_deserializeOpDocumentUpdateModelPackageOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -25692,7 +25781,115 @@ func (m *awsAwsjson11_deserializeOpUpdateNotebookInstance) HandleDeserialize(ctx return out, metadata, err } -func awsAwsjson11_deserializeOpErrorUpdateNotebookInstance(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson11_deserializeOpErrorUpdateModelPackage(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsAwsjson11_deserializeOpUpdateMonitoringSchedule struct { +} + +func (*awsAwsjson11_deserializeOpUpdateMonitoringSchedule) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsjson11_deserializeOpUpdateMonitoringSchedule) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsjson11_deserializeOpErrorUpdateMonitoringSchedule(response, &metadata) + } + output := &UpdateMonitoringScheduleOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsAwsjson11_deserializeOpDocumentUpdateMonitoringScheduleOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err +} + +func awsAwsjson11_deserializeOpErrorUpdateMonitoringSchedule(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -25736,6 +25933,9 @@ func awsAwsjson11_deserializeOpErrorUpdateNotebookInstance(response *smithyhttp. case strings.EqualFold("ResourceLimitExceeded", errorCode): return awsAwsjson11_deserializeErrorResourceLimitExceeded(response, errorBody) + case strings.EqualFold("ResourceNotFound", errorCode): + return awsAwsjson11_deserializeErrorResourceNotFound(response, errorBody) + default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -25746,14 +25946,14 @@ func awsAwsjson11_deserializeOpErrorUpdateNotebookInstance(response *smithyhttp. } } -type awsAwsjson11_deserializeOpUpdateNotebookInstanceLifecycleConfig struct { +type awsAwsjson11_deserializeOpUpdateNotebookInstance struct { } -func (*awsAwsjson11_deserializeOpUpdateNotebookInstanceLifecycleConfig) ID() string { +func (*awsAwsjson11_deserializeOpUpdateNotebookInstance) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson11_deserializeOpUpdateNotebookInstanceLifecycleConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson11_deserializeOpUpdateNotebookInstance) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -25767,9 +25967,9 @@ func (m *awsAwsjson11_deserializeOpUpdateNotebookInstanceLifecycleConfig) Handle } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson11_deserializeOpErrorUpdateNotebookInstanceLifecycleConfig(response, &metadata) + return out, metadata, awsAwsjson11_deserializeOpErrorUpdateNotebookInstance(response, &metadata) } - output := &UpdateNotebookInstanceLifecycleConfigOutput{} + output := &UpdateNotebookInstanceOutput{} out.Result = output var buff [1024]byte @@ -25789,7 +25989,7 @@ func (m *awsAwsjson11_deserializeOpUpdateNotebookInstanceLifecycleConfig) Handle return out, metadata, err } - err = awsAwsjson11_deserializeOpDocumentUpdateNotebookInstanceLifecycleConfigOutput(&output, shape) + err = awsAwsjson11_deserializeOpDocumentUpdateNotebookInstanceOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -25803,7 +26003,7 @@ func (m *awsAwsjson11_deserializeOpUpdateNotebookInstanceLifecycleConfig) Handle return out, metadata, err } -func awsAwsjson11_deserializeOpErrorUpdateNotebookInstanceLifecycleConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson11_deserializeOpErrorUpdateNotebookInstance(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -25857,14 +26057,14 @@ func awsAwsjson11_deserializeOpErrorUpdateNotebookInstanceLifecycleConfig(respon } } -type awsAwsjson11_deserializeOpUpdatePipeline struct { +type awsAwsjson11_deserializeOpUpdateNotebookInstanceLifecycleConfig struct { } -func (*awsAwsjson11_deserializeOpUpdatePipeline) ID() string { +func (*awsAwsjson11_deserializeOpUpdateNotebookInstanceLifecycleConfig) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson11_deserializeOpUpdatePipeline) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson11_deserializeOpUpdateNotebookInstanceLifecycleConfig) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -25878,9 +26078,9 @@ func (m *awsAwsjson11_deserializeOpUpdatePipeline) HandleDeserialize(ctx context } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson11_deserializeOpErrorUpdatePipeline(response, &metadata) + return out, metadata, awsAwsjson11_deserializeOpErrorUpdateNotebookInstanceLifecycleConfig(response, &metadata) } - output := &UpdatePipelineOutput{} + output := &UpdateNotebookInstanceLifecycleConfigOutput{} out.Result = output var buff [1024]byte @@ -25900,7 +26100,7 @@ func (m *awsAwsjson11_deserializeOpUpdatePipeline) HandleDeserialize(ctx context return out, metadata, err } - err = awsAwsjson11_deserializeOpDocumentUpdatePipelineOutput(&output, shape) + err = awsAwsjson11_deserializeOpDocumentUpdateNotebookInstanceLifecycleConfigOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -25914,7 +26114,7 @@ func (m *awsAwsjson11_deserializeOpUpdatePipeline) HandleDeserialize(ctx context return out, metadata, err } -func awsAwsjson11_deserializeOpErrorUpdatePipeline(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson11_deserializeOpErrorUpdateNotebookInstanceLifecycleConfig(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -25955,8 +26155,8 @@ func awsAwsjson11_deserializeOpErrorUpdatePipeline(response *smithyhttp.Response } switch { - case strings.EqualFold("ResourceNotFound", errorCode): - return awsAwsjson11_deserializeErrorResourceNotFound(response, errorBody) + case strings.EqualFold("ResourceLimitExceeded", errorCode): + return awsAwsjson11_deserializeErrorResourceLimitExceeded(response, errorBody) default: genericError := &smithy.GenericAPIError{ @@ -25968,14 +26168,14 @@ func awsAwsjson11_deserializeOpErrorUpdatePipeline(response *smithyhttp.Response } } -type awsAwsjson11_deserializeOpUpdatePipelineExecution struct { +type awsAwsjson11_deserializeOpUpdatePipeline struct { } -func (*awsAwsjson11_deserializeOpUpdatePipelineExecution) ID() string { +func (*awsAwsjson11_deserializeOpUpdatePipeline) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson11_deserializeOpUpdatePipelineExecution) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson11_deserializeOpUpdatePipeline) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -25989,9 +26189,9 @@ func (m *awsAwsjson11_deserializeOpUpdatePipelineExecution) HandleDeserialize(ct } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson11_deserializeOpErrorUpdatePipelineExecution(response, &metadata) + return out, metadata, awsAwsjson11_deserializeOpErrorUpdatePipeline(response, &metadata) } - output := &UpdatePipelineExecutionOutput{} + output := &UpdatePipelineOutput{} out.Result = output var buff [1024]byte @@ -26011,7 +26211,7 @@ func (m *awsAwsjson11_deserializeOpUpdatePipelineExecution) HandleDeserialize(ct return out, metadata, err } - err = awsAwsjson11_deserializeOpDocumentUpdatePipelineExecutionOutput(&output, shape) + err = awsAwsjson11_deserializeOpDocumentUpdatePipelineOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -26025,7 +26225,7 @@ func (m *awsAwsjson11_deserializeOpUpdatePipelineExecution) HandleDeserialize(ct return out, metadata, err } -func awsAwsjson11_deserializeOpErrorUpdatePipelineExecution(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson11_deserializeOpErrorUpdatePipeline(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -26079,14 +26279,14 @@ func awsAwsjson11_deserializeOpErrorUpdatePipelineExecution(response *smithyhttp } } -type awsAwsjson11_deserializeOpUpdateProject struct { +type awsAwsjson11_deserializeOpUpdatePipelineExecution struct { } -func (*awsAwsjson11_deserializeOpUpdateProject) ID() string { +func (*awsAwsjson11_deserializeOpUpdatePipelineExecution) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson11_deserializeOpUpdateProject) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson11_deserializeOpUpdatePipelineExecution) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -26100,9 +26300,9 @@ func (m *awsAwsjson11_deserializeOpUpdateProject) HandleDeserialize(ctx context. } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson11_deserializeOpErrorUpdateProject(response, &metadata) + return out, metadata, awsAwsjson11_deserializeOpErrorUpdatePipelineExecution(response, &metadata) } - output := &UpdateProjectOutput{} + output := &UpdatePipelineExecutionOutput{} out.Result = output var buff [1024]byte @@ -26122,7 +26322,7 @@ func (m *awsAwsjson11_deserializeOpUpdateProject) HandleDeserialize(ctx context. return out, metadata, err } - err = awsAwsjson11_deserializeOpDocumentUpdateProjectOutput(&output, shape) + err = awsAwsjson11_deserializeOpDocumentUpdatePipelineExecutionOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -26136,7 +26336,7 @@ func (m *awsAwsjson11_deserializeOpUpdateProject) HandleDeserialize(ctx context. return out, metadata, err } -func awsAwsjson11_deserializeOpErrorUpdateProject(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson11_deserializeOpErrorUpdatePipelineExecution(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -26177,6 +26377,9 @@ func awsAwsjson11_deserializeOpErrorUpdateProject(response *smithyhttp.Response, } switch { + case strings.EqualFold("ResourceNotFound", errorCode): + return awsAwsjson11_deserializeErrorResourceNotFound(response, errorBody) + default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -26187,14 +26390,14 @@ func awsAwsjson11_deserializeOpErrorUpdateProject(response *smithyhttp.Response, } } -type awsAwsjson11_deserializeOpUpdateTrainingJob struct { +type awsAwsjson11_deserializeOpUpdateProject struct { } -func (*awsAwsjson11_deserializeOpUpdateTrainingJob) ID() string { +func (*awsAwsjson11_deserializeOpUpdateProject) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson11_deserializeOpUpdateTrainingJob) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson11_deserializeOpUpdateProject) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -26208,9 +26411,9 @@ func (m *awsAwsjson11_deserializeOpUpdateTrainingJob) HandleDeserialize(ctx cont } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson11_deserializeOpErrorUpdateTrainingJob(response, &metadata) + return out, metadata, awsAwsjson11_deserializeOpErrorUpdateProject(response, &metadata) } - output := &UpdateTrainingJobOutput{} + output := &UpdateProjectOutput{} out.Result = output var buff [1024]byte @@ -26230,7 +26433,7 @@ func (m *awsAwsjson11_deserializeOpUpdateTrainingJob) HandleDeserialize(ctx cont return out, metadata, err } - err = awsAwsjson11_deserializeOpDocumentUpdateTrainingJobOutput(&output, shape) + err = awsAwsjson11_deserializeOpDocumentUpdateProjectOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -26244,7 +26447,7 @@ func (m *awsAwsjson11_deserializeOpUpdateTrainingJob) HandleDeserialize(ctx cont return out, metadata, err } -func awsAwsjson11_deserializeOpErrorUpdateTrainingJob(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson11_deserializeOpErrorUpdateProject(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -26285,9 +26488,6 @@ func awsAwsjson11_deserializeOpErrorUpdateTrainingJob(response *smithyhttp.Respo } switch { - case strings.EqualFold("ResourceNotFound", errorCode): - return awsAwsjson11_deserializeErrorResourceNotFound(response, errorBody) - default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -26298,14 +26498,14 @@ func awsAwsjson11_deserializeOpErrorUpdateTrainingJob(response *smithyhttp.Respo } } -type awsAwsjson11_deserializeOpUpdateTrial struct { +type awsAwsjson11_deserializeOpUpdateTrainingJob struct { } -func (*awsAwsjson11_deserializeOpUpdateTrial) ID() string { +func (*awsAwsjson11_deserializeOpUpdateTrainingJob) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson11_deserializeOpUpdateTrial) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson11_deserializeOpUpdateTrainingJob) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -26319,9 +26519,9 @@ func (m *awsAwsjson11_deserializeOpUpdateTrial) HandleDeserialize(ctx context.Co } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson11_deserializeOpErrorUpdateTrial(response, &metadata) + return out, metadata, awsAwsjson11_deserializeOpErrorUpdateTrainingJob(response, &metadata) } - output := &UpdateTrialOutput{} + output := &UpdateTrainingJobOutput{} out.Result = output var buff [1024]byte @@ -26341,7 +26541,7 @@ func (m *awsAwsjson11_deserializeOpUpdateTrial) HandleDeserialize(ctx context.Co return out, metadata, err } - err = awsAwsjson11_deserializeOpDocumentUpdateTrialOutput(&output, shape) + err = awsAwsjson11_deserializeOpDocumentUpdateTrainingJobOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -26355,7 +26555,7 @@ func (m *awsAwsjson11_deserializeOpUpdateTrial) HandleDeserialize(ctx context.Co return out, metadata, err } -func awsAwsjson11_deserializeOpErrorUpdateTrial(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson11_deserializeOpErrorUpdateTrainingJob(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -26396,9 +26596,6 @@ func awsAwsjson11_deserializeOpErrorUpdateTrial(response *smithyhttp.Response, m } switch { - case strings.EqualFold("ConflictException", errorCode): - return awsAwsjson11_deserializeErrorConflictException(response, errorBody) - case strings.EqualFold("ResourceNotFound", errorCode): return awsAwsjson11_deserializeErrorResourceNotFound(response, errorBody) @@ -26412,14 +26609,14 @@ func awsAwsjson11_deserializeOpErrorUpdateTrial(response *smithyhttp.Response, m } } -type awsAwsjson11_deserializeOpUpdateTrialComponent struct { +type awsAwsjson11_deserializeOpUpdateTrial struct { } -func (*awsAwsjson11_deserializeOpUpdateTrialComponent) ID() string { +func (*awsAwsjson11_deserializeOpUpdateTrial) ID() string { return "OperationDeserializer" } -func (m *awsAwsjson11_deserializeOpUpdateTrialComponent) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsAwsjson11_deserializeOpUpdateTrial) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -26433,9 +26630,9 @@ func (m *awsAwsjson11_deserializeOpUpdateTrialComponent) HandleDeserialize(ctx c } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsAwsjson11_deserializeOpErrorUpdateTrialComponent(response, &metadata) + return out, metadata, awsAwsjson11_deserializeOpErrorUpdateTrial(response, &metadata) } - output := &UpdateTrialComponentOutput{} + output := &UpdateTrialOutput{} out.Result = output var buff [1024]byte @@ -26455,7 +26652,7 @@ func (m *awsAwsjson11_deserializeOpUpdateTrialComponent) HandleDeserialize(ctx c return out, metadata, err } - err = awsAwsjson11_deserializeOpDocumentUpdateTrialComponentOutput(&output, shape) + err = awsAwsjson11_deserializeOpDocumentUpdateTrialOutput(&output, shape) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -26469,7 +26666,121 @@ func (m *awsAwsjson11_deserializeOpUpdateTrialComponent) HandleDeserialize(ctx c return out, metadata, err } -func awsAwsjson11_deserializeOpErrorUpdateTrialComponent(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsAwsjson11_deserializeOpErrorUpdateTrial(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("ConflictException", errorCode): + return awsAwsjson11_deserializeErrorConflictException(response, errorBody) + + case strings.EqualFold("ResourceNotFound", errorCode): + return awsAwsjson11_deserializeErrorResourceNotFound(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsAwsjson11_deserializeOpUpdateTrialComponent struct { +} + +func (*awsAwsjson11_deserializeOpUpdateTrialComponent) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsjson11_deserializeOpUpdateTrialComponent) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsjson11_deserializeOpErrorUpdateTrialComponent(response, &metadata) + } + output := &UpdateTrialComponentOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsAwsjson11_deserializeOpDocumentUpdateTrialComponentOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err +} + +func awsAwsjson11_deserializeOpErrorUpdateTrialComponent(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -36919,6 +37230,27 @@ func awsAwsjson11_deserializeDocumentFeatureGroup(v **types.FeatureGroup, value sv.FeatureGroupStatus = types.FeatureGroupStatus(jtv) } + case "LastModifiedTime": + if value != nil { + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.LastModifiedTime = ptr.Time(smithytime.ParseEpochSeconds(f64)) + + default: + return fmt.Errorf("expected LastModifiedTime to be a JSON Number, got %T instead", value) + + } + } + + case "LastUpdateStatus": + if err := awsAwsjson11_deserializeDocumentLastUpdateStatus(&sv.LastUpdateStatus, value); err != nil { + return err + } + case "OfflineStoreConfig": if err := awsAwsjson11_deserializeDocumentOfflineStoreConfig(&sv.OfflineStoreConfig, value); err != nil { return err @@ -37079,6 +37411,202 @@ func awsAwsjson11_deserializeDocumentFeatureGroupSummary(v **types.FeatureGroupS return nil } +func awsAwsjson11_deserializeDocumentFeatureMetadata(v **types.FeatureMetadata, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.FeatureMetadata + if *v == nil { + sv = &types.FeatureMetadata{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "CreationTime": + if value != nil { + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.CreationTime = ptr.Time(smithytime.ParseEpochSeconds(f64)) + + default: + return fmt.Errorf("expected CreationTime to be a JSON Number, got %T instead", value) + + } + } + + case "Description": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected FeatureDescription to be of type string, got %T instead", value) + } + sv.Description = ptr.String(jtv) + } + + case "FeatureGroupArn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected FeatureGroupArn to be of type string, got %T instead", value) + } + sv.FeatureGroupArn = ptr.String(jtv) + } + + case "FeatureGroupName": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected FeatureGroupName to be of type string, got %T instead", value) + } + sv.FeatureGroupName = ptr.String(jtv) + } + + case "FeatureName": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected FeatureName to be of type string, got %T instead", value) + } + sv.FeatureName = ptr.String(jtv) + } + + case "FeatureType": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected FeatureType to be of type string, got %T instead", value) + } + sv.FeatureType = types.FeatureType(jtv) + } + + case "LastModifiedTime": + if value != nil { + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.LastModifiedTime = ptr.Time(smithytime.ParseEpochSeconds(f64)) + + default: + return fmt.Errorf("expected LastModifiedTime to be a JSON Number, got %T instead", value) + + } + } + + case "Parameters": + if err := awsAwsjson11_deserializeDocumentFeatureParameters(&sv.Parameters, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeDocumentFeatureParameter(v **types.FeatureParameter, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.FeatureParameter + if *v == nil { + sv = &types.FeatureParameter{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "Key": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected FeatureParameterKey to be of type string, got %T instead", value) + } + sv.Key = ptr.String(jtv) + } + + case "Value": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected FeatureParameterValue to be of type string, got %T instead", value) + } + sv.Value = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsAwsjson11_deserializeDocumentFeatureParameters(v *[]types.FeatureParameter, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []types.FeatureParameter + if *v == nil { + cv = []types.FeatureParameter{} + } else { + cv = *v + } + + for _, value := range shape { + var col types.FeatureParameter + destAddr := &col + if err := awsAwsjson11_deserializeDocumentFeatureParameter(&destAddr, value); err != nil { + return err + } + col = *destAddr + cv = append(cv, col) + + } + *v = cv + return nil +} + func awsAwsjson11_deserializeDocumentFileSource(v **types.FileSource, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -41448,6 +41976,55 @@ func awsAwsjson11_deserializeDocumentLambdaStepMetadata(v **types.LambdaStepMeta return nil } +func awsAwsjson11_deserializeDocumentLastUpdateStatus(v **types.LastUpdateStatus, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.LastUpdateStatus + if *v == nil { + sv = &types.LastUpdateStatus{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "FailureReason": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected FailureReason to be of type string, got %T instead", value) + } + sv.FailureReason = ptr.String(jtv) + } + + case "Status": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected LastUpdateStatusValue to be of type string, got %T instead", value) + } + sv.Status = types.LastUpdateStatusValue(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + func awsAwsjson11_deserializeDocumentLifecycleConfigArns(v *[]string, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -52775,6 +53352,11 @@ func awsAwsjson11_deserializeDocumentSearchRecord(v **types.SearchRecord, value return err } + case "FeatureMetadata": + if err := awsAwsjson11_deserializeDocumentFeatureMetadata(&sv.FeatureMetadata, value); err != nil { + return err + } + case "ModelPackage": if err := awsAwsjson11_deserializeDocumentModelPackage(&sv.ModelPackage, value); err != nil { return err @@ -63215,6 +63797,27 @@ func awsAwsjson11_deserializeOpDocumentDescribeFeatureGroupOutput(v **DescribeFe sv.FeatureGroupStatus = types.FeatureGroupStatus(jtv) } + case "LastModifiedTime": + if value != nil { + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.LastModifiedTime = ptr.Time(smithytime.ParseEpochSeconds(f64)) + + default: + return fmt.Errorf("expected LastModifiedTime to be a JSON Number, got %T instead", value) + + } + } + + case "LastUpdateStatus": + if err := awsAwsjson11_deserializeDocumentLastUpdateStatus(&sv.LastUpdateStatus, value); err != nil { + return err + } + case "NextToken": if value != nil { jtv, ok := value.(string) @@ -63239,6 +63842,19 @@ func awsAwsjson11_deserializeOpDocumentDescribeFeatureGroupOutput(v **DescribeFe return err } + case "OnlineStoreTotalSizeBytes": + if value != nil { + jtv, ok := value.(json.Number) + if !ok { + return fmt.Errorf("expected OnlineStoreTotalSizeBytes to be json.Number, got %T instead", value) + } + i64, err := jtv.Int64() + if err != nil { + return err + } + sv.OnlineStoreTotalSizeBytes = ptr.Int64(i64) + } + case "RecordIdentifierFeatureName": if value != nil { jtv, ok := value.(string) @@ -63266,6 +63882,119 @@ func awsAwsjson11_deserializeOpDocumentDescribeFeatureGroupOutput(v **DescribeFe return nil } +func awsAwsjson11_deserializeOpDocumentDescribeFeatureMetadataOutput(v **DescribeFeatureMetadataOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *DescribeFeatureMetadataOutput + if *v == nil { + sv = &DescribeFeatureMetadataOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "CreationTime": + if value != nil { + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.CreationTime = ptr.Time(smithytime.ParseEpochSeconds(f64)) + + default: + return fmt.Errorf("expected CreationTime to be a JSON Number, got %T instead", value) + + } + } + + case "Description": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected FeatureDescription to be of type string, got %T instead", value) + } + sv.Description = ptr.String(jtv) + } + + case "FeatureGroupArn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected FeatureGroupArn to be of type string, got %T instead", value) + } + sv.FeatureGroupArn = ptr.String(jtv) + } + + case "FeatureGroupName": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected FeatureGroupName to be of type string, got %T instead", value) + } + sv.FeatureGroupName = ptr.String(jtv) + } + + case "FeatureName": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected FeatureName to be of type string, got %T instead", value) + } + sv.FeatureName = ptr.String(jtv) + } + + case "FeatureType": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected FeatureType to be of type string, got %T instead", value) + } + sv.FeatureType = types.FeatureType(jtv) + } + + case "LastModifiedTime": + if value != nil { + switch jtv := value.(type) { + case json.Number: + f64, err := jtv.Float64() + if err != nil { + return err + } + sv.LastModifiedTime = ptr.Time(smithytime.ParseEpochSeconds(f64)) + + default: + return fmt.Errorf("expected LastModifiedTime to be a JSON Number, got %T instead", value) + + } + } + + case "Parameters": + if err := awsAwsjson11_deserializeDocumentFeatureParameters(&sv.Parameters, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + func awsAwsjson11_deserializeOpDocumentDescribeFlowDefinitionOutput(v **DescribeFlowDefinitionOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -71072,6 +71801,46 @@ func awsAwsjson11_deserializeOpDocumentUpdateExperimentOutput(v **UpdateExperime return nil } +func awsAwsjson11_deserializeOpDocumentUpdateFeatureGroupOutput(v **UpdateFeatureGroupOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *UpdateFeatureGroupOutput + if *v == nil { + sv = &UpdateFeatureGroupOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "FeatureGroupArn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected FeatureGroupArn to be of type string, got %T instead", value) + } + sv.FeatureGroupArn = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + func awsAwsjson11_deserializeOpDocumentUpdateImageOutput(v **UpdateImageOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) diff --git a/service/sagemaker/generated.json b/service/sagemaker/generated.json index c56b90376fd..7ea7e2e97a4 100644 --- a/service/sagemaker/generated.json +++ b/service/sagemaker/generated.json @@ -116,6 +116,7 @@ "api_op_DescribeEndpointConfig.go", "api_op_DescribeExperiment.go", "api_op_DescribeFeatureGroup.go", + "api_op_DescribeFeatureMetadata.go", "api_op_DescribeFlowDefinition.go", "api_op_DescribeHumanTaskUi.go", "api_op_DescribeHyperParameterTuningJob.go", @@ -246,6 +247,8 @@ "api_op_UpdateEndpoint.go", "api_op_UpdateEndpointWeightsAndCapacities.go", "api_op_UpdateExperiment.go", + "api_op_UpdateFeatureGroup.go", + "api_op_UpdateFeatureMetadata.go", "api_op_UpdateImage.go", "api_op_UpdateModelPackage.go", "api_op_UpdateMonitoringSchedule.go", diff --git a/service/sagemaker/go.mod b/service/sagemaker/go.mod index 4f5bfdcfb10..9ed93359b39 100644 --- a/service/sagemaker/go.mod +++ b/service/sagemaker/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/sagemaker/go.sum b/service/sagemaker/go.sum index 616ca36a561..b0e3c06c6d6 100644 --- a/service/sagemaker/go.sum +++ b/service/sagemaker/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= diff --git a/service/sagemaker/serializers.go b/service/sagemaker/serializers.go index 2f1aed18bff..26b1c6493d1 100644 --- a/service/sagemaker/serializers.go +++ b/service/sagemaker/serializers.go @@ -5902,6 +5902,61 @@ func (m *awsAwsjson11_serializeOpDescribeFeatureGroup) HandleSerialize(ctx conte return next.HandleSerialize(ctx, in) } +type awsAwsjson11_serializeOpDescribeFeatureMetadata struct { +} + +func (*awsAwsjson11_serializeOpDescribeFeatureMetadata) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsjson11_serializeOpDescribeFeatureMetadata) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*DescribeFeatureMetadataInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1") + httpBindingEncoder.SetHeader("X-Amz-Target").String("SageMaker.DescribeFeatureMetadata") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsAwsjson11_serializeOpDocumentDescribeFeatureMetadataInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} + type awsAwsjson11_serializeOpDescribeFlowDefinition struct { } @@ -13052,6 +13107,116 @@ func (m *awsAwsjson11_serializeOpUpdateExperiment) HandleSerialize(ctx context.C return next.HandleSerialize(ctx, in) } +type awsAwsjson11_serializeOpUpdateFeatureGroup struct { +} + +func (*awsAwsjson11_serializeOpUpdateFeatureGroup) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsjson11_serializeOpUpdateFeatureGroup) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*UpdateFeatureGroupInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1") + httpBindingEncoder.SetHeader("X-Amz-Target").String("SageMaker.UpdateFeatureGroup") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsAwsjson11_serializeOpDocumentUpdateFeatureGroupInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} + +type awsAwsjson11_serializeOpUpdateFeatureMetadata struct { +} + +func (*awsAwsjson11_serializeOpUpdateFeatureMetadata) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsjson11_serializeOpUpdateFeatureMetadata) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*UpdateFeatureMetadataInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1") + httpBindingEncoder.SetHeader("X-Amz-Target").String("SageMaker.UpdateFeatureMetadata") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsAwsjson11_serializeOpDocumentUpdateFeatureMetadataInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} + type awsAwsjson11_serializeOpUpdateImage struct { } @@ -15978,6 +16143,19 @@ func awsAwsjson11_serializeDocumentExplainability(v *types.Explainability, value return nil } +func awsAwsjson11_serializeDocumentFeatureAdditions(v []types.FeatureDefinition, value smithyjson.Value) error { + array := value.Array() + defer array.Close() + + for i := range v { + av := array.Value() + if err := awsAwsjson11_serializeDocumentFeatureDefinition(&v[i], av); err != nil { + return err + } + } + return nil +} + func awsAwsjson11_serializeDocumentFeatureDefinition(v *types.FeatureDefinition, value smithyjson.Value) error { object := value.Object() defer object.Close() @@ -16008,6 +16186,47 @@ func awsAwsjson11_serializeDocumentFeatureDefinitions(v []types.FeatureDefinitio return nil } +func awsAwsjson11_serializeDocumentFeatureParameter(v *types.FeatureParameter, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.Key != nil { + ok := object.Key("Key") + ok.String(*v.Key) + } + + if v.Value != nil { + ok := object.Key("Value") + ok.String(*v.Value) + } + + return nil +} + +func awsAwsjson11_serializeDocumentFeatureParameterAdditions(v []types.FeatureParameter, value smithyjson.Value) error { + array := value.Array() + defer array.Close() + + for i := range v { + av := array.Value() + if err := awsAwsjson11_serializeDocumentFeatureParameter(&v[i], av); err != nil { + return err + } + } + return nil +} + +func awsAwsjson11_serializeDocumentFeatureParameterRemovals(v []string, value smithyjson.Value) error { + array := value.Array() + defer array.Close() + + for i := range v { + av := array.Value() + av.String(v[i]) + } + return nil +} + func awsAwsjson11_serializeDocumentFileSource(v *types.FileSource, value smithyjson.Value) error { object := value.Object() defer object.Close() @@ -24168,6 +24387,23 @@ func awsAwsjson11_serializeOpDocumentDescribeFeatureGroupInput(v *DescribeFeatur return nil } +func awsAwsjson11_serializeOpDocumentDescribeFeatureMetadataInput(v *DescribeFeatureMetadataInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.FeatureGroupName != nil { + ok := object.Key("FeatureGroupName") + ok.String(*v.FeatureGroupName) + } + + if v.FeatureName != nil { + ok := object.Key("FeatureName") + ok.String(*v.FeatureName) + } + + return nil +} + func awsAwsjson11_serializeOpDocumentDescribeFlowDefinitionInput(v *DescribeFlowDefinitionInput, value smithyjson.Value) error { object := value.Object() defer object.Close() @@ -28014,6 +28250,61 @@ func awsAwsjson11_serializeOpDocumentUpdateExperimentInput(v *UpdateExperimentIn return nil } +func awsAwsjson11_serializeOpDocumentUpdateFeatureGroupInput(v *UpdateFeatureGroupInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.FeatureAdditions != nil { + ok := object.Key("FeatureAdditions") + if err := awsAwsjson11_serializeDocumentFeatureAdditions(v.FeatureAdditions, ok); err != nil { + return err + } + } + + if v.FeatureGroupName != nil { + ok := object.Key("FeatureGroupName") + ok.String(*v.FeatureGroupName) + } + + return nil +} + +func awsAwsjson11_serializeOpDocumentUpdateFeatureMetadataInput(v *UpdateFeatureMetadataInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.Description != nil { + ok := object.Key("Description") + ok.String(*v.Description) + } + + if v.FeatureGroupName != nil { + ok := object.Key("FeatureGroupName") + ok.String(*v.FeatureGroupName) + } + + if v.FeatureName != nil { + ok := object.Key("FeatureName") + ok.String(*v.FeatureName) + } + + if v.ParameterAdditions != nil { + ok := object.Key("ParameterAdditions") + if err := awsAwsjson11_serializeDocumentFeatureParameterAdditions(v.ParameterAdditions, ok); err != nil { + return err + } + } + + if v.ParameterRemovals != nil { + ok := object.Key("ParameterRemovals") + if err := awsAwsjson11_serializeDocumentFeatureParameterRemovals(v.ParameterRemovals, ok); err != nil { + return err + } + } + + return nil +} + func awsAwsjson11_serializeOpDocumentUpdateImageInput(v *UpdateImageInput, value smithyjson.Value) error { object := value.Object() defer object.Close() diff --git a/service/sagemaker/types/enums.go b/service/sagemaker/types/enums.go index e08ab525bab..20ccbf114e9 100644 --- a/service/sagemaker/types/enums.go +++ b/service/sagemaker/types/enums.go @@ -1942,6 +1942,26 @@ func (LabelingJobStatus) Values() []LabelingJobStatus { } } +type LastUpdateStatusValue string + +// Enum values for LastUpdateStatusValue +const ( + LastUpdateStatusValueSuccessful LastUpdateStatusValue = "Successful" + LastUpdateStatusValueFailed LastUpdateStatusValue = "Failed" + LastUpdateStatusValueInProgress LastUpdateStatusValue = "InProgress" +) + +// Values returns all known values for LastUpdateStatusValue. Note that this can be +// expanded in the future, and so it is only as up to date as the client. The +// ordering of this slice is not guaranteed to be stable across updates. +func (LastUpdateStatusValue) Values() []LastUpdateStatusValue { + return []LastUpdateStatusValue{ + "Successful", + "Failed", + "InProgress", + } +} + type LineageType string // Enum values for LineageType @@ -3349,6 +3369,7 @@ const ( ResourceTypePipelineExecution ResourceType = "PipelineExecution" ResourceTypeFeatureGroup ResourceType = "FeatureGroup" ResourceTypeProject ResourceType = "Project" + ResourceTypeFeatureMetadata ResourceType = "FeatureMetadata" ) // Values returns all known values for ResourceType. Note that this can be expanded @@ -3367,6 +3388,7 @@ func (ResourceType) Values() []ResourceType { "PipelineExecution", "FeatureGroup", "Project", + "FeatureMetadata", } } diff --git a/service/sagemaker/types/types.go b/service/sagemaker/types/types.go index f7824ce2440..a8cacc54226 100644 --- a/service/sagemaker/types/types.go +++ b/service/sagemaker/types/types.go @@ -1971,10 +1971,10 @@ type BatchDescribeModelPackageSummary struct { // Contains bias metrics for a model. type Bias struct { - // + // The post-training bias report for a model. PostTrainingReport *MetricsSource - // + // The pre-training bias report for a model. PreTrainingReport *MetricsSource // The bias report for a model @@ -3219,10 +3219,10 @@ type DriftCheckBias struct { // The bias config file for a model. ConfigFile *FileSource - // + // The post-training constraints. PostTrainingConstraints *MetricsSource - // + // The pre-training constraints. PreTrainingConstraints *MetricsSource noSmithyDocumentSerde @@ -3235,7 +3235,7 @@ type DriftCheckExplainability struct { // The explainability config file for the model. ConfigFile *FileSource - // + // The drift check explainability constraints. Constraints *MetricsSource noSmithyDocumentSerde @@ -3245,10 +3245,10 @@ type DriftCheckExplainability struct { // model monitor is set using the model package. type DriftCheckModelDataQuality struct { - // + // The drift check model data quality constraints. Constraints *MetricsSource - // + // The drift check model data quality statistics. Statistics *MetricsSource noSmithyDocumentSerde @@ -3258,10 +3258,10 @@ type DriftCheckModelDataQuality struct { // model monitor is set using the model package. type DriftCheckModelQuality struct { - // + // The drift check model quality constraints. Constraints *MetricsSource - // + // The drift check model quality statistics. Statistics *MetricsSource noSmithyDocumentSerde @@ -3930,6 +3930,12 @@ type FeatureGroup struct { // A FeatureGroup status. FeatureGroupStatus FeatureGroupStatus + // A timestamp indicating the last time you updated the feature group. + LastModifiedTime *time.Time + + // A value that indicates whether the feature group was updated successfully. + LastUpdateStatus *LastUpdateStatus + // The configuration of an OfflineStore. Provide an OfflineStoreConfig in a request // to CreateFeatureGroup to create an OfflineStore. To encrypt an OfflineStore // using at rest data encryption, specify Amazon Web Services Key Management @@ -3989,6 +3995,49 @@ type FeatureGroupSummary struct { noSmithyDocumentSerde } +// The metadata for a feature. It can either be metadata that you specify, or +// metadata that is updated automatically. +type FeatureMetadata struct { + + // A timestamp indicating when the feature was created. + CreationTime *time.Time + + // An optional description that you specify to better describe the feature. + Description *string + + // The Amazon Resource Number (ARN) of the feature group. + FeatureGroupArn *string + + // The name of the feature group containing the feature. + FeatureGroupName *string + + // The name of feature. + FeatureName *string + + // The data type of the feature. + FeatureType FeatureType + + // A timestamp indicating when the feature was last modified. + LastModifiedTime *time.Time + + // Optional key-value pairs that you specify to better describe the feature. + Parameters []FeatureParameter + + noSmithyDocumentSerde +} + +// A key-value pair that you specify to describe the feature. +type FeatureParameter struct { + + // A key that must contain a value to describe the feature. + Key *string + + // The value that belongs to a key. + Value *string + + noSmithyDocumentSerde +} + // Contains details regarding the file source. type FileSource struct { @@ -6994,6 +7043,20 @@ type LambdaStepMetadata struct { noSmithyDocumentSerde } +// A value that indicates whether the update was successful. +type LastUpdateStatus struct { + + // A value that indicates whether the update was made successful. + // + // This member is required. + Status LastUpdateStatusValue + + // If the update wasn't successful, indicates the reason why it failed. + FailureReason *string + + noSmithyDocumentSerde +} + // Lists a summary of the properties of a lineage group. A lineage group provides a // group of shareable lineage entity resources. type LineageGroupSummary struct { @@ -7109,20 +7172,20 @@ type MetricDefinition struct { noSmithyDocumentSerde } -// +// Details about the metrics source. type MetricsSource struct { - // + // The metric source content type. // // This member is required. ContentType *string - // + // The S3 URI for the metrics source. // // This member is required. S3Uri *string - // + // The hash key used for the metrics source. ContentDigest *string noSmithyDocumentSerde @@ -11222,6 +11285,9 @@ type SearchRecord struct { // principle, a Feature Group is composed of features and values per features. FeatureGroup *FeatureGroup + // The feature metadata used to search through the features. + FeatureMetadata *FeatureMetadata + // A versioned model that can be deployed for SageMaker inference. ModelPackage *ModelPackage diff --git a/service/sagemaker/validators.go b/service/sagemaker/validators.go index dca4e517947..bf913f23530 100644 --- a/service/sagemaker/validators.go +++ b/service/sagemaker/validators.go @@ -2150,6 +2150,26 @@ func (m *validateOpDescribeFeatureGroup) HandleInitialize(ctx context.Context, i return next.HandleInitialize(ctx, in) } +type validateOpDescribeFeatureMetadata struct { +} + +func (*validateOpDescribeFeatureMetadata) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpDescribeFeatureMetadata) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*DescribeFeatureMetadataInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpDescribeFeatureMetadataInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpDescribeFlowDefinition struct { } @@ -3710,6 +3730,46 @@ func (m *validateOpUpdateExperiment) HandleInitialize(ctx context.Context, in mi return next.HandleInitialize(ctx, in) } +type validateOpUpdateFeatureGroup struct { +} + +func (*validateOpUpdateFeatureGroup) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpUpdateFeatureGroup) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*UpdateFeatureGroupInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpUpdateFeatureGroupInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + +type validateOpUpdateFeatureMetadata struct { +} + +func (*validateOpUpdateFeatureMetadata) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpUpdateFeatureMetadata) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*UpdateFeatureMetadataInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpUpdateFeatureMetadataInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpUpdateImage struct { } @@ -4418,6 +4478,10 @@ func addOpDescribeFeatureGroupValidationMiddleware(stack *middleware.Stack) erro return stack.Initialize.Add(&validateOpDescribeFeatureGroup{}, middleware.After) } +func addOpDescribeFeatureMetadataValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpDescribeFeatureMetadata{}, middleware.After) +} + func addOpDescribeFlowDefinitionValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpDescribeFlowDefinition{}, middleware.After) } @@ -4730,6 +4794,14 @@ func addOpUpdateExperimentValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpUpdateExperiment{}, middleware.After) } +func addOpUpdateFeatureGroupValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpUpdateFeatureGroup{}, middleware.After) +} + +func addOpUpdateFeatureMetadataValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpUpdateFeatureMetadata{}, middleware.After) +} + func addOpUpdateImageValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpUpdateImage{}, middleware.After) } @@ -11816,6 +11888,24 @@ func validateOpDescribeFeatureGroupInput(v *DescribeFeatureGroupInput) error { } } +func validateOpDescribeFeatureMetadataInput(v *DescribeFeatureMetadataInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "DescribeFeatureMetadataInput"} + if v.FeatureGroupName == nil { + invalidParams.Add(smithy.NewErrParamRequired("FeatureGroupName")) + } + if v.FeatureName == nil { + invalidParams.Add(smithy.NewErrParamRequired("FeatureName")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpDescribeFlowDefinitionInput(v *DescribeFlowDefinitionInput) error { if v == nil { return nil @@ -13109,6 +13199,39 @@ func validateOpUpdateExperimentInput(v *UpdateExperimentInput) error { } } +func validateOpUpdateFeatureGroupInput(v *UpdateFeatureGroupInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "UpdateFeatureGroupInput"} + if v.FeatureGroupName == nil { + invalidParams.Add(smithy.NewErrParamRequired("FeatureGroupName")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateOpUpdateFeatureMetadataInput(v *UpdateFeatureMetadataInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "UpdateFeatureMetadataInput"} + if v.FeatureGroupName == nil { + invalidParams.Add(smithy.NewErrParamRequired("FeatureGroupName")) + } + if v.FeatureName == nil { + invalidParams.Add(smithy.NewErrParamRequired("FeatureName")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpUpdateImageInput(v *UpdateImageInput) error { if v == nil { return nil diff --git a/service/sagemakera2iruntime/go.mod b/service/sagemakera2iruntime/go.mod index 8d0499672ed..335d18236fe 100644 --- a/service/sagemakera2iruntime/go.mod +++ b/service/sagemakera2iruntime/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/sagemakera2iruntime/go.sum b/service/sagemakera2iruntime/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/sagemakera2iruntime/go.sum +++ b/service/sagemakera2iruntime/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/sagemakeredge/go.mod b/service/sagemakeredge/go.mod index 2141465fb38..24440a189ff 100644 --- a/service/sagemakeredge/go.mod +++ b/service/sagemakeredge/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/sagemakeredge/go.sum b/service/sagemakeredge/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/sagemakeredge/go.sum +++ b/service/sagemakeredge/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/sagemakerfeaturestoreruntime/go.mod b/service/sagemakerfeaturestoreruntime/go.mod index cb4df396ca6..622fbe024e2 100644 --- a/service/sagemakerfeaturestoreruntime/go.mod +++ b/service/sagemakerfeaturestoreruntime/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/sagemakerfeaturestoreruntime/go.sum b/service/sagemakerfeaturestoreruntime/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/sagemakerfeaturestoreruntime/go.sum +++ b/service/sagemakerfeaturestoreruntime/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/sagemakerruntime/go.mod b/service/sagemakerruntime/go.mod index 85072216775..0bbff0a1020 100644 --- a/service/sagemakerruntime/go.mod +++ b/service/sagemakerruntime/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/sagemakerruntime/go.sum b/service/sagemakerruntime/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/sagemakerruntime/go.sum +++ b/service/sagemakerruntime/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/savingsplans/go.mod b/service/savingsplans/go.mod index d236fae8a47..ad5fbcbc32d 100644 --- a/service/savingsplans/go.mod +++ b/service/savingsplans/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/savingsplans/go.sum b/service/savingsplans/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/savingsplans/go.sum +++ b/service/savingsplans/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/schemas/go.mod b/service/schemas/go.mod index 96bca84b5a3..e8fbb045f44 100644 --- a/service/schemas/go.mod +++ b/service/schemas/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/schemas/go.sum b/service/schemas/go.sum index 616ca36a561..b0e3c06c6d6 100644 --- a/service/schemas/go.sum +++ b/service/schemas/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= diff --git a/service/secretsmanager/go.mod b/service/secretsmanager/go.mod index 20585b74dab..cbc081ec5bf 100644 --- a/service/secretsmanager/go.mod +++ b/service/secretsmanager/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/secretsmanager/go.sum b/service/secretsmanager/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/secretsmanager/go.sum +++ b/service/secretsmanager/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/securityhub/go.mod b/service/securityhub/go.mod index 19da04e3355..c701df3ac23 100644 --- a/service/securityhub/go.mod +++ b/service/securityhub/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/securityhub/go.sum b/service/securityhub/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/securityhub/go.sum +++ b/service/securityhub/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/serverlessapplicationrepository/go.mod b/service/serverlessapplicationrepository/go.mod index 027ad044768..ca3a70cf192 100644 --- a/service/serverlessapplicationrepository/go.mod +++ b/service/serverlessapplicationrepository/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/serverlessapplicationrepository/go.sum b/service/serverlessapplicationrepository/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/serverlessapplicationrepository/go.sum +++ b/service/serverlessapplicationrepository/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/servicecatalog/go.mod b/service/servicecatalog/go.mod index a1cf3be17ea..dfd92a3b26c 100644 --- a/service/servicecatalog/go.mod +++ b/service/servicecatalog/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/servicecatalog/go.sum b/service/servicecatalog/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/servicecatalog/go.sum +++ b/service/servicecatalog/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/servicecatalogappregistry/go.mod b/service/servicecatalogappregistry/go.mod index d2cbe8be3e2..1ab1f2f0170 100644 --- a/service/servicecatalogappregistry/go.mod +++ b/service/servicecatalogappregistry/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/servicecatalogappregistry/go.sum b/service/servicecatalogappregistry/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/servicecatalogappregistry/go.sum +++ b/service/servicecatalogappregistry/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/servicediscovery/go.mod b/service/servicediscovery/go.mod index dd1d7d2bf52..18470aa70bd 100644 --- a/service/servicediscovery/go.mod +++ b/service/servicediscovery/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/servicediscovery/go.sum b/service/servicediscovery/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/servicediscovery/go.sum +++ b/service/servicediscovery/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/servicequotas/go.mod b/service/servicequotas/go.mod index 60594f83855..cd41882bee4 100644 --- a/service/servicequotas/go.mod +++ b/service/servicequotas/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/servicequotas/go.sum b/service/servicequotas/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/servicequotas/go.sum +++ b/service/servicequotas/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/ses/go.mod b/service/ses/go.mod index 13499c130f8..42376ed7f0e 100644 --- a/service/ses/go.mod +++ b/service/ses/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/ses/go.sum b/service/ses/go.sum index 616ca36a561..b0e3c06c6d6 100644 --- a/service/ses/go.sum +++ b/service/ses/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= diff --git a/service/sesv2/go.mod b/service/sesv2/go.mod index 7a63da9b749..ad0d35a472b 100644 --- a/service/sesv2/go.mod +++ b/service/sesv2/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/sesv2/go.sum b/service/sesv2/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/sesv2/go.sum +++ b/service/sesv2/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/sfn/go.mod b/service/sfn/go.mod index ce04aa43841..4693aea7341 100644 --- a/service/sfn/go.mod +++ b/service/sfn/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/sfn/go.sum b/service/sfn/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/sfn/go.sum +++ b/service/sfn/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/shield/go.mod b/service/shield/go.mod index ae96444d241..6098f92d010 100644 --- a/service/shield/go.mod +++ b/service/shield/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/shield/go.sum b/service/shield/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/shield/go.sum +++ b/service/shield/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/signer/go.mod b/service/signer/go.mod index eb327fa92ce..c244ee513f0 100644 --- a/service/signer/go.mod +++ b/service/signer/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/signer/go.sum b/service/signer/go.sum index 616ca36a561..b0e3c06c6d6 100644 --- a/service/signer/go.sum +++ b/service/signer/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= diff --git a/service/sms/go.mod b/service/sms/go.mod index a56963603f2..0c191d0b5fe 100644 --- a/service/sms/go.mod +++ b/service/sms/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/sms/go.sum b/service/sms/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/sms/go.sum +++ b/service/sms/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/snowball/go.mod b/service/snowball/go.mod index 44ba600a071..29aca7032d6 100644 --- a/service/snowball/go.mod +++ b/service/snowball/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/snowball/go.sum b/service/snowball/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/snowball/go.sum +++ b/service/snowball/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/snowdevicemanagement/go.mod b/service/snowdevicemanagement/go.mod index fb3b169e84a..8f07c57d393 100644 --- a/service/snowdevicemanagement/go.mod +++ b/service/snowdevicemanagement/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/snowdevicemanagement/go.sum b/service/snowdevicemanagement/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/snowdevicemanagement/go.sum +++ b/service/snowdevicemanagement/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/sns/go.mod b/service/sns/go.mod index b825d364433..1ae9ea80151 100644 --- a/service/sns/go.mod +++ b/service/sns/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/sns/go.sum b/service/sns/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/sns/go.sum +++ b/service/sns/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/sqs/go.mod b/service/sqs/go.mod index 4f636fe9046..8a582e00e2e 100644 --- a/service/sqs/go.mod +++ b/service/sqs/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/sqs/go.sum b/service/sqs/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/sqs/go.sum +++ b/service/sqs/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/ssm/go.mod b/service/ssm/go.mod index 17b11e58f45..123d25296ba 100644 --- a/service/ssm/go.mod +++ b/service/ssm/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/ssm/go.sum b/service/ssm/go.sum index 616ca36a561..b0e3c06c6d6 100644 --- a/service/ssm/go.sum +++ b/service/ssm/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= diff --git a/service/ssmcontacts/go.mod b/service/ssmcontacts/go.mod index 79aef362fd3..e57f0dd6f81 100644 --- a/service/ssmcontacts/go.mod +++ b/service/ssmcontacts/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/ssmcontacts/go.sum b/service/ssmcontacts/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/ssmcontacts/go.sum +++ b/service/ssmcontacts/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/ssmincidents/go.mod b/service/ssmincidents/go.mod index 25d3b8ea856..6079f02049c 100644 --- a/service/ssmincidents/go.mod +++ b/service/ssmincidents/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/ssmincidents/go.sum b/service/ssmincidents/go.sum index 616ca36a561..b0e3c06c6d6 100644 --- a/service/ssmincidents/go.sum +++ b/service/ssmincidents/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= diff --git a/service/sso/go.mod b/service/sso/go.mod index fc62049d258..25fdcb8e803 100644 --- a/service/sso/go.mod +++ b/service/sso/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/sso/go.sum b/service/sso/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/sso/go.sum +++ b/service/sso/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/ssoadmin/go.mod b/service/ssoadmin/go.mod index b02d3f050c8..bed02276d62 100644 --- a/service/ssoadmin/go.mod +++ b/service/ssoadmin/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/ssoadmin/go.sum b/service/ssoadmin/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/ssoadmin/go.sum +++ b/service/ssoadmin/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/ssooidc/go.mod b/service/ssooidc/go.mod index 233c8064367..3f8954dc816 100644 --- a/service/ssooidc/go.mod +++ b/service/ssooidc/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/ssooidc/go.sum b/service/ssooidc/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/ssooidc/go.sum +++ b/service/ssooidc/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/ssooidc/internal/endpoints/endpoints.go b/service/ssooidc/internal/endpoints/endpoints.go index 8a4c6371150..b7aa2619d82 100644 --- a/service/ssooidc/internal/endpoints/endpoints.go +++ b/service/ssooidc/internal/endpoints/endpoints.go @@ -207,6 +207,14 @@ var defaultPartitions = endpoints.Partitions{ Region: "eu-north-1", }, }, + endpoints.EndpointKey{ + Region: "eu-south-1", + }: endpoints.Endpoint{ + Hostname: "oidc.eu-south-1.amazonaws.com", + CredentialScope: endpoints.CredentialScope{ + Region: "eu-south-1", + }, + }, endpoints.EndpointKey{ Region: "eu-west-1", }: endpoints.Endpoint{ diff --git a/service/storagegateway/go.mod b/service/storagegateway/go.mod index 0b1d0847e08..cd14393375b 100644 --- a/service/storagegateway/go.mod +++ b/service/storagegateway/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/storagegateway/go.sum b/service/storagegateway/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/storagegateway/go.sum +++ b/service/storagegateway/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/sts/go.mod b/service/sts/go.mod index cdd782976f0..47db79b976f 100644 --- a/service/sts/go.mod +++ b/service/sts/go.mod @@ -7,7 +7,7 @@ require ( github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/sts/go.sum b/service/sts/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/sts/go.sum +++ b/service/sts/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/support/go.mod b/service/support/go.mod index a0cca0e800b..3abcd5334f7 100644 --- a/service/support/go.mod +++ b/service/support/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/support/go.sum b/service/support/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/support/go.sum +++ b/service/support/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/swf/go.mod b/service/swf/go.mod index cd03d4aaee3..22a5a83b6da 100644 --- a/service/swf/go.mod +++ b/service/swf/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/swf/go.sum b/service/swf/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/swf/go.sum +++ b/service/swf/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/synthetics/go.mod b/service/synthetics/go.mod index af958643672..0bda325a2e0 100644 --- a/service/synthetics/go.mod +++ b/service/synthetics/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/synthetics/go.sum b/service/synthetics/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/synthetics/go.sum +++ b/service/synthetics/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/textract/go.mod b/service/textract/go.mod index f44d882e65a..8f4e6de312c 100644 --- a/service/textract/go.mod +++ b/service/textract/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/textract/go.sum b/service/textract/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/textract/go.sum +++ b/service/textract/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/timestreamquery/go.mod b/service/timestreamquery/go.mod index da182d904e1..dc94ac15f0f 100644 --- a/service/timestreamquery/go.mod +++ b/service/timestreamquery/go.mod @@ -7,7 +7,7 @@ require ( github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 github.com/aws/aws-sdk-go-v2/service/internal/endpoint-discovery v1.7.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/timestreamquery/go.sum b/service/timestreamquery/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/timestreamquery/go.sum +++ b/service/timestreamquery/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/timestreamwrite/go.mod b/service/timestreamwrite/go.mod index c888a09921e..8cb46223538 100644 --- a/service/timestreamwrite/go.mod +++ b/service/timestreamwrite/go.mod @@ -7,7 +7,7 @@ require ( github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 github.com/aws/aws-sdk-go-v2/service/internal/endpoint-discovery v1.7.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/timestreamwrite/go.sum b/service/timestreamwrite/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/timestreamwrite/go.sum +++ b/service/timestreamwrite/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/transcribe/go.mod b/service/transcribe/go.mod index 9a904b3313a..ea2bcb1db32 100644 --- a/service/transcribe/go.mod +++ b/service/transcribe/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/transcribe/go.sum b/service/transcribe/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/transcribe/go.sum +++ b/service/transcribe/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/transcribestreaming/go.mod b/service/transcribestreaming/go.mod index 4737a9c6839..7c73e078ca2 100644 --- a/service/transcribestreaming/go.mod +++ b/service/transcribestreaming/go.mod @@ -7,7 +7,7 @@ require ( github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.2 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/transcribestreaming/go.sum b/service/transcribestreaming/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/transcribestreaming/go.sum +++ b/service/transcribestreaming/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/transcribestreaming/internal/testing/go.mod b/service/transcribestreaming/internal/testing/go.mod index f6986c2317a..7779a7d4005 100644 --- a/service/transcribestreaming/internal/testing/go.mod +++ b/service/transcribestreaming/internal/testing/go.mod @@ -7,7 +7,7 @@ require ( github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.2 github.com/aws/aws-sdk-go-v2/service/internal/eventstreamtesting v1.0.19 github.com/aws/aws-sdk-go-v2/service/transcribestreaming v1.6.8 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/google/go-cmp v0.5.8 ) diff --git a/service/transcribestreaming/internal/testing/go.sum b/service/transcribestreaming/internal/testing/go.sum index c3294efdb29..34b7a408262 100644 --- a/service/transcribestreaming/internal/testing/go.sum +++ b/service/transcribestreaming/internal/testing/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/transfer/go.mod b/service/transfer/go.mod index c8d5988adad..4defffcc0b2 100644 --- a/service/transfer/go.mod +++ b/service/transfer/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 github.com/jmespath/go-jmespath v0.4.0 ) diff --git a/service/transfer/go.sum b/service/transfer/go.sum index 616ca36a561..b0e3c06c6d6 100644 --- a/service/transfer/go.sum +++ b/service/transfer/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= diff --git a/service/translate/api_op_GetParallelData.go b/service/translate/api_op_GetParallelData.go index 1bc3f181ec1..81702af0a33 100644 --- a/service/translate/api_op_GetParallelData.go +++ b/service/translate/api_op_GetParallelData.go @@ -42,12 +42,12 @@ type GetParallelDataOutput struct { // The Amazon S3 location of a file that provides any errors or warnings that were // produced by your input file. This file was created when Amazon Translate // attempted to create a parallel data resource. The location is returned as a - // presigned URL to that has a 30 minute expiration. + // presigned URL to that has a 30-minute expiration. AuxiliaryDataLocation *types.ParallelDataDataLocation // The Amazon S3 location of the most recent parallel data input file that was // successfully imported into Amazon Translate. The location is returned as a - // presigned URL that has a 30 minute expiration. Amazon Translate doesn't scan all + // presigned URL that has a 30-minute expiration. Amazon Translate doesn't scan all // input files for the risk of CSV injection attacks. CSV injection occurs when a // .csv or .tsv file is altered so that a record contains malicious code. The // record begins with a special character, such as =, +, -, or @. When the file is @@ -59,7 +59,7 @@ type GetParallelDataOutput struct { // The Amazon S3 location of a file that provides any errors or warnings that were // produced by your input file. This file was created when Amazon Translate // attempted to update a parallel data resource. The location is returned as a - // presigned URL to that has a 30 minute expiration. + // presigned URL to that has a 30-minute expiration. LatestUpdateAttemptAuxiliaryDataLocation *types.ParallelDataDataLocation // The properties of the parallel data resource that is being retrieved. diff --git a/service/translate/api_op_GetTerminology.go b/service/translate/api_op_GetTerminology.go index 0f9c0fb5974..e97e64de763 100644 --- a/service/translate/api_op_GetTerminology.go +++ b/service/translate/api_op_GetTerminology.go @@ -35,11 +35,11 @@ type GetTerminologyInput struct { Name *string // The data format of the custom terminology being retrieved. If you don't specify - // this parameter, Amazon Translate returns a file that has the same format as the - // file that was imported to create the terminology. If you specify this parameter - // when you retrieve a multi-directional terminology resource, you must specify the - // same format as that of the input file that was imported to create it. Otherwise, - // Amazon Translate throws an error. + // this parameter, Amazon Translate returns a file with the same format as the file + // that was imported to create the terminology. If you specify this parameter when + // you retrieve a multi-directional terminology resource, you must specify the same + // format as the input file that was imported to create it. Otherwise, Amazon + // Translate throws an error. TerminologyDataFormat types.TerminologyDataFormat noSmithyDocumentSerde @@ -50,12 +50,12 @@ type GetTerminologyOutput struct { // The Amazon S3 location of a file that provides any errors or warnings that were // produced by your input file. This file was created when Amazon Translate // attempted to create a terminology resource. The location is returned as a - // presigned URL to that has a 30 minute expiration. + // presigned URL to that has a 30-minute expiration. AuxiliaryDataLocation *types.TerminologyDataLocation // The Amazon S3 location of the most recent custom terminology input file that was // successfully imported into Amazon Translate. The location is returned as a - // presigned URL that has a 30 minute expiration. Amazon Translate doesn't scan all + // presigned URL that has a 30-minute expiration. Amazon Translate doesn't scan all // input files for the risk of CSV injection attacks. CSV injection occurs when a // .csv or .tsv file is altered so that a record contains malicious code. The // record begins with a special character, such as =, +, -, or @. When the file is diff --git a/service/translate/api_op_ImportTerminology.go b/service/translate/api_op_ImportTerminology.go index 225903e689b..ce34d401f45 100644 --- a/service/translate/api_op_ImportTerminology.go +++ b/service/translate/api_op_ImportTerminology.go @@ -11,15 +11,14 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Creates or updates a custom terminology, depending on whether or not one already -// exists for the given terminology name. Importing a terminology with the same -// name as an existing one will merge the terminologies based on the chosen merge -// strategy. Currently, the only supported merge strategy is OVERWRITE, and so the -// imported terminology will overwrite an existing terminology of the same name. If -// you import a terminology that overwrites an existing one, the new terminology -// take up to 10 minutes to fully propagate and be available for use in a -// translation due to cache policies with the DataPlane service that performs the -// translations. +// Creates or updates a custom terminology, depending on whether one already exists +// for the given terminology name. Importing a terminology with the same name as an +// existing one will merge the terminologies based on the chosen merge strategy. +// The only supported merge strategy is OVERWRITE, where the imported terminology +// overwrites the existing terminology of the same name. If you import a +// terminology that overwrites an existing one, the new terminology takes up to 10 +// minutes to fully propagate. After that, translations have access to the new +// terminology. func (c *Client) ImportTerminology(ctx context.Context, params *ImportTerminologyInput, optFns ...func(*Options)) (*ImportTerminologyOutput, error) { if params == nil { params = &ImportTerminologyInput{} diff --git a/service/translate/api_op_ListLanguages.go b/service/translate/api_op_ListLanguages.go new file mode 100644 index 00000000000..29ec532d0dc --- /dev/null +++ b/service/translate/api_op_ListLanguages.go @@ -0,0 +1,221 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package translate + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + "github.com/aws/aws-sdk-go-v2/service/translate/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Provides a list of languages (RFC-5646 codes and names) that Amazon Translate +// supports. +func (c *Client) ListLanguages(ctx context.Context, params *ListLanguagesInput, optFns ...func(*Options)) (*ListLanguagesOutput, error) { + if params == nil { + params = &ListLanguagesInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "ListLanguages", params, optFns, c.addOperationListLanguagesMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*ListLanguagesOutput) + out.ResultMetadata = metadata + return out, nil +} + +type ListLanguagesInput struct { + + // The language code for the language to use to display the language names in the + // response. The language code is en by default. + DisplayLanguageCode types.DisplayLanguageCode + + // The maximum number of results to return in each response. + MaxResults *int32 + + // Include the NextToken value to fetch the next group of supported languages. + NextToken *string + + noSmithyDocumentSerde +} + +type ListLanguagesOutput struct { + + // The language code passed in with the request. + DisplayLanguageCode types.DisplayLanguageCode + + // The list of supported languages. + Languages []types.Language + + // If the response does not include all remaining results, use the NextToken in the + // next request to fetch the next group of supported languages. + NextToken *string + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationListLanguagesMiddlewares(stack *middleware.Stack, options Options) (err error) { + err = stack.Serialize.Add(&awsAwsjson11_serializeOpListLanguages{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsAwsjson11_deserializeOpListLanguages{}, middleware.After) + if err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddClientRequestIDMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddComputeContentLengthMiddleware(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = v4.AddComputePayloadSHA256Middleware(stack); err != nil { + return err + } + if err = addRetryMiddlewares(stack, options); err != nil { + return err + } + if err = addHTTPSignerV4Middleware(stack, options); err != nil { + return err + } + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { + return err + } + if err = addClientUserAgent(stack); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLanguages(options.Region), middleware.Before); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + return nil +} + +// ListLanguagesAPIClient is a client that implements the ListLanguages operation. +type ListLanguagesAPIClient interface { + ListLanguages(context.Context, *ListLanguagesInput, ...func(*Options)) (*ListLanguagesOutput, error) +} + +var _ ListLanguagesAPIClient = (*Client)(nil) + +// ListLanguagesPaginatorOptions is the paginator options for ListLanguages +type ListLanguagesPaginatorOptions struct { + // The maximum number of results to return in each response. + Limit int32 + + // Set to true if pagination should stop if the service returns a pagination token + // that matches the most recent token provided to the service. + StopOnDuplicateToken bool +} + +// ListLanguagesPaginator is a paginator for ListLanguages +type ListLanguagesPaginator struct { + options ListLanguagesPaginatorOptions + client ListLanguagesAPIClient + params *ListLanguagesInput + nextToken *string + firstPage bool +} + +// NewListLanguagesPaginator returns a new ListLanguagesPaginator +func NewListLanguagesPaginator(client ListLanguagesAPIClient, params *ListLanguagesInput, optFns ...func(*ListLanguagesPaginatorOptions)) *ListLanguagesPaginator { + if params == nil { + params = &ListLanguagesInput{} + } + + options := ListLanguagesPaginatorOptions{} + if params.MaxResults != nil { + options.Limit = *params.MaxResults + } + + for _, fn := range optFns { + fn(&options) + } + + return &ListLanguagesPaginator{ + options: options, + client: client, + params: params, + firstPage: true, + nextToken: params.NextToken, + } +} + +// HasMorePages returns a boolean indicating whether more pages are available +func (p *ListLanguagesPaginator) HasMorePages() bool { + return p.firstPage || (p.nextToken != nil && len(*p.nextToken) != 0) +} + +// NextPage retrieves the next ListLanguages page. +func (p *ListLanguagesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListLanguagesOutput, error) { + if !p.HasMorePages() { + return nil, fmt.Errorf("no more pages available") + } + + params := *p.params + params.NextToken = p.nextToken + + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit + + result, err := p.client.ListLanguages(ctx, ¶ms, optFns...) + if err != nil { + return nil, err + } + p.firstPage = false + + prevToken := p.nextToken + p.nextToken = result.NextToken + + if p.options.StopOnDuplicateToken && + prevToken != nil && + p.nextToken != nil && + *prevToken == *p.nextToken { + p.nextToken = nil + } + + return result, nil +} + +func newServiceMetadataMiddleware_opListLanguages(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "translate", + OperationName: "ListLanguages", + } +} diff --git a/service/translate/api_op_StartTextTranslationJob.go b/service/translate/api_op_StartTextTranslationJob.go index efa49ca8718..151f15363e1 100644 --- a/service/translate/api_op_StartTextTranslationJob.go +++ b/service/translate/api_op_StartTextTranslationJob.go @@ -36,8 +36,8 @@ func (c *Client) StartTextTranslationJob(ctx context.Context, params *StartTextT type StartTextTranslationJobInput struct { - // A unique identifier for the request. This token is auto-generated when using the - // Amazon Translate SDK. + // A unique identifier for the request. This token is generated for you when using + // the Amazon Translate SDK. // // This member is required. ClientToken *string @@ -49,7 +49,7 @@ type StartTextTranslationJobInput struct { // This member is required. DataAccessRoleArn *string - // Specifies the format and S3 location of the input documents for the translation + // Specifies the format and location of the input documents for the translation // job. // // This member is required. @@ -87,7 +87,8 @@ type StartTextTranslationJobInput struct { ParallelDataNames []string // Settings to configure your translation output, including the option to mask - // profane words and phrases. + // profane words and phrases. StartTextTranslationJob does not support the + // formality setting. Settings *types.TranslationSettings // The name of a custom terminology resource to add to the translation job. This diff --git a/service/translate/api_op_TranslateText.go b/service/translate/api_op_TranslateText.go index ba9a518c6a6..d5ecc0413fd 100644 --- a/service/translate/api_op_TranslateText.go +++ b/service/translate/api_op_TranslateText.go @@ -36,7 +36,9 @@ type TranslateTextInput struct { // your text, you can specify auto in the SourceLanguageCode field. If you specify // auto, Amazon Translate will call Amazon Comprehend // (https://docs.aws.amazon.com/comprehend/latest/dg/comprehend-general.html) to - // determine the source language. + // determine the source language. If you specify auto, you must send the + // TranslateText request in a region that supports Amazon Comprehend. Otherwise, + // the request returns an error indicating that autodetect is not supported. // // This member is required. SourceLanguageCode *string @@ -53,8 +55,9 @@ type TranslateTextInput struct { // This member is required. Text *string - // Settings to configure your translation output, including the option to mask - // profane words and phrases. + // Settings to configure your translation output, including the option to set the + // formality level of the output text and the option to mask profane words and + // phrases. Settings *types.TranslationSettings // The name of the terminology list file to be used in the TranslateText request. diff --git a/service/translate/deserializers.go b/service/translate/deserializers.go index 3ea33aeda1b..3a6780fcde2 100644 --- a/service/translate/deserializers.go +++ b/service/translate/deserializers.go @@ -841,6 +841,126 @@ func awsAwsjson11_deserializeOpErrorImportTerminology(response *smithyhttp.Respo } } +type awsAwsjson11_deserializeOpListLanguages struct { +} + +func (*awsAwsjson11_deserializeOpListLanguages) ID() string { + return "OperationDeserializer" +} + +func (m *awsAwsjson11_deserializeOpListLanguages) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsAwsjson11_deserializeOpErrorListLanguages(response, &metadata) + } + output := &ListLanguagesOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(response.Body, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + err = awsAwsjson11_deserializeOpDocumentListLanguagesOutput(&output, shape) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err +} + +func awsAwsjson11_deserializeOpErrorListLanguages(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + code := response.Header.Get("X-Amzn-ErrorType") + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + code, message, err := restjson.GetErrorInfo(decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + if len(code) != 0 { + errorCode = restjson.SanitizeErrorCode(code) + } + if len(message) != 0 { + errorMessage = message + } + + switch { + case strings.EqualFold("InternalServerException", errorCode): + return awsAwsjson11_deserializeErrorInternalServerException(response, errorBody) + + case strings.EqualFold("InvalidParameterValueException", errorCode): + return awsAwsjson11_deserializeErrorInvalidParameterValueException(response, errorBody) + + case strings.EqualFold("TooManyRequestsException", errorCode): + return awsAwsjson11_deserializeErrorTooManyRequestsException(response, errorBody) + + case strings.EqualFold("UnsupportedDisplayLanguageCodeException", errorCode): + return awsAwsjson11_deserializeErrorUnsupportedDisplayLanguageCodeException(response, errorBody) + + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + type awsAwsjson11_deserializeOpListParallelData struct { } @@ -2122,6 +2242,41 @@ func awsAwsjson11_deserializeErrorTooManyRequestsException(response *smithyhttp. return output } +func awsAwsjson11_deserializeErrorUnsupportedDisplayLanguageCodeException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + output := &types.UnsupportedDisplayLanguageCodeException{} + err := awsAwsjson11_deserializeDocumentUnsupportedDisplayLanguageCodeException(&output, shape) + + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return err + } + + errorBody.Seek(0, io.SeekStart) + return output +} + func awsAwsjson11_deserializeErrorUnsupportedLanguagePairException(response *smithyhttp.Response, errorBody *bytes.Reader) error { var buff [1024]byte ringBuffer := smithyio.NewRingBuffer(buff[:]) @@ -2693,6 +2848,55 @@ func awsAwsjson11_deserializeDocumentJobDetails(v **types.JobDetails, value inte return nil } +func awsAwsjson11_deserializeDocumentLanguage(v **types.Language, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.Language + if *v == nil { + sv = &types.Language{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "LanguageCode": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected LanguageCodeString to be of type string, got %T instead", value) + } + sv.LanguageCode = ptr.String(jtv) + } + + case "LanguageName": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected LocalizedNameString to be of type string, got %T instead", value) + } + sv.LanguageName = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + func awsAwsjson11_deserializeDocumentLanguageCodeStringList(v *[]string, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -2729,6 +2933,40 @@ func awsAwsjson11_deserializeDocumentLanguageCodeStringList(v *[]string, value i return nil } +func awsAwsjson11_deserializeDocumentLanguagesList(v *[]types.Language, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []types.Language + if *v == nil { + cv = []types.Language{} + } else { + cv = *v + } + + for _, value := range shape { + var col types.Language + destAddr := &col + if err := awsAwsjson11_deserializeDocumentLanguage(&destAddr, value); err != nil { + return err + } + col = *destAddr + cv = append(cv, col) + + } + *v = cv + return nil +} + func awsAwsjson11_deserializeDocumentLimitExceededException(v **types.LimitExceededException, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -3963,6 +4201,55 @@ func awsAwsjson11_deserializeDocumentTranslationSettings(v **types.TranslationSe return nil } +func awsAwsjson11_deserializeDocumentUnsupportedDisplayLanguageCodeException(v **types.UnsupportedDisplayLanguageCodeException, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.UnsupportedDisplayLanguageCodeException + if *v == nil { + sv = &types.UnsupportedDisplayLanguageCodeException{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "DisplayLanguageCode": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected LanguageCodeString to be of type string, got %T instead", value) + } + sv.DisplayLanguageCode = ptr.String(jtv) + } + + case "Message": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.Message = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + func awsAwsjson11_deserializeDocumentUnsupportedLanguagePairException(v **types.UnsupportedLanguagePairException, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -4293,6 +4580,60 @@ func awsAwsjson11_deserializeOpDocumentImportTerminologyOutput(v **ImportTermino return nil } +func awsAwsjson11_deserializeOpDocumentListLanguagesOutput(v **ListLanguagesOutput, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *ListLanguagesOutput + if *v == nil { + sv = &ListLanguagesOutput{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "DisplayLanguageCode": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected DisplayLanguageCode to be of type string, got %T instead", value) + } + sv.DisplayLanguageCode = types.DisplayLanguageCode(jtv) + } + + case "Languages": + if err := awsAwsjson11_deserializeDocumentLanguagesList(&sv.Languages, value); err != nil { + return err + } + + case "NextToken": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected NextToken to be of type string, got %T instead", value) + } + sv.NextToken = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + func awsAwsjson11_deserializeOpDocumentListParallelDataOutput(v **ListParallelDataOutput, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) diff --git a/service/translate/generated.json b/service/translate/generated.json index 8e01297b865..8ddb014cbe0 100644 --- a/service/translate/generated.json +++ b/service/translate/generated.json @@ -15,6 +15,7 @@ "api_op_GetParallelData.go", "api_op_GetTerminology.go", "api_op_ImportTerminology.go", + "api_op_ListLanguages.go", "api_op_ListParallelData.go", "api_op_ListTerminologies.go", "api_op_ListTextTranslationJobs.go", diff --git a/service/translate/go.mod b/service/translate/go.mod index f478892e98a..33c5369cc79 100644 --- a/service/translate/go.mod +++ b/service/translate/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/translate/go.sum b/service/translate/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/translate/go.sum +++ b/service/translate/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/translate/serializers.go b/service/translate/serializers.go index 994c1a5cfb3..2ccfdf39321 100644 --- a/service/translate/serializers.go +++ b/service/translate/serializers.go @@ -401,6 +401,61 @@ func (m *awsAwsjson11_serializeOpImportTerminology) HandleSerialize(ctx context. return next.HandleSerialize(ctx, in) } +type awsAwsjson11_serializeOpListLanguages struct { +} + +func (*awsAwsjson11_serializeOpListLanguages) ID() string { + return "OperationSerializer" +} + +func (m *awsAwsjson11_serializeOpListLanguages) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*ListLanguagesInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1") + httpBindingEncoder.SetHeader("X-Amz-Target").String("AWSShineFrontendService_20170701.ListLanguages") + + jsonEncoder := smithyjson.NewEncoder() + if err := awsAwsjson11_serializeOpDocumentListLanguagesInput(input, jsonEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + return next.HandleSerialize(ctx, in) +} + type awsAwsjson11_serializeOpListParallelData struct { } @@ -1080,6 +1135,28 @@ func awsAwsjson11_serializeOpDocumentImportTerminologyInput(v *ImportTerminology return nil } +func awsAwsjson11_serializeOpDocumentListLanguagesInput(v *ListLanguagesInput, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if len(v.DisplayLanguageCode) > 0 { + ok := object.Key("DisplayLanguageCode") + ok.String(string(v.DisplayLanguageCode)) + } + + if v.MaxResults != nil { + ok := object.Key("MaxResults") + ok.Integer(*v.MaxResults) + } + + if v.NextToken != nil { + ok := object.Key("NextToken") + ok.String(*v.NextToken) + } + + return nil +} + func awsAwsjson11_serializeOpDocumentListParallelDataInput(v *ListParallelDataInput, value smithyjson.Value) error { object := value.Object() defer object.Close() diff --git a/service/translate/types/enums.go b/service/translate/types/enums.go index 773733e32aa..a255d4084f9 100644 --- a/service/translate/types/enums.go +++ b/service/translate/types/enums.go @@ -20,6 +20,40 @@ func (Directionality) Values() []Directionality { } } +type DisplayLanguageCode string + +// Enum values for DisplayLanguageCode +const ( + DisplayLanguageCodeDe DisplayLanguageCode = "de" + DisplayLanguageCodeEn DisplayLanguageCode = "en" + DisplayLanguageCodeEs DisplayLanguageCode = "es" + DisplayLanguageCodeFr DisplayLanguageCode = "fr" + DisplayLanguageCodeIt DisplayLanguageCode = "it" + DisplayLanguageCodeJa DisplayLanguageCode = "ja" + DisplayLanguageCodeKo DisplayLanguageCode = "ko" + DisplayLanguageCodePt DisplayLanguageCode = "pt" + DisplayLanguageCodeZh DisplayLanguageCode = "zh" + DisplayLanguageCodeZhTw DisplayLanguageCode = "zh-TW" +) + +// Values returns all known values for DisplayLanguageCode. Note that this can be +// expanded in the future, and so it is only as up to date as the client. The +// ordering of this slice is not guaranteed to be stable across updates. +func (DisplayLanguageCode) Values() []DisplayLanguageCode { + return []DisplayLanguageCode{ + "de", + "en", + "es", + "fr", + "it", + "ja", + "ko", + "pt", + "zh", + "zh-TW", + } +} + type EncryptionKeyType string // Enum values for EncryptionKeyType diff --git a/service/translate/types/errors.go b/service/translate/types/errors.go index 0adf11239ee..1bc94ee83a4 100644 --- a/service/translate/types/errors.go +++ b/service/translate/types/errors.go @@ -97,7 +97,7 @@ func (e *InternalServerException) ErrorMessage() string { func (e *InternalServerException) ErrorCode() string { return "InternalServerException" } func (e *InternalServerException) ErrorFault() smithy.ErrorFault { return smithy.FaultServer } -// The filter specified for the operation is invalid. Specify a different filter. +// The filter specified for the operation is not valid. Specify a different filter. type InvalidFilterException struct { Message *string @@ -116,8 +116,8 @@ func (e *InvalidFilterException) ErrorMessage() string { func (e *InvalidFilterException) ErrorCode() string { return "InvalidFilterException" } func (e *InvalidFilterException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } -// The value of the parameter is invalid. Review the value of the parameter you are -// using to correct it, and then retry your operation. +// The value of the parameter is not valid. Review the value of the parameter you +// are using to correct it, and then retry your operation. type InvalidParameterValueException struct { Message *string @@ -136,8 +136,8 @@ func (e *InvalidParameterValueException) ErrorMessage() string { func (e *InvalidParameterValueException) ErrorCode() string { return "InvalidParameterValueException" } func (e *InvalidParameterValueException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } -// The request that you made is invalid. Check your request to determine why it's -// invalid and then retry the request. +// The request that you made is not valid. Check your request to determine why it's +// not valid and then retry the request. type InvalidRequestException struct { Message *string @@ -197,8 +197,8 @@ func (e *ResourceNotFoundException) ErrorMessage() string { func (e *ResourceNotFoundException) ErrorCode() string { return "ResourceNotFoundException" } func (e *ResourceNotFoundException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } -// The Amazon Translate service is temporarily unavailable. Please wait a bit and -// then retry your request. +// The Amazon Translate service is temporarily unavailable. Wait a bit and then +// retry your request. type ServiceUnavailableException struct { Message *string @@ -257,6 +257,31 @@ func (e *TooManyRequestsException) ErrorMessage() string { func (e *TooManyRequestsException) ErrorCode() string { return "TooManyRequestsException" } func (e *TooManyRequestsException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } +// Requested display language code is not supported. +type UnsupportedDisplayLanguageCodeException struct { + Message *string + + DisplayLanguageCode *string + + noSmithyDocumentSerde +} + +func (e *UnsupportedDisplayLanguageCodeException) Error() string { + return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) +} +func (e *UnsupportedDisplayLanguageCodeException) ErrorMessage() string { + if e.Message == nil { + return "" + } + return *e.Message +} +func (e *UnsupportedDisplayLanguageCodeException) ErrorCode() string { + return "UnsupportedDisplayLanguageCodeException" +} +func (e *UnsupportedDisplayLanguageCodeException) ErrorFault() smithy.ErrorFault { + return smithy.FaultClient +} + // Amazon Translate does not support translation from the language of the source // text into the requested target language. For more information, see // how-to-error-msg. diff --git a/service/translate/types/types.go b/service/translate/types/types.go index efe074646a0..9a20823baf5 100644 --- a/service/translate/types/types.go +++ b/service/translate/types/types.go @@ -83,8 +83,13 @@ type InputDataConfig struct { // This member is required. ContentType *string - // The URI of the AWS S3 folder that contains the input file. The folder must be in - // the same Region as the API endpoint you are calling. + // The URI of the AWS S3 folder that contains the input files. Amazon Translate + // translates all the files in the folder. The folder must be in the same Region as + // the API endpoint you are calling. The URI can also point to a single input + // document, or it can provide the prefix for a collection of input documents. For + // example. if you use the URI S3://bucketName/prefix and the prefix is a single + // file, Amazon Translate uses that files as input. If more than one file begins + // with the prefix, Amazon Translate uses all of them as input. // // This member is required. S3Uri *string @@ -108,6 +113,22 @@ type JobDetails struct { noSmithyDocumentSerde } +// A supported language. +type Language struct { + + // Language code for the supported language. + // + // This member is required. + LanguageCode *string + + // Language name of the supported language. + // + // This member is required. + LanguageName *string + + noSmithyDocumentSerde +} + // The output configuration properties for a batch translation job. type OutputDataConfig struct { @@ -145,7 +166,7 @@ type ParallelDataConfig struct { type ParallelDataDataLocation struct { // The Amazon S3 location of the parallel data input file. The location is returned - // as a presigned URL to that has a 30 minute expiration. Amazon Translate doesn't + // as a presigned URL to that has a 30-minute expiration. Amazon Translate doesn't // scan all input files for the risk of CSV injection attacks. CSV injection occurs // when a .csv or .tsv file is altered so that a record contains malicious code. // The record begins with a special character, such as =, +, -, or @. When the file @@ -241,7 +262,9 @@ type Term struct { noSmithyDocumentSerde } -// The data associated with the custom terminology. +// The data associated with the custom terminology. For information about the +// custom terminology file, see Creating a Custom Terminology +// (https://docs.aws.amazon.com/translate/latest/dg/creating-custom-terminology.html). type TerminologyData struct { // The file containing the custom terminology data. Your version of the AWS SDK @@ -263,11 +286,10 @@ type TerminologyData struct { // language in the terminology resource can be the source language or a target // language. A single multi-directional terminology resource can be used for jobs // that translate different language pairs. For example, if the terminology - // contains terms in English and Spanish, then it can be used for jobs that - // translate English to Spanish and jobs that translate Spanish to English. When - // you create a custom terminology resource without specifying the directionality, - // it behaves as uni-directional terminology, although this parameter will have a - // null value. + // contains English and Spanish terms, it can be used for jobs that translate + // English to Spanish and Spanish to English. When you create a custom terminology + // resource without specifying the directionality, it behaves as uni-directional + // terminology, although this parameter will have a null value. Directionality Directionality noSmithyDocumentSerde @@ -278,9 +300,9 @@ type TerminologyDataLocation struct { // The Amazon S3 location of the most recent custom terminology input file that was // successfully imported into Amazon Translate. The location is returned as a - // presigned URL that has a 30 minute expiration. Amazon Translate doesn't scan all - // input files for the risk of CSV injection attacks. CSV injection occurs when a - // .csv or .tsv file is altered so that a record contains malicious code. The + // presigned URL that has a 30-minute expiration . Amazon Translate doesn't scan + // all input files for the risk of CSV injection attacks. CSV injection occurs when + // a .csv or .tsv file is altered so that a record contains malicious code. The // record begins with a special character, such as =, +, -, or @. When the file is // opened in a spreadsheet program, the program might interpret the record as a // formula and run the code within it. Before you download an input file from @@ -438,16 +460,29 @@ type TextTranslationJobProperties struct { // Settings that configure the translation output. type TranslationSettings struct { + + // You can optionally specify the desired level of formality for real-time + // translations to supported target languages. The formality setting controls the + // level of formal language usage (also known as register + // (https://en.wikipedia.org/wiki/Register_(sociolinguistics))) in the translation + // output. You can set the value to informal or formal. If you don't specify a + // value for formality, or if the target language doesn't support formality, the + // translation will ignore the formality setting. Note that asynchronous + // translation jobs don't support formality. If you provide a value for formality, + // the StartTextTranslationJob API throws an exception (InvalidRequestException). + // For target languages that support formality, see Supported Languages and + // Language Codes in the Amazon Translate Developer Guide + // (https://docs.aws.amazon.com/translate/latest/dg/what-is.html). Formality Formality // Enable the profanity setting if you want Amazon Translate to mask profane words // and phrases in your translation output. To mask profane words and phrases, // Amazon Translate replaces them with the grawlix string “?$#@$“. This 5-character // sequence is used for each profane word or phrase, regardless of the length or - // number of words. Amazon Translate does not detect profanity in all of its + // number of words. Amazon Translate doesn't detect profanity in all of its // supported languages. For languages that support profanity detection, see // Supported Languages and Language Codes in the Amazon Translate Developer Guide - // (https://docs.aws.amazon.com/translate/latest/dg/what-is.html#what-is-languages). + // (https://docs.aws.amazon.com/translate/latest/dg/what-is.html). Profanity Profanity noSmithyDocumentSerde diff --git a/service/voiceid/go.mod b/service/voiceid/go.mod index 63064bda368..688d8a1c18d 100644 --- a/service/voiceid/go.mod +++ b/service/voiceid/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/voiceid/go.sum b/service/voiceid/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/voiceid/go.sum +++ b/service/voiceid/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/waf/go.mod b/service/waf/go.mod index 422634f2028..bae095f1458 100644 --- a/service/waf/go.mod +++ b/service/waf/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/waf/go.sum b/service/waf/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/waf/go.sum +++ b/service/waf/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/wafregional/go.mod b/service/wafregional/go.mod index 0bb7e62d63e..44c39ba0263 100644 --- a/service/wafregional/go.mod +++ b/service/wafregional/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/wafregional/go.sum b/service/wafregional/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/wafregional/go.sum +++ b/service/wafregional/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/wafv2/go.mod b/service/wafv2/go.mod index 8183f2c52cf..5d45de5965a 100644 --- a/service/wafv2/go.mod +++ b/service/wafv2/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/wafv2/go.sum b/service/wafv2/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/wafv2/go.sum +++ b/service/wafv2/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/wellarchitected/go.mod b/service/wellarchitected/go.mod index 9201c4f7cc5..d563a9cab16 100644 --- a/service/wellarchitected/go.mod +++ b/service/wellarchitected/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/wellarchitected/go.sum b/service/wellarchitected/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/wellarchitected/go.sum +++ b/service/wellarchitected/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/wisdom/go.mod b/service/wisdom/go.mod index 74b83a79ade..ba5b01a433d 100644 --- a/service/wisdom/go.mod +++ b/service/wisdom/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/wisdom/go.sum b/service/wisdom/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/wisdom/go.sum +++ b/service/wisdom/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/workdocs/go.mod b/service/workdocs/go.mod index afda02a55d7..f2f3886a82c 100644 --- a/service/workdocs/go.mod +++ b/service/workdocs/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/workdocs/go.sum b/service/workdocs/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/workdocs/go.sum +++ b/service/workdocs/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/worklink/go.mod b/service/worklink/go.mod index 0d4e0e41820..3bd280e896e 100644 --- a/service/worklink/go.mod +++ b/service/worklink/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/worklink/go.sum b/service/worklink/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/worklink/go.sum +++ b/service/worklink/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/workmail/go.mod b/service/workmail/go.mod index 54f48408095..bf9ebb48b00 100644 --- a/service/workmail/go.mod +++ b/service/workmail/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/workmail/go.sum b/service/workmail/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/workmail/go.sum +++ b/service/workmail/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/workmailmessageflow/go.mod b/service/workmailmessageflow/go.mod index b503c6768ae..d25db4b6bf1 100644 --- a/service/workmailmessageflow/go.mod +++ b/service/workmailmessageflow/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/workmailmessageflow/go.sum b/service/workmailmessageflow/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/workmailmessageflow/go.sum +++ b/service/workmailmessageflow/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/workspaces/go.mod b/service/workspaces/go.mod index 1c8ce245c46..baa742da98a 100644 --- a/service/workspaces/go.mod +++ b/service/workspaces/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/workspaces/go.sum b/service/workspaces/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/workspaces/go.sum +++ b/service/workspaces/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/workspacesweb/go.mod b/service/workspacesweb/go.mod index 511dee9f749..84b46cbfb5e 100644 --- a/service/workspacesweb/go.mod +++ b/service/workspacesweb/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/workspacesweb/go.sum b/service/workspacesweb/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/workspacesweb/go.sum +++ b/service/workspacesweb/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= diff --git a/service/xray/go.mod b/service/xray/go.mod index 233badf84a3..0b1f166e6d8 100644 --- a/service/xray/go.mod +++ b/service/xray/go.mod @@ -6,7 +6,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.16.5 github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.12 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.6 - github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 + github.com/aws/smithy-go v1.12.0 ) replace github.com/aws/aws-sdk-go-v2 => ../../ diff --git a/service/xray/go.sum b/service/xray/go.sum index 3983dc04087..6e074bd88ad 100644 --- a/service/xray/go.sum +++ b/service/xray/go.sum @@ -1,5 +1,5 @@ -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864 h1:9UJBZTFEmJt/luXhv4jkD5lZDeFUbWE/ZxpF0oAoJc8= -github.com/aws/smithy-go v1.11.4-0.20220627193811-996fd06fc864/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= +github.com/aws/smithy-go v1.12.0 h1:gXpeZel/jPoWQ7OEmLIgCUnhkFftqNfwWUwAHSlp1v0= +github.com/aws/smithy-go v1.12.0/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=