From 70e7095bf016028d2c47f9f1f9ed7a1d88f8c920 Mon Sep 17 00:00:00 2001 From: AWS SDK for Go v2 automation user Date: Thu, 23 May 2024 18:26:05 +0000 Subject: [PATCH] Regenerated Clients --- .../422e97444e83499eabfee55a6d263189.json | 8 + .../46836310b70c46d397462b1844505ea0.json | 8 + .../protocoltest/awsrestjson/deserializers.go | 8 + .../protocoltest/ec2query/deserializers.go | 8 + .../protocoltest/jsonrpc/deserializers.go | 8 + .../protocoltest/jsonrpc10/deserializers.go | 8 + internal/protocoltest/query/deserializers.go | 8 + .../protocoltest/restxml/deserializers.go | 8 + .../restxmlwithnamespace/deserializers.go | 10 + .../smithyrpcv2cbor/deserializers.go | 9 + service/accessanalyzer/deserializers.go | 9 + service/account/deserializers.go | 10 + service/acm/deserializers.go | 9 + service/acmpca/deserializers.go | 9 + service/amp/deserializers.go | 9 + service/amplify/deserializers.go | 9 + service/amplifybackend/deserializers.go | 10 + service/amplifyuibuilder/deserializers.go | 9 + service/apigateway/deserializers.go | 9 + .../apigatewaymanagementapi/deserializers.go | 9 + service/apigatewayv2/deserializers.go | 9 + service/appconfig/deserializers.go | 9 + service/appconfigdata/deserializers.go | 10 + service/appfabric/deserializers.go | 9 + service/appflow/deserializers.go | 9 + service/appintegrations/deserializers.go | 9 + .../applicationautoscaling/deserializers.go | 9 + .../applicationcostprofiler/deserializers.go | 9 + .../deserializers.go | 9 + service/applicationinsights/deserializers.go | 9 + service/appmesh/deserializers.go | 9 + service/apprunner/deserializers.go | 9 + service/appstream/deserializers.go | 9 + service/appsync/deserializers.go | 9 + service/arczonalshift/deserializers.go | 9 + service/artifact/deserializers.go | 9 + service/athena/deserializers.go | 9 + service/auditmanager/deserializers.go | 9 + service/autoscaling/deserializers.go | 8 + service/autoscalingplans/deserializers.go | 9 + service/b2bi/deserializers.go | 9 + service/backup/deserializers.go | 9 + service/backupgateway/deserializers.go | 9 + service/backupstorage/deserializers.go | 10 + service/batch/deserializers.go | 10 + service/bcmdataexports/deserializers.go | 9 + service/bedrock/deserializers.go | 9 + service/bedrockagent/deserializers.go | 9 + service/bedrockagentruntime/deserializers.go | 10 + service/bedrockruntime/deserializers.go | 10 + service/billingconductor/deserializers.go | 10 + service/braket/deserializers.go | 9 + .../braket/internal/endpoints/endpoints.go | 3 + service/budgets/deserializers.go | 9 + service/chatbot/deserializers.go | 10 + service/chime/deserializers.go | 9 + service/chimesdkidentity/deserializers.go | 9 + .../chimesdkmediapipelines/deserializers.go | 9 + service/chimesdkmeetings/deserializers.go | 10 + service/chimesdkmessaging/deserializers.go | 9 + service/chimesdkvoice/deserializers.go | 9 + service/cleanrooms/deserializers.go | 9 + service/cleanroomsml/deserializers.go | 9 + service/cloud9/deserializers.go | 9 + service/cloudcontrol/deserializers.go | 9 + service/clouddirectory/deserializers.go | 8 + service/cloudformation/deserializers.go | 9 + service/cloudfront/deserializers.go | 9 + .../cloudfrontkeyvaluestore/deserializers.go | 9 + service/cloudhsm/deserializers.go | 10 + service/cloudhsmv2/deserializers.go | 9 + service/cloudsearch/deserializers.go | 9 + service/cloudsearchdomain/deserializers.go | 10 + service/cloudtrail/deserializers.go | 8 + service/cloudtraildata/deserializers.go | 10 + service/cloudwatch/deserializers.go | 8 + service/cloudwatchevents/deserializers.go | 9 + service/cloudwatchlogs/deserializers.go | 10 + service/codeartifact/deserializers.go | 9 + service/codebuild/deserializers.go | 9 + service/codecatalyst/deserializers.go | 9 + service/codecommit/deserializers.go | 9 + service/codeconnections/deserializers.go | 9 + service/codedeploy/deserializers.go | 9 + service/codeguruprofiler/deserializers.go | 9 + service/codegurureviewer/deserializers.go | 9 + service/codegurusecurity/deserializers.go | 9 + service/codepipeline/deserializers.go | 9 + service/codestar/deserializers.go | 9 + service/codestarconnections/deserializers.go | 9 + .../codestarnotifications/deserializers.go | 9 + service/cognitoidentity/deserializers.go | 9 + .../cognitoidentityprovider/deserializers.go | 9 + service/cognitosync/deserializers.go | 9 + service/comprehend/deserializers.go | 9 + service/comprehendmedical/deserializers.go | 9 + service/computeoptimizer/deserializers.go | 8 + service/configservice/deserializers.go | 9 + service/connect/deserializers.go | 8 + service/connectcampaigns/deserializers.go | 10 + service/connectcases/deserializers.go | 9 + service/connectcontactlens/deserializers.go | 10 + service/connectparticipant/deserializers.go | 10 + service/controlcatalog/deserializers.go | 9 + service/controltower/deserializers.go | 9 + .../deserializers.go | 10 + service/costexplorer/deserializers.go | 10 + service/costoptimizationhub/deserializers.go | 9 + service/customerprofiles/deserializers.go | 9 + .../databasemigrationservice/deserializers.go | 9 + service/databrew/deserializers.go | 9 + service/dataexchange/deserializers.go | 9 + service/datapipeline/deserializers.go | 10 + service/datasync/deserializers.go | 9 + service/datazone/deserializers.go | 9 + service/dax/deserializers.go | 9 + service/deadline/deserializers.go | 9 + service/detective/deserializers.go | 9 + service/devicefarm/deserializers.go | 9 + service/devopsguru/deserializers.go | 9 + service/directconnect/deserializers.go | 9 + service/directoryservice/deserializers.go | 9 + service/dlm/deserializers.go | 9 + service/docdb/deserializers.go | 9 + service/docdbelastic/deserializers.go | 10 + service/drs/deserializers.go | 9 + service/dynamodb/deserializers.go | 9 + service/dynamodbstreams/deserializers.go | 9 + service/ebs/deserializers.go | 9 + service/ec2/deserializers.go | 9 + service/ec2instanceconnect/deserializers.go | 10 + service/ecr/deserializers.go | 9 + service/ecrpublic/deserializers.go | 9 + service/ecs/deserializers.go | 9 + service/efs/deserializers.go | 9 + service/eks/deserializers.go | 9 + service/eksauth/deserializers.go | 9 + service/elasticache/deserializers.go | 9 + service/elasticbeanstalk/deserializers.go | 9 + service/elasticinference/deserializers.go | 10 + service/elasticloadbalancing/deserializers.go | 9 + .../elasticloadbalancingv2/deserializers.go | 9 + service/elasticsearchservice/deserializers.go | 9 + service/elastictranscoder/deserializers.go | 10 + service/emr/deserializers.go | 9 + service/emrcontainers/deserializers.go | 9 + .../emrserverless/api_op_CreateApplication.go | 4 + .../emrserverless/api_op_UpdateApplication.go | 4 + service/emrserverless/deserializers.go | 63 ++++++ service/emrserverless/serializers.go | 31 +++ service/emrserverless/types/types.go | 19 ++ service/entityresolution/deserializers.go | 9 + service/eventbridge/deserializers.go | 9 + service/evidently/deserializers.go | 8 + service/finspace/deserializers.go | 9 + service/finspacedata/deserializers.go | 10 + service/firehose/deserializers.go | 9 + service/fis/deserializers.go | 9 + service/fms/deserializers.go | 9 + service/forecast/deserializers.go | 9 + service/forecastquery/deserializers.go | 10 + service/frauddetector/deserializers.go | 10 + service/freetier/deserializers.go | 10 + service/fsx/deserializers.go | 9 + service/gamelift/deserializers.go | 9 + service/glacier/deserializers.go | 10 + service/globalaccelerator/deserializers.go | 9 + service/glue/deserializers.go | 9 + service/grafana/deserializers.go | 9 + service/greengrass/deserializers.go | 10 + service/greengrassv2/deserializers.go | 9 + service/groundstation/deserializers.go | 9 + service/guardduty/deserializers.go | 9 + service/health/deserializers.go | 9 + service/healthlake/deserializers.go | 9 + service/iam/deserializers.go | 9 + service/identitystore/deserializers.go | 10 + service/imagebuilder/deserializers.go | 9 + service/inspector/deserializers.go | 9 + service/inspector2/deserializers.go | 9 + service/inspectorscan/deserializers.go | 10 + service/internetmonitor/deserializers.go | 9 + service/iot/deserializers.go | 9 + .../iot1clickdevicesservice/deserializers.go | 10 + service/iot1clickprojects/deserializers.go | 9 + service/iotanalytics/deserializers.go | 9 + service/iotdataplane/deserializers.go | 10 + service/iotdeviceadvisor/deserializers.go | 9 + service/iotevents/deserializers.go | 9 + service/ioteventsdata/deserializers.go | 9 + service/iotfleethub/deserializers.go | 10 + service/iotfleetwise/deserializers.go | 9 + service/iotjobsdataplane/deserializers.go | 10 + service/iotsecuretunneling/deserializers.go | 9 + service/iotsitewise/deserializers.go | 9 + service/iotthingsgraph/deserializers.go | 9 + service/iottwinmaker/deserializers.go | 9 + service/iotwireless/deserializers.go | 8 + service/ivs/deserializers.go | 9 + service/ivschat/deserializers.go | 9 + service/ivsrealtime/deserializers.go | 9 + service/kafka/deserializers.go | 9 + service/kafkaconnect/deserializers.go | 9 + service/kendra/deserializers.go | 9 + service/kendraranking/deserializers.go | 9 + service/keyspaces/deserializers.go | 9 + service/kinesis/deserializers.go | 9 + service/kinesisanalytics/deserializers.go | 9 + service/kinesisanalyticsv2/deserializers.go | 9 + service/kinesisvideo/deserializers.go | 9 + .../deserializers.go | 9 + service/kinesisvideomedia/deserializers.go | 10 + .../kinesisvideosignaling/deserializers.go | 10 + .../deserializers.go | 10 + service/kms/deserializers.go | 9 + service/lakeformation/deserializers.go | 9 + service/lambda/deserializers.go | 9 + service/launchwizard/deserializers.go | 9 + .../lexmodelbuildingservice/deserializers.go | 9 + service/lexmodelsv2/deserializers.go | 9 + service/lexruntimeservice/deserializers.go | 10 + service/lexruntimev2/deserializers.go | 10 + service/licensemanager/deserializers.go | 9 + .../deserializers.go | 10 + .../deserializers.go | 10 + service/lightsail/deserializers.go | 9 + service/location/deserializers.go | 9 + service/lookoutequipment/deserializers.go | 9 + service/lookoutmetrics/deserializers.go | 9 + service/lookoutvision/deserializers.go | 9 + service/m2/deserializers.go | 9 + service/machinelearning/deserializers.go | 9 + service/macie2/deserializers.go | 9 + service/mailmanager/deserializers.go | 9 + service/managedblockchain/deserializers.go | 9 + .../managedblockchainquery/deserializers.go | 9 + service/marketplaceagreement/deserializers.go | 9 + service/marketplacecatalog/deserializers.go | 10 + .../deserializers.go | 10 + .../marketplacedeployment/deserializers.go | 10 + .../deserializers.go | 9 + service/marketplacemetering/deserializers.go | 9 + service/mediaconnect/deserializers.go | 9 + service/mediaconvert/deserializers.go | 9 + service/medialive/deserializers.go | 9 + service/mediapackage/deserializers.go | 10 + service/mediapackagev2/deserializers.go | 9 + service/mediapackagevod/deserializers.go | 10 + service/mediastore/deserializers.go | 9 + service/mediastoredata/deserializers.go | 9 + service/mediatailor/deserializers.go | 9 + service/medicalimaging/deserializers.go | 9 + service/memorydb/deserializers.go | 9 + service/mgn/deserializers.go | 10 + service/migrationhub/deserializers.go | 9 + service/migrationhubconfig/deserializers.go | 9 + .../migrationhuborchestrator/deserializers.go | 9 + .../deserializers.go | 9 + service/migrationhubstrategy/deserializers.go | 9 + service/mobile/deserializers.go | 9 + service/mq/deserializers.go | 9 + service/mturk/deserializers.go | 9 + service/mwaa/deserializers.go | 9 + service/neptune/deserializers.go | 9 + service/neptunedata/deserializers.go | 9 + service/neptunegraph/deserializers.go | 9 + service/networkfirewall/deserializers.go | 9 + service/networkmanager/deserializers.go | 9 + service/networkmonitor/deserializers.go | 9 + service/nimble/deserializers.go | 9 + service/oam/deserializers.go | 10 + service/omics/deserializers.go | 9 + service/opensearch/deserializers.go | 9 + service/opensearchserverless/deserializers.go | 10 + service/opsworks/api_op_AssignInstance.go | 6 +- .../api_op_AttachElasticLoadBalancer.go | 8 +- service/opsworks/api_op_CloneStack.go | 91 ++++---- service/opsworks/api_op_CreateApp.go | 2 +- service/opsworks/api_op_CreateInstance.go | 36 ++-- service/opsworks/api_op_CreateLayer.go | 15 +- service/opsworks/api_op_CreateStack.go | 112 +++++----- service/opsworks/api_op_CreateUserProfile.go | 7 +- .../opsworks/api_op_DeregisterElasticIp.go | 4 +- service/opsworks/api_op_DeregisterInstance.go | 6 +- service/opsworks/api_op_DeregisterVolume.go | 6 +- .../opsworks/api_op_DescribeAgentVersions.go | 2 +- .../opsworks/api_op_DescribeEcsClusters.go | 2 +- .../api_op_DescribeOperatingSystems.go | 2 +- .../opsworks/api_op_DescribeServiceErrors.go | 2 +- ..._op_DescribeStackProvisioningParameters.go | 2 +- service/opsworks/api_op_DescribeStacks.go | 6 +- service/opsworks/api_op_GrantAccess.go | 6 +- service/opsworks/api_op_RegisterInstance.go | 22 +- .../api_op_SetLoadBasedAutoScaling.go | 4 +- service/opsworks/api_op_StopInstance.go | 4 +- service/opsworks/api_op_TagResource.go | 5 +- service/opsworks/api_op_UnassignInstance.go | 2 +- service/opsworks/api_op_UpdateElasticIp.go | 2 +- service/opsworks/api_op_UpdateInstance.go | 33 +-- service/opsworks/api_op_UpdateLayer.go | 15 +- service/opsworks/api_op_UpdateStack.go | 62 +++--- service/opsworks/api_op_UpdateUserProfile.go | 8 +- service/opsworks/api_op_UpdateVolume.go | 2 +- service/opsworks/deserializers.go | 10 + service/opsworks/doc.go | 60 +++--- service/opsworks/endpoints.go | 2 +- service/opsworks/types/types.go | 203 +++++++++--------- service/opsworkscm/deserializers.go | 9 + service/organizations/deserializers.go | 9 + service/osis/deserializers.go | 9 + service/outposts/deserializers.go | 9 + service/panorama/deserializers.go | 9 + service/paymentcryptography/deserializers.go | 9 + .../paymentcryptographydata/deserializers.go | 10 + service/pcaconnectorad/deserializers.go | 9 + service/personalize/deserializers.go | 9 + service/personalizeevents/deserializers.go | 10 + service/personalizeruntime/deserializers.go | 10 + service/pi/deserializers.go | 9 + service/pinpoint/deserializers.go | 9 + service/pinpointemail/deserializers.go | 9 + service/pinpointsmsvoice/deserializers.go | 10 + service/pinpointsmsvoicev2/deserializers.go | 9 + service/pipes/deserializers.go | 9 + service/polly/deserializers.go | 9 + service/pricing/deserializers.go | 10 + service/privatenetworks/deserializers.go | 9 + service/proton/deserializers.go | 9 + service/qbusiness/deserializers.go | 8 + service/qconnect/deserializers.go | 9 + service/qldb/deserializers.go | 9 + service/qldbsession/deserializers.go | 10 + service/quicksight/deserializers.go | 8 + service/ram/deserializers.go | 9 + service/rbin/deserializers.go | 9 + service/rds/deserializers.go | 9 + service/rdsdata/deserializers.go | 10 + service/redshift/deserializers.go | 8 + service/redshiftdata/deserializers.go | 9 + service/redshiftserverless/deserializers.go | 8 + service/rekognition/deserializers.go | 9 + service/repostspace/deserializers.go | 9 + service/resiliencehub/deserializers.go | 9 + service/resourceexplorer2/deserializers.go | 9 + service/resourcegroups/deserializers.go | 10 + .../resourcegroupstaggingapi/deserializers.go | 10 + service/robomaker/deserializers.go | 9 + service/rolesanywhere/deserializers.go | 9 + service/route53/deserializers.go | 9 + service/route53domains/deserializers.go | 9 + service/route53profiles/deserializers.go | 9 + .../route53recoverycluster/deserializers.go | 10 + .../deserializers.go | 10 + .../route53recoveryreadiness/deserializers.go | 9 + service/route53resolver/deserializers.go | 10 + service/rum/deserializers.go | 10 + service/s3control/deserializers.go | 9 + service/s3outposts/deserializers.go | 9 + service/sagemaker/deserializers.go | 9 + service/sagemakera2iruntime/deserializers.go | 9 + service/sagemakeredge/deserializers.go | 10 + .../deserializers.go | 10 + service/sagemakergeospatial/deserializers.go | 9 + service/sagemakermetrics/deserializers.go | 10 + service/sagemakerruntime/deserializers.go | 10 + service/savingsplans/deserializers.go | 10 + service/scheduler/deserializers.go | 9 + service/schemas/deserializers.go | 9 + service/secretsmanager/deserializers.go | 9 + service/securityhub/deserializers.go | 9 + service/securitylake/deserializers.go | 9 + .../deserializers.go | 10 + service/servicecatalog/deserializers.go | 9 + .../deserializers.go | 9 + service/servicediscovery/deserializers.go | 9 + service/servicequotas/deserializers.go | 9 + service/ses/deserializers.go | 9 + service/sesv2/deserializers.go | 8 + service/sfn/deserializers.go | 9 + service/shield/deserializers.go | 9 + service/signer/deserializers.go | 9 + service/simspaceweaver/deserializers.go | 9 + service/sms/deserializers.go | 9 + service/snowball/deserializers.go | 9 + service/snowdevicemanagement/deserializers.go | 9 + service/sns/deserializers.go | 9 + service/sqs/deserializers.go | 10 + service/ssm/deserializers.go | 9 + service/ssmcontacts/deserializers.go | 9 + service/ssmincidents/deserializers.go | 9 + service/ssmsap/deserializers.go | 9 + service/sso/deserializers.go | 10 + service/ssoadmin/deserializers.go | 9 + service/ssooidc/deserializers.go | 10 + service/storagegateway/deserializers.go | 9 + service/sts/deserializers.go | 9 + service/supplychain/deserializers.go | 10 + service/support/deserializers.go | 10 + service/supportapp/deserializers.go | 10 + service/swf/deserializers.go | 9 + service/synthetics/deserializers.go | 9 + service/textract/deserializers.go | 9 + service/timestreaminfluxdb/deserializers.go | 10 + service/timestreamquery/deserializers.go | 9 + service/timestreamwrite/deserializers.go | 9 + service/tnb/deserializers.go | 9 + service/transcribe/deserializers.go | 9 + service/transcribestreaming/deserializers.go | 10 + service/transfer/deserializers.go | 9 + service/translate/deserializers.go | 9 + service/trustedadvisor/deserializers.go | 9 + service/verifiedpermissions/deserializers.go | 9 + service/voiceid/deserializers.go | 9 + service/vpclattice/deserializers.go | 9 + service/waf/deserializers.go | 9 + service/wafregional/deserializers.go | 9 + service/wafv2/deserializers.go | 9 + service/wellarchitected/deserializers.go | 9 + service/wisdom/deserializers.go | 9 + service/workdocs/deserializers.go | 9 + service/worklink/deserializers.go | 9 + service/workmail/deserializers.go | 9 + service/workmailmessageflow/deserializers.go | 10 + service/workspaces/deserializers.go | 9 + service/workspacesthinclient/deserializers.go | 9 + service/workspacesweb/deserializers.go | 9 + service/xray/deserializers.go | 9 + 427 files changed, 4063 insertions(+), 361 deletions(-) create mode 100644 .changelog/422e97444e83499eabfee55a6d263189.json create mode 100644 .changelog/46836310b70c46d397462b1844505ea0.json diff --git a/.changelog/422e97444e83499eabfee55a6d263189.json b/.changelog/422e97444e83499eabfee55a6d263189.json new file mode 100644 index 00000000000..609bc109ecb --- /dev/null +++ b/.changelog/422e97444e83499eabfee55a6d263189.json @@ -0,0 +1,8 @@ +{ + "id": "422e9744-4e83-499e-abfe-e55a6d263189", + "type": "documentation", + "description": "Documentation-only update for OpsWorks Stacks.", + "modules": [ + "service/opsworks" + ] +} \ No newline at end of file diff --git a/.changelog/46836310b70c46d397462b1844505ea0.json b/.changelog/46836310b70c46d397462b1844505ea0.json new file mode 100644 index 00000000000..12136e62bcb --- /dev/null +++ b/.changelog/46836310b70c46d397462b1844505ea0.json @@ -0,0 +1,8 @@ +{ + "id": "46836310-b70c-46d3-9746-2b1844505ea0", + "type": "feature", + "description": "This release adds the capability to run interactive workloads using Apache Livy Endpoint.", + "modules": [ + "service/emrserverless" + ] +} \ No newline at end of file diff --git a/internal/protocoltest/awsrestjson/deserializers.go b/internal/protocoltest/awsrestjson/deserializers.go index 774962ac4d2..12dc5949372 100644 --- a/internal/protocoltest/awsrestjson/deserializers.go +++ b/internal/protocoltest/awsrestjson/deserializers.go @@ -26,6 +26,14 @@ import ( "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpAllQueryStringTypes struct { } diff --git a/internal/protocoltest/ec2query/deserializers.go b/internal/protocoltest/ec2query/deserializers.go index 00cd34f88fa..9e7d4fb612b 100644 --- a/internal/protocoltest/ec2query/deserializers.go +++ b/internal/protocoltest/ec2query/deserializers.go @@ -25,6 +25,14 @@ import ( "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsEc2query_deserializeOpDatetimeOffsets struct { } diff --git a/internal/protocoltest/jsonrpc/deserializers.go b/internal/protocoltest/jsonrpc/deserializers.go index 5c2facf352b..b895e186ada 100644 --- a/internal/protocoltest/jsonrpc/deserializers.go +++ b/internal/protocoltest/jsonrpc/deserializers.go @@ -25,6 +25,14 @@ import ( "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpDatetimeOffsets struct { } diff --git a/internal/protocoltest/jsonrpc10/deserializers.go b/internal/protocoltest/jsonrpc10/deserializers.go index 2e57f51b381..9b1aa2fdae2 100644 --- a/internal/protocoltest/jsonrpc10/deserializers.go +++ b/internal/protocoltest/jsonrpc10/deserializers.go @@ -25,6 +25,14 @@ import ( "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson10_deserializeOpEmptyInputAndEmptyOutput struct { } diff --git a/internal/protocoltest/query/deserializers.go b/internal/protocoltest/query/deserializers.go index 88707bb5af1..55845bffea9 100644 --- a/internal/protocoltest/query/deserializers.go +++ b/internal/protocoltest/query/deserializers.go @@ -25,6 +25,14 @@ import ( "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsquery_deserializeOpDatetimeOffsets struct { } diff --git a/internal/protocoltest/restxml/deserializers.go b/internal/protocoltest/restxml/deserializers.go index 877ec6136ee..6f917f64f80 100644 --- a/internal/protocoltest/restxml/deserializers.go +++ b/internal/protocoltest/restxml/deserializers.go @@ -25,6 +25,14 @@ import ( "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestxml_deserializeOpAllQueryStringTypes struct { } diff --git a/internal/protocoltest/restxmlwithnamespace/deserializers.go b/internal/protocoltest/restxmlwithnamespace/deserializers.go index d32088017d8..41f3c735e20 100644 --- a/internal/protocoltest/restxmlwithnamespace/deserializers.go +++ b/internal/protocoltest/restxmlwithnamespace/deserializers.go @@ -15,12 +15,22 @@ import ( 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" "strconv" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestxml_deserializeOpSimpleScalarProperties struct { } diff --git a/internal/protocoltest/smithyrpcv2cbor/deserializers.go b/internal/protocoltest/smithyrpcv2cbor/deserializers.go index e60400217ca..c65c9ce65b5 100644 --- a/internal/protocoltest/smithyrpcv2cbor/deserializers.go +++ b/internal/protocoltest/smithyrpcv2cbor/deserializers.go @@ -10,6 +10,7 @@ import ( smithycbor "github.com/aws/smithy-go/encoding/cbor" "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" "io/ioutil" @@ -17,6 +18,14 @@ import ( "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type smithyRpcv2cbor_deserializeOpEmptyInputOutput struct { } diff --git a/service/accessanalyzer/deserializers.go b/service/accessanalyzer/deserializers.go index dfea0b439f4..43339f2a4d1 100644 --- a/service/accessanalyzer/deserializers.go +++ b/service/accessanalyzer/deserializers.go @@ -19,8 +19,17 @@ import ( "io/ioutil" "strconv" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpApplyArchiveRule struct { } diff --git a/service/account/deserializers.go b/service/account/deserializers.go index 1940e4205ad..d219d743a53 100644 --- a/service/account/deserializers.go +++ b/service/account/deserializers.go @@ -13,12 +13,22 @@ import ( 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" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpDeleteAlternateContact struct { } diff --git a/service/acm/deserializers.go b/service/acm/deserializers.go index 837bcc20124..88605013bdb 100644 --- a/service/acm/deserializers.go +++ b/service/acm/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpAddTagsToCertificate struct { } diff --git a/service/acmpca/deserializers.go b/service/acmpca/deserializers.go index 5c8ff9d656a..0bc9656f69e 100644 --- a/service/acmpca/deserializers.go +++ b/service/acmpca/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpCreateCertificateAuthority struct { } diff --git a/service/amp/deserializers.go b/service/amp/deserializers.go index 013411c1afa..e2152ea93bb 100644 --- a/service/amp/deserializers.go +++ b/service/amp/deserializers.go @@ -20,8 +20,17 @@ import ( "io/ioutil" "strconv" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreateAlertManagerDefinition struct { } diff --git a/service/amplify/deserializers.go b/service/amplify/deserializers.go index b0682baacd5..668279f2752 100644 --- a/service/amplify/deserializers.go +++ b/service/amplify/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreateApp struct { } diff --git a/service/amplifybackend/deserializers.go b/service/amplifybackend/deserializers.go index 6feda2c5b04..645a4be9891 100644 --- a/service/amplifybackend/deserializers.go +++ b/service/amplifybackend/deserializers.go @@ -13,12 +13,22 @@ import ( 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" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCloneBackend struct { } diff --git a/service/amplifyuibuilder/deserializers.go b/service/amplifyuibuilder/deserializers.go index e894f2b2e2f..fbfae180d6e 100644 --- a/service/amplifyuibuilder/deserializers.go +++ b/service/amplifyuibuilder/deserializers.go @@ -19,8 +19,17 @@ import ( "io/ioutil" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreateComponent struct { } diff --git a/service/apigateway/deserializers.go b/service/apigateway/deserializers.go index 224d8932910..4f7e4a0ebcd 100644 --- a/service/apigateway/deserializers.go +++ b/service/apigateway/deserializers.go @@ -19,8 +19,17 @@ import ( "io/ioutil" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreateApiKey struct { } diff --git a/service/apigatewaymanagementapi/deserializers.go b/service/apigatewaymanagementapi/deserializers.go index 006b9eb70ed..c7d0468585d 100644 --- a/service/apigatewaymanagementapi/deserializers.go +++ b/service/apigatewaymanagementapi/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpDeleteConnection struct { } diff --git a/service/apigatewayv2/deserializers.go b/service/apigatewayv2/deserializers.go index a94fb0025e7..4da467832c0 100644 --- a/service/apigatewayv2/deserializers.go +++ b/service/apigatewayv2/deserializers.go @@ -19,8 +19,17 @@ import ( "io/ioutil" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreateApi struct { } diff --git a/service/appconfig/deserializers.go b/service/appconfig/deserializers.go index 2e169ec6c5e..c70cb00c809 100644 --- a/service/appconfig/deserializers.go +++ b/service/appconfig/deserializers.go @@ -20,8 +20,17 @@ import ( "math" "strconv" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreateApplication struct { } diff --git a/service/appconfigdata/deserializers.go b/service/appconfigdata/deserializers.go index c83feddff03..cc0a39d1e78 100644 --- a/service/appconfigdata/deserializers.go +++ b/service/appconfigdata/deserializers.go @@ -13,12 +13,22 @@ import ( 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" "strconv" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpGetLatestConfiguration struct { } diff --git a/service/appfabric/deserializers.go b/service/appfabric/deserializers.go index 0886422fa04..d012073cb42 100644 --- a/service/appfabric/deserializers.go +++ b/service/appfabric/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "strconv" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpBatchGetUserAccessTasks struct { } diff --git a/service/appflow/deserializers.go b/service/appflow/deserializers.go index 8ee5ead0a1b..6f3ca729e75 100644 --- a/service/appflow/deserializers.go +++ b/service/appflow/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCancelFlowExecutions struct { } diff --git a/service/appintegrations/deserializers.go b/service/appintegrations/deserializers.go index 2454193f2ac..f4230232fbb 100644 --- a/service/appintegrations/deserializers.go +++ b/service/appintegrations/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreateApplication struct { } diff --git a/service/applicationautoscaling/deserializers.go b/service/applicationautoscaling/deserializers.go index 69d8f848775..408de92acbf 100644 --- a/service/applicationautoscaling/deserializers.go +++ b/service/applicationautoscaling/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpDeleteScalingPolicy struct { } diff --git a/service/applicationcostprofiler/deserializers.go b/service/applicationcostprofiler/deserializers.go index a580dc4a8e4..a9ef9b3acc6 100644 --- a/service/applicationcostprofiler/deserializers.go +++ b/service/applicationcostprofiler/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpDeleteReportDefinition struct { } diff --git a/service/applicationdiscoveryservice/deserializers.go b/service/applicationdiscoveryservice/deserializers.go index d3c1c38e7d4..449c7e9b645 100644 --- a/service/applicationdiscoveryservice/deserializers.go +++ b/service/applicationdiscoveryservice/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpAssociateConfigurationItemsToApplication struct { } diff --git a/service/applicationinsights/deserializers.go b/service/applicationinsights/deserializers.go index 8db858f2cbe..4c2b507306c 100644 --- a/service/applicationinsights/deserializers.go +++ b/service/applicationinsights/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpAddWorkload struct { } diff --git a/service/appmesh/deserializers.go b/service/appmesh/deserializers.go index b0e3b907bf5..37744736851 100644 --- a/service/appmesh/deserializers.go +++ b/service/appmesh/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreateGatewayRoute struct { } diff --git a/service/apprunner/deserializers.go b/service/apprunner/deserializers.go index 86b2048ae4e..c4351798beb 100644 --- a/service/apprunner/deserializers.go +++ b/service/apprunner/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson10_deserializeOpAssociateCustomDomain struct { } diff --git a/service/appstream/deserializers.go b/service/appstream/deserializers.go index 03d3d1d52bd..889d0996042 100644 --- a/service/appstream/deserializers.go +++ b/service/appstream/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpAssociateAppBlockBuilderAppBlock struct { } diff --git a/service/appsync/deserializers.go b/service/appsync/deserializers.go index 92e74ffdd73..33feaaf63c2 100644 --- a/service/appsync/deserializers.go +++ b/service/appsync/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpAssociateApi struct { } diff --git a/service/arczonalshift/deserializers.go b/service/arczonalshift/deserializers.go index 3324c8671a0..15fe1846850 100644 --- a/service/arczonalshift/deserializers.go +++ b/service/arczonalshift/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCancelZonalShift struct { } diff --git a/service/artifact/deserializers.go b/service/artifact/deserializers.go index 638419e2c18..0449abbbc2f 100644 --- a/service/artifact/deserializers.go +++ b/service/artifact/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "strconv" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpGetAccountSettings struct { } diff --git a/service/athena/deserializers.go b/service/athena/deserializers.go index b6b8cb2e38c..fac729119d8 100644 --- a/service/athena/deserializers.go +++ b/service/athena/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpBatchGetNamedQuery struct { } diff --git a/service/auditmanager/deserializers.go b/service/auditmanager/deserializers.go index b3026fec993..1342bd170f3 100644 --- a/service/auditmanager/deserializers.go +++ b/service/auditmanager/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpAssociateAssessmentReportEvidenceFolder struct { } diff --git a/service/autoscaling/deserializers.go b/service/autoscaling/deserializers.go index 9aa3cf2d792..167c63f9ee9 100644 --- a/service/autoscaling/deserializers.go +++ b/service/autoscaling/deserializers.go @@ -24,6 +24,14 @@ import ( "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsquery_deserializeOpAttachInstances struct { } diff --git a/service/autoscalingplans/deserializers.go b/service/autoscalingplans/deserializers.go index 148ddaaab0f..f1d28721dbe 100644 --- a/service/autoscalingplans/deserializers.go +++ b/service/autoscalingplans/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpCreateScalingPlan struct { } diff --git a/service/b2bi/deserializers.go b/service/b2bi/deserializers.go index 3f489d2a46b..6702c15166f 100644 --- a/service/b2bi/deserializers.go +++ b/service/b2bi/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson10_deserializeOpCreateCapability struct { } diff --git a/service/backup/deserializers.go b/service/backup/deserializers.go index 702c5e68d38..c7a11e1a997 100644 --- a/service/backup/deserializers.go +++ b/service/backup/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCancelLegalHold struct { } diff --git a/service/backupgateway/deserializers.go b/service/backupgateway/deserializers.go index 4201b14cc5a..79a7fad7226 100644 --- a/service/backupgateway/deserializers.go +++ b/service/backupgateway/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson10_deserializeOpAssociateGatewayToServer struct { } diff --git a/service/backupstorage/deserializers.go b/service/backupstorage/deserializers.go index 5f21df8f701..32c4ab5a649 100644 --- a/service/backupstorage/deserializers.go +++ b/service/backupstorage/deserializers.go @@ -13,13 +13,23 @@ import ( 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" "io/ioutil" "strconv" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpDeleteObject struct { } diff --git a/service/batch/deserializers.go b/service/batch/deserializers.go index 0c77795d5f6..95ec530c071 100644 --- a/service/batch/deserializers.go +++ b/service/batch/deserializers.go @@ -13,12 +13,22 @@ import ( 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" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCancelJob struct { } diff --git a/service/bcmdataexports/deserializers.go b/service/bcmdataexports/deserializers.go index e7659650a85..bf3ebd90e92 100644 --- a/service/bcmdataexports/deserializers.go +++ b/service/bcmdataexports/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpCreateExport struct { } diff --git a/service/bedrock/deserializers.go b/service/bedrock/deserializers.go index 1573e4edebf..e1dbf1f571a 100644 --- a/service/bedrock/deserializers.go +++ b/service/bedrock/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreateEvaluationJob struct { } diff --git a/service/bedrockagent/deserializers.go b/service/bedrockagent/deserializers.go index 4bc73f4cc70..917c968e23a 100644 --- a/service/bedrockagent/deserializers.go +++ b/service/bedrockagent/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpAssociateAgentKnowledgeBase struct { } diff --git a/service/bedrockagentruntime/deserializers.go b/service/bedrockagentruntime/deserializers.go index 3f4dfb9d1f0..d3a75ca351d 100644 --- a/service/bedrockagentruntime/deserializers.go +++ b/service/bedrockagentruntime/deserializers.go @@ -18,12 +18,22 @@ import ( 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" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpInvokeAgent struct { } diff --git a/service/bedrockruntime/deserializers.go b/service/bedrockruntime/deserializers.go index 6d3e3531340..5367aed4148 100644 --- a/service/bedrockruntime/deserializers.go +++ b/service/bedrockruntime/deserializers.go @@ -16,11 +16,21 @@ import ( 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" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpInvokeModel struct { } diff --git a/service/billingconductor/deserializers.go b/service/billingconductor/deserializers.go index c9680969c34..5ae1923657d 100644 --- a/service/billingconductor/deserializers.go +++ b/service/billingconductor/deserializers.go @@ -13,13 +13,23 @@ import ( 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" "strconv" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpAssociateAccounts struct { } diff --git a/service/braket/deserializers.go b/service/braket/deserializers.go index 5ed74346855..208ddc8e010 100644 --- a/service/braket/deserializers.go +++ b/service/braket/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCancelJob struct { } diff --git a/service/braket/internal/endpoints/endpoints.go b/service/braket/internal/endpoints/endpoints.go index 070a187d6b5..2d8192a7b7b 100644 --- a/service/braket/internal/endpoints/endpoints.go +++ b/service/braket/internal/endpoints/endpoints.go @@ -139,6 +139,9 @@ var defaultPartitions = endpoints.Partitions{ RegionRegex: partitionRegexp.Aws, IsRegionalized: true, Endpoints: endpoints.Endpoints{ + endpoints.EndpointKey{ + Region: "eu-north-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "eu-west-2", }: endpoints.Endpoint{}, diff --git a/service/budgets/deserializers.go b/service/budgets/deserializers.go index 8cfda5b462f..5bfc669a827 100644 --- a/service/budgets/deserializers.go +++ b/service/budgets/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpCreateBudget struct { } diff --git a/service/chatbot/deserializers.go b/service/chatbot/deserializers.go index 6e4e6a86e06..3cf46d88259 100644 --- a/service/chatbot/deserializers.go +++ b/service/chatbot/deserializers.go @@ -13,11 +13,21 @@ import ( 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" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreateChimeWebhookConfiguration struct { } diff --git a/service/chime/deserializers.go b/service/chime/deserializers.go index a3fd9900bd7..96114a68430 100644 --- a/service/chime/deserializers.go +++ b/service/chime/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpAssociatePhoneNumbersWithVoiceConnector struct { } diff --git a/service/chimesdkidentity/deserializers.go b/service/chimesdkidentity/deserializers.go index ea582672d49..be4aae9b046 100644 --- a/service/chimesdkidentity/deserializers.go +++ b/service/chimesdkidentity/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreateAppInstance struct { } diff --git a/service/chimesdkmediapipelines/deserializers.go b/service/chimesdkmediapipelines/deserializers.go index 0d8e7a2505a..bfc11b7160a 100644 --- a/service/chimesdkmediapipelines/deserializers.go +++ b/service/chimesdkmediapipelines/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreateMediaCapturePipeline struct { } diff --git a/service/chimesdkmeetings/deserializers.go b/service/chimesdkmeetings/deserializers.go index 9585cdf3401..19d73513117 100644 --- a/service/chimesdkmeetings/deserializers.go +++ b/service/chimesdkmeetings/deserializers.go @@ -13,12 +13,22 @@ import ( 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" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpBatchCreateAttendee struct { } diff --git a/service/chimesdkmessaging/deserializers.go b/service/chimesdkmessaging/deserializers.go index 1daaac0dd85..8aa86ba7053 100644 --- a/service/chimesdkmessaging/deserializers.go +++ b/service/chimesdkmessaging/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpAssociateChannelFlow struct { } diff --git a/service/chimesdkvoice/deserializers.go b/service/chimesdkvoice/deserializers.go index 3f23d3a4a2d..5113788de55 100644 --- a/service/chimesdkvoice/deserializers.go +++ b/service/chimesdkvoice/deserializers.go @@ -19,8 +19,17 @@ import ( "io/ioutil" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpAssociatePhoneNumbersWithVoiceConnector struct { } diff --git a/service/cleanrooms/deserializers.go b/service/cleanrooms/deserializers.go index 564a7102f4c..2e536ed3038 100644 --- a/service/cleanrooms/deserializers.go +++ b/service/cleanrooms/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpBatchGetCollaborationAnalysisTemplate struct { } diff --git a/service/cleanroomsml/deserializers.go b/service/cleanroomsml/deserializers.go index 37c5c0b9d08..fb8afbf596d 100644 --- a/service/cleanroomsml/deserializers.go +++ b/service/cleanroomsml/deserializers.go @@ -19,8 +19,17 @@ import ( "io/ioutil" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreateAudienceModel struct { } diff --git a/service/cloud9/deserializers.go b/service/cloud9/deserializers.go index 948e3e402ce..0a84a7f4f79 100644 --- a/service/cloud9/deserializers.go +++ b/service/cloud9/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpCreateEnvironmentEC2 struct { } diff --git a/service/cloudcontrol/deserializers.go b/service/cloudcontrol/deserializers.go index 6007c1d80ba..47498098209 100644 --- a/service/cloudcontrol/deserializers.go +++ b/service/cloudcontrol/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson10_deserializeOpCancelResourceRequest struct { } diff --git a/service/clouddirectory/deserializers.go b/service/clouddirectory/deserializers.go index 9f64c8f43f1..a7644ca62d9 100644 --- a/service/clouddirectory/deserializers.go +++ b/service/clouddirectory/deserializers.go @@ -22,6 +22,14 @@ import ( "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpAddFacetToObject struct { } diff --git a/service/cloudformation/deserializers.go b/service/cloudformation/deserializers.go index b4ad0eb1275..a3f339f6213 100644 --- a/service/cloudformation/deserializers.go +++ b/service/cloudformation/deserializers.go @@ -21,8 +21,17 @@ import ( "io/ioutil" "strconv" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsquery_deserializeOpActivateOrganizationsAccess struct { } diff --git a/service/cloudfront/deserializers.go b/service/cloudfront/deserializers.go index 27eaedcc6b2..b99519de514 100644 --- a/service/cloudfront/deserializers.go +++ b/service/cloudfront/deserializers.go @@ -21,8 +21,17 @@ import ( "io/ioutil" "strconv" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestxml_deserializeOpAssociateAlias struct { } diff --git a/service/cloudfrontkeyvaluestore/deserializers.go b/service/cloudfrontkeyvaluestore/deserializers.go index 1df7b1035e6..b8867844054 100644 --- a/service/cloudfrontkeyvaluestore/deserializers.go +++ b/service/cloudfrontkeyvaluestore/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpDeleteKey struct { } diff --git a/service/cloudhsm/deserializers.go b/service/cloudhsm/deserializers.go index cc557223992..41edf6662ca 100644 --- a/service/cloudhsm/deserializers.go +++ b/service/cloudhsm/deserializers.go @@ -13,11 +13,21 @@ import ( 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" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpAddTagsToResource struct { } diff --git a/service/cloudhsmv2/deserializers.go b/service/cloudhsmv2/deserializers.go index 50d640d809b..49918f7f771 100644 --- a/service/cloudhsmv2/deserializers.go +++ b/service/cloudhsmv2/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpCopyBackupToRegion struct { } diff --git a/service/cloudsearch/deserializers.go b/service/cloudsearch/deserializers.go index cbd97cf003f..865c8be66ac 100644 --- a/service/cloudsearch/deserializers.go +++ b/service/cloudsearch/deserializers.go @@ -20,8 +20,17 @@ import ( "io" "strconv" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsquery_deserializeOpBuildSuggesters struct { } diff --git a/service/cloudsearchdomain/deserializers.go b/service/cloudsearchdomain/deserializers.go index 41961e96a4c..41ec4b7a2b7 100644 --- a/service/cloudsearchdomain/deserializers.go +++ b/service/cloudsearchdomain/deserializers.go @@ -13,12 +13,22 @@ import ( 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" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpSearch struct { } diff --git a/service/cloudtrail/deserializers.go b/service/cloudtrail/deserializers.go index ddcba5666de..389f301b5a1 100644 --- a/service/cloudtrail/deserializers.go +++ b/service/cloudtrail/deserializers.go @@ -22,6 +22,14 @@ import ( "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpAddTags struct { } diff --git a/service/cloudtraildata/deserializers.go b/service/cloudtraildata/deserializers.go index e1e0e349908..128bbfec882 100644 --- a/service/cloudtraildata/deserializers.go +++ b/service/cloudtraildata/deserializers.go @@ -13,11 +13,21 @@ import ( 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" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpPutAuditEvents struct { } diff --git a/service/cloudwatch/deserializers.go b/service/cloudwatch/deserializers.go index 0eccc85ab41..e5bd7c08fed 100644 --- a/service/cloudwatch/deserializers.go +++ b/service/cloudwatch/deserializers.go @@ -25,6 +25,14 @@ import ( "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsquery_deserializeOpDeleteAlarms struct { } diff --git a/service/cloudwatchevents/deserializers.go b/service/cloudwatchevents/deserializers.go index b85e3425f02..d9d3dc05176 100644 --- a/service/cloudwatchevents/deserializers.go +++ b/service/cloudwatchevents/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpActivateEventSource struct { } diff --git a/service/cloudwatchlogs/deserializers.go b/service/cloudwatchlogs/deserializers.go index 2a38f1e6319..d47d32632b8 100644 --- a/service/cloudwatchlogs/deserializers.go +++ b/service/cloudwatchlogs/deserializers.go @@ -15,13 +15,23 @@ import ( 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" "io/ioutil" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpAssociateKmsKey struct { } diff --git a/service/codeartifact/deserializers.go b/service/codeartifact/deserializers.go index e091e48d184..59fbdc93983 100644 --- a/service/codeartifact/deserializers.go +++ b/service/codeartifact/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "strconv" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpAssociateExternalConnection struct { } diff --git a/service/codebuild/deserializers.go b/service/codebuild/deserializers.go index 5cefcef9eef..304749cb7c8 100644 --- a/service/codebuild/deserializers.go +++ b/service/codebuild/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpBatchDeleteBuilds struct { } diff --git a/service/codecatalyst/deserializers.go b/service/codecatalyst/deserializers.go index b0d9cf20047..9eb41650bdc 100644 --- a/service/codecatalyst/deserializers.go +++ b/service/codecatalyst/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreateAccessToken struct { } diff --git a/service/codecommit/deserializers.go b/service/codecommit/deserializers.go index f3666d4949d..58f1468263b 100644 --- a/service/codecommit/deserializers.go +++ b/service/codecommit/deserializers.go @@ -19,8 +19,17 @@ import ( "io" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpAssociateApprovalRuleTemplateWithRepository struct { } diff --git a/service/codeconnections/deserializers.go b/service/codeconnections/deserializers.go index 72d3e19a3d7..648858fc03e 100644 --- a/service/codeconnections/deserializers.go +++ b/service/codeconnections/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson10_deserializeOpCreateConnection struct { } diff --git a/service/codedeploy/deserializers.go b/service/codedeploy/deserializers.go index 7352bf07d1f..203edaa37c7 100644 --- a/service/codedeploy/deserializers.go +++ b/service/codedeploy/deserializers.go @@ -19,8 +19,17 @@ import ( "io/ioutil" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpAddTagsToOnPremisesInstances struct { } diff --git a/service/codeguruprofiler/deserializers.go b/service/codeguruprofiler/deserializers.go index e0ccb29118f..5781ab80bd1 100644 --- a/service/codeguruprofiler/deserializers.go +++ b/service/codeguruprofiler/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpAddNotificationChannels struct { } diff --git a/service/codegurureviewer/deserializers.go b/service/codegurureviewer/deserializers.go index 8c58f0304d4..c42ecbaa41e 100644 --- a/service/codegurureviewer/deserializers.go +++ b/service/codegurureviewer/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpAssociateRepository struct { } diff --git a/service/codegurusecurity/deserializers.go b/service/codegurusecurity/deserializers.go index 1da51432f56..25a4cf0630f 100644 --- a/service/codegurusecurity/deserializers.go +++ b/service/codegurusecurity/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpBatchGetFindings struct { } diff --git a/service/codepipeline/deserializers.go b/service/codepipeline/deserializers.go index 436fa8d2377..c43db6cd957 100644 --- a/service/codepipeline/deserializers.go +++ b/service/codepipeline/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpAcknowledgeJob struct { } diff --git a/service/codestar/deserializers.go b/service/codestar/deserializers.go index e858be3a252..97254e4d5ad 100644 --- a/service/codestar/deserializers.go +++ b/service/codestar/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpAssociateTeamMember struct { } diff --git a/service/codestarconnections/deserializers.go b/service/codestarconnections/deserializers.go index 2e3a2222589..2d008200fde 100644 --- a/service/codestarconnections/deserializers.go +++ b/service/codestarconnections/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson10_deserializeOpCreateConnection struct { } diff --git a/service/codestarnotifications/deserializers.go b/service/codestarnotifications/deserializers.go index d78b591a9fc..880c7fd9878 100644 --- a/service/codestarnotifications/deserializers.go +++ b/service/codestarnotifications/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreateNotificationRule struct { } diff --git a/service/cognitoidentity/deserializers.go b/service/cognitoidentity/deserializers.go index dc548fbc7aa..f64a52bd9d6 100644 --- a/service/cognitoidentity/deserializers.go +++ b/service/cognitoidentity/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpCreateIdentityPool struct { } diff --git a/service/cognitoidentityprovider/deserializers.go b/service/cognitoidentityprovider/deserializers.go index bf89b90d71e..65d427e6680 100644 --- a/service/cognitoidentityprovider/deserializers.go +++ b/service/cognitoidentityprovider/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpAddCustomAttributes struct { } diff --git a/service/cognitosync/deserializers.go b/service/cognitosync/deserializers.go index c6c3e4bff63..a7e67e2a83e 100644 --- a/service/cognitosync/deserializers.go +++ b/service/cognitosync/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpBulkPublish struct { } diff --git a/service/comprehend/deserializers.go b/service/comprehend/deserializers.go index fab33b73a78..d025a1c4c63 100644 --- a/service/comprehend/deserializers.go +++ b/service/comprehend/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpBatchDetectDominantLanguage struct { } diff --git a/service/comprehendmedical/deserializers.go b/service/comprehendmedical/deserializers.go index 2c0eaeab923..9489d9ba431 100644 --- a/service/comprehendmedical/deserializers.go +++ b/service/comprehendmedical/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpDescribeEntitiesDetectionV2Job struct { } diff --git a/service/computeoptimizer/deserializers.go b/service/computeoptimizer/deserializers.go index 8dee95ad95e..99c9de67a40 100644 --- a/service/computeoptimizer/deserializers.go +++ b/service/computeoptimizer/deserializers.go @@ -21,6 +21,14 @@ import ( "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson10_deserializeOpDeleteRecommendationPreferences struct { } diff --git a/service/configservice/deserializers.go b/service/configservice/deserializers.go index 761279372c8..e5b806d11b7 100644 --- a/service/configservice/deserializers.go +++ b/service/configservice/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpBatchGetAggregateResourceConfig struct { } diff --git a/service/connect/deserializers.go b/service/connect/deserializers.go index fc4231100a8..99d14d51401 100644 --- a/service/connect/deserializers.go +++ b/service/connect/deserializers.go @@ -22,6 +22,14 @@ import ( "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpActivateEvaluationForm struct { } diff --git a/service/connectcampaigns/deserializers.go b/service/connectcampaigns/deserializers.go index 2980803e7b8..2f4e2243480 100644 --- a/service/connectcampaigns/deserializers.go +++ b/service/connectcampaigns/deserializers.go @@ -13,13 +13,23 @@ import ( 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" "io/ioutil" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreateCampaign struct { } diff --git a/service/connectcases/deserializers.go b/service/connectcases/deserializers.go index 8f1e81a8413..6e93972aa9d 100644 --- a/service/connectcases/deserializers.go +++ b/service/connectcases/deserializers.go @@ -20,8 +20,17 @@ import ( "math" "strconv" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpBatchGetField struct { } diff --git a/service/connectcontactlens/deserializers.go b/service/connectcontactlens/deserializers.go index d97ba31e4bf..1f7680d418a 100644 --- a/service/connectcontactlens/deserializers.go +++ b/service/connectcontactlens/deserializers.go @@ -13,11 +13,21 @@ import ( 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" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpListRealtimeContactAnalysisSegments struct { } diff --git a/service/connectparticipant/deserializers.go b/service/connectparticipant/deserializers.go index 1ee214c4193..d18fd20148b 100644 --- a/service/connectparticipant/deserializers.go +++ b/service/connectparticipant/deserializers.go @@ -13,11 +13,21 @@ import ( 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" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCompleteAttachmentUpload struct { } diff --git a/service/controlcatalog/deserializers.go b/service/controlcatalog/deserializers.go index a8667866bee..7ba94b630cd 100644 --- a/service/controlcatalog/deserializers.go +++ b/service/controlcatalog/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpListCommonControls struct { } diff --git a/service/controltower/deserializers.go b/service/controltower/deserializers.go index 09279d69531..105cafb3072 100644 --- a/service/controltower/deserializers.go +++ b/service/controltower/deserializers.go @@ -20,8 +20,17 @@ import ( "io" "strconv" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreateLandingZone struct { } diff --git a/service/costandusagereportservice/deserializers.go b/service/costandusagereportservice/deserializers.go index 45fdd6b446a..9107fa3918d 100644 --- a/service/costandusagereportservice/deserializers.go +++ b/service/costandusagereportservice/deserializers.go @@ -13,11 +13,21 @@ import ( 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" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpDeleteReportDefinition struct { } diff --git a/service/costexplorer/deserializers.go b/service/costexplorer/deserializers.go index d4f03c7856b..c30c7a91a3e 100644 --- a/service/costexplorer/deserializers.go +++ b/service/costexplorer/deserializers.go @@ -13,12 +13,22 @@ import ( 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" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpCreateAnomalyMonitor struct { } diff --git a/service/costoptimizationhub/deserializers.go b/service/costoptimizationhub/deserializers.go index aa03e4e12d6..e1f3bd8914c 100644 --- a/service/costoptimizationhub/deserializers.go +++ b/service/costoptimizationhub/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson10_deserializeOpGetPreferences struct { } diff --git a/service/customerprofiles/deserializers.go b/service/customerprofiles/deserializers.go index d7ce2a8e8ca..168a7895b1d 100644 --- a/service/customerprofiles/deserializers.go +++ b/service/customerprofiles/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpAddProfileKey struct { } diff --git a/service/databasemigrationservice/deserializers.go b/service/databasemigrationservice/deserializers.go index 0482f19cc18..16bc6f0300a 100644 --- a/service/databasemigrationservice/deserializers.go +++ b/service/databasemigrationservice/deserializers.go @@ -20,8 +20,17 @@ import ( "io/ioutil" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpAddTagsToResource struct { } diff --git a/service/databrew/deserializers.go b/service/databrew/deserializers.go index 9d5ef2752c8..96abf915ae6 100644 --- a/service/databrew/deserializers.go +++ b/service/databrew/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpBatchDeleteRecipeVersion struct { } diff --git a/service/dataexchange/deserializers.go b/service/dataexchange/deserializers.go index da83e5ca6c3..a5ac5078e6b 100644 --- a/service/dataexchange/deserializers.go +++ b/service/dataexchange/deserializers.go @@ -19,8 +19,17 @@ import ( "io/ioutil" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCancelJob struct { } diff --git a/service/datapipeline/deserializers.go b/service/datapipeline/deserializers.go index 07061e2faec..38863562830 100644 --- a/service/datapipeline/deserializers.go +++ b/service/datapipeline/deserializers.go @@ -13,12 +13,22 @@ import ( 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" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpActivatePipeline struct { } diff --git a/service/datasync/deserializers.go b/service/datasync/deserializers.go index 01d5d86d1e4..b8bbcf5fa86 100644 --- a/service/datasync/deserializers.go +++ b/service/datasync/deserializers.go @@ -19,8 +19,17 @@ import ( "io" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpAddStorageSystem struct { } diff --git a/service/datazone/deserializers.go b/service/datazone/deserializers.go index c9812863d7f..57cce503f11 100644 --- a/service/datazone/deserializers.go +++ b/service/datazone/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpAcceptPredictions struct { } diff --git a/service/dax/deserializers.go b/service/dax/deserializers.go index fdc1462b4f5..23f877a2e37 100644 --- a/service/dax/deserializers.go +++ b/service/dax/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpCreateCluster struct { } diff --git a/service/deadline/deserializers.go b/service/deadline/deserializers.go index a437a66710c..5cd3e076ba7 100644 --- a/service/deadline/deserializers.go +++ b/service/deadline/deserializers.go @@ -21,8 +21,17 @@ import ( "math" "strconv" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpAssociateMemberToFarm struct { } diff --git a/service/detective/deserializers.go b/service/detective/deserializers.go index 1701b633b14..edda828d4c1 100644 --- a/service/detective/deserializers.go +++ b/service/detective/deserializers.go @@ -19,8 +19,17 @@ import ( "io/ioutil" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpAcceptInvitation struct { } diff --git a/service/devicefarm/deserializers.go b/service/devicefarm/deserializers.go index 51cdea76024..d0ff3cd8b91 100644 --- a/service/devicefarm/deserializers.go +++ b/service/devicefarm/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpCreateDevicePool struct { } diff --git a/service/devopsguru/deserializers.go b/service/devopsguru/deserializers.go index 789d20c9b7c..1c72c125c36 100644 --- a/service/devopsguru/deserializers.go +++ b/service/devopsguru/deserializers.go @@ -19,8 +19,17 @@ import ( "math" "strconv" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpAddNotificationChannel struct { } diff --git a/service/directconnect/deserializers.go b/service/directconnect/deserializers.go index 7d4bd6857e5..757dbb78011 100644 --- a/service/directconnect/deserializers.go +++ b/service/directconnect/deserializers.go @@ -18,8 +18,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpAcceptDirectConnectGatewayAssociationProposal struct { } diff --git a/service/directoryservice/deserializers.go b/service/directoryservice/deserializers.go index ab09b1813ca..6a760b594f8 100644 --- a/service/directoryservice/deserializers.go +++ b/service/directoryservice/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpAcceptSharedDirectory struct { } diff --git a/service/dlm/deserializers.go b/service/dlm/deserializers.go index 8a53b6667b1..8578baf81fb 100644 --- a/service/dlm/deserializers.go +++ b/service/dlm/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreateLifecyclePolicy struct { } diff --git a/service/docdb/deserializers.go b/service/docdb/deserializers.go index d1d0566b84c..52e036724cf 100644 --- a/service/docdb/deserializers.go +++ b/service/docdb/deserializers.go @@ -21,8 +21,17 @@ import ( "io/ioutil" "strconv" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsquery_deserializeOpAddSourceIdentifierToSubscription struct { } diff --git a/service/docdbelastic/deserializers.go b/service/docdbelastic/deserializers.go index 5c91724acb4..9372ad06448 100644 --- a/service/docdbelastic/deserializers.go +++ b/service/docdbelastic/deserializers.go @@ -13,12 +13,22 @@ import ( 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" "strconv" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCopyClusterSnapshot struct { } diff --git a/service/drs/deserializers.go b/service/drs/deserializers.go index 039f8ff56dd..d5a395c3ddd 100644 --- a/service/drs/deserializers.go +++ b/service/drs/deserializers.go @@ -19,8 +19,17 @@ import ( "io/ioutil" "strconv" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpAssociateSourceNetworkStack struct { } diff --git a/service/dynamodb/deserializers.go b/service/dynamodb/deserializers.go index 3bbd7230bd7..7d35718602a 100644 --- a/service/dynamodb/deserializers.go +++ b/service/dynamodb/deserializers.go @@ -20,8 +20,17 @@ import ( "io/ioutil" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson10_deserializeOpBatchExecuteStatement struct { } diff --git a/service/dynamodbstreams/deserializers.go b/service/dynamodbstreams/deserializers.go index dc2231bf986..556b624f503 100644 --- a/service/dynamodbstreams/deserializers.go +++ b/service/dynamodbstreams/deserializers.go @@ -18,8 +18,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson10_deserializeOpDescribeStream struct { } diff --git a/service/ebs/deserializers.go b/service/ebs/deserializers.go index a8a2a3d591a..0956d6c685d 100644 --- a/service/ebs/deserializers.go +++ b/service/ebs/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "strconv" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCompleteSnapshot struct { } diff --git a/service/ec2/deserializers.go b/service/ec2/deserializers.go index dfe8701fef3..3258e3924e0 100644 --- a/service/ec2/deserializers.go +++ b/service/ec2/deserializers.go @@ -22,8 +22,17 @@ import ( "io/ioutil" "strconv" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsEc2query_deserializeOpAcceptAddressTransfer struct { } diff --git a/service/ec2instanceconnect/deserializers.go b/service/ec2instanceconnect/deserializers.go index 0ab9fd2e5da..d1d3eca73d2 100644 --- a/service/ec2instanceconnect/deserializers.go +++ b/service/ec2instanceconnect/deserializers.go @@ -13,11 +13,21 @@ import ( 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" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpSendSerialConsoleSSHPublicKey struct { } diff --git a/service/ecr/deserializers.go b/service/ecr/deserializers.go index d4c99343a8b..82cd45867fa 100644 --- a/service/ecr/deserializers.go +++ b/service/ecr/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpBatchCheckLayerAvailability struct { } diff --git a/service/ecrpublic/deserializers.go b/service/ecrpublic/deserializers.go index b6fbd266f60..b5d49f43464 100644 --- a/service/ecrpublic/deserializers.go +++ b/service/ecrpublic/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpBatchCheckLayerAvailability struct { } diff --git a/service/ecs/deserializers.go b/service/ecs/deserializers.go index 5910c78c5b7..55a3ddd4492 100644 --- a/service/ecs/deserializers.go +++ b/service/ecs/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpCreateCapacityProvider struct { } diff --git a/service/efs/deserializers.go b/service/efs/deserializers.go index 27373886ee0..db394fd4a29 100644 --- a/service/efs/deserializers.go +++ b/service/efs/deserializers.go @@ -19,8 +19,17 @@ import ( "io/ioutil" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreateAccessPoint struct { } diff --git a/service/eks/deserializers.go b/service/eks/deserializers.go index d5153b3321b..bd6d2de2ad7 100644 --- a/service/eks/deserializers.go +++ b/service/eks/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpAssociateAccessPolicy struct { } diff --git a/service/eksauth/deserializers.go b/service/eksauth/deserializers.go index dd4de9ade1f..ec73754c469 100644 --- a/service/eksauth/deserializers.go +++ b/service/eksauth/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpAssumeRoleForPodIdentity struct { } diff --git a/service/elasticache/deserializers.go b/service/elasticache/deserializers.go index 9a6cbbf0616..5174c1b55f0 100644 --- a/service/elasticache/deserializers.go +++ b/service/elasticache/deserializers.go @@ -21,8 +21,17 @@ import ( "io/ioutil" "strconv" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsquery_deserializeOpAddTagsToResource struct { } diff --git a/service/elasticbeanstalk/deserializers.go b/service/elasticbeanstalk/deserializers.go index a183298d65b..5dfde00fdfd 100644 --- a/service/elasticbeanstalk/deserializers.go +++ b/service/elasticbeanstalk/deserializers.go @@ -21,8 +21,17 @@ import ( "io/ioutil" "strconv" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsquery_deserializeOpAbortEnvironmentUpdate struct { } diff --git a/service/elasticinference/deserializers.go b/service/elasticinference/deserializers.go index 70304e7a494..a2f9a74c3e5 100644 --- a/service/elasticinference/deserializers.go +++ b/service/elasticinference/deserializers.go @@ -13,11 +13,21 @@ import ( 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" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpDescribeAcceleratorOfferings struct { } diff --git a/service/elasticloadbalancing/deserializers.go b/service/elasticloadbalancing/deserializers.go index a8b0d5914f5..841daff228c 100644 --- a/service/elasticloadbalancing/deserializers.go +++ b/service/elasticloadbalancing/deserializers.go @@ -20,8 +20,17 @@ import ( "io" "strconv" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsquery_deserializeOpAddTags struct { } diff --git a/service/elasticloadbalancingv2/deserializers.go b/service/elasticloadbalancingv2/deserializers.go index 464e78992f3..9172ddda176 100644 --- a/service/elasticloadbalancingv2/deserializers.go +++ b/service/elasticloadbalancingv2/deserializers.go @@ -20,8 +20,17 @@ import ( "io" "strconv" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsquery_deserializeOpAddListenerCertificates struct { } diff --git a/service/elasticsearchservice/deserializers.go b/service/elasticsearchservice/deserializers.go index 4baa8a9ba5c..ee1739822ec 100644 --- a/service/elasticsearchservice/deserializers.go +++ b/service/elasticsearchservice/deserializers.go @@ -19,8 +19,17 @@ import ( "io/ioutil" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpAcceptInboundCrossClusterSearchConnection struct { } diff --git a/service/elastictranscoder/deserializers.go b/service/elastictranscoder/deserializers.go index 1a3139be53f..417f8c126fa 100644 --- a/service/elastictranscoder/deserializers.go +++ b/service/elastictranscoder/deserializers.go @@ -13,11 +13,21 @@ import ( 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" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCancelJob struct { } diff --git a/service/emr/deserializers.go b/service/emr/deserializers.go index 4cbf97d0ff3..e9b3e56cc64 100644 --- a/service/emr/deserializers.go +++ b/service/emr/deserializers.go @@ -19,8 +19,17 @@ import ( "io/ioutil" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpAddInstanceFleet struct { } diff --git a/service/emrcontainers/deserializers.go b/service/emrcontainers/deserializers.go index e2a6e41b3e5..eb6a9da9ba0 100644 --- a/service/emrcontainers/deserializers.go +++ b/service/emrcontainers/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCancelJobRun struct { } diff --git a/service/emrserverless/api_op_CreateApplication.go b/service/emrserverless/api_op_CreateApplication.go index fbd202f22fa..09cf5480a05 100644 --- a/service/emrserverless/api_op_CreateApplication.go +++ b/service/emrserverless/api_op_CreateApplication.go @@ -62,6 +62,10 @@ type CreateApplicationInput struct { // The capacity to initialize when the application is created. InitialCapacity map[string]types.InitialCapacityConfig + // The interactive configuration object that enables the interactive use cases to + // use when running an application. + InteractiveConfiguration *types.InteractiveConfiguration + // The maximum capacity to allocate when the application is created. This is // cumulative across all workers at any given point in time, not just when an // application is created. No new resources will be created once any one of the diff --git a/service/emrserverless/api_op_UpdateApplication.go b/service/emrserverless/api_op_UpdateApplication.go index 7495d7d23f5..a0e862ddb79 100644 --- a/service/emrserverless/api_op_UpdateApplication.go +++ b/service/emrserverless/api_op_UpdateApplication.go @@ -59,6 +59,10 @@ type UpdateApplicationInput struct { // The capacity to initialize when the application is updated. InitialCapacity map[string]types.InitialCapacityConfig + // The interactive configuration object that contains new interactive use cases + // when the application is updated. + InteractiveConfiguration *types.InteractiveConfiguration + // The maximum capacity to allocate when the application is updated. This is // cumulative across all workers at any given point in time during the lifespan of // the application. No new resources will be created once any one of the defined diff --git a/service/emrserverless/deserializers.go b/service/emrserverless/deserializers.go index 573405e52b6..30b0562ed29 100644 --- a/service/emrserverless/deserializers.go +++ b/service/emrserverless/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCancelJobRun struct { } @@ -2342,6 +2351,11 @@ func awsRestjson1_deserializeDocumentApplication(v **types.Application, value in return err } + case "interactiveConfiguration": + if err := awsRestjson1_deserializeDocumentInteractiveConfiguration(&sv.InteractiveConfiguration, value); err != nil { + return err + } + case "maximumCapacity": if err := awsRestjson1_deserializeDocumentMaximumAllowedResources(&sv.MaximumCapacity, value); err != nil { return err @@ -3168,6 +3182,55 @@ func awsRestjson1_deserializeDocumentInitialCapacityConfigMap(v *map[string]type return nil } +func awsRestjson1_deserializeDocumentInteractiveConfiguration(v **types.InteractiveConfiguration, 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.InteractiveConfiguration + if *v == nil { + sv = &types.InteractiveConfiguration{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "livyEndpointEnabled": + if value != nil { + jtv, ok := value.(bool) + if !ok { + return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) + } + sv.LivyEndpointEnabled = ptr.Bool(jtv) + } + + case "studioEnabled": + if value != nil { + jtv, ok := value.(bool) + if !ok { + return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) + } + sv.StudioEnabled = ptr.Bool(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalServerException, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) diff --git a/service/emrserverless/serializers.go b/service/emrserverless/serializers.go index 6f36add3c90..ed08b1c13c4 100644 --- a/service/emrserverless/serializers.go +++ b/service/emrserverless/serializers.go @@ -194,6 +194,13 @@ func awsRestjson1_serializeOpDocumentCreateApplicationInput(v *CreateApplication } } + if v.InteractiveConfiguration != nil { + ok := object.Key("interactiveConfiguration") + if err := awsRestjson1_serializeDocumentInteractiveConfiguration(v.InteractiveConfiguration, ok); err != nil { + return err + } + } + if v.MaximumCapacity != nil { ok := object.Key("maximumCapacity") if err := awsRestjson1_serializeDocumentMaximumAllowedResources(v.MaximumCapacity, ok); err != nil { @@ -1287,6 +1294,13 @@ func awsRestjson1_serializeOpDocumentUpdateApplicationInput(v *UpdateApplication } } + if v.InteractiveConfiguration != nil { + ok := object.Key("interactiveConfiguration") + if err := awsRestjson1_serializeDocumentInteractiveConfiguration(v.InteractiveConfiguration, ok); err != nil { + return err + } + } + if v.MaximumCapacity != nil { ok := object.Key("maximumCapacity") if err := awsRestjson1_serializeDocumentMaximumAllowedResources(v.MaximumCapacity, ok); err != nil { @@ -1531,6 +1545,23 @@ func awsRestjson1_serializeDocumentInitialCapacityConfigMap(v map[string]types.I return nil } +func awsRestjson1_serializeDocumentInteractiveConfiguration(v *types.InteractiveConfiguration, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.LivyEndpointEnabled != nil { + ok := object.Key("livyEndpointEnabled") + ok.Boolean(*v.LivyEndpointEnabled) + } + + if v.StudioEnabled != nil { + ok := object.Key("studioEnabled") + ok.Boolean(*v.StudioEnabled) + } + + return nil +} + func awsRestjson1_serializeDocumentJobDriver(v types.JobDriver, value smithyjson.Value) error { object := value.Object() defer object.Close() diff --git a/service/emrserverless/types/types.go b/service/emrserverless/types/types.go index d5de7224854..713afcba4dc 100644 --- a/service/emrserverless/types/types.go +++ b/service/emrserverless/types/types.go @@ -62,6 +62,10 @@ type Application struct { // The initial capacity of the application. InitialCapacity map[string]InitialCapacityConfig + // The interactive configuration object that enables the interactive use cases for + // an application. + InteractiveConfiguration *InteractiveConfiguration + // The maximum capacity of the application. This is cumulative across all workers // at any given point in time during the lifespan of the application is created. No // new resources will be created once any one of the defined limits is hit. @@ -298,6 +302,21 @@ type InitialCapacityConfig struct { noSmithyDocumentSerde } +// The configuration to use to enable the different types of interactive use cases +// in an application. +type InteractiveConfiguration struct { + + // Enables an Apache Livy endpoint that you can connect to and run interactive + // jobs. + LivyEndpointEnabled *bool + + // Enables you to connect an application to Amazon EMR Studio to run interactive + // workloads in a notebook. + StudioEnabled *bool + + noSmithyDocumentSerde +} + // The driver that the job runs on. // // The following types satisfy this interface: diff --git a/service/entityresolution/deserializers.go b/service/entityresolution/deserializers.go index 84c0f7b4f57..0d5d79884ce 100644 --- a/service/entityresolution/deserializers.go +++ b/service/entityresolution/deserializers.go @@ -19,8 +19,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpAddPolicyStatement struct { } diff --git a/service/eventbridge/deserializers.go b/service/eventbridge/deserializers.go index c563e27bc9d..bedcde20db9 100644 --- a/service/eventbridge/deserializers.go +++ b/service/eventbridge/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpActivateEventSource struct { } diff --git a/service/evidently/deserializers.go b/service/evidently/deserializers.go index 73ceb5f4bd3..f0be651600a 100644 --- a/service/evidently/deserializers.go +++ b/service/evidently/deserializers.go @@ -21,6 +21,14 @@ import ( "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpBatchEvaluateFeature struct { } diff --git a/service/finspace/deserializers.go b/service/finspace/deserializers.go index cb7a8c48023..e90550619ed 100644 --- a/service/finspace/deserializers.go +++ b/service/finspace/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreateEnvironment struct { } diff --git a/service/finspacedata/deserializers.go b/service/finspacedata/deserializers.go index 75eb31c3ac8..1606eb582fe 100644 --- a/service/finspacedata/deserializers.go +++ b/service/finspacedata/deserializers.go @@ -13,11 +13,21 @@ import ( 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" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpAssociateUserToPermissionGroup struct { } diff --git a/service/firehose/deserializers.go b/service/firehose/deserializers.go index ae8891e437b..62cd6c9ff52 100644 --- a/service/firehose/deserializers.go +++ b/service/firehose/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpCreateDeliveryStream struct { } diff --git a/service/fis/deserializers.go b/service/fis/deserializers.go index 34b69146283..889cb6ea7ca 100644 --- a/service/fis/deserializers.go +++ b/service/fis/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreateExperimentTemplate struct { } diff --git a/service/fms/deserializers.go b/service/fms/deserializers.go index a4b83345cf1..83b68bff3a6 100644 --- a/service/fms/deserializers.go +++ b/service/fms/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpAssociateAdminAccount struct { } diff --git a/service/forecast/deserializers.go b/service/forecast/deserializers.go index 9156e73ee08..6f2cfa98b53 100644 --- a/service/forecast/deserializers.go +++ b/service/forecast/deserializers.go @@ -19,8 +19,17 @@ import ( "io/ioutil" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpCreateAutoPredictor struct { } diff --git a/service/forecastquery/deserializers.go b/service/forecastquery/deserializers.go index ace0c2fc5e3..6b523ed7ab9 100644 --- a/service/forecastquery/deserializers.go +++ b/service/forecastquery/deserializers.go @@ -13,12 +13,22 @@ import ( 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" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpQueryForecast struct { } diff --git a/service/frauddetector/deserializers.go b/service/frauddetector/deserializers.go index 08afa8dff5f..ed64922cba5 100644 --- a/service/frauddetector/deserializers.go +++ b/service/frauddetector/deserializers.go @@ -13,12 +13,22 @@ import ( 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" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpBatchCreateVariable struct { } diff --git a/service/freetier/deserializers.go b/service/freetier/deserializers.go index 9acc8ffe375..9ceb9cfba67 100644 --- a/service/freetier/deserializers.go +++ b/service/freetier/deserializers.go @@ -13,12 +13,22 @@ import ( 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" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson10_deserializeOpGetFreeTierUsage struct { } diff --git a/service/fsx/deserializers.go b/service/fsx/deserializers.go index 78c06ab83fc..e426917ebd0 100644 --- a/service/fsx/deserializers.go +++ b/service/fsx/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpAssociateFileSystemAliases struct { } diff --git a/service/gamelift/deserializers.go b/service/gamelift/deserializers.go index a2571bf3898..829e4972e26 100644 --- a/service/gamelift/deserializers.go +++ b/service/gamelift/deserializers.go @@ -19,8 +19,17 @@ import ( "io/ioutil" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpAcceptMatch struct { } diff --git a/service/glacier/deserializers.go b/service/glacier/deserializers.go index 1dacb44bbdd..4c710384209 100644 --- a/service/glacier/deserializers.go +++ b/service/glacier/deserializers.go @@ -13,12 +13,22 @@ import ( 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" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpAbortMultipartUpload struct { } diff --git a/service/globalaccelerator/deserializers.go b/service/globalaccelerator/deserializers.go index bc9978818f3..eef93d83f84 100644 --- a/service/globalaccelerator/deserializers.go +++ b/service/globalaccelerator/deserializers.go @@ -19,8 +19,17 @@ import ( "io/ioutil" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpAddCustomRoutingEndpoints struct { } diff --git a/service/glue/deserializers.go b/service/glue/deserializers.go index b9f98188378..db3c94dbc0b 100644 --- a/service/glue/deserializers.go +++ b/service/glue/deserializers.go @@ -19,8 +19,17 @@ import ( "io" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpBatchCreatePartition struct { } diff --git a/service/grafana/deserializers.go b/service/grafana/deserializers.go index 03bd4b851d2..afb1b9bb553 100644 --- a/service/grafana/deserializers.go +++ b/service/grafana/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "strconv" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpAssociateLicense struct { } diff --git a/service/greengrass/deserializers.go b/service/greengrass/deserializers.go index 84ca815b71f..049d2bfaf9a 100644 --- a/service/greengrass/deserializers.go +++ b/service/greengrass/deserializers.go @@ -13,12 +13,22 @@ import ( 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" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpAssociateRoleToGroup struct { } diff --git a/service/greengrassv2/deserializers.go b/service/greengrassv2/deserializers.go index 67189785616..0fd7cf094c3 100644 --- a/service/greengrassv2/deserializers.go +++ b/service/greengrassv2/deserializers.go @@ -21,8 +21,17 @@ import ( "math" "strconv" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpAssociateServiceRoleToAccount struct { } diff --git a/service/groundstation/deserializers.go b/service/groundstation/deserializers.go index 3a26c80d41d..033aa1ac512 100644 --- a/service/groundstation/deserializers.go +++ b/service/groundstation/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCancelContact struct { } diff --git a/service/guardduty/deserializers.go b/service/guardduty/deserializers.go index e6436cb8026..2d2830c8184 100644 --- a/service/guardduty/deserializers.go +++ b/service/guardduty/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpAcceptAdministratorInvitation struct { } diff --git a/service/health/deserializers.go b/service/health/deserializers.go index e74752f18ef..e7458611024 100644 --- a/service/health/deserializers.go +++ b/service/health/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpDescribeAffectedAccountsForOrganization struct { } diff --git a/service/healthlake/deserializers.go b/service/healthlake/deserializers.go index 102355b1ad2..34cc241078f 100644 --- a/service/healthlake/deserializers.go +++ b/service/healthlake/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson10_deserializeOpCreateFHIRDatastore struct { } diff --git a/service/iam/deserializers.go b/service/iam/deserializers.go index dc98aba5167..4f310b772c3 100644 --- a/service/iam/deserializers.go +++ b/service/iam/deserializers.go @@ -22,8 +22,17 @@ import ( "io/ioutil" "strconv" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsquery_deserializeOpAddClientIDToOpenIDConnectProvider struct { } diff --git a/service/identitystore/deserializers.go b/service/identitystore/deserializers.go index 9bcb2ab3de8..a6e0097f60d 100644 --- a/service/identitystore/deserializers.go +++ b/service/identitystore/deserializers.go @@ -13,11 +13,21 @@ import ( 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" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpCreateGroup struct { } diff --git a/service/imagebuilder/deserializers.go b/service/imagebuilder/deserializers.go index bcba26b0a42..a4a39d922c2 100644 --- a/service/imagebuilder/deserializers.go +++ b/service/imagebuilder/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCancelImageCreation struct { } diff --git a/service/inspector/deserializers.go b/service/inspector/deserializers.go index a43b3929b25..55002225e9d 100644 --- a/service/inspector/deserializers.go +++ b/service/inspector/deserializers.go @@ -19,8 +19,17 @@ import ( "io/ioutil" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpAddAttributesToFindings struct { } diff --git a/service/inspector2/deserializers.go b/service/inspector2/deserializers.go index 0b96473b15c..8f2ad48c255 100644 --- a/service/inspector2/deserializers.go +++ b/service/inspector2/deserializers.go @@ -19,8 +19,17 @@ import ( "math" "strconv" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpAssociateMember struct { } diff --git a/service/inspectorscan/deserializers.go b/service/inspectorscan/deserializers.go index 35e7ce55acd..2010874bef0 100644 --- a/service/inspectorscan/deserializers.go +++ b/service/inspectorscan/deserializers.go @@ -15,12 +15,22 @@ import ( 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" "strconv" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpScanSbom struct { } diff --git a/service/internetmonitor/deserializers.go b/service/internetmonitor/deserializers.go index 0bfdbdab42d..090a9987c2b 100644 --- a/service/internetmonitor/deserializers.go +++ b/service/internetmonitor/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreateMonitor struct { } diff --git a/service/iot/deserializers.go b/service/iot/deserializers.go index 159cec6eeb9..d4ac60f6112 100644 --- a/service/iot/deserializers.go +++ b/service/iot/deserializers.go @@ -20,8 +20,17 @@ import ( "io/ioutil" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpAcceptCertificateTransfer struct { } diff --git a/service/iot1clickdevicesservice/deserializers.go b/service/iot1clickdevicesservice/deserializers.go index 22720740ec5..62f5cf11a35 100644 --- a/service/iot1clickdevicesservice/deserializers.go +++ b/service/iot1clickdevicesservice/deserializers.go @@ -13,13 +13,23 @@ import ( 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" "io/ioutil" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpClaimDevicesByClaimCode struct { } diff --git a/service/iot1clickprojects/deserializers.go b/service/iot1clickprojects/deserializers.go index 351cd767be1..35e58ca82d0 100644 --- a/service/iot1clickprojects/deserializers.go +++ b/service/iot1clickprojects/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpAssociateDeviceWithPlacement struct { } diff --git a/service/iotanalytics/deserializers.go b/service/iotanalytics/deserializers.go index 54134cd5298..aef952a7d20 100644 --- a/service/iotanalytics/deserializers.go +++ b/service/iotanalytics/deserializers.go @@ -20,8 +20,17 @@ import ( "io/ioutil" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpBatchPutMessage struct { } diff --git a/service/iotdataplane/deserializers.go b/service/iotdataplane/deserializers.go index 37f1517cc2c..30f4409b868 100644 --- a/service/iotdataplane/deserializers.go +++ b/service/iotdataplane/deserializers.go @@ -14,12 +14,22 @@ import ( 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" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpDeleteThingShadow struct { } diff --git a/service/iotdeviceadvisor/deserializers.go b/service/iotdeviceadvisor/deserializers.go index 1a52acee8a0..79afbf95041 100644 --- a/service/iotdeviceadvisor/deserializers.go +++ b/service/iotdeviceadvisor/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreateSuiteDefinition struct { } diff --git a/service/iotevents/deserializers.go b/service/iotevents/deserializers.go index 6719d530205..12476ce6f05 100644 --- a/service/iotevents/deserializers.go +++ b/service/iotevents/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreateAlarmModel struct { } diff --git a/service/ioteventsdata/deserializers.go b/service/ioteventsdata/deserializers.go index 91e9f686979..2177d25bab1 100644 --- a/service/ioteventsdata/deserializers.go +++ b/service/ioteventsdata/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpBatchAcknowledgeAlarm struct { } diff --git a/service/iotfleethub/deserializers.go b/service/iotfleethub/deserializers.go index 0d9ad0d5276..c8a9f43d829 100644 --- a/service/iotfleethub/deserializers.go +++ b/service/iotfleethub/deserializers.go @@ -13,11 +13,21 @@ import ( 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" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreateApplication struct { } diff --git a/service/iotfleetwise/deserializers.go b/service/iotfleetwise/deserializers.go index d57c57ad261..bcab2fae925 100644 --- a/service/iotfleetwise/deserializers.go +++ b/service/iotfleetwise/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson10_deserializeOpAssociateVehicleFleet struct { } diff --git a/service/iotjobsdataplane/deserializers.go b/service/iotjobsdataplane/deserializers.go index 7d10b07316c..9fb60bc603c 100644 --- a/service/iotjobsdataplane/deserializers.go +++ b/service/iotjobsdataplane/deserializers.go @@ -14,11 +14,21 @@ import ( 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" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpDescribeJobExecution struct { } diff --git a/service/iotsecuretunneling/deserializers.go b/service/iotsecuretunneling/deserializers.go index ec35ef950bc..ed913e9e8b3 100644 --- a/service/iotsecuretunneling/deserializers.go +++ b/service/iotsecuretunneling/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpCloseTunnel struct { } diff --git a/service/iotsitewise/deserializers.go b/service/iotsitewise/deserializers.go index b13610cbcef..647092f8a22 100644 --- a/service/iotsitewise/deserializers.go +++ b/service/iotsitewise/deserializers.go @@ -19,8 +19,17 @@ import ( "io/ioutil" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpAssociateAssets struct { } diff --git a/service/iotthingsgraph/deserializers.go b/service/iotthingsgraph/deserializers.go index b1dce0e7adc..5551a7d61a4 100644 --- a/service/iotthingsgraph/deserializers.go +++ b/service/iotthingsgraph/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpAssociateEntityToThing struct { } diff --git a/service/iottwinmaker/deserializers.go b/service/iottwinmaker/deserializers.go index 80c7a09824d..6cde8d0a249 100644 --- a/service/iottwinmaker/deserializers.go +++ b/service/iottwinmaker/deserializers.go @@ -20,8 +20,17 @@ import ( "io" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpBatchPutPropertyValues struct { } diff --git a/service/iotwireless/deserializers.go b/service/iotwireless/deserializers.go index 0f07ff222b1..5d118764db4 100644 --- a/service/iotwireless/deserializers.go +++ b/service/iotwireless/deserializers.go @@ -21,6 +21,14 @@ import ( "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpAssociateAwsAccountWithPartnerAccount struct { } diff --git a/service/ivs/deserializers.go b/service/ivs/deserializers.go index 799de90e598..445a71ebff0 100644 --- a/service/ivs/deserializers.go +++ b/service/ivs/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpBatchGetChannel struct { } diff --git a/service/ivschat/deserializers.go b/service/ivschat/deserializers.go index bbd4a231527..1383f8c9864 100644 --- a/service/ivschat/deserializers.go +++ b/service/ivschat/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreateChatToken struct { } diff --git a/service/ivsrealtime/deserializers.go b/service/ivsrealtime/deserializers.go index 49587d1b3c6..967d4987df4 100644 --- a/service/ivsrealtime/deserializers.go +++ b/service/ivsrealtime/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreateEncoderConfiguration struct { } diff --git a/service/kafka/deserializers.go b/service/kafka/deserializers.go index ad9e28578cf..ee2a54866c8 100644 --- a/service/kafka/deserializers.go +++ b/service/kafka/deserializers.go @@ -20,8 +20,17 @@ import ( "io/ioutil" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpBatchAssociateScramSecret struct { } diff --git a/service/kafkaconnect/deserializers.go b/service/kafkaconnect/deserializers.go index 13c7447e803..5c656e666e3 100644 --- a/service/kafkaconnect/deserializers.go +++ b/service/kafkaconnect/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreateConnector struct { } diff --git a/service/kendra/deserializers.go b/service/kendra/deserializers.go index 46fb6a82f34..31cec09e934 100644 --- a/service/kendra/deserializers.go +++ b/service/kendra/deserializers.go @@ -21,8 +21,17 @@ import ( "io/ioutil" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpAssociateEntitiesToExperience struct { } diff --git a/service/kendraranking/deserializers.go b/service/kendraranking/deserializers.go index 964bd01e396..b08ecbf11b4 100644 --- a/service/kendraranking/deserializers.go +++ b/service/kendraranking/deserializers.go @@ -19,8 +19,17 @@ import ( "io/ioutil" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson10_deserializeOpCreateRescoreExecutionPlan struct { } diff --git a/service/keyspaces/deserializers.go b/service/keyspaces/deserializers.go index 7422452b960..38862ff7d48 100644 --- a/service/keyspaces/deserializers.go +++ b/service/keyspaces/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson10_deserializeOpCreateKeyspace struct { } diff --git a/service/kinesis/deserializers.go b/service/kinesis/deserializers.go index 8b854e50aed..6dc4f468087 100644 --- a/service/kinesis/deserializers.go +++ b/service/kinesis/deserializers.go @@ -21,8 +21,17 @@ import ( "io" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpAddTagsToStream struct { } diff --git a/service/kinesisanalytics/deserializers.go b/service/kinesisanalytics/deserializers.go index 00b064a9214..d1f183e97d4 100644 --- a/service/kinesisanalytics/deserializers.go +++ b/service/kinesisanalytics/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpAddApplicationCloudWatchLoggingOption struct { } diff --git a/service/kinesisanalyticsv2/deserializers.go b/service/kinesisanalyticsv2/deserializers.go index 3d721546acb..7dc4cc4dcc7 100644 --- a/service/kinesisanalyticsv2/deserializers.go +++ b/service/kinesisanalyticsv2/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpAddApplicationCloudWatchLoggingOption struct { } diff --git a/service/kinesisvideo/deserializers.go b/service/kinesisvideo/deserializers.go index 76bf27bf653..afb6285de01 100644 --- a/service/kinesisvideo/deserializers.go +++ b/service/kinesisvideo/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreateSignalingChannel struct { } diff --git a/service/kinesisvideoarchivedmedia/deserializers.go b/service/kinesisvideoarchivedmedia/deserializers.go index fad2915f756..b6f2b6b0e6c 100644 --- a/service/kinesisvideoarchivedmedia/deserializers.go +++ b/service/kinesisvideoarchivedmedia/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpGetClip struct { } diff --git a/service/kinesisvideomedia/deserializers.go b/service/kinesisvideomedia/deserializers.go index 0db66be0aa3..0aad38bcbd6 100644 --- a/service/kinesisvideomedia/deserializers.go +++ b/service/kinesisvideomedia/deserializers.go @@ -13,11 +13,21 @@ import ( 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" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpGetMedia struct { } diff --git a/service/kinesisvideosignaling/deserializers.go b/service/kinesisvideosignaling/deserializers.go index 40effabb6de..4423479cb68 100644 --- a/service/kinesisvideosignaling/deserializers.go +++ b/service/kinesisvideosignaling/deserializers.go @@ -13,11 +13,21 @@ import ( 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" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpGetIceServerConfig struct { } diff --git a/service/kinesisvideowebrtcstorage/deserializers.go b/service/kinesisvideowebrtcstorage/deserializers.go index eebfa113fe6..9d24f937c99 100644 --- a/service/kinesisvideowebrtcstorage/deserializers.go +++ b/service/kinesisvideowebrtcstorage/deserializers.go @@ -13,12 +13,22 @@ import ( 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" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpJoinStorageSession struct { } diff --git a/service/kms/deserializers.go b/service/kms/deserializers.go index 39e57824ea5..c1a69f0f6cb 100644 --- a/service/kms/deserializers.go +++ b/service/kms/deserializers.go @@ -19,8 +19,17 @@ import ( "io" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpCancelKeyDeletion struct { } diff --git a/service/lakeformation/deserializers.go b/service/lakeformation/deserializers.go index 56335dabd81..e5f3ef37688 100644 --- a/service/lakeformation/deserializers.go +++ b/service/lakeformation/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpAddLFTagsToResource struct { } diff --git a/service/lambda/deserializers.go b/service/lambda/deserializers.go index 7515c519fa3..4e2ab0220a9 100644 --- a/service/lambda/deserializers.go +++ b/service/lambda/deserializers.go @@ -21,8 +21,17 @@ import ( "io/ioutil" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpAddLayerVersionPermission struct { } diff --git a/service/launchwizard/deserializers.go b/service/launchwizard/deserializers.go index 5093a44c1b9..11fbd2cefb9 100644 --- a/service/launchwizard/deserializers.go +++ b/service/launchwizard/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreateDeployment struct { } diff --git a/service/lexmodelbuildingservice/deserializers.go b/service/lexmodelbuildingservice/deserializers.go index 9c7343a85e8..ca8c64b6c1d 100644 --- a/service/lexmodelbuildingservice/deserializers.go +++ b/service/lexmodelbuildingservice/deserializers.go @@ -19,8 +19,17 @@ import ( "io/ioutil" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreateBotVersion struct { } diff --git a/service/lexmodelsv2/deserializers.go b/service/lexmodelsv2/deserializers.go index 8ddc6327f56..ab14b4067f2 100644 --- a/service/lexmodelsv2/deserializers.go +++ b/service/lexmodelsv2/deserializers.go @@ -20,8 +20,17 @@ import ( "math" "strconv" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpBatchCreateCustomVocabularyItem struct { } diff --git a/service/lexruntimeservice/deserializers.go b/service/lexruntimeservice/deserializers.go index ac1a2f41a73..fd2e511a927 100644 --- a/service/lexruntimeservice/deserializers.go +++ b/service/lexruntimeservice/deserializers.go @@ -14,12 +14,22 @@ import ( 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" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpDeleteSession struct { } diff --git a/service/lexruntimev2/deserializers.go b/service/lexruntimev2/deserializers.go index 3b21de23193..a10b19f02f6 100644 --- a/service/lexruntimev2/deserializers.go +++ b/service/lexruntimev2/deserializers.go @@ -16,12 +16,22 @@ import ( 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" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpDeleteSession struct { } diff --git a/service/licensemanager/deserializers.go b/service/licensemanager/deserializers.go index f1a0a5039ce..d18ff45b37a 100644 --- a/service/licensemanager/deserializers.go +++ b/service/licensemanager/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpAcceptGrant struct { } diff --git a/service/licensemanagerlinuxsubscriptions/deserializers.go b/service/licensemanagerlinuxsubscriptions/deserializers.go index a758c4ad304..214da031a1b 100644 --- a/service/licensemanagerlinuxsubscriptions/deserializers.go +++ b/service/licensemanagerlinuxsubscriptions/deserializers.go @@ -13,11 +13,21 @@ import ( 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" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpGetServiceSettings struct { } diff --git a/service/licensemanagerusersubscriptions/deserializers.go b/service/licensemanagerusersubscriptions/deserializers.go index 8330e6e9c34..2ec595ad26a 100644 --- a/service/licensemanagerusersubscriptions/deserializers.go +++ b/service/licensemanagerusersubscriptions/deserializers.go @@ -13,11 +13,21 @@ import ( 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" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpAssociateUser struct { } diff --git a/service/lightsail/deserializers.go b/service/lightsail/deserializers.go index 7f8a6f3227e..5af08db0ce4 100644 --- a/service/lightsail/deserializers.go +++ b/service/lightsail/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpAllocateStaticIp struct { } diff --git a/service/location/deserializers.go b/service/location/deserializers.go index 30f0ab142bc..0f9a2e7ab45 100644 --- a/service/location/deserializers.go +++ b/service/location/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpAssociateTrackerConsumer struct { } diff --git a/service/lookoutequipment/deserializers.go b/service/lookoutequipment/deserializers.go index 9bda5884dbc..c2e8e5cafcc 100644 --- a/service/lookoutequipment/deserializers.go +++ b/service/lookoutequipment/deserializers.go @@ -19,8 +19,17 @@ import ( "io/ioutil" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson10_deserializeOpCreateDataset struct { } diff --git a/service/lookoutmetrics/deserializers.go b/service/lookoutmetrics/deserializers.go index 1b1a670fc42..e8b318fc935 100644 --- a/service/lookoutmetrics/deserializers.go +++ b/service/lookoutmetrics/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpActivateAnomalyDetector struct { } diff --git a/service/lookoutvision/deserializers.go b/service/lookoutvision/deserializers.go index 72dbdf41683..a3d0f0a13c0 100644 --- a/service/lookoutvision/deserializers.go +++ b/service/lookoutvision/deserializers.go @@ -20,8 +20,17 @@ import ( "math" "strconv" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreateDataset struct { } diff --git a/service/m2/deserializers.go b/service/m2/deserializers.go index d95bb16eb4d..0824a1a30b2 100644 --- a/service/m2/deserializers.go +++ b/service/m2/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "strconv" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCancelBatchJobExecution struct { } diff --git a/service/machinelearning/deserializers.go b/service/machinelearning/deserializers.go index cded9564d54..5abcb9b018c 100644 --- a/service/machinelearning/deserializers.go +++ b/service/machinelearning/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpAddTags struct { } diff --git a/service/macie2/deserializers.go b/service/macie2/deserializers.go index 25c87a02477..7de97ff7349 100644 --- a/service/macie2/deserializers.go +++ b/service/macie2/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpAcceptInvitation struct { } diff --git a/service/mailmanager/deserializers.go b/service/mailmanager/deserializers.go index 586ceb446a9..4fa3b2522c5 100644 --- a/service/mailmanager/deserializers.go +++ b/service/mailmanager/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson10_deserializeOpCreateAddonInstance struct { } diff --git a/service/managedblockchain/deserializers.go b/service/managedblockchain/deserializers.go index 755e65354c5..fc11a9546e6 100644 --- a/service/managedblockchain/deserializers.go +++ b/service/managedblockchain/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreateAccessor struct { } diff --git a/service/managedblockchainquery/deserializers.go b/service/managedblockchainquery/deserializers.go index 3e903ee5a9d..9338b65a2ad 100644 --- a/service/managedblockchainquery/deserializers.go +++ b/service/managedblockchainquery/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "strconv" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpBatchGetTokenBalance struct { } diff --git a/service/marketplaceagreement/deserializers.go b/service/marketplaceagreement/deserializers.go index 3b3e14c6d03..708da604b25 100644 --- a/service/marketplaceagreement/deserializers.go +++ b/service/marketplaceagreement/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson10_deserializeOpDescribeAgreement struct { } diff --git a/service/marketplacecatalog/deserializers.go b/service/marketplacecatalog/deserializers.go index fdbeb2468c4..d63cacf9ab4 100644 --- a/service/marketplacecatalog/deserializers.go +++ b/service/marketplacecatalog/deserializers.go @@ -15,11 +15,21 @@ import ( 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" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpBatchDescribeEntities struct { } diff --git a/service/marketplacecommerceanalytics/deserializers.go b/service/marketplacecommerceanalytics/deserializers.go index 2492a741a8f..a26cfb98e09 100644 --- a/service/marketplacecommerceanalytics/deserializers.go +++ b/service/marketplacecommerceanalytics/deserializers.go @@ -13,11 +13,21 @@ import ( 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" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpGenerateDataSet struct { } diff --git a/service/marketplacedeployment/deserializers.go b/service/marketplacedeployment/deserializers.go index e9af6e6d1b3..82a799a022b 100644 --- a/service/marketplacedeployment/deserializers.go +++ b/service/marketplacedeployment/deserializers.go @@ -13,11 +13,21 @@ import ( 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" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpListTagsForResource struct { } diff --git a/service/marketplaceentitlementservice/deserializers.go b/service/marketplaceentitlementservice/deserializers.go index be1a6de256d..1a87377a895 100644 --- a/service/marketplaceentitlementservice/deserializers.go +++ b/service/marketplaceentitlementservice/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpGetEntitlements struct { } diff --git a/service/marketplacemetering/deserializers.go b/service/marketplacemetering/deserializers.go index ceb560ef9cf..a701161add1 100644 --- a/service/marketplacemetering/deserializers.go +++ b/service/marketplacemetering/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpBatchMeterUsage struct { } diff --git a/service/mediaconnect/deserializers.go b/service/mediaconnect/deserializers.go index 394a34705fa..05e50aa23f3 100644 --- a/service/mediaconnect/deserializers.go +++ b/service/mediaconnect/deserializers.go @@ -19,8 +19,17 @@ import ( "io/ioutil" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpAddBridgeOutputs struct { } diff --git a/service/mediaconvert/deserializers.go b/service/mediaconvert/deserializers.go index 860321822e8..1cdfbfba5ce 100644 --- a/service/mediaconvert/deserializers.go +++ b/service/mediaconvert/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpAssociateCertificate struct { } diff --git a/service/medialive/deserializers.go b/service/medialive/deserializers.go index 8e45f864240..b2ef35c5008 100644 --- a/service/medialive/deserializers.go +++ b/service/medialive/deserializers.go @@ -20,8 +20,17 @@ import ( "math" "strconv" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpAcceptInputDeviceTransfer struct { } diff --git a/service/mediapackage/deserializers.go b/service/mediapackage/deserializers.go index 54086706362..a5f26b2a3e5 100644 --- a/service/mediapackage/deserializers.go +++ b/service/mediapackage/deserializers.go @@ -13,12 +13,22 @@ import ( 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" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpConfigureLogs struct { } diff --git a/service/mediapackagev2/deserializers.go b/service/mediapackagev2/deserializers.go index 520e1256d22..854d1d3e06f 100644 --- a/service/mediapackagev2/deserializers.go +++ b/service/mediapackagev2/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreateChannel struct { } diff --git a/service/mediapackagevod/deserializers.go b/service/mediapackagevod/deserializers.go index e1d20764839..0e13fd01c2e 100644 --- a/service/mediapackagevod/deserializers.go +++ b/service/mediapackagevod/deserializers.go @@ -13,12 +13,22 @@ import ( 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" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpConfigureLogs struct { } diff --git a/service/mediastore/deserializers.go b/service/mediastore/deserializers.go index 9442b62d903..1dce55724fe 100644 --- a/service/mediastore/deserializers.go +++ b/service/mediastore/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpCreateContainer struct { } diff --git a/service/mediastoredata/deserializers.go b/service/mediastoredata/deserializers.go index ee79593de29..fa674df543a 100644 --- a/service/mediastoredata/deserializers.go +++ b/service/mediastoredata/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "strconv" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpDeleteObject struct { } diff --git a/service/mediatailor/deserializers.go b/service/mediatailor/deserializers.go index 5bbce4214e2..dc2b876beff 100644 --- a/service/mediatailor/deserializers.go +++ b/service/mediatailor/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpConfigureLogsForChannel struct { } diff --git a/service/medicalimaging/deserializers.go b/service/medicalimaging/deserializers.go index 83fa513fe62..620ecf037b7 100644 --- a/service/medicalimaging/deserializers.go +++ b/service/medicalimaging/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCopyImageSet struct { } diff --git a/service/memorydb/deserializers.go b/service/memorydb/deserializers.go index b9137924c37..6e839aec2a0 100644 --- a/service/memorydb/deserializers.go +++ b/service/memorydb/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpBatchUpdateCluster struct { } diff --git a/service/mgn/deserializers.go b/service/mgn/deserializers.go index d4a8f0e0c04..1c729d397e4 100644 --- a/service/mgn/deserializers.go +++ b/service/mgn/deserializers.go @@ -13,14 +13,24 @@ import ( 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" "io/ioutil" "math" "strconv" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpArchiveApplication struct { } diff --git a/service/migrationhub/deserializers.go b/service/migrationhub/deserializers.go index 9fd7318d1e6..b24a5323df3 100644 --- a/service/migrationhub/deserializers.go +++ b/service/migrationhub/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpAssociateCreatedArtifact struct { } diff --git a/service/migrationhubconfig/deserializers.go b/service/migrationhubconfig/deserializers.go index 3fe699e1eea..b9b0a911081 100644 --- a/service/migrationhubconfig/deserializers.go +++ b/service/migrationhubconfig/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpCreateHomeRegionControl struct { } diff --git a/service/migrationhuborchestrator/deserializers.go b/service/migrationhuborchestrator/deserializers.go index e135d72d2bf..06cb9d3b492 100644 --- a/service/migrationhuborchestrator/deserializers.go +++ b/service/migrationhuborchestrator/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreateTemplate struct { } diff --git a/service/migrationhubrefactorspaces/deserializers.go b/service/migrationhubrefactorspaces/deserializers.go index 6bc9c3c1875..f1ac678e5b8 100644 --- a/service/migrationhubrefactorspaces/deserializers.go +++ b/service/migrationhubrefactorspaces/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "strconv" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreateApplication struct { } diff --git a/service/migrationhubstrategy/deserializers.go b/service/migrationhubstrategy/deserializers.go index 23b8f83b25a..511b6e51c8a 100644 --- a/service/migrationhubstrategy/deserializers.go +++ b/service/migrationhubstrategy/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpGetApplicationComponentDetails struct { } diff --git a/service/mobile/deserializers.go b/service/mobile/deserializers.go index 588812e86fe..f034fde8c94 100644 --- a/service/mobile/deserializers.go +++ b/service/mobile/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreateProject struct { } diff --git a/service/mq/deserializers.go b/service/mq/deserializers.go index 7caf9eda902..3b1c69e271e 100644 --- a/service/mq/deserializers.go +++ b/service/mq/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreateBroker struct { } diff --git a/service/mturk/deserializers.go b/service/mturk/deserializers.go index c9e28ae7cba..51dc067a223 100644 --- a/service/mturk/deserializers.go +++ b/service/mturk/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpAcceptQualificationRequest struct { } diff --git a/service/mwaa/deserializers.go b/service/mwaa/deserializers.go index eeb56ff90b0..d4f988c3ae0 100644 --- a/service/mwaa/deserializers.go +++ b/service/mwaa/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreateCliToken struct { } diff --git a/service/neptune/deserializers.go b/service/neptune/deserializers.go index 8236d05b1af..7e78a2fd1a0 100644 --- a/service/neptune/deserializers.go +++ b/service/neptune/deserializers.go @@ -21,8 +21,17 @@ import ( "io/ioutil" "strconv" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsquery_deserializeOpAddRoleToDBCluster struct { } diff --git a/service/neptunedata/deserializers.go b/service/neptunedata/deserializers.go index 9eab3f2f4a3..e795c73b770 100644 --- a/service/neptunedata/deserializers.go +++ b/service/neptunedata/deserializers.go @@ -19,8 +19,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCancelGremlinQuery struct { } diff --git a/service/neptunegraph/deserializers.go b/service/neptunegraph/deserializers.go index d41c00f307c..7ca0e89f9a9 100644 --- a/service/neptunegraph/deserializers.go +++ b/service/neptunegraph/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCancelImportTask struct { } diff --git a/service/networkfirewall/deserializers.go b/service/networkfirewall/deserializers.go index 7a7eac77058..5aadf158784 100644 --- a/service/networkfirewall/deserializers.go +++ b/service/networkfirewall/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson10_deserializeOpAssociateFirewallPolicy struct { } diff --git a/service/networkmanager/deserializers.go b/service/networkmanager/deserializers.go index b35c5e1cd1e..3b8d03e46cb 100644 --- a/service/networkmanager/deserializers.go +++ b/service/networkmanager/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "strconv" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpAcceptAttachment struct { } diff --git a/service/networkmonitor/deserializers.go b/service/networkmonitor/deserializers.go index 1c45f5587fa..e1c2db7eb78 100644 --- a/service/networkmonitor/deserializers.go +++ b/service/networkmonitor/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreateMonitor struct { } diff --git a/service/nimble/deserializers.go b/service/nimble/deserializers.go index 6a3724514ba..2700867a4f6 100644 --- a/service/nimble/deserializers.go +++ b/service/nimble/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpAcceptEulas struct { } diff --git a/service/oam/deserializers.go b/service/oam/deserializers.go index b1e9af98437..77bdf712755 100644 --- a/service/oam/deserializers.go +++ b/service/oam/deserializers.go @@ -13,11 +13,21 @@ import ( 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" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreateLink struct { } diff --git a/service/omics/deserializers.go b/service/omics/deserializers.go index f4d6ddeb3d5..2e7532916a3 100644 --- a/service/omics/deserializers.go +++ b/service/omics/deserializers.go @@ -20,8 +20,17 @@ import ( "io" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpAbortMultipartReadSetUpload struct { } diff --git a/service/opensearch/deserializers.go b/service/opensearch/deserializers.go index 8c85a567d46..8b36c5b8ffd 100644 --- a/service/opensearch/deserializers.go +++ b/service/opensearch/deserializers.go @@ -19,8 +19,17 @@ import ( "io/ioutil" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpAcceptInboundConnection struct { } diff --git a/service/opensearchserverless/deserializers.go b/service/opensearchserverless/deserializers.go index 335e41f795c..bf29dbc4242 100644 --- a/service/opensearchserverless/deserializers.go +++ b/service/opensearchserverless/deserializers.go @@ -15,11 +15,21 @@ import ( 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" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson10_deserializeOpBatchGetCollection struct { } diff --git a/service/opsworks/api_op_AssignInstance.go b/service/opsworks/api_op_AssignInstance.go index 6438e357978..3ce1e5cc008 100644 --- a/service/opsworks/api_op_AssignInstance.go +++ b/service/opsworks/api_op_AssignInstance.go @@ -16,10 +16,10 @@ import ( // // - You can assign registered Amazon EC2 instances only to custom layers. // -// - You cannot use this action with instances that were created with AWS -// OpsWorks Stacks. +// - You cannot use this action with instances that were created with OpsWorks +// Stacks. // -// Required Permissions: To use this action, an AWS Identity and Access Management +// Required Permissions: To use this action, an Identity and Access Management // (IAM) user must have a Manage permissions level for the stack or an attached // policy that explicitly grants permissions. For more information on user // permissions, see [Managing User Permissions]. diff --git a/service/opsworks/api_op_AttachElasticLoadBalancer.go b/service/opsworks/api_op_AttachElasticLoadBalancer.go index 3aca1221715..ad1db2a94ae 100644 --- a/service/opsworks/api_op_AttachElasticLoadBalancer.go +++ b/service/opsworks/api_op_AttachElasticLoadBalancer.go @@ -10,12 +10,12 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Attaches an Elastic Load Balancing load balancer to a specified layer. AWS -// OpsWorks Stacks does not support Application Load Balancer. You can only use -// Classic Load Balancer with AWS OpsWorks Stacks. For more information, see [Elastic Load Balancing]. +// Attaches an Elastic Load Balancing load balancer to a specified layer. OpsWorks +// Stacks does not support Application Load Balancer. You can only use Classic Load +// Balancer with OpsWorks Stacks. For more information, see [Elastic Load Balancing]. // // You must create the Elastic Load Balancing instance separately, by using the -// Elastic Load Balancing console, API, or CLI. For more information, see [Elastic Load Balancing Developer Guide]. +// Elastic Load Balancing console, API, or CLI. For more information, see the [Elastic Load Balancing Developer Guide]. // // Required Permissions: To use this action, an IAM user must have a Manage // permissions level for the stack, or an attached policy that explicitly grants diff --git a/service/opsworks/api_op_CloneStack.go b/service/opsworks/api_op_CloneStack.go index 5d1b181f01e..6225bd09ac8 100644 --- a/service/opsworks/api_op_CloneStack.go +++ b/service/opsworks/api_op_CloneStack.go @@ -37,12 +37,12 @@ func (c *Client) CloneStack(ctx context.Context, params *CloneStackInput, optFns type CloneStackInput struct { - // The stack AWS Identity and Access Management (IAM) role, which allows AWS - // OpsWorks Stacks to work with AWS resources on your behalf. You must set this - // parameter to the Amazon Resource Name (ARN) for an existing IAM role. If you - // create a stack by using the AWS OpsWorks Stacks console, it creates the role for - // you. You can obtain an existing stack's IAM ARN programmatically by calling DescribePermissions. - // For more information about IAM ARNs, see [Using Identifiers]. + // The stack Identity and Access Management (IAM) role, which allows OpsWorks + // Stacks to work with Amazon Web Services resources on your behalf. You must set + // this parameter to the Amazon Resource Name (ARN) for an existing IAM role. If + // you create a stack by using the OpsWorkss Stacks console, it creates the role + // for you. You can obtain an existing stack's IAM ARN programmatically by calling DescribePermissions + // . For more information about IAM ARNs, see [Using Identifiers]. // // You must set this parameter to a valid service role ARN or the action will // fail; there is no default value. You can specify the source stack's service role @@ -58,16 +58,16 @@ type CloneStackInput struct { // This member is required. SourceStackId *string - // The default AWS OpsWorks Stacks agent version. You have the following options: + // The default OpsWorks Stacks agent version. You have the following options: // - // - Auto-update - Set this parameter to LATEST . AWS OpsWorks Stacks - // automatically installs new agent versions on the stack's instances as soon as - // they are available. + // - Auto-update - Set this parameter to LATEST . OpsWorks Stacks automatically + // installs new agent versions on the stack's instances as soon as they are + // available. // // - Fixed version - Set this parameter to your preferred agent version. To // update the agent version, you must edit the stack configuration and specify a - // new version. AWS OpsWorks Stacks then automatically installs that version on the - // stack's instances. + // new version. OpsWorks Stacks automatically installs that version on the stack's + // instances. // // The default setting is LATEST . To specify an agent version, you must use the // complete version number, not the abbreviated number shown on the console. For a @@ -135,12 +135,12 @@ type CloneStackInput struct { // The stack's operating system, which must be set to one of the following. // // - A supported Linux operating system: An Amazon Linux version, such as Amazon - // Linux 2018.03 , Amazon Linux 2017.09 , Amazon Linux 2017.03 , Amazon Linux - // 2016.09 , Amazon Linux 2016.03 , Amazon Linux 2015.09 , or Amazon Linux - // 2015.03 . + // Linux 2 , Amazon Linux 2018.03 , Amazon Linux 2017.09 , Amazon Linux 2017.03 , + // Amazon Linux 2016.09 , Amazon Linux 2016.03 , Amazon Linux 2015.09 , or + // Amazon Linux 2015.03 . // - // - A supported Ubuntu operating system, such as Ubuntu 16.04 LTS , Ubuntu - // 14.04 LTS , or Ubuntu 12.04 LTS . + // - A supported Ubuntu operating system, such as Ubuntu 18.04 LTS , Ubuntu + // 16.04 LTS , Ubuntu 14.04 LTS , or Ubuntu 12.04 LTS . // // - CentOS Linux 7 // @@ -154,14 +154,15 @@ type CloneStackInput struct { // create instances. For more information about how to use custom AMIs with // OpsWorks, see [Using Custom AMIs]. // - // The default option is the parent stack's operating system. For more information - // about supported operating systems, see [AWS OpsWorks Stacks Operating Systems]. + // The default option is the parent stack's operating system. Not all operating + // systems are supported with all versions of Chef. For more information about + // supported operating systems, see [OpsWorks Stacks Operating Systems]. // // You can specify a different Linux operating system for the cloned stack, but // you cannot change from Linux to Windows or Windows to Linux. // - // [AWS OpsWorks Stacks Operating Systems]: https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-os.html // [Using Custom AMIs]: https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-custom-ami.html + // [OpsWorks Stacks Operating Systems]: https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-os.html DefaultOs *string // The default root device type. This value is used by default for all instances @@ -172,8 +173,8 @@ type CloneStackInput struct { DefaultRootDeviceType types.RootDeviceType // A default Amazon EC2 key pair name. The default value is none. If you specify a - // key pair name, AWS OpsWorks installs the public key on the instance and you can - // use the private key with an SSH client to log in to the instance. For more + // key pair name, OpsWorks installs the public key on the instance and you can use + // the private key with an SSH client to log in to the instance. For more // information, see [Using SSH to Communicate with an Instance]and [Managing SSH Access]. You can override this setting by specifying a different // key pair, or no key pair, when you [create an instance]. // @@ -221,11 +222,11 @@ type CloneStackInput struct { // host name based on the current theme. HostnameTheme *string - // The cloned stack name. + // The cloned stack name. Stack names can be a maximum of 64 characters. Name *string - // The cloned stack AWS region, such as "ap-northeast-2". For more information - // about AWS regions, see [Regions and Endpoints]. + // The cloned stack Amazon Web Services Region, such as ap-northeast-2 . For more + // information about Amazon Web Services Regions, see [Regions and Endpoints]. // // [Regions and Endpoints]: https://docs.aws.amazon.com/general/latest/gr/rande.html Region *string @@ -233,25 +234,24 @@ type CloneStackInput struct { // Whether to use custom cookbooks. UseCustomCookbooks *bool - // Whether to associate the AWS OpsWorks Stacks built-in security groups with the + // Whether to associate the OpsWorks Stacks built-in security groups with the // stack's layers. // - // AWS OpsWorks Stacks provides a standard set of built-in security groups, one - // for each layer, which are associated with layers by default. With - // UseOpsworksSecurityGroups you can instead provide your own custom security - // groups. UseOpsworksSecurityGroups has the following settings: + // OpsWorks Stacks provides a standard set of security groups, one for each layer, + // which are associated with layers by default. With UseOpsworksSecurityGroups you + // can instead provide your own custom security groups. UseOpsworksSecurityGroups + // has the following settings: // - // - True - AWS OpsWorks Stacks automatically associates the appropriate - // built-in security group with each layer (default setting). You can associate - // additional security groups with a layer after you create it but you cannot - // delete the built-in security group. + // - True - OpsWorks Stacks automatically associates the appropriate built-in + // security group with each layer (default setting). You can associate additional + // security groups with a layer after you create it but you cannot delete the + // built-in security group. // - // - False - AWS OpsWorks Stacks does not associate built-in security groups - // with layers. You must create appropriate Amazon Elastic Compute Cloud (Amazon - // EC2) security groups and associate a security group with each layer that you - // create. However, you can still manually associate a built-in security group with - // a layer on creation; custom security groups are required only for those layers - // that need custom settings. + // - False - OpsWorks Stacks does not associate built-in security groups with + // layers. You must create appropriate Amazon EC2 security groups and associate a + // security group with each layer that you create. However, you can still manually + // associate a built-in security group with a layer on creation; custom security + // groups are required only for those layers that need custom settings. // // For more information, see [Create a New Stack]. // @@ -268,11 +268,10 @@ type CloneStackInput struct { // default VPC for the specified region. // // If the VPC ID corresponds to a default VPC and you have specified either the - // DefaultAvailabilityZone or the DefaultSubnetId parameter only, AWS OpsWorks - // Stacks infers the value of the other parameter. If you specify neither - // parameter, AWS OpsWorks Stacks sets these parameters to the first valid - // Availability Zone for the specified region and the corresponding default VPC - // subnet ID, respectively. + // DefaultAvailabilityZone or the DefaultSubnetId parameter only, OpsWorks Stacks + // infers the value of the other parameter. If you specify neither parameter, + // OpsWorks Stacks sets these parameters to the first valid Availability Zone for + // the specified region and the corresponding default VPC subnet ID, respectively. // // If you specify a nondefault VPC ID, note the following: // @@ -280,7 +279,7 @@ type CloneStackInput struct { // // - You must specify a value for DefaultSubnetId . // - // For more information about how to use AWS OpsWorks Stacks with a VPC, see [Running a Stack in a VPC]. For + // For more information about how to use OpsWorks Stacks with a VPC, see [Running a Stack in a VPC]. For // more information about default VPC and EC2 Classic, see [Supported Platforms]. // // [Supported Platforms]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-supported-platforms.html diff --git a/service/opsworks/api_op_CreateApp.go b/service/opsworks/api_op_CreateApp.go index 6a372d86c64..4c99dcf1b4f 100644 --- a/service/opsworks/api_op_CreateApp.go +++ b/service/opsworks/api_op_CreateApp.go @@ -47,7 +47,7 @@ type CreateAppInput struct { StackId *string // The app type. Each supported type is associated with a particular layer. For - // example, PHP applications are associated with a PHP layer. AWS OpsWorks Stacks + // example, PHP applications are associated with a PHP layer. OpsWorks Stacks // deploys an application to those instances that are members of the corresponding // layer. If your app isn't one of the standard types, or you prefer to implement // your own Deploy recipes, specify other . diff --git a/service/opsworks/api_op_CreateInstance.go b/service/opsworks/api_op_CreateInstance.go index 25e01be617d..7cba09b9496 100644 --- a/service/opsworks/api_op_CreateInstance.go +++ b/service/opsworks/api_op_CreateInstance.go @@ -57,14 +57,14 @@ type CreateInstanceInput struct { // This member is required. StackId *string - // The default AWS OpsWorks Stacks agent version. You have the following options: + // The default OpsWorks Stacks agent version. You have the following options: // // - INHERIT - Use the stack's default agent version setting. // // - version_number - Use the specified agent version. This value overrides the // stack's default setting. To update the agent version, edit the instance - // configuration and specify a new version. AWS OpsWorks Stacks then automatically - // installs that version on the instance. + // configuration and specify a new version. OpsWorks Stacks installs that version + // on the instance. // // The default setting is INHERIT . To specify an agent version, you must use the // complete version number, not the abbreviated number shown on the console. For a @@ -106,7 +106,12 @@ type CreateInstanceInput struct { // Whether to create an Amazon EBS-optimized instance. EbsOptimized *bool - // The instance host name. + // The instance host name. The following are character limits for instance host + // names. + // + // - Linux-based instances: 63 characters + // + // - Windows-based instances: 15 characters Hostname *string // Whether to install operating system and package updates when the instance @@ -122,12 +127,12 @@ type CreateInstanceInput struct { // The instance's operating system, which must be set to one of the following. // // - A supported Linux operating system: An Amazon Linux version, such as Amazon - // Linux 2018.03 , Amazon Linux 2017.09 , Amazon Linux 2017.03 , Amazon Linux - // 2016.09 , Amazon Linux 2016.03 , Amazon Linux 2015.09 , or Amazon Linux - // 2015.03 . + // Linux 2 , Amazon Linux 2018.03 , Amazon Linux 2017.09 , Amazon Linux 2017.03 , + // Amazon Linux 2016.09 , Amazon Linux 2016.03 , Amazon Linux 2015.09 , or + // Amazon Linux 2015.03 . // - // - A supported Ubuntu operating system, such as Ubuntu 16.04 LTS , Ubuntu - // 14.04 LTS , or Ubuntu 12.04 LTS . + // - A supported Ubuntu operating system, such as Ubuntu 18.04 LTS , Ubuntu + // 16.04 LTS , Ubuntu 14.04 LTS , or Ubuntu 12.04 LTS . // // - CentOS Linux 7 // @@ -140,18 +145,17 @@ type CreateInstanceInput struct { // // - A custom AMI: Custom . // - // For more information about the supported operating systems, see [AWS OpsWorks Stacks Operating Systems]. + // Not all operating systems are supported with all versions of Chef. For more + // information about the supported operating systems, see [OpsWorks Stacks Operating Systems]. // // The default option is the current Amazon Linux version. If you set this // parameter to Custom , you must use the CreateInstance action's AmiId parameter to specify the // custom AMI that you want to use. Block device mappings are not supported if the - // value is Custom . For more information about supported operating systems, see [Operating Systems] - // For more information about how to use custom AMIs with AWS OpsWorks Stacks, see [Using Custom AMIs] - // . + // value is Custom . For more information about how to use custom AMIs with + // OpsWorks Stacks, see [Using Custom AMIs]. // - // [AWS OpsWorks Stacks Operating Systems]: https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-os.html // [Using Custom AMIs]: https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-custom-ami.html - // [Operating Systems]: https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-os.html + // [OpsWorks Stacks Operating Systems]: https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-os.html Os *string // The instance root device type. For more information, see [Storage for the Root Device]. @@ -163,7 +167,7 @@ type CreateInstanceInput struct { SshKeyName *string // The ID of the instance's subnet. If the stack is running in a VPC, you can use - // this parameter to override the stack's default subnet ID value and direct AWS + // this parameter to override the stack's default subnet ID value and direct // OpsWorks Stacks to launch the instance in a different subnet. SubnetId *string diff --git a/service/opsworks/api_op_CreateLayer.go b/service/opsworks/api_op_CreateLayer.go index 3d6455fcba3..aca4a76a0a9 100644 --- a/service/opsworks/api_op_CreateLayer.go +++ b/service/opsworks/api_op_CreateLayer.go @@ -43,18 +43,19 @@ func (c *Client) CreateLayer(ctx context.Context, params *CreateLayerInput, optF type CreateLayerInput struct { - // The layer name, which is used by the console. + // The layer name, which is used by the console. Layer names can be a maximum of + // 32 characters. // // This member is required. Name *string // For custom layers only, use this parameter to specify the layer's short name, - // which is used internally by AWS OpsWorks Stacks and by Chef recipes. The short - // name is also used as the name for the directory where your app files are - // installed. It can have a maximum of 200 characters, which are limited to the - // alphanumeric characters, '-', '_', and '.'. + // which is used internally by OpsWorks Stacks and by Chef recipes. The short name + // is also used as the name for the directory where your app files are installed. + // It can have a maximum of 32 characters, which are limited to the alphanumeric + // characters, '-', '_', and '.'. // - // The built-in layers' short names are defined by AWS OpsWorks Stacks. For more + // Built-in layer short names are defined by OpsWorks Stacks. For more // information, see the [Layer Reference]. // // [Layer Reference]: https://docs.aws.amazon.com/opsworks/latest/userguide/layers.html @@ -104,7 +105,7 @@ type CreateLayerInput struct { // A JSON-formatted string containing custom stack configuration and deployment // attributes to be installed on the layer's instances. For more information, see [Using Custom JSON] - // . This feature is supported as of version 1.7.42 of the AWS CLI. + // . This feature is supported as of version 1.7.42 of the CLI. // // [Using Custom JSON]: https://docs.aws.amazon.com/opsworks/latest/userguide/workingcookbook-json-override.html CustomJson *string diff --git a/service/opsworks/api_op_CreateStack.go b/service/opsworks/api_op_CreateStack.go index 0cbcca43833..c3fcd5857c3 100644 --- a/service/opsworks/api_op_CreateStack.go +++ b/service/opsworks/api_op_CreateStack.go @@ -44,55 +44,53 @@ type CreateStackInput struct { // This member is required. DefaultInstanceProfileArn *string - // The stack name. + // The stack name. Stack names can be a maximum of 64 characters. // // This member is required. Name *string - // The stack's AWS region, such as ap-south-1 . For more information about Amazon - // regions, see [Regions and Endpoints]. - // - // In the AWS CLI, this API maps to the --stack-region parameter. If the - // --stack-region parameter and the AWS CLI common parameter --region are set to - // the same value, the stack uses a regional endpoint. If the --stack-region - // parameter is not set, but the AWS CLI --region parameter is, this also results - // in a stack with a regional endpoint. However, if the --region parameter is set - // to us-east-1 , and the --stack-region parameter is set to one of the following, - // then the stack uses a legacy or classic region: us-west-1, us-west-2, - // sa-east-1, eu-central-1, eu-west-1, ap-northeast-1, ap-southeast-1, - // ap-southeast-2 . In this case, the actual API endpoint of the stack is in - // us-east-1 . Only the preceding regions are supported as classic regions in the - // us-east-1 API endpoint. Because it is a best practice to choose the regional - // endpoint that is closest to where you manage AWS, we recommend that you use - // regional endpoints for new stacks. The AWS CLI common --region parameter always - // specifies a regional API endpoint; it cannot be used to specify a classic AWS - // OpsWorks Stacks region. + // The stack's Amazon Web Services Region, such as ap-south-1 . For more + // information about Amazon Web Services Regions, see [Regions and Endpoints]. + // + // In the CLI, this API maps to the --stack-region parameter. If the --stack-region + // parameter and the CLI common parameter --region are set to the same value, the + // stack uses a regional endpoint. If the --stack-region parameter is not set, but + // the CLI --region parameter is, this also results in a stack with a regional + // endpoint. However, if the --region parameter is set to us-east-1 , and the + // --stack-region parameter is set to one of the following, then the stack uses a + // legacy or classic region: us-west-1, us-west-2, sa-east-1, eu-central-1, + // eu-west-1, ap-northeast-1, ap-southeast-1, ap-southeast-2 . In this case, the + // actual API endpoint of the stack is in us-east-1 . Only the preceding regions + // are supported as classic regions in the us-east-1 API endpoint. Because it is a + // best practice to choose the regional endpoint that is closest to where you + // manage Amazon Web Services, we recommend that you use regional endpoints for new + // stacks. The CLI common --region parameter always specifies a regional API + // endpoint; it cannot be used to specify a classic OpsWorks Stacks region. // // [Regions and Endpoints]: https://docs.aws.amazon.com/general/latest/gr/rande.html // // This member is required. Region *string - // The stack's AWS Identity and Access Management (IAM) role, which allows AWS - // OpsWorks Stacks to work with AWS resources on your behalf. You must set this - // parameter to the Amazon Resource Name (ARN) for an existing IAM role. For more - // information about IAM ARNs, see [Using Identifiers]. + // The stack's IAM role, which allows OpsWorks Stacks to work with Amazon Web + // Services resources on your behalf. You must set this parameter to the Amazon + // Resource Name (ARN) for an existing IAM role. For more information about IAM + // ARNs, see [Using Identifiers]. // // [Using Identifiers]: https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html // // This member is required. ServiceRoleArn *string - // The default AWS OpsWorks Stacks agent version. You have the following options: + // The default OpsWorks Stacks agent version. You have the following options: // - // - Auto-update - Set this parameter to LATEST . AWS OpsWorks Stacks - // automatically installs new agent versions on the stack's instances as soon as - // they are available. + // - Auto-update - Set this parameter to LATEST . OpsWorks Stacks automatically + // installs new agent versions on the stack's instances as soon as they are + // available. // // - Fixed version - Set this parameter to your preferred agent version. To // update the agent version, you must edit the stack configuration and specify a - // new version. AWS OpsWorks Stacks then automatically installs that version on the - // stack's instances. + // new version. OpsWorks Stacks installs that version on the stack's instances. // // The default setting is the most recent release of the agent. To specify an // agent version, you must use the complete version number, not the abbreviated @@ -149,12 +147,12 @@ type CreateStackInput struct { // You can specify one of the following. // // - A supported Linux operating system: An Amazon Linux version, such as Amazon - // Linux 2018.03 , Amazon Linux 2017.09 , Amazon Linux 2017.03 , Amazon Linux - // 2016.09 , Amazon Linux 2016.03 , Amazon Linux 2015.09 , or Amazon Linux - // 2015.03 . + // Linux 2 , Amazon Linux 2018.03 , Amazon Linux 2017.09 , Amazon Linux 2017.03 , + // Amazon Linux 2016.09 , Amazon Linux 2016.03 , Amazon Linux 2015.09 , or + // Amazon Linux 2015.03 . // - // - A supported Ubuntu operating system, such as Ubuntu 16.04 LTS , Ubuntu - // 14.04 LTS , or Ubuntu 12.04 LTS . + // - A supported Ubuntu operating system, such as Ubuntu 18.04 LTS , Ubuntu + // 16.04 LTS , Ubuntu 14.04 LTS , or Ubuntu 12.04 LTS . // // - CentOS Linux 7 // @@ -168,11 +166,12 @@ type CreateStackInput struct { // - A custom AMI: Custom . You specify the custom AMI you want to use when you // create instances. For more information, see [Using Custom AMIs]. // - // The default option is the current Amazon Linux version. For more information - // about supported operating systems, see [AWS OpsWorks Stacks Operating Systems]. + // The default option is the current Amazon Linux version. Not all operating + // systems are supported with all versions of Chef. For more information about + // supported operating systems, see [OpsWorks Stacks Operating Systems]. // - // [AWS OpsWorks Stacks Operating Systems]: https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-os.html // [Using Custom AMIs]: https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-custom-ami.html + // [OpsWorks Stacks Operating Systems]: https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-os.html DefaultOs *string // The default root device type. This value is the default for all instances in @@ -183,8 +182,8 @@ type CreateStackInput struct { DefaultRootDeviceType types.RootDeviceType // A default Amazon EC2 key pair name. The default value is none. If you specify a - // key pair name, AWS OpsWorks installs the public key on the instance and you can - // use the private key with an SSH client to log in to the instance. For more + // key pair name, OpsWorks installs the public key on the instance and you can use + // the private key with an SSH client to log in to the instance. For more // information, see [Using SSH to Communicate with an Instance]and [Managing SSH Access]. You can override this setting by specifying a different // key pair, or no key pair, when you [create an instance]. // @@ -235,24 +234,24 @@ type CreateStackInput struct { // Whether the stack uses custom cookbooks. UseCustomCookbooks *bool - // Whether to associate the AWS OpsWorks Stacks built-in security groups with the + // Whether to associate the OpsWorks Stacks built-in security groups with the // stack's layers. // - // AWS OpsWorks Stacks provides a standard set of built-in security groups, one - // for each layer, which are associated with layers by default. With + // OpsWorks Stacks provides a standard set of built-in security groups, one for + // each layer, which are associated with layers by default. With // UseOpsworksSecurityGroups you can instead provide your own custom security // groups. UseOpsworksSecurityGroups has the following settings: // - // - True - AWS OpsWorks Stacks automatically associates the appropriate - // built-in security group with each layer (default setting). You can associate - // additional security groups with a layer after you create it, but you cannot - // delete the built-in security group. + // - True - OpsWorks Stacks automatically associates the appropriate built-in + // security group with each layer (default setting). You can associate additional + // security groups with a layer after you create it, but you cannot delete the + // built-in security group. // - // - False - AWS OpsWorks Stacks does not associate built-in security groups - // with layers. You must create appropriate EC2 security groups and associate a - // security group with each layer that you create. However, you can still manually - // associate a built-in security group with a layer on creation; custom security - // groups are required only for those layers that need custom settings. + // - False - OpsWorks Stacks does not associate built-in security groups with + // layers. You must create appropriate EC2 security groups and associate a security + // group with each layer that you create. However, you can still manually associate + // a built-in security group with a layer on creation; custom security groups are + // required only for those layers that need custom settings. // // For more information, see [Create a New Stack]. // @@ -269,11 +268,10 @@ type CreateStackInput struct { // default VPC for the specified region. // // If the VPC ID corresponds to a default VPC and you have specified either the - // DefaultAvailabilityZone or the DefaultSubnetId parameter only, AWS OpsWorks - // Stacks infers the value of the other parameter. If you specify neither - // parameter, AWS OpsWorks Stacks sets these parameters to the first valid - // Availability Zone for the specified region and the corresponding default VPC - // subnet ID, respectively. + // DefaultAvailabilityZone or the DefaultSubnetId parameter only, OpsWorks Stacks + // infers the value of the other parameter. If you specify neither parameter, + // OpsWorks Stacks sets these parameters to the first valid Availability Zone for + // the specified region and the corresponding default VPC subnet ID, respectively. // // If you specify a nondefault VPC ID, note the following: // @@ -281,7 +279,7 @@ type CreateStackInput struct { // // - You must specify a value for DefaultSubnetId . // - // For more information about how to use AWS OpsWorks Stacks with a VPC, see [Running a Stack in a VPC]. For + // For more information about how to use OpsWorks Stacks with a VPC, see [Running a Stack in a VPC]. For // more information about default VPC and EC2-Classic, see [Supported Platforms]. // // [Supported Platforms]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-supported-platforms.html diff --git a/service/opsworks/api_op_CreateUserProfile.go b/service/opsworks/api_op_CreateUserProfile.go index 4792d294cfe..51c27f64c70 100644 --- a/service/opsworks/api_op_CreateUserProfile.go +++ b/service/opsworks/api_op_CreateUserProfile.go @@ -49,10 +49,9 @@ type CreateUserProfileInput struct { SshPublicKey *string // The user's SSH user name. The allowable characters are [a-z], [A-Z], [0-9], - // '-', and '_'. If the specified name includes other punctuation marks, AWS - // OpsWorks Stacks removes them. For example, my.name will be changed to myname . - // If you do not specify an SSH user name, AWS OpsWorks Stacks generates one from - // the IAM user name. + // '-', and '_'. If the specified name includes other punctuation marks, OpsWorks + // Stacks removes them. For example, my.name is changed to myname . If you do not + // specify an SSH user name, OpsWorks Stacks generates one from the IAM user name. SshUsername *string noSmithyDocumentSerde diff --git a/service/opsworks/api_op_DeregisterElasticIp.go b/service/opsworks/api_op_DeregisterElasticIp.go index cf73419936e..80c586741d1 100644 --- a/service/opsworks/api_op_DeregisterElasticIp.go +++ b/service/opsworks/api_op_DeregisterElasticIp.go @@ -10,8 +10,8 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Deregisters a specified Elastic IP address. The address can then be registered -// by another stack. For more information, see [Resource Management]. +// Deregisters a specified Elastic IP address. The address can be registered by +// another stack after it is deregistered. For more information, see [Resource Management]. // // Required Permissions: To use this action, an IAM user must have a Manage // permissions level for the stack, or an attached policy that explicitly grants diff --git a/service/opsworks/api_op_DeregisterInstance.go b/service/opsworks/api_op_DeregisterInstance.go index 6a5c41ea5aa..510b16596fb 100644 --- a/service/opsworks/api_op_DeregisterInstance.go +++ b/service/opsworks/api_op_DeregisterInstance.go @@ -10,9 +10,9 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Deregister a registered Amazon EC2 or on-premises instance. This action removes -// the instance from the stack and returns it to your control. This action cannot -// be used with instances that were created with AWS OpsWorks Stacks. +// Deregister an instance from OpsWorks Stacks. The instance can be a registered +// instance (Amazon EC2 or on-premises) or an instance created with OpsWorks. This +// action removes the instance from the stack and returns it to your control. // // Required Permissions: To use this action, an IAM user must have a Manage // permissions level for the stack or an attached policy that explicitly grants diff --git a/service/opsworks/api_op_DeregisterVolume.go b/service/opsworks/api_op_DeregisterVolume.go index 425dc19b980..8f2458466b8 100644 --- a/service/opsworks/api_op_DeregisterVolume.go +++ b/service/opsworks/api_op_DeregisterVolume.go @@ -36,9 +36,9 @@ func (c *Client) DeregisterVolume(ctx context.Context, params *DeregisterVolumeI type DeregisterVolumeInput struct { - // The AWS OpsWorks Stacks volume ID, which is the GUID that AWS OpsWorks Stacks - // assigned to the instance when you registered the volume with the stack, not the - // Amazon EC2 volume ID. + // The OpsWorks Stacks volume ID, which is the GUID that OpsWorks Stacks assigned + // to the instance when you registered the volume with the stack, not the Amazon + // EC2 volume ID. // // This member is required. VolumeId *string diff --git a/service/opsworks/api_op_DescribeAgentVersions.go b/service/opsworks/api_op_DescribeAgentVersions.go index ad9238a01c1..4c89d17d4fd 100644 --- a/service/opsworks/api_op_DescribeAgentVersions.go +++ b/service/opsworks/api_op_DescribeAgentVersions.go @@ -11,7 +11,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Describes the available AWS OpsWorks Stacks agent versions. You must specify a +// Describes the available OpsWorks Stacks agent versions. You must specify a // stack ID or a configuration manager. DescribeAgentVersions returns a list of // available agent versions for the specified stack or configuration manager. func (c *Client) DescribeAgentVersions(ctx context.Context, params *DescribeAgentVersionsInput, optFns ...func(*Options)) (*DescribeAgentVersionsOutput, error) { diff --git a/service/opsworks/api_op_DescribeEcsClusters.go b/service/opsworks/api_op_DescribeEcsClusters.go index 6c5a8898feb..0e307a9bc1c 100644 --- a/service/opsworks/api_op_DescribeEcsClusters.go +++ b/service/opsworks/api_op_DescribeEcsClusters.go @@ -13,7 +13,7 @@ import ( // Describes Amazon ECS clusters that are registered with a stack. If you specify // only a stack ID, you can use the MaxResults and NextToken parameters to -// paginate the response. However, AWS OpsWorks Stacks currently supports only one +// paginate the response. However, OpsWorks Stacks currently supports only one // cluster per layer, so the result set has a maximum of one element. // // Required Permissions: To use this action, an IAM user must have a Show, Deploy, diff --git a/service/opsworks/api_op_DescribeOperatingSystems.go b/service/opsworks/api_op_DescribeOperatingSystems.go index 719c0d1d910..28c9c68479f 100644 --- a/service/opsworks/api_op_DescribeOperatingSystems.go +++ b/service/opsworks/api_op_DescribeOperatingSystems.go @@ -11,7 +11,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Describes the operating systems that are supported by AWS OpsWorks Stacks. +// Describes the operating systems that are supported by OpsWorks Stacks. func (c *Client) DescribeOperatingSystems(ctx context.Context, params *DescribeOperatingSystemsInput, optFns ...func(*Options)) (*DescribeOperatingSystemsOutput, error) { if params == nil { params = &DescribeOperatingSystemsInput{} diff --git a/service/opsworks/api_op_DescribeServiceErrors.go b/service/opsworks/api_op_DescribeServiceErrors.go index 076acc1e550..d2d6001a560 100644 --- a/service/opsworks/api_op_DescribeServiceErrors.go +++ b/service/opsworks/api_op_DescribeServiceErrors.go @@ -11,7 +11,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Describes AWS OpsWorks Stacks service errors. +// Describes OpsWorks Stacks service errors. // // Required Permissions: To use this action, an IAM user must have a Show, Deploy, // or Manage permissions level for the stack, or an attached policy that explicitly diff --git a/service/opsworks/api_op_DescribeStackProvisioningParameters.go b/service/opsworks/api_op_DescribeStackProvisioningParameters.go index e173d232401..0965bcf09b1 100644 --- a/service/opsworks/api_op_DescribeStackProvisioningParameters.go +++ b/service/opsworks/api_op_DescribeStackProvisioningParameters.go @@ -45,7 +45,7 @@ type DescribeStackProvisioningParametersInput struct { // Contains the response to a DescribeStackProvisioningParameters request. type DescribeStackProvisioningParametersOutput struct { - // The AWS OpsWorks Stacks agent installer's URL. + // The OpsWorks Stacks agent installer's URL. AgentInstallerUrl *string // An embedded object that contains the provisioning parameters. diff --git a/service/opsworks/api_op_DescribeStacks.go b/service/opsworks/api_op_DescribeStacks.go index 983b7d0dc23..45a2943bb2f 100644 --- a/service/opsworks/api_op_DescribeStacks.go +++ b/service/opsworks/api_op_DescribeStacks.go @@ -36,7 +36,11 @@ func (c *Client) DescribeStacks(ctx context.Context, params *DescribeStacksInput type DescribeStacksInput struct { // An array of stack IDs that specify the stacks to be described. If you omit this - // parameter, DescribeStacks returns a description of every stack. + // parameter, and have permissions to get information about all stacks, + // DescribeStacks returns a description of every stack. If the IAM policy that is + // attached to an IAM user limits the DescribeStacks action to specific stack + // ARNs, this parameter is required, and the user must specify a stack ARN that is + // allowed by the policy. Otherwise, DescribeStacks returns an AccessDenied error. StackIds []string noSmithyDocumentSerde diff --git a/service/opsworks/api_op_GrantAccess.go b/service/opsworks/api_op_GrantAccess.go index 508dc231a81..e0f52c52f63 100644 --- a/service/opsworks/api_op_GrantAccess.go +++ b/service/opsworks/api_op_GrantAccess.go @@ -31,15 +31,15 @@ func (c *Client) GrantAccess(ctx context.Context, params *GrantAccessInput, optF type GrantAccessInput struct { - // The instance's AWS OpsWorks Stacks ID. + // The instance's OpsWorks Stacks ID. // // This member is required. InstanceId *string // The length of time (in minutes) that the grant is valid. When the grant expires // at the end of this period, the user will no longer be able to use the - // credentials to log in. If the user is logged in at the time, he or she - // automatically will be logged out. + // credentials to log in. If the user is logged in at the time, they are logged + // out. ValidForInMinutes *int32 noSmithyDocumentSerde diff --git a/service/opsworks/api_op_RegisterInstance.go b/service/opsworks/api_op_RegisterInstance.go index 02d700de825..27d0a420ff3 100644 --- a/service/opsworks/api_op_RegisterInstance.go +++ b/service/opsworks/api_op_RegisterInstance.go @@ -11,15 +11,14 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Registers instances that were created outside of AWS OpsWorks Stacks with a +// Registers instances that were created outside of OpsWorks Stacks with a // specified stack. // // We do not recommend using this action to register instances. The complete -// registration operation includes two tasks: installing the AWS OpsWorks Stacks -// agent on the instance, and registering the instance with the stack. -// RegisterInstance handles only the second step. You should instead use the AWS -// CLI register command, which performs the entire registration operation. For -// more information, see [Registering an Instance with an AWS OpsWorks Stacks Stack]. +// registration operation includes two tasks: installing the OpsWorks Stacks agent +// on the instance, and registering the instance with the stack. RegisterInstance +// handles only the second step. You should instead use the CLI register command, +// which performs the entire registration operation. For more information, see [Registering an Instance with an OpsWorks Stacks Stack]. // // Registered instances have the same requirements as instances that are created // by using the CreateInstanceAPI. For example, registered instances must be running a supported @@ -32,7 +31,7 @@ import ( // permissions. For more information on user permissions, see [Managing User Permissions]. // // [Preparing the Instance]: https://docs.aws.amazon.com/opsworks/latest/userguide/registered-instances-register-registering-preparer.html -// [Registering an Instance with an AWS OpsWorks Stacks Stack]: https://docs.aws.amazon.com/opsworks/latest/userguide/registered-instances-register.html +// [Registering an Instance with an OpsWorks Stacks Stack]: https://docs.aws.amazon.com/opsworks/latest/userguide/registered-instances-register.html // [Managing User Permissions]: https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html func (c *Client) RegisterInstance(ctx context.Context, params *RegisterInstanceInput, optFns ...func(*Options)) (*RegisterInstanceOutput, error) { if params == nil { @@ -56,7 +55,12 @@ type RegisterInstanceInput struct { // This member is required. StackId *string - // The instance's hostname. + // The instance's host name. The following are character limits for instance host + // names. + // + // - Linux-based instances: 63 characters + // + // - Windows-based instances: 15 characters Hostname *string // An InstanceIdentity object that contains the instance's identity. @@ -81,7 +85,7 @@ type RegisterInstanceInput struct { // Contains the response to a RegisterInstanceResult request. type RegisterInstanceOutput struct { - // The registered instance's AWS OpsWorks Stacks ID. + // The registered instance's OpsWorks Stacks ID. InstanceId *string // Metadata pertaining to the operation's result. diff --git a/service/opsworks/api_op_SetLoadBasedAutoScaling.go b/service/opsworks/api_op_SetLoadBasedAutoScaling.go index d77d8fe76d8..02465097292 100644 --- a/service/opsworks/api_op_SetLoadBasedAutoScaling.go +++ b/service/opsworks/api_op_SetLoadBasedAutoScaling.go @@ -48,7 +48,7 @@ type SetLoadBasedAutoScalingInput struct { LayerId *string // An AutoScalingThresholds object with the downscaling threshold configuration. - // If the load falls below these thresholds for a specified amount of time, AWS + // If the load falls below these thresholds for a specified amount of time, // OpsWorks Stacks stops a specified number of instances. DownScaling *types.AutoScalingThresholds @@ -56,7 +56,7 @@ type SetLoadBasedAutoScalingInput struct { Enable *bool // An AutoScalingThresholds object with the upscaling threshold configuration. If - // the load exceeds these thresholds for a specified amount of time, AWS OpsWorks + // the load exceeds these thresholds for a specified amount of time, OpsWorks // Stacks starts a specified number of instances. UpScaling *types.AutoScalingThresholds diff --git a/service/opsworks/api_op_StopInstance.go b/service/opsworks/api_op_StopInstance.go index c6db7169a2b..8bda36416f1 100644 --- a/service/opsworks/api_op_StopInstance.go +++ b/service/opsworks/api_op_StopInstance.go @@ -44,9 +44,9 @@ type StopInstanceInput struct { // Specifies whether to force an instance to stop. If the instance's root device // type is ebs , or EBS-backed, adding the Force parameter to the StopInstances - // API call disassociates the AWS OpsWorks Stacks instance from EC2, and forces + // API call disassociates the OpsWorks Stacks instance from EC2, and forces // deletion of only the OpsWorks Stacks instance. You must also delete the - // formerly-associated instance in EC2 after troubleshooting and replacing the AWS + // formerly-associated instance in EC2 after troubleshooting and replacing the // OpsWorks Stacks instance with a new one. Force *bool diff --git a/service/opsworks/api_op_TagResource.go b/service/opsworks/api_op_TagResource.go index cf4f18735b2..53cdf5df565 100644 --- a/service/opsworks/api_op_TagResource.go +++ b/service/opsworks/api_op_TagResource.go @@ -10,9 +10,8 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Apply cost-allocation tags to a specified stack or layer in AWS OpsWorks -// Stacks. For more information about how tagging works, see [Tags]in the AWS OpsWorks -// User Guide. +// Apply cost-allocation tags to a specified stack or layer in OpsWorks Stacks. +// For more information about how tagging works, see [Tags]in the OpsWorks User Guide. // // [Tags]: https://docs.aws.amazon.com/opsworks/latest/userguide/tagging.html func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error) { diff --git a/service/opsworks/api_op_UnassignInstance.go b/service/opsworks/api_op_UnassignInstance.go index 5cb7d63f358..3acb627bd3b 100644 --- a/service/opsworks/api_op_UnassignInstance.go +++ b/service/opsworks/api_op_UnassignInstance.go @@ -13,7 +13,7 @@ import ( // Unassigns a registered instance from all layers that are using the instance. // The instance remains in the stack as an unassigned instance, and can be assigned // to another layer as needed. You cannot use this action with instances that were -// created with AWS OpsWorks Stacks. +// created with OpsWorks Stacks. // // Required Permissions: To use this action, an IAM user must have a Manage // permissions level for the stack or an attached policy that explicitly grants diff --git a/service/opsworks/api_op_UpdateElasticIp.go b/service/opsworks/api_op_UpdateElasticIp.go index f9238c52ce0..63d917bf18e 100644 --- a/service/opsworks/api_op_UpdateElasticIp.go +++ b/service/opsworks/api_op_UpdateElasticIp.go @@ -40,7 +40,7 @@ type UpdateElasticIpInput struct { // This member is required. ElasticIp *string - // The new name. + // The new name, which can be a maximum of 32 characters. Name *string noSmithyDocumentSerde diff --git a/service/opsworks/api_op_UpdateInstance.go b/service/opsworks/api_op_UpdateInstance.go index 60c11c83d9a..a5f9b3a03db 100644 --- a/service/opsworks/api_op_UpdateInstance.go +++ b/service/opsworks/api_op_UpdateInstance.go @@ -40,14 +40,14 @@ type UpdateInstanceInput struct { // This member is required. InstanceId *string - // The default AWS OpsWorks Stacks agent version. You have the following options: + // The default OpsWorks Stacks agent version. You have the following options: // // - INHERIT - Use the stack's default agent version setting. // // - version_number - Use the specified agent version. This value overrides the // stack's default setting. To update the agent version, you must edit the instance - // configuration and specify a new version. AWS OpsWorks Stacks then automatically - // installs that version on the instance. + // configuration and specify a new version. OpsWorks Stacks installs that version + // on the instance. // // The default setting is INHERIT . To specify an agent version, you must use the // complete version number, not the abbreviated number shown on the console. For a @@ -76,7 +76,12 @@ type UpdateInstanceInput struct { // This property cannot be updated. EbsOptimized *bool - // The instance host name. + // The instance host name. The following are character limits for instance host + // names. + // + // - Linux-based instances: 63 characters + // + // - Windows-based instances: 15 characters Hostname *string // Whether to install operating system and package updates when the instance @@ -105,12 +110,12 @@ type UpdateInstanceInput struct { // cannot update an instance that is using a custom AMI. // // - A supported Linux operating system: An Amazon Linux version, such as Amazon - // Linux 2018.03 , Amazon Linux 2017.09 , Amazon Linux 2017.03 , Amazon Linux - // 2016.09 , Amazon Linux 2016.03 , Amazon Linux 2015.09 , or Amazon Linux - // 2015.03 . + // Linux 2 , Amazon Linux 2018.03 , Amazon Linux 2017.09 , Amazon Linux 2017.03 , + // Amazon Linux 2016.09 , Amazon Linux 2016.03 , Amazon Linux 2015.09 , or + // Amazon Linux 2015.03 . // - // - A supported Ubuntu operating system, such as Ubuntu 16.04 LTS , Ubuntu - // 14.04 LTS , or Ubuntu 12.04 LTS . + // - A supported Ubuntu operating system, such as Ubuntu 18.04 LTS , Ubuntu + // 16.04 LTS , Ubuntu 14.04 LTS , or Ubuntu 12.04 LTS . // // - CentOS Linux 7 // @@ -121,19 +126,19 @@ type UpdateInstanceInput struct { // Microsoft Windows Server 2012 R2 with SQL Server Standard , or Microsoft // Windows Server 2012 R2 with SQL Server Web . // - // For more information about supported operating systems, see [AWS OpsWorks Stacks Operating Systems]. + // Not all operating systems are supported with all versions of Chef. For more + // information about supported operating systems, see [OpsWorks Stacks Operating Systems]. // // The default option is the current Amazon Linux version. If you set this // parameter to Custom , you must use the AmiId parameter to specify the custom AMI - // that you want to use. For more information about supported operating systems, - // see [Operating Systems]. For more information about how to use custom AMIs with OpsWorks, see [Using Custom AMIs]. + // that you want to use. For more information about how to use custom AMIs with + // OpsWorks, see [Using Custom AMIs]. // // You can specify a different Linux operating system for the updated stack, but // you cannot change from Linux to Windows or Windows to Linux. // - // [AWS OpsWorks Stacks Operating Systems]: https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-os.html // [Using Custom AMIs]: https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-custom-ami.html - // [Operating Systems]: https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-os.html + // [OpsWorks Stacks Operating Systems]: https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-os.html Os *string // The instance's Amazon EC2 key name. diff --git a/service/opsworks/api_op_UpdateLayer.go b/service/opsworks/api_op_UpdateLayer.go index 3d0a25e507a..166b9545187 100644 --- a/service/opsworks/api_op_UpdateLayer.go +++ b/service/opsworks/api_op_UpdateLayer.go @@ -95,22 +95,23 @@ type UpdateLayerInput struct { // LifecycleEventConfiguration *types.LifecycleEventConfiguration - // The layer name, which is used by the console. + // The layer name, which is used by the console. Layer names can be a maximum of + // 32 characters. Name *string // An array of Package objects that describe the layer's packages. Packages []string // For custom layers only, use this parameter to specify the layer's short name, - // which is used internally by AWS OpsWorks Stacks and by Chef. The short name is - // also used as the name for the directory where your app files are installed. It - // can have a maximum of 200 characters and must be in the following format: + // which is used internally by OpsWorks Stacks and by Chef. The short name is also + // used as the name for the directory where your app files are installed. It can + // have a maximum of 32 characters and must be in the following format: // /\A[a-z0-9\-\_\.]+\Z/. // - // The built-in layers' short names are defined by AWS OpsWorks Stacks. For more - // information, see the [Layer Reference] + // Built-in layer short names are defined by OpsWorks Stacks. For more + // information, see the [Layer reference]in the OpsWorks User Guide. // - // [Layer Reference]: https://docs.aws.amazon.com/opsworks/latest/userguide/layers.html + // [Layer reference]: https://docs.aws.amazon.com/opsworks/latest/userguide/layers.html Shortname *string // Whether to use Amazon EBS-optimized instances. diff --git a/service/opsworks/api_op_UpdateStack.go b/service/opsworks/api_op_UpdateStack.go index 23aa42b38de..a51e70c42f2 100644 --- a/service/opsworks/api_op_UpdateStack.go +++ b/service/opsworks/api_op_UpdateStack.go @@ -40,16 +40,15 @@ type UpdateStackInput struct { // This member is required. StackId *string - // The default AWS OpsWorks Stacks agent version. You have the following options: + // The default OpsWorks Stacks agent version. You have the following options: // - // - Auto-update - Set this parameter to LATEST . AWS OpsWorks Stacks - // automatically installs new agent versions on the stack's instances as soon as - // they are available. + // - Auto-update - Set this parameter to LATEST . OpsWorks Stacks automatically + // installs new agent versions on the stack's instances as soon as they are + // available. // // - Fixed version - Set this parameter to your preferred agent version. To // update the agent version, you must edit the stack configuration and specify a - // new version. AWS OpsWorks Stacks then automatically installs that version on the - // stack's instances. + // new version. OpsWorks Stacks installs that version on the stack's instances. // // The default setting is LATEST . To specify an agent version, you must use the // complete version number, not the abbreviated number shown on the console. For a @@ -109,12 +108,12 @@ type UpdateStackInput struct { // The stack's operating system, which must be set to one of the following: // // - A supported Linux operating system: An Amazon Linux version, such as Amazon - // Linux 2018.03 , Amazon Linux 2017.09 , Amazon Linux 2017.03 , Amazon Linux - // 2016.09 , Amazon Linux 2016.03 , Amazon Linux 2015.09 , or Amazon Linux - // 2015.03 . + // Linux 2 , Amazon Linux 2018.03 , Amazon Linux 2017.09 , Amazon Linux 2017.03 , + // Amazon Linux 2016.09 , Amazon Linux 2016.03 , Amazon Linux 2015.09 , or + // Amazon Linux 2015.03 . // - // - A supported Ubuntu operating system, such as Ubuntu 16.04 LTS , Ubuntu - // 14.04 LTS , or Ubuntu 12.04 LTS . + // - A supported Ubuntu operating system, such as Ubuntu 18.04 LTS , Ubuntu + // 16.04 LTS , Ubuntu 14.04 LTS , or Ubuntu 12.04 LTS . // // - CentOS Linux 7 // @@ -129,11 +128,12 @@ type UpdateStackInput struct { // create instances. For more information about how to use custom AMIs with // OpsWorks, see [Using Custom AMIs]. // - // The default option is the stack's current operating system. For more - // information about supported operating systems, see [AWS OpsWorks Stacks Operating Systems]. + // The default option is the stack's current operating system. Not all operating + // systems are supported with all versions of Chef. For more information about + // supported operating systems, see [OpsWorks Stacks Operating Systems]. // - // [AWS OpsWorks Stacks Operating Systems]: https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-os.html // [Using Custom AMIs]: https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-custom-ami.html + // [OpsWorks Stacks Operating Systems]: https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-os.html DefaultOs *string // The default root device type. This value is used by default for all instances @@ -144,10 +144,10 @@ type UpdateStackInput struct { DefaultRootDeviceType types.RootDeviceType // A default Amazon EC2 key-pair name. The default value is none . If you specify a - // key-pair name, AWS OpsWorks Stacks installs the public key on the instance and - // you can use the private key with an SSH client to log in to the instance. For - // more information, see [Using SSH to Communicate with an Instance]and [Managing SSH Access]. You can override this setting by specifying a - // different key pair, or no key pair, when you [create an instance]. + // key-pair name, OpsWorks Stacks installs the public key on the instance and you + // can use the private key with an SSH client to log in to the instance. For more + // information, see [Using SSH to Communicate with an Instance]and [Managing SSH Access]. You can override this setting by specifying a different + // key pair, or no key pair, when you [create an instance]. // // [Using SSH to Communicate with an Instance]: https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-ssh.html // [Managing SSH Access]: https://docs.aws.amazon.com/opsworks/latest/userguide/security-ssh-access.html @@ -193,7 +193,7 @@ type UpdateStackInput struct { // host name based on the current theme. HostnameTheme *string - // The stack's new name. + // The stack's new name. Stack names can be a maximum of 64 characters. Name *string // Do not use this parameter. You cannot update a stack's service role. @@ -202,25 +202,25 @@ type UpdateStackInput struct { // Whether the stack uses custom cookbooks. UseCustomCookbooks *bool - // Whether to associate the AWS OpsWorks Stacks built-in security groups with the + // Whether to associate the OpsWorks Stacks built-in security groups with the // stack's layers. // - // AWS OpsWorks Stacks provides a standard set of built-in security groups, one - // for each layer, which are associated with layers by default. + // OpsWorks Stacks provides a standard set of built-in security groups, one for + // each layer, which are associated with layers by default. // UseOpsworksSecurityGroups allows you to provide your own custom security groups // instead of using the built-in groups. UseOpsworksSecurityGroups has the // following settings: // - // - True - AWS OpsWorks Stacks automatically associates the appropriate - // built-in security group with each layer (default setting). You can associate - // additional security groups with a layer after you create it, but you cannot - // delete the built-in security group. + // - True - OpsWorks Stacks automatically associates the appropriate built-in + // security group with each layer (default setting). You can associate additional + // security groups with a layer after you create it, but you cannot delete the + // built-in security group. // - // - False - AWS OpsWorks Stacks does not associate built-in security groups - // with layers. You must create appropriate EC2 security groups and associate a - // security group with each layer that you create. However, you can still manually - // associate a built-in security group with a layer on. Custom security groups are - // required only for those layers that need custom settings. + // - False - OpsWorks Stacks does not associate built-in security groups with + // layers. You must create appropriate EC2 security groups and associate a security + // group with each layer that you create. However, you can still manually associate + // a built-in security group with a layer on. Custom security groups are required + // only for those layers that need custom settings. // // For more information, see [Create a New Stack]. // diff --git a/service/opsworks/api_op_UpdateUserProfile.go b/service/opsworks/api_op_UpdateUserProfile.go index 8a6f2ce2679..8a087b9959a 100644 --- a/service/opsworks/api_op_UpdateUserProfile.go +++ b/service/opsworks/api_op_UpdateUserProfile.go @@ -49,10 +49,10 @@ type UpdateUserProfileInput struct { SshPublicKey *string // The user's SSH user name. The allowable characters are [a-z], [A-Z], [0-9], - // '-', and '_'. If the specified name includes other punctuation marks, AWS - // OpsWorks Stacks removes them. For example, my.name will be changed to myname . - // If you do not specify an SSH user name, AWS OpsWorks Stacks generates one from - // the IAM user name. + // '-', and '_'. If the specified name includes other punctuation marks, OpsWorks + // Stacks removes them. For example, my.name will be changed to myname . If you do + // not specify an SSH user name, OpsWorks Stacks generates one from the IAM user + // name. SshUsername *string noSmithyDocumentSerde diff --git a/service/opsworks/api_op_UpdateVolume.go b/service/opsworks/api_op_UpdateVolume.go index 6cca6bd85d4..54408404aa1 100644 --- a/service/opsworks/api_op_UpdateVolume.go +++ b/service/opsworks/api_op_UpdateVolume.go @@ -43,7 +43,7 @@ type UpdateVolumeInput struct { // The new mount point. MountPoint *string - // The new name. + // The new name. Volume names can be a maximum of 128 characters. Name *string noSmithyDocumentSerde diff --git a/service/opsworks/deserializers.go b/service/opsworks/deserializers.go index 578ae7a9e35..1c0d219344a 100644 --- a/service/opsworks/deserializers.go +++ b/service/opsworks/deserializers.go @@ -13,13 +13,23 @@ import ( 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" "io/ioutil" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpAssignInstance struct { } diff --git a/service/opsworks/doc.go b/service/opsworks/doc.go index 53a7ee7561a..d2daa4c6dd5 100644 --- a/service/opsworks/doc.go +++ b/service/opsworks/doc.go @@ -3,41 +3,41 @@ // Package opsworks provides the API client, operations, and parameter types for // AWS OpsWorks. // -// # AWS OpsWorks +// # OpsWorks // -// Welcome to the AWS OpsWorks Stacks API Reference. This guide provides -// descriptions, syntax, and usage examples for AWS OpsWorks Stacks actions and -// data types, including common parameters and error codes. +// Welcome to the OpsWorks Stacks API Reference. This guide provides descriptions, +// syntax, and usage examples for OpsWorks Stacks actions and data types, including +// common parameters and error codes. // -// AWS OpsWorks Stacks is an application management service that provides an -// integrated experience for overseeing the complete application lifecycle. For -// information about this product, go to the [AWS OpsWorks]details page. +// OpsWorks Stacks is an application management service that provides an +// integrated experience for managing the complete application lifecycle. For +// information about OpsWorks, see the [OpsWorks]information page. // // # SDKs and CLI // -// The most common way to use the AWS OpsWorks Stacks API is by using the AWS -// Command Line Interface (CLI) or by using one of the AWS SDKs to implement -// applications in your preferred language. For more information, see: +// Use the OpsWorks Stacks API by using the Command Line Interface (CLI) or by +// using one of the Amazon Web Services SDKs to implement applications in your +// preferred language. For more information, see: // -// [AWS CLI] +// [CLI] // -// [AWS SDK for Java] +// [SDK for Java] // -// [AWS SDK for .NET] +// [SDK for .NET] // -// [AWS SDK for PHP 2] +// [SDK for PHP] // -// [AWS SDK for Ruby] +// [SDK for Ruby] // -// [AWS SDK for Node.js] +// [Amazon Web Services SDK for Node.js] // -// [AWS SDK for Python(Boto)] +// [SDK for Python (Boto)] // // # Endpoints // -// AWS OpsWorks Stacks supports the following endpoints, all HTTPS. You must -// connect to one of the following endpoints. Stacks can only be accessed or -// managed within the endpoint in which they are created. +// OpsWorks Stacks supports the following endpoints, all HTTPS. You must connect +// to one of the following endpoints. Stacks can only be accessed or managed within +// the endpoint in which they are created. // // - opsworks.us-east-1.amazonaws.com // @@ -47,8 +47,8 @@ // // - opsworks.us-west-2.amazonaws.com // -// - opsworks.ca-central-1.amazonaws.com (API only; not available in the AWS -// console) +// - opsworks.ca-central-1.amazonaws.com (API only; not available in the Amazon +// Web Services Management Console) // // - opsworks.eu-west-1.amazonaws.com // @@ -79,13 +79,13 @@ // You can specify Chef 12, 11.10, or 11.4 for your Linux stack. We recommend // migrating your existing Linux stacks to Chef 12 as soon as possible. // -// [AWS OpsWorks]: http://aws.amazon.com/opsworks/ -// [AWS SDK for PHP 2]: https://docs.aws.amazon.com/aws-sdk-php-2/latest/class-Aws.OpsWorks.OpsWorksClient.html -// [AWS SDK for Ruby]: http://docs.aws.amazon.com/sdkforruby/api/ -// [AWS SDK for Java]: https://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/services/opsworks/AWSOpsWorksClient.html -// [AWS SDK for .NET]: https://docs.aws.amazon.com/sdkfornet/latest/apidocs/html/N_Amazon_OpsWorks.htm -// [AWS SDK for Node.js]: http://aws.amazon.com/documentation/sdkforjavascript/ -// [AWS CLI]: https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-welcome.html -// [AWS SDK for Python(Boto)]: http://docs.pythonboto.org/en/latest/ref/opsworks.html +// [CLI]: https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-welcome.html +// [OpsWorks]: http://aws.amazon.com/opsworks/ +// [SDK for Python (Boto)]: http://docs.pythonboto.org/en/latest/ref/opsworks.html +// [SDK for Java]: https://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/services/opsworks/AWSOpsWorksClient.html +// [SDK for .NET]: https://docs.aws.amazon.com/sdkfornet/v3/apidocs/items/OpsWorks/NOpsWorks.html +// [Amazon Web Services SDK for Node.js]: http://aws.amazon.com/documentation/sdkforjavascript/ +// [SDK for PHP]: https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-Aws.OpsWorks.OpsWorksClient.html +// [SDK for Ruby]: http://docs.aws.amazon.com/sdkforruby/api/ // [Chef Versions]: https://docs.aws.amazon.com/opsworks/latest/userguide/workingcookbook-chef11.html package opsworks diff --git a/service/opsworks/endpoints.go b/service/opsworks/endpoints.go index 69290d93fd3..83e502edacc 100644 --- a/service/opsworks/endpoints.go +++ b/service/opsworks/endpoints.go @@ -373,7 +373,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { uriString := func() string { var out strings.Builder out.WriteString("https://opsworks-fips.") diff --git a/service/opsworks/types/types.go b/service/opsworks/types/types.go index 653fcb09f15..efc8e118b4b 100644 --- a/service/opsworks/types/types.go +++ b/service/opsworks/types/types.go @@ -79,34 +79,34 @@ type App struct { } // Describes a load-based auto scaling upscaling or downscaling threshold -// configuration, which specifies when AWS OpsWorks Stacks starts or stops -// load-based instances. +// configuration, which specifies when OpsWorks Stacks starts or stops load-based +// instances. type AutoScalingThresholds struct { - // Custom Cloudwatch auto scaling alarms, to be used as thresholds. This parameter + // Custom CloudWatch auto scaling alarms, to be used as thresholds. This parameter // takes a list of up to five alarm names, which are case sensitive and must be in // the same region as the stack. // // To use custom alarms, you must update your service role to allow - // cloudwatch:DescribeAlarms . You can either have AWS OpsWorks Stacks update the - // role for you when you first use this feature or you can edit the role manually. - // For more information, see [Allowing AWS OpsWorks Stacks to Act on Your Behalf]. + // cloudwatch:DescribeAlarms . You can either have OpsWorks Stacks update the role + // for you when you first use this feature or you can edit the role manually. For + // more information, see [Allowing OpsWorks Stacks to Act on Your Behalf]. // - // [Allowing AWS OpsWorks Stacks to Act on Your Behalf]: https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-servicerole.html + // [Allowing OpsWorks Stacks to Act on Your Behalf]: https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-servicerole.html Alarms []string // The CPU utilization threshold, as a percent of the available CPU. A value of -1 // disables the threshold. CpuThreshold *float64 - // The amount of time (in minutes) after a scaling event occurs that AWS OpsWorks + // The amount of time (in minutes) after a scaling event occurs that OpsWorks // Stacks should ignore metrics and suppress additional scaling events. For - // example, AWS OpsWorks Stacks adds new instances following an upscaling event but - // the instances won't start reducing the load until they have been booted and + // example, OpsWorks Stacks adds new instances following an upscaling event but the + // instances won't start reducing the load until they have been booted and // configured. There is no point in raising additional scaling events during that // operation, which typically takes several minutes. IgnoreMetricsTime allows you - // to direct AWS OpsWorks Stacks to suppress scaling events long enough to get the - // new instances online. + // to direct OpsWorks Stacks to suppress scaling events long enough to get the new + // instances online. IgnoreMetricsTime *int32 // The number of instances to add or remove when the load exceeds a threshold. @@ -137,7 +137,7 @@ type BlockDeviceMapping struct { // The device name that is exposed to the instance, such as /dev/sdh . For the root // device, you can use the explicit device name or you can set this parameter to - // ROOT_DEVICE and AWS OpsWorks Stacks will provide the correct device name. + // ROOT_DEVICE and OpsWorks Stacks will provide the correct device name. DeviceName *string // An EBSBlockDevice that defines how to configure an Amazon EBS volume when the @@ -167,7 +167,7 @@ type ChefConfiguration struct { noSmithyDocumentSerde } -// Describes the Amazon CloudWatch logs configuration for a layer. +// Describes the Amazon CloudWatch Logs configuration for a layer. type CloudWatchLogsConfiguration struct { // Whether CloudWatch Logs is enabled for a layer. @@ -179,7 +179,7 @@ type CloudWatchLogsConfiguration struct { noSmithyDocumentSerde } -// Describes the Amazon CloudWatch logs configuration for a layer. For detailed +// Describes the CloudWatch Logs configuration for a layer. For detailed // information about members of this data type, see the [CloudWatch Logs Agent Reference]. // // [CloudWatch Logs Agent Reference]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AgentReference.html @@ -419,8 +419,8 @@ type DeploymentCommand struct { // default setting is {"migrate":["false"]}. // // - rollback Roll the app back to the previous version. When you update an app, - // AWS OpsWorks Stacks stores the previous version, up to a maximum of five - // versions. You can use this command to roll an app back as many as four versions. + // OpsWorks Stacks stores the previous version, up to a maximum of five versions. + // You can use this command to roll an app back as many as four versions. // // - start : Start the app's web or application server. // @@ -441,18 +441,18 @@ type DeploymentCommand struct { // // The update_dependencies command takes two arguments: // - // - upgrade_os_to - Specifies the desired Amazon Linux version for instances - // whose OS you want to upgrade, such as Amazon Linux 2016.09 . You must also set - // the allow_reboot argument to true. + // - upgrade_os_to - Specifies the Amazon Linux version that you want instances + // to run, such as Amazon Linux 2 . You must also set the allow_reboot argument + // to true. // - // - allow_reboot - Specifies whether to allow AWS OpsWorks Stacks to reboot the + // - allow_reboot - Specifies whether to allow OpsWorks Stacks to reboot the // instances if necessary, after installing the updates. This argument can be set // to either true or false . The default value is false . // - // For example, to upgrade an instance to Amazon Linux 2016.09, set Args to the + // For example, to upgrade an instance to Amazon Linux 2018.03, set Args to the // following. // - // { "upgrade_os_to":["Amazon Linux 2016.09"], "allow_reboot":["true"] } + // { "upgrade_os_to":["Amazon Linux 2018.03"], "allow_reboot":["true"] } Args map[string][]string noSmithyDocumentSerde @@ -487,8 +487,8 @@ type EbsBlockDevice struct { // // If you specify the io1 volume type, you must also specify a value for the Iops // attribute. The maximum ratio of provisioned IOPS to requested volume size (in - // GiB) is 50:1. AWS uses the default volume size (in GiB) specified in the AMI - // attributes to set IOPS to 50 x (volume size). + // GiB) is 50:1. Amazon Web Services uses the default volume size (in GiB) + // specified in the AMI attributes to set IOPS to 50 x (volume size). VolumeType VolumeType noSmithyDocumentSerde @@ -524,10 +524,10 @@ type ElasticIp struct { // The IP address. Ip *string - // The name. + // The name, which can be a maximum of 32 characters. Name *string - // The AWS region. For more information, see [Regions and Endpoints]. + // The Amazon Web Services Region. For more information, see [Regions and Endpoints]. // // [Regions and Endpoints]: https://docs.aws.amazon.com/general/latest/gr/rande.html Region *string @@ -544,20 +544,20 @@ type ElasticLoadBalancer struct { // The instance's public DNS name. DnsName *string - // A list of the EC2 instances that the Elastic Load Balancing instance is - // managing traffic for. + // A list of the EC2 instances for which the Elastic Load Balancing instance is + // managing traffic. Ec2InstanceIds []string - // The Elastic Load Balancing instance's name. + // The Elastic Load Balancing instance name. ElasticLoadBalancerName *string - // The ID of the layer that the instance is attached to. + // The ID of the layer to which the instance is attached. LayerId *string - // The instance's AWS region. + // The instance's Amazon Web Services Region. Region *string - // The ID of the stack that the instance is associated with. + // The ID of the stack with which the instance is associated. StackId *string // A list of subnet IDs, if the stack is running in a VPC. @@ -587,10 +587,10 @@ type EnvironmentVariable struct { // This member is required. Value *string - // (Optional) Whether the variable's value will be returned by the DescribeApps action. To - // conceal an environment variable's value, set Secure to true . DescribeApps then - // returns *****FILTERED***** instead of the actual value. The default value for - // Secure is false . + // (Optional) Whether the variable's value is returned by the DescribeApps action. To hide an + // environment variable's value, set Secure to true . DescribeApps returns + // *****FILTERED***** instead of the actual value. The default value for Secure is + // false . Secure *bool noSmithyDocumentSerde @@ -646,19 +646,23 @@ type Instance struct { // [Elastic IP address]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html ElasticIp *string - // The instance host name. + // The instance host name. The following are character limits for instance host + // names. + // + // - Linux-based instances: 63 characters + // + // - Windows-based instances: 15 characters Hostname *string // For registered instances, the infrastructure class: ec2 or on-premises . InfrastructureClass *string // Whether to install operating system and package updates when the instance - // boots. The default value is true . If this value is set to false , you must then - // update your instances manually by using CreateDeploymentto run the update_dependencies stack - // command or by manually running yum (Amazon Linux) or apt-get (Ubuntu) on the - // instances. + // boots. The default value is true . If this value is set to false , you must + // update instances manually by using CreateDeploymentto run the update_dependencies stack command + // or by manually running yum (Amazon Linux) or apt-get (Ubuntu) on the instances. // - // We strongly recommend using the default value of true , to ensure that your + // We strongly recommend using the default value of true to ensure that your // instances have the latest security updates. InstallUpdatesOnBoot *bool @@ -701,7 +705,7 @@ type Instance struct { // For registered instances, who performed the registration. RegisteredBy *string - // The instance's reported AWS OpsWorks Stacks agent version. + // The instance's reported OpsWorks Stacks agent version. ReportedAgentVersion *string // For registered instances, the reported operating system. @@ -865,11 +869,11 @@ type Layer struct { // The layer attributes. // // For the HaproxyStatsPassword , MysqlRootPassword , and GangliaPassword - // attributes, AWS OpsWorks Stacks returns *****FILTERED***** instead of the - // actual value + // attributes, OpsWorks Stacks returns *****FILTERED***** instead of the actual + // value // - // For an ECS Cluster layer, AWS OpsWorks Stacks the EcsClusterArn attribute is - // set to the cluster's ARN. + // For an ECS Cluster layer, OpsWorks Stacks the EcsClusterArn attribute is set to + // the cluster's ARN. Attributes map[string]string // Whether to automatically assign an [Elastic IP address] to the layer's instances. For more @@ -907,12 +911,12 @@ type Layer struct { // An array containing the layer's custom security group IDs. CustomSecurityGroupIds []string - // AWS OpsWorks Stacks supports five lifecycle events: setup, configuration, - // deploy, undeploy, and shutdown. For each layer, AWS OpsWorks Stacks runs a set - // of standard recipes for each event. You can also provide custom recipes for any - // or all layers and events. AWS OpsWorks Stacks runs custom event recipes after - // the standard recipes. LayerCustomRecipes specifies the custom recipes for a - // particular layer to be run in response to each of the five events. + // OpsWorks Stacks supports five lifecycle events: setup, configuration, deploy, + // undeploy, and shutdown. For each layer, OpsWorks Stacks runs a set of standard + // recipes for each event. You can also provide custom recipes for any or all + // layers and events. OpsWorks Stacks runs custom event recipes after the standard + // recipes. LayerCustomRecipes specifies the custom recipes for a particular layer + // to be run in response to each of the five events. // // To specify a recipe, use the cookbook's directory name in the repository // followed by two colons and the recipe name, which is the recipe's file name @@ -943,7 +947,7 @@ type Layer struct { // configuration. LifecycleEventConfiguration *LifecycleEventConfiguration - // The layer name. + // The layer name. Layer names can be a maximum of 32 characters. Name *string // An array of Package objects that describe the layer's packages. @@ -981,7 +985,7 @@ type LifecycleEventConfiguration struct { type LoadBasedAutoScalingConfiguration struct { // An AutoScalingThresholds object that describes the downscaling configuration, - // which defines how and when AWS OpsWorks Stacks reduces the number of instances. + // which defines how and when OpsWorks Stacks reduces the number of instances. DownScaling *AutoScalingThresholds // Whether load-based auto scaling is enabled for the layer. @@ -991,24 +995,23 @@ type LoadBasedAutoScalingConfiguration struct { LayerId *string // An AutoScalingThresholds object that describes the upscaling configuration, - // which defines how and when AWS OpsWorks Stacks increases the number of - // instances. + // which defines how and when OpsWorks Stacks increases the number of instances. UpScaling *AutoScalingThresholds noSmithyDocumentSerde } -// Describes supported operating systems in AWS OpsWorks Stacks. +// Describes supported operating systems in OpsWorks Stacks. type OperatingSystem struct { - // Supported configuration manager name and versions for an AWS OpsWorks Stacks + // Supported configuration manager name and versions for an OpsWorks Stacks // operating system. ConfigurationManagers []OperatingSystemConfigurationManager - // The ID of a supported operating system, such as Amazon Linux 2018.03 . + // The ID of a supported operating system, such as Amazon Linux 2 . Id *string - // The name of the operating system, such as Amazon Linux 2018.03 . + // The name of the operating system, such as Amazon Linux 2 . Name *string // A short name for the operating system manufacturer. @@ -1051,7 +1054,7 @@ type Permission struct { // Whether the user can use sudo. AllowSudo *bool - // The Amazon Resource Name (ARN) for an AWS Identity and Access Management (IAM) + // The Amazon Resource Name (ARN) for an Identity and Access Management (IAM) // role. For more information about IAM ARNs, see [Using Identifiers]. // // [Using Identifiers]: https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html @@ -1135,10 +1138,10 @@ type RdsDbInstance struct { // The instance's address. Address *string - // The DB instance identifier. + // The database instance identifier. DbInstanceIdentifier *string - // AWS OpsWorks Stacks returns *****FILTERED***** instead of the actual value. + // OpsWorks Stacks returns *****FILTERED***** instead of the actual value. DbPassword *string // The master user name. @@ -1147,16 +1150,15 @@ type RdsDbInstance struct { // The instance's database engine. Engine *string - // Set to true if AWS OpsWorks Stacks is unable to discover the Amazon RDS - // instance. AWS OpsWorks Stacks attempts to discover the instance only once. If - // this value is set to true , you must deregister the instance, and then register - // it again. + // Set to true if OpsWorks Stacks is unable to discover the Amazon RDS instance. + // OpsWorks Stacks attempts to discover the instance only once. If this value is + // set to true , you must deregister the instance, and then register it again. MissingOnRds *bool // The instance's ARN. RdsDbInstanceArn *string - // The instance's AWS region. + // The instance's Amazon Web Services Region. Region *string // The ID of the stack with which the instance is registered. @@ -1165,12 +1167,12 @@ type RdsDbInstance struct { noSmithyDocumentSerde } -// AWS OpsWorks Stacks supports five lifecycle events: setup, configuration, -// deploy, undeploy, and shutdown. For each layer, AWS OpsWorks Stacks runs a set -// of standard recipes for each event. In addition, you can provide custom recipes -// for any or all layers and events. AWS OpsWorks Stacks runs custom event recipes -// after the standard recipes. LayerCustomRecipes specifies the custom recipes for -// a particular layer to be run in response to each of the five events. +// OpsWorks Stacks supports five lifecycle events: setup, configuration, deploy, +// undeploy, and shutdown. For each layer, OpsWorks Stacks runs a set of standard +// recipes for each event. In addition, you can provide custom recipes for any or +// all layers and events. OpsWorks Stacks runs custom event recipes after the +// standard recipes. LayerCustomRecipes specifies the custom recipes for a +// particular layer to be run in response to each of the five events. // // To specify a recipe, use the cookbook's directory name in the repository // followed by two colons and the recipe name, which is the recipe's file name @@ -1229,7 +1231,7 @@ type SelfUserProfile struct { noSmithyDocumentSerde } -// Describes an AWS OpsWorks Stacks service error. +// Describes an OpsWorks Stacks service error. type ServiceError struct { // When the error occurred. @@ -1262,8 +1264,8 @@ type ShutdownEventConfiguration struct { // [Connection Draining]: https://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/TerminologyandKeyConcepts.html#conn-drain DelayUntilElbConnectionsDrained *bool - // The time, in seconds, that AWS OpsWorks Stacks will wait after triggering a - // Shutdown event before shutting down an instance. + // The time, in seconds, that OpsWorks Stacks waits after triggering a Shutdown + // event before shutting down an instance. ExecutionTimeout *int32 noSmithyDocumentSerde @@ -1284,13 +1286,13 @@ type Source struct { // // For more information on how to safely handle IAM credentials, see [https://docs.aws.amazon.com/general/latest/gr/aws-access-keys-best-practices.html]. // - // In responses, AWS OpsWorks Stacks returns *****FILTERED***** instead of the - // actual value. + // In responses, OpsWorks Stacks returns *****FILTERED***** instead of the actual + // value. // // [https://docs.aws.amazon.com/general/latest/gr/aws-access-keys-best-practices.html]: https://docs.aws.amazon.com/general/latest/gr/aws-access-keys-best-practices.html Password *string - // The application's version. AWS OpsWorks Stacks enables you to easily deploy new + // The application's version. OpsWorks Stacks enables you to easily deploy new // versions of an application. One of the simplest approaches is to have branches // or revisions in your repository that represent different versions that can // potentially be deployed. @@ -1298,8 +1300,8 @@ type Source struct { // In requests, the repository's SSH key. // - // In responses, AWS OpsWorks Stacks returns *****FILTERED***** instead of the - // actual value. + // In responses, OpsWorks Stacks returns *****FILTERED***** instead of the actual + // value. SshKey *string // The repository type. @@ -1415,16 +1417,16 @@ type Stack struct { // The stack host name theme, with spaces replaced by underscores. HostnameTheme *string - // The stack name. + // The stack name. Stack names can be a maximum of 64 characters. Name *string - // The stack AWS region, such as "ap-northeast-2". For more information about AWS - // regions, see [Regions and Endpoints]. + // The stack Amazon Web Services Region, such as ap-northeast-2 . For more + // information about Amazon Web Services Regions, see [Regions and Endpoints]. // // [Regions and Endpoints]: https://docs.aws.amazon.com/general/latest/gr/rande.html Region *string - // The stack AWS Identity and Access Management (IAM) role. + // The stack Identity and Access Management (IAM) role. ServiceRoleArn *string // The stack ID. @@ -1433,7 +1435,7 @@ type Stack struct { // Whether the stack uses custom cookbooks. UseCustomCookbooks *bool - // Whether the stack automatically associates the AWS OpsWorks Stacks built-in + // Whether the stack automatically associates the OpsWorks Stacks built-in // security groups with the stack's layers. UseOpsworksSecurityGroups *bool @@ -1446,12 +1448,12 @@ type Stack struct { // Describes the configuration manager. type StackConfigurationManager struct { - // The name. This parameter must be set to "Chef". + // The name. This parameter must be set to Chef . Name *string // The Chef version. This parameter must be set to 12, 11.10, or 11.4 for Linux // stacks, and to 12.2 for Windows stacks. The default value for Linux stacks is - // 11.4. + // 12. Version *string noSmithyDocumentSerde @@ -1485,7 +1487,7 @@ type StackSummary struct { // Connection to log in to the instance. type TemporaryCredential struct { - // The instance's AWS OpsWorks Stacks ID. + // The instance's OpsWorks Stacks ID. InstanceId *string // The password. @@ -1496,8 +1498,8 @@ type TemporaryCredential struct { // The length of time (in minutes) that the grant is valid. When the grant // expires, at the end of this period, the user will no longer be able to use the - // credentials to log in. If they are logged in at the time, they will be - // automatically logged out. + // credentials to log in. If they are logged in at the time, they are automatically + // logged out. ValidForInMinutes *int32 noSmithyDocumentSerde @@ -1567,13 +1569,14 @@ type Volume struct { // The volume mount point. For example, "/mnt/disk1". MountPoint *string - // The volume name. + // The volume name. Volume names are a maximum of 128 characters. Name *string // The RAID array ID. RaidArrayId *string - // The AWS region. For more information about AWS regions, see [Regions and Endpoints]. + // The Amazon Web Services Region. For more information about Amazon Web Services + // Regions, see [Regions and Endpoints]. // // [Regions and Endpoints]: https://docs.aws.amazon.com/general/latest/gr/rande.html Region *string @@ -1601,9 +1604,9 @@ type Volume struct { // size of 1 GiB and a maximum size of 16384 GiB. // // - st1 - Throughput Optimized hard disk drive (HDD). Throughput optimized HDD - // volumes must have a minimum size of 500 GiB and a maximum size of 16384 GiB. + // volumes must have a minimum size of 125 GiB and a maximum size of 16384 GiB. // - // - sc1 - Cold HDD. Cold HDD volumes must have a minimum size of 500 GiB and a + // - sc1 - Cold HDD. Cold HDD volumes must have a minimum size of 125 GiB and a // maximum size of 16384 GiB. // // [Amazon EBS Volume Types]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html @@ -1655,9 +1658,9 @@ type VolumeConfiguration struct { // size of 1 GiB and a maximum size of 16384 GiB. // // - st1 - Throughput Optimized hard disk drive (HDD). Throughput optimized HDD - // volumes must have a minimum size of 500 GiB and a maximum size of 16384 GiB. + // volumes must have a minimum size of 125 GiB and a maximum size of 16384 GiB. // - // - sc1 - Cold HDD. Cold HDD volumes must have a minimum size of 500 GiB and a + // - sc1 - Cold HDD. Cold HDD volumes must have a minimum size of 125 GiB and a // maximum size of 16384 GiB. // // [Amazon EBS Volume Types]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html diff --git a/service/opsworkscm/deserializers.go b/service/opsworkscm/deserializers.go index e1c95cfe46b..ad57c4382fa 100644 --- a/service/opsworkscm/deserializers.go +++ b/service/opsworkscm/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpAssociateNode struct { } diff --git a/service/organizations/deserializers.go b/service/organizations/deserializers.go index 8118fe07c09..8946093a9bc 100644 --- a/service/organizations/deserializers.go +++ b/service/organizations/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpAcceptHandshake struct { } diff --git a/service/osis/deserializers.go b/service/osis/deserializers.go index e160e08bc64..5ab5b6e2e1b 100644 --- a/service/osis/deserializers.go +++ b/service/osis/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreatePipeline struct { } diff --git a/service/outposts/deserializers.go b/service/outposts/deserializers.go index ba589b80c05..c934dbb4a06 100644 --- a/service/outposts/deserializers.go +++ b/service/outposts/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCancelCapacityTask struct { } diff --git a/service/panorama/deserializers.go b/service/panorama/deserializers.go index 60954e7a507..21aba37c56c 100644 --- a/service/panorama/deserializers.go +++ b/service/panorama/deserializers.go @@ -19,8 +19,17 @@ import ( "io" "strconv" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreateApplicationInstance struct { } diff --git a/service/paymentcryptography/deserializers.go b/service/paymentcryptography/deserializers.go index a42dff54f73..064446e8285 100644 --- a/service/paymentcryptography/deserializers.go +++ b/service/paymentcryptography/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson10_deserializeOpCreateAlias struct { } diff --git a/service/paymentcryptographydata/deserializers.go b/service/paymentcryptographydata/deserializers.go index 4bba011888c..b0fd9ff1474 100644 --- a/service/paymentcryptographydata/deserializers.go +++ b/service/paymentcryptographydata/deserializers.go @@ -13,11 +13,21 @@ import ( 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" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpDecryptData struct { } diff --git a/service/pcaconnectorad/deserializers.go b/service/pcaconnectorad/deserializers.go index 48c2934e31e..7538164e4fd 100644 --- a/service/pcaconnectorad/deserializers.go +++ b/service/pcaconnectorad/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreateConnector struct { } diff --git a/service/personalize/deserializers.go b/service/personalize/deserializers.go index 00d00186725..96bbf39d733 100644 --- a/service/personalize/deserializers.go +++ b/service/personalize/deserializers.go @@ -19,8 +19,17 @@ import ( "io/ioutil" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpCreateBatchInferenceJob struct { } diff --git a/service/personalizeevents/deserializers.go b/service/personalizeevents/deserializers.go index 26148f2d5e7..b7454071384 100644 --- a/service/personalizeevents/deserializers.go +++ b/service/personalizeevents/deserializers.go @@ -13,12 +13,22 @@ import ( 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" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpPutActionInteractions struct { } diff --git a/service/personalizeruntime/deserializers.go b/service/personalizeruntime/deserializers.go index 71c5e1b258d..c2335fd6294 100644 --- a/service/personalizeruntime/deserializers.go +++ b/service/personalizeruntime/deserializers.go @@ -13,12 +13,22 @@ import ( 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" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpGetActionRecommendations struct { } diff --git a/service/pi/deserializers.go b/service/pi/deserializers.go index 66441ee487d..2b412fd8b0c 100644 --- a/service/pi/deserializers.go +++ b/service/pi/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpCreatePerformanceAnalysisReport struct { } diff --git a/service/pinpoint/deserializers.go b/service/pinpoint/deserializers.go index d31a3e66747..5b2b0f1006e 100644 --- a/service/pinpoint/deserializers.go +++ b/service/pinpoint/deserializers.go @@ -19,8 +19,17 @@ import ( "io/ioutil" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreateApp struct { } diff --git a/service/pinpointemail/deserializers.go b/service/pinpointemail/deserializers.go index b0f95ef9823..b2919ef55b2 100644 --- a/service/pinpointemail/deserializers.go +++ b/service/pinpointemail/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreateConfigurationSet struct { } diff --git a/service/pinpointsmsvoice/deserializers.go b/service/pinpointsmsvoice/deserializers.go index 3706354d4cc..a41ab0b71ed 100644 --- a/service/pinpointsmsvoice/deserializers.go +++ b/service/pinpointsmsvoice/deserializers.go @@ -13,11 +13,21 @@ import ( 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" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreateConfigurationSet struct { } diff --git a/service/pinpointsmsvoicev2/deserializers.go b/service/pinpointsmsvoicev2/deserializers.go index 1f56390a514..f50accf76ce 100644 --- a/service/pinpointsmsvoicev2/deserializers.go +++ b/service/pinpointsmsvoicev2/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson10_deserializeOpAssociateOriginationIdentity struct { } diff --git a/service/pipes/deserializers.go b/service/pipes/deserializers.go index ea8c433efca..24130dd09fe 100644 --- a/service/pipes/deserializers.go +++ b/service/pipes/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "strconv" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreatePipe struct { } diff --git a/service/polly/deserializers.go b/service/polly/deserializers.go index c3a952ec834..80964a338b3 100644 --- a/service/polly/deserializers.go +++ b/service/polly/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "strconv" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpDeleteLexicon struct { } diff --git a/service/pricing/deserializers.go b/service/pricing/deserializers.go index 26ab03144a3..bdbd2d77ede 100644 --- a/service/pricing/deserializers.go +++ b/service/pricing/deserializers.go @@ -13,11 +13,21 @@ import ( 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" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpDescribeServices struct { } diff --git a/service/privatenetworks/deserializers.go b/service/privatenetworks/deserializers.go index 70e82643475..00c01162700 100644 --- a/service/privatenetworks/deserializers.go +++ b/service/privatenetworks/deserializers.go @@ -19,8 +19,17 @@ import ( "math" "strconv" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpAcknowledgeOrderReceipt struct { } diff --git a/service/proton/deserializers.go b/service/proton/deserializers.go index e279fd84bac..7aad9e8961d 100644 --- a/service/proton/deserializers.go +++ b/service/proton/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson10_deserializeOpAcceptEnvironmentAccountConnection struct { } diff --git a/service/qbusiness/deserializers.go b/service/qbusiness/deserializers.go index 81a8d995dbf..abda759e296 100644 --- a/service/qbusiness/deserializers.go +++ b/service/qbusiness/deserializers.go @@ -25,6 +25,14 @@ import ( "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpBatchDeleteDocument struct { } diff --git a/service/qconnect/deserializers.go b/service/qconnect/deserializers.go index a7afffab9fe..c90b53959ea 100644 --- a/service/qconnect/deserializers.go +++ b/service/qconnect/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreateAssistant struct { } diff --git a/service/qldb/deserializers.go b/service/qldb/deserializers.go index ea7e1217147..72bdec8ecfd 100644 --- a/service/qldb/deserializers.go +++ b/service/qldb/deserializers.go @@ -19,8 +19,17 @@ import ( "io" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCancelJournalKinesisStream struct { } diff --git a/service/qldbsession/deserializers.go b/service/qldbsession/deserializers.go index 3928e7270a9..314241ad95c 100644 --- a/service/qldbsession/deserializers.go +++ b/service/qldbsession/deserializers.go @@ -14,11 +14,21 @@ import ( 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" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson10_deserializeOpSendCommand struct { } diff --git a/service/quicksight/deserializers.go b/service/quicksight/deserializers.go index e4e09b953bc..8e1e3ea4f1d 100644 --- a/service/quicksight/deserializers.go +++ b/service/quicksight/deserializers.go @@ -21,6 +21,14 @@ import ( "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCancelIngestion struct { } diff --git a/service/ram/deserializers.go b/service/ram/deserializers.go index e1867ba3296..9431796f248 100644 --- a/service/ram/deserializers.go +++ b/service/ram/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpAcceptResourceShareInvitation struct { } diff --git a/service/rbin/deserializers.go b/service/rbin/deserializers.go index bb3def69c87..43593da2b50 100644 --- a/service/rbin/deserializers.go +++ b/service/rbin/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreateRule struct { } diff --git a/service/rds/deserializers.go b/service/rds/deserializers.go index 8166c985dbc..feaa0f3e20b 100644 --- a/service/rds/deserializers.go +++ b/service/rds/deserializers.go @@ -21,8 +21,17 @@ import ( "io/ioutil" "strconv" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsquery_deserializeOpAddRoleToDBCluster struct { } diff --git a/service/rdsdata/deserializers.go b/service/rdsdata/deserializers.go index 533124d129f..dc8cb918710 100644 --- a/service/rdsdata/deserializers.go +++ b/service/rdsdata/deserializers.go @@ -14,12 +14,22 @@ import ( 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" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpBatchExecuteStatement struct { } diff --git a/service/redshift/deserializers.go b/service/redshift/deserializers.go index 34cd5f9dc11..86582dbc7e9 100644 --- a/service/redshift/deserializers.go +++ b/service/redshift/deserializers.go @@ -24,6 +24,14 @@ import ( "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsquery_deserializeOpAcceptReservedNodeExchange struct { } diff --git a/service/redshiftdata/deserializers.go b/service/redshiftdata/deserializers.go index 57f37cfa14b..578b031ae5c 100644 --- a/service/redshiftdata/deserializers.go +++ b/service/redshiftdata/deserializers.go @@ -19,8 +19,17 @@ import ( "io" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpBatchExecuteStatement struct { } diff --git a/service/redshiftserverless/deserializers.go b/service/redshiftserverless/deserializers.go index a35baa4689b..136f45d1f45 100644 --- a/service/redshiftserverless/deserializers.go +++ b/service/redshiftserverless/deserializers.go @@ -21,6 +21,14 @@ import ( "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpConvertRecoveryPointToSnapshot struct { } diff --git a/service/rekognition/deserializers.go b/service/rekognition/deserializers.go index 1f5affcfe2e..b8c429782db 100644 --- a/service/rekognition/deserializers.go +++ b/service/rekognition/deserializers.go @@ -19,8 +19,17 @@ import ( "io" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpAssociateFaces struct { } diff --git a/service/repostspace/deserializers.go b/service/repostspace/deserializers.go index 826eb453d8b..799252e31d5 100644 --- a/service/repostspace/deserializers.go +++ b/service/repostspace/deserializers.go @@ -19,8 +19,17 @@ import ( "io/ioutil" "strconv" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreateSpace struct { } diff --git a/service/resiliencehub/deserializers.go b/service/resiliencehub/deserializers.go index 338d3de82aa..46f5e082e22 100644 --- a/service/resiliencehub/deserializers.go +++ b/service/resiliencehub/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpAddDraftAppVersionResourceMappings struct { } diff --git a/service/resourceexplorer2/deserializers.go b/service/resourceexplorer2/deserializers.go index cb385564d90..0dbe30c1d57 100644 --- a/service/resourceexplorer2/deserializers.go +++ b/service/resourceexplorer2/deserializers.go @@ -20,8 +20,17 @@ import ( "io" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpAssociateDefaultView struct { } diff --git a/service/resourcegroups/deserializers.go b/service/resourcegroups/deserializers.go index e784a47e951..622e209fe76 100644 --- a/service/resourcegroups/deserializers.go +++ b/service/resourcegroups/deserializers.go @@ -13,11 +13,21 @@ import ( 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" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreateGroup struct { } diff --git a/service/resourcegroupstaggingapi/deserializers.go b/service/resourcegroupstaggingapi/deserializers.go index 480dd414682..1cc2316e830 100644 --- a/service/resourcegroupstaggingapi/deserializers.go +++ b/service/resourcegroupstaggingapi/deserializers.go @@ -13,11 +13,21 @@ import ( 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" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpDescribeReportCreation struct { } diff --git a/service/robomaker/deserializers.go b/service/robomaker/deserializers.go index bc44eafb2dc..61941ac27ed 100644 --- a/service/robomaker/deserializers.go +++ b/service/robomaker/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpBatchDeleteWorlds struct { } diff --git a/service/rolesanywhere/deserializers.go b/service/rolesanywhere/deserializers.go index bb19b993e27..122868dc35e 100644 --- a/service/rolesanywhere/deserializers.go +++ b/service/rolesanywhere/deserializers.go @@ -18,8 +18,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreateProfile struct { } diff --git a/service/route53/deserializers.go b/service/route53/deserializers.go index f0446c8c49c..ec19ba9a77f 100644 --- a/service/route53/deserializers.go +++ b/service/route53/deserializers.go @@ -20,8 +20,17 @@ import ( "io" "strconv" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestxml_deserializeOpActivateKeySigningKey struct { } diff --git a/service/route53domains/deserializers.go b/service/route53domains/deserializers.go index a8ed27d4c6b..a5f7bcf150e 100644 --- a/service/route53domains/deserializers.go +++ b/service/route53domains/deserializers.go @@ -19,8 +19,17 @@ import ( "io/ioutil" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpAcceptDomainTransferFromAnotherAwsAccount struct { } diff --git a/service/route53profiles/deserializers.go b/service/route53profiles/deserializers.go index ed53419c288..cd353691470 100644 --- a/service/route53profiles/deserializers.go +++ b/service/route53profiles/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpAssociateProfile struct { } diff --git a/service/route53recoverycluster/deserializers.go b/service/route53recoverycluster/deserializers.go index e4230f51583..353ff3f0b4a 100644 --- a/service/route53recoverycluster/deserializers.go +++ b/service/route53recoverycluster/deserializers.go @@ -13,11 +13,21 @@ import ( 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" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson10_deserializeOpGetRoutingControlState struct { } diff --git a/service/route53recoverycontrolconfig/deserializers.go b/service/route53recoverycontrolconfig/deserializers.go index d381c528f4f..cb46c323e25 100644 --- a/service/route53recoverycontrolconfig/deserializers.go +++ b/service/route53recoverycontrolconfig/deserializers.go @@ -13,11 +13,21 @@ import ( 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" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreateCluster struct { } diff --git a/service/route53recoveryreadiness/deserializers.go b/service/route53recoveryreadiness/deserializers.go index d33ea3bcbb1..ed7427c106a 100644 --- a/service/route53recoveryreadiness/deserializers.go +++ b/service/route53recoveryreadiness/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreateCell struct { } diff --git a/service/route53resolver/deserializers.go b/service/route53resolver/deserializers.go index 8af95d20006..c488069a466 100644 --- a/service/route53resolver/deserializers.go +++ b/service/route53resolver/deserializers.go @@ -13,11 +13,21 @@ import ( 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" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpAssociateFirewallRuleGroup struct { } diff --git a/service/rum/deserializers.go b/service/rum/deserializers.go index a183e071cf8..b93003adafc 100644 --- a/service/rum/deserializers.go +++ b/service/rum/deserializers.go @@ -13,13 +13,23 @@ import ( 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" "strconv" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpBatchCreateRumMetricDefinitions struct { } diff --git a/service/s3control/deserializers.go b/service/s3control/deserializers.go index 0dc4b4bcb54..fd932c3f49b 100644 --- a/service/s3control/deserializers.go +++ b/service/s3control/deserializers.go @@ -21,8 +21,17 @@ import ( "io/ioutil" "strconv" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestxml_deserializeOpAssociateAccessGrantsIdentityCenter struct { } diff --git a/service/s3outposts/deserializers.go b/service/s3outposts/deserializers.go index 99cdb8abbe9..28fb7820d69 100644 --- a/service/s3outposts/deserializers.go +++ b/service/s3outposts/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreateEndpoint struct { } diff --git a/service/sagemaker/deserializers.go b/service/sagemaker/deserializers.go index 45b0a3a04b7..318fb3504b2 100644 --- a/service/sagemaker/deserializers.go +++ b/service/sagemaker/deserializers.go @@ -19,8 +19,17 @@ import ( "io/ioutil" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpAddAssociation struct { } diff --git a/service/sagemakera2iruntime/deserializers.go b/service/sagemakera2iruntime/deserializers.go index 6223be9627f..1c81ab16278 100644 --- a/service/sagemakera2iruntime/deserializers.go +++ b/service/sagemakera2iruntime/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpDeleteHumanLoop struct { } diff --git a/service/sagemakeredge/deserializers.go b/service/sagemakeredge/deserializers.go index b6727170342..8f75f9c948e 100644 --- a/service/sagemakeredge/deserializers.go +++ b/service/sagemakeredge/deserializers.go @@ -13,12 +13,22 @@ import ( 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" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpGetDeployments struct { } diff --git a/service/sagemakerfeaturestoreruntime/deserializers.go b/service/sagemakerfeaturestoreruntime/deserializers.go index 9582eacc1e6..52c190dec1c 100644 --- a/service/sagemakerfeaturestoreruntime/deserializers.go +++ b/service/sagemakerfeaturestoreruntime/deserializers.go @@ -13,12 +13,22 @@ import ( 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" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpBatchGetRecord struct { } diff --git a/service/sagemakergeospatial/deserializers.go b/service/sagemakergeospatial/deserializers.go index 78e498d8b8f..69201ec469e 100644 --- a/service/sagemakergeospatial/deserializers.go +++ b/service/sagemakergeospatial/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpDeleteEarthObservationJob struct { } diff --git a/service/sagemakermetrics/deserializers.go b/service/sagemakermetrics/deserializers.go index b8011ee7b36..ba097e19f12 100644 --- a/service/sagemakermetrics/deserializers.go +++ b/service/sagemakermetrics/deserializers.go @@ -13,10 +13,20 @@ import ( 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" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpBatchPutMetrics struct { } diff --git a/service/sagemakerruntime/deserializers.go b/service/sagemakerruntime/deserializers.go index 6bae0bae952..acbc7e7c9c6 100644 --- a/service/sagemakerruntime/deserializers.go +++ b/service/sagemakerruntime/deserializers.go @@ -15,11 +15,21 @@ import ( 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" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpInvokeEndpoint struct { } diff --git a/service/savingsplans/deserializers.go b/service/savingsplans/deserializers.go index 8e82b72faf5..9b201112ff1 100644 --- a/service/savingsplans/deserializers.go +++ b/service/savingsplans/deserializers.go @@ -13,11 +13,21 @@ import ( 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" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreateSavingsPlan struct { } diff --git a/service/scheduler/deserializers.go b/service/scheduler/deserializers.go index be83a09d779..3401127718c 100644 --- a/service/scheduler/deserializers.go +++ b/service/scheduler/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreateSchedule struct { } diff --git a/service/schemas/deserializers.go b/service/schemas/deserializers.go index daf0e21308f..a8f056f9e39 100644 --- a/service/schemas/deserializers.go +++ b/service/schemas/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreateDiscoverer struct { } diff --git a/service/secretsmanager/deserializers.go b/service/secretsmanager/deserializers.go index 82fd102c2ad..7873fb62a6d 100644 --- a/service/secretsmanager/deserializers.go +++ b/service/secretsmanager/deserializers.go @@ -19,8 +19,17 @@ import ( "io" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpBatchGetSecretValue struct { } diff --git a/service/securityhub/deserializers.go b/service/securityhub/deserializers.go index 4c0862664c5..7c8782836b2 100644 --- a/service/securityhub/deserializers.go +++ b/service/securityhub/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpAcceptAdministratorInvitation struct { } diff --git a/service/securitylake/deserializers.go b/service/securitylake/deserializers.go index 5e78e875b0e..ef840e78262 100644 --- a/service/securitylake/deserializers.go +++ b/service/securitylake/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "strconv" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreateAwsLogSource struct { } diff --git a/service/serverlessapplicationrepository/deserializers.go b/service/serverlessapplicationrepository/deserializers.go index 927c786c4c6..c37cf64e9b5 100644 --- a/service/serverlessapplicationrepository/deserializers.go +++ b/service/serverlessapplicationrepository/deserializers.go @@ -13,12 +13,22 @@ import ( 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" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreateApplication struct { } diff --git a/service/servicecatalog/deserializers.go b/service/servicecatalog/deserializers.go index 59cf9263c79..2f730249d57 100644 --- a/service/servicecatalog/deserializers.go +++ b/service/servicecatalog/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpAcceptPortfolioShare struct { } diff --git a/service/servicecatalogappregistry/deserializers.go b/service/servicecatalogappregistry/deserializers.go index f0a0c8ce184..9d4eaa65573 100644 --- a/service/servicecatalogappregistry/deserializers.go +++ b/service/servicecatalogappregistry/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpAssociateAttributeGroup struct { } diff --git a/service/servicediscovery/deserializers.go b/service/servicediscovery/deserializers.go index 2dbbabd1fcc..52a4620c760 100644 --- a/service/servicediscovery/deserializers.go +++ b/service/servicediscovery/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpCreateHttpNamespace struct { } diff --git a/service/servicequotas/deserializers.go b/service/servicequotas/deserializers.go index cc1d45fe7c6..c6f656666a9 100644 --- a/service/servicequotas/deserializers.go +++ b/service/servicequotas/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpAssociateServiceQuotaTemplate struct { } diff --git a/service/ses/deserializers.go b/service/ses/deserializers.go index 4e4aa5086c8..d2f74317a96 100644 --- a/service/ses/deserializers.go +++ b/service/ses/deserializers.go @@ -21,8 +21,17 @@ import ( "io/ioutil" "strconv" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsquery_deserializeOpCloneReceiptRuleSet struct { } diff --git a/service/sesv2/deserializers.go b/service/sesv2/deserializers.go index f6c84b48ecf..11bb024788a 100644 --- a/service/sesv2/deserializers.go +++ b/service/sesv2/deserializers.go @@ -21,6 +21,14 @@ import ( "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpBatchGetMetricData struct { } diff --git a/service/sfn/deserializers.go b/service/sfn/deserializers.go index 4d08e7acb87..10802c8721c 100644 --- a/service/sfn/deserializers.go +++ b/service/sfn/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson10_deserializeOpCreateActivity struct { } diff --git a/service/shield/deserializers.go b/service/shield/deserializers.go index 9016dbbfd78..a22f6e66124 100644 --- a/service/shield/deserializers.go +++ b/service/shield/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpAssociateDRTLogBucket struct { } diff --git a/service/signer/deserializers.go b/service/signer/deserializers.go index b4b35b734b7..c899566c93a 100644 --- a/service/signer/deserializers.go +++ b/service/signer/deserializers.go @@ -19,8 +19,17 @@ import ( "io" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpAddProfilePermission struct { } diff --git a/service/simspaceweaver/deserializers.go b/service/simspaceweaver/deserializers.go index 7e17edb855e..6e33542b42a 100644 --- a/service/simspaceweaver/deserializers.go +++ b/service/simspaceweaver/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreateSnapshot struct { } diff --git a/service/sms/deserializers.go b/service/sms/deserializers.go index c07bacdb8f4..aed4315e010 100644 --- a/service/sms/deserializers.go +++ b/service/sms/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpCreateApp struct { } diff --git a/service/snowball/deserializers.go b/service/snowball/deserializers.go index a89d293f75c..09521e105b5 100644 --- a/service/snowball/deserializers.go +++ b/service/snowball/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpCancelCluster struct { } diff --git a/service/snowdevicemanagement/deserializers.go b/service/snowdevicemanagement/deserializers.go index e0347bac042..bdcc1520178 100644 --- a/service/snowdevicemanagement/deserializers.go +++ b/service/snowdevicemanagement/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCancelTask struct { } diff --git a/service/sns/deserializers.go b/service/sns/deserializers.go index e4bd955b3da..113f607987a 100644 --- a/service/sns/deserializers.go +++ b/service/sns/deserializers.go @@ -21,8 +21,17 @@ import ( "io/ioutil" "strconv" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsquery_deserializeOpAddPermission struct { } diff --git a/service/sqs/deserializers.go b/service/sqs/deserializers.go index cecf9816eab..dc5eeae6aa1 100644 --- a/service/sqs/deserializers.go +++ b/service/sqs/deserializers.go @@ -14,12 +14,22 @@ import ( 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" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson10_deserializeOpAddPermission struct { } diff --git a/service/ssm/deserializers.go b/service/ssm/deserializers.go index c4be252b2c6..96009460322 100644 --- a/service/ssm/deserializers.go +++ b/service/ssm/deserializers.go @@ -18,8 +18,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpAddTagsToResource struct { } diff --git a/service/ssmcontacts/deserializers.go b/service/ssmcontacts/deserializers.go index c576e819b39..796b0f18be9 100644 --- a/service/ssmcontacts/deserializers.go +++ b/service/ssmcontacts/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpAcceptPage struct { } diff --git a/service/ssmincidents/deserializers.go b/service/ssmincidents/deserializers.go index 63a8ef3639b..60e41789af7 100644 --- a/service/ssmincidents/deserializers.go +++ b/service/ssmincidents/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpBatchGetIncidentFindings struct { } diff --git a/service/ssmsap/deserializers.go b/service/ssmsap/deserializers.go index 5cc1da19655..5840bc2d87e 100644 --- a/service/ssmsap/deserializers.go +++ b/service/ssmsap/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpDeleteResourcePermission struct { } diff --git a/service/sso/deserializers.go b/service/sso/deserializers.go index 8bba205f435..d6297fa6a15 100644 --- a/service/sso/deserializers.go +++ b/service/sso/deserializers.go @@ -13,12 +13,22 @@ import ( 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" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpGetRoleCredentials struct { } diff --git a/service/ssoadmin/deserializers.go b/service/ssoadmin/deserializers.go index 385887b1edc..39208ede44f 100644 --- a/service/ssoadmin/deserializers.go +++ b/service/ssoadmin/deserializers.go @@ -20,8 +20,17 @@ import ( "io" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpAttachCustomerManagedPolicyReferenceToPermissionSet struct { } diff --git a/service/ssooidc/deserializers.go b/service/ssooidc/deserializers.go index b70e5fb5a07..05e8c6b7e5f 100644 --- a/service/ssooidc/deserializers.go +++ b/service/ssooidc/deserializers.go @@ -13,11 +13,21 @@ import ( 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" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreateToken struct { } diff --git a/service/storagegateway/deserializers.go b/service/storagegateway/deserializers.go index b188586e4b3..22ec32b6499 100644 --- a/service/storagegateway/deserializers.go +++ b/service/storagegateway/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpActivateGateway struct { } diff --git a/service/sts/deserializers.go b/service/sts/deserializers.go index 5d634ce35c8..7e4346ec9fa 100644 --- a/service/sts/deserializers.go +++ b/service/sts/deserializers.go @@ -20,8 +20,17 @@ import ( "io" "strconv" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsquery_deserializeOpAssumeRole struct { } diff --git a/service/supplychain/deserializers.go b/service/supplychain/deserializers.go index 33e85e9bf03..d251a266da4 100644 --- a/service/supplychain/deserializers.go +++ b/service/supplychain/deserializers.go @@ -13,11 +13,21 @@ import ( 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" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreateBillOfMaterialsImportJob struct { } diff --git a/service/support/deserializers.go b/service/support/deserializers.go index 518ef3020b3..f05c820b532 100644 --- a/service/support/deserializers.go +++ b/service/support/deserializers.go @@ -14,12 +14,22 @@ import ( 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" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpAddAttachmentsToSet struct { } diff --git a/service/supportapp/deserializers.go b/service/supportapp/deserializers.go index 1b419245083..7c20d6a444a 100644 --- a/service/supportapp/deserializers.go +++ b/service/supportapp/deserializers.go @@ -13,11 +13,21 @@ import ( 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" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreateSlackChannelConfiguration struct { } diff --git a/service/swf/deserializers.go b/service/swf/deserializers.go index fe540ae3c92..0f31439f2ad 100644 --- a/service/swf/deserializers.go +++ b/service/swf/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson10_deserializeOpCountClosedWorkflowExecutions struct { } diff --git a/service/synthetics/deserializers.go b/service/synthetics/deserializers.go index 864cd997b37..b2cb008b06f 100644 --- a/service/synthetics/deserializers.go +++ b/service/synthetics/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpAssociateResource struct { } diff --git a/service/textract/deserializers.go b/service/textract/deserializers.go index 063bdfc33cd..44a1890c03d 100644 --- a/service/textract/deserializers.go +++ b/service/textract/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpAnalyzeDocument struct { } diff --git a/service/timestreaminfluxdb/deserializers.go b/service/timestreaminfluxdb/deserializers.go index 3c3e0acd92d..1e8054ef950 100644 --- a/service/timestreaminfluxdb/deserializers.go +++ b/service/timestreaminfluxdb/deserializers.go @@ -13,12 +13,22 @@ import ( 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" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson10_deserializeOpCreateDbInstance struct { } diff --git a/service/timestreamquery/deserializers.go b/service/timestreamquery/deserializers.go index 7a360c78e47..509e8694625 100644 --- a/service/timestreamquery/deserializers.go +++ b/service/timestreamquery/deserializers.go @@ -19,8 +19,17 @@ import ( "io/ioutil" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson10_deserializeOpCancelQuery struct { } diff --git a/service/timestreamwrite/deserializers.go b/service/timestreamwrite/deserializers.go index f253ca60682..91f6fcef692 100644 --- a/service/timestreamwrite/deserializers.go +++ b/service/timestreamwrite/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson10_deserializeOpCreateBatchLoadTask struct { } diff --git a/service/tnb/deserializers.go b/service/tnb/deserializers.go index 588e49248df..3568e2ab84c 100644 --- a/service/tnb/deserializers.go +++ b/service/tnb/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCancelSolNetworkOperation struct { } diff --git a/service/transcribe/deserializers.go b/service/transcribe/deserializers.go index e6ea8a79bd2..391eb39579d 100644 --- a/service/transcribe/deserializers.go +++ b/service/transcribe/deserializers.go @@ -19,8 +19,17 @@ import ( "io/ioutil" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpCreateCallAnalyticsCategory struct { } diff --git a/service/transcribestreaming/deserializers.go b/service/transcribestreaming/deserializers.go index 4f6fa311e36..d49e2286aa5 100644 --- a/service/transcribestreaming/deserializers.go +++ b/service/transcribestreaming/deserializers.go @@ -15,13 +15,23 @@ import ( 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" "strconv" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpStartCallAnalyticsStreamTranscription struct { } diff --git a/service/transfer/deserializers.go b/service/transfer/deserializers.go index c7e3eaf6e3c..efb52a8666c 100644 --- a/service/transfer/deserializers.go +++ b/service/transfer/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpCreateAccess struct { } diff --git a/service/translate/deserializers.go b/service/translate/deserializers.go index a2b1ec52aac..5329922a894 100644 --- a/service/translate/deserializers.go +++ b/service/translate/deserializers.go @@ -19,8 +19,17 @@ import ( "io" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpCreateParallelData struct { } diff --git a/service/trustedadvisor/deserializers.go b/service/trustedadvisor/deserializers.go index 08ac1699e96..6822ec011df 100644 --- a/service/trustedadvisor/deserializers.go +++ b/service/trustedadvisor/deserializers.go @@ -19,8 +19,17 @@ import ( "io/ioutil" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpBatchUpdateRecommendationResourceExclusion struct { } diff --git a/service/verifiedpermissions/deserializers.go b/service/verifiedpermissions/deserializers.go index d6534691b71..9325a427757 100644 --- a/service/verifiedpermissions/deserializers.go +++ b/service/verifiedpermissions/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson10_deserializeOpBatchIsAuthorized struct { } diff --git a/service/voiceid/deserializers.go b/service/voiceid/deserializers.go index c6dcd4e9719..1b766f31e09 100644 --- a/service/voiceid/deserializers.go +++ b/service/voiceid/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson10_deserializeOpAssociateFraudster struct { } diff --git a/service/vpclattice/deserializers.go b/service/vpclattice/deserializers.go index 203f9029fb3..7253065403f 100644 --- a/service/vpclattice/deserializers.go +++ b/service/vpclattice/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "strconv" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpBatchUpdateRule struct { } diff --git a/service/waf/deserializers.go b/service/waf/deserializers.go index cc3db03ab4f..248c84a9a63 100644 --- a/service/waf/deserializers.go +++ b/service/waf/deserializers.go @@ -18,8 +18,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpCreateByteMatchSet struct { } diff --git a/service/wafregional/deserializers.go b/service/wafregional/deserializers.go index 064faec3673..31ab39a1062 100644 --- a/service/wafregional/deserializers.go +++ b/service/wafregional/deserializers.go @@ -18,8 +18,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpAssociateWebACL struct { } diff --git a/service/wafv2/deserializers.go b/service/wafv2/deserializers.go index aa7f369d134..1d3d89e5697 100644 --- a/service/wafv2/deserializers.go +++ b/service/wafv2/deserializers.go @@ -18,8 +18,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpAssociateWebACL struct { } diff --git a/service/wellarchitected/deserializers.go b/service/wellarchitected/deserializers.go index 760000364f9..1938f1c9bab 100644 --- a/service/wellarchitected/deserializers.go +++ b/service/wellarchitected/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpAssociateLenses struct { } diff --git a/service/wisdom/deserializers.go b/service/wisdom/deserializers.go index 2d1004c85b8..39d0529d53f 100644 --- a/service/wisdom/deserializers.go +++ b/service/wisdom/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreateAssistant struct { } diff --git a/service/workdocs/deserializers.go b/service/workdocs/deserializers.go index ddcafbe5674..3111ed28d7f 100644 --- a/service/workdocs/deserializers.go +++ b/service/workdocs/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "io/ioutil" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpAbortDocumentVersionUpload struct { } diff --git a/service/worklink/deserializers.go b/service/worklink/deserializers.go index 9b23d0a9c72..0cce74fa3b6 100644 --- a/service/worklink/deserializers.go +++ b/service/worklink/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpAssociateDomain struct { } diff --git a/service/workmail/deserializers.go b/service/workmail/deserializers.go index d749c44b461..81231512b41 100644 --- a/service/workmail/deserializers.go +++ b/service/workmail/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpAssociateDelegateToResource struct { } diff --git a/service/workmailmessageflow/deserializers.go b/service/workmailmessageflow/deserializers.go index c9105d7b3a4..78d060d791a 100644 --- a/service/workmailmessageflow/deserializers.go +++ b/service/workmailmessageflow/deserializers.go @@ -13,11 +13,21 @@ import ( 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" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpGetRawMessageContent struct { } diff --git a/service/workspaces/deserializers.go b/service/workspaces/deserializers.go index 1c7f2f6cf09..08650cdf107 100644 --- a/service/workspaces/deserializers.go +++ b/service/workspaces/deserializers.go @@ -17,8 +17,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" "io" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsAwsjson11_deserializeOpAcceptAccountLinkInvitation struct { } diff --git a/service/workspacesthinclient/deserializers.go b/service/workspacesthinclient/deserializers.go index d9c91f4b233..218836195a8 100644 --- a/service/workspacesthinclient/deserializers.go +++ b/service/workspacesthinclient/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "strconv" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpCreateEnvironment struct { } diff --git a/service/workspacesweb/deserializers.go b/service/workspacesweb/deserializers.go index 910f9f842db..f1b7b17a7cd 100644 --- a/service/workspacesweb/deserializers.go +++ b/service/workspacesweb/deserializers.go @@ -19,8 +19,17 @@ import ( "io" "strconv" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpAssociateBrowserSettings struct { } diff --git a/service/xray/deserializers.go b/service/xray/deserializers.go index 46189d07daf..f8ff318747b 100644 --- a/service/xray/deserializers.go +++ b/service/xray/deserializers.go @@ -18,8 +18,17 @@ import ( "io" "math" "strings" + "time" ) +func deserializeS3Expires(v string) (*time.Time, error) { + t, err := smithytime.ParseHTTPDate(v) + if err != nil { + return nil, nil + } + return &t, nil +} + type awsRestjson1_deserializeOpBatchGetTraces struct { }