- Dependency Update: Updated to the latest SDK module versions
github.com/aws/aws-sdk-go-v2/internal/ini: v1.1.0- Feature: Support for
:,=,[,]being present in expression values.
- Feature: Support for
github.com/aws/aws-sdk-go-v2/service/autoscaling: v1.9.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/databrew: v1.6.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/ec2: v1.11.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/glue: v1.8.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/kendra: v1.8.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/mediaconvert: v1.7.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/mediapackagevod: v1.6.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/redshift: v1.8.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/sagemaker: v1.9.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/servicediscovery: v1.7.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/sqs: v1.6.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/ssmcontacts: v1.2.0- Feature: API client updated
- Feature: Updated
github.com/aws/smithy-goto latest version - Dependency Update: Updated to the latest SDK module versions
github.com/aws/aws-sdk-go-v2: v1.7.0- Feature: Adds configuration values for enabling endpoint discovery.
- Bug Fix: Keep Object-Lock headers a header when presigning Sigv4 signing requests
github.com/aws/aws-sdk-go-v2/config: v1.4.0- Feature: Adds configuration setting for enabling endpoint discovery.
github.com/aws/aws-sdk-go-v2/credentials: v1.3.0- Bug Fix: Fixed example usages of aws.CredentialsCache (#1275)
github.com/aws/aws-sdk-go-v2/feature/cloudfront/sign: v1.2.0- Feature: Add UnmarshalJSON for AWSEpochTime to correctly unmarshal AWSEpochTime, (#1298)
github.com/aws/aws-sdk-go-v2/internal/configsources: v1.0.0- Release: Release new modules
github.com/aws/aws-sdk-go-v2/service/amp: v1.2.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/amplify: v1.3.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/amplifybackend: v1.2.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/appflow: v1.5.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/appmesh: v1.4.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/chime: v1.5.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/cloud9: v1.5.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/cloudformation: v1.6.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/cloudfront: v1.6.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/cloudsearch: v1.4.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/cloudwatch: v1.5.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/cloudwatchevents: v1.5.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/codebuild: v1.5.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/codegurureviewer: v1.5.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/cognitoidentity: v1.4.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/cognitoidentityprovider: v1.4.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/connect: v1.5.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/dax: v1.3.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/docdb: v1.7.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/dynamodb: v1.4.0- Feature: Adds support for endpoint discovery.
github.com/aws/aws-sdk-go-v2/service/ec2: v1.10.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/elasticache: v1.7.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/elasticbeanstalk: v1.4.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/elasticloadbalancing: v1.4.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2: v1.4.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/eventbridge: v1.5.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/greengrass: v1.5.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/greengrassv2: v1.4.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/iam: v1.6.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/internal/endpoint-discovery: v1.0.0- Release: Release new modules
- Feature: Module supporting endpoint-discovery across all service clients.
github.com/aws/aws-sdk-go-v2/service/iot: v1.7.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/iotanalytics: v1.3.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/kendra: v1.7.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/kms: v1.4.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/lexmodelsv2: v1.3.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/lexruntimev2: v1.2.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/licensemanager: v1.5.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/lookoutmetrics: v1.2.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/managedblockchain: v1.4.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/mediaconnect: v1.6.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/medialive: v1.7.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/mediatailor: v1.4.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/neptune: v1.6.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/proton: v1.1.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/quicksight: v1.6.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/ram: v1.5.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/rds: v1.5.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/redshift: v1.7.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/redshiftdata: v1.4.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/route53: v1.7.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/sagemaker: v1.8.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/sagemakerfeaturestoreruntime: v1.4.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/securityhub: v1.7.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/ses: v1.4.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/snowball: v1.5.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/sns: v1.6.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/sqs: v1.5.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/sts: v1.5.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/timestreamquery: v1.3.0- Feature: Adds support for endpoint discovery.
github.com/aws/aws-sdk-go-v2/service/timestreamwrite: v1.3.0- Feature: Adds support for endpoint discovery.
github.com/aws/aws-sdk-go-v2/service/transfer: v1.5.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/waf: v1.3.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/wafv2: v1.6.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/autoscaling: v1.7.0- Feature: Updated to latest API model.
github.com/aws/aws-sdk-go-v2/service/cloudtrail: v1.3.2- Documentation: Updated to latest API model.
github.com/aws/aws-sdk-go-v2/service/cognitoidentityprovider: v1.3.3- Documentation: Updated to latest API model.
github.com/aws/aws-sdk-go-v2/service/eks: v1.6.0- Feature: Updated to latest API model.
github.com/aws/aws-sdk-go-v2/service/fsx: v1.6.0- Feature: Updated to latest API model.
github.com/aws/aws-sdk-go-v2/service/glue: v1.6.0- Feature: Updated to latest API model.
github.com/aws/aws-sdk-go-v2/service/kendra: v1.6.0- Feature: Updated to latest API model.
github.com/aws/aws-sdk-go-v2/service/macie2: v1.7.0- Feature: Updated to latest API model.
github.com/aws/aws-sdk-go-v2/service/medialive: v1.6.0- Feature: Updated to latest API model.
github.com/aws/aws-sdk-go-v2/service/pi: v1.4.0- Feature: Updated to latest API model.
github.com/aws/aws-sdk-go-v2/service/proton: v1.0.0- Release: New AWS service client module
github.com/aws/aws-sdk-go-v2/service/qldb: v1.3.1- Documentation: Updated to latest API model.
github.com/aws/aws-sdk-go-v2/service/rds: v1.4.2- Documentation: Updated to latest API model.
github.com/aws/aws-sdk-go-v2/service/sagemaker: v1.7.0- Feature: Updated to latest API model.
github.com/aws/aws-sdk-go-v2/service/transfer: v1.4.1- Documentation: Updated to latest API model.
- Dependency Update: Updated to the latest SDK module versions
github.com/aws/aws-sdk-go-v2/service/acmpca: v1.5.0- Feature: Updated service client to latest API model.
github.com/aws/aws-sdk-go-v2/service/autoscaling: v1.6.0- Feature: Updated service client to latest API model.
github.com/aws/aws-sdk-go-v2/service/braket: v1.4.0- Feature: Updated service client to latest API model.
github.com/aws/aws-sdk-go-v2/service/cloudfront: v1.5.2- Documentation: Updated service client to latest API model.
github.com/aws/aws-sdk-go-v2/service/datasync: v1.4.0- Feature: Updated service client to latest API model.
github.com/aws/aws-sdk-go-v2/service/devicefarm: v1.3.0- Feature: Updated service client to latest API model.
github.com/aws/aws-sdk-go-v2/service/docdb: v1.6.0- Feature: Updated service client to latest API model.
github.com/aws/aws-sdk-go-v2/service/ec2: v1.9.0- Feature: Updated service client to latest API model.
github.com/aws/aws-sdk-go-v2/service/ecs: v1.5.0- Feature: Updated service client to latest API model.
github.com/aws/aws-sdk-go-v2/service/forecast: v1.7.0- Feature: Updated service client to latest API model.
github.com/aws/aws-sdk-go-v2/service/fsx: v1.5.0- Feature: Updated service client to latest API model.
github.com/aws/aws-sdk-go-v2/service/iam: v1.5.1- Documentation: Updated service client to latest API model.
github.com/aws/aws-sdk-go-v2/service/internal/s3shared: v1.4.0- Feature: The handling of AccessPoint and Outpost ARNs have been updated.
github.com/aws/aws-sdk-go-v2/service/iotevents: v1.4.0- Feature: Updated service client to latest API model.
github.com/aws/aws-sdk-go-v2/service/ioteventsdata: v1.3.0- Feature: Updated service client to latest API model.
github.com/aws/aws-sdk-go-v2/service/iotsitewise: v1.6.0- Feature: Updated service client to latest API model.
github.com/aws/aws-sdk-go-v2/service/iotwireless: v1.6.0- Feature: Updated service client to latest API model.
github.com/aws/aws-sdk-go-v2/service/kendra: v1.5.0- Feature: Updated service client to latest API model.
github.com/aws/aws-sdk-go-v2/service/lightsail: v1.6.1- Documentation: Updated service client to latest API model.
github.com/aws/aws-sdk-go-v2/service/location: v1.2.0- Feature: Updated service client to latest API model.
github.com/aws/aws-sdk-go-v2/service/mwaa: v1.2.0- Feature: Updated service client to latest API model.
github.com/aws/aws-sdk-go-v2/service/outposts: v1.4.0- Feature: Updated service client to latest API model.
github.com/aws/aws-sdk-go-v2/service/polly: v1.3.0- Feature: Updated service client to latest API model.
github.com/aws/aws-sdk-go-v2/service/qldb: v1.3.0- Feature: Updated service client to latest API model.
github.com/aws/aws-sdk-go-v2/service/resourcegroups: v1.3.2- Documentation: Updated service client to latest API model.
github.com/aws/aws-sdk-go-v2/service/route53: v1.6.2- Documentation: Updated service client to latest API model.
github.com/aws/aws-sdk-go-v2/service/route53resolver: v1.4.2- Documentation: Updated service client to latest API model.
github.com/aws/aws-sdk-go-v2/service/s3: v1.10.0- Feature: The handling of AccessPoint and Outpost ARNs have been updated.
- Feature: Updated service client to latest API model.
github.com/aws/aws-sdk-go-v2/service/s3control: v1.7.0- Feature: The handling of AccessPoint and Outpost ARNs have been updated.
- Feature: Updated service client to latest API model.
github.com/aws/aws-sdk-go-v2/service/servicediscovery: v1.5.0- Feature: Updated service client to latest API model.
github.com/aws/aws-sdk-go-v2/service/sns: v1.5.0- Feature: Updated service client to latest API model.
github.com/aws/aws-sdk-go-v2/service/sqs: v1.4.2- Documentation: Updated service client to latest API model.
github.com/aws/aws-sdk-go-v2/service/ssm: v1.6.2- Documentation: Updated service client to latest API model.
- Dependency Update: Updated to the latest SDK module versions
github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs: v1.4.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/commander: v1.1.0- Feature: Deprecated module. The API client was incorrectly named. Use AWS Systems Manager Incident Manager (ssmincidents) instead.
github.com/aws/aws-sdk-go-v2/service/computeoptimizer: v1.5.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/costexplorer: v1.6.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/ec2: v1.8.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/efs: v1.4.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/forecast: v1.6.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/iot: v1.6.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/opsworkscm: v1.4.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/quicksight: v1.5.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/s3: v1.9.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/ssmincidents: v1.0.0- Release: New AWS service client module
github.com/aws/aws-sdk-go-v2/service/transfer: v1.4.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/workspaces: v1.4.0- Feature: API client updated
- Dependency Update: Updated to the latest SDK module versions
github.com/aws/aws-sdk-go-v2: v1.6.0- Feature:
internal/ini: This package has been migrated to a separate module atgithub.com/aws/aws-sdk-go-v2/internal/ini.
- Feature:
github.com/aws/aws-sdk-go-v2/config: v1.3.0- Feature: SSO credentials can now be defined alongside other credential providers within the same configuration profile.
- Bug Fix: Profile names were incorrectly normalized to lower-case, which could result in unexpected profile configurations.
github.com/aws/aws-sdk-go-v2/internal/ini: v1.0.0- Release: The
github.com/aws/aws-sdk-go-v2/internal/inipackage is now a Go Module.
- Release: The
github.com/aws/aws-sdk-go-v2/service/applicationcostprofiler: v1.0.0- Release: New AWS service client module
- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/apprunner: v1.0.0- Release: New AWS service client module
- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/autoscaling: v1.5.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/computeoptimizer: v1.4.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/detective: v1.6.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/eks: v1.5.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/elasticache: v1.6.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/elasticsearchservice: v1.4.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/iam: v1.5.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/imagebuilder: v1.5.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/iot: v1.5.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/iotdeviceadvisor: v1.4.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/iotsitewise: v1.5.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/kinesis: v1.4.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/kinesisanalytics: v1.3.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/kinesisanalyticsv2: v1.4.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/lexmodelsv2: v1.2.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/licensemanager: v1.4.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/lightsail: v1.6.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/macie: v1.4.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/macie2: v1.6.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/mediaconnect: v1.5.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/neptune: v1.5.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/personalize: v1.5.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/quicksight: v1.4.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/rekognition: v1.5.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/s3: v1.8.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/sagemaker: v1.6.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/sagemakera2iruntime: v1.3.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/securityhub: v1.6.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/support: v1.3.0- Feature: API client updated
github.com/aws/aws-sdk-go-v2/service/transcribe: v1.4.0- Feature: API client updated
- Feature: Constant has been added to modules to enable runtime version inspection for reporting.
- Dependency Update: Updated to the latest SDK module versions
github.com/aws/aws-sdk-go-v2: v1.5.0- Feature:
AddSDKAgentKeyandAddSDKAgentKeyValueinaws/middlewarepackage have been updated to direct metadata toUser-AgentHTTP header.
- Feature:
github.com/aws/aws-sdk-go-v2/service/codeartifact: v1.3.0- Feature: Updated to latest service API model.
github.com/aws/aws-sdk-go-v2/service/commander: v1.0.0- Release: New AWS service client module
- Feature: Updated to latest service API model.
github.com/aws/aws-sdk-go-v2/service/configservice: v1.5.0- Feature: Updated to latest service API model.
github.com/aws/aws-sdk-go-v2/service/connect: v1.4.0- Feature: Updated to latest service API model.
github.com/aws/aws-sdk-go-v2/service/ec2: v1.7.0- Feature: Updated to latest service API model.
github.com/aws/aws-sdk-go-v2/service/ecs: v1.4.0- Feature: Updated to latest service API model.
github.com/aws/aws-sdk-go-v2/service/eks: v1.4.0- Feature: Updated to latest service API model.
github.com/aws/aws-sdk-go-v2/service/finspace: v1.0.0- Release: New AWS service client module
- Feature: Updated to latest service API model.
github.com/aws/aws-sdk-go-v2/service/finspacedata: v1.0.0- Release: New AWS service client module
- Feature: Updated to latest service API model.
github.com/aws/aws-sdk-go-v2/service/iot: v1.4.0- Feature: Updated to latest service API model.
github.com/aws/aws-sdk-go-v2/service/iotwireless: v1.5.0- Feature: Updated to latest service API model.
github.com/aws/aws-sdk-go-v2/service/kinesis: v1.3.0- Feature: Updated to latest service API model.
github.com/aws/aws-sdk-go-v2/service/kinesisanalytics: v1.2.0- Feature: Updated to latest service API model.
github.com/aws/aws-sdk-go-v2/service/kinesisanalyticsv2: v1.3.0- Feature: Updated to latest service API model.
github.com/aws/aws-sdk-go-v2/service/lakeformation: v1.3.0- Feature: Updated to latest service API model.
github.com/aws/aws-sdk-go-v2/service/lookoutmetrics: v1.1.0- Feature: Updated to latest service API model.
github.com/aws/aws-sdk-go-v2/service/mediaconvert: v1.5.0- Feature: Updated to latest service API model.
github.com/aws/aws-sdk-go-v2/service/route53: v1.6.0- Feature: Updated to latest service API model.
github.com/aws/aws-sdk-go-v2/service/s3: v1.7.0- Feature: Updated to latest service API model.
github.com/aws/aws-sdk-go-v2/service/s3control: v1.6.0- Feature: Updated to latest service API model.
github.com/aws/aws-sdk-go-v2/service/ssm: v1.6.0- Feature: Updated to latest service API model.
github.com/aws/aws-sdk-go-v2/service/ssmcontacts: v1.0.0- Release: New AWS service client module
- Feature: Updated to latest service API model.
service/ec2- v1.6.0- This release contains a breaking change to the Amazon EC2 API client. API number(int/int64/etc) and boolean members were changed from value, to pointer type. Your applications using the EC2 API client will fail to compile after upgrading for all members that were updated. To migrate to this module you'll need to update your application to use pointers for all number and boolean members in the API client module. The SDK provides helper utilities to convert between value and pointer types. For example the aws.Bool function to get the address from a bool literal. Similar utilities are available for all other primitive types in the aws package.
service/acmpca- v1.3.0- Feature: API client updated
service/apigateway- v1.3.0- Feature: API client updated
service/auditmanager- v1.4.0- Feature: API client updated
service/chime- v1.3.0- Feature: API client updated
service/cloudformation- v1.4.0- Feature: API client updated
service/cloudfront- v1.4.0- Feature: API client updated
service/codegurureviewer- v1.3.0- Feature: API client updated
service/connect- v1.3.0- Feature: API client updated
service/customerprofiles- v1.5.0- Feature: API client updated
service/devopsguru- v1.3.0- Feature: API client updated
service/docdb- v1.4.0- Feature: API client updated
service/ec2- v1.6.0- Bug Fix: Fix incorrectly modeled Amazon EC2 number and boolean members in structures. The Amazon EC2 API client has been updated with a breaking change to fix all structure number and boolean members to be pointer types instead of value types. Fixes #1107, #1178, and #1190. This breaking change is made within the major version of the client' module, because the client operations failed and were unusable with value type number and boolean members with the EC2 API.
- Feature: API client updated
service/ecs- v1.3.0- Feature: API client updated
service/eks- v1.3.0- Feature: API client updated
service/forecast- v1.4.0- Feature: API client updated
service/glue- v1.4.0- Feature: API client updated
service/health- v1.3.0- Feature: API client updated
service/iotsitewise- v1.3.0- Feature: API client updated
service/iotwireless- v1.4.0- Feature: API client updated
service/kafka- v1.3.0- Feature: API client updated
service/kinesisanalyticsv2- v1.2.0- Feature: API client updated
service/macie2- v1.4.0- Feature: API client updated
service/marketplacecatalog- v1.2.0- Feature: API client updated
service/mediaconvert- v1.4.0- Feature: API client updated
service/mediapackage- v1.4.0- Feature: API client updated
service/mediapackagevod- v1.3.0- Feature: API client updated
service/mturk- v1.2.0- Feature: API client updated
service/nimble- v1.0.0- Feature: API client updated
service/organizations- v1.3.0- Feature: API client updated
service/personalize- v1.3.0- Feature: API client updated
service/robomaker- v1.4.0- Feature: API client updated
service/route53- v1.5.0- Feature: API client updated
service/s3- v1.6.0- Bug Fix: Fix PutObject and UploadPart unseekable stream documentation link to point to the correct location.
- Feature: API client updated
service/sagemaker- v1.4.0- Feature: API client updated
service/securityhub- v1.4.0- Feature: API client updated
service/servicediscovery- v1.3.0- Feature: API client updated
service/snowball- v1.3.0- Feature: API client updated
service/sns- v1.3.0- Feature: API client updated
service/ssm- v1.5.0- Feature: API client updated
- Dependency Update: Update smithy-go dependency to v1.4.0
- Dependency Update: Updated SDK dependencies to their latest versions.
aws- v1.4.0- Feature: Add support for FIPS global partition endpoints (#1242)
service/cloudformation- v1.3.2- Documentation: Service Documentation Updates
service/cognitoidentityprovider- v1.2.3- Documentation: Service Documentation Updates
service/costexplorer- v1.4.0- Feature: Service API Updates
service/databasemigrationservice- v1.3.0- Feature: Service API Updates
service/detective- v1.4.0- Feature: Service API Updates
service/elasticache- v1.4.0- Feature: Service API Updates
service/forecast- v1.3.0- Feature: Service API Updates
service/groundstation- v1.3.0- Feature: Service API Updates
service/kendra- v1.3.0- Feature: Service API Updates
service/redshift- v1.5.0- Feature: Service API Updates
service/savingsplans- v1.2.0- Feature: Service API Updates
service/securityhub- v1.3.0- Feature: Service API Updates
- Dependency Update: Updated SDK dependencies to their latest versions.
feature/rds/auth- v1.0.0- Feature: Add Support for Amazon RDS IAM Authentication
service/codebuild- v1.3.0- Feature: API client updated
service/codestarconnections- v1.2.0- Feature: API client updated
service/comprehendmedical- v1.2.0- Feature: API client updated
service/configservice- v1.4.0- Feature: API client updated
service/ec2- v1.5.0- Feature: API client updated
service/fsx- v1.3.0- Feature: API client updated
service/lightsail- v1.4.0- Feature: API client updated
service/mediaconnect- v1.3.0- Feature: API client updated
service/rds- v1.3.0- Feature: API client updated
service/redshift- v1.4.0- Feature: API client updated
service/shield- v1.3.0- Feature: API client updated
service/sts- v1.3.0- Feature: API client updated
- Dependency Update: Updated SDK dependencies to their latest versions.
- Feature: API model sync
service/lookoutequipment- v1.0.0- v1 Release: new service client
service/mgn- v1.0.0- v1 Release: new service client
- Dependency Update: smithy-go version bump
- Dependency Update: Updated SDK dependencies to their latest versions.
- Bug Fix: Fix URL Path and RawQuery of resolved endpoint being ignored by the API client's request serialization.
- Fixes issue#1191
- Refactored internal endpoints model for accessors
- Feature: updated to latest models
- New services
service/location- v1.0.0service/lookoutmetrics- v1.0.0
- Dependency Update: update smithy-go module
- Dependency Update: Updated SDK dependencies to their latest versions.
- Bug Fix: Updated presign URLs to no longer include the X-Amz-User-Agent header
- Feature: Update API model
- Add New supported API
service/internal/s3shared- v1.2.0- Feature: Support for S3 Object Lambda
service/s3- v1.3.0- Bug Fix: Adds documentation to the PutObject and UploadPart operations Body member how to upload unseekable objects to an Amazon S3 Bucket.
- Feature: S3 Object Lambda is a new S3 feature that enables users to apply their own custom code to process the output of a standard S3 GET request by automatically invoking a Lambda function with a GET request
service/s3control- v1.3.0- Feature: S3 Object Lambda is a new S3 feature that enables users to apply their own custom code to process the output of a standard S3 GET request by automatically invoking a Lambda function with a GET request
- Dependency Update: Updated SDK dependencies to their latest versions.
aws- v1.3.0- Feature: Add helper to V4 signer package to swap compute payload hash middleware with unsigned payload middleware
feature/s3/manager- v1.1.0- Bug Fix: Add support for Amazon S3 Object Lambda feature.
- Feature: Updates for S3 Object Lambda feature
- Bug Fix: Fixed a bug that could union shape types to be deserialized incorrectly
- Bug Fix: Fixed a bug where unboxed shapes that were marked as required were not serialized and sent over the wire, causing an API error from the service.
- Bug Fix: Fixed a bug with generated API Paginators' handling of nil input parameters causing a panic.
- Dependency Update: update smithy-go dependency
service/detective- v1.1.2- Bug Fix: Fix deserialization of API response timestamp member.
service/docdb- v1.2.0- Feature: Client now support presigned URL generation for CopyDBClusterSnapshot and CreateDBCluster operations by specifying the target SourceRegion
service/neptune- v1.2.0- Feature: Client now support presigned URL generation for CopyDBClusterSnapshot and CreateDBCluster operations by specifying the target SourceRegion
service/s3- v1.2.1- Bug Fix: Fixed an issue where ListObjectsV2 and ListParts paginators could loop infinitely
- Bug Fix: Fixed key encoding when addressing S3 Access Points
- Dependency Update: Updated SDK dependencies to their latest versions.
config- v1.1.2- Bug Fix: Fixed a panic when using WithEC2IMDSRegion without a specified IMDS client
service/s3- v1.2.0- Feature: adds support for s3 vpc endpoint interface #1113
service/s3control- v1.2.0- Feature: adds support for s3 vpc endpoint interface #1113
- Dependency Update: Updated SDK dependencies to their latest versions.
aws- v1.2.0- Feature: support to add endpoint source on context. Adds getter/setter for the endpoint source #1113
config- v1.1.1
- Bug Fix: A serialization bug has been fixed that caused some service operations with empty inputs to not be serialized correctly (#1071)
- Bug Fix: Fixes a bug that could cause a waiter to fail when comparing types (#1083)
- Feature: EndpointResolverFromURL helpers have been added for constructing a service EndpointResolver type (#1066)
- Dependency Update: Updated SDK dependencies to their latest versions.
aws- v1.1.0- Feature: Add support for specifying the EndpointSource on aws.Endpoint types (#1070)
config- v1.1.0- Feature: Add Support for AWS Single Sign-On (SSO) credential provider (#1072)
credentials- v1.1.0- Feature: Add AWS Single Sign-On (SSO) credential provider (#1072)
We are excited to announce the General Availability (GA) release of the AWS SDK for Go version 2 (v2). This release follows the Release candidate of the AWS SDK for Go v2. Version 2 incorporates customer feedback from version 1 and takes advantage of modern Go language features.
aws: Updated Config.Retryer member to be a func that returns aws.Retryer (#1033)- Updates the SDK's references to Config.Retryer to be a function that returns aws.Retryer value. This ensures that custom retry options specified in the
aws.Configare scoped to individual client instances. - All API clients created with the config will call the
Config.Retryerfunction to get an aws.Retryer. - Removes duplicate
Retryerinterface fromretrypackage. Single definition isaws.Retryernow.
- Updates the SDK's references to Config.Retryer to be a function that returns aws.Retryer value. This ensures that custom retry options specified in the
aws/middleware: UpdatesAddAttemptClockSkewMiddlewareto use appropriateAddRecordResponseTimingnaming (#1031)- Removes
ResponseMetadatastruct type, and adds its members to middleware metadata directly, to improve discoverability.
- Removes
config: Updated theWithRetryerhelper to take a function that returns an aws.Retryer (#1033)- All API clients created with the config will call the
Config.Retryerfunction to get an aws.Retryer.
- All API clients created with the config will call the
API Clients: Fix SDK's API client enum constant name generation to have expected casing (#1020)- This updates of the generated enum const value names in API client's
typespackage to have the expected casing. Prior to this, enum names were being generated with lowercase names instead of camel case.
- This updates of the generated enum const value names in API client's
API Clients: Updates SDK's API client request middleware stack values to be scoped to individual operation call (#1019)- The API client request middleware stack values were mistakenly allowed to escape to nested API operation calls. This broke the SDK's presigners.
- Stack values that should not escape are not scoped to the individual operation call.
Multiple API Clients: Unexported the API client'sWithEndpointResolverthis type wasn't intended to be exported (#1051)- Using the
aws.Config.EndpointResolvermember for setting custom endpoint resolver instead.
- Using the
service/sts: Add support for presigning GetCallerIdentity operation (#1030)- Adds a PresignClient to the
stsAPI client module. Use PresignGetCallerIdentity to obtain presigned URLs for the create presigned URLs for the GetCallerIdentity operation. - Fixes #1021
- Adds a PresignClient to the
aws/retry: Add package documentation for retry package (#1033)- Adds documentation for the retry package
Multiple API Clients: Fix SDK's generated serde for unmodeled operation input/output (#1050)- Fixes #1047 by fixing the how the SDKs generated serialization and deserialization of API operations that did not have modeled input or output types. This caused the SDK to incorrectly attempt to deserialize response documents that were either empty, or contained unexpected data.
service/s3: Fix Tagging parameter not serialized correctly for presigned PutObject requests (#1017)- Fixes the Tagging parameter incorrectly being serialized to the URL's query string instead of being signed as a HTTP request header.
- When using PresignPutObject make sure to add all signed headers returned by the method to your down stream's HTTP client's request. These headers must be included in the request, or the request will fail with signature errors.
- Fixes #1016
service/s3: Fix UnmarshalingGetObjectAcloperation's Grantee type response (#1034)- Updates the SDK's codegen for correctly deserializing XML attributes in tags with XML namespaces.
- Fixes #1013
service/s3: Fix UnmarshalingGetBucketLocationoperation's response (#1027)- Fixes #908
If your application sets the Config.Retryer member the application will need
to be updated to set a function that returns an aws.Retryer. In addition, if
your application used the config.WithRetryer helper a function that returns
an aws.Retryer needs to be used.
If your application used the retry.Retryer type, update to using the
aws.Retryer type instead.
If your application used the enum values in the API Client's types package between v0.31.0 and the latest version of the client module you may need to update the naming of the enum value. The enum value name casing were updated to camel case instead lowercased.
We’re happy to announce the Release Candidate (RC) of the AWS SDK for Go v2. This RC follows the developer preview release of the AWS SDK for Go v2. The SDK has undergone a major rewrite from the v1 code base to incorporate your feedback and to take advantage of modern Go language features.
- Developer Guide: https://aws.github.io/aws-sdk-go-v2/docs/
- API Reference docs: https://pkg.go.dev/github.com/aws/aws-sdk-go-v2
- Migration Guide: https://aws.github.io/aws-sdk-go-v2/docs/migrating/
- Dependency
github.com/awslabs/smithy-gohas been relocated togithub.com/aws/smithy-go- The
smithy-gorepository was moved from theawslabsGitHub organization toaws. xml,httpbinding, andjsonpackage relocated underencodingpackage.
- The
- The module
ec2imdsmoved tofeature/ec2/imdspath (#984)- Moves the
ec2imdsfeature module to be in common location as other SDK features.
- Moves the
aws/signer/v4: Refactor AWS Sigv4 Signer and options types to allow function options (#955)aws: CredentialCache type updated to require constructor function (#946)- Fixes #940
credentials: ExpiryWindow and Jitter moved from credential provider toCredentialCache(#946)- Moves ExpiryWindow and Jitter options to common option of the
CredentialCacheinstead of duplicated across providers. - Fixes #940
- Moves ExpiryWindow and Jitter options to common option of the
config: Ensure shared credentials file has precedence over shared config file (#990)- The shared config file was incorrectly overriding the shared credentials file when merging values.
config: Addcontext.ContexttoLoadDefaultConfig(#951)aws: RenameNoOpRetryertoNopRetryerto have consistent naming with rest of SDK (#987)- Fixes #878
service/s3control: ChangeS3InitiateRestoreObjectOperation.ExpirationInDaysfrom value to pointer type (#988)aws:ReaderSeekerCloserandWriteAtBufferhave been relocated tofeature/s3/manager.
- Waiters: Add Waiter utilities for API clients (aws/smithy-go#237)
- Your application can now use Waiter utilities to wait for AWS resources.
feature/dynamodb/attributevalue: Add Amazon DynamoDB Attribute value marshaler utility (#948)- Adds a utility for marshaling Go types too and from Amazon DynamoDB AttributeValues.
- Also includes utility for converting from Amazon DynamoDB Streams AttributeValues to Amazon DynamoDB AttributeValues.
feature/dynamodbstreams/attributevalue: Add Amazon DynamoDB Streams Attribute value marshaler utility (#948)- Adds a utility for marshaling Go types too and from Amazon DynamoDB Streams AttributeValues.
- Also includes utility for converting from Amazon DynamoDB AttributeValues to Amazon DynamoDB Streams AttributeValues.
feature/dynamodb/expression: Add Amazon DynamoDB expression utility (#981)- Adds the expression utility to the SDK for easily building Amazon DynamoDB operation expressions in code.
service/s3: Fix Presigner to configure client correctly for Amazon S3 (#969)- service/s3: Fix deserialization of CompleteMultipartUpload (#965
- Fixes #927
codegen: Fix API client union serialization (#979)- Fixes #978
- API Clients have been bumped to version
v0.31.0 - Regenerate API Clients from updated API models adding waiter utilities, and union parameters.
codegen:- Add documentation to union API parameters describing valid member types, and usage example (aws/smithy-go#239)
- Normalize Metadata header map keys to be lower case (aws/smithy-go#241), (#982)
- Fixes #376 Amazon S3 Metadata parameters keys are always returned as lower case.
- Fix API client deserialization of XML based responses (aws/smithy-go#245), (#992)
- Fixes #910
service/s3,service/s3control:
- Updates branch
HEADpoints frommastertomain.- This should not impact your application, but if you have pull requests or forks of the SDK you may need to update the upstream branch your fork is based off of.
If your application uses smithy-go utilities for request pipeline your application will need to be updated to refer to the new import path of github.com/aws/smithy-go. If you application did not use smithy-go utilities directly, your application will update automatically.
If your application used the ec2imds module, it has been relocated to feature/ec2/imds. Your application will need to update to the new import path, github.com/aws/aws-sdk-go-v2/feature/ec2/imds.
The aws#CredentialsCache type was updated, and a new constructor function, NewCredentialsCache was added. This function needs to be used to initialize the CredentialCache. The constructor also has function options to specify additional configuration, e.g. ExpiryWindow and Jitter.
If your application was specifying the ExpiryWindow with the credentials/stscreds#AssumeRoleOptions, credentials/stscreds#WebIdentityRoleOptions, credentials/processcreds#Options, or credentials/ec2rolecrds#Options types the ExpiryWindow option will need to specified on the CredentialsCache constructor instead.
The aws/signer/v4 package's Signer.SignHTTP and Signer.PresignHTTP methods were updated to take functional options. If your application provided a custom implementation for API client's HTTPSignerV4 or HTTPPresignerV4 interfaces, that implementation will need to be updated for the new function signature.
The config#LoadDefaultConfig function has been updated to require a context.Context as the first parameter, with additional optional function options as variadic additional arguments. Your application will need to update its usage of LoadDefaultConfig to pass in context.Context as the first parameter. If your application used the With... helpers those should continue to work without issue.
The v2 SDK corrects its behavior to be inline with the AWS CLI and other AWS SDKs. Refer to https://docs.aws.amazon.com/credref/latest/refdocs/overview.html for more information how to use the shared config and credentials files.
codegen: Add support for slice and maps generated with value members instead of pointer (#887)- This update allow the SDK's code generation to be aware of API shapes and members that are not nullable, and can be rendered as value types by the code generation instead of pointer types.
- Several API client parameter types will change from pointer members to value members for slice, map, number and bool member types.
- See Migration notes for migrating to v0.30.0 with this change.
aws/transport/http: Move aws.BuildableHTTPClient to HTTP transport package (#898)- Moves the
BuildableHTTPClientfrom the SDK'sawspackage to theaws/transport/httppackage asBuildableClientto with other HTTP specific utilities.
- Moves the
feature/cloudfront/sign: Add CloudFront sign feature as module (#884)- Moves
service/cloudfront/signpackage out of thecloudfrontmodule, and into its own module asgithub.com/aws/aws-sdk-go-v2/feature/cloudfront/sign.
- Moves
config: Add a WithRetryer provider helper to the config loader (#897)- Adds a
WithRetryerconfiguration provider to the config loader as a convenience helper to set theRetryeron theaws.Configwhen its being loaded.
- Adds a
config: Default to TLS 1.2 for HTTPS requests (#892)- Updates the SDK's default HTTP client to use TLS 1.2 as the minimum TLS version for all HTTPS requests by default.
config: Fix AWS_CA_BUNDLE usage while loading default config (#912)- Fixes the
LoadDefaultConfig's configuration provider order to correctly load a custom HTTP client prior to configuring the client forAWS_CA_BUNDLEenvironment variable.
- Fixes the
service/s3: Fix signature mismatch error for s3 (#913)- Fixes (#883)
service/s3control:
- Pagination support has been added to supported APIs. See Using Operation Paginators in the Developer Guide. (#885)
- Logging support has been added to service clients. See Logging in the Developer Guide. (#872)
service: Add support for pre-signed URL clients for S3, RDS, EC2 service (#888)service/s3: operationsPutObjectandGetObjectare now supported with s3 pre-signed url client.service/ec2: operationCopySnapshotis now supported with ec2 pre-signed url client.service/rds: operationsCopyDBSnapshot,CreateDBInstanceReadReplica,CopyDBClusterSnapshot,CreateDBClusterare now supported with rds pre-signed url client.
service/s3: Add support for S3 access point and S3 on outposts access point ARNs (#870)service/s3control: Adds support for S3 on outposts access point and S3 on outposts bucket ARNs (#870)
The aws's BuildableHTTPClient HTTP client implementation was moved to aws/transport/http as BuildableClient. If your application used the aws.BuildableHTTPClient type, update it to use the BuildableClient in the aws/transport/http package.
This release includes several code generation updates for API client's slice map members. Using API modeling metadata the Slice and map members are now generated as value types instead of pointer types. For your application this means that for these types, the SDK no longer will have pointer member types, and have value member types.
To migrate to this change you'll need to remove the pointer handling for slice and map members, and instead use value type handling of the member values.
Similar to the slice and map API member types being generated as value, the SDK's code generation now has metadata where the SDK can generate boolean and number members as value type instead of pointer types.
To migrate to this change you'll need to remove the pointer handling for numbers and boolean member types, and instead use value handling.
- Adds HostnameImmutable flag on aws.Endpoint to direct SDK if the associated endpoint is modifiable.(#848)
- API Clients have been bumped to version
v0.29.0- Regenerate API Clients from update API models.
- Improve client doc generation.
- Dependency Update: Updated SDK dependencies to their latest versions.
- API Clients ResolverOptions type renamed to EndpointResolverOptions
service/s3: Add support for Accelerate, and Dualstack (#836)service/s3control: Add support for Dualstack (#836)
- API Clients have been bumped to version
v0.28.0- Regenerate API Clients from update API models.
service/s3: Add support for Accelerate, and Dualstack (#836)service/s3control: Add support for Dualstack (#836)service/route53: Fix sanitizeURL customization to handle leading slash(/) #846- Fixes #843
service/route53: Fix codegen to correctly look for operations that need sanitize url (#851)
aws/protocol/restjson: Fix unexpected JSON error response deserialization (#837)- Fixes #832
example/service/s3/listobjects: Add example for Amazon S3 ListObjectsV2 (#838)
feature/s3/manager:- Initial
v0.1.0release - Add the Amazon S3 Upload and Download transfer manager (#802)
- Initial
- Clients have been bumped to version
v0.27.0 service/machinelearning: Add customization for setting client endpoint with PredictEndpoint value if set (#782)service/s3: Fix empty response body deserialization in case of error response (#801)- Fixes xml deserialization util to correctly handle empty response body in case of an error response.
service/s3: Add customization to auto fill Content-Md5 request header for Amazon S3 operations (#812)service/s3: Add fallback to using HTTP status code for error code (#818)- Adds falling back to using the HTTP status code to create a API Error code when not error code is received from the service, such as HeadObject.
service/route53: Add support for deserialzingInvalidChangeBatchAPI error (#792)codegen: Remove API clientOptionsgetter methods (#788)codegen: Regenerate API Client modeled endpoints (#791)codegen: Sort API Client struct member paramaters by required and alphabetical (#787)codegen: Add package docs to API client modules (#821)codegen: Renamesmithy-go'ssmithy.OperationErrortosmithy.OperationInvokeError.
config:- Bumped to
v0.2.0 - Refactor Config Module, Add Config Package Documentation and Examples, Improve Overall SDK Readme (#822)
- Bumped to
credentials:- Bumped to
v0.1.2 - Strip Monotonic Clock Readings when Comparing Credential Expiry Time (#789)
- Bumped to
ec2imds:- Bumped to
v0.1.2 - Fix refreshing API token if expired (#789)
- Bumped to
The config module's exported types were trimmed down to add clarity and reduce confusion. Additional changes to the config module' helpers.
- Refactored
WithCredentialsProvider,WithHTTPClient, andWithEndpointResolverto functions instead of structs. - Removed
MFATokenFuncProvider, useAssumeRoleCredentialOptionsProviderfor setting options forstscreds.AssumeRoleOptions. - Renamed
WithWebIdentityCredentialProviderOptionstoWithWebIdentityRoleCredentialOptions - Renamed
AssumeRoleCredentialProviderOptionstoAssumeRoleCredentialOptionsProvider - Renamed
EndpointResolverFuncProvidertoEndpointResolverProvider
- API Client
Optionstype getter methods have been removed. Use the struct members instead. - The error returned by API Client operations was renamed from
smithy.OperationErrortosmithy.OperationInvokeError.
- Service clients have been bumped to
v0.26.0simplify the documentation experience when using pkg.go.dev. service/s3: Disable automatic decompression of getting Amazon S3 objects with theContent-Encoding: gzipmetadata header. (#748)- This changes the SDK's default behavior with regard to making S3 API calls. The client will no longer automatically set the
Accept-EncodingHTTP request header, nor will it automatically decompress the gzipped response when theContent-Encoding: gzipresponse header was received. - If you'd like the client to sent the
Accept-Encoding: gziprequest header, you can add this header to the API operation method call with the SetHeaderValue. middleware helper.
- This changes the SDK's default behavior with regard to making S3 API calls. The client will no longer automatically set the
service/cloudfront/sign: Fix cloudfront example usage of SignWithPolicy (#673)- Fixes #671 documentation typo by correcting the usage of
SignWithPolicy.
- Fixes #671 documentation typo by correcting the usage of
- SDK core module released at
v0.26.0 configmodule released atv0.1.1credentialsmodule released atv0.1.1ec2imdsmodule released atv0.1.1
We’re happy to share the updated clients for the v0.25.0 preview version of the AWS SDK for Go V2.
The updated clients leverage new developments and advancements within AWS and the Go software ecosystem at large since our original preview announcement. Using the new clients will be a bit different than before. The key differences are: simplified API operation invocation, performance improvements, support for error wrapping, and a new middleware architecture. So below we have a guided walkthrough to help try it out and share your feedback in order to better influence the features you’d like to see in the GA version.
See Announcement Blog Post for more details.
- Initial service clients released at version
v0.1.0
- SDK core module released at
v0.25.0 configmodule released atv0.1.0credentialsmodule released atv0.1.0ec2imdsmodule released atv0.1.0
The v2 preview SDK v0.25.0 release represents a significant stepping stone bringing the v2 SDK closer to its target design and usability. This release includes significant breaking changes to the v2 preview SDK. The updates in the v0.25.0 release focus on refactoring and modularization of the SDK’s API clients to use the new client design, updated request pipeline (aka middleware), refactored credential providers, and configuration loading packages.
We've also bumped the minimum supported Go version with this release. Starting with v0.25.0 the SDK requires a minimum version of Go v1.15.
As a part of the refactoring done to v2 preview SDK some components have not been included in this update. The following is a non exhaustive list of features that are not available.
- API Paginators - #439
- API Waiters - #442
- Presign URL - #794
- Amazon S3 Upload and Download manager - #802
- Amazon DynamoDB's AttributeValue marshaler, and Expression package - #790
- Debug Logging - #594
We expect additional breaking changes to the v2 preview SDK in the coming releases. We expect these changes to focus on organizational, naming, and hardening the SDK's design for future feature capabilities after it is released for general availability.
In this release packages within the SDK were relocated, and in some cases those packages were converted to Go modules. The following is a list of packages have were relocated.
github.com/aws/aws-sdk-go-v2/aws/external=>github.com/aws/aws-sdk-go-v2/configmodulegithub.com/aws/aws-sdk-go-v2/aws/ec2metadata=>github.com/aws/aws-sdk-go-v2/ec2imdsmodule
The github.com/aws/aws-sdk-go-v2/credentials module contains refactored credentials providers.
github.com/aws/aws-sdk-go-v2/ec2rolecreds=>github.com/aws/aws-sdk-go-v2/credentials/ec2rolecredsgithub.com/aws/aws-sdk-go-v2/endpointcreds=>github.com/aws/aws-sdk-go-v2/credentials/endpointcredsgithub.com/aws/aws-sdk-go-v2/processcreds=>github.com/aws/aws-sdk-go-v2/credentials/processcredsgithub.com/aws/aws-sdk-go-v2/stscreds=>github.com/aws/aws-sdk-go-v2/credentials/stscreds
New modules were added to the v2 preview SDK to allow the components to be versioned independently from each other. This allows your application to depend on specific versions of an API client module, and take discrete updates from the SDK core and other API client modules as desired.
- github.com/aws/aws-sdk-go-v2/config
- github.com/aws/aws-sdk-go-v2/credentials
- Module for each API client, e.g. github.com/aws/aws-sdk-go-v2/service/s3
The following is a list of the major changes to the API client modules
- Removed paginators: we plan to add these back once they are implemented to integrate with the SDK's new API client design.
- Removed waiters: we need to further investigate how the V2 SDK should expose waiters, and how their behavior should be modeled.
- API Clients are now Go modules. When migrating to the v2 preview SDK
v0.25.0, you'll need to add the API client's module to your application's go.mod file. - API parameter nested types have been moved to a
typespackage within the API client's module, e.g.github.com/aws/aws-sdk-go-v2/service/s3/typesThese types were moved to improve documentation and discovery of the API client, operation, and input/output types. For example Amazon S3's ListObject's operation ListObjectOutput.Contents input parameter is a slice of types.Object. - The client operation method has been renamed, removing the
Requestsuffix. The method now invokes the operation instead of constructing a request, which needed to be invoked separately. The operation methods were also expanded to include functional options for providing operation specific configuration, such as modifying the request pipeline.
result, err := client.Scan(context.TODO(), &dynamodb.ScanInput{
TableName: aws.String("exampleTable"),
}, func(o *Options) {
// Limit operation calls to only 1 attempt.
o.Retryer = retry.AddWithMaxAttempts(o.Retryer, 1)
})In addition to the github.com/aws/aws-sdk-go-v2/aws/external package being made a module at github.com/aws/aws-sdk-go-v2/config, the LoadDefaultAWSConfig function was renamed to LoadDefaultConfig.
The github.com/aws/aws-sdk-go-v2/aws/defaults package has been removed. Its components have been migrated to the github.com/aws/aws-sdk-go-v2/aws package, and github.com/aws/aws-sdk-go-v2/config module.
The github.com/aws/aws-sdk-go-v2/aws/awserr package was removed as a part of the SDK error handling refactor. The SDK now uses typed errors built around Go v1.13's errors.As and errors.Unwrap features. All SDK error types that wrap other errors implement the Unwrap method. Generic v2 preview SDK errors created with fmt.Errorf use %w to wrap the underlying error.
The SDK API clients now include generated public error types for errors modeled for an API. The SDK will automatically deserialize the error response from the API into the appropriate error type. Your application should use errors.As to check if the returned error matches one it is interested in. Your application can also use the generic interface smithy.APIError to test if the API client's operation method returned an API error, but not check against a specific error.
API client errors returned to the caller will use error wrapping to layer the error values. This allows underlying error types to be specific to their use case, and the SDK's more generic error types to wrap the underlying error.
For example, if an Amazon DynamoDB Scan operation call cannot find the TableName requested, the error returned will contain dynamodb.ResourceNotFoundException. The SDK will return this error value wrapped in a couple layers, with each layer adding additional contextual information such as ResponseError for AWS HTTP response error metadata , and smithy.OperationError for API operation call metadata.
result, err := client.Scan(context.TODO(), params)
if err != nil {
// To get a specific API error
var notFoundErr *types.ResourceNotFoundException
if errors.As(err, ¬FoundErr) {
log.Printf("scan failed because the table was not found, %v",
notFoundErr.ErrorMessage())
}
// To get any API error
var apiErr smithy.APIError
if errors.As(err, &apiErr) {
log.Printf("scan failed because of an API error, Code: %v, Message: %v",
apiErr.ErrorCode(), apiErr.ErrorMessage())
}
// To get the AWS response metadata, such as RequestID
var respErr *awshttp.ResponseError // Using import alias "awshttp" for package github.com/aws/aws-sdk-go-v2/aws/transport/http
if errors.As(err, &respErr) {
log.Printf("scan failed with HTTP status code %v, Request ID %v and error %v",
respErr.HTTPStatusCode(), respErr.ServiceRequestID(), respErr)
}
return err
}Logging an error value will include information from each wrapped error. For example, the following is a mock error logged for a Scan operation call that failed because the table was not found.
2020/10/15 16:03:37 operation error DynamoDB: Scan, https response error StatusCode: 400, RequestID: ABCREQUESTID123, ResourceNotFoundException: Requested resource not found
The github.com/aws/aws-sdk-go-v2/aws/endpoints has been removed from the SDK, along with all exported endpoint definitions and iteration behavior. Each generated API client now includes its own endpoint definition internally to the module.
API clients can optionally be configured with a generic aws.EndpointResolver via the aws.Config.EndpointResolver. If the API client is not configured with a custom endpoint resolver it will defer to the endpoint resolver the client module was generated with.